[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: |
Wed, 2 Aug 2023 10:36:47 -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
- 14/332: gnu: kcoreaddons: Update to 5.108.0., (continued)
- 14/332: gnu: kcoreaddons: Update to 5.108.0., guix-commits, 2023/08/02
- 10/332: gnu: karchive: Update to 5.108.0., guix-commits, 2023/08/02
- 23/332: gnu: modemmanager-qt: Use G-expressions., guix-commits, 2023/08/02
- 28/332: gnu: ki18n: Update to 5.108.0., guix-commits, 2023/08/02
- 30/332: gnu: kidletime: Update to 5.108.0., guix-commits, 2023/08/02
- 34/332: gnu: kplotting: Update to 5.108.0., guix-commits, 2023/08/02
- 53/332: gnu: kconfigwidgets: Update to 5.108.0., guix-commits, 2023/08/02
- 101/332: gnu: khtml: Update to 5.108.0., guix-commits, 2023/08/02
- 66/332: gnu: kimageformats: Use G-expressions., guix-commits, 2023/08/02
- 82/332: gnu: kfilemetadata: Use G-expressions., guix-commits, 2023/08/02
- 89/332: gnu: kcmutils: Use G-expressions.,
guix-commits <=
- 109/332: gnu: krunner: Update to 5.108.0., guix-commits, 2023/08/02
- 112/332: gnu: grantleetheme: Update to 23.04.3., guix-commits, 2023/08/02
- 129/332: gnu: kopeninghours: Update to 23.04.3., guix-commits, 2023/08/02
- 182/332: gnu: kio-extras: Update to 23.04.3., guix-commits, 2023/08/02
- 192/332: gnu: kinfocenter: Update to 5.27.6., guix-commits, 2023/08/02
- 172/332: gnu: plasma-vault: Update to 5.27.6., guix-commits, 2023/08/02
- 133/332: gnu: okular: Update to 23.04.3., guix-commits, 2023/08/02
- 123/332: gnu: kirigami-addons: Update to 0.9.0., guix-commits, 2023/08/02
- 185/332: gnu: kde-cli-tools: Update to 5.27.6., guix-commits, 2023/08/02
- 167/332: gnu: bluedevil: Update to 5.27.6., guix-commits, 2023/08/02