aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2024-04-10 19:25:17 +0800
committer宋文武 <iyzsong@member.fsf.org>2024-04-10 19:50:33 +0800
commit9acc0567254c8b5bcdca79287660019da7fdada4 (patch)
tree22b152aaa8c8c7a31efd67392e8afabdf7add261 /gnu
parent8bfa49444d688fd39d66dfa7d8a5d8fc04b3b571 (diff)
downloadguix-9acc0567254c8b5bcdca79287660019da7fdada4.tar.gz
guix-9acc0567254c8b5bcdca79287660019da7fdada4.zip
gnu: kdelibs4support: Fix tests.
Reported in: <https://issues.guix.gnu.org/70100> <https://issues.guix.gnu.org/70176> * gnu/packages/kde-frameworks.scm (kdelibs4support)[source]: Add snippet. Change-Id: I12e16b8003e9b7e857492e51105d7c3580e1c35f
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-frameworks.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index f487ac9a30..95c0f95e8c 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3670,7 +3670,16 @@ workspace.")
(version-major+minor version) "/portingAids/"
name "-" version ".tar.xz"))
(sha256
- (base32 "17473him2fjfcw5f88diarqac815wsakfyb9fka82a4qqh9l41mc"))))
+ (base32 "17473him2fjfcw5f88diarqac815wsakfyb9fka82a4qqh9l41mc"))
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "autotests/kmimetypetest.cpp"
+ ;; Adjust the test for shared-mime-info changes:
+ ;; https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/202
+ ;; https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/255
+ (("empty document") "Empty document")
+ (("Bzip archive") "Bzip2 archive")
+ (("<< \"application/x-bzip") "<< \"application/x-bzip2")))))
(build-system cmake-build-system)
(native-inputs
(list dbus