[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/36: gnu: Add kmime.
From: |
guix-commits |
Subject: |
02/36: gnu: Add kmime. |
Date: |
Mon, 3 Feb 2020 08:45:56 -0500 (EST) |
htgoebel pushed a commit to branch staging
in repository guix.
commit 7cfb118cbe77cc9d351b9ad42d0cde93ba29be31
Author: Hartmut Goebel <address@hidden>
AuthorDate: Thu Dec 5 19:49:11 2019 +0100
gnu: Add kmime.
* gnu/packages/kde-pim.scm (kmime): New variable.
---
gnu/packages/kde-pim.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index 3bf3e96..393ffab 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -110,3 +110,37 @@ data.
This package contains the Akonadi PIM storage server and associated
programs.")
(license license:fdl1.2+)))
+
+(define-public kmime
+ (package
+ (name "kmime")
+ (version "19.08.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/applications/" version
+ "/src/kmime-" version ".tar.xz"))
+ (sha256
+ (base32 "1pc00pwwrngsyr7ppvqwfgvcgy2wiqdbqxhv9xidn4dw9way2ng6"))))
+ (build-system qt-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("kcodecs" ,kcodecs)
+ ("ki18n" ,ki18n)
+ ("qtbase" ,qtbase)))
+ (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")))
+ #t)))))
+ (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
+ (synopsis "Library for handling MIME data")
+ (description "A library for MIME handling.")
+ (license license:lgpl2.0+)))
- branch staging updated (0895002 -> cf25665), guix-commits, 2020/02/03
- 02/36: gnu: Add kmime.,
guix-commits <=
- 06/36: gnu: Add kidentitymanagement., guix-commits, 2020/02/03
- 01/36: gnu: Add akonadi., guix-commits, 2020/02/03
- 09/36: gnu: Add ktnef., guix-commits, 2020/02/03
- 12/36: gnu: Add akonadi-notes., guix-commits, 2020/02/03
- 05/36: gnu: Add kpimtextedit., guix-commits, 2020/02/03
- 04/36: gnu: Add kcalutils., guix-commits, 2020/02/03
- 11/36: gnu: Add akonadi-mime., guix-commits, 2020/02/03
- 15/36: gnu: Add ksmtp., guix-commits, 2020/02/03
- 16/36: gnu: Add kontactinterface., guix-commits, 2020/02/03
- 08/36: gnu: Add kldap., guix-commits, 2020/02/03