From cc994a8780c261ac489e64e4be0bbb6aa65f8739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 30 Jul 2023 07:29:38 +0800 Subject: [PATCH] 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 ") "") + (("# include ") ""))))))) (native-inputs (list extra-cmake-modules kdoctools)) (inputs