1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
3 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages kde-pim)
21 #:use-module (guix build-system qt)
22 #:use-module (guix download)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix packages)
25 #:use-module (guix utils)
26 #:use-module (gnu packages)
27 #:use-module (gnu packages boost)
28 #:use-module (gnu packages cyrus-sasl)
29 #:use-module (gnu packages databases)
30 #:use-module (gnu packages documentation)
31 #:use-module (gnu packages glib)
32 #:use-module (gnu packages gnome)
33 #:use-module (gnu packages gnupg)
34 #:use-module (gnu packages kde)
35 #:use-module (gnu packages kde-frameworks)
36 #:use-module (gnu packages kde-internet)
37 #:use-module (gnu packages openldap)
38 #:use-module (gnu packages qt)
39 #:use-module (gnu packages search)
40 #:use-module (gnu packages sqlite)
41 #:use-module (gnu packages xml))
43 (define-public akonadi
50 (uri (string-append "mirror://kde/stable/release-service/" version
51 "/src/akonadi-" version ".tar.xz"))
53 (base32 "0kkn7lh3akkk9cdi8qdk9kqzs1cgv916mkl440x4ykqd1v8brzqb"))
54 (patches (search-patches
56 "akonadi-timestamps.patch"
57 "akonadi-not-relocatable.patch"))))
58 (build-system qt-build-system)
60 `(("extra-cmake-modules" ,extra-cmake-modules)
62 ("shared-mime-info" ,shared-mime-info)))
66 ("kconfigwidgets" ,kconfigwidgets)
67 ("kcoreaddons" ,kcoreaddons)
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/release-service/" version
128 "/src/akonadi-calendar-" version ".tar.xz"))
130 (base32 "1mq76qyd3jcngb2yfanpn7qvklzllza399fxwii0mqppp1vmnb2b"))))
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)
144 ("kiconthemes" ,kiconthemes)
145 ("kidentitymanagement" ,kidentitymanagement)
147 ("kitemmodels" ,kitemmodels)
148 ("kmailtransport" ,kmailtransport)
150 ("kpimtextedit" ,kpimtextedit)
152 ("ktextwidgets" ,ktextwidgets)
156 `(#:tests? #f)) ;; TODO: 1/1 test fails
157 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
158 (synopsis "Library providing calendar helpers for Akonadi items")
159 (description "This library manages calendar specific actions for
160 collection and item views.")
161 (license license:lgpl2.0+)))
163 (define-public akonadi-contacts
165 (name "akonadi-contacts")
170 (uri (string-append "mirror://kde/stable/release-service/" version
171 "/src/akonadi-contacts-" version ".tar.xz"))
173 (base32 "0igggarnl99s5pl73dgrpha4lf7vnr000iy69vcwmqs5lxb7cyli"))))
174 (build-system qt-build-system)
176 `(("extra-cmake-modules" ,extra-cmake-modules)))
178 `(("akonadi" ,akonadi)
182 ("kcompletion" ,kcompletion)
183 ("kconfigwidgets" ,kconfigwidgets)
184 ("kcontacts" ,kcontacts)
185 ("kcoreaddons" ,kcoreaddons)
186 ("kdbusaddons" ,kdbusaddons)
188 ("kiconthemes" ,kiconthemes)
189 ("kitemmodels" ,kitemmodels)
190 ("kitemviews" ,kitemviews)
191 ("kjobwidgets" ,kjobwidgets)
193 ("kservice" ,kservice)
194 ("ktextwidgets" ,ktextwidgets)
195 ("kwidgetsaddons" ,kwidgetsaddons)
202 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
203 (synopsis "Akonadi contacts access library")
204 (description "Akonadi Contacts is a library that effectively bridges the
205 type-agnostic API of the Akonadi client libraries and the domain-specific
206 KContacts library. It provides jobs, models and other helpers to make working
207 with contacts and addressbooks through Akonadi easier.
209 The library provides a complex dialog for editing contacts and several models
210 to list and filter contacts.")
211 (license ;; GPL for programs, LGPL for libraries
212 (list license:gpl2+ license:lgpl2.0+))))
214 (define-public akonadi-mime
216 (name "akonadi-mime")
221 (uri (string-append "mirror://kde/stable/release-service/" version
222 "/src/akonadi-mime-" version ".tar.xz"))
224 (base32 "1wd776ia3z22a79biq04y4m83n8xpvfmyg8bcsslr7lmc3avdg8w"))))
225 (build-system qt-build-system)
227 `(("extra-cmake-modules" ,extra-cmake-modules)
228 ("libxslt" ,libxslt) ;; xslt for generating interface descriptions
229 ("shared-mime-info" ,shared-mime-info)))
231 `(("akonadi" ,akonadi)
235 ("kconfigwidgets" ,kconfigwidgets)
236 ("kdbusaddons" ,kdbusaddons)
239 ("kitemmodels" ,kitemmodels)
241 ("kwidgetsaddons" ,kwidgetsaddons)
244 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
247 (modify-phases %standard-phases
248 (add-after 'unpack 'copy-desktop-file-early
250 (let ((plugins-dir "/tmp/.local/share/akonadi/plugins/serializer"))
251 (mkdir-p plugins-dir)
252 (copy-file "serializers/akonadi_serializer_mail.desktop"
253 (string-append plugins-dir "/akonadi_serializer_mail.desktop")))
255 (add-before 'check 'check-setup
257 (setenv "HOME" "/tmp")
259 (synopsis "Akonadi MIME handling library")
260 (description "Akonadi Mime is a library that effectively bridges the
261 type-agnostic API of the Akonadi client libraries and the domain-specific
262 KMime library. It provides jobs, models and other helpers to make working
263 with emails through Akonadi easier.")
264 (license ;; GPL for programs, LGPL for libraries
265 (list license:gpl2+ license:lgpl2.0+))))
267 (define-public akonadi-notes
269 (name "akonadi-notes")
274 (uri (string-append "mirror://kde/stable/release-service/" version
275 "/src/akonadi-notes-" version ".tar.xz"))
277 (base32 "04y293kjrmjjcbb7fkjl7hl4vrks4cjjxnvc6ibzyv81rn6cdhh2"))))
278 (build-system qt-build-system)
280 `(("extra-cmake-modules" ,extra-cmake-modules)))
282 `(("akonadi" ,akonadi)
287 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
288 (synopsis "Akonadi notes access library")
289 (description "Akonadi Notes is a library that effectively bridges the
290 type-agnostic API of the Akonadi client libraries and the domain-specific
291 KMime library. It provides a helper class for note attachments and for
292 wrapping notes into KMime::Message objects.")
293 (license ;; GPL for programs, LGPL for libraries
294 (list license:gpl2+ license:lgpl2.0+))))
296 (define-public akonadi-search
298 (name "akonadi-search")
303 (uri (string-append "mirror://kde/stable/release-service/" version
304 "/src/akonadi-search-" version ".tar.xz"))
306 (base32 "1h5p44y244gzf7ndzw7afrvq9c76ybp8ddvg82p3lzjh02rrvd50"))))
307 (build-system qt-build-system)
309 `(("extra-cmake-modules" ,extra-cmake-modules)
314 `(("akonadi" ,akonadi)
315 ("akonadi-mime" ,akonadi-mime)
317 ("kcalendarcore" ,kcalendarcore)
318 ("kcmutils" ,kcmutils)
319 ("kcontacts" ,kcontacts)
321 ("kdbusaddons" ,kdbusaddons)
324 ("kitemmodels" ,kitemmodels)
327 ("kwindowsystem" ,kwindowsystem)
331 `(#:phases (modify-phases %standard-phases
332 (add-after 'unpack 'disable-failing-test
334 ;; FIXME: This test fails because it fails to establish
335 ;; a socket connection, seemingly due to failure during
336 ;; DBus communication. See also 'korganizer'.
337 (substitute* "agent/autotests/CMakeLists.txt"
338 ((".*schedulertest\\.cpp.*")
343 (invoke "dbus-launch" "ctest"))))))
344 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
345 (synopsis "Akonadi search library")
346 (description "This package provides a library used to search in the
347 Akonadi PIM data server. It uses Xapian for indexing and querying.")
348 (license ;; GPL for programs, LGPL for libraries
349 (list license:gpl2+ license:lgpl2.0+))))
351 (define-public kincidenceeditor
353 (name "kincidenceeditor")
358 (uri (string-append "mirror://kde/stable/release-service/" version
359 "/src/incidenceeditor-" version ".tar.xz"))
361 (base32 "1xpp5lw60mvpjsjsxmicfa5y2d68wnb9vm4yb1krwkihm852ziny"))))
362 (properties `((upstream-name . "incidenceeditor")))
363 (build-system qt-build-system)
365 `(("extra-cmake-modules" ,extra-cmake-modules)))
367 `(("akonadi" ,akonadi)
368 ("akonadi-calendar" ,akonadi-calendar)
369 ("akonadi-contacts" ,akonadi-contacts)
370 ("akonadi-mime" ,akonadi-mime)
372 ("kcalendarcore" ,kcalendarcore)
373 ("kcalendarsupport" ,kcalendarsupport)
374 ("kcalutils" ,kcalutils)
376 ("kcontacts" ,kcontacts)
377 ("kdbusaddons" ,kdbusaddons)
378 ("kdepim-apps-libs" ,kdepim-apps-libs)
379 ("kdiagram" ,kdiagram)
380 ("keventviews" ,keventviews)
382 ("kiconthemes" ,kiconthemes)
383 ("kidentitymanagement" ,kidentitymanagement)
385 ("kitemmodels" ,kitemmodels)
387 ("kmailtransport" ,kmailtransport)
389 ("kpimtextedit" ,kpimtextedit)
390 ("ktextwidgets" ,ktextwidgets)
392 ("libkdepim" ,libkdepim)
394 (home-page "https://invent.kde.org/pim/incidenceeditor")
395 (synopsis "KDE PIM library for editing incidences")
396 (description "This library provides an incidence editor for KDE PIM.")
397 (license ;; GPL for programs, LGPL for libraries
398 (list license:gpl2+ license:lgpl2.0+))))
400 (define-public kaddressbook
402 (name "kaddressbook")
407 (uri (string-append "mirror://kde/stable/release-service/" version
408 "/src/kaddressbook-" version ".tar.xz"))
410 (base32 "1vpdhdj87ai2sxjn2jk3mh6bzfr1n3yzydnkgv7nc8v1m2fdawap"))))
411 (build-system qt-build-system)
413 `(("extra-cmake-modules" ,extra-cmake-modules)))
415 `(("akonadi" ,akonadi)
416 ("akonadi-contacts" ,akonadi-contacts)
417 ("akonadi-mime" ,akonadi-mime)
418 ("akonadi-search" ,akonadi-search)
421 ("grantlee" ,grantlee)
422 ("grantleetheme" ,grantleetheme)
423 ("kcalendarcore" ,kcalendarcore)
424 ("kcmutils" ,kcmutils)
425 ("kcompletion" ,kcompletion)
426 ("kcontacts" ,kcontacts)
428 ("kdbusaddons" ,kdbusaddons)
429 ("kdepim-apps-libs" ,kdepim-apps-libs)
430 ("kdoctools" ,kdoctools)
432 ("kiconthemes" ,kiconthemes)
435 ("kitemmodels" ,kitemmodels)
437 ("kontactinterface" ,kontactinterface)
439 ("kpimcommon" ,kpimcommon)
440 ("kpimtextedit" ,kpimtextedit)
441 ("ktextwidgets" ,ktextwidgets)
443 ("libkdepim" ,libkdepim)
445 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
449 (home-page "https://kontact.kde.org/components/kaddressbook.html")
450 (synopsis "Address Book application to manage your contacts")
451 (description "KAddressBook stores all the personal details of your family,
452 friends and other contacts. It supports large variety of services, including
453 NextCloud, Kolab, Google Contacts, Microsoft Exchange (EWS) or any standard
455 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
457 (define-public kalarmcal
464 (uri (string-append "mirror://kde/stable/release-service/" version
465 "/src/kalarmcal-" version ".tar.xz"))
467 (base32 "0g0bm4zzzcpl2pqqf609349zagwrgj6a4ibxpgg4zf21aacdq8bi"))))
468 (build-system qt-build-system)
470 `(("extra-cmake-modules" ,extra-cmake-modules)))
472 `(("akonadi" ,akonadi)
474 ("kcalendarcore" ,kcalendarcore)
475 ("kcalutils" ,kcalutils)
476 ("kcompletion" ,kcompletion)
478 ("kconfigwidgets" ,kconfigwidgets)
479 ("kcoreaddons" ,kcoreaddons)
480 ("kdbusaddons" ,kdbusaddons)
481 ("kholidays" ,kholidays)
483 ("kidentitymanagement" ,kidentitymanagement)
485 ("kitemmodels" ,kitemmodels)
486 ("kpimtextedit" ,kpimtextedit)
487 ("ktextwidgets" ,ktextwidgets)
491 `(#:tests? #f)) ;; TODO: TZ setup
492 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
493 (synopsis "Library for handling kalarm calendar data")
494 (description "This library provides access to and handling of kalarm
496 (license license:lgpl2.0+)))
505 (uri (string-append "mirror://kde/stable/release-service/" version
506 "/src/kblog-" version ".tar.xz"))
508 (base32 "0pi3axs58wsz5vq6vyisz73s24q739zplwrblyvkcm16nll4mvhk"))))
509 (build-system qt-build-system)
511 `(("extra-cmake-modules" ,extra-cmake-modules)))
513 `(("kcalendarcore" ,kcalendarcore)
514 ("kcoreaddons" ,kcoreaddons)
517 ("kxmlrpcclient" ,kxmlrpcclient)
519 ("syndication" ,syndication)))
520 ;; Note: Some tests take up to 90 sec.
521 (home-page "https://invent.kde.org/pim/kblog")
522 (synopsis "Client-side support library for web application remote blogging
524 (description "KBlog is a library for calling functions on Blogger 1.0,
525 MetaWeblog, MovableType and GData compatible blogs. It calls the APIs using
526 KXmlRpcClient and Syndication. It supports asynchronous sending and fetching
527 of posts and, if supported on the server, multimedia files. Almost every
528 modern blogging web application that provides an XML data interface supports
529 one of the APIs mentioned above.")
530 (license license:lgpl2.0+)))
532 (define-public kcalendarsupport
534 (name "kcalendarsupport")
539 (uri (string-append "mirror://kde/stable/release-service/" version
540 "/src/calendarsupport-" version ".tar.xz"))
542 (base32 "1yv3hs7qw481cxw4kzbx5l8vv18bgzm1b0vj3zrlqqxwl5ac6xvy"))))
543 (properties `((upstream-name . "calendarsupport")))
544 (build-system qt-build-system)
546 `(("extra-cmake-modules" ,extra-cmake-modules)
547 ("qttools" ,qttools)))
549 `(("akonadi" ,akonadi)
550 ("akonadi-calendar" ,akonadi-calendar)
551 ("akonadi-mime" ,akonadi-mime)
553 ("kcalendarcore" ,kcalendarcore)
554 ("kcalutils" ,kcalutils)
555 ("kcompletion" ,kcompletion)
556 ("kdbusaddons" ,kdbusaddons)
557 ("kdepim-apps-libs" ,kdepim-apps-libs)
558 ("kguiaddons" ,kguiaddons)
559 ("kholidays" ,kholidays)
561 ("kiconthemes" ,kiconthemes)
562 ("kidentitymanagement" ,kidentitymanagement)
564 ("kitemmodels" ,kitemmodels)
566 ("kpimcommon" ,kpimcommon)
567 ("kpimtextedit" ,kpimtextedit)
568 ("ktextwidgets" ,ktextwidgets)
571 (home-page "https://api.kde.org/stable/calendarsupport/")
572 (synopsis "Calendar Support library for KDE PIM")
573 (description "The Calendar Support library provides helper utilities for
574 calendaring applications.")
575 (license ;; GPL for programs, LGPL for libraries
576 (list license:gpl2+ license:lgpl2.0+))))
578 (define-public kcalutils
585 (uri (string-append "mirror://kde/stable/release-service/" version
586 "/src/kcalutils-" version ".tar.xz"))
588 (base32 "0v268w8vhgqxq1nwv9b9cy4h7zqgjrv19r44g3zc9w5j76ivix86"))))
589 (build-system qt-build-system)
591 `(("extra-cmake-modules" ,extra-cmake-modules)
592 ("libxml2" ,libxml2))) ;; xmllint required for tests
594 `(("grantlee" ,grantlee)
595 ("kcalendarcore" ,kcalendarcore)
598 ("kconfigwidgets" ,kconfigwidgets)
599 ("kcoreaddons" ,kcoreaddons)
601 ("kiconthemes" ,kiconthemes)
602 ("kidentitymanagement" ,kidentitymanagement)
603 ("kpimtextedit" ,kpimtextedit)
604 ("ktextwidgets" ,ktextwidgets)
605 ("kwidgetsaddons" ,kwidgetsaddons)
606 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
609 `(#:tests? #f)) ;; TODO: seem to pull in some wrong theme
610 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
611 (synopsis "Library with utility functions for the handling of calendar
613 (description "This library provides a utility and user interface
614 functions for accessing calendar data using the kcalcore API.")
615 (license license:lgpl2.0+)))
624 (uri (string-append "mirror://kde/stable/release-service/" version
625 "/src/kdav-" version ".tar.xz"))
627 (base32 "0445gl4xm0h39igkxgb6vmq5iaa04wkgrgbs7nfd0zwngk8xaidn"))))
628 (build-system qt-build-system)
630 `(("extra-cmake-modules" ,extra-cmake-modules)))
632 `(("kcoreaddons" ,kcoreaddons)
636 ("qtxmlpatterns" ,qtxmlpatterns)))
637 (home-page "https://invent.kde.org/frameworks/kdav")
638 (synopsis "DAV protocol implementation with KJobs")
639 (description "This is a DAV protocol implementation with KJobs. Calendars
640 and todos are supported, using either GroupDAV or CalDAV, and contacts are
641 supported using GroupDAV or CardDAV.")
642 (license ;; GPL for programs, LGPL for libraries
643 (list license:gpl2+ license:lgpl2.0+))))
645 (define-public kdepim-apps-libs
647 (name "kdepim-apps-libs")
652 (uri (string-append "mirror://kde/stable/release-service/" version
653 "/src/kdepim-apps-libs-" version ".tar.xz"))
655 (base32 "0m9qrfjs97anh9h6ibggx23ddlm1zkxjap2iyf3gf672ip01fvci"))))
656 (build-system qt-build-system)
658 `(("extra-cmake-modules" ,extra-cmake-modules)))
660 `(("akonadi" ,akonadi)
661 ("akonadi-contacts" ,akonadi-contacts)
664 ("grantlee" ,grantlee)
665 ("grantleetheme" ,grantleetheme)
667 ("kconfigwidgets" ,kconfigwidgets)
668 ("kcontacts" ,kcontacts)
669 ("kcoreaddons" ,kcoreaddons)
673 ("kitemmodels" ,kitemmodels)
675 ("kpimcommon" ,kpimcommon)
676 ("kservice" ,kservice)
677 ("kwidgetsaddons" ,kwidgetsaddons)
682 (home-page "https://invent.kde.org/pim/kdepim-apps-libs")
683 (synopsis "KDE PIM mail related libraries and data files")
684 (description "This package provides mail related libraries and data files
686 (license ;; GPL for programs, LGPL for libraries
687 (list license:gpl2+ license:lgpl2.0+))))
689 (define-public kdepim-runtime
691 (name "kdepim-runtime")
696 (uri (string-append "mirror://kde/stable/release-service/" version
697 "/src/kdepim-runtime-" version ".tar.xz"))
699 (base32 "1in4x4wvgclkni72cfkw9jx35d0qd0jmfwybm3ksx5qx5sbki9gg"))))
700 (build-system qt-build-system)
702 `(("extra-cmake-modules" ,extra-cmake-modules)
704 ("kdoctools" ,kdoctools)
706 ("shared-mime-info" ,shared-mime-info)))
708 `(("akonadi" ,akonadi)
709 ("akonadi-calendar" ,akonadi-calendar)
710 ("akonadi-contacts" ,akonadi-contacts)
711 ("akonadi-mime" ,akonadi-mime)
712 ("akonadi-notes" ,akonadi-notes)
714 ("cyrus-sasl" ,cyrus-sasl)
715 ("kalarmcal" ,kalarmcal)
716 ("kcalendarcore" ,kcalendarcore)
717 ("kcalutils" ,kcalutils)
720 ("kconfigwidgets" ,kconfigwidgets)
721 ("kcontacts" ,kcontacts)
723 ("kholidays" ,kholidays)
724 ("kidentitymanagement" ,kidentitymanagement)
727 ("kitemmodels" ,kitemmodels)
728 ("kmailtransport" ,kmailtransport)
731 ("knotifications" ,knotifications)
732 ("knotifyconfig" ,knotifyconfig)
733 ("kpimcommon" ,kpimcommon)
734 ("kpimtextedit" ,kpimtextedit)
736 ("ktextwidgets" ,ktextwidgets)
738 ("kwindowsystem" ,kwindowsystem)
739 ("libkgapi" ,libkgapi)
743 ("qtdeclarative" ,qtdeclarative)
744 ("qtnetworkauth" ,qtnetworkauth)
745 ("qtspeech" ,qtspeech)
746 ("qtwebchannel" ,qtwebchannel)
747 ("qtwebengine" ,qtwebengine)
748 ("qtxmlpatterns" ,qtxmlpatterns)))
750 ;; TODO: 5/45 tests fail for quite different reasons, even with
751 ;; "offscreen" and dbus
753 #:phases (modify-phases %standard-phases
754 (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
755 (lambda* (#:key inputs #:allow-other-keys)
756 ;; FIXME: <Akonadi/KMime/SpecialMailCollections> is not
757 ;; found during one of the compilation steps without
759 (setenv "CPLUS_INCLUDE_PATH"
760 (string-append (assoc-ref inputs "akonadi-mime")
762 (or (getenv "CPLUS_INCLUDE_PATH") "")))
764 (home-page "https://invent.kde.org/pim/kdepim-runtime")
765 (synopsis "Runtime components for Akonadi KDE")
766 (description "This package contains Akonadi agents written using KDE
767 Development Platform libraries. Any package that uses Akonadi should probably
768 pull this in as a dependency. The kres-bridges is also parts of this
770 (license ;; Files vary a lot regarding the license. GPL2+ and LGPL2.1+
771 ;; have been used in those I checked. But the archive also includes
772 ;; license texts for GPL3 and AGPL3.
773 (list license:gpl2+ license:lgpl2.0+))))
775 (define-public keventviews
782 (uri (string-append "mirror://kde/stable/release-service/" version
783 "/src/eventviews-" version ".tar.xz"))
785 (base32 "0si9p95rgp7mgkzhzwyy10zrwzy1kipbhm1y96yjlc9rxi3jrc73"))))
786 (properties `((upstream-name . "eventviews")))
787 (build-system qt-build-system)
789 `(("extra-cmake-modules" ,extra-cmake-modules)
790 ("qttools" ,qttools)))
792 `(("akonadi" ,akonadi)
793 ("akonadi-calendar" ,akonadi-calendar)
794 ("akonadi-contacts" ,akonadi-contacts)
796 ("kcalendarcore" ,kcalendarcore)
797 ("kcalendarsupport" ,kcalendarsupport)
798 ("kcalutils" ,kcalutils)
800 ("kcompletion" ,kcompletion)
801 ("kconfigwidgets" ,kconfigwidgets)
802 ("kcontacts" ,kcontacts)
803 ("kdbusaddons" ,kdbusaddons)
804 ("kdiagram" ,kdiagram)
805 ("kguiaddons" ,kguiaddons)
806 ("kholidays" ,kholidays)
808 ("kiconthemes" ,kiconthemes)
809 ("kidentitymanagement" ,kidentitymanagement)
811 ("kitemmodels" ,kitemmodels)
813 ("kpimtextedit" ,kpimtextedit)
814 ("kservice" ,kservice)
815 ("ktextwidgets" ,ktextwidgets)
817 ("libkdepim" ,libkdepim)
819 (home-page "https://invent.kde.org/pim/eventviews")
820 (synopsis "KDE PIM library for creating events")
821 (description "This library provides an event creator for KDE PIM.")
822 (license ;; GPL for programs, LGPL for libraries
823 (list license:gpl2+ license:lgpl2.0+))))
832 (uri (string-append "mirror://kde/stable/release-service/" version
833 "/src/kgpg-" version ".tar.xz"))
835 (base32 "03d3gsbara7ga2cyrhafkw11qq9cj804h9vpvxl4wd2a9c90snkh"))))
836 (build-system qt-build-system)
838 `(("extra-cmake-modules" ,extra-cmake-modules)
839 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
840 ("kdoctools" ,kdoctools)))
842 `(("akonadi" ,akonadi)
843 ("akonadi-contacts" ,akonadi-contacts)
846 ("karchive" ,karchive)
848 ("kcontacts" ,kcontacts)
849 ("kcoreaddons" ,kcoreaddons)
851 ("kdbusaddons" ,kdbusaddons)
853 ("kiconthemes" ,kiconthemes)
855 ("kitemmodels" ,kitemmodels)
856 ("kjobwidgets" ,kjobwidgets)
857 ("knotifications" ,knotifications)
858 ("kservice" ,kservice)
859 ("ktextwidgets" ,ktextwidgets)
860 ("kwidgetsaddons" ,kwidgetsaddons)
861 ("kwindowsystem" ,kwindowsystem)
863 ("oxygen-icons" ,oxygen-icons) ;; default icon set
865 (home-page "https://kde.org/applications/utilities/org.kde.kgpg")
866 (synopsis "Graphical front end for GNU Privacy Guard")
867 (description "Kgpg manages cryptographic keys for the GNU Privacy Guard,
868 and can encrypt, decrypt, sign, and verify files. It features a simple editor
869 for applying cryptography to short pieces of text, and can also quickly apply
870 cryptography to the contents of the clipboard.")
871 (license license:gpl2+)))
873 (define-public kidentitymanagement
875 (name "kidentitymanagement")
880 (uri (string-append "mirror://kde/stable/release-service/" version
881 "/src/kidentitymanagement-" version ".tar.xz"))
883 (base32 "0flp9p9hlr1zfgvsy5i1nq55p7bvnhqxkxbif1lyw0cq6iblxhgr"))))
884 (build-system qt-build-system)
886 `(("extra-cmake-modules" ,extra-cmake-modules)))
888 `(("kcodecs" ,kcodecs)
889 ("kcompletion" ,kcompletion)
891 ("kcoreaddons" ,kcoreaddons)
892 ("kemoticons" ,kemoticons)
893 ("kiconthemes" ,kiconthemes)
895 ("kpimtextedit" ,kpimtextedit)
896 ("ktextwidgets" ,ktextwidgets)
901 (modify-phases %standard-phases
902 (add-before 'check 'set-home
904 (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this?
906 (home-page "https://kontact.kde.org/")
907 (synopsis "Library for shared identities between mail applications")
908 (description "This library provides an API for managing user identities.")
909 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
910 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
919 (uri (string-append "mirror://kde/stable/release-service/" version
920 "/src/kimap-" version ".tar.xz"))
922 (base32 "1x22wfzqp92mn1fy2xl89k9yjfk2vgcva0fd30i9rrqj4aw2rsma"))))
923 (build-system qt-build-system)
925 `(("extra-cmake-modules" ,extra-cmake-modules)))
927 `(("cyrus-sasl" ,cyrus-sasl)
928 ("kcoreaddons" ,kcoreaddons)
933 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
934 (synopsis "Library for handling IMAP")
935 (description "This library provides a job-based API for interacting with
936 an IMAP4rev1 server. It manages connections, encryption and parameter quoting
937 and encoding, but otherwise provides quite a low-level interface to the
938 protocol. This library does not implement an IMAP client; it merely makes it
940 (license ;; GPL for programs, LGPL for libraries
941 (list license:gpl2+ license:lgpl2.0+))))
950 (uri (string-append "mirror://kde/stable/release-service/" version
951 "/src/kldap-" version ".tar.xz"))
953 (base32 "0whlp586ycsx0qf0nr81avwscpq62w5js46z7vayy0dxkhrhfayr"))))
954 (build-system qt-build-system)
956 `(("extra-cmake-modules" ,extra-cmake-modules)
957 ("kdoctools" ,kdoctools)))
961 ("kwidgetsaddons" ,kwidgetsaddons)
964 `(("cyrus-sasl" ,cyrus-sasl)
965 ("openldap" ,openldap)))
966 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
967 (synopsis "Library for accessing LDAP")
968 (description " This is a library for accessing LDAP with a convenient Qt
969 style C++ API. LDAP (Lightweight Directory Access Protocol) is an application
970 protocol for querying and modifying directory services running over TCP/IP. ")
971 (license license:lgpl2.0+)))
973 (define-public kleopatra
980 (uri (string-append "mirror://kde/stable/release-service/" version
981 "/src/kleopatra-" version ".tar.xz"))
983 (base32 "1m50nzb2m27fkb8z3k34cv4zi2akr0fx8zn7lk5swhg49sgrip6n"))))
984 (build-system qt-build-system)
987 ("extra-cmake-modules" ,extra-cmake-modules)
988 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
989 ("kdoctools" ,kdoctools)))
993 ("kcmutils" ,kcmutils)
996 ("kconfigwidgets" ,kconfigwidgets)
997 ("kcoreaddons" ,kcoreaddons)
999 ("kdbusaddons" ,kdbusaddons)
1001 ("kiconthemes" ,kiconthemes)
1002 ("kitemmodels" ,kitemmodels)
1004 ("knotifications" ,knotifications)
1005 ("ktextwidgets" ,ktextwidgets)
1006 ("kwidgetsaddons" ,kwidgetsaddons)
1007 ("kwindowsystem" ,kwindowsystem)
1008 ("kxmlgui" ,kxmlgui)
1009 ("libassuan" ,libassuan)
1010 ("libkleo" ,libkleo)
1011 ("oxygen-icons" ,oxygen-icons) ;; default icon set
1013 ("qtbase" ,qtbase)))
1016 (modify-phases %standard-phases
1019 (invoke "dbus-launch" "ctest" ".")
1021 (home-page "https://kde.org/applications/utilities/org.kde.kleopatra")
1022 (synopsis "Certificate Manager and Unified Crypto GUI")
1023 (description "Kleopatra is a certificate manager and a universal crypto
1024 GUI. It supports managing X.509 and OpenPGP certificates in the GpgSM keybox
1025 and retrieving certificates from LDAP servers.")
1026 (license ;; GPL for programs, FDL for documentation
1027 (list license:gpl2+ license:fdl1.2+))))
1029 (define-public kmail
1036 (uri (string-append "mirror://kde/stable/release-service/" version
1037 "/src/kmail-" version ".tar.xz"))
1039 (base32 "06qfxzi5pasm6p5ck44sjca96dz8xzd1nndq5lqcyvcxmmnvvz3p"))
1040 (patches (search-patches "kmail-Fix-missing-link-libraries.patch"))))
1041 (build-system qt-build-system)
1043 `(("extra-cmake-modules" ,extra-cmake-modules)
1045 ("kdoctools" ,kdoctools)))
1047 `(("akonadi" ,akonadi)
1048 ("akonadi-contacts" ,akonadi-contacts)
1049 ("akonadi-mime" ,akonadi-mime)
1050 ("akonadi-search" ,akonadi-search)
1053 ("kbookmarks" ,kbookmarks)
1054 ("kcalendarcore" ,kcalendarcore)
1055 ("kcalutils" ,kcalutils)
1056 ("kcmutils" ,kcmutils)
1057 ("kcodecs" ,kcodecs)
1058 ("kconfig" ,kconfig)
1059 ("kconfigwidgets" ,kconfigwidgets)
1060 ("kcontacts" ,kcontacts)
1062 ("kdbusaddons" ,kdbusaddons)
1063 ("kdepim-apps-libs" ,kdepim-apps-libs)
1064 ("kguiaddons" ,kguiaddons)
1066 ("kiconthemes" ,kiconthemes)
1067 ("kidentitymanagement" ,kidentitymanagement)
1070 ("kitemmodels" ,kitemmodels)
1071 ("kitemviews" ,kitemviews)
1072 ("kjobwidgets" ,kjobwidgets)
1074 ("kmailcommon" ,kmailcommon)
1075 ("kmailtransport" ,kmailtransport)
1076 ("kmessagelib" ,kmessagelib)
1079 ("knotifications" ,knotifications)
1080 ("knotifyconfig" ,knotifyconfig)
1081 ("kontactinterface" ,kontactinterface)
1083 ("kpimcommon" ,kpimcommon)
1084 ("kpimtextedit" ,kpimtextedit)
1085 ("kservice" ,kservice)
1086 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1087 ("ktextwidgets" ,ktextwidgets)
1089 ("kwallet" ,kwallet)
1090 ("kwidgetsaddons" ,kwidgetsaddons)
1091 ("kwindowsystem" ,kwindowsystem)
1092 ("kxmlgui" ,kxmlgui)
1093 ("libgravatar" ,libgravatar)
1094 ("libkdepim" ,libkdepim)
1095 ("libkleo" ,libkleo)
1096 ("libksieve" ,libksieve)
1097 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
1100 ("qtdeclarative" ,qtdeclarative)
1101 ("qtwebchannel" ,qtwebchannel)
1102 ("qtwebengine" ,qtwebengine)
1103 ("sonnet" ,sonnet)))
1106 (modify-phases %standard-phases
1109 (invoke "dbus-launch" "ctest" ".")
1111 (home-page "https://kontact.kde.org/components/kmail.html")
1112 (synopsis "Full featured graphical email client")
1113 (description "KMail supports multiple accounts, mail filtering and email
1114 encryption. The program let you configure your workflow and it has good
1115 integration into KDE (Plasma Desktop) but is also usable with other Desktop
1118 KMail is the email component of Kontact, the integrated personal information
1120 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1121 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1123 (define-public kmailcommon
1125 (name "kmailcommon")
1130 (uri (string-append "mirror://kde/stable/release-service/" version
1131 "/src/mailcommon-" version ".tar.xz"))
1133 (base32 "0q1k57zx1l7bnzrk1hadjxjn6r4yzz833mgsvaai9sd8qg022x2l"))))
1134 (properties `((upstream-name . "mailcommon")))
1135 (build-system qt-build-system)
1137 `(("extra-cmake-modules" ,extra-cmake-modules)
1140 ("qttools" ,qttools)))
1142 `(("akonadi" ,akonadi)
1143 ("akonadi-contacts" ,akonadi-contacts)
1144 ("akonadi-mime" ,akonadi-mime)
1147 ("karchive" ,karchive)
1148 ("kcodecs" ,kcodecs)
1149 ("kcompletion" ,kcompletion)
1150 ("kconfig" ,kconfig)
1151 ("kconfigwidgets" ,kconfigwidgets)
1152 ("kcontacts" ,kcontacts)
1153 ("kdbusaddons" ,kdbusaddons)
1154 ("kdesignerplugin" ,kdesignerplugin)
1156 ("kiconthemes" ,kiconthemes)
1157 ("kidentitymanagement" ,kidentitymanagement)
1160 ("kitemmodels" ,kitemmodels)
1161 ("kitemviews" ,kitemviews)
1163 ("kmailimporter" ,kmailimporter)
1164 ("kmailtransport" ,kmailtransport)
1165 ("kmessagelib" ,kmessagelib)
1167 ("kpimcommon" ,kpimcommon)
1168 ("kpimtextedit" ,kpimtextedit)
1169 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1170 ("ktextwidgets" ,ktextwidgets)
1171 ("kwallet" ,kwallet)
1172 ("kwidgetsaddons" ,kwidgetsaddons)
1173 ("kwindowsystem" ,kwindowsystem)
1174 ("kxmlgui" ,kxmlgui)
1175 ("libkdepim" ,libkdepim)
1176 ("libkleo" ,libkleo)
1177 ("libxslt" ,libxslt)
1180 ("qtbase" ,qtbase)))
1182 `(#:tests? #f)) ;; TODO: 4/56 tests fail, even with "offscreen" and dbus
1183 (home-page "https://invent.kde.org/pim/mailcommon")
1184 (synopsis "KDE email utility library")
1185 (description "The mail common library provides utility functions for
1186 dealing with email.")
1187 (license ;; GPL for programs, LGPL for libraries
1188 (list license:gpl2+ license:lgpl2.0+))))
1190 (define-public kmailimporter
1192 (name "kmailimporter")
1197 (uri (string-append "mirror://kde/stable/release-service/" version
1198 "/src/mailimporter-" version ".tar.xz"))
1200 (base32 "1929pw0shdzi0yvjnqhak680hjjibg8f8hqy3svyxxhiqbhfjm26"))))
1201 (properties `((upstream-name . "mailimporter")))
1202 (build-system qt-build-system)
1204 `(("extra-cmake-modules" ,extra-cmake-modules)))
1206 `(("akonadi" ,akonadi)
1207 ("akonadi-mime" ,akonadi-mime)
1209 ("karchive" ,karchive)
1210 ("kcompletion" ,kcompletion)
1211 ("kconfig" ,kconfig)
1212 ("kconfigwidgets" ,kconfigwidgets)
1213 ("kcoreaddons" ,kcoreaddons)
1214 ("kdbusaddons" ,kdbusaddons)
1217 ("kitemmodels" ,kitemmodels)
1219 ("kxmlgui" ,kxmlgui)
1220 ("libkdepim" ,libkdepim)
1221 ("qtbase" ,qtbase)))
1222 (home-page "https://invent.kde.org/pim/mailimporter")
1223 (synopsis "KDE mail importer library")
1224 (description "This package provides libraries for importing mails other
1225 e-mail client programs into KMail and KDE PIM.")
1226 (license ;; GPL for programs, LGPL for libraries
1227 (list license:gpl2+ license:lgpl2.0+))))
1229 (define-public kmailtransport
1231 (name "kmailtransport")
1236 (uri (string-append "mirror://kde/stable/release-service/" version
1237 "/src/kmailtransport-" version ".tar.xz"))
1239 (base32 "1swqlgzxzlqffm119sbhszy9lr93m8lzwygr0q4raa660b6yiavm"))))
1240 (build-system qt-build-system)
1242 `(("extra-cmake-modules" ,extra-cmake-modules)
1243 ("kdoctools" ,kdoctools)))
1245 `(("akonadi" ,akonadi)
1246 ("akonadi-mime" ,akonadi-mime)
1248 ("cyrus-sasl" ,cyrus-sasl)
1249 ("kcalendarcore" ,kcalendarcore)
1250 ("kcmutils" ,kcmutils)
1251 ("kcontacts" ,kcontacts)
1252 ("kdbusaddons" ,kdbusaddons)
1253 ("kconfigwidgets" ,kconfigwidgets)
1255 ("kitemmodels" ,kitemmodels)
1259 ("ktextwidgets" ,ktextwidgets)
1260 ("kwallet" ,kwallet)
1261 ("libkgapi" ,libkgapi)
1262 ("qtbase" ,qtbase)))
1264 `(#:tests? #f)) ;; TODO - 3/3 tests fail, require drkonqi
1265 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1266 (synopsis "Mail transport service library")
1267 (description "This library provides an API and support code for managing
1269 (license license:lgpl2.0+)))
1271 (define-public kmbox
1278 (uri (string-append "mirror://kde/stable/release-service/" version
1279 "/src/kmbox-" version ".tar.xz"))
1281 (base32 "03cny38v4y1lmcrs6d34hbj9assqgf51rqryf5rdzkiaq79c1krc"))))
1282 (build-system qt-build-system)
1284 `(("extra-cmake-modules" ,extra-cmake-modules)))
1286 `(("kcodecs" ,kcodecs)
1288 ("qtbase" ,qtbase)))
1289 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1290 (synopsis "Library for handling mbox mailboxes")
1291 (description "This is a library for handling mailboxes in mbox format,
1292 using a Qt/KMime C++ API.")
1293 (license license:lgpl2.0+ )))
1295 (define-public kmessagelib
1297 (name "kmessagelib")
1302 (uri (string-append "mirror://kde/stable/release-service/" version
1303 "/src/messagelib-" version ".tar.xz"))
1305 (base32 "03vq4962bhps2j9c9i52majlbkmvg2gmr197igv8xamja1vs8hk1"))))
1306 (properties `((upstream-name . "messagelib")))
1307 (build-system qt-build-system)
1309 `(("extra-cmake-modules" ,extra-cmake-modules)
1311 ("libxml2" ,libxml2)))
1313 `(("akonadi" ,akonadi)
1314 ("akonadi-contacts" ,akonadi-contacts)
1315 ("akonadi-mime" ,akonadi-mime)
1316 ("akonadi-notes" ,akonadi-notes)
1317 ("akonadi-search" ,akonadi-search)
1320 ("grantlee" ,grantlee)
1321 ("grantleetheme" ,grantleetheme)
1322 ("karchive" ,karchive)
1323 ("kcalendarcore" ,kcalendarcore)
1324 ("kcodecs" ,kcodecs)
1325 ("kcompletion" ,kcompletion)
1326 ("kconfig" ,kconfig)
1327 ("kconfigwidgets" ,kconfigwidgets)
1328 ("kcontacts" ,kcontacts)
1329 ("kdbusaddons" ,kdbusaddons)
1330 ("kdepim-apps-libs" ,kdepim-apps-libs)
1332 ("kiconthemes" ,kiconthemes)
1333 ("kidentitymanagement" ,kidentitymanagement)
1336 ("kitemmodels" ,kitemmodels)
1337 ("kitemviews" ,kitemviews)
1338 ("kjobwidgets" ,kjobwidgets)
1340 ("kmailtransport" ,kmailtransport)
1343 ("knewstuff" ,knewstuff)
1344 ("kpimcommon" ,kpimcommon)
1345 ("kpimtextedit" ,kpimtextedit)
1346 ("kservice" ,kservice)
1347 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1348 ("ktextwidgets" ,ktextwidgets)
1349 ("kwallet" ,kwallet)
1350 ("kwidgetsaddons" ,kwidgetsaddons)
1351 ("kwindowsystem" ,kwindowsystem)
1352 ("kxmlgui" ,kxmlgui)
1353 ("libgravatar" ,libgravatar)
1354 ("libkdepim" ,libkdepim)
1355 ("libkleo" ,libkleo)
1359 ("qtdeclarative" ,qtdeclarative)
1360 ("qtwebchannel" ,qtwebchannel)
1361 ("qtwebengine" ,qtwebengine)
1362 ("qtwebkit" ,qtwebkit)
1363 ("sonnet" ,sonnet)))
1365 `(#:tests? #f ;TODO many test fail for quite different reasons
1366 #:phases (modify-phases %standard-phases
1367 (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
1368 (lambda* (#:key inputs #:allow-other-keys)
1369 ;; FIXME: One of the compilation steps fail to find
1370 ;; <Libkdepim/MultiplyingLine> without this hack.
1371 (setenv "CPLUS_INCLUDE_PATH"
1372 (string-append (assoc-ref inputs "libkdepim")
1374 (or (getenv "CPLUS_INCLUDE_PATH") "")))
1376 (home-page "https://invent.kde.org/pim/messagelib")
1377 (synopsis "KDE PIM messaging libraries")
1378 (description "This package provides several libraries for messages,
1379 e.g. a message list, a mime tree parse, a template parser and the
1381 (license ;; GPL for programs, LGPL for libraries
1382 (list license:gpl2+ license:lgpl2.0+))))
1384 (define-public kmime
1391 (uri (string-append "mirror://kde/stable/release-service/" version
1392 "/src/kmime-" version ".tar.xz"))
1394 (base32 "1dkdxfr1ry10qyql5sp1ai4li11f0ncf9hipg27j59y70mlyrl2r"))))
1395 (build-system qt-build-system)
1397 `(("extra-cmake-modules" ,extra-cmake-modules)))
1399 `(("kcodecs" ,kcodecs)
1401 ("qtbase" ,qtbase)))
1404 (modify-phases %standard-phases
1405 (add-after 'unpack 'fix-test-case
1407 ;; This is curious: autotests/CMakeLists.txt sets LC_TIME=C, but
1408 ;; the Qt locale returns different. See kmime commit 3a9651d26a.
1409 (substitute* "autotests/dateformattertest.cpp"
1410 (("(Today|Yesterday) 12:34:56" line day)
1411 (string-append day " 12:34 PM")))
1413 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1414 (synopsis "Library for handling MIME data")
1415 (description "This library provides an API for handling MIME
1416 data. MIME (Multipurpose Internet Mail Extensions) is an Internet Standard
1417 that extends the format of e-mail to support text in character sets other than
1418 US-ASCII, non-text attachments, multi-part message bodies, and header
1419 information in non-ASCII character sets.")
1420 (license license:lgpl2.0+)))
1422 (define-public knotes
1429 (uri (string-append "mirror://kde/stable/release-service/" version
1430 "/src/knotes-" version ".tar.xz"))
1432 (base32 "13h4n7fb5p6g1f5kmw6pblpd76j904psm30s3a5d3kykni57dijx"))))
1433 (build-system qt-build-system)
1435 `(("extra-cmake-modules" ,extra-cmake-modules)
1436 ("libxslt" ,libxslt)))
1438 `(("akonadi" ,akonadi)
1439 ("akonadi-contacts" ,akonadi-contacts)
1440 ("akonadi-mime" ,akonadi-mime)
1441 ("akonadi-notes" ,akonadi-notes)
1442 ("akonadi-search" ,akonadi-search)
1444 ("grantlee" ,grantlee)
1445 ("grantleetheme" ,grantleetheme)
1446 ("kcalendarcore" ,kcalendarcore)
1447 ("kcalutils" ,kcalutils)
1448 ("kcmutils" ,kcmutils)
1449 ("kcompletion" ,kcompletion)
1450 ("kconfig" ,kconfig)
1451 ("kconfigwidgets" ,kconfigwidgets)
1452 ("kcontacts" ,kcontacts)
1453 ("kcoreaddons" ,kcoreaddons)
1456 ("kdoctools" ,kdoctools)
1457 ("kglobalaccel" ,kglobalaccel)
1458 ("kiconthemes" ,kiconthemes)
1460 ("kitemmodels" ,kitemmodels)
1461 ("kitemviews" ,kitemviews)
1464 ("knewstuff" ,knewstuff)
1465 ("knotifications" ,knotifications)
1466 ("knotifyconfig" ,knotifyconfig)
1467 ("kontactinterface" ,kontactinterface)
1469 ("kpimcommon" ,kpimcommon)
1470 ("kpimtextedit" ,kpimtextedit)
1471 ("ktextwidgets" ,ktextwidgets)
1472 ("kwidgetsaddons" ,kwidgetsaddons)
1473 ("kwindowsystem" ,kwindowsystem)
1474 ("kxmlgui" ,kxmlgui)
1475 ("kxmlgui" ,kxmlgui)
1476 ("libkdepim" ,libkdepim)
1477 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
1479 ("qtx11extras" ,qtx11extras)))
1480 (home-page "https://kontact.kde.org/components/knotes.html")
1481 (synopsis "Note-taking utility")
1482 (description "KNotes lets you write the computer equivalent of sticky
1483 notes. The notes are saved automatically when you exit the program, and they
1484 display when you open the program.
1488 @item Write notes in your choice of font and background color
1489 @item Use drag and drop to email your notes
1490 @item Can be dragged into Calendar to book a time-slot
1491 @item Notes can be printed
1493 (license (list license:gpl2+ license:lgpl2.0+))))
1495 (define-public kontactinterface
1497 (name "kontactinterface")
1502 (uri (string-append "mirror://kde/stable/release-service/" version
1503 "/src/kontactinterface-" version ".tar.xz"))
1505 (base32 "0s1qm1wjkvbb1film94r7g88d8vgh26bm0hm6gpyqv5bazw5qx3j"))))
1506 (build-system qt-build-system)
1508 `(("extra-cmake-modules" ,extra-cmake-modules)))
1510 `(("kcoreaddons" ,kcoreaddons)
1512 ("kiconthemes" ,kiconthemes)
1514 ("kwindowsystem" ,kwindowsystem)
1515 ("kxmlgui" ,kxmlgui)
1516 ("qtbase" ,qtbase)))
1517 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1518 (synopsis "Kontact interface library")
1519 (description " This library provides the glue necessary for
1520 application \"Parts\" to be embedded as a Kontact component (or plugin).")
1521 (license license:lgpl2.0+)))
1523 (define-public korganizer
1530 (uri (string-append "mirror://kde/stable/release-service/" version
1531 "/src/korganizer-" version ".tar.xz"))
1533 (base32 "04lz3ldrr0lpy9zpsg9ja1i9gxzlcjpqcwn3g7l4jjdky4frcr2r"))))
1534 (build-system qt-build-system)
1536 `(("extra-cmake-modules" ,extra-cmake-modules)
1538 ("qttools" ,qttools)
1539 ("kdoctools" ,kdoctools)))
1541 `(("akonadi" ,akonadi)
1542 ("akonadi-calendar" ,akonadi-calendar)
1543 ("akonadi-contacts" ,akonadi-contacts)
1544 ("akonadi-mime" ,akonadi-mime)
1545 ("akonadi-notes" ,akonadi-notes)
1546 ("akonadi-search" ,akonadi-search)
1548 ("kcalendarcore" ,kcalendarcore)
1549 ("kcalendarsupport" ,kcalendarsupport)
1550 ("kcalutils" ,kcalutils)
1551 ("kcmutils" ,kcmutils)
1552 ("kcodecs" ,kcodecs)
1553 ("kcompletion" ,kcompletion)
1554 ("kconfig" ,kconfig)
1555 ("kconfigwidgets" ,kconfigwidgets)
1556 ("kcontacts" ,kcontacts)
1557 ("kcoreaddons" ,kcoreaddons)
1559 ("kdbusaddons" ,kdbusaddons)
1560 ("kdepim-apps-libs" ,kdepim-apps-libs)
1561 ("keventviews" ,keventviews)
1562 ("kholidays" ,kholidays)
1563 ("kiconthemes" ,kiconthemes)
1564 ("kidentitymanagement" ,kidentitymanagement)
1566 ("kincidenceeditor" ,kincidenceeditor)
1567 ("kitemmodels" ,kitemmodels)
1568 ("kitemviews" ,kitemviews)
1569 ("kjobwidgets" ,kjobwidgets)
1571 ("kmailtransport" ,kmailtransport)
1573 ("knewstuff" ,knewstuff)
1574 ("knotifications" ,knotifications)
1575 ("kontactinterface" ,kontactinterface)
1577 ("kpimcommon" ,kpimcommon)
1578 ("kpimtextedit" ,kpimtextedit)
1579 ("kservice" ,kservice)
1580 ("kwallet" ,kwallet)
1581 ("kwidgetsaddons" ,kwidgetsaddons)
1582 ("kwindowsystem" ,kwindowsystem)
1583 ("kxmlgui" ,kxmlgui)
1584 ("libkdepim" ,libkdepim)
1585 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
1587 ("qtbase" ,qtbase)))
1590 (modify-phases %standard-phases
1591 (add-after 'unpack 'disable-failing-test
1593 ;; FIXME: This test started failing after the 20.04 update
1594 ;; seemingly due to DBus communication issues.
1595 ;; See also 'akonadi-search' for a similar test failure.
1596 (substitute* "src/autotests/CMakeLists.txt"
1597 ((".*test_advanced\\(koeventpopupmenutest\\.cpp.*")
1602 (invoke "dbus-launch" "ctest" ".")
1604 (home-page "https://kontact.kde.org/components/korganizer.html")
1605 (synopsis "Organizational assistant, providing calendars and other similar
1606 functionality to help you organize your life.")
1607 (description "KOrganizer is the calendar and scheduling component of
1608 Kontact. It provides management of events and tasks, alarm notification, web
1609 export, network transparent handling of data, group scheduling, import and
1610 export of calendar files and more. It is able to work together with a wide
1611 variety of calendaring services, including NextCloud, Kolab, Google Calendar
1612 and others. KOrganizer is fully customizable to your needs and is an integral
1613 part of the Kontact suite, which aims to be a complete solution for organizing
1614 your personal data. KOrganizer supports the two dominant standards for storing
1615 and exchanging calendar data, vCalendar and iCalendar.")
1616 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1617 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1619 (define-public kpeoplevcard
1621 (name "kpeoplevcard")
1625 (uri (string-append "https://download.kde.org/stable/kpeoplevcard/"
1626 version "/kpeoplevcard-" version ".tar.xz"))
1629 "1hv3fq5k0pps1wdvq9r1zjnr0nxf8qc3vwsnzh9jpvdy79ddzrcd"))))
1630 (build-system qt-build-system)
1632 '(#:phases (modify-phases %standard-phases
1633 (replace 'check-setup
1635 (setenv "HOME" "/tmp")
1638 `(("extra-cmake-modules" ,extra-cmake-modules)))
1640 `(("kcontacts" ,kcontacts)
1641 ("kpeople" ,kpeople)
1642 ("qtbase" ,qtbase)))
1643 (home-page "https://invent.kde.org/pim/kpeoplevcard")
1644 (synopsis "Expose vCard contacts to KPeople")
1646 "This plugins adds support for vCard (also known as @acronym{VCF,
1647 Virtual Contact File}) files to the KPeople contact management library.")
1648 (license license:lgpl2.1+)))
1650 (define-public kpimcommon
1657 (uri (string-append "mirror://kde/stable/release-service/" version
1658 "/src/pimcommon-" version ".tar.xz"))
1660 (base32 "15lfqv5w4iwyjlvf4idykpkjgppl0ic59r4dw95qkbbjkps0nr7j"))))
1661 (properties `((upstream-name . "pimcommon")))
1662 (build-system qt-build-system)
1664 `(("extra-cmake-modules" ,extra-cmake-modules)
1665 ("qttools" ,qttools)))
1667 `(("karchive" ,karchive)
1668 ("akonadi" ,akonadi)
1669 ("akonadi-contacts" ,akonadi-contacts)
1670 ("akonadi-mime" ,akonadi-mime)
1672 ("grantlee" ,grantlee)
1673 ;; TODO: ("kaccounts" ,kaccounts)
1674 ("kcodecs" ,kcodecs)
1675 ("kconfig" ,kconfig)
1676 ("kconfigwidgets" ,kconfigwidgets)
1677 ("kcontacts" ,kcontacts)
1678 ("kcoreaddons" ,kcoreaddons)
1679 ("kdesignerplugin" ,kdesignerplugin)
1681 ("kiconthemes" ,kiconthemes)
1684 ("kirigami" ,kirigami) ;; run-time dependency
1685 ("kitemmodels" ,kitemmodels)
1686 ("kitemviews" ,kitemviews)
1687 ("kjobwidgets" ,kjobwidgets)
1689 ("knewstuff" ,knewstuff)
1690 ("kpimtextedit" ,kpimtextedit)
1691 ("kservice" ,kservice)
1692 ("ktextwidgets" ,ktextwidgets)
1693 ("kwallet" ,kwallet)
1694 ("kwidgetsaddons" ,kwidgetsaddons)
1695 ("kwindowsystem" ,kwindowsystem)
1696 ("kxmlgui" ,kxmlgui)
1697 ("libkdepim" ,libkdepim)
1698 ("libxslt" ,libxslt)
1699 ("purpose" ,purpose)
1701 ("qtwebengine" ,qtwebengine)))
1703 `(#:tests? #f)) ;; TODO tests hang
1704 (home-page "https://invent.kde.org/pim/pimcommon")
1705 (synopsis "Common libraries for KDE PIM")
1706 (description "This package provides common libraries for KDE PIM.")
1707 (license ;; GPL for programs, LGPL for libraries
1708 (list license:gpl2+ license:lgpl2.0+))))
1710 (define-public kpimtextedit
1712 (name "kpimtextedit")
1717 (uri (string-append "mirror://kde/stable/release-service/" version
1718 "/src/kpimtextedit-" version ".tar.xz"))
1720 (base32 "0j6d4sv405c3x0ww75qsww94apidsb8aaqf59akhv96zmv0vx5wy"))))
1721 (build-system qt-build-system)
1723 `(("extra-cmake-modules" ,extra-cmake-modules)
1724 ("qttools" ,qttools)))
1726 `(("grantlee" ,grantlee)
1727 ("kcodecs" ,kcodecs)
1728 ("kconfigwidgets" ,kconfigwidgets)
1729 ("kcoreaddons" ,kcoreaddons)
1730 ("kdesignerplugin" ,kdesignerplugin)
1731 ("kemoticons" ,kemoticons)
1733 ("kiconthemes" ,kiconthemes)
1735 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1736 ("ktextwidgets" ,ktextwidgets)
1737 ("kwidgetsaddons" ,kwidgetsaddons)
1738 ("kxmlgui" ,kxmlgui)
1740 ("qtspeech" ,qtspeech)
1741 ("sonnet" ,sonnet)))
1743 `(#:tests? #f)) ;; TODO - test suite hangs
1744 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1745 (synopsis "Library providing a textedit with PIM-specific features")
1746 (description "This package provides a textedit with PIM-specific features.
1747 It also provides so-called rich text builders which can convert the formatted
1748 text in the text edit to all kinds of markup, like HTML or BBCODE.")
1749 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1750 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1752 (define-public ksmtp
1759 (uri (string-append "mirror://kde/stable/release-service/" version
1760 "/src/ksmtp-" version ".tar.xz"))
1762 (base32 "1xyaahibm0dc3qdwiak5yqa66szxaxnylvqxi6k21ayvzn2vxbhx"))))
1763 (build-system qt-build-system)
1765 `(("extra-cmake-modules" ,extra-cmake-modules)))
1767 `(("cyrus-sasl" ,cyrus-sasl)
1768 ("kcodecs" ,kcodecs)
1769 ("kconfig" ,kconfig)
1770 ("kcoreaddons" ,kcoreaddons)
1773 ("qtbase" ,qtbase)))
1775 `(#:tests? #f ;; TODO: does not find sasl mechs
1777 (modify-phases %standard-phases
1778 (add-after 'unpack 'Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing
1780 (substitute* "src/CMakeLists.txt"
1781 (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)"
1783 (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))
1785 (home-page "https://invent.kde.org/pim/ksmtp")
1786 (synopsis "Library for sending email through an SMTP server")
1787 (description "This library provides an API for handling SMTP
1788 services. SMTP (Simple Mail Transfer Protocol) is the most prevalent Internet
1789 standard protocols for e-mail transmission.")
1790 (license license:lgpl2.0+)))
1792 (define-public ktnef
1799 (uri (string-append "mirror://kde/stable/release-service/" version
1800 "/src/ktnef-" version ".tar.xz"))
1802 (base32 "0cn5p32w2kas56yyc15c22kll4hd02lvvxz2n6cz1wda8alspj19"))))
1803 (build-system qt-build-system)
1805 `(("extra-cmake-modules" ,extra-cmake-modules)))
1807 `(("kcalendarcore" ,kcalendarcore)
1808 ("kcalutils" ,kcalutils)
1809 ("kcodecs" ,kcodecs)
1810 ("kconfig" ,kconfig)
1811 ("kcontacts" ,kcontacts)
1812 ("kcoreaddons" ,kcoreaddons)
1814 ("qtbase" ,qtbase)))
1815 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/ktnef/html/")
1816 (synopsis "Library for handling mail attachments using TNEF format")
1817 (description "Ktnef is a library for handling data in the TNEF
1818 format (Transport Neutral Encapsulation Format, a proprietary format of e-mail
1819 attachment used by Microsoft Outlook and Microsoft Exchange Server). The API
1820 permits access to the actual attachments, the message properties (TNEF/MAPI),
1821 and allows one to view/extract message formatted text in Rich Text Format.")
1822 (license license:lgpl2.0+)))
1824 (define-public libkdepim
1831 (uri (string-append "mirror://kde/stable/release-service/" version
1832 "/src/libkdepim-" version ".tar.xz"))
1834 (base32 "0bask561laxgkgm3rxfpyxqs6jx1l9xjk058lhycq0pik6vwhdha"))))
1835 (build-system qt-build-system)
1837 `(("extra-cmake-modules" ,extra-cmake-modules)
1838 ("qttools" ,qttools)))
1840 `(("akonadi" ,akonadi)
1841 ("akonadi-contacts" ,akonadi-contacts)
1842 ("akonadi-mime" ,akonadi-mime)
1843 ("akonadi-search" ,akonadi-search)
1845 ("kcmutils" ,kcmutils)
1846 ("kcodecs" ,kcodecs)
1847 ("kcalendarcore" ,kcalendarcore)
1848 ("kcompletion" ,kcompletion)
1849 ("kconfig" ,kconfig)
1850 ("kconfigwidgets" ,kconfigwidgets)
1851 ("kcontacts" ,kcontacts)
1852 ("kcoreaddons" ,kcoreaddons)
1853 ("kdbusaddons" ,kdbusaddons)
1854 ("kdesignerplugin" ,kdesignerplugin)
1856 ("kiconthemes" ,kiconthemes)
1858 ("kitemmodels" ,kitemmodels)
1859 ("kitemviews" ,kitemviews)
1860 ("kjobwidgets" ,kjobwidgets)
1863 ("kwallet" ,kwallet)
1864 ("kwidgetsaddons" ,kwidgetsaddons)
1865 ("qtbase" ,qtbase)))
1866 (home-page "https://invent.kde.org/pim/libkdepim")
1867 (synopsis "Libraries for common KDE PIM apps")
1868 (description "This package provided libraries for common KDE PIM apps.")
1869 (license ;; GPL for programs, LGPL for libraries
1870 (list license:gpl2+ license:lgpl2.0+))))
1872 (define-public libkgapi
1879 (uri (string-append "mirror://kde/stable/release-service/" version
1880 "/src/libkgapi-" version ".tar.xz"))
1882 (base32 "0nvd5fqrvyb7c3g7rf1lxbbv38q9sqnhd6irgx7awwgw92inxky4"))))
1883 (build-system qt-build-system)
1885 `(("extra-cmake-modules" ,extra-cmake-modules)
1886 ("qttools" ,qttools)))
1888 `(("cyrus-sasl" ,cyrus-sasl)
1890 ("kcontacts" ,kcontacts)
1891 ("kcalendarcore" ,kcalendarcore)
1893 ("kwallet" ,kwallet)
1894 ("kwindowsystem" ,kwindowsystem)
1896 ("qtdeclarative" ,qtdeclarative)
1897 ("qtwebchannel" ,qtwebchannel)
1898 ("qtwebengine" ,qtwebengine)))
1900 `(#:tests? #f)) ;; TODO 6/48 tests fail
1901 (home-page "https://invent.kde.org/pim/libkgapi")
1902 (synopsis "Library for accessing various Google services via their public
1904 (description "@code{LibKGAPI} is a C++ library that implements APIs for
1905 various Google services.")
1906 (license license:lgpl2.0+)))
1908 (define-public libkleo
1915 (uri (string-append "mirror://kde/stable/release-service/" version
1916 "/src/libkleo-" version ".tar.xz"))
1918 (base32 "0rijpmqyx4mrr7csik3vkfcra7kfywk6yz548fmq3ha8wa9ax8fv"))))
1919 (build-system qt-build-system)
1921 `(("extra-cmake-modules" ,extra-cmake-modules)
1922 ("kdoctools" ,kdoctools)
1923 ("qttools" ,qttools)))
1927 ("kcodecs" ,kcodecs)
1928 ("kcompletion" ,kcompletion)
1929 ("kconfig" ,kconfig)
1930 ("kcoreaddons" ,kcoreaddons)
1933 ("kitemmodels" ,kitemmodels)
1934 ("kwidgetsaddons" ,kwidgetsaddons)
1935 ("kwindowsystem" ,kwindowsystem)
1936 ("kpimtextedit" ,kpimtextedit)
1938 ("qtbase" ,qtbase)))
1939 (home-page "https://invent.kde.org/pim/libkleo")
1940 (synopsis "KDE PIM cryptographic library")
1941 (description "@code{libkleo} is a library for Kleopatra and other parts of
1942 KDE using certificate-based crypto.")
1943 (license ;; GPL for programs, LGPL for libraries
1944 (list license:gpl2+ license:lgpl2.0+))))
1946 (define-public libksieve
1953 (uri (string-append "mirror://kde/stable/release-service/" version
1954 "/src/libksieve-" version ".tar.xz"))
1956 (base32 "04k2nkwg5vlgbr5wpvsq02wi54ljsy4ka7y3ns5x3d2gb06wp03c"))
1957 (patches (search-patches "libksieve-Fix-missing-link-libraries.patch"))))
1958 (build-system qt-build-system)
1960 `(("extra-cmake-modules" ,extra-cmake-modules)
1961 ("kdoctools" ,kdoctools)))
1963 `(("akonadi" ,akonadi)
1964 ("cyrus-sasl" ,cyrus-sasl)
1965 ("karchive" ,karchive)
1967 ("kiconthemes" ,kiconthemes)
1968 ("kidentitymanagement" ,kidentitymanagement)
1971 ("kmailtransport" ,kmailtransport)
1973 ("knewstuff" ,knewstuff)
1974 ("kpimcommon" ,kpimcommon)
1975 ("kpimtextedit" ,kpimtextedit)
1976 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1977 ("ktextwidgets" ,ktextwidgets)
1978 ("kwallet" ,kwallet)
1979 ("kwindowsystem" ,kwindowsystem)
1980 ("libkdepim" ,libkdepim)
1982 ("qtdeclarative" ,qtdeclarative)
1983 ("qtwebchannel" ,qtwebchannel)
1984 ("qtwebengine" ,qtwebengine)))
1987 (modify-phases %standard-phases
1988 (add-after 'unpack 'substitute
1990 ;; Disable a failing test
1991 ;; sieveeditorhelphtmlwidgettest fails with `sigtrap`
1993 "src/ksieveui/editor/webengine/autotests/CMakeLists.txt"
1994 (("^\\s*(add_test|ecm_mark_as_test)\\W" line)
1995 (string-append "# " line)))
1996 ;; FIXME: This test fails due to time zone problems.
1998 "src/ksieveui/autocreatescripts/autotests/CMakeLists.txt"
1999 ((".*sieveeditorgraphicalmodewidgettest\\.cpp.*")
2002 (home-page "https://invent.kde.org/pim/libksieve")
2003 (synopsis "KDE Sieve library")
2004 (description "Sieve is a language that can be used filter emails. KSieve
2005 is a Sieve parser and interpreter library for KDE.")
2006 (license ;; GPL for programs, LGPL for libraries
2007 (list license:gpl2+ license:lgpl2.0+))))