From 548f99b3e0d3647f29ddc3c3864ca36b655f14ec Mon Sep 17 00:00:00 2001 From: David Craven Date: Mon, 22 Aug 2016 13:02:10 +0200 Subject: gnu: kcompletion: Fix test failure. * gnu/packages/kde-frameworks.scm (kcompletion)[arguments]: Remove phase 'start-xorg-server. Set QT_QPA_PLATFORM=offscreen. --- gnu/packages/kde-frameworks.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 82b9f5e562..6ba454d0ed 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -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 -- cgit 1.4.1