me
/
guix
Archived
1
0
Fork 0

gnu: kwindowsystem: Use G-expressions.

* gnu/packages/kde-frameworks.scm (kwindowsystem)[arguments]:
Rewrite as G-expressions.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
master
Zheng Junjie 2023-07-12 12:04:55 +08:00 committed by 宋文武
parent ad9768eb9c
commit e879b19ab3
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 15 additions and 14 deletions

View File

@ -1194,20 +1194,21 @@ configuration pages, message boxes, and password requests.")
xcb-util-keysyms
xcb-util-wm))
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
;; The test suite requires a running window anager
(when tests?
(setenv "XDG_RUNTIME_DIR" "/tmp")
(system "Xvfb :1 -ac -screen 0 640x480x24 &")
(setenv "DISPLAY" ":1")
(sleep 5) ;; Give Xvfb a few moments to get on it's feet
(system "openbox &")
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
(setenv "DBUS_FATAL_WARNINGS" "0")
(invoke "dbus-launch" "ctest")))))))
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
;; The test suite requires a running window anager
(when tests?
(setenv "XDG_RUNTIME_DIR" "/tmp")
(system "Xvfb :1 -ac -screen 0 640x480x24 &")
(setenv "DISPLAY" ":1")
(sleep 5) ;; Give Xvfb a few moments to get on it's feet
(system "openbox &")
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
(setenv "DBUS_FATAL_WARNINGS" "0")
(invoke "dbus-launch" "ctest")))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "KDE access to the windowing system")
(description "KWindowSystem provides information about and allows