From 1de5b667f896aa2c612416bffac5f77cae94c5f4 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sat, 20 Aug 2016 15:54:42 +0200 Subject: gnu: kguiaddons: Fix test failure. * gnu/packages/kde-frameworks.scm (kguiaddons)[arguments]: Remove phase 'start-xorg-server. Add phase 'check-setup. --- gnu/packages/kde-frameworks.scm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'gnu/packages') 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 -- cgit v1.2.3