diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-06 19:34:58 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-18 10:45:18 +0800 |
commit | 2f407ac162d6b9053bafb611ff20b58b13e7a09c (patch) | |
tree | 6225098d30457ada6e6cd13961171f7e3f502535 | |
parent | b1564424378eaf189614003deff7887ffb215a69 (diff) | |
download | guix-2f407ac162d6b9053bafb611ff20b58b13e7a09c.tar.gz guix-2f407ac162d6b9053bafb611ff20b58b13e7a09c.zip |
gnu: kmime: Update to 24.05.2.
* gnu/packages/kde-pim.scm (kmime): Update to 24.05.2.
[inputs]: Remove qtbase-5.
[native-inputs]: Add tzdata-for-tests.
[arguments]: Use Gexp; Set #:qtbase to qtbase.
<#:phases>: Adjust fix-test-case phase.
Change-Id: I46d6d92ca752c2dd8c0255fd0abefbe4d376c2fd
-rw-r--r-- | gnu/packages/kde-pim.scm | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm index c0b0b6bd42..3c232dbbbd 100644 --- a/gnu/packages/kde-pim.scm +++ b/gnu/packages/kde-pim.scm @@ -1604,29 +1604,28 @@ kwebengineviewer.") (define-public kmime (package (name "kmime") - (version "23.04.3") + (version "24.05.2") (source (origin (method url-fetch) (uri (string-append "mirror://kde/stable/release-service/" version "/src/kmime-" version ".tar.xz")) (sha256 - (base32 "1i38g0s98d24882kxyjay965nz3d3fjhb3mv1p4sllm2lnffrq2d")))) + (base32 "19dnp955vii3vi1jaxgbsyabbb35iaqvhz9nnz392r3wz7f3hbyq")))) (build-system qt-build-system) (native-inputs - (list extra-cmake-modules)) + (list extra-cmake-modules tzdata-for-tests)) (inputs - (list kcodecs ki18n qtbase-5)) + (list kcodecs ki18n)) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-test-case - (lambda _ - ;; This is curious: autotests/CMakeLists.txt sets LC_TIME=C, but - ;; the Qt locale returns different. See kmime commit 3a9651d26a. - (substitute* "autotests/dateformattertest.cpp" - (("(Today|Yesterday) 12:34:56" line day) - (string-append day " 12:34 PM")))))))) + (list #:qtbase qtbase + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-test-case + (lambda* (#:key inputs tests? #:allow-other-keys) + (when tests? + (setenv "TZDIR" (search-input-directory + inputs "share/zoneinfo")))))))) (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") (synopsis "Library for handling MIME data") (description "This library provides an API for handling MIME |