[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
89/332: gnu: kcmutils: Use G-expressions.
From: |
guix-commits |
Subject: |
89/332: gnu: kcmutils: Use G-expressions. |
Date: |
Thu, 3 Aug 2023 05:43:42 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit 039b976c395b1820d1cf8afe1cbc3e316b49e397
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Thu Jul 13 22:44:55 2023 +0800
gnu: kcmutils: Use G-expressions.
* gnu/packages/kde-frameworks.scm (kcmutils)[arguments]:
Rewrite as G-expressions.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/kde-frameworks.scm | 36 +++++++++++++++++++++---------------
1 file changed, 21 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 2a811a928f..0f7cce2be7 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2217,21 +2217,27 @@ using the XBEL format.")
(native-inputs
(list extra-cmake-modules))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch
- (lambda _
- (substitute* "src/kpluginselector.cpp"
- ;; make QDirIterator follow symlinks
- (("^\\s*(QDirIterator it\\(.*,
QDirIterator::Subdirectories)(\\);)" _ a b)
- (string-append a " | QDirIterator::FollowSymlinks" b)))
- (substitute* "src/kcmoduleloader.cpp"
- ;; print plugin name when loading fails
- (("^\\s*(qWarning\\(\\) << \"Error loading) (plugin:\")( <<
loader\\.errorString\\(\\);)" _ a b c)
- (string-append a " KCM plugin\" << mod.service()->library() <<
\":\"" c)))))
- (add-before 'check 'check-setup
- (lambda _
- (setenv "QT_QPA_PLATFORM" "offscreen"))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda _
+ (substitute* "src/kpluginselector.cpp"
+ ;; make QDirIterator follow symlinks
+ (("^\\s*(QDirIterator it\\(.*,
QDirIterator::Subdirectories)(\\);)"
+ _ a b)
+ (string-append a
+ " | QDirIterator::FollowSymlinks" b)))
+ (substitute* "src/kcmoduleloader.cpp"
+ ;; print plugin name when loading fails
+ (("^\\s*(qWarning\\(\\) << \"Error loading) (plugin:\")( <<
loader\\.errorString\\(\\);)"
+ _ a b c)
+ (string-append a
+ " KCM plugin\" << mod.service()->library() <<
\":\""
+ c)))))
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "QT_QPA_PLATFORM" "offscreen"))))))
(inputs
(list kauth
kcodecs
- 320/332: gnu: libksieve: Update to 23.04.3., (continued)
- 320/332: gnu: libksieve: Update to 23.04.3., guix-commits, 2023/08/03
- 321/332: gnu: audiocd-kio: Update to 23.04.3., guix-commits, 2023/08/03
- 324/332: gnu: ffmpegthumbs: Update to 23.04.3., guix-commits, 2023/08/03
- 325/332: gnu: juk: Update to 23.04.3., guix-commits, 2023/08/03
- 328/332: gnu: qgpgme: Propagate gpgme., guix-commits, 2023/08/03
- 331/332: gnu: Remove kwayland-server., guix-commits, 2023/08/03
- 58/332: gnu: solid: Use G-expressions., guix-commits, 2023/08/03
- 79/332: gnu: kemoticons: Use G-expressions., guix-commits, 2023/08/03
- 86/332: gnu: kactivities: Update to 5.108.0., guix-commits, 2023/08/03
- 88/332: gnu: kcmutils: Update to 5.108.0., guix-commits, 2023/08/03
- 89/332: gnu: kcmutils: Use G-expressions.,
guix-commits <=
- 99/332: gnu: kxmlrpcclient: Update to 5.108.0., guix-commits, 2023/08/03
- 121/332: gnu: kcachegrind: Update to 23.04.3., guix-commits, 2023/08/03
- 128/332: gnu: kosmindoormap: Update to 23.04.3., guix-commits, 2023/08/03
- 127/332: gnu: kpmcore: Use G-expressions., guix-commits, 2023/08/03
- 143/332: gnu: khelpcenter: Use G-expressions., guix-commits, 2023/08/03
- 146/332: gnu: kdecoration: Update to 5.27.6., guix-commits, 2023/08/03
- 139/332: gnu: konsole: Update to 23.04.3., guix-commits, 2023/08/03
- 137/332: gnu: dolphin: Update to 23.04.3., guix-commits, 2023/08/03
- 151/332: gnu: kgamma: Update to 5.27.6., guix-commits, 2023/08/03
- 154/332: gnu: libksysguard: Update to 5.27.6., guix-commits, 2023/08/03