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,14 +1129,8 @@ 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")
|
||||
(lambda _
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
#t)))))
|
||||
(home-page "https://community.kde.org/Frameworks")
|
||||
(synopsis "Powerful autocompletion framework and widgets")
|
||||
|
|
Loading…
Reference in New Issue