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 kde-internet)
36 #:use-module (gnu packages openldap)
37 #:use-module (gnu packages qt)
38 #:use-module (gnu packages search)
39 #:use-module (gnu packages sqlite)
40 #:use-module (gnu packages xml))
42 (define-public akonadi
49 (uri (string-append "mirror://kde/stable/applications/" version
50 "/src/akonadi-" version ".tar.xz"))
52 (base32 "0v7f1049wjnqxhwxr1443wc2cfbdqmf15xcwjz3j1m0vgdva9pyg"))
53 (patches (search-patches
55 "akonadi-timestamps.patch"
56 "akonadi-not-relocatable.patch"))))
57 (build-system qt-build-system)
59 `(("extra-cmake-modules" ,extra-cmake-modules)
61 ("shared-mime-info" ,shared-mime-info)))
65 ("kconfigwidgets" ,kconfigwidgets)
66 ("kcoreaddons" ,kcoreaddons)
68 ("kdbusaddons" ,kdbusaddons)
69 ("kdesignerplugin" ,kdesignerplugin)
71 ("kiconthemes" ,kiconthemes)
73 ("kitemmodels" ,kitemmodels)
74 ("kitemviews" ,kitemviews)
75 ("kwidgetsaddons" ,kwidgetsaddons)
76 ("kwindowsystem" ,kwindowsystem)
80 ;; Do NOT add mysql or postgresql to the inputs. Otherwise the binaries
81 ;; and wrapped files will refer to them, even if the user choices none
82 ;; of these. Executables are searched on $PATH then.
86 `(#:tests? #f ;; TODO 135/167 tests fail
87 #:configure-flags '("-DDATABASE_BACKEND=SQLITE") ; lightweight
88 #:modules ((ice-9 textual-ports)
89 ,@%qt-build-system-modules)
91 (modify-phases (@ (guix build qt-build-system) %standard-phases)
92 (add-before 'configure 'add-definitions
94 (let ((out (assoc-ref %outputs "out"))
95 (mysql (assoc-ref %build-inputs "mysql"))
96 (pgsql (assoc-ref %build-inputs "postgresql")))
97 (with-output-to-file "CMakeLists.txt.new"
101 "add_compile_definitions(\n"
102 "NIX_OUT=\"" out "\"\n"
103 ;; pin binaries for mysql backend
106 (call-with-input-file "CMakeLists.txt"
108 (rename-file "CMakeLists.txt.new" "CMakeLists.txt"))
110 (home-page "https://kontact.kde.org/components/akonadi.html")
111 (synopsis "Extensible cross-desktop storage service for PIM")
112 (description "Akonadi is an extensible cross-desktop Personal Information
113 Management (PIM) storage service. It provides a common framework for
114 applications to store and access mail, calendars, addressbooks, and other PIM
117 This package contains the Akonadi PIM storage server and associated
119 (license license:fdl1.2+)))
121 (define-public akonadi-calendar
123 (name "akonadi-calendar")
128 (uri (string-append "mirror://kde/stable/applications/" version
129 "/src/akonadi-calendar-" version ".tar.xz"))
131 (base32 "1550h08i8rjnbd9yrnhd9v3v68ingrag2bdxrbid62qvam0n5ihy"))))
132 (build-system qt-build-system)
134 `(("extra-cmake-modules" ,extra-cmake-modules)))
136 `(("akonadi" ,akonadi)
137 ("akonadi-contacts" ,akonadi-contacts)
138 ("akonadi-mime" ,akonadi-mime)
140 ("kcalendarcore" ,kcalendarcore)
141 ("kcalutils" ,kcalutils)
143 ("kcontacts" ,kcontacts)
144 ("kdbusaddons" ,kdbusaddons)
146 ("kiconthemes" ,kiconthemes)
147 ("kidentitymanagement" ,kidentitymanagement)
149 ("kitemmodels" ,kitemmodels)
150 ("kmailtransport" ,kmailtransport)
152 ("kpimtextedit" ,kpimtextedit)
154 ("ktextwidgets" ,ktextwidgets)
158 `(#:tests? #f)) ;; TODO: 1/1 test fails
159 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
160 (synopsis "Library providing calendar helpers for Akonadi items")
161 (description "This library manages calendar specific actions for
162 collection and item views.")
163 (license license:lgpl2.0+)))
165 (define-public akonadi-contacts
167 (name "akonadi-contacts")
172 (uri (string-append "mirror://kde/stable/applications/" version
173 "/src/akonadi-contacts-" version ".tar.xz"))
175 (base32 "1pw1s8c6dlcb103cw46p1ikvas3y8cwiwnfdny2jd3hr3rig4px9"))))
176 (build-system qt-build-system)
178 `(("extra-cmake-modules" ,extra-cmake-modules)))
180 `(("akonadi" ,akonadi)
184 ("kcompletion" ,kcompletion)
185 ("kconfigwidgets" ,kconfigwidgets)
186 ("kcontacts" ,kcontacts)
187 ("kcoreaddons" ,kcoreaddons)
188 ("kdbusaddons" ,kdbusaddons)
190 ("kiconthemes" ,kiconthemes)
191 ("kitemmodels" ,kitemmodels)
192 ("kitemviews" ,kitemviews)
193 ("kjobwidgets" ,kjobwidgets)
195 ("kservice" ,kservice)
196 ("ktextwidgets" ,ktextwidgets)
197 ("kwidgetsaddons" ,kwidgetsaddons)
204 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
205 (synopsis "Akonadi contacts access library")
206 (description "Akonadi Contacts is a library that effectively bridges the
207 type-agnostic API of the Akonadi client libraries and the domain-specific
208 KContacts library. It provides jobs, models and other helpers to make working
209 with contacts and addressbooks through Akonadi easier.
211 The library provides a complex dialog for editing contacts and several models
212 to list and filter contacts.")
213 (license ;; GPL for programs, LGPL for libraries
214 (list license:gpl2+ license:lgpl2.0+))))
216 (define-public akonadi-mime
218 (name "akonadi-mime")
223 (uri (string-append "mirror://kde/stable/applications/" version
224 "/src/akonadi-mime-" version ".tar.xz"))
226 (base32 "03q3dnhzcgmgcqvijnwi4ikg0m1zad2l679bqnp051v27fvs4yg7"))))
227 (build-system qt-build-system)
229 `(("extra-cmake-modules" ,extra-cmake-modules)
230 ("libxslt" ,libxslt) ;; xslt for generating interface descriptions
231 ("shared-mime-info" ,shared-mime-info)))
233 `(("akonadi" ,akonadi)
237 ("kconfigwidgets" ,kconfigwidgets)
238 ("kdbusaddons" ,kdbusaddons)
241 ("kitemmodels" ,kitemmodels)
243 ("kwidgetsaddons" ,kwidgetsaddons)
246 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
249 (modify-phases %standard-phases
250 (add-after 'unpack 'copy-desktop-file-early
252 (let ((plugins-dir "/tmp/.local/share/akonadi/plugins/serializer"))
253 (mkdir-p plugins-dir)
254 (copy-file "serializers/akonadi_serializer_mail.desktop"
255 (string-append plugins-dir "/akonadi_serializer_mail.desktop")))
257 (add-before 'check 'check-setup
259 (setenv "HOME" "/tmp")
261 (synopsis "Akonadi MIME handling library")
262 (description "Akonadi Mime is a library that effectively bridges the
263 type-agnostic API of the Akonadi client libraries and the domain-specific
264 KMime library. It provides jobs, models and other helpers to make working
265 with emails through Akonadi easier.")
266 (license ;; GPL for programs, LGPL for libraries
267 (list license:gpl2+ license:lgpl2.0+))))
269 (define-public akonadi-notes
271 (name "akonadi-notes")
276 (uri (string-append "mirror://kde/stable/applications/" version
277 "/src/akonadi-notes-" version ".tar.xz"))
279 (base32 "0r8vh11bfjzhspb5kp2d0kcgwqd2m5qpxpamiajzjq910f51sw3w"))))
280 (build-system qt-build-system)
282 `(("extra-cmake-modules" ,extra-cmake-modules)))
284 `(("akonadi" ,akonadi)
289 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
290 (synopsis "Akonadi notes access library")
291 (description "Akonadi Notes is a library that effectively bridges the
292 type-agnostic API of the Akonadi client libraries and the domain-specific
293 KMime library. It provides a helper class for note attachments and for
294 wrapping notes into KMime::Message objects.")
295 (license ;; GPL for programs, LGPL for libraries
296 (list license:gpl2+ license:lgpl2.0+))))
298 (define-public akonadi-search
300 (name "akonadi-search")
305 (uri (string-append "mirror://kde/stable/applications/" version
306 "/src/akonadi-search-" version ".tar.xz"))
308 (base32 "16qzs2cs4nxwrpwcdgwry95qn6wmg8s1p4w3qajx1ahkgwmsh11s"))))
309 (build-system qt-build-system)
311 `(("extra-cmake-modules" ,extra-cmake-modules)))
313 `(("akonadi" ,akonadi)
314 ("akonadi-mime" ,akonadi-mime)
316 ("kcalendarcore" ,kcalendarcore)
317 ("kcmutils" ,kcmutils)
318 ("kcontacts" ,kcontacts)
320 ("kdbusaddons" ,kdbusaddons)
323 ("kitemmodels" ,kitemmodels)
326 ("kwindowsystem" ,kwindowsystem)
330 `(#:tests? #f)) ;; TODO: needs dbus
331 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
332 (synopsis "Akonadi search library")
333 (description "This package provides a library used to search in the
334 Akonadi PIM data server. It uses Xapian for indexing and querying.")
335 (license ;; GPL for programs, LGPL for libraries
336 (list license:gpl2+ license:lgpl2.0+))))
338 (define-public kincidenceeditor
340 (name "kincidenceeditor")
345 (uri (string-append "mirror://kde/stable/applications/" version
346 "/src/incidenceeditor-" version ".tar.xz"))
348 (base32 "0v962v2ihawndg39ypkfawa449vpbdyg00ib7avb19a153y3wxg6"))))
349 (properties `((upstream-name . "incidenceeditor")))
350 (build-system qt-build-system)
352 `(("extra-cmake-modules" ,extra-cmake-modules)))
354 `(("akonadi" ,akonadi)
355 ("akonadi-calendar" ,akonadi-calendar)
356 ("akonadi-contacts" ,akonadi-contacts)
357 ("akonadi-mime" ,akonadi-mime)
359 ("kcalendarcore" ,kcalendarcore)
360 ("kcalendarsupport" ,kcalendarsupport)
361 ("kcalutils" ,kcalutils)
363 ("kcontacts" ,kcontacts)
364 ("kdbusaddons" ,kdbusaddons)
365 ("kdepim-apps-libs" ,kdepim-apps-libs)
366 ("kdiagram" ,kdiagram)
367 ("keventviews" ,keventviews)
369 ("kiconthemes" ,kiconthemes)
370 ("kidentitymanagement" ,kidentitymanagement)
372 ("kitemmodels" ,kitemmodels)
374 ("kmailtransport" ,kmailtransport)
376 ("kpimtextedit" ,kpimtextedit)
377 ("ktextwidgets" ,ktextwidgets)
379 ("libkdepim" ,libkdepim)
381 (home-page "https://cgit.kde.org/incidenceeditor.git")
382 (synopsis "KDE PIM library for editing incidences")
383 (description "This library provides an incidence editor for KDE PIM.")
384 (license ;; GPL for programs, LGPL for libraries
385 (list license:gpl2+ license:lgpl2.0+))))
387 (define-public kaddressbook
389 (name "kaddressbook")
394 (uri (string-append "mirror://kde/stable/applications/" version
395 "/src/kaddressbook-" version ".tar.xz"))
397 (base32 "1bpl9cqjv7s6pnsaa266jqmny2s6ldkylxviri162jxg51v1hhz3"))))
398 (build-system qt-build-system)
400 `(("extra-cmake-modules" ,extra-cmake-modules)))
402 `(("akonadi" ,akonadi)
403 ("akonadi-contacts" ,akonadi-contacts)
404 ("akonadi-mime" ,akonadi-mime)
405 ("akonadi-search" ,akonadi-search)
408 ("grantlee" ,grantlee)
409 ("grantleetheme" ,grantleetheme)
410 ("kcalendarcore" ,kcalendarcore)
411 ("kcmutils" ,kcmutils)
412 ("kcompletion" ,kcompletion)
413 ("kcontacts" ,kcontacts)
415 ("kdbusaddons" ,kdbusaddons)
416 ("kdepim-apps-libs" ,kdepim-apps-libs)
417 ("kdoctools" ,kdoctools)
419 ("kiconthemes" ,kiconthemes)
422 ("kitemmodels" ,kitemmodels)
424 ("kontactinterface" ,kontactinterface)
426 ("kpimcommon" ,kpimcommon)
427 ("kpimtextedit" ,kpimtextedit)
428 ("ktextwidgets" ,ktextwidgets)
430 ("libkdepim" ,libkdepim)
432 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
436 (home-page "https://kontact.kde.org/components/kaddressbook.html")
437 (synopsis "Address Book application to manage your contacts")
438 (description "KAddressBook stores all the personal details of your family,
439 friends and other contacts. It supports large variety of services, including
440 NextCloud, Kolab, Google Contacts, Microsoft Exchange (EWS) or any standard
442 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
444 (define-public kalarmcal
451 (uri (string-append "mirror://kde/stable/applications/" version
452 "/src/kalarmcal-" version ".tar.xz"))
454 (base32 "0w9qsx2gqwny2v4fsj4awn814s9b7yrxvqrawlick3r2kp4x1sgn"))))
455 (build-system qt-build-system)
457 `(("extra-cmake-modules" ,extra-cmake-modules)))
459 `(("akonadi", akonadi)
461 ("kcalendarcore" ,kcalendarcore)
462 ("kcalutils" ,kcalutils)
463 ("kcompletion" ,kcompletion)
465 ("kconfigwidgets" ,kconfigwidgets)
466 ("kcoreaddons" ,kcoreaddons)
467 ("kdbusaddons" ,kdbusaddons)
468 ("kholidays" ,kholidays)
470 ("kidentitymanagement" ,kidentitymanagement)
472 ("kitemmodels" ,kitemmodels)
473 ("kpimtextedit" ,kpimtextedit)
474 ("ktextwidgets" ,ktextwidgets)
478 `(#:tests? #f)) ;; TODO: TZ setup
479 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
480 (synopsis "Library for handling kalarm calendar data")
481 (description "This library provides access to and handling of kalarm
483 (license license:lgpl2.0+)))
492 (uri (string-append "mirror://kde/stable/applications/" version
493 "/src/kblog-" version ".tar.xz"))
495 (base32 "0r3ik3df444kzg2mnzckkh4kk6v08zil1f26dwmxsslsqw9hl0vv"))))
496 (build-system qt-build-system)
498 `(("extra-cmake-modules" ,extra-cmake-modules)))
500 `(("kcalendarcore" ,kcalendarcore)
501 ("kcoreaddons" ,kcoreaddons)
504 ("kxmlrpcclient" ,kxmlrpcclient)
506 ("syndication" ,syndication)))
507 ;; Note: Some tests take up to 90 sec.
508 (home-page "https://cgit.kde.org/kblog.git")
509 (synopsis "Client-side support library for web application remote blogging
511 (description "KBlog is a library for calling functions on Blogger 1.0,
512 MetaWeblog, MovableType and GData compatible blogs. It calls the APIs using
513 KXmlRpcClient and Syndication. It supports asynchronous sending and fetching
514 of posts and, if supported on the server, multimedia files. Almost every
515 modern blogging web application that provides an XML data interface supports
516 one of the APIs mentioned above.")
517 (license license:lgpl2.0+)))
519 (define-public kcalendarsupport
521 (name "kcalendarsupport")
526 (uri (string-append "mirror://kde/stable/applications/" version
527 "/src/calendarsupport-" version ".tar.xz"))
529 (base32 "1hwfh5njq4614ypwdilna33hdcn11kshpwg6n27cag1qhwrxs1i4"))))
530 (properties `((upstream-name . "calendarsupport")))
531 (build-system qt-build-system)
533 `(("extra-cmake-modules" ,extra-cmake-modules)
534 ("qttools" ,qttools)))
536 `(("akonadi" ,akonadi)
537 ("akonadi-calendar" ,akonadi-calendar)
538 ("akonadi-mime" ,akonadi-mime)
540 ("kcalendarcore" ,kcalendarcore)
541 ("kcalutils", kcalutils)
542 ("kcompletion" ,kcompletion)
543 ("kdbusaddons" ,kdbusaddons)
544 ("kdepim-apps-libs" ,kdepim-apps-libs)
545 ("kguiaddons" ,kguiaddons)
546 ("kholidays" ,kholidays)
548 ("kiconthemes" ,kiconthemes)
549 ("kidentitymanagement" ,kidentitymanagement)
551 ("kitemmodels" ,kitemmodels)
553 ("kpimcommon" ,kpimcommon)
554 ("kpimtextedit" ,kpimtextedit)
555 ("ktextwidgets" ,ktextwidgets)
558 (home-page "https://api.kde.org/stable/calendarsupport/")
559 (synopsis "Calendar Support library for KDE PIM")
560 (description "The Calendar Support library provides helper utilities for
561 calendaring applications.")
562 (license ;; GPL for programs, LGPL for libraries
563 (list license:gpl2+ license:lgpl2.0+))))
565 (define-public kcalutils
572 (uri (string-append "mirror://kde/stable/applications/" version
573 "/src/kcalutils-" version ".tar.xz"))
575 (base32 "1nlkik4qiciyh1slgpis3n5h9pks2ygdba9yq4s16nnmip4l45w2"))))
576 (build-system qt-build-system)
578 `(("extra-cmake-modules" ,extra-cmake-modules)
579 ("libxml2" ,libxml2))) ;; xmllint required for tests
581 `(("grantlee" ,grantlee)
582 ("kcalendarcore" ,kcalendarcore)
585 ("kconfigwidgets" ,kconfigwidgets)
586 ("kcoreaddons" ,kcoreaddons)
588 ("kiconthemes" ,kiconthemes)
589 ("kidentitymanagement" ,kidentitymanagement)
590 ("kpimtextedit" ,kpimtextedit)
591 ("ktextwidgets" ,ktextwidgets)
592 ("kwidgetsaddons" ,kwidgetsaddons)
593 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
596 `(#:tests? #f)) ;; TODO: seem to pull in some wrong theme
597 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
598 (synopsis "Library with utility functions for the handling of calendar
600 (description "This library provides a utility and user interface
601 functions for accessing calendar data using the kcalcore API.")
602 (license license:lgpl2.0+)))
611 (uri (string-append "mirror://kde/stable/applications/" version
612 "/src/kdav-" version ".tar.xz"))
614 (base32 "1w59n17lridglphnm4mnmmzq1ijpbp269qxfmz01vk6wry6hlnp8"))))
615 (build-system qt-build-system)
617 `(("extra-cmake-modules" ,extra-cmake-modules)))
619 `(("kcoreaddons" ,kcoreaddons)
623 ("qtxmlpatterns" ,qtxmlpatterns)))
624 (home-page "https://cgit.kde.org/kdav.git")
625 (synopsis "DAV protocol implementation with KJobs")
626 (description "This is a DAV protocol implementation with KJobs. Calendars
627 and todos are supported, using either GroupDAV or CalDAV, and contacts are
628 supported using GroupDAV or CardDAV.")
629 (license ;; GPL for programs, LGPL for libraries
630 (list license:gpl2+ license:lgpl2.0+))))
632 (define-public kdepim-apps-libs
634 (name "kdepim-apps-libs")
639 (uri (string-append "mirror://kde/stable/applications/" version
640 "/src/kdepim-apps-libs-" version ".tar.xz"))
642 (base32 "10xbzvp9cm5fpy4nxp38qm4vf0bycpq94bm4z2j4lw7ll1aq8irw"))))
643 (build-system qt-build-system)
645 `(("extra-cmake-modules" ,extra-cmake-modules)))
647 `(("akonadi" ,akonadi)
648 ("akonadi-contacts" ,akonadi-contacts)
651 ("grantlee" ,grantlee)
652 ("grantleetheme" ,grantleetheme)
654 ("kconfigwidgets" ,kconfigwidgets)
655 ("kcontacts" ,kcontacts)
656 ("kcoreaddons" ,kcoreaddons)
657 ("kdbusaddons" ,kdbusaddons)
659 ("kiconthemes" ,kiconthemes)
662 ("kitemmodels" ,kitemmodels)
664 ("kpimcommon" ,kpimcommon)
665 ("kservice" ,kservice)
666 ("kwidgetsaddons" ,kwidgetsaddons)
671 (home-page "https://cgit.kde.org/kdepim-apps-libs.git")
672 (synopsis "KDE PIM mail related libraries and data files")
673 (description "This package provides mail related libraries and data files
675 (license ;; GPL for programs, LGPL for libraries
676 (list license:gpl2+ license:lgpl2.0+))))
678 (define-public kdepim-runtime
680 (name "kdepim-runtime")
685 (uri (string-append "mirror://kde/stable/applications/" version
686 "/src/kdepim-runtime-" version ".tar.xz"))
688 (base32 "1skid9v6viw379mwhmb4xjh6bylv8wg7cy56kkbcpsmpars9cwr6"))
689 (patches (search-patches
690 "kdepim-runtime-Fix-missing-link-libraries.patch"))))
691 (build-system qt-build-system)
693 `(("extra-cmake-modules" ,extra-cmake-modules)
695 ("kdoctools" ,kdoctools)
697 ("shared-mime-info" ,shared-mime-info)))
699 `(("akonadi" ,akonadi)
700 ("akonadi-calendar" ,akonadi-calendar)
701 ("akonadi-contacts" ,akonadi-contacts)
702 ("akonadi-mime" ,akonadi-mime)
703 ("akonadi-notes" ,akonadi-notes)
705 ("cyrus-sasl" ,cyrus-sasl)
706 ("kalarmcal" ,kalarmcal)
707 ("kcalendarcore" ,kcalendarcore)
708 ("kcalutils" ,kcalutils)
711 ("kconfigwidgets" ,kconfigwidgets)
712 ("kcontacts" ,kcontacts)
714 ("kdbusaddons" ,kdbusaddons)
715 ("kholidays" ,kholidays)
716 ("kiconthemes" ,kiconthemes)
717 ("kidentitymanagement" ,kidentitymanagement)
720 ("kitemmodels" ,kitemmodels)
721 ("kmailtransport" ,kmailtransport)
724 ("knotifications" ,knotifications)
725 ("knotifyconfig" ,knotifyconfig)
726 ("kpimcommon" ,kpimcommon)
727 ("kpimtextedit" ,kpimtextedit)
729 ("ktextwidgets" ,ktextwidgets)
731 ("kwindowsystem" ,kwindowsystem)
732 ("libkgapi" ,libkgapi)
736 ("qtdeclarative" ,qtdeclarative)
737 ("qtnetworkauth" ,qtnetworkauth)
738 ("qtspeech" ,qtspeech)
739 ("qtwebchannel" ,qtwebchannel)
740 ("qtwebengine" ,qtwebengine)
741 ("qtxmlpatterns" ,qtxmlpatterns)))
743 ;; TODO: 5/45 tests fail for quite different reasons, even with
744 ;; "offscreen" and dbus
746 (home-page "https://cgit.kde.org/kdepim-runtime.git")
747 (synopsis "Runtime components for Akonadi KDE")
748 (description "This package contains Akonadi agents written using KDE
749 Development Platform libraries. Any package that uses Akonadi should probably
750 pull this in as a dependency. The kres-bridges is also parts of this
752 (license ;; Files vary a lot regarding the license. GPL2+ and LGPL2.1+
753 ;; have been used in those I checked. But the archive also includes
754 ;; license texts for GPL3 and AGPL3.
755 (list license:gpl2+ license:lgpl2.0+))))
757 (define-public keventviews
764 (uri (string-append "mirror://kde/stable/applications/" version
765 "/src/eventviews-" version ".tar.xz"))
767 (base32 "190vx074ligzysc9w5pf2b51dfy0i4v9mc53m9jdcw8y02shy49w"))))
768 (properties `((upstream-name . "eventviews")))
769 (build-system qt-build-system)
771 `(("extra-cmake-modules" ,extra-cmake-modules)
772 ("qttools" ,qttools)))
774 `(("akonadi" ,akonadi)
775 ("akonadi-calendar" ,akonadi-calendar)
776 ("akonadi-contacts" ,akonadi-contacts)
778 ("kcalendarcore" ,kcalendarcore)
779 ("kcalendarsupport" ,kcalendarsupport)
780 ("kcalutils" ,kcalutils)
782 ("kcompletion" ,kcompletion)
783 ("kconfigwidgets" ,kconfigwidgets)
784 ("kcontacts" ,kcontacts)
785 ("kdbusaddons" ,kdbusaddons)
786 ("kdiagram" ,kdiagram)
787 ("kguiaddons" ,kguiaddons)
788 ("kholidays" ,kholidays)
790 ("kiconthemes" ,kiconthemes)
791 ("kidentitymanagement" ,kidentitymanagement)
793 ("kitemmodels" ,kitemmodels)
795 ("kpimtextedit" ,kpimtextedit)
796 ("kservice" ,kservice)
797 ("ktextwidgets" ,ktextwidgets)
799 ("libkdepim" ,libkdepim)
801 (home-page "https://cgit.kde.org/eventviews.git")
802 (synopsis "KDE PIM library for creating events")
803 (description "This library provides an event creator for KDE PIM.")
804 (license ;; GPL for programs, LGPL for libraries
805 (list license:gpl2+ license:lgpl2.0+))))
814 (uri (string-append "mirror://kde/stable/applications/" version
815 "/src/kgpg-" version ".tar.xz"))
817 (base32 "1dis7zv51a4lhx5l3wlwnhym8f79h8sibhhk97fkn8d7szdrmfw5"))))
818 (build-system qt-build-system)
820 `(("extra-cmake-modules" ,extra-cmake-modules)
821 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
822 ("kdoctools" ,kdoctools)))
824 `(("akonadi" ,akonadi)
825 ("akonadi-contacts" ,akonadi-contacts)
828 ("karchive" ,karchive)
830 ("kcontacts" ,kcontacts)
831 ("kcoreaddons" ,kcoreaddons)
833 ("kdbusaddons" ,kdbusaddons)
835 ("kiconthemes" ,kiconthemes)
837 ("kitemmodels" ,kitemmodels)
838 ("kjobwidgets" ,kjobwidgets)
839 ("knotifications" ,knotifications)
840 ("kservice" ,kservice)
841 ("ktextwidgets" ,ktextwidgets)
842 ("kwidgetsaddons" ,kwidgetsaddons)
843 ("kwindowsystem" ,kwindowsystem)
845 ("oxygen-icons" ,oxygen-icons) ;; default icon set
847 (home-page "https://kde.org/applications/utilities/org.kde.kgpg")
848 (synopsis "Graphical front end for GNU Privacy Guard")
849 (description "Kgpg manages cryptographic keys for the GNU Privacy Guard,
850 and can encrypt, decrypt, sign, and verify files. It features a simple editor
851 for applying cryptography to short pieces of text, and can also quickly apply
852 cryptography to the contents of the clipboard.")
853 (license license:gpl2+)))
855 (define-public kidentitymanagement
857 (name "kidentitymanagement")
862 (uri (string-append "mirror://kde/stable/applications/" version
863 "/src/kidentitymanagement-" version ".tar.xz"))
865 (base32 "0dqz49sp5hq44590rrxav8688aqlzsww4q4n55ksfy13nk9i5mbf"))))
866 (build-system qt-build-system)
868 `(("extra-cmake-modules" ,extra-cmake-modules)))
870 `(("kcodecs" ,kcodecs)
871 ("kcompletion" ,kcompletion)
873 ("kcoreaddons" ,kcoreaddons)
874 ("kemoticons" ,kemoticons)
875 ("kiconthemes" ,kiconthemes)
877 ("kpimtextedit" ,kpimtextedit)
878 ("ktextwidgets" ,ktextwidgets)
883 (modify-phases %standard-phases
884 (add-before 'check 'set-home
886 (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this?
888 (home-page "https://kontact.kde.org/")
889 (synopsis "Library for shared identities between mail applications")
890 (description "This library provides an API for managing user identities.")
891 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
892 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
901 (uri (string-append "mirror://kde/stable/applications/" version
902 "/src/kimap-" version ".tar.xz"))
904 (base32 "0l8hb2z82jzbwr12lw5fismwk1a3ca4dk966p1fxg4bibck8vjj6"))))
905 (build-system qt-build-system)
907 `(("extra-cmake-modules" ,extra-cmake-modules)))
909 `(("cyrus-sasl" ,cyrus-sasl)
910 ("kcoreaddons" ,kcoreaddons)
915 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
916 (synopsis "Library for handling IMAP")
917 (description "This library provides a job-based API for interacting with
918 an IMAP4rev1 server. It manages connections, encryption and parameter quoting
919 and encoding, but otherwise provides quite a low-level interface to the
920 protocol. This library does not implement an IMAP client; it merely makes it
922 (license ;; GPL for programs, LGPL for libraries
923 (list license:gpl2+ license:lgpl2.0+))))
932 (uri (string-append "mirror://kde/stable/applications/" version
933 "/src/kldap-" version ".tar.xz"))
935 (base32 "1blbnj8av6h168g14gyphyd9sz87af773b1qglmbkv5pzbzaanxn"))))
936 (build-system qt-build-system)
938 `(("extra-cmake-modules" ,extra-cmake-modules)
939 ("kdoctools" ,kdoctools)))
943 ("kwidgetsaddons" ,kwidgetsaddons)
946 `(("cyrus-sasl" ,cyrus-sasl)
947 ("openldap" ,openldap)))
948 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
949 (synopsis "Library for accessing LDAP")
950 (description " This is a library for accessing LDAP with a convenient Qt
951 style C++ API. LDAP (Lightweight Directory Access Protocol) is an application
952 protocol for querying and modifying directory services running over TCP/IP. ")
953 (license license:lgpl2.0+)))
955 (define-public kleopatra
962 (uri (string-append "mirror://kde/stable/applications/" version
963 "/src/kleopatra-" version ".tar.xz"))
965 (base32 "1bqwxdl91s2nai871vvhkmcc3simbnvr2i5m6dnl327bplzqgfa4"))))
966 (build-system qt-build-system)
969 ("extra-cmake-modules" ,extra-cmake-modules)
970 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
971 ("kdoctools" ,kdoctools)))
975 ("kcmutils" ,kcmutils)
978 ("kconfigwidgets" ,kconfigwidgets)
979 ("kcoreaddons" ,kcoreaddons)
981 ("kdbusaddons" ,kdbusaddons)
983 ("kiconthemes" ,kiconthemes)
984 ("kitemmodels" ,kitemmodels)
986 ("knotifications" ,knotifications)
987 ("ktextwidgets" ,ktextwidgets)
988 ("kwidgetsaddons" ,kwidgetsaddons)
989 ("kwindowsystem" ,kwindowsystem)
991 ("libassuan" ,libassuan)
993 ("oxygen-icons" ,oxygen-icons) ;; default icon set
998 (modify-phases %standard-phases
1001 (invoke "dbus-launch" "ctest" ".")
1003 (home-page "https://kde.org/applications/utilities/org.kde.kleopatra")
1004 (synopsis "Certificate Manager and Unified Crypto GUI")
1005 (description "Kleopatra is a certificate manager and a universal crypto
1006 GUI. It supports managing X.509 and OpenPGP certificates in the GpgSM keybox
1007 and retrieving certificates from LDAP servers.")
1008 (license ;; GPL for programs, FDL for documentation
1009 (list license:gpl2+ license:fdl1.2+))))
1011 (define-public kmail
1018 (uri (string-append "mirror://kde/stable/applications/" version
1019 "/src/kmail-" version ".tar.xz"))
1021 (base32 "0gsdpv9pf4h031zcawc4qv78a5kl9hxp2amd0spjhs7wc7nl17fk"))
1022 (patches (search-patches "kmail-Fix-missing-link-libraries.patch"))))
1023 (build-system qt-build-system)
1025 `(("extra-cmake-modules" ,extra-cmake-modules)
1027 ("kdoctools" ,kdoctools)))
1029 `(("akonadi" ,akonadi)
1030 ("akonadi-contacts" ,akonadi-contacts)
1031 ("akonadi-mime" ,akonadi-mime)
1032 ("akonadi-search" ,akonadi-search)
1035 ("kbookmarks" ,kbookmarks)
1036 ("kcalendarcore" ,kcalendarcore)
1037 ("kcalutils" ,kcalutils)
1038 ("kcmutils" ,kcmutils)
1039 ("kcodecs" ,kcodecs)
1040 ("kconfig" ,kconfig)
1041 ("kconfigwidgets" ,kconfigwidgets)
1042 ("kcontacts" ,kcontacts)
1044 ("kdbusaddons" ,kdbusaddons)
1045 ("kdepim-apps-libs" ,kdepim-apps-libs)
1046 ("kguiaddons" ,kguiaddons)
1048 ("kiconthemes" ,kiconthemes)
1049 ("kidentitymanagement" ,kidentitymanagement)
1052 ("kitemmodels" ,kitemmodels)
1053 ("kitemviews" ,kitemviews)
1054 ("kjobwidgets" ,kjobwidgets)
1056 ("kmailcommon" ,kmailcommon)
1057 ("kmailtransport" ,kmailtransport)
1058 ("kmessagelib" ,kmessagelib)
1061 ("knotifications" ,knotifications)
1062 ("knotifyconfig" ,knotifyconfig)
1063 ("kontactinterface" ,kontactinterface)
1065 ("kpimcommon" ,kpimcommon)
1066 ("kpimtextedit" ,kpimtextedit)
1067 ("kservice" ,kservice)
1068 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1069 ("ktextwidgets" ,ktextwidgets)
1071 ("kwallet" ,kwallet)
1072 ("kwidgetsaddons" ,kwidgetsaddons)
1073 ("kwindowsystem" ,kwindowsystem)
1074 ("kxmlgui" ,kxmlgui)
1075 ("libgravatar" ,libgravatar)
1076 ("libkdepim" ,libkdepim)
1077 ("libkleo" ,libkleo)
1078 ("libksieve" ,libksieve)
1079 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
1082 ("qtdeclarative" ,qtdeclarative)
1083 ("qtwebchannel" ,qtwebchannel)
1084 ("qtwebengine" ,qtwebengine)
1085 ("sonnet" ,sonnet)))
1088 (modify-phases %standard-phases
1091 (invoke "dbus-launch" "ctest" ".")
1093 (home-page "https://kontact.kde.org/components/kmail.html")
1094 (synopsis "Full featured graphical email client")
1095 (description "KMail supports multiple accounts, mail filtering and email
1096 encryption. The program let you configure your workflow and it has good
1097 integration into KDE (Plasma Desktop) but is also useable with other Desktop
1100 KMail is the email component of Kontact, the integrated personal information
1102 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1103 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1105 (define-public kmailcommon
1107 (name "kmailcommon")
1112 (uri (string-append "mirror://kde/stable/applications/" version
1113 "/src/mailcommon-" version ".tar.xz"))
1115 (base32 "1gsj89kgq4457mnfjlys4wiixpzwlbwhj4zpd7r4fdhbyihz3k2m"))))
1116 (properties `((upstream-name . "mailcommon")))
1117 (build-system qt-build-system)
1119 `(("extra-cmake-modules" ,extra-cmake-modules)
1122 ("qttools" ,qttools)))
1124 `(("akonadi" ,akonadi)
1125 ("akonadi-contacts" ,akonadi-contacts)
1126 ("akonadi-mime" ,akonadi-mime)
1129 ("karchive" ,karchive)
1130 ("kcodecs" ,kcodecs)
1131 ("kcompletion" ,kcompletion)
1132 ("kconfig" ,kconfig)
1133 ("kconfigwidgets" ,kconfigwidgets)
1134 ("kcontacts" ,kcontacts)
1135 ("kdbusaddons" ,kdbusaddons)
1136 ("kdesignerplugin" ,kdesignerplugin)
1138 ("kiconthemes" ,kiconthemes)
1139 ("kidentitymanagement" ,kidentitymanagement)
1142 ("kitemmodels" ,kitemmodels)
1143 ("kitemviews" ,kitemviews)
1145 ("kmailimporter" ,kmailimporter)
1146 ("kmailtransport" ,kmailtransport)
1147 ("kmessagelib" ,kmessagelib)
1149 ("kpimcommon" ,kpimcommon)
1150 ("kpimtextedit" ,kpimtextedit)
1151 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1152 ("ktextwidgets" ,ktextwidgets)
1153 ("kwallet" ,kwallet)
1154 ("kwidgetsaddons" ,kwidgetsaddons)
1155 ("kwindowsystem" ,kwindowsystem)
1156 ("kxmlgui" ,kxmlgui)
1157 ("libkdepim" ,libkdepim)
1158 ("libkleo" ,libkleo)
1159 ("libxslt" ,libxslt)
1162 ("qtbase" ,qtbase)))
1164 `(#:tests? #f)) ;; TODO: 4/56 tests fail, even with "offscreen" and dbus
1165 (home-page "https://cgit.kde.org/mailcommon.git")
1166 (synopsis "KDE email utility library")
1167 (description "The mail common library provides utility functions for
1168 dealing with email.")
1169 (license ;; GPL for programs, LGPL for libraries
1170 (list license:gpl2+ license:lgpl2.0+))))
1172 (define-public kmailimporter
1174 (name "kmailimporter")
1179 (uri (string-append "mirror://kde/stable/applications/" version
1180 "/src/mailimporter-" version ".tar.xz"))
1182 (base32 "0vmrgjz47f96crrbv0bhaz0abh2am4whhb294rfz02mvjghbzpzv"))))
1183 (properties `((upstream-name . "mailimporter")))
1184 (build-system qt-build-system)
1186 `(("extra-cmake-modules" ,extra-cmake-modules)))
1188 `(("akonadi" ,akonadi)
1189 ("akonadi-mime" ,akonadi-mime)
1191 ("karchive" ,karchive)
1192 ("kcompletion" ,kcompletion)
1193 ("kconfig" ,kconfig)
1194 ("kconfigwidgets" ,kconfigwidgets)
1195 ("kcoreaddons" ,kcoreaddons)
1196 ("kdbusaddons" ,kdbusaddons)
1199 ("kitemmodels" ,kitemmodels)
1201 ("kxmlgui" ,kxmlgui)
1202 ("libkdepim" ,libkdepim)
1203 ("qtbase" ,qtbase)))
1204 (home-page "https://cgit.kde.org/mailimporter.git")
1205 (synopsis "KDE mail importer library")
1206 (description "This package provides libraries for importing mails other
1207 e-mail client programs into KMail and KDE PIM.")
1208 (license ;; GPL for programs, LGPL for libraries
1209 (list license:gpl2+ license:lgpl2.0+))))
1211 (define-public kmailtransport
1213 (name "kmailtransport")
1218 (uri (string-append "mirror://kde/stable/applications/" version
1219 "/src/kmailtransport-" version ".tar.xz"))
1221 (base32 "04jdnqxbp4382vjxh06rrvsigbrygqfkw0fvbbjnjymp585mgkr4"))))
1222 (build-system qt-build-system)
1224 `(("extra-cmake-modules" ,extra-cmake-modules)
1225 ("kdoctools" ,kdoctools)))
1227 `(("akonadi" ,akonadi)
1228 ("akonadi-mime" ,akonadi-mime)
1230 ("cyrus-sasl" ,cyrus-sasl)
1231 ("kcalendarcore" ,kcalendarcore)
1232 ("kcmutils" ,kcmutils)
1233 ("kcontacts" ,kcontacts)
1234 ("kdbusaddons" ,kdbusaddons)
1235 ("kconfigwidgets" ,kconfigwidgets)
1237 ("kitemmodels", kitemmodels)
1241 ("ktextwidgets" ,ktextwidgets)
1242 ("kwallet" ,kwallet)
1243 ("libkgapi" ,libkgapi)
1244 ("qtbase" ,qtbase)))
1246 `(#:tests? #f)) ;; TODO - 3/3 tests fail, require drkonqi
1247 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1248 (synopsis "Mail transport service library")
1249 (description "This library provides an API and support code for managing
1251 (license license:lgpl2.0+)))
1253 (define-public kmbox
1260 (uri (string-append "mirror://kde/stable/applications/" version
1261 "/src/kmbox-" version ".tar.xz"))
1263 (base32 "13b5v1nx46k5ais3cms7yxrfi8p6xbljpkpg3f7v1asb6kshv7g2"))))
1264 (build-system qt-build-system)
1266 `(("extra-cmake-modules" ,extra-cmake-modules)))
1268 `(("kcodecs" ,kcodecs)
1270 ("qtbase" ,qtbase)))
1271 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1272 (synopsis "Library for handling mbox mailboxes")
1273 (description "This is a library for handling mailboxes in mbox format,
1274 using a Qt/KMime C++ API.")
1275 (license license:lgpl2.0+ )))
1277 (define-public kmessagelib
1279 (name "kmessagelib")
1284 (uri (string-append "mirror://kde/stable/applications/" version
1285 "/src/messagelib-" version ".tar.xz"))
1287 (base32 "0a378aqkdjzyzlxxha2qxa6vzrj92l1fplzb6fajz4l7ipj4hbnv"))))
1288 (properties `((upstream-name . "messagelib")))
1289 (build-system qt-build-system)
1291 `(("extra-cmake-modules" ,extra-cmake-modules)
1293 ("libxml2" ,libxml2)))
1295 `(("akonadi" ,akonadi)
1296 ("akonadi-contacts" ,akonadi-contacts)
1297 ("akonadi-mime" ,akonadi-mime)
1298 ("akonadi-notes" ,akonadi-notes)
1299 ("akonadi-search" ,akonadi-search)
1302 ("grantlee" ,grantlee)
1303 ("grantleetheme" ,grantleetheme)
1304 ("karchive" ,karchive)
1305 ("kcalendarcore" ,kcalendarcore)
1306 ("kcodecs" ,kcodecs)
1307 ("kcompletion" ,kcompletion)
1308 ("kconfig" ,kconfig)
1309 ("kconfigwidgets" ,kconfigwidgets)
1310 ("kcontacts" ,kcontacts)
1311 ("kdbusaddons" ,kdbusaddons)
1312 ("kdepim-apps-libs" ,kdepim-apps-libs)
1314 ("kiconthemes" ,kiconthemes)
1315 ("kidentitymanagement" ,kidentitymanagement)
1318 ("kitemmodels" ,kitemmodels)
1319 ("kitemviews" ,kitemviews)
1320 ("kjobwidgets" ,kjobwidgets)
1322 ("kmailtransport" ,kmailtransport)
1325 ("knewstuff" ,knewstuff)
1326 ("kpimcommon" ,kpimcommon)
1327 ("kpimtextedit" ,kpimtextedit)
1328 ("kservice" ,kservice)
1329 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1330 ("ktextwidgets" ,ktextwidgets)
1331 ("kwallet" ,kwallet)
1332 ("kwidgetsaddons" ,kwidgetsaddons)
1333 ("kwindowsystem" ,kwindowsystem)
1334 ("kxmlgui" ,kxmlgui)
1335 ("libgravatar" ,libgravatar)
1336 ("libkdepim" ,libkdepim)
1337 ("libkleo" ,libkleo)
1340 ("qtdeclarative" ,qtdeclarative)
1341 ("qtwebchannel" ,qtwebchannel)
1342 ("qtwebengine" ,qtwebengine)
1343 ("qtwebkit" ,qtwebkit)
1344 ("sonnet" ,sonnet)))
1346 `(#:tests? #f)) ;; TODO many test fail for quite different reasons
1347 (home-page "https://cgit.kde.org/messagelib.git")
1348 (synopsis "KDE PIM messaging libraries")
1349 (description "This package provides several libraries for messages,
1350 e.g. a message list, a mime tree parse, a template parser and the
1352 (license ;; GPL for programs, LGPL for libraries
1353 (list license:gpl2+ license:lgpl2.0+))))
1355 (define-public kmime
1362 (uri (string-append "mirror://kde/stable/applications/" version
1363 "/src/kmime-" version ".tar.xz"))
1365 (base32 "1pc00pwwrngsyr7ppvqwfgvcgy2wiqdbqxhv9xidn4dw9way2ng6"))))
1366 (build-system qt-build-system)
1368 `(("extra-cmake-modules" ,extra-cmake-modules)))
1370 `(("kcodecs" ,kcodecs)
1372 ("qtbase" ,qtbase)))
1375 (modify-phases %standard-phases
1376 (add-after 'unpack 'fix-test-case
1378 ;; This is curious: autotests/CMakeLists.txt sets LC_TIME=C, but
1379 ;; the Qt locale returns different. See kmime commit 3a9651d26a.
1380 (substitute* "autotests/dateformattertest.cpp"
1381 (("(Today|Yesterday) 12:34:56" line day)
1382 (string-append day " 12:34 PM")))
1384 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1385 (synopsis "Library for handling MIME data")
1386 (description "This library provides an API for handling MIME
1387 data. MIME (Multipurpose Internet Mail Extensions) is an Internet Standard
1388 that extends the format of e-mail to support text in character sets other than
1389 US-ASCII, non-text attachments, multi-part message bodies, and header
1390 information in non-ASCII character sets.")
1391 (license license:lgpl2.0+)))
1393 (define-public knotes
1400 (uri (string-append "mirror://kde/stable/applications/" version
1401 "/src/knotes-" version ".tar.xz"))
1403 (base32 "128qpfqjn5zwl5550srmbjyxns242q6a3b0jy70jjx2yixy3rb87"))))
1404 (build-system qt-build-system)
1406 `(("extra-cmake-modules" ,extra-cmake-modules)
1407 ("libxslt" ,libxslt)))
1409 `(("akonadi" ,akonadi)
1410 ("akonadi-contacts" ,akonadi-contacts)
1411 ("akonadi-mime" ,akonadi-mime)
1412 ("akonadi-notes" ,akonadi-notes)
1413 ("akonadi-search" ,akonadi-search)
1415 ("grantlee" ,grantlee)
1416 ("grantleetheme" ,grantleetheme)
1417 ("kcalendarcore" ,kcalendarcore)
1418 ("kcalutils" ,kcalutils)
1419 ("kcmutils" ,kcmutils)
1420 ("kcompletion" ,kcompletion)
1421 ("kconfig" ,kconfig)
1422 ("kconfigwidgets" ,kconfigwidgets)
1423 ("kcontacts" ,kcontacts)
1424 ("kcoreaddons" ,kcoreaddons)
1426 ("kdbusaddons" ,kdbusaddons)
1428 ("kdoctools" ,kdoctools)
1429 ("kglobalaccel" ,kglobalaccel)
1430 ("kiconthemes" ,kiconthemes)
1432 ("kitemmodels" ,kitemmodels)
1433 ("kitemviews" ,kitemviews)
1436 ("knewstuff" ,knewstuff)
1437 ("knotifications" ,knotifications)
1438 ("knotifyconfig" ,knotifyconfig)
1439 ("kontactinterface" ,kontactinterface)
1441 ("kpimcommon" ,kpimcommon)
1442 ("kpimtextedit" ,kpimtextedit)
1443 ("ktextwidgets" ,ktextwidgets)
1444 ("kwidgetsaddons" ,kwidgetsaddons)
1445 ("kwindowsystem" ,kwindowsystem)
1446 ("kxmlgui" ,kxmlgui)
1447 ("kxmlgui" ,kxmlgui)
1448 ("libkdepim" ,libkdepim)
1449 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
1451 ("qtx11extras" ,qtx11extras)))
1452 (home-page "https://kontact.kde.org/components/knotes.html")
1453 (synopsis "Note-taking utility")
1454 (description "KNotes lets you write the computer equivalent of sticky
1455 notes. The notes are saved automatically when you exit the program, and they
1456 display when you open the program.
1460 @item Write notes in your choice of font and background color
1461 @item Use drag and drop to email your notes
1462 @item Can be dragged into Calendar to book a time-slot
1463 @item Notes can be printed
1465 (license (list license:gpl2+ license:lgpl2.0+))))
1467 (define-public kontactinterface
1469 (name "kontactinterface")
1474 (uri (string-append "mirror://kde/stable/applications/" version
1475 "/src/kontactinterface-" version ".tar.xz"))
1477 (base32 "1p0iw9i8cxh3jn7094wvxhlpc2sw52q8csfdgch1lf3dwhkpp0k7"))))
1478 (build-system qt-build-system)
1480 `(("extra-cmake-modules" ,extra-cmake-modules)))
1482 `(("kcoreaddons" ,kcoreaddons)
1484 ("kiconthemes" ,kiconthemes)
1486 ("kwindowsystem" ,kwindowsystem)
1487 ("kxmlgui" ,kxmlgui)
1488 ("qtbase" ,qtbase)))
1489 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1490 (synopsis "Kontact interface library")
1491 (description " This library provides the glue necessary for
1492 application \"Parts\" to be embedded as a Kontact component (or plugin).")
1493 (license license:lgpl2.0+)))
1495 (define-public korganizer
1502 (uri (string-append "mirror://kde/stable/applications/" version
1503 "/src/korganizer-" version ".tar.xz"))
1505 (base32 "1ixdmmczccvwr7a6vvzv0kyjay0mjnbwcwkq6yym32m2lb3vcxdn"))))
1506 (build-system qt-build-system)
1508 `(("extra-cmake-modules" ,extra-cmake-modules)
1510 ("qttools" ,qttools)
1511 ("kdoctools" ,kdoctools)))
1513 `(("akonadi" ,akonadi)
1514 ("akonadi-calendar" ,akonadi-calendar)
1515 ("akonadi-contacts" ,akonadi-contacts)
1516 ("akonadi-mime" ,akonadi-mime)
1517 ("akonadi-notes" ,akonadi-notes)
1518 ("akonadi-search" ,akonadi-search)
1520 ("kcalendarcore" ,kcalendarcore)
1521 ("kcalendarsupport" ,kcalendarsupport)
1522 ("kcalutils" ,kcalutils)
1523 ("kcmutils" ,kcmutils)
1524 ("kcodecs" ,kcodecs)
1525 ("kcompletion" ,kcompletion)
1526 ("kconfig" ,kconfig)
1527 ("kconfigwidgets" ,kconfigwidgets)
1528 ("kcontacts" ,kcontacts)
1529 ("kcoreaddons" ,kcoreaddons)
1531 ("kdbusaddons" ,kdbusaddons)
1532 ("kdepim-apps-libs" ,kdepim-apps-libs)
1533 ("keventviews" ,keventviews)
1534 ("kholidays" ,kholidays)
1535 ("kiconthemes" ,kiconthemes)
1536 ("kidentitymanagement" ,kidentitymanagement)
1538 ("kincidenceeditor" ,kincidenceeditor)
1539 ("kitemmodels" ,kitemmodels)
1540 ("kitemviews" ,kitemviews)
1541 ("kjobwidgets" ,kjobwidgets)
1543 ("kmailtransport" ,kmailtransport)
1545 ("knewstuff" ,knewstuff)
1546 ("knotifications" ,knotifications)
1547 ("kontactinterface" ,kontactinterface)
1549 ("kpimcommon" ,kpimcommon)
1550 ("kpimtextedit" ,kpimtextedit)
1551 ("kservice" ,kservice)
1552 ("kwallet" ,kwallet)
1553 ("kwidgetsaddons" ,kwidgetsaddons)
1554 ("kwindowsystem" ,kwindowsystem)
1555 ("kxmlgui" ,kxmlgui)
1556 ("libkdepim" ,libkdepim)
1557 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
1559 ("qtbase" ,qtbase)))
1562 (modify-phases %standard-phases
1565 (invoke "dbus-launch" "ctest" ".")
1567 (home-page "https://kontact.kde.org/components/korganizer.html")
1568 (synopsis "Organizational assistant, providing calendars and other similar
1569 functionality to help you organize your life.")
1570 (description "KOrganizer is the calendar and scheduling component of
1571 Kontact. It provides management of events and tasks, alarm notification, web
1572 export, network transparent handling of data, group scheduling, import and
1573 export of calendar files and more. It is able to work together with a wide
1574 variety of calendaring services, including NextCloud, Kolab, Google Calendar
1575 and others. KOrganizer is fully customizable to your needs and is an integral
1576 part of the Kontact suite, which aims to be a complete solution for organizing
1577 your personal data. KOrganizer supports the two dominant standards for storing
1578 and exchanging calendar data, vCalendar and iCalendar.")
1579 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1580 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1582 (define-public kpimcommon
1589 (uri (string-append "mirror://kde/stable/applications/" version
1590 "/src/pimcommon-" version ".tar.xz"))
1592 (base32 "1jl40ymq46yjn9va78hklgg91ikrfahf3w4jl5ziiqbivcl7r9kn"))))
1593 (properties `((upstream-name . "pimcommon")))
1594 (build-system qt-build-system)
1596 `(("extra-cmake-modules" ,extra-cmake-modules)
1597 ("qttools" ,qttools)))
1599 `(("karchive" ,karchive)
1600 ("akonadi" ,akonadi)
1601 ("akonadi-contacts" ,akonadi-contacts)
1602 ("akonadi-mime" ,akonadi-mime)
1604 ("grantlee" ,grantlee)
1605 ;; TODO: ("kaccounts" ,kaccounts)
1606 ("kcodecs" ,kcodecs)
1607 ("kcompletion" ,kcompletion)
1608 ("kconfig" ,kconfig)
1609 ("kconfigwidgets" ,kconfigwidgets)
1610 ("kcontacts" ,kcontacts)
1611 ("kcoreaddons" ,kcoreaddons)
1612 ("kdbusaddons" ,kdbusaddons)
1613 ("kdesignerplugin" ,kdesignerplugin)
1615 ("kiconthemes" ,kiconthemes)
1618 ("kirigami" ,kirigami) ;; run-time dependency
1619 ("kitemmodels" ,kitemmodels)
1620 ("kitemviews" ,kitemviews)
1621 ("kjobwidgets" ,kjobwidgets)
1623 ("knewstuff" ,knewstuff)
1624 ("kpimtextedit" ,kpimtextedit)
1625 ("kservice" ,kservice)
1626 ("ktextwidgets" ,ktextwidgets)
1627 ("kwallet" ,kwallet)
1628 ("kwidgetsaddons" ,kwidgetsaddons)
1629 ("kwindowsystem" ,kwindowsystem)
1630 ("kxmlgui" ,kxmlgui)
1631 ("libkdepim" ,libkdepim)
1632 ("libxslt" ,libxslt)
1633 ("purpose" ,purpose)
1635 ("qtwebengine" ,qtwebengine)))
1637 `(#:tests? #f)) ;; TODO tests hang
1638 (home-page "https://cgit.kde.org/pimcommon.git")
1639 (synopsis "Common libraries for KDE PIM")
1640 (description "This package provides common libraries for KDE PIM.")
1641 (license ;; GPL for programs, LGPL for libraries
1642 (list license:gpl2+ license:lgpl2.0+))))
1644 (define-public kpimtextedit
1646 (name "kpimtextedit")
1651 (uri (string-append "mirror://kde/stable/applications/" version
1652 "/src/kpimtextedit-" version ".tar.xz"))
1654 (base32 "1as48j5qfpj9pqjck1615nlpk4a850m7xxcyl41gx8biww027zvm"))))
1655 (build-system qt-build-system)
1657 `(("extra-cmake-modules" ,extra-cmake-modules)
1658 ("qttools" ,qttools)))
1660 `(("grantlee" ,grantlee)
1661 ("kcodecs" ,kcodecs)
1662 ("kconfigwidgets" ,kconfigwidgets)
1663 ("kcoreaddons" ,kcoreaddons)
1664 ("kdesignerplugin" ,kdesignerplugin)
1665 ("kemoticons" ,kemoticons)
1667 ("kiconthemes" ,kiconthemes)
1669 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1670 ("ktextwidgets" ,ktextwidgets)
1671 ("kwidgetsaddons" ,kwidgetsaddons)
1672 ("kxmlgui" ,kxmlgui)
1674 ("qtspeech", qtspeech)
1675 ("sonnet" ,sonnet)))
1677 `(#:tests? #f)) ;; TODO - test suite hangs
1678 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1679 (synopsis "Library providing a textedit with PIM-specific features")
1680 (description "This package provides a textedit with PIM-specific features.
1681 It also provides so-called rich text builders which can convert the formatted
1682 text in the text edit to all kinds of markup, like HTML or BBCODE.")
1683 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1684 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1686 (define-public ksmtp
1693 (uri (string-append "mirror://kde/stable/applications/" version
1694 "/src/ksmtp-" version ".tar.xz"))
1696 (base32 "1pd8mma3xbq83jkn76gqinn6xh9imaji0jrg3qzysf5rvjl8kcqn"))))
1697 (build-system qt-build-system)
1699 `(("extra-cmake-modules" ,extra-cmake-modules)))
1701 `(("cyrus-sasl" ,cyrus-sasl)
1702 ("kcodecs" ,kcodecs)
1703 ("kconfig" ,kconfig)
1704 ("kcoreaddons" ,kcoreaddons)
1707 ("qtbase" ,qtbase)))
1709 `(#:tests? #f ;; TODO: does not find sasl mechs
1711 (modify-phases %standard-phases
1712 (add-after 'unpack 'Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing
1714 (substitute* "src/CMakeLists.txt"
1715 (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)"
1717 (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))
1719 (home-page "https://cgit.kde.org/ksmtp.git")
1720 (synopsis "Library for sending email through an SMTP server")
1721 (description "This library provides an API for handling SMTP
1722 services. SMTP (Simple Mail Transfer Protocol) is the most prevalent Internet
1723 standard protocols for e-mail transmission.")
1724 (license license:lgpl2.0+)))
1726 (define-public ktnef
1733 (uri (string-append "mirror://kde/stable/applications/" version
1734 "/src/ktnef-" version ".tar.xz"))
1736 (base32 "0kgfhh46130hg1xq8km5gjzxa3b620j1zdrg54qivxa782smgbl6"))))
1737 (build-system qt-build-system)
1739 `(("extra-cmake-modules" ,extra-cmake-modules)))
1741 `(("kcalendarcore" ,kcalendarcore)
1742 ("kcalutils" ,kcalutils)
1743 ("kcodecs" ,kcodecs)
1744 ("kconfig" ,kconfig)
1745 ("kcontacts" ,kcontacts)
1746 ("kcoreaddons" ,kcoreaddons)
1748 ("qtbase" ,qtbase)))
1749 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/ktnef/html/")
1750 (synopsis "Library for handling mail attachments using TNEF format")
1751 (description "Ktnef is a library for handling data in the TNEF
1752 format (Transport Neutral Encapsulation Format, a proprietary format of e-mail
1753 attachment used by Microsoft Outlook and Microsoft Exchange Server). The API
1754 permits access to the actual attachments, the message properties (TNEF/MAPI),
1755 and allows one to view/extract message formatted text in Rich Text Format.")
1756 (license license:lgpl2.0+)))
1758 (define-public libkdepim
1765 (uri (string-append "mirror://kde/stable/applications/" version
1766 "/src/libkdepim-" version ".tar.xz"))
1768 (base32 "0ndh97w1bfii4snx9yc0qazqk5jhx22s810kj656967xd1w4bj9n"))))
1769 (build-system qt-build-system)
1771 `(("extra-cmake-modules" ,extra-cmake-modules)
1772 ("qttools" ,qttools)))
1774 `(("akonadi" ,akonadi)
1775 ("akonadi-contacts" ,akonadi-contacts)
1776 ("akonadi-mime" ,akonadi-mime)
1777 ("akonadi-search" ,akonadi-search)
1779 ("kcmutils" ,kcmutils)
1780 ("kcodecs" ,kcodecs)
1781 ("kcalendarcore" ,kcalendarcore)
1782 ("kcompletion" ,kcompletion)
1783 ("kconfig" ,kconfig)
1784 ("kconfigwidgets" ,kconfigwidgets)
1785 ("kcontacts" ,kcontacts)
1786 ("kcoreaddons" ,kcoreaddons)
1787 ("kdbusaddons" ,kdbusaddons)
1788 ("kdesignerplugin" ,kdesignerplugin)
1790 ("kiconthemes" ,kiconthemes)
1792 ("kitemmodels" ,kitemmodels)
1793 ("kitemviews" ,kitemviews)
1794 ("kjobwidgets" ,kjobwidgets)
1797 ("kwallet" ,kwallet)
1798 ("kwidgetsaddons" ,kwidgetsaddons)
1799 ("qtbase" ,qtbase)))
1800 (home-page "https://cgit.kde.org/libkdepim.git")
1801 (synopsis "Libraries for common KDE PIM apps")
1802 (description "This package provided libraries for common KDE PIM apps.")
1803 (license ;; GPL for programs, LGPL for libraries
1804 (list license:gpl2+ license:lgpl2.0+))))
1806 (define-public libkgapi
1813 (uri (string-append "mirror://kde/stable/applications/" version
1814 "/src/libkgapi-" version ".tar.xz"))
1816 (base32 "0z76b745n4hhjndrhv1w5acibia8x1frh78jx7bvxa72d8wphn08"))))
1817 (build-system qt-build-system)
1819 `(("extra-cmake-modules" ,extra-cmake-modules)
1820 ("qttools" ,qttools)))
1822 `(("cyrus-sasl" ,cyrus-sasl)
1824 ("kcontacts" ,kcontacts)
1825 ("kcalendarcore" ,kcalendarcore)
1827 ("kwallet" ,kwallet)
1828 ("kwindowsystem" ,kwindowsystem)
1830 ("qtdeclarative" ,qtdeclarative)
1831 ("qtwebchannel" ,qtwebchannel)
1832 ("qtwebengine" ,qtwebengine)))
1834 `(#:tests? #f)) ;; TODO 6/48 tests fail
1835 (home-page "https://cgit.kde.org/libkgapi.git")
1836 (synopsis "Library for accessing various Google services via their public
1838 (description "@code{LibKGAPI} is a C++ library that implements APIs for
1839 various Google services.")
1840 (license license:lgpl2.0+)))
1842 (define-public libkleo
1849 (uri (string-append "mirror://kde/stable/applications/" version
1850 "/src/libkleo-" version ".tar.xz"))
1852 (base32 "0vjp07j102mi20c4q2fdvkjc0skb9q7msxp64n76wy3cciv346jz"))))
1853 (build-system qt-build-system)
1855 `(("extra-cmake-modules" ,extra-cmake-modules)
1856 ("kdoctools" ,kdoctools)
1857 ("qttools" ,qttools)))
1861 ("kcodecs" ,kcodecs)
1862 ("kcompletion" ,kcompletion)
1863 ("kconfig" ,kconfig)
1864 ("kcoreaddons" ,kcoreaddons)
1867 ("kitemmodels" ,kitemmodels)
1868 ("kwidgetsaddons" ,kwidgetsaddons)
1869 ("kwindowsystem" ,kwindowsystem)
1870 ("kpimtextedit" ,kpimtextedit)
1872 ("qtbase" ,qtbase)))
1873 (home-page "https://cgit.kde.org/libkleo.git/")
1874 (synopsis "KDE PIM cryptographic library")
1875 (description "@code{libkleo} is a library for Kleopatra and other parts of
1876 KDE using certificate-based crypto.")
1877 (license ;; GPL for programs, LGPL for libraries
1878 (list license:gpl2+ license:lgpl2.0+))))
1880 (define-public libksieve
1887 (uri (string-append "mirror://kde/stable/applications/" version
1888 "/src/libksieve-" version ".tar.xz"))
1890 (base32 "0q6f6lc4yvlq0vsfml10lz844z6zxxf7yivk7l3vglap58ci20x1"))
1891 (patches (search-patches "libksieve-Fix-missing-link-libraries.patch"))))
1892 (build-system qt-build-system)
1894 `(("extra-cmake-modules" ,extra-cmake-modules)
1895 ("kdoctools" ,kdoctools)))
1897 `(("akonadi" ,akonadi)
1898 ("cyrus-sasl" ,cyrus-sasl)
1899 ("karchive" ,karchive)
1901 ("kiconthemes" ,kiconthemes)
1902 ("kidentitymanagement" ,kidentitymanagement)
1905 ("kmailtransport" ,kmailtransport)
1907 ("knewstuff" ,knewstuff)
1908 ("kpimcommon" ,kpimcommon)
1909 ("kpimtextedit" ,kpimtextedit)
1910 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1911 ("ktextwidgets" ,ktextwidgets)
1912 ("kwallet" ,kwallet)
1913 ("kwindowsystem" ,kwindowsystem)
1914 ("libkdepim" ,libkdepim)
1916 ("qtdeclarative" ,qtdeclarative)
1917 ("qtwebchannel" ,qtwebchannel)
1918 ("qtwebengine" ,qtwebengine)))
1921 (modify-phases %standard-phases
1922 (add-after 'unpack 'substitute
1924 ;; Disable a failing test
1925 ;; sieveeditorhelphtmlwidgettest fails with `sigtrap`
1927 "src/ksieveui/editor/webengine/autotests/CMakeLists.txt"
1928 (("^\\s*(add_test|ecm_mark_as_test)\\W" line)
1929 (string-append "# " line)))
1931 (home-page "https://cgit.kde.org/libksieve.git")
1932 (synopsis "KDE Sieve library")
1933 (description "Sieve is a language that can be used filter emails. KSieve
1934 is a Sieve parser and interpreter library for KDE.")
1935 (license ;; GPL for programs, LGPL for libraries
1936 (list license:gpl2+ license:lgpl2.0+))))