gnu: libpng: Remove graft for 1.6.37.
* gnu/packages/image.scm (libpng): Update to 1.6.37. [replacement]: Remove field. (libpng-1.6.37): Remove variable.
This commit is contained in:
parent
8de1979d7c
commit
8b5b3acab3
|
@ -86,37 +86,6 @@
|
|||
(define-public libpng
|
||||
(package
|
||||
(name "libpng")
|
||||
(version "1.6.36")
|
||||
(replacement libpng-1.6.37)
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (list (string-append "mirror://sourceforge/libpng/libpng16/"
|
||||
version "/libpng-" version ".tar.xz")
|
||||
(string-append
|
||||
"ftp://ftp.simplesystems.org/pub/libpng/png/src"
|
||||
"/libpng16/libpng-" version ".tar.xz")
|
||||
(string-append
|
||||
"ftp://ftp.simplesystems.org/pub/libpng/png/src/history"
|
||||
"/libpng16/libpng-" version ".tar.xz")))
|
||||
(sha256
|
||||
(base32
|
||||
"06d35a3xz2a0kph82r56hqm1fn8fbwrqs07xzmr93dx63x695szc"))))
|
||||
(build-system gnu-build-system)
|
||||
|
||||
;; libpng.la says "-lz", so propagate it.
|
||||
(propagated-inputs `(("zlib" ,zlib)))
|
||||
|
||||
(synopsis "Library for handling PNG files")
|
||||
(description
|
||||
"Libpng is the official PNG (Portable Network Graphics) reference
|
||||
library. It supports almost all PNG features and is extensible.")
|
||||
(license license:zlib)
|
||||
(home-page "http://www.libpng.org/pub/png/libpng.html")))
|
||||
|
||||
;; This graft exists to fix CVE-2018-14048, CVE-2018-14550, and CVE-2019-7317.
|
||||
(define-public libpng-1.6.37
|
||||
(package
|
||||
(inherit libpng)
|
||||
(version "1.6.37")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
|
@ -130,7 +99,18 @@ library. It supports almost all PNG features and is extensible.")
|
|||
"/libpng16/libpng-" version ".tar.xz")))
|
||||
(sha256
|
||||
(base32
|
||||
"1jl8in381z0128vgxnvn33nln6hzckl7l7j9nqvkaf1m9n1p0pjh"))))))
|
||||
"1jl8in381z0128vgxnvn33nln6hzckl7l7j9nqvkaf1m9n1p0pjh"))))
|
||||
(build-system gnu-build-system)
|
||||
|
||||
;; libpng.la says "-lz", so propagate it.
|
||||
(propagated-inputs `(("zlib" ,zlib)))
|
||||
|
||||
(synopsis "Library for handling PNG files")
|
||||
(description
|
||||
"Libpng is the official PNG (Portable Network Graphics) reference
|
||||
library. It supports almost all PNG features and is extensible.")
|
||||
(license license:zlib)
|
||||
(home-page "http://www.libpng.org/pub/png/libpng.html")))
|
||||
|
||||
;; libpng-apng should be updated when the APNG patch is released:
|
||||
;; <https://bugs.gnu.org/27556>
|
||||
|
|
Loading…
Reference in New Issue