[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/85: gnu: gdk-pixbuf: Eliminate graft.
From: |
Mark H. Weaver |
Subject: |
11/85: gnu: gdk-pixbuf: Eliminate graft. |
Date: |
Wed, 11 Jan 2017 16:36:01 +0000 (UTC) |
mhw pushed a commit to branch gnome-updates
in repository guix.
commit e60d3a559383e9ab666db569a9badec8768a2971
Author: Mark H Weaver <address@hidden>
Date: Mon Jan 9 00:09:41 2017 -0500
gnu: gdk-pixbuf: Eliminate graft.
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.36.3.
[replacement]: Remove field.
(gdk-pixbuf/fixed): Remove variable.
(package/inherit): Remove macro.
(gdk-pixbuf+svg): Remove use of 'package/inherit'.
---
gnu/packages/gtk.scm | 31 +++----------------------------
1 file changed, 3 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index b2882b5..ca33d4d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -425,8 +425,7 @@ highlighting and other features typical of a source code
editor.")
(define-public gdk-pixbuf
(package
(name "gdk-pixbuf")
- (version "2.34.0")
- (replacement gdk-pixbuf/fixed)
+ (version "2.36.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -434,7 +433,7 @@ highlighting and other features typical of a source code
editor.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0yc8indbl3hf18z6x6kjg59xp9sngm1d8vmz4c7bs6g27qw5npnm"))))
+ "1v1rssjd8p5s3lymsfhiq5mbs2pc0h1r6jd0asrwdbrign7i68sj"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--with-x11")
@@ -475,35 +474,11 @@ in the GNOME project.")
(license license:lgpl2.0+)
(home-page "https://developer.gnome.org/gdk-pixbuf/")))
-(define gdk-pixbuf/fixed
- (package (inherit gdk-pixbuf)
- (name "gdk-pixbuf")
- (version "2.36.3")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "1v1rssjd8p5s3lymsfhiq5mbs2pc0h1r6jd0asrwdbrign7i68sj"))))
- (replacement #f)))
-
-(define-syntax-rule (package/inherit p overrides ...)
- "Like (package (inherit P) OVERRIDES ...), except that the same
-transformation is done to the package replacement, if any. P must be a bare
-identifier, and will be bound to either P or its replacement when evaluating
-OVERRIDES."
- (let loop ((p p))
- (package (inherit p)
- overrides ...
- (replacement (and=> (package-replacement p) loop)))))
-
;; 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
;; closure size.
(define-public gdk-pixbuf+svg
- (package/inherit gdk-pixbuf
+ (package (inherit gdk-pixbuf)
(name "gdk-pixbuf+svg")
(inputs
`(("librsvg" ,librsvg)
- branch gnome-updates created (now 57203eb), Mark H. Weaver, 2017/01/11
- 01/85: gnu: libosinfo: Fix substitute fetching for usb.ids., Mark H. Weaver, 2017/01/11
- 04/85: gnu: glibmm: Update to 2.50.0., Mark H. Weaver, 2017/01/11
- 05/85: gnu: libxml++: Update to 3.0.1., Mark H. Weaver, 2017/01/11
- 17/85: gnu: glib-networking: Update to 2.50.0., Mark H. Weaver, 2017/01/11
- 24/85: gnu: gtk+: Update to 3.22.6., Mark H. Weaver, 2017/01/11
- 12/85: gnu: gmime: Update to 2.6.22., Mark H. Weaver, 2017/01/11
- 02/85: gnu: mesa: Update to 13.0.3., Mark H. Weaver, 2017/01/11
- 11/85: gnu: gdk-pixbuf: Eliminate graft.,
Mark H. Weaver <=
- 20/85: gnu: gtksourceview: Update to 3.22.2., Mark H. Weaver, 2017/01/11
- 21/85: gnu: atk: Update to 2.22.0., Mark H. Weaver, 2017/01/11
- 13/85: gnu: shared-mime-info: Update to 1.8., Mark H. Weaver, 2017/01/11
- 19/85: gnu: pango: Update to 1.40.3., Mark H. Weaver, 2017/01/11
- 31/85: gnu: libgnomekbd: Update to 3.22.0., Mark H. Weaver, 2017/01/11
- 29/85: gnu: clutter-gst: Update to 3.0.22., Mark H. Weaver, 2017/01/11
- 09/85: gnu: vala: Update to 0.34.4., Mark H. Weaver, 2017/01/11
- 25/85: gnu: gtkmm: Update to 3.22.0., Mark H. Weaver, 2017/01/11
- 22/85: gnu: at-spi2-core: Update to 2.22.0., Mark H. Weaver, 2017/01/11
- 23/85: gnu: at-spi2-atk: Update to 2.22.0., Mark H. Weaver, 2017/01/11