iyzsong pushed a commit to branch kde-updates
in repository guix.
commit cc994a8780c261ac489e64e4be0bbb6aa65f8739
Author: 宋文武 <[email protected]>
AuthorDate: Sun Jul 30 07:29:38 2023 +0800
gnu: krusader: Update to 2.8.0.
* gnu/packages/kde-utils.scm (krusader): Update to 2.8.0.
[arguments]: Add a phase to patch 'compat.h'.
---
gnu/packages/kde-utils.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index 8e6a89239a..023f6bb7df 100644
--- a/gnu/packages/kde-utils.scm
+++ b/gnu/packages/kde-utils.scm
@@ -923,15 +923,24 @@ to save the times and resume them later.")
(define-public krusader
(package
(name "krusader")
- (version "2.7.2")
+ (version "2.8.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/krusader/" version
"/krusader-" version ".tar.xz"))
(sha256
- (base32 "02b1jz5a7cjr13v6c7fczrhs1xmg1krnva5fxk8x2bf4nd1rm8s1"))))
+ (base32 "16n2y861ka8jhackf7hd9b0b0argifc1p0a114dvrc0qjddg0k4f"))))
(build-system qt-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-compat.h
+ (lambda _
+ ;; Those fallbacks for pre KF-5.91 cause missing includes.
+ (substitute* "app/compat.h"
+ (("# include <kcompletion_version\\.h>") "")
+ (("# include <karchive_version\\.h>") "")))))))
(native-inputs
(list extra-cmake-modules kdoctools))
(inputs