gnu: gdk-pixbuf: Merge the two 'arguments' fields.

This is a followup to commit 0d5ddad.

* gnu/packages/gtk.scm (gdk-pixbuf): Merge the two 'arguments' fields.
This commit is contained in:
宋文武 2015-08-22 11:38:23 +08:00 committed by Mark H Weaver
parent caf87fd8c6
commit a63a73dcb7

View file

@ -335,7 +335,23 @@ (define-public gdk-pixbuf
"062x2gqd7p6yxhxlib1ha4l3gk9ihcj080hrwwv9vmlmybb064hi")))) "062x2gqd7p6yxhxlib1ha4l3gk9ihcj080hrwwv9vmlmybb064hi"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags '("--with-x11"))) '(#:configure-flags '("--with-x11")
#:phases
(modify-phases %standard-phases
(add-after
'unpack 'disable-failing-tests
(lambda _
(substitute* "tests/Makefile.in"
;; XXX FIXME: This test fails on some machines with:
;; GLib-FATAL-ERROR: gmem.c:103: failed to allocate
;; 6039798016 bytes
(("cve-2015-4491\\$\\(EXEEXT\\) ") "")
;; XXX FIXME: This test fails with:
;; ERROR:pixbuf-jpeg.c:74:test_type9_rotation_exif_tag:
;; assertion failed (error == NULL): Data differ
;; (gdk-pixbuf-error-quark, 0)
(("pixbuf-jpeg\\$\\(EXEEXT\\) ") ""))
#t)))))
(propagated-inputs ; required by gdk-pixbuf-2.0.pc (propagated-inputs ; required by gdk-pixbuf-2.0.pc
`(("glib" ,glib) `(("glib" ,glib)
("libpng" ,libpng))) ("libpng" ,libpng)))
@ -347,22 +363,6 @@ (define-public gdk-pixbuf
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("glib" ,glib "bin") ; glib-mkenums, etc. ("glib" ,glib "bin") ; glib-mkenums, etc.
("gobject-introspection", gobject-introspection))) ; g-ir-compiler, etc. ("gobject-introspection", gobject-introspection))) ; g-ir-compiler, etc.
(arguments
`(#:phases (modify-phases %standard-phases
(add-after
'unpack 'disable-failing-tests
(lambda _
(substitute* "tests/Makefile.in"
;; XXX FIXME: This test fails on some machines with:
;; GLib-FATAL-ERROR: gmem.c:103: failed to allocate
;; 6039798016 bytes
(("cve-2015-4491\\$\\(EXEEXT\\) ") "")
;; XXX FIXME: This test fails with:
;; ERROR:pixbuf-jpeg.c:74:test_type9_rotation_exif_tag:
;; assertion failed (error == NULL): Data differ
;; (gdk-pixbuf-error-quark, 0)
(("pixbuf-jpeg\\$\\(EXEEXT\\) ") ""))
#t)))))
(synopsis "GNOME image loading and manipulation library") (synopsis "GNOME image loading and manipulation library")
(description (description
"GdkPixbuf is a library for image loading and manipulation developed "GdkPixbuf is a library for image loading and manipulation developed