1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages kde-pim)
20 #:use-module (guix build-system qt)
21 #:use-module (guix download)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix packages)
24 #:use-module (guix utils)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages boost)
27 #:use-module (gnu packages cyrus-sasl)
28 #:use-module (gnu packages databases)
29 #:use-module (gnu packages documentation)
30 #:use-module (gnu packages glib)
31 #:use-module (gnu packages gnome)
32 #:use-module (gnu packages gnupg)
33 #:use-module (gnu packages kde)
34 #:use-module (gnu packages kde-frameworks)
35 #:use-module (gnu packages openldap)
36 #:use-module (gnu packages qt)
37 #:use-module (gnu packages search)
38 #:use-module (gnu packages sqlite)
39 #:use-module (gnu packages xml))
41 (define-public akonadi
48 (uri (string-append "mirror://kde/stable/applications/" version
49 "/src/akonadi-" version ".tar.xz"))
51 (base32 "0v7f1049wjnqxhwxr1443wc2cfbdqmf15xcwjz3j1m0vgdva9pyg"))
52 (patches (search-patches
54 "akonadi-timestamps.patch"
55 "akonadi-Revert-Make-installation-properly-relocatabl.patch"))))
56 (build-system qt-build-system)
58 `(("extra-cmake-modules" ,extra-cmake-modules)
60 ("shared-mime-info" ,shared-mime-info)))
64 ("kconfigwidgets" ,kconfigwidgets)
65 ("kcoreaddons" ,kcoreaddons)
67 ("kdbusaddons" ,kdbusaddons)
68 ("kdesignerplugin" ,kdesignerplugin)
70 ("kiconthemes" ,kiconthemes)
72 ("kitemmodels" ,kitemmodels)
73 ("kitemviews" ,kitemviews)
74 ("kwidgetsaddons" ,kwidgetsaddons)
75 ("kwindowsystem" ,kwindowsystem)
79 ;; Do NOT add mysql or postgresql to the inputs. Otherwise the binaries
80 ;; and wrapped files will refer to them, even if the user choices none
81 ;; of these. Executables are searched on $PATH then.
85 `(#:tests? #f ;; TODO 135/167 tests fail
86 #:configure-flags '("-DDATABASE_BACKEND=SQLITE") ; lightweight
87 #:modules ((ice-9 textual-ports)
88 ,@%qt-build-system-modules)
90 (modify-phases (@ (guix build qt-build-system) %standard-phases)
91 (add-before 'configure 'add-definitions
93 (let ((out (assoc-ref %outputs "out"))
94 (mysql (assoc-ref %build-inputs "mysql"))
95 (pgsql (assoc-ref %build-inputs "postgresql")))
96 (with-output-to-file "CMakeLists.txt.new"
100 "add_compile_definitions(\n"
101 "NIX_OUT=\"" out "\"\n"
102 ;; pin binaries for mysql backend
105 (call-with-input-file "CMakeLists.txt"
107 (rename-file "CMakeLists.txt.new" "CMakeLists.txt"))
109 (home-page "https://kontact.kde.org/components/akonadi.html")
110 (synopsis "Extensible cross-desktop storage service for PIM")
111 (description "Akonadi is an extensible cross-desktop Personal Information
112 Management (PIM) storage service. It provides a common framework for
113 applications to store and access mail, calendars, addressbooks, and other PIM
116 This package contains the Akonadi PIM storage server and associated
118 (license license:fdl1.2+)))
120 (define-public akonadi-calendar
122 (name "akonadi-calendar")
127 (uri (string-append "mirror://kde/stable/applications/" version
128 "/src/akonadi-calendar-" version ".tar.xz"))
130 (base32 "1550h08i8rjnbd9yrnhd9v3v68ingrag2bdxrbid62qvam0n5ihy"))))
131 (build-system qt-build-system)
133 `(("extra-cmake-modules" ,extra-cmake-modules)))
135 `(("akonadi" ,akonadi)
136 ("akonadi-contacts" ,akonadi-contacts)
137 ("akonadi-mime" ,akonadi-mime)
139 ("kcalendarcore" ,kcalendarcore)
140 ("kcalutils" ,kcalutils)
142 ("kcontacts" ,kcontacts)
143 ("kdbusaddons" ,kdbusaddons)
145 ("kiconthemes" ,kiconthemes)
146 ("kidentitymanagement" ,kidentitymanagement)
148 ("kitemmodels" ,kitemmodels)
149 ("kmailtransport" ,kmailtransport)
151 ("kpimtextedit" ,kpimtextedit)
153 ("ktextwidgets" ,ktextwidgets)
157 `(#:tests? #f)) ;; TODO: 1/1 test fails
158 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
159 (synopsis "Library providing calendar helpers for Akonadi items")
160 (description "This library manages calendar specific actions for
161 collection and item views.")
162 (license license:lgpl2.0+)))
164 (define-public akonadi-contacts
166 (name "akonadi-contacts")
171 (uri (string-append "mirror://kde/stable/applications/" version
172 "/src/akonadi-contacts-" version ".tar.xz"))
174 (base32 "1pw1s8c6dlcb103cw46p1ikvas3y8cwiwnfdny2jd3hr3rig4px9"))))
175 (build-system qt-build-system)
177 `(("extra-cmake-modules" ,extra-cmake-modules)))
179 `(("akonadi" ,akonadi)
183 ("kcompletion" ,kcompletion)
184 ("kconfigwidgets" ,kconfigwidgets)
185 ("kcontacts" ,kcontacts)
186 ("kcoreaddons" ,kcoreaddons)
187 ("kdbusaddons" ,kdbusaddons)
189 ("kiconthemes" ,kiconthemes)
190 ("kitemmodels" ,kitemmodels)
191 ("kitemviews" ,kitemviews)
192 ("kjobwidgets" ,kjobwidgets)
194 ("kservice" ,kservice)
195 ("ktextwidgets" ,ktextwidgets)
196 ("kwidgetsaddons" ,kwidgetsaddons)
203 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
204 (synopsis "Akonadi contacts access library")
205 (description "Akonadi Contacts is a library that effectively bridges the
206 type-agnostic API of the Akonadi client libraries and the domain-specific
207 KContacts library. It provides jobs, models and other helpers to make working
208 with contacts and addressbooks through Akonadi easier.
210 The library provides a complex dialog for editing contacts and several models
211 to list and filter contacts.")
212 (license ;; GPL for programs, LGPL for libraries
213 (list license:gpl2+ license:lgpl2.0+))))
215 (define-public akonadi-mime
217 (name "akonadi-mime")
222 (uri (string-append "mirror://kde/stable/applications/" version
223 "/src/akonadi-mime-" version ".tar.xz"))
225 (base32 "03q3dnhzcgmgcqvijnwi4ikg0m1zad2l679bqnp051v27fvs4yg7"))))
226 (build-system qt-build-system)
228 `(("extra-cmake-modules" ,extra-cmake-modules)
229 ("libxslt" ,libxslt) ;; xslt for generating interface descriptions
230 ("shared-mime-info" ,shared-mime-info)))
232 `(("akonadi" ,akonadi)
236 ("kconfigwidgets" ,kconfigwidgets)
237 ("kdbusaddons" ,kdbusaddons)
240 ("kitemmodels" ,kitemmodels)
242 ("kwidgetsaddons" ,kwidgetsaddons)
245 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
248 (modify-phases %standard-phases
249 (add-after 'unpack 'copy-desktop-file-early
251 (let ((plugins-dir "/tmp/.local/share/akonadi/plugins/serializer"))
252 (mkdir-p plugins-dir)
253 (copy-file "serializers/akonadi_serializer_mail.desktop"
254 (string-append plugins-dir "/akonadi_serializer_mail.desktop")))
256 (add-before 'check 'check-setup
258 (setenv "HOME" "/tmp")
260 (synopsis "Akonadi MIME handling library")
261 (description "Akonadi Mime is a library that effectively bridges the
262 type-agnostic API of the Akonadi client libraries and the domain-specific
263 KMime library. It provides jobs, models and other helpers to make working
264 with emails through Akonadi easier.")
265 (license ;; GPL for programs, LGPL for libraries
266 (list license:gpl2+ license:lgpl2.0+))))
268 (define-public akonadi-notes
270 (name "akonadi-notes")
275 (uri (string-append "mirror://kde/stable/applications/" version
276 "/src/akonadi-notes-" version ".tar.xz"))
278 (base32 "0r8vh11bfjzhspb5kp2d0kcgwqd2m5qpxpamiajzjq910f51sw3w"))))
279 (build-system qt-build-system)
281 `(("extra-cmake-modules" ,extra-cmake-modules)))
283 `(("akonadi" ,akonadi)
288 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
289 (synopsis "Akonadi notes access library")
290 (description "Akonadi Notes is a library that effectively bridges the
291 type-agnostic API of the Akonadi client libraries and the domain-specific
292 KMime library. It provides a helper class for note attachments and for
293 wrapping notes into KMime::Message objects.")
294 (license ;; GPL for programs, LGPL for libraries
295 (list license:gpl2+ license:lgpl2.0+))))
297 (define-public akonadi-search
299 (name "akonadi-search")
304 (uri (string-append "mirror://kde/stable/applications/" version
305 "/src/akonadi-search-" version ".tar.xz"))
307 (base32 "16qzs2cs4nxwrpwcdgwry95qn6wmg8s1p4w3qajx1ahkgwmsh11s"))))
308 (build-system qt-build-system)
310 `(("extra-cmake-modules" ,extra-cmake-modules)))
312 `(("akonadi" ,akonadi)
313 ("akonadi-mime" ,akonadi-mime)
315 ("kcalendarcore" ,kcalendarcore)
316 ("kcmutils" ,kcmutils)
317 ("kcontacts" ,kcontacts)
319 ("kdbusaddons" ,kdbusaddons)
322 ("kitemmodels" ,kitemmodels)
325 ("kwindowsystem" ,kwindowsystem)
329 `(#:tests? #f)) ;; TODO: needs dbus
330 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
331 (synopsis "Akonadi search library")
332 (description "Xapian-based indexing and query infrastructure for
334 (license ;; GPL for programs, LGPL for libraries
335 (list license:gpl2+ license:lgpl2.0+))))
337 (define-public kalarmcal
344 (uri (string-append "mirror://kde/stable/applications/" version
345 "/src/kalarmcal-" version ".tar.xz"))
347 (base32 "0w9qsx2gqwny2v4fsj4awn814s9b7yrxvqrawlick3r2kp4x1sgn"))))
348 (build-system qt-build-system)
350 `(("extra-cmake-modules" ,extra-cmake-modules)))
352 `(("akonadi", akonadi)
354 ("kcalendarcore" ,kcalendarcore)
355 ("kcalutils" ,kcalutils)
356 ("kcompletion" ,kcompletion)
358 ("kconfigwidgets" ,kconfigwidgets)
359 ("kcoreaddons" ,kcoreaddons)
360 ("kdbusaddons" ,kdbusaddons)
361 ("kholidays" ,kholidays)
363 ("kidentitymanagement" ,kidentitymanagement)
365 ("kitemmodels" ,kitemmodels)
366 ("kpimtextedit" ,kpimtextedit)
367 ("ktextwidgets" ,ktextwidgets)
371 `(#:tests? #f)) ;; TODO: TZ setup
372 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
373 (synopsis "Library for handling kalarm calendar data")
374 (description "This library provides an API for KAlarm alarms.")
375 (license license:lgpl2.0+)))
377 (define-public kcalutils
384 (uri (string-append "mirror://kde/stable/applications/" version
385 "/src/kcalutils-" version ".tar.xz"))
387 (base32 "1nlkik4qiciyh1slgpis3n5h9pks2ygdba9yq4s16nnmip4l45w2"))))
388 (build-system qt-build-system)
390 `(("extra-cmake-modules" ,extra-cmake-modules)
391 ("libxml2" ,libxml2))) ;; xmllint required for tests
393 `(("grantlee" ,grantlee)
394 ("kcalendarcore" ,kcalendarcore)
397 ("kconfigwidgets" ,kconfigwidgets)
398 ("kcoreaddons" ,kcoreaddons)
400 ("kiconthemes" ,kiconthemes)
401 ("kidentitymanagement" ,kidentitymanagement)
402 ("kpimtextedit" ,kpimtextedit)
403 ("ktextwidgets" ,ktextwidgets)
404 ("kwidgetsaddons" ,kwidgetsaddons)
405 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
408 `(#:tests? #f)) ;; TODO: seem to pull in some wrong theme
409 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
410 (synopsis "Library with utility functions for the handling of calendar
412 (description "This library provides a utility and user interface
413 functions for accessing calendar data using the kcalcore API.")
414 (license license:lgpl2.0+)))
416 (define-public kdepim-apps-libs
418 (name "kdepim-apps-libs")
423 (uri (string-append "mirror://kde/stable/applications/" version
424 "/src/kdepim-apps-libs-" version ".tar.xz"))
426 (base32 "10xbzvp9cm5fpy4nxp38qm4vf0bycpq94bm4z2j4lw7ll1aq8irw"))))
427 (build-system qt-build-system)
429 `(("extra-cmake-modules" ,extra-cmake-modules)))
431 `(("akonadi" ,akonadi)
432 ("akonadi-contacts" ,akonadi-contacts)
435 ("grantlee" ,grantlee)
436 ("grantleetheme" ,grantleetheme)
438 ("kconfigwidgets" ,kconfigwidgets)
439 ("kcontacts" ,kcontacts)
440 ("kcoreaddons" ,kcoreaddons)
441 ("kdbusaddons" ,kdbusaddons)
443 ("kiconthemes" ,kiconthemes)
446 ("kitemmodels" ,kitemmodels)
448 ("kpimcommon" ,kpimcommon)
449 ("kservice" ,kservice)
450 ("kwidgetsaddons" ,kwidgetsaddons)
455 (home-page "https://cgit.kde.org/kdepim-apps-libs.git")
456 (synopsis "KDE PIM mail related libraries and data files")
457 (description "KDE PIM mail related libraries and data files.")
458 (license ;; GPL for programs, LGPL for libraries
459 (list license:gpl2+ license:lgpl2.0+))))
468 (uri (string-append "mirror://kde/stable/applications/" version
469 "/src/kgpg-" version ".tar.xz"))
471 (base32 "1dis7zv51a4lhx5l3wlwnhym8f79h8sibhhk97fkn8d7szdrmfw5"))))
472 (build-system qt-build-system)
474 `(("extra-cmake-modules" ,extra-cmake-modules)
475 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
476 ("kdoctools" ,kdoctools)))
478 `(("akonadi" ,akonadi)
479 ("akonadi-contacts" ,akonadi-contacts)
482 ("karchive" ,karchive)
484 ("kcontacts" ,kcontacts)
485 ("kcoreaddons" ,kcoreaddons)
487 ("kdbusaddons" ,kdbusaddons)
489 ("kiconthemes" ,kiconthemes)
491 ("kitemmodels" ,kitemmodels)
492 ("kjobwidgets" ,kjobwidgets)
493 ("knotifications" ,knotifications)
494 ("kservice" ,kservice)
495 ("ktextwidgets" ,ktextwidgets)
496 ("kwidgetsaddons" ,kwidgetsaddons)
497 ("kwindowsystem" ,kwindowsystem)
499 ("oxygen-icons" ,oxygen-icons) ;; default icon set
501 (home-page "https://kde.org/applications/utilities/org.kde.kgpg")
502 (synopsis "Graphical front end for GNU Privacy Guard")
503 (description "Kgpg manages cryptographic keys for the GNU Privacy Guard,
504 and can encrypt, decrypt, sign, and verify files. It features a simple editor
505 for applying cryptography to short pieces of text, and can also quickly apply
506 cryptography to the contents of the clipboard.")
507 (license license:gpl2+)))
509 (define-public kidentitymanagement
511 (name "kidentitymanagement")
516 (uri (string-append "mirror://kde/stable/applications/" version
517 "/src/kidentitymanagement-" version ".tar.xz"))
519 (base32 "0dqz49sp5hq44590rrxav8688aqlzsww4q4n55ksfy13nk9i5mbf"))))
520 (build-system qt-build-system)
522 `(("extra-cmake-modules" ,extra-cmake-modules)))
524 `(("kcodecs" ,kcodecs)
525 ("kcompletion" ,kcompletion)
527 ("kcoreaddons" ,kcoreaddons)
528 ("kemoticons" ,kemoticons)
529 ("kiconthemes" ,kiconthemes)
531 ("kpimtextedit" ,kpimtextedit)
532 ("ktextwidgets" ,ktextwidgets)
537 (modify-phases %standard-phases
538 (add-before 'check 'set-home
540 (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this?
542 (home-page "https://kontact.kde.org/")
543 (synopsis "Library for shared identities between mail applications")
544 (description "Library for shared identities between mail applications.")
545 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
546 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
555 (uri (string-append "mirror://kde/stable/applications/" version
556 "/src/kimap-" version ".tar.xz"))
558 (base32 "0l8hb2z82jzbwr12lw5fismwk1a3ca4dk966p1fxg4bibck8vjj6"))))
559 (build-system qt-build-system)
561 `(("extra-cmake-modules" ,extra-cmake-modules)))
563 `(("cyrus-sasl" ,cyrus-sasl)
564 ("kcoreaddons" ,kcoreaddons)
569 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
570 (synopsis "Library for handling IMAP")
571 (description "This library provides a job-based API for interacting with
572 an IMAP4rev1 server. It manages connections, encryption and parameter quoting
573 and encoding, but otherwise provides quite a low-level interface to the
574 protocol. This library does not implement an IMAP client; it merely makes it
576 (license ;; GPL for programs, LGPL for libraries
577 (list license:gpl2+ license:lgpl2.0+))))
586 (uri (string-append "mirror://kde/stable/applications/" version
587 "/src/kldap-" version ".tar.xz"))
589 (base32 "1blbnj8av6h168g14gyphyd9sz87af773b1qglmbkv5pzbzaanxn"))))
590 (build-system qt-build-system)
592 `(("extra-cmake-modules" ,extra-cmake-modules)
593 ("kdoctools" ,kdoctools)))
597 ("kwidgetsaddons" ,kwidgetsaddons)
600 `(("cyrus-sasl" ,cyrus-sasl)
601 ("openldap" ,openldap)))
602 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
603 (synopsis "Library for accessing LDAP")
604 (description "This library provides an API for LDAP.")
605 (license license:lgpl2.0+)))
607 (define-public kleopatra
614 (uri (string-append "mirror://kde/stable/applications/" version
615 "/src/kleopatra-" version ".tar.xz"))
617 (base32 "1bqwxdl91s2nai871vvhkmcc3simbnvr2i5m6dnl327bplzqgfa4"))))
618 (build-system qt-build-system)
621 ("extra-cmake-modules" ,extra-cmake-modules)
622 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
623 ("kdoctools" ,kdoctools)))
627 ("kcmutils" ,kcmutils)
630 ("kconfigwidgets" ,kconfigwidgets)
631 ("kcoreaddons" ,kcoreaddons)
633 ("kdbusaddons" ,kdbusaddons)
635 ("kiconthemes" ,kiconthemes)
636 ("kitemmodels" ,kitemmodels)
638 ("knotifications" ,knotifications)
639 ("ktextwidgets" ,ktextwidgets)
640 ("kwidgetsaddons" ,kwidgetsaddons)
641 ("kwindowsystem" ,kwindowsystem)
643 ("libassuan" ,libassuan)
645 ("oxygen-icons" ,oxygen-icons) ;; default icon set
650 (modify-phases %standard-phases
653 (invoke "dbus-launch" "ctest" ".")
655 (home-page "https://kde.org/applications/utilities/org.kde.kleopatra")
656 (synopsis "Certificate Manager and Unified Crypto GUI")
657 (description "Kleopatra is a certificate manager and a universal crypto
658 GUI. It supports managing X.509 and OpenPGP certificates in the GpgSM keybox
659 and retrieving certificates from LDAP servers.")
660 (license ;; GPL for programs, FDL for documentation
661 (list license:gpl2+ license:fdl1.2+))))
663 (define-public kmailimporter
665 (name "kmailimporter")
670 (uri (string-append "mirror://kde/stable/applications/" version
671 "/src/mailimporter-" version ".tar.xz"))
673 (base32 "0vmrgjz47f96crrbv0bhaz0abh2am4whhb294rfz02mvjghbzpzv"))))
674 (properties `((upstream-name . "mailimporter")))
675 (build-system qt-build-system)
677 `(("extra-cmake-modules" ,extra-cmake-modules)))
679 `(("akonadi" ,akonadi)
680 ("akonadi-mime" ,akonadi-mime)
682 ("karchive" ,karchive)
683 ("kcompletion" ,kcompletion)
685 ("kconfigwidgets" ,kconfigwidgets)
686 ("kcoreaddons" ,kcoreaddons)
687 ("kdbusaddons" ,kdbusaddons)
690 ("kitemmodels" ,kitemmodels)
693 ("libkdepim" ,libkdepim)
695 (home-page "https://cgit.kde.org/mailimporter.git")
696 (synopsis "KDE mail importer library")
697 (description "KDE mail importer library.")
698 (license ;; GPL for programs, LGPL for libraries
699 (list license:gpl2+ license:lgpl2.0+))))
701 (define-public kmailtransport
703 (name "kmailtransport")
708 (uri (string-append "mirror://kde/stable/applications/" version
709 "/src/kmailtransport-" version ".tar.xz"))
711 (base32 "04jdnqxbp4382vjxh06rrvsigbrygqfkw0fvbbjnjymp585mgkr4"))))
712 (build-system qt-build-system)
714 `(("extra-cmake-modules" ,extra-cmake-modules)
715 ("kdoctools" ,kdoctools)))
717 `(("akonadi" ,akonadi)
718 ("akonadi-mime" ,akonadi-mime)
720 ("cyrus-sasl" ,cyrus-sasl)
721 ("kcalendarcore" ,kcalendarcore)
722 ("kcmutils" ,kcmutils)
723 ("kcontacts" ,kcontacts)
724 ("kdbusaddons" ,kdbusaddons)
725 ("kconfigwidgets" ,kconfigwidgets)
727 ("kitemmodels", kitemmodels)
731 ("ktextwidgets" ,ktextwidgets)
733 ("libkgapi" ,libkgapi)
736 `(#:tests? #f)) ;; TODO - 3/3 tests fail, require drkonqi
737 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
738 (synopsis "Mail transport service library")
739 (description " This library provides an API and support code for managing
741 (license license:lgpl2.0+)))
750 (uri (string-append "mirror://kde/stable/applications/" version
751 "/src/kmbox-" version ".tar.xz"))
753 (base32 "13b5v1nx46k5ais3cms7yxrfi8p6xbljpkpg3f7v1asb6kshv7g2"))))
754 (build-system qt-build-system)
756 `(("extra-cmake-modules" ,extra-cmake-modules)))
758 `(("kcodecs" ,kcodecs)
761 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
762 (synopsis "Library for handling mbox mailboxes")
763 (description "A library for accessing mail storages in MBox format.")
764 (license license:lgpl2.0+ )))
773 (uri (string-append "mirror://kde/stable/applications/" version
774 "/src/kmime-" version ".tar.xz"))
776 (base32 "1pc00pwwrngsyr7ppvqwfgvcgy2wiqdbqxhv9xidn4dw9way2ng6"))))
777 (build-system qt-build-system)
779 `(("extra-cmake-modules" ,extra-cmake-modules)))
781 `(("kcodecs" ,kcodecs)
786 (modify-phases %standard-phases
787 (add-after 'unpack 'fix-test-case
789 ;; This is curious: autotests/CMakeLists.txt sets LC_TIME=C, but
790 ;; the Qt locale returns different. See kmime commit 3a9651d26a.
791 (substitute* "autotests/dateformattertest.cpp"
792 (("(Today|Yesterday) 12:34:56" line day)
793 (string-append day " 12:34 PM")))
795 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
796 (synopsis "Library for handling MIME data")
797 (description "A library for MIME handling.")
798 (license license:lgpl2.0+)))
800 (define-public kontactinterface
802 (name "kontactinterface")
807 (uri (string-append "mirror://kde/stable/applications/" version
808 "/src/kontactinterface-" version ".tar.xz"))
810 (base32 "1p0iw9i8cxh3jn7094wvxhlpc2sw52q8csfdgch1lf3dwhkpp0k7"))))
811 (build-system qt-build-system)
813 `(("extra-cmake-modules" ,extra-cmake-modules)))
815 `(("kcoreaddons" ,kcoreaddons)
817 ("kiconthemes" ,kiconthemes)
819 ("kwindowsystem" ,kwindowsystem)
822 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
823 (synopsis "Kontact interface library")
824 (description "Kontact Interface library.")
825 (license license:lgpl2.0+)))
827 (define-public kpimcommon
834 (uri (string-append "mirror://kde/stable/applications/" version
835 "/src/pimcommon-" version ".tar.xz"))
837 (base32 "1jl40ymq46yjn9va78hklgg91ikrfahf3w4jl5ziiqbivcl7r9kn"))))
838 (properties `((upstream-name . "pimcommon")))
839 (build-system qt-build-system)
841 `(("extra-cmake-modules" ,extra-cmake-modules)
842 ("qttools" ,qttools)))
844 `(("karchive" ,karchive)
846 ("akonadi-contacts" ,akonadi-contacts)
847 ("akonadi-mime" ,akonadi-mime)
849 ("grantlee" ,grantlee)
850 ;; TODO: ("kaccounts" ,kaccounts)
852 ("kcompletion" ,kcompletion)
854 ("kconfigwidgets" ,kconfigwidgets)
855 ("kcontacts" ,kcontacts)
856 ("kcoreaddons" ,kcoreaddons)
857 ("kdbusaddons" ,kdbusaddons)
858 ("kdesignerplugin" ,kdesignerplugin)
860 ("kiconthemes" ,kiconthemes)
863 ("kirigami" ,kirigami) ;; run-time dependency
864 ("kitemmodels" ,kitemmodels)
865 ("kitemviews" ,kitemviews)
866 ("kjobwidgets" ,kjobwidgets)
868 ("knewstuff" ,knewstuff)
869 ("kpimtextedit" ,kpimtextedit)
870 ("kservice" ,kservice)
871 ("ktextwidgets" ,ktextwidgets)
873 ("kwidgetsaddons" ,kwidgetsaddons)
874 ("kwindowsystem" ,kwindowsystem)
876 ("libkdepim" ,libkdepim)
880 ("qtwebengine" ,qtwebengine)))
882 `(#:tests? #f)) ;; TODO tests hang
883 (home-page "https://cgit.kde.org/pimcommon.git")
884 (synopsis "Common library for KDE PIM")
885 (description "Common library for KDE PIM.")
886 (license ;; GPL for programs, LGPL for libraries
887 (list license:gpl2+ license:lgpl2.0+))))
889 (define-public kpimtextedit
891 (name "kpimtextedit")
896 (uri (string-append "mirror://kde/stable/applications/" version
897 "/src/kpimtextedit-" version ".tar.xz"))
899 (base32 "1as48j5qfpj9pqjck1615nlpk4a850m7xxcyl41gx8biww027zvm"))))
900 (build-system qt-build-system)
902 `(("extra-cmake-modules" ,extra-cmake-modules)
903 ("qttools" ,qttools)))
905 `(("grantlee" ,grantlee)
907 ("kconfigwidgets" ,kconfigwidgets)
908 ("kcoreaddons" ,kcoreaddons)
909 ("kdesignerplugin" ,kdesignerplugin)
910 ("kemoticons" ,kemoticons)
912 ("kiconthemes" ,kiconthemes)
914 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
915 ("ktextwidgets" ,ktextwidgets)
916 ("kwidgetsaddons" ,kwidgetsaddons)
919 ("qtspeech", qtspeech)
922 `(#:tests? #f)) ;; TODO - test suite hangs
923 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
924 (synopsis "Library providing a textedit with PIM-specific features")
925 (description "A library for PIM-specific text editing utilities.")
926 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
927 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
936 (uri (string-append "mirror://kde/stable/applications/" version
937 "/src/ksmtp-" version ".tar.xz"))
939 (base32 "1pd8mma3xbq83jkn76gqinn6xh9imaji0jrg3qzysf5rvjl8kcqn"))))
940 (build-system qt-build-system)
942 `(("extra-cmake-modules" ,extra-cmake-modules)))
944 `(("cyrus-sasl" ,cyrus-sasl)
947 ("kcoreaddons" ,kcoreaddons)
952 `(#:tests? #f ;; TODO: does not find sasl mechs
954 (modify-phases %standard-phases
955 (add-after 'unpack 'Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing
957 (substitute* "src/CMakeLists.txt"
958 (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)"
960 (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))
962 (home-page "https://cgit.kde.org/ksmtp.git")
963 (synopsis "Library for sending email through an SMTP server")
964 (description "This library provides an API for handling SMTP
965 services. SMTP (Simple Mail Transfer Protocol) is the most prevalent Internet
966 standard protocols for e-mail transmission.")
967 (license license:lgpl2.0+)))
976 (uri (string-append "mirror://kde/stable/applications/" version
977 "/src/ktnef-" version ".tar.xz"))
979 (base32 "0kgfhh46130hg1xq8km5gjzxa3b620j1zdrg54qivxa782smgbl6"))))
980 (build-system qt-build-system)
982 `(("extra-cmake-modules" ,extra-cmake-modules)))
984 `(("kcalendarcore" ,kcalendarcore)
985 ("kcalutils" ,kcalutils)
988 ("kcontacts" ,kcontacts)
989 ("kcoreaddons" ,kcoreaddons)
992 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/ktnef/html/")
993 (synopsis "Viewer for mail attachments using TNEF format")
994 (description "Viewer for mail attachments using TNEF format")
995 (license license:lgpl2.0+)))
997 (define-public libkdepim
1004 (uri (string-append "mirror://kde/stable/applications/" version
1005 "/src/libkdepim-" version ".tar.xz"))
1007 (base32 "0ndh97w1bfii4snx9yc0qazqk5jhx22s810kj656967xd1w4bj9n"))))
1008 (build-system qt-build-system)
1010 `(("extra-cmake-modules" ,extra-cmake-modules)
1011 ("qttools" ,qttools)))
1013 `(("akonadi" ,akonadi)
1014 ("akonadi-contacts" ,akonadi-contacts)
1015 ("akonadi-mime" ,akonadi-mime)
1016 ("akonadi-search" ,akonadi-search)
1018 ("kcmutils" ,kcmutils)
1019 ("kcodecs" ,kcodecs)
1020 ("kcalendarcore" ,kcalendarcore)
1021 ("kcompletion" ,kcompletion)
1022 ("kconfig" ,kconfig)
1023 ("kconfigwidgets" ,kconfigwidgets)
1024 ("kcontacts" ,kcontacts)
1025 ("kcoreaddons" ,kcoreaddons)
1026 ("kdbusaddons" ,kdbusaddons)
1027 ("kdesignerplugin" ,kdesignerplugin)
1029 ("kiconthemes" ,kiconthemes)
1031 ("kitemmodels" ,kitemmodels)
1032 ("kitemviews" ,kitemviews)
1033 ("kjobwidgets" ,kjobwidgets)
1036 ("kwallet" ,kwallet)
1037 ("kwidgetsaddons" ,kwidgetsaddons)
1038 ("qtbase" ,qtbase)))
1039 (home-page "https://cgit.kde.org/libkdepim.git")
1040 (synopsis "Libraries for common kdepim apps")
1041 (description "Libraries for common kdepim apps.")
1042 (license ;; GPL for programs, LGPL for libraries
1043 (list license:gpl2+ license:lgpl2.0+))))
1045 (define-public libkgapi
1052 (uri (string-append "mirror://kde/stable/applications/" version
1053 "/src/libkgapi-" version ".tar.xz"))
1055 (base32 "0z76b745n4hhjndrhv1w5acibia8x1frh78jx7bvxa72d8wphn08"))))
1056 (build-system qt-build-system)
1058 `(("extra-cmake-modules" ,extra-cmake-modules)
1059 ("qttools" ,qttools)))
1061 `(("cyrus-sasl" ,cyrus-sasl)
1063 ("kcontacts" ,kcontacts)
1064 ("kcalendarcore" ,kcalendarcore)
1066 ("kwallet" ,kwallet)
1067 ("kwindowsystem" ,kwindowsystem)
1069 ("qtdeclarative" ,qtdeclarative)
1070 ("qtwebchannel" ,qtwebchannel)
1071 ("qtwebengine" ,qtwebengine)))
1073 `(#:tests? #f)) ;; TODO 6/48 tests fail
1074 (home-page "https://cgit.kde.org/libkgapi.git")
1075 (synopsis "Library for accessing various Google services via their public
1077 (description "@code{LibKGAPI} is a C++ library that implements APIs for
1078 various Google services.")
1079 (license license:lgpl2.0+)))
1081 (define-public libkleo
1088 (uri (string-append "mirror://kde/stable/applications/" version
1089 "/src/libkleo-" version ".tar.xz"))
1091 (base32 "0vjp07j102mi20c4q2fdvkjc0skb9q7msxp64n76wy3cciv346jz"))))
1092 (build-system qt-build-system)
1094 `(("extra-cmake-modules" ,extra-cmake-modules)
1095 ("kdoctools" ,kdoctools)
1096 ("qttools" ,qttools)))
1100 ("kcodecs" ,kcodecs)
1101 ("kcompletion" ,kcompletion)
1102 ("kconfig" ,kconfig)
1103 ("kcoreaddons" ,kcoreaddons)
1106 ("kitemmodels" ,kitemmodels)
1107 ("kwidgetsaddons" ,kwidgetsaddons)
1108 ("kwindowsystem" ,kwindowsystem)
1109 ("kpimtextedit" ,kpimtextedit)
1111 ("qtbase" ,qtbase)))
1112 (home-page "https://cgit.kde.org/libkleo.git/")
1113 (synopsis "KDE PIM cryptographic library")
1114 (description "@code{libkleo} is a library for Kleopatra and other parts of
1115 KDE using certificate-based crypto.")
1116 (license ;; GPL for programs, LGPL for libraries
1117 (list license:gpl2+ license:lgpl2.0+))))