[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/55: gnu: gtkmm: Run Xvfb for tests.
From: |
??? |
Subject: |
06/55: gnu: gtkmm: Run Xvfb for tests. |
Date: |
Sat, 30 Apr 2016 09:49:30 +0000 |
iyzsong pushed a commit to branch gnome-updates
in repository guix.
commit 74a1544bc6ce33cea867a1173cf2d43258e81499
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")
- 03/55: Revert "Revert "gnu: geoclue: Update to 2.4.3."", (continued)
- 03/55: Revert "Revert "gnu: geoclue: Update to 2.4.3."", ???, 2016/04/30
- 04/55: Revert "Revert "gnu: gjs: Skip test_utf8_inout test."", ???, 2016/04/30
- 09/55: gnu: at-spi2-atk: Update to 2.20.1., ???, 2016/04/30
- 20/55: gnu: geocode-glib: Update to 3.20.1., ???, 2016/04/30
- 18/55: gnu: gnome-sudoku: Update to 3.20.0., ???, 2016/04/30
- 02/55: Revert "Revert "gnu: inkscape: Fix build with glibmm-2.48."", ???, 2016/04/30
- 21/55: gnu: gnome-settings-daemon: Update to 3.20.1., ???, 2016/04/30
- 19/55: gnu: gnome-terminal: Update to 3.20.1., ???, 2016/04/30
- 05/55: gnu: gedit: Fix build by passing '--disable-spell'., ???, 2016/04/30
- 07/55: gnu: pango: Update to 1.40.1., ???, 2016/04/30
- 06/55: gnu: gtkmm: Run Xvfb for tests.,
??? <=
- 25/55: gnu: gvfs: Update to 1.28.1., ???, 2016/04/30
- 24/55: gnu: eog: Update to 3.20.1., ???, 2016/04/30
- 22/55: gnu: gnome-klotski: Update to 3.20.1., ???, 2016/04/30
- 13/55: gnu: gnome-desktop: Update to 3.20.1., ???, 2016/04/30
- 12/55: gnu: gtkmm: Update to 3.20.1., ???, 2016/04/30
- 26/55: gnu: epiphany: Update to 3.20.1., ???, 2016/04/30
- 08/55: gnu: at-spi2-core: Update to 2.20.1., ???, 2016/04/30
- 16/55: gnu: rest: Update to 0.8.0., ???, 2016/04/30
- 23/55: gnu: totem: Update to 3.20.1., ???, 2016/04/30
- 10/55: gnu: gtk+: Update to 3.20.3., ???, 2016/04/30