gnu: webkitgtk: Update to 2.28.2.
[jackhill/guix/guix.git] / gnu / packages / kde-pim.scm
CommitLineData
e35b50ec
HG
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
3;;;
4;;; This file is part of GNU Guix.
5;;;
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.
10;;;
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.
15;;;
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/>.
18
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)
037994df 27 #:use-module (gnu packages cyrus-sasl)
e35b50ec
HG
28 #:use-module (gnu packages databases)
29 #:use-module (gnu packages documentation)
ba4f9352 30 #:use-module (gnu packages glib)
e35b50ec 31 #:use-module (gnu packages gnome)
25b620d9 32 #:use-module (gnu packages gnupg)
2dd5b1e8 33 #:use-module (gnu packages kde)
e35b50ec 34 #:use-module (gnu packages kde-frameworks)
a146c18c 35 #:use-module (gnu packages kde-internet)
6e03dbea 36 #:use-module (gnu packages openldap)
e35b50ec 37 #:use-module (gnu packages qt)
a24fcdbd 38 #:use-module (gnu packages search)
e35b50ec
HG
39 #:use-module (gnu packages sqlite)
40 #:use-module (gnu packages xml))
41
42(define-public akonadi
43 (package
44 (name "akonadi")
45 (version "19.08.3")
46 (source
47 (origin
48 (method url-fetch)
49 (uri (string-append "mirror://kde/stable/applications/" version
50 "/src/akonadi-" version ".tar.xz"))
51 (sha256
52 (base32 "0v7f1049wjnqxhwxr1443wc2cfbdqmf15xcwjz3j1m0vgdva9pyg"))
53 (patches (search-patches
54 "akonadi-paths.patch"
55 "akonadi-timestamps.patch"
79b0816e 56 "akonadi-not-relocatable.patch"))))
e35b50ec
HG
57 (build-system qt-build-system)
58 (native-inputs
59 `(("extra-cmake-modules" ,extra-cmake-modules)
60 ("qttools" ,qttools)
61 ("shared-mime-info" ,shared-mime-info)))
62 (inputs
63 `(("boost" ,boost)
64 ("kconfig" ,kconfig)
65 ("kconfigwidgets" ,kconfigwidgets)
66 ("kcoreaddons" ,kcoreaddons)
67 ("kcrash" ,kcrash)
68 ("kdbusaddons" ,kdbusaddons)
69 ("kdesignerplugin" ,kdesignerplugin)
70 ("ki18n" ,ki18n)
71 ("kiconthemes" ,kiconthemes)
72 ("kio" ,kio)
73 ("kitemmodels" ,kitemmodels)
74 ("kitemviews" ,kitemviews)
75 ("kwidgetsaddons" ,kwidgetsaddons)
76 ("kwindowsystem" ,kwindowsystem)
77 ("kxmlgui" ,kxmlgui)
78 ("libxml2" ,libxml2)
79 ("libxslt" ,libxslt)
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.
83 ("qtbase" ,qtbase)
84 ("sqlite" ,sqlite)))
85 (arguments
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)
90 #:phases
91 (modify-phases (@ (guix build qt-build-system) %standard-phases)
92 (add-before 'configure 'add-definitions
93 (lambda _
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"
98 (lambda _
99 (display
100 (string-append
101 "add_compile_definitions(\n"
102 "NIX_OUT=\"" out "\"\n"
103 ;; pin binaries for mysql backend
104 ")\n\n"))
105 (display
106 (call-with-input-file "CMakeLists.txt"
107 get-string-all))))
108 (rename-file "CMakeLists.txt.new" "CMakeLists.txt"))
109 #t)))))
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
113Management (PIM) storage service. It provides a common framework for
114applications to store and access mail, calendars, addressbooks, and other PIM
115data.
116
117This package contains the Akonadi PIM storage server and associated
118programs.")
119 (license license:fdl1.2+)))
7cfb118c 120
37ac6622
HG
121(define-public akonadi-calendar
122 (package
123 (name "akonadi-calendar")
124 (version "19.08.3")
125 (source
126 (origin
127 (method url-fetch)
128 (uri (string-append "mirror://kde/stable/applications/" version
129 "/src/akonadi-calendar-" version ".tar.xz"))
130 (sha256
131 (base32 "1550h08i8rjnbd9yrnhd9v3v68ingrag2bdxrbid62qvam0n5ihy"))))
132 (build-system qt-build-system)
133 (native-inputs
134 `(("extra-cmake-modules" ,extra-cmake-modules)))
135 (inputs
136 `(("akonadi" ,akonadi)
137 ("akonadi-contacts" ,akonadi-contacts)
138 ("akonadi-mime" ,akonadi-mime)
139 ("boost" ,boost)
140 ("kcalendarcore" ,kcalendarcore)
141 ("kcalutils" ,kcalutils)
142 ("kcodecs" ,kcodecs)
143 ("kcontacts" ,kcontacts)
144 ("kdbusaddons" ,kdbusaddons)
145 ("ki18n" ,ki18n)
146 ("kiconthemes" ,kiconthemes)
147 ("kidentitymanagement" ,kidentitymanagement)
148 ("kio" ,kio)
149 ("kitemmodels" ,kitemmodels)
150 ("kmailtransport" ,kmailtransport)
151 ("kmime" ,kmime)
152 ("kpimtextedit" ,kpimtextedit)
153 ("ksmtp" ,ksmtp)
154 ("ktextwidgets" ,ktextwidgets)
155 ("kwallet" ,kwallet)
156 ("qtbase" ,qtbase)))
157 (arguments
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
162collection and item views.")
163 (license license:lgpl2.0+)))
164
ad80c7ef
HG
165(define-public akonadi-contacts
166 (package
167 (name "akonadi-contacts")
168 (version "19.08.3")
169 (source
170 (origin
171 (method url-fetch)
172 (uri (string-append "mirror://kde/stable/applications/" version
173 "/src/akonadi-contacts-" version ".tar.xz"))
174 (sha256
175 (base32 "1pw1s8c6dlcb103cw46p1ikvas3y8cwiwnfdny2jd3hr3rig4px9"))))
176 (build-system qt-build-system)
177 (native-inputs
178 `(("extra-cmake-modules" ,extra-cmake-modules)))
179 (inputs
180 `(("akonadi" ,akonadi)
181 ("boost" ,boost)
182 ("kauth" ,kauth)
183 ("kcodecs" ,kcodecs)
184 ("kcompletion" ,kcompletion)
185 ("kconfigwidgets" ,kconfigwidgets)
186 ("kcontacts" ,kcontacts)
187 ("kcoreaddons" ,kcoreaddons)
188 ("kdbusaddons" ,kdbusaddons)
189 ("ki18n" ,ki18n)
190 ("kiconthemes" ,kiconthemes)
191 ("kitemmodels" ,kitemmodels)
192 ("kitemviews" ,kitemviews)
193 ("kjobwidgets" ,kjobwidgets)
194 ("kmime" ,kmime)
195 ("kservice" ,kservice)
196 ("ktextwidgets" ,ktextwidgets)
197 ("kwidgetsaddons" ,kwidgetsaddons)
198 ("kxmlgui" ,kxmlgui)
199 ("prison" ,prison)
200 ("kio" ,kio)
201 ("qtbase" ,qtbase)
202 ("solid" ,solid)
203 ("sonnet" ,sonnet)))
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
207type-agnostic API of the Akonadi client libraries and the domain-specific
208KContacts library. It provides jobs, models and other helpers to make working
209with contacts and addressbooks through Akonadi easier.
210
211The library provides a complex dialog for editing contacts and several models
212to list and filter contacts.")
213 (license ;; GPL for programs, LGPL for libraries
214 (list license:gpl2+ license:lgpl2.0+))))
215
8d41c6a3
HG
216(define-public akonadi-mime
217 (package
218 (name "akonadi-mime")
219 (version "19.08.3")
220 (source
221 (origin
222 (method url-fetch)
223 (uri (string-append "mirror://kde/stable/applications/" version
224 "/src/akonadi-mime-" version ".tar.xz"))
225 (sha256
226 (base32 "03q3dnhzcgmgcqvijnwi4ikg0m1zad2l679bqnp051v27fvs4yg7"))))
227 (build-system qt-build-system)
228 (native-inputs
229 `(("extra-cmake-modules" ,extra-cmake-modules)
230 ("libxslt" ,libxslt) ;; xslt for generating interface descriptions
231 ("shared-mime-info" ,shared-mime-info)))
232 (inputs
233 `(("akonadi" ,akonadi)
234 ("boost", boost)
235 ("kcodecs" ,kcodecs)
236 ("kconfig" ,kconfig)
237 ("kconfigwidgets" ,kconfigwidgets)
238 ("kdbusaddons" ,kdbusaddons)
239 ("ki18n" ,ki18n)
240 ("kio" ,kio)
241 ("kitemmodels" ,kitemmodels)
242 ("kmime" ,kmime)
243 ("kwidgetsaddons" ,kwidgetsaddons)
244 ("kxmlgui" ,kxmlgui)
245 ("qtbase" ,qtbase)))
246 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
247 (arguments
248 `(#:phases
249 (modify-phases %standard-phases
250 (add-after 'unpack 'copy-desktop-file-early
251 (lambda _
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")))
256 #t))
257 (add-before 'check 'check-setup
258 (lambda _
259 (setenv "HOME" "/tmp")
260 #t)))))
261 (synopsis "Akonadi MIME handling library")
262 (description "Akonadi Mime is a library that effectively bridges the
263type-agnostic API of the Akonadi client libraries and the domain-specific
264KMime library. It provides jobs, models and other helpers to make working
265with emails through Akonadi easier.")
266 (license ;; GPL for programs, LGPL for libraries
267 (list license:gpl2+ license:lgpl2.0+))))
268
d03ad6cf
HG
269(define-public akonadi-notes
270 (package
271 (name "akonadi-notes")
272 (version "19.08.3")
273 (source
274 (origin
275 (method url-fetch)
276 (uri (string-append "mirror://kde/stable/applications/" version
277 "/src/akonadi-notes-" version ".tar.xz"))
278 (sha256
279 (base32 "0r8vh11bfjzhspb5kp2d0kcgwqd2m5qpxpamiajzjq910f51sw3w"))))
280 (build-system qt-build-system)
281 (native-inputs
282 `(("extra-cmake-modules" ,extra-cmake-modules)))
283 (inputs
284 `(("akonadi" ,akonadi)
285 ("kcodecs" ,kcodecs)
286 ("ki18n" ,ki18n)
287 ("kmime" ,kmime)
288 ("qtbase" ,qtbase)))
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
292type-agnostic API of the Akonadi client libraries and the domain-specific
293KMime library. It provides a helper class for note attachments and for
294wrapping notes into KMime::Message objects.")
295 (license ;; GPL for programs, LGPL for libraries
296 (list license:gpl2+ license:lgpl2.0+))))
297
a24fcdbd
HG
298(define-public akonadi-search
299 (package
300 (name "akonadi-search")
301 (version "19.08.3")
302 (source
303 (origin
304 (method url-fetch)
305 (uri (string-append "mirror://kde/stable/applications/" version
306 "/src/akonadi-search-" version ".tar.xz"))
307 (sha256
308 (base32 "16qzs2cs4nxwrpwcdgwry95qn6wmg8s1p4w3qajx1ahkgwmsh11s"))))
309 (build-system qt-build-system)
310 (native-inputs
311 `(("extra-cmake-modules" ,extra-cmake-modules)))
312 (inputs
313 `(("akonadi" ,akonadi)
314 ("akonadi-mime" ,akonadi-mime)
315 ("boost" ,boost)
316 ("kcalendarcore" ,kcalendarcore)
317 ("kcmutils" ,kcmutils)
318 ("kcontacts" ,kcontacts)
319 ("kcrash" ,kcrash)
320 ("kdbusaddons" ,kdbusaddons)
321 ("ki18n" ,ki18n)
322 ("kio" ,kio)
323 ("kitemmodels" ,kitemmodels)
324 ("kmime" ,kmime)
325 ("krunner" ,krunner)
326 ("kwindowsystem" ,kwindowsystem)
327 ("qtbase" ,qtbase)
328 ("xapian" ,xapian)))
329 (arguments
330 `(#:tests? #f)) ;; TODO: needs dbus
331 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
332 (synopsis "Akonadi search library")
6434f9b6
HG
333 (description "This package provides a library used to search in the
334Akonadi PIM data server. It uses Xapian for indexing and querying.")
a24fcdbd
HG
335 (license ;; GPL for programs, LGPL for libraries
336 (list license:gpl2+ license:lgpl2.0+))))
337
992c6d29
HG
338(define-public kincidenceeditor
339 (package
340 (name "kincidenceeditor")
341 (version "19.08.3")
342 (source
343 (origin
344 (method url-fetch)
345 (uri (string-append "mirror://kde/stable/applications/" version
346 "/src/incidenceeditor-" version ".tar.xz"))
347 (sha256
348 (base32 "0v962v2ihawndg39ypkfawa449vpbdyg00ib7avb19a153y3wxg6"))))
349 (properties `((upstream-name . "incidenceeditor")))
350 (build-system qt-build-system)
351 (native-inputs
352 `(("extra-cmake-modules" ,extra-cmake-modules)))
353 (inputs
354 `(("akonadi" ,akonadi)
355 ("akonadi-calendar" ,akonadi-calendar)
356 ("akonadi-contacts" ,akonadi-contacts)
357 ("akonadi-mime" ,akonadi-mime)
358 ("boost" ,boost)
359 ("kcalendarcore" ,kcalendarcore)
360 ("kcalendarsupport" ,kcalendarsupport)
361 ("kcalutils" ,kcalutils)
362 ("kcodecs" ,kcodecs)
363 ("kcontacts" ,kcontacts)
364 ("kdbusaddons" ,kdbusaddons)
365 ("kdepim-apps-libs" ,kdepim-apps-libs)
366 ("kdiagram" ,kdiagram)
367 ("keventviews" ,keventviews)
368 ("ki18n" ,ki18n)
369 ("kiconthemes" ,kiconthemes)
370 ("kidentitymanagement" ,kidentitymanagement)
371 ("kio" ,kio)
372 ("kitemmodels" ,kitemmodels)
373 ("kldap" ,kldap)
374 ("kmailtransport" ,kmailtransport)
375 ("kmime" ,kmime)
376 ("kpimtextedit" ,kpimtextedit)
377 ("ktextwidgets" ,ktextwidgets)
378 ("kwallat" ,kwallet)
379 ("libkdepim" ,libkdepim)
380 ("qtbase" ,qtbase)))
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+))))
386
86633b22
HG
387(define-public kaddressbook
388 (package
389 (name "kaddressbook")
390 (version "19.08.3")
391 (source
392 (origin
393 (method url-fetch)
394 (uri (string-append "mirror://kde/stable/applications/" version
395 "/src/kaddressbook-" version ".tar.xz"))
396 (sha256
397 (base32 "1bpl9cqjv7s6pnsaa266jqmny2s6ldkylxviri162jxg51v1hhz3"))))
398 (build-system qt-build-system)
399 (native-inputs
400 `(("extra-cmake-modules" ,extra-cmake-modules)))
401 (inputs
402 `(("akonadi" ,akonadi)
403 ("akonadi-contacts" ,akonadi-contacts)
404 ("akonadi-mime" ,akonadi-mime)
405 ("akonadi-search" ,akonadi-search)
406 ("boost" ,boost)
407 ("gpgme" ,gpgme)
408 ("grantlee" ,grantlee)
409 ("grantleetheme" ,grantleetheme)
410 ("kcalendarcore" ,kcalendarcore)
411 ("kcmutils" ,kcmutils)
412 ("kcompletion" ,kcompletion)
413 ("kcontacts" ,kcontacts)
414 ("kcrash" ,kcrash)
415 ("kdbusaddons" ,kdbusaddons)
416 ("kdepim-apps-libs" ,kdepim-apps-libs)
417 ("kdoctools" ,kdoctools)
418 ("ki18n" ,ki18n)
419 ("kiconthemes" ,kiconthemes)
420 ("kimap" ,kimap)
421 ("kio" ,kio)
422 ("kitemmodels" ,kitemmodels)
423 ("kmime" ,kmime)
424 ("kontactinterface" ,kontactinterface)
425 ("kparts" ,kparts)
426 ("kpimcommon" ,kpimcommon)
427 ("kpimtextedit" ,kpimtextedit)
428 ("ktextwidgets" ,ktextwidgets)
429 ("kxmlgui" ,kxmlgui)
430 ("libkdepim" ,libkdepim)
431 ("libkleo" ,libkleo)
432 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
433 ("prison" ,prison)
434 ("qgpgme" ,qgpgme)
435 ("qtbase" ,qtbase)))
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,
439friends and other contacts. It supports large variety of services, including
440NextCloud, Kolab, Google Contacts, Microsoft Exchange (EWS) or any standard
441CalDAV server.")
442 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
443
2a876c1c
HG
444(define-public kalarmcal
445 (package
446 (name "kalarmcal")
447 (version "19.08.3")
448 (source
449 (origin
450 (method url-fetch)
451 (uri (string-append "mirror://kde/stable/applications/" version
452 "/src/kalarmcal-" version ".tar.xz"))
453 (sha256
454 (base32 "0w9qsx2gqwny2v4fsj4awn814s9b7yrxvqrawlick3r2kp4x1sgn"))))
455 (build-system qt-build-system)
456 (native-inputs
457 `(("extra-cmake-modules" ,extra-cmake-modules)))
458 (inputs
459 `(("akonadi", akonadi)
460 ("boost" ,boost)
461 ("kcalendarcore" ,kcalendarcore)
462 ("kcalutils" ,kcalutils)
463 ("kcompletion" ,kcompletion)
464 ("kconfig" ,kconfig)
465 ("kconfigwidgets" ,kconfigwidgets)
466 ("kcoreaddons" ,kcoreaddons)
467 ("kdbusaddons" ,kdbusaddons)
468 ("kholidays" ,kholidays)
469 ("ki18n" ,ki18n)
470 ("kidentitymanagement" ,kidentitymanagement)
471 ("kio" ,kio)
472 ("kitemmodels" ,kitemmodels)
473 ("kpimtextedit" ,kpimtextedit)
474 ("ktextwidgets" ,ktextwidgets)
475 ("kxmlgui" ,kxmlgui)
476 ("qtbase" ,qtbase)))
477 (arguments
478 `(#:tests? #f)) ;; TODO: TZ setup
479 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
480 (synopsis "Library for handling kalarm calendar data")
6434f9b6
HG
481 (description "This library provides access to and handling of kalarm
482calendar data.")
2a876c1c
HG
483 (license license:lgpl2.0+)))
484
7a0bb02d
HG
485(define-public kblog
486 (package
487 (name "kblog")
488 (version "19.08.3")
489 (source
490 (origin
491 (method url-fetch)
492 (uri (string-append "mirror://kde/stable/applications/" version
493 "/src/kblog-" version ".tar.xz"))
494 (sha256
495 (base32 "0r3ik3df444kzg2mnzckkh4kk6v08zil1f26dwmxsslsqw9hl0vv"))))
496 (build-system qt-build-system)
497 (native-inputs
498 `(("extra-cmake-modules" ,extra-cmake-modules)))
499 (inputs
500 `(("kcalendarcore" ,kcalendarcore)
501 ("kcoreaddons" ,kcoreaddons)
502 ("ki18n" ,ki18n)
503 ("kio" ,kio)
504 ("kxmlrpcclient" ,kxmlrpcclient)
505 ("qtbase" ,qtbase)
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
510APIs")
511 (description "KBlog is a library for calling functions on Blogger 1.0,
512MetaWeblog, MovableType and GData compatible blogs. It calls the APIs using
513KXmlRpcClient and Syndication. It supports asynchronous sending and fetching
514of posts and, if supported on the server, multimedia files. Almost every
515modern blogging web application that provides an XML data interface supports
516one of the APIs mentioned above.")
517 (license license:lgpl2.0+)))
518
d9491d50
HG
519(define-public kcalendarsupport
520 (package
521 (name "kcalendarsupport")
522 (version "19.08.3")
523 (source
524 (origin
525 (method url-fetch)
526 (uri (string-append "mirror://kde/stable/applications/" version
527 "/src/calendarsupport-" version ".tar.xz"))
528 (sha256
529 (base32 "1hwfh5njq4614ypwdilna33hdcn11kshpwg6n27cag1qhwrxs1i4"))))
530 (properties `((upstream-name . "calendarsupport")))
531 (build-system qt-build-system)
532 (native-inputs
533 `(("extra-cmake-modules" ,extra-cmake-modules)
534 ("qttools" ,qttools)))
535 (inputs
536 `(("akonadi" ,akonadi)
537 ("akonadi-calendar" ,akonadi-calendar)
538 ("akonadi-mime" ,akonadi-mime)
539 ("boost" ,boost)
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)
547 ("ki18n" ,ki18n)
548 ("kiconthemes" ,kiconthemes)
549 ("kidentitymanagement" ,kidentitymanagement)
550 ("kio" ,kio)
551 ("kitemmodels" ,kitemmodels)
552 ("kmime" ,kmime)
553 ("kpimcommon" ,kpimcommon)
554 ("kpimtextedit" ,kpimtextedit)
555 ("ktextwidgets" ,ktextwidgets)
556 ("kxmlgui" ,kxmlgui)
557 ("qtbase" ,qtbase)))
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
561calendaring applications.")
562 (license ;; GPL for programs, LGPL for libraries
563 (list license:gpl2+ license:lgpl2.0+))))
564
68b1d81d
HG
565(define-public kcalutils
566 (package
567 (name "kcalutils")
568 (version "19.08.3")
569 (source
570 (origin
571 (method url-fetch)
572 (uri (string-append "mirror://kde/stable/applications/" version
573 "/src/kcalutils-" version ".tar.xz"))
574 (sha256
575 (base32 "1nlkik4qiciyh1slgpis3n5h9pks2ygdba9yq4s16nnmip4l45w2"))))
576 (build-system qt-build-system)
577 (native-inputs
578 `(("extra-cmake-modules" ,extra-cmake-modules)
579 ("libxml2" ,libxml2))) ;; xmllint required for tests
580 (inputs
581 `(("grantlee" ,grantlee)
582 ("kcalendarcore" ,kcalendarcore)
583 ("kcodecs" ,kcodecs)
584 ("kconfig" ,kconfig)
585 ("kconfigwidgets" ,kconfigwidgets)
586 ("kcoreaddons" ,kcoreaddons)
587 ("ki18n" ,ki18n)
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
594 ("qtbase" ,qtbase)))
595 (arguments
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
599data")
600 (description "This library provides a utility and user interface
601functions for accessing calendar data using the kcalcore API.")
602 (license license:lgpl2.0+)))
603
49e247ef
HG
604(define-public kdav
605 (package
606 (name "kdav")
607 (version "19.08.3")
608 (source
609 (origin
610 (method url-fetch)
611 (uri (string-append "mirror://kde/stable/applications/" version
612 "/src/kdav-" version ".tar.xz"))
613 (sha256
614 (base32 "1w59n17lridglphnm4mnmmzq1ijpbp269qxfmz01vk6wry6hlnp8"))))
615 (build-system qt-build-system)
616 (native-inputs
617 `(("extra-cmake-modules" ,extra-cmake-modules)))
618 (inputs
619 `(("kcoreaddons" ,kcoreaddons)
620 ("ki18n" ,ki18n)
621 ("kio" ,kio)
622 ("qtbase" ,qtbase)
623 ("qtxmlpatterns" ,qtxmlpatterns)))
624 (home-page "https://cgit.kde.org/kdav.git")
625 (synopsis "DAV protocol implementation with KJobs")
5a033458 626 (description "This is a DAV protocol implementation with KJobs. Calendars
49e247ef
HG
627and todos are supported, using either GroupDAV or CalDAV, and contacts are
628supported using GroupDAV or CardDAV.")
629 (license ;; GPL for programs, LGPL for libraries
630 (list license:gpl2+ license:lgpl2.0+))))
631
2dd5b1e8
HG
632(define-public kdepim-apps-libs
633 (package
634 (name "kdepim-apps-libs")
635 (version "19.08.3")
636 (source
637 (origin
638 (method url-fetch)
639 (uri (string-append "mirror://kde/stable/applications/" version
640 "/src/kdepim-apps-libs-" version ".tar.xz"))
641 (sha256
642 (base32 "10xbzvp9cm5fpy4nxp38qm4vf0bycpq94bm4z2j4lw7ll1aq8irw"))))
643 (build-system qt-build-system)
644 (native-inputs
645 `(("extra-cmake-modules" ,extra-cmake-modules)))
646 (inputs
647 `(("akonadi" ,akonadi)
648 ("akonadi-contacts" ,akonadi-contacts)
649 ("boost" ,boost)
650 ("gpgme" ,gpgme)
651 ("grantlee" ,grantlee)
652 ("grantleetheme" ,grantleetheme)
653 ("kconfig" ,kconfig)
654 ("kconfigwidgets" ,kconfigwidgets)
655 ("kcontacts" ,kcontacts)
656 ("kcoreaddons" ,kcoreaddons)
657 ("kdbusaddons" ,kdbusaddons)
658 ("ki18n" ,ki18n)
659 ("kiconthemes" ,kiconthemes)
660 ("kimap" ,kimap)
661 ("kio" ,kio)
662 ("kitemmodels" ,kitemmodels)
663 ("kmime" ,kmime)
664 ("kpimcommon" ,kpimcommon)
665 ("kservice" ,kservice)
666 ("kwidgetsaddons" ,kwidgetsaddons)
667 ("libkleo" ,libkleo)
668 ("prison" ,prison)
669 ("qgpgme" ,qgpgme)
670 ("qtbase" ,qtbase)))
671 (home-page "https://cgit.kde.org/kdepim-apps-libs.git")
672 (synopsis "KDE PIM mail related libraries and data files")
e3e13b12 673 (description "This package provides mail related libraries and data files
6434f9b6 674for KDE PIM.")
2dd5b1e8
HG
675 (license ;; GPL for programs, LGPL for libraries
676 (list license:gpl2+ license:lgpl2.0+))))
677
de6b7822
HG
678(define-public kdepim-runtime
679 (package
680 (name "kdepim-runtime")
681 (version "19.08.3")
682 (source
683 (origin
684 (method url-fetch)
685 (uri (string-append "mirror://kde/stable/applications/" version
686 "/src/kdepim-runtime-" version ".tar.xz"))
687 (sha256
688 (base32 "1skid9v6viw379mwhmb4xjh6bylv8wg7cy56kkbcpsmpars9cwr6"))
689 (patches (search-patches
690 "kdepim-runtime-Fix-missing-link-libraries.patch"))))
691 (build-system qt-build-system)
692 (native-inputs
693 `(("extra-cmake-modules" ,extra-cmake-modules)
694 ("dbus" ,dbus)
695 ("kdoctools" ,kdoctools)
696 ("libxslt" ,libxslt)
697 ("shared-mime-info" ,shared-mime-info)))
698 (inputs
699 `(("akonadi" ,akonadi)
700 ("akonadi-calendar" ,akonadi-calendar)
701 ("akonadi-contacts" ,akonadi-contacts)
702 ("akonadi-mime" ,akonadi-mime)
703 ("akonadi-notes" ,akonadi-notes)
704 ("boost" ,boost)
705 ("cyrus-sasl" ,cyrus-sasl)
706 ("kalarmcal" ,kalarmcal)
707 ("kcalendarcore" ,kcalendarcore)
708 ("kcalutils" ,kcalutils)
709 ("kcodecs" ,kcodecs)
710 ("kconfig" ,kconfig)
711 ("kconfigwidgets" ,kconfigwidgets)
712 ("kcontacts" ,kcontacts)
713 ("kdav" ,kdav)
714 ("kdbusaddons" ,kdbusaddons)
715 ("kholidays" ,kholidays)
716 ("kiconthemes" ,kiconthemes)
717 ("kidentitymanagement" ,kidentitymanagement)
718 ("kimap" ,kimap)
719 ("kio" ,kio)
720 ("kitemmodels" ,kitemmodels)
721 ("kmailtransport" ,kmailtransport)
722 ("kmbox" ,kmbox)
723 ("kmime" ,kmime)
724 ("knotifications" ,knotifications)
725 ("knotifyconfig" ,knotifyconfig)
726 ("kpimcommon" ,kpimcommon)
727 ("kpimtextedit" ,kpimtextedit)
728 ("kross" ,kross)
729 ("ktextwidgets" ,ktextwidgets)
730 ("kwallet" ,kwallet)
731 ("kwindowsystem" ,kwindowsystem)
732 ("libkgapi" ,libkgapi)
733 ;; TODO: libkolab
734 ("qca" ,qca)
735 ("qtbase" ,qtbase)
736 ("qtdeclarative" ,qtdeclarative)
737 ("qtnetworkauth" ,qtnetworkauth)
738 ("qtspeech" ,qtspeech)
739 ("qtwebchannel" ,qtwebchannel)
740 ("qtwebengine" ,qtwebengine)
741 ("qtxmlpatterns" ,qtxmlpatterns)))
742 (arguments
743 ;; TODO: 5/45 tests fail for quite different reasons, even with
744 ;; "offscreen" and dbus
745 `(#:tests? #f))
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
749Development Platform libraries. Any package that uses Akonadi should probably
750pull this in as a dependency. The kres-bridges is also parts of this
751package.")
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+))))
756
b3359b85
HG
757(define-public keventviews
758 (package
759 (name "keventviews")
760 (version "19.08.3")
761 (source
762 (origin
763 (method url-fetch)
764 (uri (string-append "mirror://kde/stable/applications/" version
765 "/src/eventviews-" version ".tar.xz"))
766 (sha256
767 (base32 "190vx074ligzysc9w5pf2b51dfy0i4v9mc53m9jdcw8y02shy49w"))))
768 (properties `((upstream-name . "eventviews")))
769 (build-system qt-build-system)
770 (native-inputs
771 `(("extra-cmake-modules" ,extra-cmake-modules)
772 ("qttools" ,qttools)))
773 (inputs
774 `(("akonadi" ,akonadi)
775 ("akonadi-calendar" ,akonadi-calendar)
776 ("akonadi-contacts" ,akonadi-contacts)
777 ("boost" ,boost)
778 ("kcalendarcore" ,kcalendarcore)
779 ("kcalendarsupport" ,kcalendarsupport)
780 ("kcalutils" ,kcalutils)
781 ("kcodecs", kcodecs)
782 ("kcompletion" ,kcompletion)
783 ("kconfigwidgets" ,kconfigwidgets)
784 ("kcontacts" ,kcontacts)
785 ("kdbusaddons" ,kdbusaddons)
786 ("kdiagram" ,kdiagram)
787 ("kguiaddons" ,kguiaddons)
788 ("kholidays" ,kholidays)
789 ("ki18n" ,ki18n)
790 ("kiconthemes" ,kiconthemes)
791 ("kidentitymanagement" ,kidentitymanagement)
792 ("kio" ,kio)
793 ("kitemmodels" ,kitemmodels)
794 ("kmime" ,kmime)
795 ("kpimtextedit" ,kpimtextedit)
796 ("kservice" ,kservice)
797 ("ktextwidgets" ,ktextwidgets)
798 ("kxmlgui" ,kxmlgui)
799 ("libkdepim" ,libkdepim)
800 ("qtbase" ,qtbase)))
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+))))
806
48d5d0ef
HG
807(define-public kgpg
808 (package
809 (name "kgpg")
810 (version "19.08.3")
811 (source
812 (origin
813 (method url-fetch)
814 (uri (string-append "mirror://kde/stable/applications/" version
815 "/src/kgpg-" version ".tar.xz"))
816 (sha256
817 (base32 "1dis7zv51a4lhx5l3wlwnhym8f79h8sibhhk97fkn8d7szdrmfw5"))))
818 (build-system qt-build-system)
819 (native-inputs
820 `(("extra-cmake-modules" ,extra-cmake-modules)
821 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
822 ("kdoctools" ,kdoctools)))
823 (inputs
824 `(("akonadi" ,akonadi)
825 ("akonadi-contacts" ,akonadi-contacts)
826 ("boost" ,boost)
827 ("gpgme" ,gpgme)
828 ("karchive" ,karchive)
829 ("kcodecs" ,kcodecs)
830 ("kcontacts" ,kcontacts)
831 ("kcoreaddons" ,kcoreaddons)
832 ("kcrash" ,kcrash)
833 ("kdbusaddons" ,kdbusaddons)
834 ("ki18n" ,ki18n)
835 ("kiconthemes" ,kiconthemes)
836 ("kio" ,kio)
837 ("kitemmodels" ,kitemmodels)
838 ("kjobwidgets" ,kjobwidgets)
839 ("knotifications" ,knotifications)
840 ("kservice" ,kservice)
841 ("ktextwidgets" ,ktextwidgets)
842 ("kwidgetsaddons" ,kwidgetsaddons)
843 ("kwindowsystem" ,kwindowsystem)
844 ("kxmlgui" ,kxmlgui)
845 ("oxygen-icons" ,oxygen-icons) ;; default icon set
846 ("qtbase" ,qtbase)))
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,
850and can encrypt, decrypt, sign, and verify files. It features a simple editor
851for applying cryptography to short pieces of text, and can also quickly apply
852cryptography to the contents of the clipboard.")
853 (license license:gpl2+)))
854
0a0df84f
HG
855(define-public kidentitymanagement
856 (package
857 (name "kidentitymanagement")
858 (version "19.08.3")
859 (source
860 (origin
861 (method url-fetch)
862 (uri (string-append "mirror://kde/stable/applications/" version
863 "/src/kidentitymanagement-" version ".tar.xz"))
864 (sha256
865 (base32 "0dqz49sp5hq44590rrxav8688aqlzsww4q4n55ksfy13nk9i5mbf"))))
866 (build-system qt-build-system)
867 (native-inputs
868 `(("extra-cmake-modules" ,extra-cmake-modules)))
869 (inputs
870 `(("kcodecs" ,kcodecs)
871 ("kcompletion" ,kcompletion)
872 ("kconfig" ,kconfig)
873 ("kcoreaddons" ,kcoreaddons)
874 ("kemoticons" ,kemoticons)
875 ("kiconthemes" ,kiconthemes)
876 ("kio" ,kio)
877 ("kpimtextedit" ,kpimtextedit)
878 ("ktextwidgets" ,ktextwidgets)
879 ("kxmlgui" ,kxmlgui)
880 ("qtbase" ,qtbase)))
881 (arguments
882 `(#:phases
883 (modify-phases %standard-phases
884 (add-before 'check 'set-home
885 (lambda _
886 (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this?
887 #t)))))
888 (home-page "https://kontact.kde.org/")
889 (synopsis "Library for shared identities between mail applications")
6434f9b6 890 (description "This library provides an API for managing user identities.")
0a0df84f
HG
891 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
892 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
893
037994df
HG
894(define-public kimap
895 (package
896 (name "kimap")
897 (version "19.08.3")
898 (source
899 (origin
900 (method url-fetch)
901 (uri (string-append "mirror://kde/stable/applications/" version
902 "/src/kimap-" version ".tar.xz"))
903 (sha256
904 (base32 "0l8hb2z82jzbwr12lw5fismwk1a3ca4dk966p1fxg4bibck8vjj6"))))
905 (build-system qt-build-system)
906 (native-inputs
907 `(("extra-cmake-modules" ,extra-cmake-modules)))
908 (inputs
909 `(("cyrus-sasl" ,cyrus-sasl)
910 ("kcoreaddons" ,kcoreaddons)
911 ("ki18n" ,ki18n)
912 ("kio" ,kio)
913 ("kmime" ,kmime)
914 ("qtbase" ,qtbase)))
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
918an IMAP4rev1 server. It manages connections, encryption and parameter quoting
919and encoding, but otherwise provides quite a low-level interface to the
920protocol. This library does not implement an IMAP client; it merely makes it
921easier to do so.")
922 (license ;; GPL for programs, LGPL for libraries
923 (list license:gpl2+ license:lgpl2.0+))))
924
6e03dbea
HG
925(define-public kldap
926 (package
927 (name "kldap")
928 (version "19.08.3")
929 (source
930 (origin
931 (method url-fetch)
932 (uri (string-append "mirror://kde/stable/applications/" version
933 "/src/kldap-" version ".tar.xz"))
934 (sha256
935 (base32 "1blbnj8av6h168g14gyphyd9sz87af773b1qglmbkv5pzbzaanxn"))))
936 (build-system qt-build-system)
937 (native-inputs
938 `(("extra-cmake-modules" ,extra-cmake-modules)
939 ("kdoctools" ,kdoctools)))
940 (inputs
941 `(("ki18n" ,ki18n)
942 ("kio" ,kio)
943 ("kwidgetsaddons" ,kwidgetsaddons)
944 ("qtbase" ,qtbase)))
945 (propagated-inputs
946 `(("cyrus-sasl" ,cyrus-sasl)
947 ("openldap" ,openldap)))
948 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
949 (synopsis "Library for accessing LDAP")
6434f9b6
HG
950 (description " This is a library for accessing LDAP with a convenient Qt
951style C++ API. LDAP (Lightweight Directory Access Protocol) is an application
952protocol for querying and modifying directory services running over TCP/IP. ")
6e03dbea
HG
953 (license license:lgpl2.0+)))
954
ba4f9352
HG
955(define-public kleopatra
956 (package
957 (name "kleopatra")
958 (version "19.08.3")
959 (source
960 (origin
961 (method url-fetch)
962 (uri (string-append "mirror://kde/stable/applications/" version
963 "/src/kleopatra-" version ".tar.xz"))
964 (sha256
965 (base32 "1bqwxdl91s2nai871vvhkmcc3simbnvr2i5m6dnl327bplzqgfa4"))))
966 (build-system qt-build-system)
967 (native-inputs
968 `(("dbus" ,dbus)
969 ("extra-cmake-modules" ,extra-cmake-modules)
970 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
971 ("kdoctools" ,kdoctools)))
972 (inputs
973 `(("boost" ,boost)
974 ("gpgme" ,gpgme)
975 ("kcmutils" ,kcmutils)
976 ("kcodecs" ,kcodecs)
977 ("kconfig" ,kconfig)
978 ("kconfigwidgets" ,kconfigwidgets)
979 ("kcoreaddons" ,kcoreaddons)
980 ("kcrash" ,kcrash)
981 ("kdbusaddons" ,kdbusaddons)
982 ("ki18n" ,ki18n)
983 ("kiconthemes" ,kiconthemes)
984 ("kitemmodels" ,kitemmodels)
985 ("kmime" ,kmime)
986 ("knotifications" ,knotifications)
987 ("ktextwidgets" ,ktextwidgets)
988 ("kwidgetsaddons" ,kwidgetsaddons)
989 ("kwindowsystem" ,kwindowsystem)
990 ("kxmlgui" ,kxmlgui)
991 ("libassuan" ,libassuan)
992 ("libkleo" ,libkleo)
993 ("oxygen-icons" ,oxygen-icons) ;; default icon set
994 ("qgpgme" ,qgpgme)
995 ("qtbase" ,qtbase)))
996 (arguments
997 `(#:phases
998 (modify-phases %standard-phases
999 (replace 'check
1000 (lambda _
1001 (invoke "dbus-launch" "ctest" ".")
1002 #t)))))
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
1006GUI. It supports managing X.509 and OpenPGP certificates in the GpgSM keybox
1007and retrieving certificates from LDAP servers.")
1008 (license ;; GPL for programs, FDL for documentation
1009 (list license:gpl2+ license:fdl1.2+))))
1010
639b6ead
HG
1011(define-public kmail
1012 (package
1013 (name "kmail")
1014 (version "19.08.3")
1015 (source
1016 (origin
1017 (method url-fetch)
1018 (uri (string-append "mirror://kde/stable/applications/" version
1019 "/src/kmail-" version ".tar.xz"))
1020 (sha256
1021 (base32 "0gsdpv9pf4h031zcawc4qv78a5kl9hxp2amd0spjhs7wc7nl17fk"))
1022 (patches (search-patches "kmail-Fix-missing-link-libraries.patch"))))
1023 (build-system qt-build-system)
1024 (native-inputs
1025 `(("extra-cmake-modules" ,extra-cmake-modules)
1026 ("dbus" ,dbus)
1027 ("kdoctools" ,kdoctools)))
1028 (inputs
1029 `(("akonadi" ,akonadi)
1030 ("akonadi-contacts" ,akonadi-contacts)
1031 ("akonadi-mime" ,akonadi-mime)
1032 ("akonadi-search" ,akonadi-search)
1033 ("boost" ,boost)
1034 ("gpgme" ,gpgme)
1035 ("kbookmarks" ,kbookmarks)
1036 ("kcalendarcore" ,kcalendarcore)
1037 ("kcalutils" ,kcalutils)
1038 ("kcmutils" ,kcmutils)
1039 ("kcodecs" ,kcodecs)
1040 ("kconfig" ,kconfig)
1041 ("kconfigwidgets" ,kconfigwidgets)
1042 ("kcontacts" ,kcontacts)
1043 ("kcrash" ,kcrash)
1044 ("kdbusaddons" ,kdbusaddons)
1045 ("kdepim-apps-libs" ,kdepim-apps-libs)
1046 ("kguiaddons" ,kguiaddons)
1047 ("ki18n" ,ki18n)
1048 ("kiconthemes" ,kiconthemes)
1049 ("kidentitymanagement" ,kidentitymanagement)
1050 ("kimap" ,kimap)
1051 ("kio" ,kio)
1052 ("kitemmodels" ,kitemmodels)
1053 ("kitemviews" ,kitemviews)
1054 ("kjobwidgets" ,kjobwidgets)
1055 ("kldap" ,kldap)
1056 ("kmailcommon" ,kmailcommon)
1057 ("kmailtransport" ,kmailtransport)
1058 ("kmessagelib" ,kmessagelib)
1059 ("kmime" ,kmime)
1060 ("kmime" ,kmime)
1061 ("knotifications" ,knotifications)
1062 ("knotifyconfig" ,knotifyconfig)
1063 ("kontactinterface" ,kontactinterface)
1064 ("kparts" ,kparts)
1065 ("kpimcommon" ,kpimcommon)
1066 ("kpimtextedit" ,kpimtextedit)
1067 ("kservice" ,kservice)
1068 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1069 ("ktextwidgets" ,ktextwidgets)
1070 ("ktnef" ,ktnef)
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
1080 ("qgpgme" ,qgpgme)
1081 ("qtbase" ,qtbase)
1082 ("qtdeclarative" ,qtdeclarative)
1083 ("qtwebchannel" ,qtwebchannel)
1084 ("qtwebengine" ,qtwebengine)
1085 ("sonnet" ,sonnet)))
1086 (arguments
1087 `(#:phases
1088 (modify-phases %standard-phases
1089 (replace 'check
1090 (lambda _
1091 (invoke "dbus-launch" "ctest" ".")
1092 #t)))))
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
1096encryption. The program let you configure your workflow and it has good
1097integration into KDE (Plasma Desktop) but is also useable with other Desktop
5995a9f7 1098Environments.
639b6ead
HG
1099
1100KMail is the email component of Kontact, the integrated personal information
1101manager from KDE.")
1102 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1103 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1104
d3b543a1
HG
1105(define-public kmailcommon
1106 (package
1107 (name "kmailcommon")
1108 (version "19.08.3")
1109 (source
1110 (origin
1111 (method url-fetch)
1112 (uri (string-append "mirror://kde/stable/applications/" version
1113 "/src/mailcommon-" version ".tar.xz"))
1114 (sha256
1115 (base32 "1gsj89kgq4457mnfjlys4wiixpzwlbwhj4zpd7r4fdhbyihz3k2m"))))
1116 (properties `((upstream-name . "mailcommon")))
1117 (build-system qt-build-system)
1118 (native-inputs
1119 `(("extra-cmake-modules" ,extra-cmake-modules)
1120 ("dbus" ,dbus)
1121 ("gnupg" ,gnupg)
1122 ("qttools" ,qttools)))
1123 (inputs
1124 `(("akonadi" ,akonadi)
1125 ("akonadi-contacts" ,akonadi-contacts)
1126 ("akonadi-mime" ,akonadi-mime)
1127 ("boost" ,boost)
1128 ("gpgme" ,gpgme)
1129 ("karchive" ,karchive)
1130 ("kcodecs" ,kcodecs)
1131 ("kcompletion" ,kcompletion)
1132 ("kconfig" ,kconfig)
1133 ("kconfigwidgets" ,kconfigwidgets)
1134 ("kcontacts" ,kcontacts)
1135 ("kdbusaddons" ,kdbusaddons)
1136 ("kdesignerplugin" ,kdesignerplugin)
1137 ("ki18n" ,ki18n)
1138 ("kiconthemes" ,kiconthemes)
1139 ("kidentitymanagement" ,kidentitymanagement)
1140 ("kimap" ,kimap)
1141 ("kio" ,kio)
1142 ("kitemmodels" ,kitemmodels)
1143 ("kitemviews" ,kitemviews)
1144 ("kldap" ,kldap)
1145 ("kmailimporter" ,kmailimporter)
1146 ("kmailtransport" ,kmailtransport)
1147 ("kmessagelib" ,kmessagelib)
1148 ("kmime" ,kmime)
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)
1160 ("phonon" ,phonon)
1161 ("qgpgme" ,qgpgme)
1162 ("qtbase" ,qtbase)))
1163 (arguments
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
1168dealing with email.")
1169 (license ;; GPL for programs, LGPL for libraries
1170 (list license:gpl2+ license:lgpl2.0+))))
1171
63d58962
HG
1172(define-public kmailimporter
1173 (package
1174 (name "kmailimporter")
1175 (version "19.08.3")
1176 (source
1177 (origin
1178 (method url-fetch)
1179 (uri (string-append "mirror://kde/stable/applications/" version
1180 "/src/mailimporter-" version ".tar.xz"))
1181 (sha256
1182 (base32 "0vmrgjz47f96crrbv0bhaz0abh2am4whhb294rfz02mvjghbzpzv"))))
1183 (properties `((upstream-name . "mailimporter")))
1184 (build-system qt-build-system)
1185 (native-inputs
1186 `(("extra-cmake-modules" ,extra-cmake-modules)))
1187 (inputs
1188 `(("akonadi" ,akonadi)
1189 ("akonadi-mime" ,akonadi-mime)
1190 ("boost" ,boost)
1191 ("karchive" ,karchive)
1192 ("kcompletion" ,kcompletion)
1193 ("kconfig" ,kconfig)
1194 ("kconfigwidgets" ,kconfigwidgets)
1195 ("kcoreaddons" ,kcoreaddons)
1196 ("kdbusaddons" ,kdbusaddons)
1197 ("ki18n" ,ki18n)
1198 ("kio" ,kio)
1199 ("kitemmodels" ,kitemmodels)
1200 ("kmime" ,kmime)
1201 ("kxmlgui" ,kxmlgui)
1202 ("libkdepim" ,libkdepim)
1203 ("qtbase" ,qtbase)))
1204 (home-page "https://cgit.kde.org/mailimporter.git")
1205 (synopsis "KDE mail importer library")
6434f9b6
HG
1206 (description "This package provides libraries for importing mails other
1207e-mail client programs into KMail and KDE PIM.")
63d58962
HG
1208 (license ;; GPL for programs, LGPL for libraries
1209 (list license:gpl2+ license:lgpl2.0+))))
1210
5a75e444
HG
1211(define-public kmailtransport
1212 (package
1213 (name "kmailtransport")
1214 (version "19.08.3")
1215 (source
1216 (origin
1217 (method url-fetch)
1218 (uri (string-append "mirror://kde/stable/applications/" version
1219 "/src/kmailtransport-" version ".tar.xz"))
1220 (sha256
1221 (base32 "04jdnqxbp4382vjxh06rrvsigbrygqfkw0fvbbjnjymp585mgkr4"))))
1222 (build-system qt-build-system)
1223 (native-inputs
1224 `(("extra-cmake-modules" ,extra-cmake-modules)
1225 ("kdoctools" ,kdoctools)))
1226 (inputs
1227 `(("akonadi" ,akonadi)
1228 ("akonadi-mime" ,akonadi-mime)
1229 ("boost" ,boost)
1230 ("cyrus-sasl" ,cyrus-sasl)
1231 ("kcalendarcore" ,kcalendarcore)
1232 ("kcmutils" ,kcmutils)
1233 ("kcontacts" ,kcontacts)
1234 ("kdbusaddons" ,kdbusaddons)
1235 ("kconfigwidgets" ,kconfigwidgets)
1236 ("ki18n" ,ki18n)
1237 ("kitemmodels", kitemmodels)
1238 ("kio" ,kio)
1239 ("kmime" ,kmime)
1240 ("ksmtp" ,ksmtp)
1241 ("ktextwidgets" ,ktextwidgets)
1242 ("kwallet" ,kwallet)
1243 ("libkgapi" ,libkgapi)
1244 ("qtbase" ,qtbase)))
1245 (arguments
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")
6434f9b6 1249 (description "This library provides an API and support code for managing
5a75e444
HG
1250mail transport.")
1251 (license license:lgpl2.0+)))
1252
962b288a
HG
1253(define-public kmbox
1254 (package
1255 (name "kmbox")
1256 (version "19.08.3")
1257 (source
1258 (origin
1259 (method url-fetch)
1260 (uri (string-append "mirror://kde/stable/applications/" version
1261 "/src/kmbox-" version ".tar.xz"))
1262 (sha256
1263 (base32 "13b5v1nx46k5ais3cms7yxrfi8p6xbljpkpg3f7v1asb6kshv7g2"))))
1264 (build-system qt-build-system)
1265 (native-inputs
1266 `(("extra-cmake-modules" ,extra-cmake-modules)))
1267 (inputs
1268 `(("kcodecs" ,kcodecs)
1269 ("kmime" ,kmime)
1270 ("qtbase" ,qtbase)))
1271 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1272 (synopsis "Library for handling mbox mailboxes")
6434f9b6
HG
1273 (description "This is a library for handling mailboxes in mbox format,
1274using a Qt/KMime C++ API.")
962b288a
HG
1275 (license license:lgpl2.0+ )))
1276
a146c18c
HG
1277(define-public kmessagelib
1278 (package
1279 (name "kmessagelib")
1280 (version "19.08.3")
1281 (source
1282 (origin
1283 (method url-fetch)
1284 (uri (string-append "mirror://kde/stable/applications/" version
1285 "/src/messagelib-" version ".tar.xz"))
1286 (sha256
1287 (base32 "0a378aqkdjzyzlxxha2qxa6vzrj92l1fplzb6fajz4l7ipj4hbnv"))))
1288 (properties `((upstream-name . "messagelib")))
1289 (build-system qt-build-system)
1290 (native-inputs
1291 `(("extra-cmake-modules" ,extra-cmake-modules)
1292 ("gnupg" ,gnupg)
1293 ("libxml2" ,libxml2)))
1294 (inputs
1295 `(("akonadi" ,akonadi)
1296 ("akonadi-contacts" ,akonadi-contacts)
1297 ("akonadi-mime" ,akonadi-mime)
1298 ("akonadi-notes" ,akonadi-notes)
1299 ("akonadi-search" ,akonadi-search)
1300 ("boost" ,boost)
1301 ("gpgme" ,gpgme)
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)
1313 ("ki18n" ,ki18n)
1314 ("kiconthemes" ,kiconthemes)
1315 ("kidentitymanagement" ,kidentitymanagement)
1316 ("kimap" ,kimap)
1317 ("kio" ,kio)
1318 ("kitemmodels" ,kitemmodels)
1319 ("kitemviews" ,kitemviews)
1320 ("kjobwidgets" ,kjobwidgets)
1321 ("kldap" ,kldap)
1322 ("kmailtransport" ,kmailtransport)
1323 ("kmbox" ,kmbox)
1324 ("kmime" ,kmime)
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)
1338 ("qgpgme" ,qgpgme)
1339 ("qtbase" ,qtbase)
1340 ("qtdeclarative" ,qtdeclarative)
1341 ("qtwebchannel" ,qtwebchannel)
1342 ("qtwebengine" ,qtwebengine)
1343 ("qtwebkit" ,qtwebkit)
1344 ("sonnet" ,sonnet)))
1345 (arguments
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")
507779fd 1349 (description "This package provides several libraries for messages,
a146c18c
HG
1350e.g. a message list, a mime tree parse, a template parser and the
1351kwebengineviewer.")
1352 (license ;; GPL for programs, LGPL for libraries
1353 (list license:gpl2+ license:lgpl2.0+))))
1354
7cfb118c
HG
1355(define-public kmime
1356 (package
1357 (name "kmime")
1358 (version "19.08.3")
1359 (source
1360 (origin
1361 (method url-fetch)
1362 (uri (string-append "mirror://kde/stable/applications/" version
1363 "/src/kmime-" version ".tar.xz"))
1364 (sha256
1365 (base32 "1pc00pwwrngsyr7ppvqwfgvcgy2wiqdbqxhv9xidn4dw9way2ng6"))))
1366 (build-system qt-build-system)
1367 (native-inputs
1368 `(("extra-cmake-modules" ,extra-cmake-modules)))
1369 (inputs
1370 `(("kcodecs" ,kcodecs)
1371 ("ki18n" ,ki18n)
1372 ("qtbase" ,qtbase)))
1373 (arguments
1374 `(#:phases
1375 (modify-phases %standard-phases
1376 (add-after 'unpack 'fix-test-case
1377 (lambda _
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")))
1383 #t)))))
1384 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1385 (synopsis "Library for handling MIME data")
6434f9b6
HG
1386 (description "This library provides an API for handling MIME
1387data. MIME (Multipurpose Internet Mail Extensions) is an Internet Standard
1388that extends the format of e-mail to support text in character sets other than
1389US-ASCII, non-text attachments, multi-part message bodies, and header
1390information in non-ASCII character sets.")
7cfb118c 1391 (license license:lgpl2.0+)))
8c71fd43 1392
dd80d13b
HG
1393(define-public knotes
1394 (package
1395 (name "knotes")
1396 (version "19.08.3")
1397 (source
1398 (origin
1399 (method url-fetch)
1400 (uri (string-append "mirror://kde/stable/applications/" version
1401 "/src/knotes-" version ".tar.xz"))
1402 (sha256
1403 (base32 "128qpfqjn5zwl5550srmbjyxns242q6a3b0jy70jjx2yixy3rb87"))))
1404 (build-system qt-build-system)
1405 (native-inputs
1406 `(("extra-cmake-modules" ,extra-cmake-modules)
1407 ("libxslt" ,libxslt)))
1408 (inputs
1409 `(("akonadi" ,akonadi)
1410 ("akonadi-contacts" ,akonadi-contacts)
1411 ("akonadi-mime" ,akonadi-mime)
1412 ("akonadi-notes" ,akonadi-notes)
1413 ("akonadi-search" ,akonadi-search)
1414 ("boost" ,boost)
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)
1425 ("kcrash" ,kcrash)
1426 ("kdbusaddons" ,kdbusaddons)
1427 ("kdnssd" ,kdnssd)
1428 ("kdoctools" ,kdoctools)
1429 ("kglobalaccel" ,kglobalaccel)
1430 ("kiconthemes" ,kiconthemes)
1431 ("kimap" ,kimap)
1432 ("kitemmodels" ,kitemmodels)
1433 ("kitemviews" ,kitemviews)
1434 ("kmime" ,kmime)
1435 ("kmime" ,kmime)
1436 ("knewstuff" ,knewstuff)
1437 ("knotifications" ,knotifications)
1438 ("knotifyconfig" ,knotifyconfig)
1439 ("kontactinterface" ,kontactinterface)
1440 ("kparts" ,kparts)
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
1450 ("qtbase" ,qtbase)
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
1455notes. The notes are saved automatically when you exit the program, and they
1456display when you open the program.
1457
1458Features:
1459@itemize
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
1464@end itemize")
1465 (license (list license:gpl2+ license:lgpl2.0+))))
1466
789cf5c3
HG
1467(define-public kontactinterface
1468 (package
1469 (name "kontactinterface")
1470 (version "19.08.3")
1471 (source
1472 (origin
1473 (method url-fetch)
1474 (uri (string-append "mirror://kde/stable/applications/" version
1475 "/src/kontactinterface-" version ".tar.xz"))
1476 (sha256
1477 (base32 "1p0iw9i8cxh3jn7094wvxhlpc2sw52q8csfdgch1lf3dwhkpp0k7"))))
1478 (build-system qt-build-system)
1479 (native-inputs
1480 `(("extra-cmake-modules" ,extra-cmake-modules)))
1481 (inputs
1482 `(("kcoreaddons" ,kcoreaddons)
1483 ("ki18n" ,ki18n)
1484 ("kiconthemes" ,kiconthemes)
1485 ("kparts" ,kparts)
1486 ("kwindowsystem" ,kwindowsystem)
1487 ("kxmlgui" ,kxmlgui)
1488 ("qtbase" ,qtbase)))
1489 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1490 (synopsis "Kontact interface library")
6434f9b6
HG
1491 (description " This library provides the glue necessary for
1492application \"Parts\" to be embedded as a Kontact component (or plugin).")
789cf5c3
HG
1493 (license license:lgpl2.0+)))
1494
d3d8be52
HG
1495(define-public korganizer
1496 (package
1497 (name "korganizer")
1498 (version "19.08.3")
1499 (source
1500 (origin
1501 (method url-fetch)
1502 (uri (string-append "mirror://kde/stable/applications/" version
1503 "/src/korganizer-" version ".tar.xz"))
1504 (sha256
1505 (base32 "1ixdmmczccvwr7a6vvzv0kyjay0mjnbwcwkq6yym32m2lb3vcxdn"))))
1506 (build-system qt-build-system)
1507 (native-inputs
1508 `(("extra-cmake-modules" ,extra-cmake-modules)
1509 ("dbus" ,dbus)
1510 ("qttools" ,qttools)
1511 ("kdoctools" ,kdoctools)))
1512 (inputs
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)
1519 ("boost" ,boost)
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)
1530 ("kcrash" ,kcrash)
1531 ("kdbusaddons" ,kdbusaddons)
1532 ("kdepim-apps-libs" ,kdepim-apps-libs)
1533 ("keventviews" ,keventviews)
1534 ("kholidays" ,kholidays)
1535 ("kiconthemes" ,kiconthemes)
1536 ("kidentitymanagement" ,kidentitymanagement)
1537 ("kimap" ,kimap)
1538 ("kincidenceeditor" ,kincidenceeditor)
1539 ("kitemmodels" ,kitemmodels)
1540 ("kitemviews" ,kitemviews)
1541 ("kjobwidgets" ,kjobwidgets)
1542 ("kldap" ,kldap)
1543 ("kmailtransport" ,kmailtransport)
1544 ("kmime" ,kmime)
1545 ("knewstuff" ,knewstuff)
1546 ("knotifications" ,knotifications)
1547 ("kontactinterface" ,kontactinterface)
1548 ("kparts" ,kparts)
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
1558 ("phonon" ,phonon)
1559 ("qtbase" ,qtbase)))
1560 (arguments
1561 `(#:phases
1562 (modify-phases %standard-phases
1563 (replace 'check
1564 (lambda _
1565 (invoke "dbus-launch" "ctest" ".")
1566 #t)))))
1567 (home-page "https://kontact.kde.org/components/korganizer.html")
1568 (synopsis "Organizational assistant, providing calendars and other similar
1569functionality to help you organize your life.")
1570 (description "KOrganizer is the calendar and scheduling component of
1571Kontact. It provides management of events and tasks, alarm notification, web
1572export, network transparent handling of data, group scheduling, import and
1573export of calendar files and more. It is able to work together with a wide
043c3d64 1574variety of calendaring services, including NextCloud, Kolab, Google Calendar
d3d8be52
HG
1575and others. KOrganizer is fully customizable to your needs and is an integral
1576part of the Kontact suite, which aims to be a complete solution for organizing
1577your personal data. KOrganizer supports the two dominant standards for storing
1578and 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+))))
1581
a8546f46
HG
1582(define-public kpimcommon
1583 (package
1584 (name "kpimcommon")
1585 (version "19.08.3")
1586 (source
1587 (origin
1588 (method url-fetch)
1589 (uri (string-append "mirror://kde/stable/applications/" version
1590 "/src/pimcommon-" version ".tar.xz"))
1591 (sha256
1592 (base32 "1jl40ymq46yjn9va78hklgg91ikrfahf3w4jl5ziiqbivcl7r9kn"))))
1593 (properties `((upstream-name . "pimcommon")))
1594 (build-system qt-build-system)
1595 (native-inputs
1596 `(("extra-cmake-modules" ,extra-cmake-modules)
1597 ("qttools" ,qttools)))
1598 (inputs
1599 `(("karchive" ,karchive)
1600 ("akonadi" ,akonadi)
1601 ("akonadi-contacts" ,akonadi-contacts)
1602 ("akonadi-mime" ,akonadi-mime)
1603 ("boost" ,boost)
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)
1614 ("ki18n" ,ki18n)
1615 ("kiconthemes" ,kiconthemes)
1616 ("kimap" ,kimap)
1617 ("kio" ,kio)
1618 ("kirigami" ,kirigami) ;; run-time dependency
1619 ("kitemmodels" ,kitemmodels)
1620 ("kitemviews" ,kitemviews)
1621 ("kjobwidgets" ,kjobwidgets)
1622 ("kmime" ,kmime)
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)
1634 ("qtbase" ,qtbase)
1635 ("qtwebengine" ,qtwebengine)))
1636 (arguments
1637 `(#:tests? #f)) ;; TODO tests hang
1638 (home-page "https://cgit.kde.org/pimcommon.git")
6434f9b6
HG
1639 (synopsis "Common libraries for KDE PIM")
1640 (description "This package provides common libraries for KDE PIM.")
a8546f46
HG
1641 (license ;; GPL for programs, LGPL for libraries
1642 (list license:gpl2+ license:lgpl2.0+))))
1643
8c71fd43
HG
1644(define-public kpimtextedit
1645 (package
1646 (name "kpimtextedit")
1647 (version "19.08.3")
1648 (source
1649 (origin
1650 (method url-fetch)
1651 (uri (string-append "mirror://kde/stable/applications/" version
1652 "/src/kpimtextedit-" version ".tar.xz"))
1653 (sha256
1654 (base32 "1as48j5qfpj9pqjck1615nlpk4a850m7xxcyl41gx8biww027zvm"))))
1655 (build-system qt-build-system)
1656 (native-inputs
1657 `(("extra-cmake-modules" ,extra-cmake-modules)
1658 ("qttools" ,qttools)))
1659 (inputs
1660 `(("grantlee" ,grantlee)
1661 ("kcodecs" ,kcodecs)
1662 ("kconfigwidgets" ,kconfigwidgets)
1663 ("kcoreaddons" ,kcoreaddons)
1664 ("kdesignerplugin" ,kdesignerplugin)
1665 ("kemoticons" ,kemoticons)
1666 ("ki18n" ,ki18n)
1667 ("kiconthemes" ,kiconthemes)
1668 ("kio" ,kio)
1669 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1670 ("ktextwidgets" ,ktextwidgets)
1671 ("kwidgetsaddons" ,kwidgetsaddons)
1672 ("kxmlgui" ,kxmlgui)
1673 ("qtbase" ,qtbase)
1674 ("qtspeech", qtspeech)
1675 ("sonnet" ,sonnet)))
1676 (arguments
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")
6434f9b6
HG
1680 (description "This package provides a textedit with PIM-specific features.
1681It also provides so-called rich text builders which can convert the formatted
1682text in the text edit to all kinds of markup, like HTML or BBCODE.")
8c71fd43
HG
1683 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1684 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
ff6adc0a 1685
29157edc
HG
1686(define-public ksmtp
1687 (package
1688 (name "ksmtp")
1689 (version "19.08.3")
1690 (source
1691 (origin
1692 (method url-fetch)
1693 (uri (string-append "mirror://kde/stable/applications/" version
1694 "/src/ksmtp-" version ".tar.xz"))
1695 (sha256
1696 (base32 "1pd8mma3xbq83jkn76gqinn6xh9imaji0jrg3qzysf5rvjl8kcqn"))))
1697 (build-system qt-build-system)
1698 (native-inputs
1699 `(("extra-cmake-modules" ,extra-cmake-modules)))
1700 (inputs
1701 `(("cyrus-sasl" ,cyrus-sasl)
1702 ("kcodecs" ,kcodecs)
1703 ("kconfig" ,kconfig)
1704 ("kcoreaddons" ,kcoreaddons)
1705 ("ki18n" ,ki18n)
1706 ("kio" ,kio)
1707 ("qtbase" ,qtbase)))
1708 (arguments
1709 `(#:tests? #f ;; TODO: does not find sasl mechs
1710 #:phases
1711 (modify-phases %standard-phases
1712 (add-after 'unpack 'Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing
1713 (lambda _
1714 (substitute* "src/CMakeLists.txt"
1715 (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)"
1716 _ prefix)
1717 (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))
1718 #t)))))
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
1722services. SMTP (Simple Mail Transfer Protocol) is the most prevalent Internet
1723standard protocols for e-mail transmission.")
1724 (license license:lgpl2.0+)))
1725
ff6adc0a
HG
1726(define-public ktnef
1727 (package
1728 (name "ktnef")
1729 (version "19.08.3")
1730 (source
1731 (origin
1732 (method url-fetch)
1733 (uri (string-append "mirror://kde/stable/applications/" version
1734 "/src/ktnef-" version ".tar.xz"))
1735 (sha256
1736 (base32 "0kgfhh46130hg1xq8km5gjzxa3b620j1zdrg54qivxa782smgbl6"))))
1737 (build-system qt-build-system)
1738 (native-inputs
1739 `(("extra-cmake-modules" ,extra-cmake-modules)))
1740 (inputs
1741 `(("kcalendarcore" ,kcalendarcore)
1742 ("kcalutils" ,kcalutils)
1743 ("kcodecs" ,kcodecs)
1744 ("kconfig" ,kconfig)
1745 ("kcontacts" ,kcontacts)
1746 ("kcoreaddons" ,kcoreaddons)
1747 ("ki18n" ,ki18n)
1748 ("qtbase" ,qtbase)))
1749 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/ktnef/html/")
6434f9b6
HG
1750 (synopsis "Library for handling mail attachments using TNEF format")
1751 (description "Ktnef is a library for handling data in the TNEF
1752format (Transport Neutral Encapsulation Format, a proprietary format of e-mail
1753attachment used by Microsoft Outlook and Microsoft Exchange Server). The API
1754permits access to the actual attachments, the message properties (TNEF/MAPI),
1755and allows one to view/extract message formatted text in Rich Text Format.")
ff6adc0a 1756 (license license:lgpl2.0+)))
0fcbdde7 1757
4357222b
HG
1758(define-public libkdepim
1759 (package
1760 (name "libkdepim")
1761 (version "19.08.3")
1762 (source
1763 (origin
1764 (method url-fetch)
1765 (uri (string-append "mirror://kde/stable/applications/" version
1766 "/src/libkdepim-" version ".tar.xz"))
1767 (sha256
1768 (base32 "0ndh97w1bfii4snx9yc0qazqk5jhx22s810kj656967xd1w4bj9n"))))
1769 (build-system qt-build-system)
1770 (native-inputs
1771 `(("extra-cmake-modules" ,extra-cmake-modules)
1772 ("qttools" ,qttools)))
1773 (inputs
1774 `(("akonadi" ,akonadi)
1775 ("akonadi-contacts" ,akonadi-contacts)
1776 ("akonadi-mime" ,akonadi-mime)
1777 ("akonadi-search" ,akonadi-search)
1778 ("boost" ,boost)
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)
1789 ("ki18n" ,ki18n)
1790 ("kiconthemes" ,kiconthemes)
1791 ("kio" ,kio)
1792 ("kitemmodels" ,kitemmodels)
1793 ("kitemviews" ,kitemviews)
1794 ("kjobwidgets" ,kjobwidgets)
1795 ("kldap" ,kldap)
1796 ("kmime" ,kmime)
1797 ("kwallet" ,kwallet)
1798 ("kwidgetsaddons" ,kwidgetsaddons)
1799 ("qtbase" ,qtbase)))
1800 (home-page "https://cgit.kde.org/libkdepim.git")
6434f9b6
HG
1801 (synopsis "Libraries for common KDE PIM apps")
1802 (description "This package provided libraries for common KDE PIM apps.")
4357222b
HG
1803 (license ;; GPL for programs, LGPL for libraries
1804 (list license:gpl2+ license:lgpl2.0+))))
1805
0fcbdde7
HG
1806(define-public libkgapi
1807 (package
1808 (name "libkgapi")
1809 (version "19.08.3")
1810 (source
1811 (origin
1812 (method url-fetch)
1813 (uri (string-append "mirror://kde/stable/applications/" version
1814 "/src/libkgapi-" version ".tar.xz"))
1815 (sha256
1816 (base32 "0z76b745n4hhjndrhv1w5acibia8x1frh78jx7bvxa72d8wphn08"))))
1817 (build-system qt-build-system)
1818 (native-inputs
1819 `(("extra-cmake-modules" ,extra-cmake-modules)
1820 ("qttools" ,qttools)))
1821 (inputs
1822 `(("cyrus-sasl" ,cyrus-sasl)
1823 ("ki18n" ,ki18n)
1824 ("kcontacts" ,kcontacts)
1825 ("kcalendarcore" ,kcalendarcore)
1826 ("kio" ,kio)
1827 ("kwallet" ,kwallet)
1828 ("kwindowsystem" ,kwindowsystem)
1829 ("qtbase" ,qtbase)
1830 ("qtdeclarative" ,qtdeclarative)
1831 ("qtwebchannel" ,qtwebchannel)
1832 ("qtwebengine" ,qtwebengine)))
1833 (arguments
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
1837API")
1838 (description "@code{LibKGAPI} is a C++ library that implements APIs for
1839various Google services.")
1840 (license license:lgpl2.0+)))
25b620d9
HG
1841
1842(define-public libkleo
1843 (package
1844 (name "libkleo")
1845 (version "19.08.3")
1846 (source
1847 (origin
1848 (method url-fetch)
1849 (uri (string-append "mirror://kde/stable/applications/" version
1850 "/src/libkleo-" version ".tar.xz"))
1851 (sha256
1852 (base32 "0vjp07j102mi20c4q2fdvkjc0skb9q7msxp64n76wy3cciv346jz"))))
1853 (build-system qt-build-system)
1854 (native-inputs
1855 `(("extra-cmake-modules" ,extra-cmake-modules)
1856 ("kdoctools" ,kdoctools)
1857 ("qttools" ,qttools)))
1858 (inputs
1859 `(("boost" ,boost)
1860 ("gpgme" ,gpgme)
1861 ("kcodecs" ,kcodecs)
1862 ("kcompletion" ,kcompletion)
1863 ("kconfig" ,kconfig)
1864 ("kcoreaddons" ,kcoreaddons)
1865 ("kcrash" ,kcrash)
1866 ("ki18n" ,ki18n)
1867 ("kitemmodels" ,kitemmodels)
1868 ("kwidgetsaddons" ,kwidgetsaddons)
1869 ("kwindowsystem" ,kwindowsystem)
1870 ("kpimtextedit" ,kpimtextedit)
1871 ("qgpgme" ,qgpgme)
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
1876KDE using certificate-based crypto.")
1877 (license ;; GPL for programs, LGPL for libraries
1878 (list license:gpl2+ license:lgpl2.0+))))
83a4ab4e
HG
1879
1880(define-public libksieve
1881 (package
1882 (name "libksieve")
1883 (version "19.08.3")
1884 (source
1885 (origin
1886 (method url-fetch)
1887 (uri (string-append "mirror://kde/stable/applications/" version
1888 "/src/libksieve-" version ".tar.xz"))
1889 (sha256
1890 (base32 "0q6f6lc4yvlq0vsfml10lz844z6zxxf7yivk7l3vglap58ci20x1"))
1891 (patches (search-patches "libksieve-Fix-missing-link-libraries.patch"))))
1892 (build-system qt-build-system)
1893 (native-inputs
1894 `(("extra-cmake-modules" ,extra-cmake-modules)
1895 ("kdoctools" ,kdoctools)))
1896 (inputs
1897 `(("akonadi" ,akonadi)
1898 ("cyrus-sasl" ,cyrus-sasl)
1899 ("karchive" ,karchive)
1900 ("ki18n" ,ki18n)
1901 ("kiconthemes" ,kiconthemes)
1902 ("kidentitymanagement" ,kidentitymanagement)
1903 ("kimap" ,kimap)
1904 ("kio" ,kio)
1905 ("kmailtransport" ,kmailtransport)
1906 ("kmime" ,kmime)
1907 ("knewstuff" ,knewstuff)
1908 ("kpimcommon" ,kpimcommon)
1909 ("kpimtextedit" ,kpimtextedit)
1910 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1911 ("ktextwidgets" ,ktextwidgets)
1912 ("kwallet" ,kwallet)
1913 ("kwindowsystem" ,kwindowsystem)
1914 ("libkdepim" ,libkdepim)
1915 ("qtbase" ,qtbase)
1916 ("qtdeclarative" ,qtdeclarative)
1917 ("qtwebchannel" ,qtwebchannel)
1918 ("qtwebengine" ,qtwebengine)))
1919 (arguments
1920 `(#:phases
1921 (modify-phases %standard-phases
1922 (add-after 'unpack 'substitute
1923 (lambda _
1924 ;; Disable a failing test
1925 ;; sieveeditorhelphtmlwidgettest fails with `sigtrap`
1926 (substitute*
1927 "src/ksieveui/editor/webengine/autotests/CMakeLists.txt"
1928 (("^\\s*(add_test|ecm_mark_as_test)\\W" line)
1929 (string-append "# " line)))
1930 #t)))))
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
1934is a Sieve parser and interpreter library for KDE.")
1935 (license ;; GPL for programs, LGPL for libraries
1936 (list license:gpl2+ license:lgpl2.0+))))