gnu: libdvdcss: Update to 1.4.3.
[jackhill/guix/guix.git] / gnu / packages / kde-pim.scm
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>
4 ;;;
5 ;;; This file is part of GNU Guix.
6 ;;;
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.
11 ;;;
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.
16 ;;;
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/>.
19
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))
42
43 (define-public akonadi
44 (package
45 (name "akonadi")
46 (version "20.04.1")
47 (source
48 (origin
49 (method url-fetch)
50 (uri (string-append "mirror://kde/stable/release-service/" version
51 "/src/akonadi-" version ".tar.xz"))
52 (sha256
53 (base32 "0kkn7lh3akkk9cdi8qdk9kqzs1cgv916mkl440x4ykqd1v8brzqb"))
54 (patches (search-patches
55 "akonadi-paths.patch"
56 "akonadi-timestamps.patch"
57 "akonadi-not-relocatable.patch"))))
58 (build-system qt-build-system)
59 (native-inputs
60 `(("extra-cmake-modules" ,extra-cmake-modules)
61 ("qttools" ,qttools)
62 ("shared-mime-info" ,shared-mime-info)))
63 (inputs
64 `(("boost" ,boost)
65 ("kconfig" ,kconfig)
66 ("kconfigwidgets" ,kconfigwidgets)
67 ("kcoreaddons" ,kcoreaddons)
68 ("kcrash" ,kcrash)
69 ("ki18n" ,ki18n)
70 ("kiconthemes" ,kiconthemes)
71 ("kio" ,kio)
72 ("kitemmodels" ,kitemmodels)
73 ("kitemviews" ,kitemviews)
74 ("kwidgetsaddons" ,kwidgetsaddons)
75 ("kwindowsystem" ,kwindowsystem)
76 ("kxmlgui" ,kxmlgui)
77 ("libxml2" ,libxml2)
78 ("libxslt" ,libxslt)
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.
82 ("qtbase" ,qtbase)
83 ("sqlite" ,sqlite)))
84 (arguments
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)
89 #:phases
90 (modify-phases (@ (guix build qt-build-system) %standard-phases)
91 (add-before 'configure 'add-definitions
92 (lambda _
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"
97 (lambda _
98 (display
99 (string-append
100 "add_compile_definitions(\n"
101 "NIX_OUT=\"" out "\"\n"
102 ;; pin binaries for mysql backend
103 ")\n\n"))
104 (display
105 (call-with-input-file "CMakeLists.txt"
106 get-string-all))))
107 (rename-file "CMakeLists.txt.new" "CMakeLists.txt"))
108 #t)))))
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
114 data.
115
116 This package contains the Akonadi PIM storage server and associated
117 programs.")
118 (license license:fdl1.2+)))
119
120 (define-public akonadi-calendar
121 (package
122 (name "akonadi-calendar")
123 (version "20.04.1")
124 (source
125 (origin
126 (method url-fetch)
127 (uri (string-append "mirror://kde/stable/release-service/" version
128 "/src/akonadi-calendar-" version ".tar.xz"))
129 (sha256
130 (base32 "1mq76qyd3jcngb2yfanpn7qvklzllza399fxwii0mqppp1vmnb2b"))))
131 (build-system qt-build-system)
132 (native-inputs
133 `(("extra-cmake-modules" ,extra-cmake-modules)))
134 (inputs
135 `(("akonadi" ,akonadi)
136 ("akonadi-contacts" ,akonadi-contacts)
137 ("akonadi-mime" ,akonadi-mime)
138 ("boost" ,boost)
139 ("kcalendarcore" ,kcalendarcore)
140 ("kcalutils" ,kcalutils)
141 ("kcodecs" ,kcodecs)
142 ("kcontacts" ,kcontacts)
143 ("ki18n" ,ki18n)
144 ("kiconthemes" ,kiconthemes)
145 ("kidentitymanagement" ,kidentitymanagement)
146 ("kio" ,kio)
147 ("kitemmodels" ,kitemmodels)
148 ("kmailtransport" ,kmailtransport)
149 ("kmime" ,kmime)
150 ("kpimtextedit" ,kpimtextedit)
151 ("ksmtp" ,ksmtp)
152 ("ktextwidgets" ,ktextwidgets)
153 ("kwallet" ,kwallet)
154 ("qtbase" ,qtbase)))
155 (arguments
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+)))
162
163 (define-public akonadi-contacts
164 (package
165 (name "akonadi-contacts")
166 (version "20.04.1")
167 (source
168 (origin
169 (method url-fetch)
170 (uri (string-append "mirror://kde/stable/release-service/" version
171 "/src/akonadi-contacts-" version ".tar.xz"))
172 (sha256
173 (base32 "0igggarnl99s5pl73dgrpha4lf7vnr000iy69vcwmqs5lxb7cyli"))))
174 (build-system qt-build-system)
175 (native-inputs
176 `(("extra-cmake-modules" ,extra-cmake-modules)))
177 (inputs
178 `(("akonadi" ,akonadi)
179 ("boost" ,boost)
180 ("kauth" ,kauth)
181 ("kcodecs" ,kcodecs)
182 ("kcompletion" ,kcompletion)
183 ("kconfigwidgets" ,kconfigwidgets)
184 ("kcontacts" ,kcontacts)
185 ("kcoreaddons" ,kcoreaddons)
186 ("kdbusaddons" ,kdbusaddons)
187 ("ki18n" ,ki18n)
188 ("kiconthemes" ,kiconthemes)
189 ("kitemmodels" ,kitemmodels)
190 ("kitemviews" ,kitemviews)
191 ("kjobwidgets" ,kjobwidgets)
192 ("kmime" ,kmime)
193 ("kservice" ,kservice)
194 ("ktextwidgets" ,ktextwidgets)
195 ("kwidgetsaddons" ,kwidgetsaddons)
196 ("kxmlgui" ,kxmlgui)
197 ("prison" ,prison)
198 ("kio" ,kio)
199 ("qtbase" ,qtbase)
200 ("solid" ,solid)
201 ("sonnet" ,sonnet)))
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.
208
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+))))
213
214 (define-public akonadi-mime
215 (package
216 (name "akonadi-mime")
217 (version "20.04.1")
218 (source
219 (origin
220 (method url-fetch)
221 (uri (string-append "mirror://kde/stable/release-service/" version
222 "/src/akonadi-mime-" version ".tar.xz"))
223 (sha256
224 (base32 "1wd776ia3z22a79biq04y4m83n8xpvfmyg8bcsslr7lmc3avdg8w"))))
225 (build-system qt-build-system)
226 (native-inputs
227 `(("extra-cmake-modules" ,extra-cmake-modules)
228 ("libxslt" ,libxslt) ;; xslt for generating interface descriptions
229 ("shared-mime-info" ,shared-mime-info)))
230 (inputs
231 `(("akonadi" ,akonadi)
232 ("boost" ,boost)
233 ("kcodecs" ,kcodecs)
234 ("kconfig" ,kconfig)
235 ("kconfigwidgets" ,kconfigwidgets)
236 ("kdbusaddons" ,kdbusaddons)
237 ("ki18n" ,ki18n)
238 ("kio" ,kio)
239 ("kitemmodels" ,kitemmodels)
240 ("kmime" ,kmime)
241 ("kwidgetsaddons" ,kwidgetsaddons)
242 ("kxmlgui" ,kxmlgui)
243 ("qtbase" ,qtbase)))
244 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
245 (arguments
246 `(#:phases
247 (modify-phases %standard-phases
248 (add-after 'unpack 'copy-desktop-file-early
249 (lambda _
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")))
254 #t))
255 (add-before 'check 'check-setup
256 (lambda _
257 (setenv "HOME" "/tmp")
258 #t)))))
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+))))
266
267 (define-public akonadi-notes
268 (package
269 (name "akonadi-notes")
270 (version "20.04.1")
271 (source
272 (origin
273 (method url-fetch)
274 (uri (string-append "mirror://kde/stable/release-service/" version
275 "/src/akonadi-notes-" version ".tar.xz"))
276 (sha256
277 (base32 "04y293kjrmjjcbb7fkjl7hl4vrks4cjjxnvc6ibzyv81rn6cdhh2"))))
278 (build-system qt-build-system)
279 (native-inputs
280 `(("extra-cmake-modules" ,extra-cmake-modules)))
281 (inputs
282 `(("akonadi" ,akonadi)
283 ("kcodecs" ,kcodecs)
284 ("ki18n" ,ki18n)
285 ("kmime" ,kmime)
286 ("qtbase" ,qtbase)))
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+))))
295
296 (define-public akonadi-search
297 (package
298 (name "akonadi-search")
299 (version "20.04.1")
300 (source
301 (origin
302 (method url-fetch)
303 (uri (string-append "mirror://kde/stable/release-service/" version
304 "/src/akonadi-search-" version ".tar.xz"))
305 (sha256
306 (base32 "1h5p44y244gzf7ndzw7afrvq9c76ybp8ddvg82p3lzjh02rrvd50"))))
307 (build-system qt-build-system)
308 (native-inputs
309 `(("extra-cmake-modules" ,extra-cmake-modules)
310
311 ;; For tests.
312 ("dbus" ,dbus)))
313 (inputs
314 `(("akonadi" ,akonadi)
315 ("akonadi-mime" ,akonadi-mime)
316 ("boost" ,boost)
317 ("kcalendarcore" ,kcalendarcore)
318 ("kcmutils" ,kcmutils)
319 ("kcontacts" ,kcontacts)
320 ("kcrash" ,kcrash)
321 ("kdbusaddons" ,kdbusaddons)
322 ("ki18n" ,ki18n)
323 ("kio" ,kio)
324 ("kitemmodels" ,kitemmodels)
325 ("kmime" ,kmime)
326 ("krunner" ,krunner)
327 ("kwindowsystem" ,kwindowsystem)
328 ("qtbase" ,qtbase)
329 ("xapian" ,xapian)))
330 (arguments
331 `(#:phases (modify-phases %standard-phases
332 (add-after 'unpack 'disable-failing-test
333 (lambda _
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.*")
339 ""))
340 #t))
341 (replace 'check
342 (lambda _
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+))))
350
351 (define-public kincidenceeditor
352 (package
353 (name "kincidenceeditor")
354 (version "20.04.1")
355 (source
356 (origin
357 (method url-fetch)
358 (uri (string-append "mirror://kde/stable/release-service/" version
359 "/src/incidenceeditor-" version ".tar.xz"))
360 (sha256
361 (base32 "1xpp5lw60mvpjsjsxmicfa5y2d68wnb9vm4yb1krwkihm852ziny"))))
362 (properties `((upstream-name . "incidenceeditor")))
363 (build-system qt-build-system)
364 (native-inputs
365 `(("extra-cmake-modules" ,extra-cmake-modules)))
366 (inputs
367 `(("akonadi" ,akonadi)
368 ("akonadi-calendar" ,akonadi-calendar)
369 ("akonadi-contacts" ,akonadi-contacts)
370 ("akonadi-mime" ,akonadi-mime)
371 ("boost" ,boost)
372 ("kcalendarcore" ,kcalendarcore)
373 ("kcalendarsupport" ,kcalendarsupport)
374 ("kcalutils" ,kcalutils)
375 ("kcodecs" ,kcodecs)
376 ("kcontacts" ,kcontacts)
377 ("kdbusaddons" ,kdbusaddons)
378 ("kdepim-apps-libs" ,kdepim-apps-libs)
379 ("kdiagram" ,kdiagram)
380 ("keventviews" ,keventviews)
381 ("ki18n" ,ki18n)
382 ("kiconthemes" ,kiconthemes)
383 ("kidentitymanagement" ,kidentitymanagement)
384 ("kio" ,kio)
385 ("kitemmodels" ,kitemmodels)
386 ("kldap" ,kldap)
387 ("kmailtransport" ,kmailtransport)
388 ("kmime" ,kmime)
389 ("kpimtextedit" ,kpimtextedit)
390 ("ktextwidgets" ,ktextwidgets)
391 ("kwallat" ,kwallet)
392 ("libkdepim" ,libkdepim)
393 ("qtbase" ,qtbase)))
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+))))
399
400 (define-public kaddressbook
401 (package
402 (name "kaddressbook")
403 (version "20.04.1")
404 (source
405 (origin
406 (method url-fetch)
407 (uri (string-append "mirror://kde/stable/release-service/" version
408 "/src/kaddressbook-" version ".tar.xz"))
409 (sha256
410 (base32 "1vpdhdj87ai2sxjn2jk3mh6bzfr1n3yzydnkgv7nc8v1m2fdawap"))))
411 (build-system qt-build-system)
412 (native-inputs
413 `(("extra-cmake-modules" ,extra-cmake-modules)))
414 (inputs
415 `(("akonadi" ,akonadi)
416 ("akonadi-contacts" ,akonadi-contacts)
417 ("akonadi-mime" ,akonadi-mime)
418 ("akonadi-search" ,akonadi-search)
419 ("boost" ,boost)
420 ("gpgme" ,gpgme)
421 ("grantlee" ,grantlee)
422 ("grantleetheme" ,grantleetheme)
423 ("kcalendarcore" ,kcalendarcore)
424 ("kcmutils" ,kcmutils)
425 ("kcompletion" ,kcompletion)
426 ("kcontacts" ,kcontacts)
427 ("kcrash" ,kcrash)
428 ("kdbusaddons" ,kdbusaddons)
429 ("kdepim-apps-libs" ,kdepim-apps-libs)
430 ("kdoctools" ,kdoctools)
431 ("ki18n" ,ki18n)
432 ("kiconthemes" ,kiconthemes)
433 ("kimap" ,kimap)
434 ("kio" ,kio)
435 ("kitemmodels" ,kitemmodels)
436 ("kmime" ,kmime)
437 ("kontactinterface" ,kontactinterface)
438 ("kparts" ,kparts)
439 ("kpimcommon" ,kpimcommon)
440 ("kpimtextedit" ,kpimtextedit)
441 ("ktextwidgets" ,ktextwidgets)
442 ("kxmlgui" ,kxmlgui)
443 ("libkdepim" ,libkdepim)
444 ("libkleo" ,libkleo)
445 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
446 ("prison" ,prison)
447 ("qgpgme" ,qgpgme)
448 ("qtbase" ,qtbase)))
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
454 CalDAV server.")
455 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
456
457 (define-public kalarmcal
458 (package
459 (name "kalarmcal")
460 (version "20.04.1")
461 (source
462 (origin
463 (method url-fetch)
464 (uri (string-append "mirror://kde/stable/release-service/" version
465 "/src/kalarmcal-" version ".tar.xz"))
466 (sha256
467 (base32 "0g0bm4zzzcpl2pqqf609349zagwrgj6a4ibxpgg4zf21aacdq8bi"))))
468 (build-system qt-build-system)
469 (native-inputs
470 `(("extra-cmake-modules" ,extra-cmake-modules)))
471 (inputs
472 `(("akonadi" ,akonadi)
473 ("boost" ,boost)
474 ("kcalendarcore" ,kcalendarcore)
475 ("kcalutils" ,kcalutils)
476 ("kcompletion" ,kcompletion)
477 ("kconfig" ,kconfig)
478 ("kconfigwidgets" ,kconfigwidgets)
479 ("kcoreaddons" ,kcoreaddons)
480 ("kdbusaddons" ,kdbusaddons)
481 ("kholidays" ,kholidays)
482 ("ki18n" ,ki18n)
483 ("kidentitymanagement" ,kidentitymanagement)
484 ("kio" ,kio)
485 ("kitemmodels" ,kitemmodels)
486 ("kpimtextedit" ,kpimtextedit)
487 ("ktextwidgets" ,ktextwidgets)
488 ("kxmlgui" ,kxmlgui)
489 ("qtbase" ,qtbase)))
490 (arguments
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
495 calendar data.")
496 (license license:lgpl2.0+)))
497
498 (define-public kblog
499 (package
500 (name "kblog")
501 (version "20.04.1")
502 (source
503 (origin
504 (method url-fetch)
505 (uri (string-append "mirror://kde/stable/release-service/" version
506 "/src/kblog-" version ".tar.xz"))
507 (sha256
508 (base32 "0pi3axs58wsz5vq6vyisz73s24q739zplwrblyvkcm16nll4mvhk"))))
509 (build-system qt-build-system)
510 (native-inputs
511 `(("extra-cmake-modules" ,extra-cmake-modules)))
512 (inputs
513 `(("kcalendarcore" ,kcalendarcore)
514 ("kcoreaddons" ,kcoreaddons)
515 ("ki18n" ,ki18n)
516 ("kio" ,kio)
517 ("kxmlrpcclient" ,kxmlrpcclient)
518 ("qtbase" ,qtbase)
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
523 APIs")
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+)))
531
532 (define-public kcalendarsupport
533 (package
534 (name "kcalendarsupport")
535 (version "20.04.1")
536 (source
537 (origin
538 (method url-fetch)
539 (uri (string-append "mirror://kde/stable/release-service/" version
540 "/src/calendarsupport-" version ".tar.xz"))
541 (sha256
542 (base32 "1yv3hs7qw481cxw4kzbx5l8vv18bgzm1b0vj3zrlqqxwl5ac6xvy"))))
543 (properties `((upstream-name . "calendarsupport")))
544 (build-system qt-build-system)
545 (native-inputs
546 `(("extra-cmake-modules" ,extra-cmake-modules)
547 ("qttools" ,qttools)))
548 (inputs
549 `(("akonadi" ,akonadi)
550 ("akonadi-calendar" ,akonadi-calendar)
551 ("akonadi-mime" ,akonadi-mime)
552 ("boost" ,boost)
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)
560 ("ki18n" ,ki18n)
561 ("kiconthemes" ,kiconthemes)
562 ("kidentitymanagement" ,kidentitymanagement)
563 ("kio" ,kio)
564 ("kitemmodels" ,kitemmodels)
565 ("kmime" ,kmime)
566 ("kpimcommon" ,kpimcommon)
567 ("kpimtextedit" ,kpimtextedit)
568 ("ktextwidgets" ,ktextwidgets)
569 ("kxmlgui" ,kxmlgui)
570 ("qtbase" ,qtbase)))
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+))))
577
578 (define-public kcalutils
579 (package
580 (name "kcalutils")
581 (version "20.04.1")
582 (source
583 (origin
584 (method url-fetch)
585 (uri (string-append "mirror://kde/stable/release-service/" version
586 "/src/kcalutils-" version ".tar.xz"))
587 (sha256
588 (base32 "0v268w8vhgqxq1nwv9b9cy4h7zqgjrv19r44g3zc9w5j76ivix86"))))
589 (build-system qt-build-system)
590 (native-inputs
591 `(("extra-cmake-modules" ,extra-cmake-modules)
592 ("libxml2" ,libxml2))) ;; xmllint required for tests
593 (inputs
594 `(("grantlee" ,grantlee)
595 ("kcalendarcore" ,kcalendarcore)
596 ("kcodecs" ,kcodecs)
597 ("kconfig" ,kconfig)
598 ("kconfigwidgets" ,kconfigwidgets)
599 ("kcoreaddons" ,kcoreaddons)
600 ("ki18n" ,ki18n)
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
607 ("qtbase" ,qtbase)))
608 (arguments
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
612 data")
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+)))
616
617 (define-public kdav
618 (package
619 (name "kdav")
620 (version "20.04.3")
621 (source
622 (origin
623 (method url-fetch)
624 (uri (string-append "mirror://kde/stable/release-service/" version
625 "/src/kdav-" version ".tar.xz"))
626 (sha256
627 (base32 "0445gl4xm0h39igkxgb6vmq5iaa04wkgrgbs7nfd0zwngk8xaidn"))))
628 (build-system qt-build-system)
629 (native-inputs
630 `(("extra-cmake-modules" ,extra-cmake-modules)))
631 (inputs
632 `(("kcoreaddons" ,kcoreaddons)
633 ("ki18n" ,ki18n)
634 ("kio" ,kio)
635 ("qtbase" ,qtbase)
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+))))
644
645 (define-public kdepim-apps-libs
646 (package
647 (name "kdepim-apps-libs")
648 (version "20.04.1")
649 (source
650 (origin
651 (method url-fetch)
652 (uri (string-append "mirror://kde/stable/release-service/" version
653 "/src/kdepim-apps-libs-" version ".tar.xz"))
654 (sha256
655 (base32 "0m9qrfjs97anh9h6ibggx23ddlm1zkxjap2iyf3gf672ip01fvci"))))
656 (build-system qt-build-system)
657 (native-inputs
658 `(("extra-cmake-modules" ,extra-cmake-modules)))
659 (inputs
660 `(("akonadi" ,akonadi)
661 ("akonadi-contacts" ,akonadi-contacts)
662 ("boost" ,boost)
663 ("gpgme" ,gpgme)
664 ("grantlee" ,grantlee)
665 ("grantleetheme" ,grantleetheme)
666 ("kconfig" ,kconfig)
667 ("kconfigwidgets" ,kconfigwidgets)
668 ("kcontacts" ,kcontacts)
669 ("kcoreaddons" ,kcoreaddons)
670 ("ki18n" ,ki18n)
671 ("kimap" ,kimap)
672 ("kio" ,kio)
673 ("kitemmodels" ,kitemmodels)
674 ("kmime" ,kmime)
675 ("kpimcommon" ,kpimcommon)
676 ("kservice" ,kservice)
677 ("kwidgetsaddons" ,kwidgetsaddons)
678 ("libkleo" ,libkleo)
679 ("prison" ,prison)
680 ("qgpgme" ,qgpgme)
681 ("qtbase" ,qtbase)))
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
685 for KDE PIM.")
686 (license ;; GPL for programs, LGPL for libraries
687 (list license:gpl2+ license:lgpl2.0+))))
688
689 (define-public kdepim-runtime
690 (package
691 (name "kdepim-runtime")
692 (version "20.04.1")
693 (source
694 (origin
695 (method url-fetch)
696 (uri (string-append "mirror://kde/stable/release-service/" version
697 "/src/kdepim-runtime-" version ".tar.xz"))
698 (sha256
699 (base32 "1in4x4wvgclkni72cfkw9jx35d0qd0jmfwybm3ksx5qx5sbki9gg"))))
700 (build-system qt-build-system)
701 (native-inputs
702 `(("extra-cmake-modules" ,extra-cmake-modules)
703 ("dbus" ,dbus)
704 ("kdoctools" ,kdoctools)
705 ("libxslt" ,libxslt)
706 ("shared-mime-info" ,shared-mime-info)))
707 (inputs
708 `(("akonadi" ,akonadi)
709 ("akonadi-calendar" ,akonadi-calendar)
710 ("akonadi-contacts" ,akonadi-contacts)
711 ("akonadi-mime" ,akonadi-mime)
712 ("akonadi-notes" ,akonadi-notes)
713 ("boost" ,boost)
714 ("cyrus-sasl" ,cyrus-sasl)
715 ("kalarmcal" ,kalarmcal)
716 ("kcalendarcore" ,kcalendarcore)
717 ("kcalutils" ,kcalutils)
718 ("kcodecs" ,kcodecs)
719 ("kconfig" ,kconfig)
720 ("kconfigwidgets" ,kconfigwidgets)
721 ("kcontacts" ,kcontacts)
722 ("kdav" ,kdav)
723 ("kholidays" ,kholidays)
724 ("kidentitymanagement" ,kidentitymanagement)
725 ("kimap" ,kimap)
726 ("kio" ,kio)
727 ("kitemmodels" ,kitemmodels)
728 ("kmailtransport" ,kmailtransport)
729 ("kmbox" ,kmbox)
730 ("kmime" ,kmime)
731 ("knotifications" ,knotifications)
732 ("knotifyconfig" ,knotifyconfig)
733 ("kpimcommon" ,kpimcommon)
734 ("kpimtextedit" ,kpimtextedit)
735 ("kross" ,kross)
736 ("ktextwidgets" ,ktextwidgets)
737 ("kwallet" ,kwallet)
738 ("kwindowsystem" ,kwindowsystem)
739 ("libkgapi" ,libkgapi)
740 ;; TODO: libkolab
741 ("qca" ,qca)
742 ("qtbase" ,qtbase)
743 ("qtdeclarative" ,qtdeclarative)
744 ("qtnetworkauth" ,qtnetworkauth)
745 ("qtspeech" ,qtspeech)
746 ("qtwebchannel" ,qtwebchannel)
747 ("qtwebengine" ,qtwebengine)
748 ("qtxmlpatterns" ,qtxmlpatterns)))
749 (arguments
750 ;; TODO: 5/45 tests fail for quite different reasons, even with
751 ;; "offscreen" and dbus
752 `(#:tests? #f
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
758 ;; this hack.
759 (setenv "CPLUS_INCLUDE_PATH"
760 (string-append (assoc-ref inputs "akonadi-mime")
761 "/include/KF5:"
762 (or (getenv "CPLUS_INCLUDE_PATH") "")))
763 #t)))))
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
769 package.")
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+))))
774
775 (define-public keventviews
776 (package
777 (name "keventviews")
778 (version "20.04.1")
779 (source
780 (origin
781 (method url-fetch)
782 (uri (string-append "mirror://kde/stable/release-service/" version
783 "/src/eventviews-" version ".tar.xz"))
784 (sha256
785 (base32 "0si9p95rgp7mgkzhzwyy10zrwzy1kipbhm1y96yjlc9rxi3jrc73"))))
786 (properties `((upstream-name . "eventviews")))
787 (build-system qt-build-system)
788 (native-inputs
789 `(("extra-cmake-modules" ,extra-cmake-modules)
790 ("qttools" ,qttools)))
791 (inputs
792 `(("akonadi" ,akonadi)
793 ("akonadi-calendar" ,akonadi-calendar)
794 ("akonadi-contacts" ,akonadi-contacts)
795 ("boost" ,boost)
796 ("kcalendarcore" ,kcalendarcore)
797 ("kcalendarsupport" ,kcalendarsupport)
798 ("kcalutils" ,kcalutils)
799 ("kcodecs" ,kcodecs)
800 ("kcompletion" ,kcompletion)
801 ("kconfigwidgets" ,kconfigwidgets)
802 ("kcontacts" ,kcontacts)
803 ("kdbusaddons" ,kdbusaddons)
804 ("kdiagram" ,kdiagram)
805 ("kguiaddons" ,kguiaddons)
806 ("kholidays" ,kholidays)
807 ("ki18n" ,ki18n)
808 ("kiconthemes" ,kiconthemes)
809 ("kidentitymanagement" ,kidentitymanagement)
810 ("kio" ,kio)
811 ("kitemmodels" ,kitemmodels)
812 ("kmime" ,kmime)
813 ("kpimtextedit" ,kpimtextedit)
814 ("kservice" ,kservice)
815 ("ktextwidgets" ,ktextwidgets)
816 ("kxmlgui" ,kxmlgui)
817 ("libkdepim" ,libkdepim)
818 ("qtbase" ,qtbase)))
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+))))
824
825 (define-public kgpg
826 (package
827 (name "kgpg")
828 (version "20.04.1")
829 (source
830 (origin
831 (method url-fetch)
832 (uri (string-append "mirror://kde/stable/release-service/" version
833 "/src/kgpg-" version ".tar.xz"))
834 (sha256
835 (base32 "03d3gsbara7ga2cyrhafkw11qq9cj804h9vpvxl4wd2a9c90snkh"))))
836 (build-system qt-build-system)
837 (native-inputs
838 `(("extra-cmake-modules" ,extra-cmake-modules)
839 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
840 ("kdoctools" ,kdoctools)))
841 (inputs
842 `(("akonadi" ,akonadi)
843 ("akonadi-contacts" ,akonadi-contacts)
844 ("boost" ,boost)
845 ("gpgme" ,gpgme)
846 ("karchive" ,karchive)
847 ("kcodecs" ,kcodecs)
848 ("kcontacts" ,kcontacts)
849 ("kcoreaddons" ,kcoreaddons)
850 ("kcrash" ,kcrash)
851 ("kdbusaddons" ,kdbusaddons)
852 ("ki18n" ,ki18n)
853 ("kiconthemes" ,kiconthemes)
854 ("kio" ,kio)
855 ("kitemmodels" ,kitemmodels)
856 ("kjobwidgets" ,kjobwidgets)
857 ("knotifications" ,knotifications)
858 ("kservice" ,kservice)
859 ("ktextwidgets" ,ktextwidgets)
860 ("kwidgetsaddons" ,kwidgetsaddons)
861 ("kwindowsystem" ,kwindowsystem)
862 ("kxmlgui" ,kxmlgui)
863 ("oxygen-icons" ,oxygen-icons) ;; default icon set
864 ("qtbase" ,qtbase)))
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+)))
872
873 (define-public kidentitymanagement
874 (package
875 (name "kidentitymanagement")
876 (version "20.04.1")
877 (source
878 (origin
879 (method url-fetch)
880 (uri (string-append "mirror://kde/stable/release-service/" version
881 "/src/kidentitymanagement-" version ".tar.xz"))
882 (sha256
883 (base32 "0flp9p9hlr1zfgvsy5i1nq55p7bvnhqxkxbif1lyw0cq6iblxhgr"))))
884 (build-system qt-build-system)
885 (native-inputs
886 `(("extra-cmake-modules" ,extra-cmake-modules)))
887 (inputs
888 `(("kcodecs" ,kcodecs)
889 ("kcompletion" ,kcompletion)
890 ("kconfig" ,kconfig)
891 ("kcoreaddons" ,kcoreaddons)
892 ("kemoticons" ,kemoticons)
893 ("kiconthemes" ,kiconthemes)
894 ("kio" ,kio)
895 ("kpimtextedit" ,kpimtextedit)
896 ("ktextwidgets" ,ktextwidgets)
897 ("kxmlgui" ,kxmlgui)
898 ("qtbase" ,qtbase)))
899 (arguments
900 `(#:phases
901 (modify-phases %standard-phases
902 (add-before 'check 'set-home
903 (lambda _
904 (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this?
905 #t)))))
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+))))
911
912 (define-public kimap
913 (package
914 (name "kimap")
915 (version "20.04.1")
916 (source
917 (origin
918 (method url-fetch)
919 (uri (string-append "mirror://kde/stable/release-service/" version
920 "/src/kimap-" version ".tar.xz"))
921 (sha256
922 (base32 "1x22wfzqp92mn1fy2xl89k9yjfk2vgcva0fd30i9rrqj4aw2rsma"))))
923 (build-system qt-build-system)
924 (native-inputs
925 `(("extra-cmake-modules" ,extra-cmake-modules)))
926 (inputs
927 `(("cyrus-sasl" ,cyrus-sasl)
928 ("kcoreaddons" ,kcoreaddons)
929 ("ki18n" ,ki18n)
930 ("kio" ,kio)
931 ("kmime" ,kmime)
932 ("qtbase" ,qtbase)))
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
939 easier to do so.")
940 (license ;; GPL for programs, LGPL for libraries
941 (list license:gpl2+ license:lgpl2.0+))))
942
943 (define-public kldap
944 (package
945 (name "kldap")
946 (version "20.04.1")
947 (source
948 (origin
949 (method url-fetch)
950 (uri (string-append "mirror://kde/stable/release-service/" version
951 "/src/kldap-" version ".tar.xz"))
952 (sha256
953 (base32 "0whlp586ycsx0qf0nr81avwscpq62w5js46z7vayy0dxkhrhfayr"))))
954 (build-system qt-build-system)
955 (native-inputs
956 `(("extra-cmake-modules" ,extra-cmake-modules)
957 ("kdoctools" ,kdoctools)))
958 (inputs
959 `(("ki18n" ,ki18n)
960 ("kio" ,kio)
961 ("kwidgetsaddons" ,kwidgetsaddons)
962 ("qtbase" ,qtbase)))
963 (propagated-inputs
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+)))
972
973 (define-public kleopatra
974 (package
975 (name "kleopatra")
976 (version "20.04.1")
977 (source
978 (origin
979 (method url-fetch)
980 (uri (string-append "mirror://kde/stable/release-service/" version
981 "/src/kleopatra-" version ".tar.xz"))
982 (sha256
983 (base32 "1m50nzb2m27fkb8z3k34cv4zi2akr0fx8zn7lk5swhg49sgrip6n"))))
984 (build-system qt-build-system)
985 (native-inputs
986 `(("dbus" ,dbus)
987 ("extra-cmake-modules" ,extra-cmake-modules)
988 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
989 ("kdoctools" ,kdoctools)))
990 (inputs
991 `(("boost" ,boost)
992 ("gpgme" ,gpgme)
993 ("kcmutils" ,kcmutils)
994 ("kcodecs" ,kcodecs)
995 ("kconfig" ,kconfig)
996 ("kconfigwidgets" ,kconfigwidgets)
997 ("kcoreaddons" ,kcoreaddons)
998 ("kcrash" ,kcrash)
999 ("kdbusaddons" ,kdbusaddons)
1000 ("ki18n" ,ki18n)
1001 ("kiconthemes" ,kiconthemes)
1002 ("kitemmodels" ,kitemmodels)
1003 ("kmime" ,kmime)
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
1012 ("qgpgme" ,qgpgme)
1013 ("qtbase" ,qtbase)))
1014 (arguments
1015 `(#:phases
1016 (modify-phases %standard-phases
1017 (replace 'check
1018 (lambda _
1019 (invoke "dbus-launch" "ctest" ".")
1020 #t)))))
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+))))
1028
1029 (define-public kmail
1030 (package
1031 (name "kmail")
1032 (version "20.04.1")
1033 (source
1034 (origin
1035 (method url-fetch)
1036 (uri (string-append "mirror://kde/stable/release-service/" version
1037 "/src/kmail-" version ".tar.xz"))
1038 (sha256
1039 (base32 "06qfxzi5pasm6p5ck44sjca96dz8xzd1nndq5lqcyvcxmmnvvz3p"))
1040 (patches (search-patches "kmail-Fix-missing-link-libraries.patch"))))
1041 (build-system qt-build-system)
1042 (native-inputs
1043 `(("extra-cmake-modules" ,extra-cmake-modules)
1044 ("dbus" ,dbus)
1045 ("kdoctools" ,kdoctools)))
1046 (inputs
1047 `(("akonadi" ,akonadi)
1048 ("akonadi-contacts" ,akonadi-contacts)
1049 ("akonadi-mime" ,akonadi-mime)
1050 ("akonadi-search" ,akonadi-search)
1051 ("boost" ,boost)
1052 ("gpgme" ,gpgme)
1053 ("kbookmarks" ,kbookmarks)
1054 ("kcalendarcore" ,kcalendarcore)
1055 ("kcalutils" ,kcalutils)
1056 ("kcmutils" ,kcmutils)
1057 ("kcodecs" ,kcodecs)
1058 ("kconfig" ,kconfig)
1059 ("kconfigwidgets" ,kconfigwidgets)
1060 ("kcontacts" ,kcontacts)
1061 ("kcrash" ,kcrash)
1062 ("kdbusaddons" ,kdbusaddons)
1063 ("kdepim-apps-libs" ,kdepim-apps-libs)
1064 ("kguiaddons" ,kguiaddons)
1065 ("ki18n" ,ki18n)
1066 ("kiconthemes" ,kiconthemes)
1067 ("kidentitymanagement" ,kidentitymanagement)
1068 ("kimap" ,kimap)
1069 ("kio" ,kio)
1070 ("kitemmodels" ,kitemmodels)
1071 ("kitemviews" ,kitemviews)
1072 ("kjobwidgets" ,kjobwidgets)
1073 ("kldap" ,kldap)
1074 ("kmailcommon" ,kmailcommon)
1075 ("kmailtransport" ,kmailtransport)
1076 ("kmessagelib" ,kmessagelib)
1077 ("kmime" ,kmime)
1078 ("kmime" ,kmime)
1079 ("knotifications" ,knotifications)
1080 ("knotifyconfig" ,knotifyconfig)
1081 ("kontactinterface" ,kontactinterface)
1082 ("kparts" ,kparts)
1083 ("kpimcommon" ,kpimcommon)
1084 ("kpimtextedit" ,kpimtextedit)
1085 ("kservice" ,kservice)
1086 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1087 ("ktextwidgets" ,ktextwidgets)
1088 ("ktnef" ,ktnef)
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
1098 ("qgpgme" ,qgpgme)
1099 ("qtbase" ,qtbase)
1100 ("qtdeclarative" ,qtdeclarative)
1101 ("qtwebchannel" ,qtwebchannel)
1102 ("qtwebengine" ,qtwebengine)
1103 ("sonnet" ,sonnet)))
1104 (arguments
1105 `(#:phases
1106 (modify-phases %standard-phases
1107 (replace 'check
1108 (lambda _
1109 (invoke "dbus-launch" "ctest" ".")
1110 #t)))))
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
1116 Environments.
1117
1118 KMail is the email component of Kontact, the integrated personal information
1119 manager from KDE.")
1120 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1121 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1122
1123 (define-public kmailcommon
1124 (package
1125 (name "kmailcommon")
1126 (version "20.04.1")
1127 (source
1128 (origin
1129 (method url-fetch)
1130 (uri (string-append "mirror://kde/stable/release-service/" version
1131 "/src/mailcommon-" version ".tar.xz"))
1132 (sha256
1133 (base32 "0q1k57zx1l7bnzrk1hadjxjn6r4yzz833mgsvaai9sd8qg022x2l"))))
1134 (properties `((upstream-name . "mailcommon")))
1135 (build-system qt-build-system)
1136 (native-inputs
1137 `(("extra-cmake-modules" ,extra-cmake-modules)
1138 ("dbus" ,dbus)
1139 ("gnupg" ,gnupg)
1140 ("qttools" ,qttools)))
1141 (inputs
1142 `(("akonadi" ,akonadi)
1143 ("akonadi-contacts" ,akonadi-contacts)
1144 ("akonadi-mime" ,akonadi-mime)
1145 ("boost" ,boost)
1146 ("gpgme" ,gpgme)
1147 ("karchive" ,karchive)
1148 ("kcodecs" ,kcodecs)
1149 ("kcompletion" ,kcompletion)
1150 ("kconfig" ,kconfig)
1151 ("kconfigwidgets" ,kconfigwidgets)
1152 ("kcontacts" ,kcontacts)
1153 ("kdbusaddons" ,kdbusaddons)
1154 ("kdesignerplugin" ,kdesignerplugin)
1155 ("ki18n" ,ki18n)
1156 ("kiconthemes" ,kiconthemes)
1157 ("kidentitymanagement" ,kidentitymanagement)
1158 ("kimap" ,kimap)
1159 ("kio" ,kio)
1160 ("kitemmodels" ,kitemmodels)
1161 ("kitemviews" ,kitemviews)
1162 ("kldap" ,kldap)
1163 ("kmailimporter" ,kmailimporter)
1164 ("kmailtransport" ,kmailtransport)
1165 ("kmessagelib" ,kmessagelib)
1166 ("kmime" ,kmime)
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)
1178 ("phonon" ,phonon)
1179 ("qgpgme" ,qgpgme)
1180 ("qtbase" ,qtbase)))
1181 (arguments
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+))))
1189
1190 (define-public kmailimporter
1191 (package
1192 (name "kmailimporter")
1193 (version "20.04.1")
1194 (source
1195 (origin
1196 (method url-fetch)
1197 (uri (string-append "mirror://kde/stable/release-service/" version
1198 "/src/mailimporter-" version ".tar.xz"))
1199 (sha256
1200 (base32 "1929pw0shdzi0yvjnqhak680hjjibg8f8hqy3svyxxhiqbhfjm26"))))
1201 (properties `((upstream-name . "mailimporter")))
1202 (build-system qt-build-system)
1203 (native-inputs
1204 `(("extra-cmake-modules" ,extra-cmake-modules)))
1205 (inputs
1206 `(("akonadi" ,akonadi)
1207 ("akonadi-mime" ,akonadi-mime)
1208 ("boost" ,boost)
1209 ("karchive" ,karchive)
1210 ("kcompletion" ,kcompletion)
1211 ("kconfig" ,kconfig)
1212 ("kconfigwidgets" ,kconfigwidgets)
1213 ("kcoreaddons" ,kcoreaddons)
1214 ("kdbusaddons" ,kdbusaddons)
1215 ("ki18n" ,ki18n)
1216 ("kio" ,kio)
1217 ("kitemmodels" ,kitemmodels)
1218 ("kmime" ,kmime)
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+))))
1228
1229 (define-public kmailtransport
1230 (package
1231 (name "kmailtransport")
1232 (version "20.04.1")
1233 (source
1234 (origin
1235 (method url-fetch)
1236 (uri (string-append "mirror://kde/stable/release-service/" version
1237 "/src/kmailtransport-" version ".tar.xz"))
1238 (sha256
1239 (base32 "1swqlgzxzlqffm119sbhszy9lr93m8lzwygr0q4raa660b6yiavm"))))
1240 (build-system qt-build-system)
1241 (native-inputs
1242 `(("extra-cmake-modules" ,extra-cmake-modules)
1243 ("kdoctools" ,kdoctools)))
1244 (inputs
1245 `(("akonadi" ,akonadi)
1246 ("akonadi-mime" ,akonadi-mime)
1247 ("boost" ,boost)
1248 ("cyrus-sasl" ,cyrus-sasl)
1249 ("kcalendarcore" ,kcalendarcore)
1250 ("kcmutils" ,kcmutils)
1251 ("kcontacts" ,kcontacts)
1252 ("kdbusaddons" ,kdbusaddons)
1253 ("kconfigwidgets" ,kconfigwidgets)
1254 ("ki18n" ,ki18n)
1255 ("kitemmodels" ,kitemmodels)
1256 ("kio" ,kio)
1257 ("kmime" ,kmime)
1258 ("ksmtp" ,ksmtp)
1259 ("ktextwidgets" ,ktextwidgets)
1260 ("kwallet" ,kwallet)
1261 ("libkgapi" ,libkgapi)
1262 ("qtbase" ,qtbase)))
1263 (arguments
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
1268 mail transport.")
1269 (license license:lgpl2.0+)))
1270
1271 (define-public kmbox
1272 (package
1273 (name "kmbox")
1274 (version "20.04.1")
1275 (source
1276 (origin
1277 (method url-fetch)
1278 (uri (string-append "mirror://kde/stable/release-service/" version
1279 "/src/kmbox-" version ".tar.xz"))
1280 (sha256
1281 (base32 "03cny38v4y1lmcrs6d34hbj9assqgf51rqryf5rdzkiaq79c1krc"))))
1282 (build-system qt-build-system)
1283 (native-inputs
1284 `(("extra-cmake-modules" ,extra-cmake-modules)))
1285 (inputs
1286 `(("kcodecs" ,kcodecs)
1287 ("kmime" ,kmime)
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+ )))
1294
1295 (define-public kmessagelib
1296 (package
1297 (name "kmessagelib")
1298 (version "20.04.1")
1299 (source
1300 (origin
1301 (method url-fetch)
1302 (uri (string-append "mirror://kde/stable/release-service/" version
1303 "/src/messagelib-" version ".tar.xz"))
1304 (sha256
1305 (base32 "03vq4962bhps2j9c9i52majlbkmvg2gmr197igv8xamja1vs8hk1"))))
1306 (properties `((upstream-name . "messagelib")))
1307 (build-system qt-build-system)
1308 (native-inputs
1309 `(("extra-cmake-modules" ,extra-cmake-modules)
1310 ("gnupg" ,gnupg)
1311 ("libxml2" ,libxml2)))
1312 (inputs
1313 `(("akonadi" ,akonadi)
1314 ("akonadi-contacts" ,akonadi-contacts)
1315 ("akonadi-mime" ,akonadi-mime)
1316 ("akonadi-notes" ,akonadi-notes)
1317 ("akonadi-search" ,akonadi-search)
1318 ("boost" ,boost)
1319 ("gpgme" ,gpgme)
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)
1331 ("ki18n" ,ki18n)
1332 ("kiconthemes" ,kiconthemes)
1333 ("kidentitymanagement" ,kidentitymanagement)
1334 ("kimap" ,kimap)
1335 ("kio" ,kio)
1336 ("kitemmodels" ,kitemmodels)
1337 ("kitemviews" ,kitemviews)
1338 ("kjobwidgets" ,kjobwidgets)
1339 ("kldap" ,kldap)
1340 ("kmailtransport" ,kmailtransport)
1341 ("kmbox" ,kmbox)
1342 ("kmime" ,kmime)
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)
1356 ("qca" ,qca)
1357 ("qgpgme" ,qgpgme)
1358 ("qtbase" ,qtbase)
1359 ("qtdeclarative" ,qtdeclarative)
1360 ("qtwebchannel" ,qtwebchannel)
1361 ("qtwebengine" ,qtwebengine)
1362 ("qtwebkit" ,qtwebkit)
1363 ("sonnet" ,sonnet)))
1364 (arguments
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")
1373 "/include/KF5:"
1374 (or (getenv "CPLUS_INCLUDE_PATH") "")))
1375 #t)))))
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
1380 kwebengineviewer.")
1381 (license ;; GPL for programs, LGPL for libraries
1382 (list license:gpl2+ license:lgpl2.0+))))
1383
1384 (define-public kmime
1385 (package
1386 (name "kmime")
1387 (version "20.04.1")
1388 (source
1389 (origin
1390 (method url-fetch)
1391 (uri (string-append "mirror://kde/stable/release-service/" version
1392 "/src/kmime-" version ".tar.xz"))
1393 (sha256
1394 (base32 "1dkdxfr1ry10qyql5sp1ai4li11f0ncf9hipg27j59y70mlyrl2r"))))
1395 (build-system qt-build-system)
1396 (native-inputs
1397 `(("extra-cmake-modules" ,extra-cmake-modules)))
1398 (inputs
1399 `(("kcodecs" ,kcodecs)
1400 ("ki18n" ,ki18n)
1401 ("qtbase" ,qtbase)))
1402 (arguments
1403 `(#:phases
1404 (modify-phases %standard-phases
1405 (add-after 'unpack 'fix-test-case
1406 (lambda _
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")))
1412 #t)))))
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+)))
1421
1422 (define-public knotes
1423 (package
1424 (name "knotes")
1425 (version "20.04.1")
1426 (source
1427 (origin
1428 (method url-fetch)
1429 (uri (string-append "mirror://kde/stable/release-service/" version
1430 "/src/knotes-" version ".tar.xz"))
1431 (sha256
1432 (base32 "13h4n7fb5p6g1f5kmw6pblpd76j904psm30s3a5d3kykni57dijx"))))
1433 (build-system qt-build-system)
1434 (native-inputs
1435 `(("extra-cmake-modules" ,extra-cmake-modules)
1436 ("libxslt" ,libxslt)))
1437 (inputs
1438 `(("akonadi" ,akonadi)
1439 ("akonadi-contacts" ,akonadi-contacts)
1440 ("akonadi-mime" ,akonadi-mime)
1441 ("akonadi-notes" ,akonadi-notes)
1442 ("akonadi-search" ,akonadi-search)
1443 ("boost" ,boost)
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)
1454 ("kcrash" ,kcrash)
1455 ("kdnssd" ,kdnssd)
1456 ("kdoctools" ,kdoctools)
1457 ("kglobalaccel" ,kglobalaccel)
1458 ("kiconthemes" ,kiconthemes)
1459 ("kimap" ,kimap)
1460 ("kitemmodels" ,kitemmodels)
1461 ("kitemviews" ,kitemviews)
1462 ("kmime" ,kmime)
1463 ("kmime" ,kmime)
1464 ("knewstuff" ,knewstuff)
1465 ("knotifications" ,knotifications)
1466 ("knotifyconfig" ,knotifyconfig)
1467 ("kontactinterface" ,kontactinterface)
1468 ("kparts" ,kparts)
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
1478 ("qtbase" ,qtbase)
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.
1485
1486 Features:
1487 @itemize
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
1492 @end itemize")
1493 (license (list license:gpl2+ license:lgpl2.0+))))
1494
1495 (define-public kontactinterface
1496 (package
1497 (name "kontactinterface")
1498 (version "20.04.1")
1499 (source
1500 (origin
1501 (method url-fetch)
1502 (uri (string-append "mirror://kde/stable/release-service/" version
1503 "/src/kontactinterface-" version ".tar.xz"))
1504 (sha256
1505 (base32 "0s1qm1wjkvbb1film94r7g88d8vgh26bm0hm6gpyqv5bazw5qx3j"))))
1506 (build-system qt-build-system)
1507 (native-inputs
1508 `(("extra-cmake-modules" ,extra-cmake-modules)))
1509 (inputs
1510 `(("kcoreaddons" ,kcoreaddons)
1511 ("ki18n" ,ki18n)
1512 ("kiconthemes" ,kiconthemes)
1513 ("kparts" ,kparts)
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+)))
1522
1523 (define-public korganizer
1524 (package
1525 (name "korganizer")
1526 (version "20.04.1")
1527 (source
1528 (origin
1529 (method url-fetch)
1530 (uri (string-append "mirror://kde/stable/release-service/" version
1531 "/src/korganizer-" version ".tar.xz"))
1532 (sha256
1533 (base32 "04lz3ldrr0lpy9zpsg9ja1i9gxzlcjpqcwn3g7l4jjdky4frcr2r"))))
1534 (build-system qt-build-system)
1535 (native-inputs
1536 `(("extra-cmake-modules" ,extra-cmake-modules)
1537 ("dbus" ,dbus)
1538 ("qttools" ,qttools)
1539 ("kdoctools" ,kdoctools)))
1540 (inputs
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)
1547 ("boost" ,boost)
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)
1558 ("kcrash" ,kcrash)
1559 ("kdbusaddons" ,kdbusaddons)
1560 ("kdepim-apps-libs" ,kdepim-apps-libs)
1561 ("keventviews" ,keventviews)
1562 ("kholidays" ,kholidays)
1563 ("kiconthemes" ,kiconthemes)
1564 ("kidentitymanagement" ,kidentitymanagement)
1565 ("kimap" ,kimap)
1566 ("kincidenceeditor" ,kincidenceeditor)
1567 ("kitemmodels" ,kitemmodels)
1568 ("kitemviews" ,kitemviews)
1569 ("kjobwidgets" ,kjobwidgets)
1570 ("kldap" ,kldap)
1571 ("kmailtransport" ,kmailtransport)
1572 ("kmime" ,kmime)
1573 ("knewstuff" ,knewstuff)
1574 ("knotifications" ,knotifications)
1575 ("kontactinterface" ,kontactinterface)
1576 ("kparts" ,kparts)
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
1586 ("phonon" ,phonon)
1587 ("qtbase" ,qtbase)))
1588 (arguments
1589 `(#:phases
1590 (modify-phases %standard-phases
1591 (add-after 'unpack 'disable-failing-test
1592 (lambda _
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.*")
1598 ""))
1599 #t))
1600 (replace 'check
1601 (lambda _
1602 (invoke "dbus-launch" "ctest" ".")
1603 #t)))))
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+))))
1618
1619 (define-public kpeoplevcard
1620 (package
1621 (name "kpeoplevcard")
1622 (version "0.1")
1623 (source (origin
1624 (method url-fetch)
1625 (uri (string-append "https://download.kde.org/stable/kpeoplevcard/"
1626 version "/kpeoplevcard-" version ".tar.xz"))
1627 (sha256
1628 (base32
1629 "1hv3fq5k0pps1wdvq9r1zjnr0nxf8qc3vwsnzh9jpvdy79ddzrcd"))))
1630 (build-system qt-build-system)
1631 (arguments
1632 '(#:phases (modify-phases %standard-phases
1633 (replace 'check-setup
1634 (lambda _
1635 (setenv "HOME" "/tmp")
1636 #t)))))
1637 (native-inputs
1638 `(("extra-cmake-modules" ,extra-cmake-modules)))
1639 (inputs
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")
1645 (description
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+)))
1649
1650 (define-public kpimcommon
1651 (package
1652 (name "kpimcommon")
1653 (version "20.04.1")
1654 (source
1655 (origin
1656 (method url-fetch)
1657 (uri (string-append "mirror://kde/stable/release-service/" version
1658 "/src/pimcommon-" version ".tar.xz"))
1659 (sha256
1660 (base32 "15lfqv5w4iwyjlvf4idykpkjgppl0ic59r4dw95qkbbjkps0nr7j"))))
1661 (properties `((upstream-name . "pimcommon")))
1662 (build-system qt-build-system)
1663 (native-inputs
1664 `(("extra-cmake-modules" ,extra-cmake-modules)
1665 ("qttools" ,qttools)))
1666 (inputs
1667 `(("karchive" ,karchive)
1668 ("akonadi" ,akonadi)
1669 ("akonadi-contacts" ,akonadi-contacts)
1670 ("akonadi-mime" ,akonadi-mime)
1671 ("boost" ,boost)
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)
1680 ("ki18n" ,ki18n)
1681 ("kiconthemes" ,kiconthemes)
1682 ("kimap" ,kimap)
1683 ("kio" ,kio)
1684 ("kirigami" ,kirigami) ;; run-time dependency
1685 ("kitemmodels" ,kitemmodels)
1686 ("kitemviews" ,kitemviews)
1687 ("kjobwidgets" ,kjobwidgets)
1688 ("kmime" ,kmime)
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)
1700 ("qtbase" ,qtbase)
1701 ("qtwebengine" ,qtwebengine)))
1702 (arguments
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+))))
1709
1710 (define-public kpimtextedit
1711 (package
1712 (name "kpimtextedit")
1713 (version "20.04.1")
1714 (source
1715 (origin
1716 (method url-fetch)
1717 (uri (string-append "mirror://kde/stable/release-service/" version
1718 "/src/kpimtextedit-" version ".tar.xz"))
1719 (sha256
1720 (base32 "0j6d4sv405c3x0ww75qsww94apidsb8aaqf59akhv96zmv0vx5wy"))))
1721 (build-system qt-build-system)
1722 (native-inputs
1723 `(("extra-cmake-modules" ,extra-cmake-modules)
1724 ("qttools" ,qttools)))
1725 (inputs
1726 `(("grantlee" ,grantlee)
1727 ("kcodecs" ,kcodecs)
1728 ("kconfigwidgets" ,kconfigwidgets)
1729 ("kcoreaddons" ,kcoreaddons)
1730 ("kdesignerplugin" ,kdesignerplugin)
1731 ("kemoticons" ,kemoticons)
1732 ("ki18n" ,ki18n)
1733 ("kiconthemes" ,kiconthemes)
1734 ("kio" ,kio)
1735 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1736 ("ktextwidgets" ,ktextwidgets)
1737 ("kwidgetsaddons" ,kwidgetsaddons)
1738 ("kxmlgui" ,kxmlgui)
1739 ("qtbase" ,qtbase)
1740 ("qtspeech" ,qtspeech)
1741 ("sonnet" ,sonnet)))
1742 (arguments
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+))))
1751
1752 (define-public ksmtp
1753 (package
1754 (name "ksmtp")
1755 (version "20.04.1")
1756 (source
1757 (origin
1758 (method url-fetch)
1759 (uri (string-append "mirror://kde/stable/release-service/" version
1760 "/src/ksmtp-" version ".tar.xz"))
1761 (sha256
1762 (base32 "1xyaahibm0dc3qdwiak5yqa66szxaxnylvqxi6k21ayvzn2vxbhx"))))
1763 (build-system qt-build-system)
1764 (native-inputs
1765 `(("extra-cmake-modules" ,extra-cmake-modules)))
1766 (inputs
1767 `(("cyrus-sasl" ,cyrus-sasl)
1768 ("kcodecs" ,kcodecs)
1769 ("kconfig" ,kconfig)
1770 ("kcoreaddons" ,kcoreaddons)
1771 ("ki18n" ,ki18n)
1772 ("kio" ,kio)
1773 ("qtbase" ,qtbase)))
1774 (arguments
1775 `(#:tests? #f ;; TODO: does not find sasl mechs
1776 #:phases
1777 (modify-phases %standard-phases
1778 (add-after 'unpack 'Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing
1779 (lambda _
1780 (substitute* "src/CMakeLists.txt"
1781 (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)"
1782 _ prefix)
1783 (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))
1784 #t)))))
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+)))
1791
1792 (define-public ktnef
1793 (package
1794 (name "ktnef")
1795 (version "20.04.1")
1796 (source
1797 (origin
1798 (method url-fetch)
1799 (uri (string-append "mirror://kde/stable/release-service/" version
1800 "/src/ktnef-" version ".tar.xz"))
1801 (sha256
1802 (base32 "0cn5p32w2kas56yyc15c22kll4hd02lvvxz2n6cz1wda8alspj19"))))
1803 (build-system qt-build-system)
1804 (native-inputs
1805 `(("extra-cmake-modules" ,extra-cmake-modules)))
1806 (inputs
1807 `(("kcalendarcore" ,kcalendarcore)
1808 ("kcalutils" ,kcalutils)
1809 ("kcodecs" ,kcodecs)
1810 ("kconfig" ,kconfig)
1811 ("kcontacts" ,kcontacts)
1812 ("kcoreaddons" ,kcoreaddons)
1813 ("ki18n" ,ki18n)
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+)))
1823
1824 (define-public libkdepim
1825 (package
1826 (name "libkdepim")
1827 (version "20.04.1")
1828 (source
1829 (origin
1830 (method url-fetch)
1831 (uri (string-append "mirror://kde/stable/release-service/" version
1832 "/src/libkdepim-" version ".tar.xz"))
1833 (sha256
1834 (base32 "0bask561laxgkgm3rxfpyxqs6jx1l9xjk058lhycq0pik6vwhdha"))))
1835 (build-system qt-build-system)
1836 (native-inputs
1837 `(("extra-cmake-modules" ,extra-cmake-modules)
1838 ("qttools" ,qttools)))
1839 (inputs
1840 `(("akonadi" ,akonadi)
1841 ("akonadi-contacts" ,akonadi-contacts)
1842 ("akonadi-mime" ,akonadi-mime)
1843 ("akonadi-search" ,akonadi-search)
1844 ("boost" ,boost)
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)
1855 ("ki18n" ,ki18n)
1856 ("kiconthemes" ,kiconthemes)
1857 ("kio" ,kio)
1858 ("kitemmodels" ,kitemmodels)
1859 ("kitemviews" ,kitemviews)
1860 ("kjobwidgets" ,kjobwidgets)
1861 ("kldap" ,kldap)
1862 ("kmime" ,kmime)
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+))))
1871
1872 (define-public libkgapi
1873 (package
1874 (name "libkgapi")
1875 (version "20.04.1")
1876 (source
1877 (origin
1878 (method url-fetch)
1879 (uri (string-append "mirror://kde/stable/release-service/" version
1880 "/src/libkgapi-" version ".tar.xz"))
1881 (sha256
1882 (base32 "0nvd5fqrvyb7c3g7rf1lxbbv38q9sqnhd6irgx7awwgw92inxky4"))))
1883 (build-system qt-build-system)
1884 (native-inputs
1885 `(("extra-cmake-modules" ,extra-cmake-modules)
1886 ("qttools" ,qttools)))
1887 (inputs
1888 `(("cyrus-sasl" ,cyrus-sasl)
1889 ("ki18n" ,ki18n)
1890 ("kcontacts" ,kcontacts)
1891 ("kcalendarcore" ,kcalendarcore)
1892 ("kio" ,kio)
1893 ("kwallet" ,kwallet)
1894 ("kwindowsystem" ,kwindowsystem)
1895 ("qtbase" ,qtbase)
1896 ("qtdeclarative" ,qtdeclarative)
1897 ("qtwebchannel" ,qtwebchannel)
1898 ("qtwebengine" ,qtwebengine)))
1899 (arguments
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
1903 API")
1904 (description "@code{LibKGAPI} is a C++ library that implements APIs for
1905 various Google services.")
1906 (license license:lgpl2.0+)))
1907
1908 (define-public libkleo
1909 (package
1910 (name "libkleo")
1911 (version "20.04.1")
1912 (source
1913 (origin
1914 (method url-fetch)
1915 (uri (string-append "mirror://kde/stable/release-service/" version
1916 "/src/libkleo-" version ".tar.xz"))
1917 (sha256
1918 (base32 "0rijpmqyx4mrr7csik3vkfcra7kfywk6yz548fmq3ha8wa9ax8fv"))))
1919 (build-system qt-build-system)
1920 (native-inputs
1921 `(("extra-cmake-modules" ,extra-cmake-modules)
1922 ("kdoctools" ,kdoctools)
1923 ("qttools" ,qttools)))
1924 (inputs
1925 `(("boost" ,boost)
1926 ("gpgme" ,gpgme)
1927 ("kcodecs" ,kcodecs)
1928 ("kcompletion" ,kcompletion)
1929 ("kconfig" ,kconfig)
1930 ("kcoreaddons" ,kcoreaddons)
1931 ("kcrash" ,kcrash)
1932 ("ki18n" ,ki18n)
1933 ("kitemmodels" ,kitemmodels)
1934 ("kwidgetsaddons" ,kwidgetsaddons)
1935 ("kwindowsystem" ,kwindowsystem)
1936 ("kpimtextedit" ,kpimtextedit)
1937 ("qgpgme" ,qgpgme)
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+))))
1945
1946 (define-public libksieve
1947 (package
1948 (name "libksieve")
1949 (version "20.04.1")
1950 (source
1951 (origin
1952 (method url-fetch)
1953 (uri (string-append "mirror://kde/stable/release-service/" version
1954 "/src/libksieve-" version ".tar.xz"))
1955 (sha256
1956 (base32 "04k2nkwg5vlgbr5wpvsq02wi54ljsy4ka7y3ns5x3d2gb06wp03c"))
1957 (patches (search-patches "libksieve-Fix-missing-link-libraries.patch"))))
1958 (build-system qt-build-system)
1959 (native-inputs
1960 `(("extra-cmake-modules" ,extra-cmake-modules)
1961 ("kdoctools" ,kdoctools)))
1962 (inputs
1963 `(("akonadi" ,akonadi)
1964 ("cyrus-sasl" ,cyrus-sasl)
1965 ("karchive" ,karchive)
1966 ("ki18n" ,ki18n)
1967 ("kiconthemes" ,kiconthemes)
1968 ("kidentitymanagement" ,kidentitymanagement)
1969 ("kimap" ,kimap)
1970 ("kio" ,kio)
1971 ("kmailtransport" ,kmailtransport)
1972 ("kmime" ,kmime)
1973 ("knewstuff" ,knewstuff)
1974 ("kpimcommon" ,kpimcommon)
1975 ("kpimtextedit" ,kpimtextedit)
1976 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1977 ("ktextwidgets" ,ktextwidgets)
1978 ("kwallet" ,kwallet)
1979 ("kwindowsystem" ,kwindowsystem)
1980 ("libkdepim" ,libkdepim)
1981 ("qtbase" ,qtbase)
1982 ("qtdeclarative" ,qtdeclarative)
1983 ("qtwebchannel" ,qtwebchannel)
1984 ("qtwebengine" ,qtwebengine)))
1985 (arguments
1986 `(#:phases
1987 (modify-phases %standard-phases
1988 (add-after 'unpack 'substitute
1989 (lambda _
1990 ;; Disable a failing test
1991 ;; sieveeditorhelphtmlwidgettest fails with `sigtrap`
1992 (substitute*
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.
1997 (substitute*
1998 "src/ksieveui/autocreatescripts/autotests/CMakeLists.txt"
1999 ((".*sieveeditorgraphicalmodewidgettest\\.cpp.*")
2000 ""))
2001 #t)))))
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+))))