gnu: gdk-pixbuf: Absorb grafted replacement.
* gnu/packages/gtk.scm (gdk-pixbuf)[source]: Use gdk-pixbuf-CVE-2020-29385.patch. [replacement]: Remove field. (gdk-pixbuf/fixed): Remove variable.
This commit is contained in:
parent
0cb4032f9a
commit
a456b09c43
1 changed files with 1 additions and 10 deletions
|
@ -567,12 +567,12 @@ highlighting and other features typical of a source code editor.")
|
||||||
(package
|
(package
|
||||||
(name "gdk-pixbuf")
|
(name "gdk-pixbuf")
|
||||||
(version "2.40.0")
|
(version "2.40.0")
|
||||||
(replacement gdk-pixbuf/fixed)
|
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||||
(version-major+minor version) "/"
|
(version-major+minor version) "/"
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
|
(patches (search-patches "gdk-pixbuf-CVE-2020-29385.patch"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1rnlx9yfw970maxi2x6niaxmih5la11q1ilr7gzshz2kk585k0hm"))))
|
"1rnlx9yfw970maxi2x6niaxmih5la11q1ilr7gzshz2kk585k0hm"))))
|
||||||
|
@ -624,15 +624,6 @@ in the GNOME project.")
|
||||||
(license license:lgpl2.0+)
|
(license license:lgpl2.0+)
|
||||||
(home-page "https://developer.gnome.org/gdk-pixbuf/")))
|
(home-page "https://developer.gnome.org/gdk-pixbuf/")))
|
||||||
|
|
||||||
(define gdk-pixbuf/fixed
|
|
||||||
(package
|
|
||||||
(inherit gdk-pixbuf)
|
|
||||||
(source (origin
|
|
||||||
(inherit (package-source gdk-pixbuf))
|
|
||||||
(patches
|
|
||||||
(append (search-patches "gdk-pixbuf-CVE-2020-29385.patch")
|
|
||||||
(origin-patches (package-source gdk-pixbuf))))))))
|
|
||||||
|
|
||||||
;; To build gdk-pixbuf with SVG support, we need librsvg, and librsvg depends
|
;; To build gdk-pixbuf with SVG support, we need librsvg, and librsvg depends
|
||||||
;; on gdk-pixbuf, so this new varibale. Also, librsvg adds 90MiB to the
|
;; on gdk-pixbuf, so this new varibale. Also, librsvg adds 90MiB to the
|
||||||
;; closure size.
|
;; closure size.
|
||||||
|
|
Reference in a new issue