summary refs log tree commit diff
path: root/gnu/packages/kde-utils.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2023-07-30 07:29:38 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-08-03 17:38:11 +0800
commitcc994a8780c261ac489e64e4be0bbb6aa65f8739 (patch)
treeb1aa522616376197f302a973db6243ae70158c76 /gnu/packages/kde-utils.scm
parent1270f29b9cfb157fff5227a23b6c5ae32b4246f1 (diff)
downloadguix-cc994a8780c261ac489e64e4be0bbb6aa65f8739.tar.gz
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'.
Diffstat (limited to 'gnu/packages/kde-utils.scm')
-rw-r--r--gnu/packages/kde-utils.scm13
1 files 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