[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/97: gnu: glib: Use modify-phases syntax.
From: |
??? |
Subject: |
11/97: gnu: glib: Use modify-phases syntax. |
Date: |
Thu, 07 Apr 2016 03:13:02 +0000 |
iyzsong pushed a commit to branch gnome-updates
in repository guix.
commit d254c4dd07e7a16029bd905362c860ba4e81cb9f
Author: 宋文武 <address@hidden>
Date: Sat Apr 2 15:18:30 2016 +0800
gnu: glib: Use modify-phases syntax.
* gnu/packages/glib.scm (glib)[arguments]: Use 'modify-phases'.
---
gnu/packages/glib.scm | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 854a1f2..2fb601c 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -161,29 +161,29 @@ shared NFS home directories.")
("perl" ,perl) ; needed by GIO tests
("bash" ,bash)))
(arguments
- '(#:phases (alist-cons-before
- 'build 'pre-build
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; For tests/gdatetime.c.
- (setenv "TZDIR"
- (string-append (assoc-ref inputs "tzdata")
- "/share/zoneinfo"))
-
- ;; Some tests want write access there.
- (setenv "XDG_CACHE_HOME" (getcwd))
-
- (substitute* '("glib/gspawn.c"
- "glib/tests/utils.c"
- "tests/spawn-test.c")
- (("/bin/sh")
- (string-append (assoc-ref inputs "bash") "/bin/sh")))
-
- ;; Disable a test that requires dbus.
- (substitute* "gio/tests/gdbus-serialization.c"
- (("g_test_add_func \
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'pre-build
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; For tests/gdatetime.c.
+ (setenv "TZDIR"
+ (string-append (assoc-ref inputs "tzdata")
+ "/share/zoneinfo"))
+
+ ;; Some tests want write access there.
+ (setenv "XDG_CACHE_HOME" (getcwd))
+
+ (substitute* '("glib/gspawn.c"
+ "glib/tests/utils.c"
+ "tests/spawn-test.c")
+ (("/bin/sh")
+ (string-append (assoc-ref inputs "bash") "/bin/sh")))
+
+ ;; Disable a test that requires dbus.
+ (substitute* "gio/tests/gdbus-serialization.c"
+ (("g_test_add_func \
\\(\"/gdbus/message-serialize/double-array\", test_double_array\\);" all)
- (string-append "/* " all " */"))))
- %standard-phases)
+ (string-append "/* " all " */"))))))
;; Note: `--docdir' and `--htmldir' are not honored, so work around it.
#:configure-flags (list (string-append "--with-html-dir="
- 08/97: gnu: poppler: Update to 0.42.0., (continued)
- 08/97: gnu: poppler: Update to 0.42.0., ???, 2016/04/06
- 10/97: gnu: freetype: Add libpng and zlib to propagated-inputs., ???, 2016/04/06
- 23/97: gnu: atk: Update to 2.20.0., ???, 2016/04/06
- 09/97: gnu: freetype: Update to 2.6.3., ???, 2016/04/06
- 14/97: gnu: glib: Update to 2.48.0., ???, 2016/04/06
- 15/97: gnu: harfbuzz: Update to 1.2.4., ???, 2016/04/06
- 16/97: gnu: shared-mime-info: Update to 1.6., ???, 2016/04/06
- 21/97: gnu: libsigc++: Update to 2.8.0., ???, 2016/04/06
- 18/97: gnu: librsvg: Update to 2.40.15., ???, 2016/04/06
- 24/97: gnu: gtksourceview: Update to 3.20.1., ???, 2016/04/06
- 11/97: gnu: glib: Use modify-phases syntax.,
??? <=
- 17/97: gnu: gdk-pixbuf: Update to 2.34.0., ???, 2016/04/06
- 20/97: gnu: pango: Update to 1.40.0., ???, 2016/04/06
- 12/97: gnu: glib: Drop glib-tests-homedir.patch., ???, 2016/04/06
- 19/97: gnu: gobject-introspection: Update to 1.48.0., ???, 2016/04/06
- 29/97: gnu: gdk-pixbuf: Fix tests., ???, 2016/04/06
- 33/97: gnu: gcr: Update 3.20.0., ???, 2016/04/06
- 36/97: gnu: gsettings-desktop-schemas: Update to 3.20.0., ???, 2016/04/06
- 32/97: gnu: gnome-desktop: Update to 3.20.0., ???, 2016/04/06
- 31/97: gnu: gtkmm: Update to 3.20.0., ???, 2016/04/06
- 38/97: gnu: adwaita-icon-theme: Update to 3.20., ???, 2016/04/06