gnu: Use the test-only Xorg variant for tests.

* gnu/packages/education.scm (gcompris-qt)[native-inputs]: Change XORG-SERVER
to XORG-SERVER-FOR-TESTS.
* gnu/packages/engineering.scm (pcb, qucs, openscad)[native-inputs]: Likewise.
* gnu/packages/gnome.scm (libbonoboui, d-feet, gspell, libdazzle, libhandy)[native-inputs]: Likewise.
* gnu/packages/gnupg.scm (parcimonie)[native-inputs]: Likewise.
* gnu/packages/graphics.scm (opensubdiv, rapicorn)[native-inputs]: Likewise.
* gnu/packages/gtk.scm (gtksourceview-2, gtksourceview)[native-inputs]: Likewise.
* gnu/packages/image-processing.scm (opencv)[native-inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kconfig, kcoreaddons, kwidgetsaddons,
kwindowsystem, kdeclarative)[native-inputs]: Likewise.
* gnu/packages/kde-plasma.scm (kscreenlocker)[native-inputs]: Likewise.
* gnu/packages/messaging.scm (gajim)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-seaborn)[native-inputs]: Likewise.
This commit is contained in:
Marius Bakke 2019-11-27 22:19:13 +01:00
parent dcc7fad001
commit ff3375251d
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
12 changed files with 24 additions and 24 deletions

View file

@ -167,7 +167,7 @@ (define-public gcompris-qt
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
("perl" ,perl) ("perl" ,perl)
("qttools" ,qttools) ("qttools" ,qttools)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("openssl" ,openssl) `(("openssl" ,openssl)
("python-2" ,python-2) ("python-2" ,python-2)

View file

@ -373,7 +373,7 @@ (define-public pcb
("imagemagick" ,imagemagick) ("imagemagick" ,imagemagick)
("gerbv" ,gerbv) ("gerbv" ,gerbv)
("ghostscript" ,ghostscript) ("ghostscript" ,ghostscript)
("xvfb" ,xorg-server))) ("xvfb" ,xorg-server-for-tests)))
(home-page "http://pcb.geda-project.org/") (home-page "http://pcb.geda-project.org/")
(synopsis "Design printed circuit board layouts") (synopsis "Design printed circuit board layouts")
(description (description
@ -1771,7 +1771,7 @@ (define-public qucs
("python" ,python-2) ; for tests ("python" ,python-2) ; for tests
("matplotlib" ,python2-matplotlib) ; for tests ("matplotlib" ,python2-matplotlib) ; for tests
("numpy" ,python2-numpy) ; for tests ("numpy" ,python2-numpy) ; for tests
("xorg-server" ,xorg-server))) ; for tests ("xorg-server" ,xorg-server-for-tests))) ; for tests
(inputs (inputs
`(("adms" ,adms) `(("adms" ,adms)
("asco" ,asco) ("asco" ,asco)
@ -2174,7 +2174,7 @@ (define-public openscad
("imagemagick" ,imagemagick) ("imagemagick" ,imagemagick)
("ps" ,procps) ("ps" ,procps)
("python" ,python) ("python" ,python)
("xvfb" ,xorg-server))) ("xvfb" ,xorg-server-for-tests)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases

View file

@ -2025,7 +2025,7 @@ (define-public libbonoboui
(native-inputs (native-inputs
`(("glib" ,glib "bin") ; for glib-genmarshal, etc. `(("glib" ,glib "bin") ; for glib-genmarshal, etc.
("intltool" ,intltool) ("intltool" ,intltool)
("xorg-server" ,xorg-server) ; For running the tests ("xorg-server" ,xorg-server-for-tests) ; For running the tests
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(home-page "https://developer.gnome.org/libbonoboui/") (home-page "https://developer.gnome.org/libbonoboui/")
(synopsis "Some user interface controls using Bonobo") (synopsis "Some user interface controls using Bonobo")
@ -4591,7 +4591,7 @@ (define-public d-feet
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python-pep8" ,python-pep8) ("python-pep8" ,python-pep8)
("xmllint" ,libxml2) ("xmllint" ,libxml2)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("gobject-introspection" ,gobject-introspection) `(("gobject-introspection" ,gobject-introspection)
("gtk+" ,gtk+) ("gtk+" ,gtk+)
@ -7752,7 +7752,7 @@ (define-public gspell
;; For tests. ;; For tests.
("aspell-dict-en" ,aspell-dict-en) ("aspell-dict-en" ,aspell-dict-en)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(propagated-inputs (propagated-inputs
`(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc `(("enchant" ,enchant))) ;enchant.pc is required by gspell-1.pc
(home-page "https://wiki.gnome.org/Projects/gspell") (home-page "https://wiki.gnome.org/Projects/gspell")
@ -8167,7 +8167,7 @@ (define-public libdazzle
`(("glib" ,glib "bin") ; glib-compile-resources `(("glib" ,glib "bin") ; glib-compile-resources
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
;; For tests. ;; For tests.
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("glib" ,glib) `(("glib" ,glib)
("gobject-introspection" ,gobject-introspection) ("gobject-introspection" ,gobject-introspection)
@ -8389,9 +8389,9 @@ (define-public libhandy
("gtk-doc" ,gtk-doc) ("gtk-doc" ,gtk-doc)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
("xorg-server" ,xorg-server)
;; Test suite dependencies. ;; Test suite dependencies.
("xorg-server" ,xorg-server-for-tests)
("hicolor-icon-theme" ,hicolor-icon-theme))) ("hicolor-icon-theme" ,hicolor-icon-theme)))
(home-page "https://source.puri.sm/Librem5/libhandy") (home-page "https://source.puri.sm/Librem5/libhandy")
(synopsis "Library full of GTK+ widgets for mobile phones") (synopsis "Library full of GTK+ widgets for mobile phones")

View file

@ -1045,7 +1045,7 @@ (define-public parcimonie
("perl-xml-twig" ,perl-xml-twig) ("perl-xml-twig" ,perl-xml-twig)
("torsocks" ,torsocks))) ("torsocks" ,torsocks)))
(native-inputs (native-inputs
`(("xorg-server" ,xorg-server))) `(("xorg-server" ,xorg-server-for-tests)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases

View file

@ -758,7 +758,7 @@ (define-public rapicorn
("graphviz" ,graphviz) ("graphviz" ,graphviz)
("intltool" ,intltool) ("intltool" ,intltool)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("xvfb" ,xorg-server))) ("xvfb" ,xorg-server-for-tests)))
(home-page "https://rapicorn.testbit.org/") (home-page "https://rapicorn.testbit.org/")
(synopsis "Toolkit for rapid development of user interfaces") (synopsis "Toolkit for rapid development of user interfaces")
(description (description
@ -1055,7 +1055,7 @@ (define-public opensubdiv
(setenv "DISPLAY" ":1") (setenv "DISPLAY" ":1")
#t))))) #t)))))
(native-inputs (native-inputs
`(("xorg-server" ,xorg-server))) `(("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("glew" ,glew) `(("glew" ,glew)
("libxrandr" ,libxrandr) ("libxrandr" ,libxrandr)

View file

@ -360,7 +360,7 @@ (define-public gtksourceview-2
("glib" ,glib "bin") ; for glib-genmarshal, etc. ("glib" ,glib "bin") ; for glib-genmarshal, etc.
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
;; For testing. ;; For testing.
("xorg-server" ,xorg-server) ("xorg-server" ,xorg-server-for-tests)
("shared-mime-info" ,shared-mime-info))) ("shared-mime-info" ,shared-mime-info)))
(propagated-inputs (propagated-inputs
;; As per the pkg-config file. ;; As per the pkg-config file.
@ -431,7 +431,7 @@ (define-public gtksourceview
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("vala" ,vala) ("vala" ,vala)
;; For testing. ;; For testing.
("xorg-server" ,xorg-server) ("xorg-server" ,xorg-server-for-tests)
("shared-mime-info" ,shared-mime-info))) ("shared-mime-info" ,shared-mime-info)))
(propagated-inputs (propagated-inputs
;; gtksourceview-3.0.pc refers to all these. ;; gtksourceview-3.0.pc refers to all these.

View file

@ -373,7 +373,7 @@ (define-public opencv
(zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp))))))))) (zero? (system (format #f "~a/bin/Xvfb ~a &" xorg-server disp)))))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("xorg-server" ,xorg-server) ; For running the tests ("xorg-server" ,xorg-server-for-tests) ; For running the tests
("opencv-extra" ("opencv-extra"
,(origin ,(origin
(method git-fetch) (method git-fetch)

View file

@ -483,7 +483,7 @@ (define-public kconfig
("extra-cmake-modules" ,extra-cmake-modules) ("extra-cmake-modules" ,extra-cmake-modules)
("inetutils" ,inetutils) ("inetutils" ,inetutils)
("qttools" ,qttools) ("qttools" ,qttools)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("qtbase" ,qtbase))) `(("qtbase" ,qtbase)))
(arguments (arguments
@ -548,7 +548,7 @@ (define-public kcoreaddons
("qttools" ,qttools) ("qttools" ,qttools)
("shared-mime-info" ,shared-mime-info) ("shared-mime-info" ,shared-mime-info)
;; TODO: FAM: File alteration notification http://oss.sgi.com/projects/fam ;; TODO: FAM: File alteration notification http://oss.sgi.com/projects/fam
("xorg-server" ,xorg-server))) ; for the tests ("xorg-server" ,xorg-server-for-tests))) ; for the tests
(inputs (inputs
`(("qtbase" ,qtbase))) `(("qtbase" ,qtbase)))
(arguments (arguments
@ -1041,7 +1041,7 @@ (define-public kwidgetsaddons
(native-inputs (native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules) `(("extra-cmake-modules" ,extra-cmake-modules)
("qttools" ,qttools) ("qttools" ,qttools)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("qtbase" ,qtbase))) `(("qtbase" ,qtbase)))
(arguments (arguments
@ -1091,7 +1091,7 @@ (define-public kwindowsystem
("dbus" ,dbus) ; for the tests ("dbus" ,dbus) ; for the tests
("openbox" ,openbox) ; for the tests ("openbox" ,openbox) ; for the tests
("qttools" ,qttools) ("qttools" ,qttools)
("xorg-server" ,xorg-server))) ; for the tests ("xorg-server" ,xorg-server-for-tests))) ; for the tests
(inputs (inputs
`(("libxrender" ,libxrender) `(("libxrender" ,libxrender)
("qtbase" ,qtbase) ("qtbase" ,qtbase)
@ -2201,7 +2201,7 @@ (define-public kdeclarative
(native-inputs (native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules) `(("extra-cmake-modules" ,extra-cmake-modules)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("kauth" ,kauth) `(("kauth" ,kauth)
("kbookmarks" ,kbookmarks) ("kbookmarks" ,kbookmarks)

View file

@ -96,7 +96,7 @@ (define-public kscreenlocker
;; For tests. ;; For tests.
("dbus" ,dbus) ("dbus" ,dbus)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("kcmutils" ,kcmutils) `(("kcmutils" ,kcmutils)
("kcrash" ,kcrash) ("kcrash" ,kcrash)

View file

@ -644,7 +644,7 @@ (define-public gajim
(native-inputs (native-inputs
`(("intltool" ,intltool) `(("intltool" ,intltool)
("python-docutils" ,python-docutils) ("python-docutils" ,python-docutils)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(inputs (inputs
`(("adwaita-icon-theme" ,adwaita-icon-theme) `(("adwaita-icon-theme" ,adwaita-icon-theme)
("gnome-keyring" ,gnome-keyring) ("gnome-keyring" ,gnome-keyring)

View file

@ -6310,7 +6310,7 @@ (define-public python-seaborn
("python-scipy" ,python-scipy))) ("python-scipy" ,python-scipy)))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest) `(("python-pytest" ,python-pytest)
("xorg-server" ,xorg-server))) ("xorg-server" ,xorg-server-for-tests)))
(home-page "http://stanford.edu/~mwaskom/software/seaborn/") (home-page "http://stanford.edu/~mwaskom/software/seaborn/")
(synopsis "Statistical data visualization") (synopsis "Statistical data visualization")
(description (description

View file

@ -198,7 +198,7 @@ (define-public vim-full
display " &"))))))))))) display " &")))))))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("xorg-server" ,xorg-server) ("xorg-server" ,xorg-server-for-tests)
,@(package-native-inputs vim))) ,@(package-native-inputs vim)))
(inputs (inputs
`(("acl" ,acl) `(("acl" ,acl)