gnu: gtkmm: Use the for-test xorg variant for tests.

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Replace XORG-SERVER with
XORG-SERVER-1.19.3.
[arguments]: Add #:disallowed-references.
This commit is contained in:
Marius Bakke 2018-03-07 13:10:57 +01:00
parent 29c7b4d638
commit 6a49ae7864
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1065,7 +1065,7 @@ (define-public gtkmm
(build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config)
("glib" ,glib "bin") ;for 'glib-compile-resources'
("xorg-server" ,xorg-server)))
("xorg-server" ,xorg-server-1.19.3)))
(propagated-inputs
`(("pangomm" ,pangomm)
("cairomm" ,cairomm)
@ -1073,9 +1073,10 @@ (define-public gtkmm
("gtk+" ,gtk+)
("glibmm" ,glibmm)))
(arguments
'(;; XXX: Tests require C++14 or later. Remove this when the default
`(;; XXX: Tests require C++14 or later. Remove this when the default
;; compiler is >= GCC6.
#:configure-flags '("CXXFLAGS=-std=gnu++14")
#:disallowed-references (,xorg-server-1.19.3)
#:phases (modify-phases %standard-phases
(add-before 'check 'run-xvfb
(lambda* (#:key inputs #:allow-other-keys)