summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-22 13:02:10 +0200
committerDavid Craven <david@craven.ch>2016-08-22 13:08:38 +0200
commit548f99b3e0d3647f29ddc3c3864ca36b655f14ec (patch)
treeb264cf8d75b98630f15d75132908e06ff8022b6b
parent3c98ac0240acf03c9ef9c7f2f028b026c9de25da (diff)
downloadguix-548f99b3e0d3647f29ddc3c3864ca36b655f14ec.tar.gz
gnu: kcompletion: Fix test failure.
* gnu/packages/kde-frameworks.scm (kcompletion)[arguments]:
Remove phase 'start-xorg-server. Set QT_QPA_PLATFORM=offscreen.
-rw-r--r--gnu/packages/kde-frameworks.scm12
1 files changed, 3 insertions, 9 deletions
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