[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/97: gnu: glib: Use modify-phases syntax.
From: |
Ludovic Courtès |
Subject: |
11/97: gnu: glib: Use modify-phases syntax. |
Date: |
Wed, 13 Apr 2016 17:31:45 +0000 |
civodul pushed a commit to branch gnome-updates
in repository guix.
commit b0dcde8cd39e5dcd69614e886f9d4bd37e8baca0
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="
- 55/97: gnu: dconf: Update to 0.26.0., (continued)
- 55/97: gnu: dconf: Update to 0.26.0., Ludovic Courtès, 2016/04/13
- 20/97: gnu: pango: Update to 1.40.0., Ludovic Courtès, 2016/04/13
- 70/97: gnu: clutter-gst: Update to 3.0.18., Ludovic Courtès, 2016/04/13
- 61/97: gnu: gnome-terminal: Update to 3.20.0., Ludovic Courtès, 2016/04/13
- 75/97: gnu: totem: Update to 3.20.0., Ludovic Courtès, 2016/04/13
- 42/97: gnu: libgsf: Update to 1.14.36., Ludovic Courtès, 2016/04/13
- 85/97: gnu: mutter: Update to 3.20.0., Ludovic Courtès, 2016/04/13
- 23/97: gnu: atk: Update to 2.20.0., Ludovic Courtès, 2016/04/13
- 29/97: gnu: gdk-pixbuf: Fix tests., Ludovic Courtès, 2016/04/13
- 28/97: gnu: graphite2: Update to 1.3.8., Ludovic Courtès, 2016/04/13
- 11/97: gnu: glib: Use modify-phases syntax.,
Ludovic Courtès <=
- 31/97: gnu: gtkmm: Update to 3.20.0., Ludovic Courtès, 2016/04/13
- 30/97: gnu: pangomm: Update to 2.40.0., Ludovic Courtès, 2016/04/13
- 32/97: gnu: gnome-desktop: Update to 3.20.0., Ludovic Courtès, 2016/04/13
- 35/97: gnu: evince: Update to 3.20.0., Ludovic Courtès, 2016/04/13
- 01/97: gnu: gtk+: Enable SVG support., Ludovic Courtès, 2016/04/13
- 63/97: gnu: libgweather: Update to 3.20.0., Ludovic Courtès, 2016/04/13
- 51/97: gnu: gnumeric: Fix build., Ludovic Courtès, 2016/04/13
- 53/97: gnu: vala: Update to 0.32.0., Ludovic Courtès, 2016/04/13
- 68/97: gnu: clutter: Update to 1.26.0., Ludovic Courtès, 2016/04/13
- 26/97: gnu: at-spi2-atk: Update to 2.20.0., Ludovic Courtès, 2016/04/13