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:
parent
3c98ac0240
commit
548f99b3e0
|
@ -1129,15 +1129,9 @@ utilities.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda* _
|
(lambda _
|
||||||
(setenv "DBUS_FATAL_WARNINGS" "0")))
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
(add-before 'check 'start-xorg-server
|
#t)))))
|
||||||
(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)))))
|
|
||||||
(home-page "https://community.kde.org/Frameworks")
|
(home-page "https://community.kde.org/Frameworks")
|
||||||
(synopsis "Powerful autocompletion framework and widgets")
|
(synopsis "Powerful autocompletion framework and widgets")
|
||||||
(description "This framework helps implement autocompletion in Qt-based
|
(description "This framework helps implement autocompletion in Qt-based
|
||||||
|
|
Loading…
Reference in New Issue