aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-20 15:54:42 +0200
committerDavid Craven <david@craven.ch>2016-08-22 01:49:52 +0200
commit1de5b667f896aa2c612416bffac5f77cae94c5f4 (patch)
tree80f5818e6c7a98b019c3f446917088290b4bf6e7
parent3cf319a3f8e23831960a0f1320122cc514188a37 (diff)
downloadpatches-1de5b667f896aa2c612416bffac5f77cae94c5f4.tar
patches-1de5b667f896aa2c612416bffac5f77cae94c5f4.tar.gz
gnu: kguiaddons: Fix test failure.
* gnu/packages/kde-frameworks.scm (kguiaddons)[arguments]: Remove phase 'start-xorg-server. Add phase 'check-setup.
-rw-r--r--gnu/packages/kde-frameworks.scm11
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 3b5f4431d4..4afb6f4e4a 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -539,13 +539,10 @@ infrastructure.")
(arguments
`(#:phases
(modify-phases %standard-phases
- (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)))))
+ (add-before 'check 'check-setup
+ (lambda* _
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ #t)))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Utilities for graphical user interfaces")
(description "The KDE GUI addons provide utilities for graphical user