gnu: Add libkdepim.
[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)
e35b50ec 33 #:use-module (gnu packages kde-frameworks)
6e03dbea 34 #:use-module (gnu packages openldap)
e35b50ec 35 #:use-module (gnu packages qt)
a24fcdbd 36 #:use-module (gnu packages search)
e35b50ec
HG
37 #:use-module (gnu packages sqlite)
38 #:use-module (gnu packages xml))
39
40(define-public akonadi
41 (package
42 (name "akonadi")
43 (version "19.08.3")
44 (source
45 (origin
46 (method url-fetch)
47 (uri (string-append "mirror://kde/stable/applications/" version
48 "/src/akonadi-" version ".tar.xz"))
49 (sha256
50 (base32 "0v7f1049wjnqxhwxr1443wc2cfbdqmf15xcwjz3j1m0vgdva9pyg"))
51 (patches (search-patches
52 "akonadi-paths.patch"
53 "akonadi-timestamps.patch"
54 "akonadi-Revert-Make-installation-properly-relocatabl.patch"))))
55 (build-system qt-build-system)
56 (native-inputs
57 `(("extra-cmake-modules" ,extra-cmake-modules)
58 ("qttools" ,qttools)
59 ("shared-mime-info" ,shared-mime-info)))
60 (inputs
61 `(("boost" ,boost)
62 ("kconfig" ,kconfig)
63 ("kconfigwidgets" ,kconfigwidgets)
64 ("kcoreaddons" ,kcoreaddons)
65 ("kcrash" ,kcrash)
66 ("kdbusaddons" ,kdbusaddons)
67 ("kdesignerplugin" ,kdesignerplugin)
68 ("ki18n" ,ki18n)
69 ("kiconthemes" ,kiconthemes)
70 ("kio" ,kio)
71 ("kitemmodels" ,kitemmodels)
72 ("kitemviews" ,kitemviews)
73 ("kwidgetsaddons" ,kwidgetsaddons)
74 ("kwindowsystem" ,kwindowsystem)
75 ("kxmlgui" ,kxmlgui)
76 ("libxml2" ,libxml2)
77 ("libxslt" ,libxslt)
78 ;; Do NOT add mysql or postgresql to the inputs. Otherwise the binaries
79 ;; and wrapped files will refer to them, even if the user choices none
80 ;; of these. Executables are searched on $PATH then.
81 ("qtbase" ,qtbase)
82 ("sqlite" ,sqlite)))
83 (arguments
84 `(#:tests? #f ;; TODO 135/167 tests fail
85 #:configure-flags '("-DDATABASE_BACKEND=SQLITE") ; lightweight
86 #:modules ((ice-9 textual-ports)
87 ,@%qt-build-system-modules)
88 #:phases
89 (modify-phases (@ (guix build qt-build-system) %standard-phases)
90 (add-before 'configure 'add-definitions
91 (lambda _
92 (let ((out (assoc-ref %outputs "out"))
93 (mysql (assoc-ref %build-inputs "mysql"))
94 (pgsql (assoc-ref %build-inputs "postgresql")))
95 (with-output-to-file "CMakeLists.txt.new"
96 (lambda _
97 (display
98 (string-append
99 "add_compile_definitions(\n"
100 "NIX_OUT=\"" out "\"\n"
101 ;; pin binaries for mysql backend
102 ")\n\n"))
103 (display
104 (call-with-input-file "CMakeLists.txt"
105 get-string-all))))
106 (rename-file "CMakeLists.txt.new" "CMakeLists.txt"))
107 #t)))))
108 (home-page "https://kontact.kde.org/components/akonadi.html")
109 (synopsis "Extensible cross-desktop storage service for PIM")
110 (description "Akonadi is an extensible cross-desktop Personal Information
111Management (PIM) storage service. It provides a common framework for
112applications to store and access mail, calendars, addressbooks, and other PIM
113data.
114
115This package contains the Akonadi PIM storage server and associated
116programs.")
117 (license license:fdl1.2+)))
7cfb118c 118
37ac6622
HG
119(define-public akonadi-calendar
120 (package
121 (name "akonadi-calendar")
122 (version "19.08.3")
123 (source
124 (origin
125 (method url-fetch)
126 (uri (string-append "mirror://kde/stable/applications/" version
127 "/src/akonadi-calendar-" version ".tar.xz"))
128 (sha256
129 (base32 "1550h08i8rjnbd9yrnhd9v3v68ingrag2bdxrbid62qvam0n5ihy"))))
130 (build-system qt-build-system)
131 (native-inputs
132 `(("extra-cmake-modules" ,extra-cmake-modules)))
133 (inputs
134 `(("akonadi" ,akonadi)
135 ("akonadi-contacts" ,akonadi-contacts)
136 ("akonadi-mime" ,akonadi-mime)
137 ("boost" ,boost)
138 ("kcalendarcore" ,kcalendarcore)
139 ("kcalutils" ,kcalutils)
140 ("kcodecs" ,kcodecs)
141 ("kcontacts" ,kcontacts)
142 ("kdbusaddons" ,kdbusaddons)
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/stable/kdepimlibs-apidocs/akonadi/html/")
158 (synopsis "Library providing calendar helpers for Akonadi items")
159 (description "This library manages calendar specific actions for
160collection and item views.")
161 (license license:lgpl2.0+)))
162
ad80c7ef
HG
163(define-public akonadi-contacts
164 (package
165 (name "akonadi-contacts")
166 (version "19.08.3")
167 (source
168 (origin
169 (method url-fetch)
170 (uri (string-append "mirror://kde/stable/applications/" version
171 "/src/akonadi-contacts-" version ".tar.xz"))
172 (sha256
173 (base32 "1pw1s8c6dlcb103cw46p1ikvas3y8cwiwnfdny2jd3hr3rig4px9"))))
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/stable/kdepimlibs-apidocs/akonadi/html/")
203 (synopsis "Akonadi contacts access library")
204 (description "Akonadi Contacts is a library that effectively bridges the
205type-agnostic API of the Akonadi client libraries and the domain-specific
206KContacts library. It provides jobs, models and other helpers to make working
207with contacts and addressbooks through Akonadi easier.
208
209The library provides a complex dialog for editing contacts and several models
210to list and filter contacts.")
211 (license ;; GPL for programs, LGPL for libraries
212 (list license:gpl2+ license:lgpl2.0+))))
213
8d41c6a3
HG
214(define-public akonadi-mime
215 (package
216 (name "akonadi-mime")
217 (version "19.08.3")
218 (source
219 (origin
220 (method url-fetch)
221 (uri (string-append "mirror://kde/stable/applications/" version
222 "/src/akonadi-mime-" version ".tar.xz"))
223 (sha256
224 (base32 "03q3dnhzcgmgcqvijnwi4ikg0m1zad2l679bqnp051v27fvs4yg7"))))
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/stable/kdepimlibs-apidocs/akonadi/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
261type-agnostic API of the Akonadi client libraries and the domain-specific
262KMime library. It provides jobs, models and other helpers to make working
263with emails through Akonadi easier.")
264 (license ;; GPL for programs, LGPL for libraries
265 (list license:gpl2+ license:lgpl2.0+))))
266
d03ad6cf
HG
267(define-public akonadi-notes
268 (package
269 (name "akonadi-notes")
270 (version "19.08.3")
271 (source
272 (origin
273 (method url-fetch)
274 (uri (string-append "mirror://kde/stable/applications/" version
275 "/src/akonadi-notes-" version ".tar.xz"))
276 (sha256
277 (base32 "0r8vh11bfjzhspb5kp2d0kcgwqd2m5qpxpamiajzjq910f51sw3w"))))
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/stable/kdepimlibs-apidocs/akonadi/html/")
288 (synopsis "Akonadi notes access library")
289 (description "Akonadi Notes is a library that effectively bridges the
290type-agnostic API of the Akonadi client libraries and the domain-specific
291KMime library. It provides a helper class for note attachments and for
292wrapping notes into KMime::Message objects.")
293 (license ;; GPL for programs, LGPL for libraries
294 (list license:gpl2+ license:lgpl2.0+))))
295
a24fcdbd
HG
296(define-public akonadi-search
297 (package
298 (name "akonadi-search")
299 (version "19.08.3")
300 (source
301 (origin
302 (method url-fetch)
303 (uri (string-append "mirror://kde/stable/applications/" version
304 "/src/akonadi-search-" version ".tar.xz"))
305 (sha256
306 (base32 "16qzs2cs4nxwrpwcdgwry95qn6wmg8s1p4w3qajx1ahkgwmsh11s"))))
307 (build-system qt-build-system)
308 (native-inputs
309 `(("extra-cmake-modules" ,extra-cmake-modules)))
310 (inputs
311 `(("akonadi" ,akonadi)
312 ("akonadi-mime" ,akonadi-mime)
313 ("boost" ,boost)
314 ("kcalendarcore" ,kcalendarcore)
315 ("kcmutils" ,kcmutils)
316 ("kcontacts" ,kcontacts)
317 ("kcrash" ,kcrash)
318 ("kdbusaddons" ,kdbusaddons)
319 ("ki18n" ,ki18n)
320 ("kio" ,kio)
321 ("kitemmodels" ,kitemmodels)
322 ("kmime" ,kmime)
323 ("krunner" ,krunner)
324 ("kwindowsystem" ,kwindowsystem)
325 ("qtbase" ,qtbase)
326 ("xapian" ,xapian)))
327 (arguments
328 `(#:tests? #f)) ;; TODO: needs dbus
329 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
330 (synopsis "Akonadi search library")
331 (description "Xapian-based indexing and query infrastructure for
332Akonadi.")
333 (license ;; GPL for programs, LGPL for libraries
334 (list license:gpl2+ license:lgpl2.0+))))
335
2a876c1c
HG
336(define-public kalarmcal
337 (package
338 (name "kalarmcal")
339 (version "19.08.3")
340 (source
341 (origin
342 (method url-fetch)
343 (uri (string-append "mirror://kde/stable/applications/" version
344 "/src/kalarmcal-" version ".tar.xz"))
345 (sha256
346 (base32 "0w9qsx2gqwny2v4fsj4awn814s9b7yrxvqrawlick3r2kp4x1sgn"))))
347 (build-system qt-build-system)
348 (native-inputs
349 `(("extra-cmake-modules" ,extra-cmake-modules)))
350 (inputs
351 `(("akonadi", akonadi)
352 ("boost" ,boost)
353 ("kcalendarcore" ,kcalendarcore)
354 ("kcalutils" ,kcalutils)
355 ("kcompletion" ,kcompletion)
356 ("kconfig" ,kconfig)
357 ("kconfigwidgets" ,kconfigwidgets)
358 ("kcoreaddons" ,kcoreaddons)
359 ("kdbusaddons" ,kdbusaddons)
360 ("kholidays" ,kholidays)
361 ("ki18n" ,ki18n)
362 ("kidentitymanagement" ,kidentitymanagement)
363 ("kio" ,kio)
364 ("kitemmodels" ,kitemmodels)
365 ("kpimtextedit" ,kpimtextedit)
366 ("ktextwidgets" ,ktextwidgets)
367 ("kxmlgui" ,kxmlgui)
368 ("qtbase" ,qtbase)))
369 (arguments
370 `(#:tests? #f)) ;; TODO: TZ setup
371 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
372 (synopsis "Library for handling kalarm calendar data")
373 (description "This library provides an API for KAlarm alarms.")
374 (license license:lgpl2.0+)))
375
68b1d81d
HG
376(define-public kcalutils
377 (package
378 (name "kcalutils")
379 (version "19.08.3")
380 (source
381 (origin
382 (method url-fetch)
383 (uri (string-append "mirror://kde/stable/applications/" version
384 "/src/kcalutils-" version ".tar.xz"))
385 (sha256
386 (base32 "1nlkik4qiciyh1slgpis3n5h9pks2ygdba9yq4s16nnmip4l45w2"))))
387 (build-system qt-build-system)
388 (native-inputs
389 `(("extra-cmake-modules" ,extra-cmake-modules)
390 ("libxml2" ,libxml2))) ;; xmllint required for tests
391 (inputs
392 `(("grantlee" ,grantlee)
393 ("kcalendarcore" ,kcalendarcore)
394 ("kcodecs" ,kcodecs)
395 ("kconfig" ,kconfig)
396 ("kconfigwidgets" ,kconfigwidgets)
397 ("kcoreaddons" ,kcoreaddons)
398 ("ki18n" ,ki18n)
399 ("kiconthemes" ,kiconthemes)
400 ("kidentitymanagement" ,kidentitymanagement)
401 ("kpimtextedit" ,kpimtextedit)
402 ("ktextwidgets" ,ktextwidgets)
403 ("kwidgetsaddons" ,kwidgetsaddons)
404 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
405 ("qtbase" ,qtbase)))
406 (arguments
407 `(#:tests? #f)) ;; TODO: seem to pull in some wrong theme
408 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
409 (synopsis "Library with utility functions for the handling of calendar
410data")
411 (description "This library provides a utility and user interface
412functions for accessing calendar data using the kcalcore API.")
413 (license license:lgpl2.0+)))
414
48d5d0ef
HG
415(define-public kgpg
416 (package
417 (name "kgpg")
418 (version "19.08.3")
419 (source
420 (origin
421 (method url-fetch)
422 (uri (string-append "mirror://kde/stable/applications/" version
423 "/src/kgpg-" version ".tar.xz"))
424 (sha256
425 (base32 "1dis7zv51a4lhx5l3wlwnhym8f79h8sibhhk97fkn8d7szdrmfw5"))))
426 (build-system qt-build-system)
427 (native-inputs
428 `(("extra-cmake-modules" ,extra-cmake-modules)
429 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
430 ("kdoctools" ,kdoctools)))
431 (inputs
432 `(("akonadi" ,akonadi)
433 ("akonadi-contacts" ,akonadi-contacts)
434 ("boost" ,boost)
435 ("gpgme" ,gpgme)
436 ("karchive" ,karchive)
437 ("kcodecs" ,kcodecs)
438 ("kcontacts" ,kcontacts)
439 ("kcoreaddons" ,kcoreaddons)
440 ("kcrash" ,kcrash)
441 ("kdbusaddons" ,kdbusaddons)
442 ("ki18n" ,ki18n)
443 ("kiconthemes" ,kiconthemes)
444 ("kio" ,kio)
445 ("kitemmodels" ,kitemmodels)
446 ("kjobwidgets" ,kjobwidgets)
447 ("knotifications" ,knotifications)
448 ("kservice" ,kservice)
449 ("ktextwidgets" ,ktextwidgets)
450 ("kwidgetsaddons" ,kwidgetsaddons)
451 ("kwindowsystem" ,kwindowsystem)
452 ("kxmlgui" ,kxmlgui)
453 ("oxygen-icons" ,oxygen-icons) ;; default icon set
454 ("qtbase" ,qtbase)))
455 (home-page "https://kde.org/applications/utilities/org.kde.kgpg")
456 (synopsis "Graphical front end for GNU Privacy Guard")
457 (description "Kgpg manages cryptographic keys for the GNU Privacy Guard,
458and can encrypt, decrypt, sign, and verify files. It features a simple editor
459for applying cryptography to short pieces of text, and can also quickly apply
460cryptography to the contents of the clipboard.")
461 (license license:gpl2+)))
462
0a0df84f
HG
463(define-public kidentitymanagement
464 (package
465 (name "kidentitymanagement")
466 (version "19.08.3")
467 (source
468 (origin
469 (method url-fetch)
470 (uri (string-append "mirror://kde/stable/applications/" version
471 "/src/kidentitymanagement-" version ".tar.xz"))
472 (sha256
473 (base32 "0dqz49sp5hq44590rrxav8688aqlzsww4q4n55ksfy13nk9i5mbf"))))
474 (build-system qt-build-system)
475 (native-inputs
476 `(("extra-cmake-modules" ,extra-cmake-modules)))
477 (inputs
478 `(("kcodecs" ,kcodecs)
479 ("kcompletion" ,kcompletion)
480 ("kconfig" ,kconfig)
481 ("kcoreaddons" ,kcoreaddons)
482 ("kemoticons" ,kemoticons)
483 ("kiconthemes" ,kiconthemes)
484 ("kio" ,kio)
485 ("kpimtextedit" ,kpimtextedit)
486 ("ktextwidgets" ,ktextwidgets)
487 ("kxmlgui" ,kxmlgui)
488 ("qtbase" ,qtbase)))
489 (arguments
490 `(#:phases
491 (modify-phases %standard-phases
492 (add-before 'check 'set-home
493 (lambda _
494 (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this?
495 #t)))))
496 (home-page "https://kontact.kde.org/")
497 (synopsis "Library for shared identities between mail applications")
498 (description "Library for shared identities between mail applications.")
499 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
500 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
501
037994df
HG
502(define-public kimap
503 (package
504 (name "kimap")
505 (version "19.08.3")
506 (source
507 (origin
508 (method url-fetch)
509 (uri (string-append "mirror://kde/stable/applications/" version
510 "/src/kimap-" version ".tar.xz"))
511 (sha256
512 (base32 "0l8hb2z82jzbwr12lw5fismwk1a3ca4dk966p1fxg4bibck8vjj6"))))
513 (build-system qt-build-system)
514 (native-inputs
515 `(("extra-cmake-modules" ,extra-cmake-modules)))
516 (inputs
517 `(("cyrus-sasl" ,cyrus-sasl)
518 ("kcoreaddons" ,kcoreaddons)
519 ("ki18n" ,ki18n)
520 ("kio" ,kio)
521 ("kmime" ,kmime)
522 ("qtbase" ,qtbase)))
523 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
524 (synopsis "Library for handling IMAP")
525 (description "This library provides a job-based API for interacting with
526an IMAP4rev1 server. It manages connections, encryption and parameter quoting
527and encoding, but otherwise provides quite a low-level interface to the
528protocol. This library does not implement an IMAP client; it merely makes it
529easier to do so.")
530 (license ;; GPL for programs, LGPL for libraries
531 (list license:gpl2+ license:lgpl2.0+))))
532
6e03dbea
HG
533(define-public kldap
534 (package
535 (name "kldap")
536 (version "19.08.3")
537 (source
538 (origin
539 (method url-fetch)
540 (uri (string-append "mirror://kde/stable/applications/" version
541 "/src/kldap-" version ".tar.xz"))
542 (sha256
543 (base32 "1blbnj8av6h168g14gyphyd9sz87af773b1qglmbkv5pzbzaanxn"))))
544 (build-system qt-build-system)
545 (native-inputs
546 `(("extra-cmake-modules" ,extra-cmake-modules)
547 ("kdoctools" ,kdoctools)))
548 (inputs
549 `(("ki18n" ,ki18n)
550 ("kio" ,kio)
551 ("kwidgetsaddons" ,kwidgetsaddons)
552 ("qtbase" ,qtbase)))
553 (propagated-inputs
554 `(("cyrus-sasl" ,cyrus-sasl)
555 ("openldap" ,openldap)))
556 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
557 (synopsis "Library for accessing LDAP")
558 (description "This library provides an API for LDAP.")
559 (license license:lgpl2.0+)))
560
ba4f9352
HG
561(define-public kleopatra
562 (package
563 (name "kleopatra")
564 (version "19.08.3")
565 (source
566 (origin
567 (method url-fetch)
568 (uri (string-append "mirror://kde/stable/applications/" version
569 "/src/kleopatra-" version ".tar.xz"))
570 (sha256
571 (base32 "1bqwxdl91s2nai871vvhkmcc3simbnvr2i5m6dnl327bplzqgfa4"))))
572 (build-system qt-build-system)
573 (native-inputs
574 `(("dbus" ,dbus)
575 ("extra-cmake-modules" ,extra-cmake-modules)
576 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
577 ("kdoctools" ,kdoctools)))
578 (inputs
579 `(("boost" ,boost)
580 ("gpgme" ,gpgme)
581 ("kcmutils" ,kcmutils)
582 ("kcodecs" ,kcodecs)
583 ("kconfig" ,kconfig)
584 ("kconfigwidgets" ,kconfigwidgets)
585 ("kcoreaddons" ,kcoreaddons)
586 ("kcrash" ,kcrash)
587 ("kdbusaddons" ,kdbusaddons)
588 ("ki18n" ,ki18n)
589 ("kiconthemes" ,kiconthemes)
590 ("kitemmodels" ,kitemmodels)
591 ("kmime" ,kmime)
592 ("knotifications" ,knotifications)
593 ("ktextwidgets" ,ktextwidgets)
594 ("kwidgetsaddons" ,kwidgetsaddons)
595 ("kwindowsystem" ,kwindowsystem)
596 ("kxmlgui" ,kxmlgui)
597 ("libassuan" ,libassuan)
598 ("libkleo" ,libkleo)
599 ("oxygen-icons" ,oxygen-icons) ;; default icon set
600 ("qgpgme" ,qgpgme)
601 ("qtbase" ,qtbase)))
602 (arguments
603 `(#:phases
604 (modify-phases %standard-phases
605 (replace 'check
606 (lambda _
607 (invoke "dbus-launch" "ctest" ".")
608 #t)))))
609 (home-page "https://kde.org/applications/utilities/org.kde.kleopatra")
610 (synopsis "Certificate Manager and Unified Crypto GUI")
611 (description "Kleopatra is a certificate manager and a universal crypto
612GUI. It supports managing X.509 and OpenPGP certificates in the GpgSM keybox
613and retrieving certificates from LDAP servers.")
614 (license ;; GPL for programs, FDL for documentation
615 (list license:gpl2+ license:fdl1.2+))))
616
5a75e444
HG
617(define-public kmailtransport
618 (package
619 (name "kmailtransport")
620 (version "19.08.3")
621 (source
622 (origin
623 (method url-fetch)
624 (uri (string-append "mirror://kde/stable/applications/" version
625 "/src/kmailtransport-" version ".tar.xz"))
626 (sha256
627 (base32 "04jdnqxbp4382vjxh06rrvsigbrygqfkw0fvbbjnjymp585mgkr4"))))
628 (build-system qt-build-system)
629 (native-inputs
630 `(("extra-cmake-modules" ,extra-cmake-modules)
631 ("kdoctools" ,kdoctools)))
632 (inputs
633 `(("akonadi" ,akonadi)
634 ("akonadi-mime" ,akonadi-mime)
635 ("boost" ,boost)
636 ("cyrus-sasl" ,cyrus-sasl)
637 ("kcalendarcore" ,kcalendarcore)
638 ("kcmutils" ,kcmutils)
639 ("kcontacts" ,kcontacts)
640 ("kdbusaddons" ,kdbusaddons)
641 ("kconfigwidgets" ,kconfigwidgets)
642 ("ki18n" ,ki18n)
643 ("kitemmodels", kitemmodels)
644 ("kio" ,kio)
645 ("kmime" ,kmime)
646 ("ksmtp" ,ksmtp)
647 ("ktextwidgets" ,ktextwidgets)
648 ("kwallet" ,kwallet)
649 ("libkgapi" ,libkgapi)
650 ("qtbase" ,qtbase)))
651 (arguments
652 `(#:tests? #f)) ;; TODO - 3/3 tests fail, require drkonqi
653 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
654 (synopsis "Mail transport service library")
655 (description " This library provides an API and support code for managing
656mail transport.")
657 (license license:lgpl2.0+)))
658
962b288a
HG
659(define-public kmbox
660 (package
661 (name "kmbox")
662 (version "19.08.3")
663 (source
664 (origin
665 (method url-fetch)
666 (uri (string-append "mirror://kde/stable/applications/" version
667 "/src/kmbox-" version ".tar.xz"))
668 (sha256
669 (base32 "13b5v1nx46k5ais3cms7yxrfi8p6xbljpkpg3f7v1asb6kshv7g2"))))
670 (build-system qt-build-system)
671 (native-inputs
672 `(("extra-cmake-modules" ,extra-cmake-modules)))
673 (inputs
674 `(("kcodecs" ,kcodecs)
675 ("kmime" ,kmime)
676 ("qtbase" ,qtbase)))
677 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
678 (synopsis "Library for handling mbox mailboxes")
679 (description "A library for accessing mail storages in MBox format.")
680 (license license:lgpl2.0+ )))
681
7cfb118c
HG
682(define-public kmime
683 (package
684 (name "kmime")
685 (version "19.08.3")
686 (source
687 (origin
688 (method url-fetch)
689 (uri (string-append "mirror://kde/stable/applications/" version
690 "/src/kmime-" version ".tar.xz"))
691 (sha256
692 (base32 "1pc00pwwrngsyr7ppvqwfgvcgy2wiqdbqxhv9xidn4dw9way2ng6"))))
693 (build-system qt-build-system)
694 (native-inputs
695 `(("extra-cmake-modules" ,extra-cmake-modules)))
696 (inputs
697 `(("kcodecs" ,kcodecs)
698 ("ki18n" ,ki18n)
699 ("qtbase" ,qtbase)))
700 (arguments
701 `(#:phases
702 (modify-phases %standard-phases
703 (add-after 'unpack 'fix-test-case
704 (lambda _
705 ;; This is curious: autotests/CMakeLists.txt sets LC_TIME=C, but
706 ;; the Qt locale returns different. See kmime commit 3a9651d26a.
707 (substitute* "autotests/dateformattertest.cpp"
708 (("(Today|Yesterday) 12:34:56" line day)
709 (string-append day " 12:34 PM")))
710 #t)))))
711 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
712 (synopsis "Library for handling MIME data")
713 (description "A library for MIME handling.")
714 (license license:lgpl2.0+)))
8c71fd43 715
789cf5c3
HG
716(define-public kontactinterface
717 (package
718 (name "kontactinterface")
719 (version "19.08.3")
720 (source
721 (origin
722 (method url-fetch)
723 (uri (string-append "mirror://kde/stable/applications/" version
724 "/src/kontactinterface-" version ".tar.xz"))
725 (sha256
726 (base32 "1p0iw9i8cxh3jn7094wvxhlpc2sw52q8csfdgch1lf3dwhkpp0k7"))))
727 (build-system qt-build-system)
728 (native-inputs
729 `(("extra-cmake-modules" ,extra-cmake-modules)))
730 (inputs
731 `(("kcoreaddons" ,kcoreaddons)
732 ("ki18n" ,ki18n)
733 ("kiconthemes" ,kiconthemes)
734 ("kparts" ,kparts)
735 ("kwindowsystem" ,kwindowsystem)
736 ("kxmlgui" ,kxmlgui)
737 ("qtbase" ,qtbase)))
738 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
739 (synopsis "Kontact interface library")
740 (description "Kontact Interface library.")
741 (license license:lgpl2.0+)))
742
8c71fd43
HG
743(define-public kpimtextedit
744 (package
745 (name "kpimtextedit")
746 (version "19.08.3")
747 (source
748 (origin
749 (method url-fetch)
750 (uri (string-append "mirror://kde/stable/applications/" version
751 "/src/kpimtextedit-" version ".tar.xz"))
752 (sha256
753 (base32 "1as48j5qfpj9pqjck1615nlpk4a850m7xxcyl41gx8biww027zvm"))))
754 (build-system qt-build-system)
755 (native-inputs
756 `(("extra-cmake-modules" ,extra-cmake-modules)
757 ("qttools" ,qttools)))
758 (inputs
759 `(("grantlee" ,grantlee)
760 ("kcodecs" ,kcodecs)
761 ("kconfigwidgets" ,kconfigwidgets)
762 ("kcoreaddons" ,kcoreaddons)
763 ("kdesignerplugin" ,kdesignerplugin)
764 ("kemoticons" ,kemoticons)
765 ("ki18n" ,ki18n)
766 ("kiconthemes" ,kiconthemes)
767 ("kio" ,kio)
768 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
769 ("ktextwidgets" ,ktextwidgets)
770 ("kwidgetsaddons" ,kwidgetsaddons)
771 ("kxmlgui" ,kxmlgui)
772 ("qtbase" ,qtbase)
773 ("qtspeech", qtspeech)
774 ("sonnet" ,sonnet)))
775 (arguments
776 `(#:tests? #f)) ;; TODO - test suite hangs
777 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
778 (synopsis "Library providing a textedit with PIM-specific features")
779 (description "A library for PIM-specific text editing utilities.")
780 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
781 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
ff6adc0a 782
29157edc
HG
783(define-public ksmtp
784 (package
785 (name "ksmtp")
786 (version "19.08.3")
787 (source
788 (origin
789 (method url-fetch)
790 (uri (string-append "mirror://kde/stable/applications/" version
791 "/src/ksmtp-" version ".tar.xz"))
792 (sha256
793 (base32 "1pd8mma3xbq83jkn76gqinn6xh9imaji0jrg3qzysf5rvjl8kcqn"))))
794 (build-system qt-build-system)
795 (native-inputs
796 `(("extra-cmake-modules" ,extra-cmake-modules)))
797 (inputs
798 `(("cyrus-sasl" ,cyrus-sasl)
799 ("kcodecs" ,kcodecs)
800 ("kconfig" ,kconfig)
801 ("kcoreaddons" ,kcoreaddons)
802 ("ki18n" ,ki18n)
803 ("kio" ,kio)
804 ("qtbase" ,qtbase)))
805 (arguments
806 `(#:tests? #f ;; TODO: does not find sasl mechs
807 #:phases
808 (modify-phases %standard-phases
809 (add-after 'unpack 'Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing
810 (lambda _
811 (substitute* "src/CMakeLists.txt"
812 (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)"
813 _ prefix)
814 (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))
815 #t)))))
816 (home-page "https://cgit.kde.org/ksmtp.git")
817 (synopsis "Library for sending email through an SMTP server")
818 (description "This library provides an API for handling SMTP
819services. SMTP (Simple Mail Transfer Protocol) is the most prevalent Internet
820standard protocols for e-mail transmission.")
821 (license license:lgpl2.0+)))
822
ff6adc0a
HG
823(define-public ktnef
824 (package
825 (name "ktnef")
826 (version "19.08.3")
827 (source
828 (origin
829 (method url-fetch)
830 (uri (string-append "mirror://kde/stable/applications/" version
831 "/src/ktnef-" version ".tar.xz"))
832 (sha256
833 (base32 "0kgfhh46130hg1xq8km5gjzxa3b620j1zdrg54qivxa782smgbl6"))))
834 (build-system qt-build-system)
835 (native-inputs
836 `(("extra-cmake-modules" ,extra-cmake-modules)))
837 (inputs
838 `(("kcalendarcore" ,kcalendarcore)
839 ("kcalutils" ,kcalutils)
840 ("kcodecs" ,kcodecs)
841 ("kconfig" ,kconfig)
842 ("kcontacts" ,kcontacts)
843 ("kcoreaddons" ,kcoreaddons)
844 ("ki18n" ,ki18n)
845 ("qtbase" ,qtbase)))
846 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/ktnef/html/")
847 (synopsis "Viewer for mail attachments using TNEF format")
848 (description "Viewer for mail attachments using TNEF format")
849 (license license:lgpl2.0+)))
0fcbdde7 850
4357222b
HG
851(define-public libkdepim
852 (package
853 (name "libkdepim")
854 (version "19.08.3")
855 (source
856 (origin
857 (method url-fetch)
858 (uri (string-append "mirror://kde/stable/applications/" version
859 "/src/libkdepim-" version ".tar.xz"))
860 (sha256
861 (base32 "0ndh97w1bfii4snx9yc0qazqk5jhx22s810kj656967xd1w4bj9n"))))
862 (build-system qt-build-system)
863 (native-inputs
864 `(("extra-cmake-modules" ,extra-cmake-modules)
865 ("qttools" ,qttools)))
866 (inputs
867 `(("akonadi" ,akonadi)
868 ("akonadi-contacts" ,akonadi-contacts)
869 ("akonadi-mime" ,akonadi-mime)
870 ("akonadi-search" ,akonadi-search)
871 ("boost" ,boost)
872 ("kcmutils" ,kcmutils)
873 ("kcodecs" ,kcodecs)
874 ("kcalendarcore" ,kcalendarcore)
875 ("kcompletion" ,kcompletion)
876 ("kconfig" ,kconfig)
877 ("kconfigwidgets" ,kconfigwidgets)
878 ("kcontacts" ,kcontacts)
879 ("kcoreaddons" ,kcoreaddons)
880 ("kdbusaddons" ,kdbusaddons)
881 ("kdesignerplugin" ,kdesignerplugin)
882 ("ki18n" ,ki18n)
883 ("kiconthemes" ,kiconthemes)
884 ("kio" ,kio)
885 ("kitemmodels" ,kitemmodels)
886 ("kitemviews" ,kitemviews)
887 ("kjobwidgets" ,kjobwidgets)
888 ("kldap" ,kldap)
889 ("kmime" ,kmime)
890 ("kwallet" ,kwallet)
891 ("kwidgetsaddons" ,kwidgetsaddons)
892 ("qtbase" ,qtbase)))
893 (home-page "https://cgit.kde.org/libkdepim.git")
894 (synopsis "Libraries for common kdepim apps")
895 (description "Libraries for common kdepim apps.")
896 (license ;; GPL for programs, LGPL for libraries
897 (list license:gpl2+ license:lgpl2.0+))))
898
0fcbdde7
HG
899(define-public libkgapi
900 (package
901 (name "libkgapi")
902 (version "19.08.3")
903 (source
904 (origin
905 (method url-fetch)
906 (uri (string-append "mirror://kde/stable/applications/" version
907 "/src/libkgapi-" version ".tar.xz"))
908 (sha256
909 (base32 "0z76b745n4hhjndrhv1w5acibia8x1frh78jx7bvxa72d8wphn08"))))
910 (build-system qt-build-system)
911 (native-inputs
912 `(("extra-cmake-modules" ,extra-cmake-modules)
913 ("qttools" ,qttools)))
914 (inputs
915 `(("cyrus-sasl" ,cyrus-sasl)
916 ("ki18n" ,ki18n)
917 ("kcontacts" ,kcontacts)
918 ("kcalendarcore" ,kcalendarcore)
919 ("kio" ,kio)
920 ("kwallet" ,kwallet)
921 ("kwindowsystem" ,kwindowsystem)
922 ("qtbase" ,qtbase)
923 ("qtdeclarative" ,qtdeclarative)
924 ("qtwebchannel" ,qtwebchannel)
925 ("qtwebengine" ,qtwebengine)))
926 (arguments
927 `(#:tests? #f)) ;; TODO 6/48 tests fail
928 (home-page "https://cgit.kde.org/libkgapi.git")
929 (synopsis "Library for accessing various Google services via their public
930API")
931 (description "@code{LibKGAPI} is a C++ library that implements APIs for
932various Google services.")
933 (license license:lgpl2.0+)))
25b620d9
HG
934
935(define-public libkleo
936 (package
937 (name "libkleo")
938 (version "19.08.3")
939 (source
940 (origin
941 (method url-fetch)
942 (uri (string-append "mirror://kde/stable/applications/" version
943 "/src/libkleo-" version ".tar.xz"))
944 (sha256
945 (base32 "0vjp07j102mi20c4q2fdvkjc0skb9q7msxp64n76wy3cciv346jz"))))
946 (build-system qt-build-system)
947 (native-inputs
948 `(("extra-cmake-modules" ,extra-cmake-modules)
949 ("kdoctools" ,kdoctools)
950 ("qttools" ,qttools)))
951 (inputs
952 `(("boost" ,boost)
953 ("gpgme" ,gpgme)
954 ("kcodecs" ,kcodecs)
955 ("kcompletion" ,kcompletion)
956 ("kconfig" ,kconfig)
957 ("kcoreaddons" ,kcoreaddons)
958 ("kcrash" ,kcrash)
959 ("ki18n" ,ki18n)
960 ("kitemmodels" ,kitemmodels)
961 ("kwidgetsaddons" ,kwidgetsaddons)
962 ("kwindowsystem" ,kwindowsystem)
963 ("kpimtextedit" ,kpimtextedit)
964 ("qgpgme" ,qgpgme)
965 ("qtbase" ,qtbase)))
966 (home-page "https://cgit.kde.org/libkleo.git/")
967 (synopsis "KDE PIM cryptographic library")
968 (description "@code{libkleo} is a library for Kleopatra and other parts of
969KDE using certificate-based crypto.")
970 (license ;; GPL for programs, LGPL for libraries
971 (list license:gpl2+ license:lgpl2.0+))))