[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
179/332: gnu: kscreenlocker: Format with 'guix style'.
From: |
guix-commits |
Subject: |
179/332: gnu: kscreenlocker: Format with 'guix style'. |
Date: |
Wed, 2 Aug 2023 10:36:58 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit 02f4e43b9f78a7238b03f9c79c6fa3db7e5ed1c7
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Sat Jul 15 17:13:21 2023 +0800
gnu: kscreenlocker: Format with 'guix style'.
* gnu/packages/kde-plasma.scm (kscreenlocker): Adjust package formatting
with 'guix style'.
[arguments]: Use G-expressions, remove tail #t.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/kde-plasma.scm | 91 +++++++++++++++++++++------------------------
1 file changed, 43 insertions(+), 48 deletions(-)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 9062fc7911..4e57202912 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -835,54 +835,49 @@ an elegant and intuitive experience for your tasks and
plasmoids.")
"0pgmy4dw41kim7syk4xb2n4g4iz3jjikhwnh3bjianl9h87rc12x"))))
(build-system qt-build-system)
(arguments
- `(#:tests? #f ;; TODO: make tests pass
- #:phases
- (modify-phases %standard-phases
- (add-before 'check 'check-setup
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (system "Xvfb :1 -screen 0 640x480x24 &")
- (setenv "DISPLAY" ":1")
- #t))
- (delete 'check)
- ;; Tests use the installed library and require a DBus session.
- (add-after 'install 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- (begin
- (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
- (invoke "dbus-launch" "ctest")))
- #t)))))
- (native-inputs
- (list extra-cmake-modules pkg-config
- ;; For tests.
- dbus xorg-server-for-tests))
- (inputs
- (list kcmutils
- kconfig
- kcrash
- kdeclarative
- kglobalaccel
- ki18n
- kio
- kidletime
- knotifications
- ktextwidgets
- kwayland
- kwindowsystem
- kxmlgui
- layer-shell-qt
- libkscreen
- libseccomp ;for sandboxing the look'n'feel package
- libxcursor ;missing in CMakeList.txt
- libxi ;XInput, required for grabbing XInput2 devices
- linux-pam
- elogind ;optional loginctl support
- qtbase-5
- qtdeclarative-5
- qtx11extras
- solid
- wayland
- xcb-util-keysyms))
+ (list #:tests? #f ;TODO: make tests pass
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (system "Xvfb :1 -screen 0 640x480x24 &")
+ (setenv "DISPLAY" ":1")))
+ (delete 'check)
+ ;; Tests use the installed library and require a DBus
session.
+ (add-after 'install 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (begin
+ (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
+ (invoke "dbus-launch" "ctest"))))))))
+ (native-inputs (list extra-cmake-modules pkg-config
+ ;; For tests.
+ dbus xorg-server-for-tests))
+ (inputs (list kcmutils
+ kconfig
+ kcrash
+ kdeclarative
+ kglobalaccel
+ ki18n
+ kio
+ kidletime
+ knotifications
+ ktextwidgets
+ kwayland
+ kwindowsystem
+ kxmlgui
+ layer-shell-qt
+ libkscreen
+ libseccomp ;for sandboxing the look'n'feel package
+ libxcursor ;missing in CMakeList.txt
+ libxi ;XInput, required for grabbing XInput2 devices
+ linux-pam
+ elogind ;optional loginctl support
+ qtbase-5
+ qtdeclarative-5
+ qtx11extras
+ solid
+ wayland
+ xcb-util-keysyms))
(home-page "https://invent.kde.org/plasma/kscreenlocker")
(synopsis "Screen locking library")
(description
- 130/332: gnu: kopeninghours: Use G-expressions., (continued)
- 130/332: gnu: kopeninghours: Use G-expressions., guix-commits, 2023/08/02
- 135/332: gnu: kpublictransport: Update to 23.04.3., guix-commits, 2023/08/02
- 128/332: gnu: kosmindoormap: Update to 23.04.3., guix-commits, 2023/08/02
- 188/332: gnu: powerdevil: Update to 5.27.6., guix-commits, 2023/08/02
- 67/332: gnu: kdesignerplugin: Update to 5.108.0., guix-commits, 2023/08/02
- 88/332: gnu: kcmutils: Update to 5.108.0., guix-commits, 2023/08/02
- 120/332: gnu: libkdegames: Update to 23.04.3., guix-commits, 2023/08/02
- 116/332: gnu: kdf: Update to 23.04.3., guix-commits, 2023/08/02
- 131/332: gnu: marble-qt: Update to 23.04.3., guix-commits, 2023/08/02
- 132/332: gnu: marble-qt: Use G-expressions., guix-commits, 2023/08/02
- 179/332: gnu: kscreenlocker: Format with 'guix style'.,
guix-commits <=
- 160/332: gnu: plasma-disks: Update to 5.27.6., guix-commits, 2023/08/02
- 161/332: gnu: plasma-firewall: Update to 5.27.6., guix-commits, 2023/08/02
- 156/332: gnu: kwrited: Update to 5.27.6., guix-commits, 2023/08/02
- 186/332: gnu: khotkeys: Update to 5.27.6., guix-commits, 2023/08/02
- 153/332: gnu: ksshaskpass: Update to 5.27.6., guix-commits, 2023/08/02
- 183/332: gnu: plasma-workspace: Update to 5.27.6., guix-commits, 2023/08/02
- 196/332: gnu: kmix: Update to 23.04.3., guix-commits, 2023/08/02
- 223/332: gnu: kgoldrunner: Update to 23.04.3., guix-commits, 2023/08/02
- 226/332: gnu: kblackbox: Update to 23.04.3., guix-commits, 2023/08/02
- 236/332: gnu: kapman: Update to 23.04.3., guix-commits, 2023/08/02