[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/332: gnu: kauth: Use G-expressions.
From: |
guix-commits |
Subject: |
17/332: gnu: kauth: Use G-expressions. |
Date: |
Thu, 3 Aug 2023 05:43:34 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit cfc64292be70d83165258701d70f8e1ddccda87c
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Wed Jul 12 11:44:22 2023 +0800
gnu: kauth: Use G-expressions.
* gnu/packages/kde-frameworks.scm (kauth)[arguments]:
Rewrite as G-expressions.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/kde-frameworks.scm | 37 +++++++++++++++++++------------------
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 7263c7d173..daffee7c7c 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1561,24 +1561,25 @@ with other frameworks.")
(inputs
(list kcoreaddons polkit-qt qtbase-5))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-cmake-install-directories
- (lambda _
- ;; Make packages using kauth put their policy files and helpers
- ;; into their own prefix.
- (substitute* "KF5AuthConfig.cmake.in"
- (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
- "${KDE_INSTALL_DATADIR}/polkit-1/actions")
- (("@KAUTH_HELPER_INSTALL_DIR@")
- "${KDE_INSTALL_LIBEXECDIR}")
- (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
- "${KDE_INSTALL_LIBEXECDIR}"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (setenv "DBUS_FATAL_WARNINGS" "0")
- (invoke "dbus-launch" "ctest")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cmake-install-directories
+ (lambda _
+ ;; Make packages using kauth put their policy files and helpers
+ ;; into their own prefix.
+ (substitute* "KF5AuthConfig.cmake.in"
+ (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
+ "${KDE_INSTALL_DATADIR}/polkit-1/actions")
+ (("@KAUTH_HELPER_INSTALL_DIR@")
+ "${KDE_INSTALL_LIBEXECDIR}")
+ (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
+ "${KDE_INSTALL_LIBEXECDIR}"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ (invoke "dbus-launch" "ctest")))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Execute actions as privileged user")
(description "KAuth provides a convenient, system-integrated way to offload
- 07/332: gnu: breeze-icons: Update to 5.108.0., (continued)
- 07/332: gnu: breeze-icons: Update to 5.108.0., guix-commits, 2023/08/03
- 08/332: gnu: kapidox: Update to 5.108.0., guix-commits, 2023/08/03
- 09/332: gnu: kapidox: Use G-expressions., guix-commits, 2023/08/03
- 10/332: gnu: karchive: Update to 5.108.0., guix-commits, 2023/08/03
- 14/332: gnu: kcoreaddons: Update to 5.108.0., guix-commits, 2023/08/03
- 15/332: gnu: kcoreaddons: Use G-expressions., guix-commits, 2023/08/03
- 05/332: gnu: attica: Use G-expressions., guix-commits, 2023/08/03
- 03/332: gnu: kquickcharts: Update to 5.108.0., guix-commits, 2023/08/03
- 06/332: gnu: bluez-qt: Update to 5.108.0., guix-commits, 2023/08/03
- 01/332: gnu: extra-cmake-modules: Update to 5.108.0., guix-commits, 2023/08/03
- 17/332: gnu: kauth: Use G-expressions.,
guix-commits <=
- 22/332: gnu: modemmanager-qt: Update to 5.108.0., guix-commits, 2023/08/03
- 24/332: gnu: networkmanager-qt: Update to 5.108.0., guix-commits, 2023/08/03
- 32/332: gnu: kitemmodels: Update to 5.108.0., guix-commits, 2023/08/03
- 04/332: gnu: attica: Update to 5.108.0., guix-commits, 2023/08/03
- 11/332: gnu: kcalendarcore: Update to 5.108.0., guix-commits, 2023/08/03
- 12/332: gnu: kcalendarcore: Use G-expressions., guix-commits, 2023/08/03
- 13/332: gnu: kcodecs: Update to 5.108.0., guix-commits, 2023/08/03
- 16/332: gnu: kauth: Update to 5.108.0., guix-commits, 2023/08/03
- 20/332: gnu: kwindowsystem: Update to 5.108.0., guix-commits, 2023/08/03
- 21/332: gnu: kwindowsystem: Use G-expressions., guix-commits, 2023/08/03