gnu: kcompletion: Fix test failure.

* gnu/packages/kde-frameworks.scm (kcompletion)[arguments]:
Remove phase 'start-xorg-server. Set QT_QPA_PLATFORM=offscreen.
This commit is contained in:
David Craven 2016-08-22 13:02:10 +02:00
parent 3c98ac0240
commit 548f99b3e0
No known key found for this signature in database
GPG Key ID: C5E051C79C0BECDB
1 changed files with 3 additions and 9 deletions

View File

@ -1129,15 +1129,9 @@ utilities.")
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda* _
(setenv "DBUS_FATAL_WARNINGS" "0")))
(add-before 'check 'start-xorg-server
(lambda* (#:key inputs #:allow-other-keys)
;; The test suite requires a running X server.
(system (string-append (assoc-ref inputs "xorg-server")
"/bin/Xvfb :1 &"))
(setenv "DISPLAY" ":1")
#t)))))
(lambda _
(setenv "QT_QPA_PLATFORM" "offscreen")
#t)))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Powerful autocompletion framework and widgets")
(description "This framework helps implement autocompletion in Qt-based