[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/71: gnu: gtkmm: Run Xvfb for tests.
From: |
??? |
Subject: |
21/71: gnu: gtkmm: Run Xvfb for tests. |
Date: |
Mon, 02 May 2016 14:08:19 +0000 |
iyzsong pushed a commit to branch gnome-updates
in repository guix.
commit ba470833c2d675f6f0a8202f6962a42ad18f57bd
Author: Ludovic Courtès <address@hidden>
Date: Wed Apr 27 18:17:25 2016 +0200
gnu: gtkmm: Run Xvfb for tests.
* gnu/packages/gtk.scm (gtkmm)[arguments]: New field.
---
gnu/packages/gtk.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index f31a510..4323711 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -916,13 +916,26 @@ toolkit.")
"12h2kd22iayvjfhmgjccm33igrbvqdj7hym31fsa1y0dhwzmf8gh"))))
(build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config)
- ("glib" ,glib "bin"))) ;for 'glib-compile-resources'
+ ("glib" ,glib "bin") ;for 'glib-compile-resources'
+ ("xorg-server" ,xorg-server)))
(propagated-inputs
`(("pangomm" ,pangomm)
("cairomm" ,cairomm)
("atkmm" ,atkmm)
("gtk+" ,gtk+)
("glibmm" ,glibmm)))
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-before 'check 'run-xvfb
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((xorg-server (assoc-ref inputs "xorg-server")))
+ ;; Tests such as 'object_move/test' require a running
+ ;; X server.
+ (system (string-append xorg-server "/bin/Xvfb :1 &"))
+ (setenv "DISPLAY" ":1")
+ ;; Don't fail because of the missing /etc/machine-id.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ #t))))))
(home-page "http://gtkmm.org/")
(synopsis
"C++ interface to the GTK+ graphical user interface library")
- branch gnome-updates created (now ad1b7d8), ???, 2016/05/02
- 02/71: syscalls: 'statfs' explicitly binds 'statfs64'., ???, 2016/05/02
- 01/71: syscalls: statfs: Add missing 'mount-flags' field of 'struct statfs'., ???, 2016/05/02
- 03/71: gnu: bootstrap: Add case for i686-mingw., ???, 2016/05/02
- 18/71: Revert "Revert "gnu: geoclue: Update to 2.4.3."", ???, 2016/05/02
- 05/71: gnu: ao: Replace "itemize" with "enumerate" in description string., ???, 2016/05/02
- 04/71: gnu: ao: Format the description string., ???, 2016/05/02
- 19/71: Revert "Revert "gnu: gjs: Skip test_utf8_inout test."", ???, 2016/05/02
- 20/71: gnu: gedit: Fix build by passing '--disable-spell'., ???, 2016/05/02
- 21/71: gnu: gtkmm: Run Xvfb for tests.,
??? <=
- 23/71: gnu: at-spi2-core: Update to 2.20.1., ???, 2016/05/02
- 29/71: gnu: vte: Update to 0.44.1., ???, 2016/05/02
- 25/71: gnu: gtk+: Update to 3.20.3., ???, 2016/05/02
- 27/71: gnu: gtkmm: Update to 3.20.1., ???, 2016/05/02
- 12/71: syscalls: Implement arrays in 'define-c-struct' and use it., ???, 2016/05/02
- 32/71: gnu: libsoup: Update to 2.54.1., ???, 2016/05/02
- 30/71: gnu: glib-networking: Update to 2.48.1., ???, 2016/05/02
- 15/71: gnu: Add r-xnomial., ???, 2016/05/02
- 10/71: gnu: Add python2-shedskin., ???, 2016/05/02
- 11/71: gnu: asymptote: Update to 2.37., ???, 2016/05/02