all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 39182@debbugs.gnu.org
Subject: [bug#39182] [PATCH 02/26] gnu: Add kmime.
Date: Sat, 18 Jan 2020 22:11:21 +0100	[thread overview]
Message-ID: <20200118211145.27488-2-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <20200118211145.27488-1-h.goebel@crazy-compilers.com>

* 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 3bf3e96a02..393ffaba7e 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+)))
-- 
2.21.1

  reply	other threads:[~2020-01-18 21:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18 21:10 [bug#39182] [PATCH 00/26] First part od KDE PIM, incl. akonadi, kgpg, kleopatra Hartmut Goebel
2020-01-18 21:11 ` [bug#39182] [PATCH 01/26] gnu: Add akonadi Hartmut Goebel
2020-01-18 21:11   ` Hartmut Goebel [this message]
2020-01-18 21:11   ` [bug#39182] [PATCH 03/26] gnu: Add kmbox Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 04/26] gnu: Add kcalutils Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 05/26] gnu: Add kpimtextedit Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 06/26] gnu: Add kidentitymanagement Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 07/26] gnu: Add kimap Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 08/26] gnu: Add kldap Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 09/26] gnu: Add ktnef Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 10/26] gnu: Add kalarmcal Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 11/26] gnu: Add akonadi-mime Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 12/26] gnu: Add akonadi-notes Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 13/26] gnu: Add akonadi-search Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 14/26] gnu: Add akonadi-contacts Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 15/26] gnu: Add ksmtp Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 16/26] gnu: Add kontactinterface Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 17/26] gnu: Add libkgapi Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 18/26] gnu: Add kmailtransport Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 19/26] gnu: Add akonadi-calendar Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 20/26] gnu: Add libkleo Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 21/26] gnu: Add kleopatra Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 22/26] gnu: Add kgpg Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 23/26] gnu: Add libkdepim Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 24/26] gnu: Add kmailimporter Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 25/26] gnu: Add kpimcommon Hartmut Goebel
2020-01-18 21:11   ` [bug#39182] [PATCH 26/26] gnu: Add kdepim-apps-libs Hartmut Goebel
     [not found] ` <handler.39182.B.15793818166673.ack@debbugs.gnu.org>
2020-02-03 13:46   ` bug#39182: Acknowledgement ([PATCH 00/26] First part od KDE PIM, incl. akonadi, kgpg, kleopatra) Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200118211145.27488-2-h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=39182@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.