gnu: gtk+: Include xorg-server in native-inputs on MIPS; enable tests.

* gnu/packages/gtk.scm (gtk+)[native-inputs]: Unconditionally include
  xorg-server and enable tests.
This commit is contained in:
Mark H Weaver 2015-01-06 13:11:43 -05:00
parent cd06768e66
commit 97f94f5e9b

View file

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
@ -418,18 +418,9 @@ (define-public gtk+
("pkg-config" ,pkg-config)
("gobject-introspection" ,gobject-introspection)
("python-wrapper" ,python-wrapper)
;; FIXME: The Xorg server is needed to run the tests, but it currently
;; fails to build on mips64el, so remove it in the meantime.
,@(if (string=? (or (%current-target-system) (%current-system))
"mips64el-linux")
'()
`(("xorg-server" ,xorg-server)))))
("xorg-server" ,xorg-server)))
(arguments
`(;; FIXME: See above.
#:tests? ,(not (string=? (or (%current-target-system) (%current-system))
"mips64el-linux"))
#:phases
`(#:phases
(alist-replace
'configure
(lambda* (#:key inputs #:allow-other-keys #:rest args)