aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <873216071@qq.com>2023-07-20 10:45:55 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-08-02 22:27:43 +0800
commitcba2f44305b243d7f43614a894004ab1a78fa779 (patch)
tree68519535c689b23d87b72e56dcf51843da1c7c7d /gnu/packages
parentf53e4524b51f479fe307e74fbde2002633c99259 (diff)
downloadguix-cba2f44305b243d7f43614a894004ab1a78fa779.tar.gz
guix-cba2f44305b243d7f43614a894004ab1a78fa779.zip
gnu: kde-cli-tools: Update to 5.27.6.
* gnu/packages/kde-plasma.scm (kde-cli-tools): Update to 5.27.6. [arguments]: Add symlink-kdesu phase to make kdesu can found in PATH. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/kde-plasma.scm14
1 files changed, 10 insertions, 4 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 46ac85acf4..3da94faa61 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -380,7 +380,7 @@ manager which re-parents a Client window to a window decoration frame.")
(define-public kde-cli-tools
(package
(name "kde-cli-tools")
- (version "5.25.5")
+ (version "5.27.6")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/"
@@ -388,10 +388,10 @@ manager which re-parents a Client window to a window decoration frame.")
(patches (search-patches "kde-cli-tools-delay-mime-db.patch"))
(sha256
(base32
- "0i1lnkyb2bdvbhnr2wsgjy2sjichzxxqkvn30ca85rj21cavk2z3"))))
+ "1ahgpaa073lg6n7xnrkflqz9cj8sl7f77sla93415hc2pz1v3qmm"))))
(build-system qt-build-system)
(arguments
- (list #:tests? #f ;TODO: Failing sub-tests 3/7
+ (list #:tests? #f ;TODO: Failing 1 test
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-writable-location
@@ -402,7 +402,13 @@ GenericDataLocation.")
(string-append "\"" (getcwd) "/\"")))))
(add-before 'check 'setup-env
(lambda* _
- (setenv "HOME" (getcwd)))))))
+ (setenv "HOME" (getcwd))))
+ (add-after 'install 'symlink-kdesu
+ (lambda _
+ ;; XXX: nixpkgs say kdesu need kdeinit5 in PATH, but i can't
+ ;; found in source, need check
+ (symlink (string-append #$output "/lib/libexec/kf5/kdesu")
+ (string-append #$output "/bin/kdesu")))))))
(native-inputs (list extra-cmake-modules pkg-config shared-mime-info))
(inputs (list kconfig
kdesu