gnu: Add kdav.
[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"
789c0247 56 "akonadi-Revert-Make-installation-properly-relo.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
2a876c1c
HG
338(define-public kalarmcal
339 (package
340 (name "kalarmcal")
341 (version "19.08.3")
342 (source
343 (origin
344 (method url-fetch)
345 (uri (string-append "mirror://kde/stable/applications/" version
346 "/src/kalarmcal-" version ".tar.xz"))
347 (sha256
348 (base32 "0w9qsx2gqwny2v4fsj4awn814s9b7yrxvqrawlick3r2kp4x1sgn"))))
349 (build-system qt-build-system)
350 (native-inputs
351 `(("extra-cmake-modules" ,extra-cmake-modules)))
352 (inputs
353 `(("akonadi", akonadi)
354 ("boost" ,boost)
355 ("kcalendarcore" ,kcalendarcore)
356 ("kcalutils" ,kcalutils)
357 ("kcompletion" ,kcompletion)
358 ("kconfig" ,kconfig)
359 ("kconfigwidgets" ,kconfigwidgets)
360 ("kcoreaddons" ,kcoreaddons)
361 ("kdbusaddons" ,kdbusaddons)
362 ("kholidays" ,kholidays)
363 ("ki18n" ,ki18n)
364 ("kidentitymanagement" ,kidentitymanagement)
365 ("kio" ,kio)
366 ("kitemmodels" ,kitemmodels)
367 ("kpimtextedit" ,kpimtextedit)
368 ("ktextwidgets" ,ktextwidgets)
369 ("kxmlgui" ,kxmlgui)
370 ("qtbase" ,qtbase)))
371 (arguments
372 `(#:tests? #f)) ;; TODO: TZ setup
373 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
374 (synopsis "Library for handling kalarm calendar data")
6434f9b6
HG
375 (description "This library provides access to and handling of kalarm
376calendar data.")
2a876c1c
HG
377 (license license:lgpl2.0+)))
378
7a0bb02d
HG
379(define-public kblog
380 (package
381 (name "kblog")
382 (version "19.08.3")
383 (source
384 (origin
385 (method url-fetch)
386 (uri (string-append "mirror://kde/stable/applications/" version
387 "/src/kblog-" version ".tar.xz"))
388 (sha256
389 (base32 "0r3ik3df444kzg2mnzckkh4kk6v08zil1f26dwmxsslsqw9hl0vv"))))
390 (build-system qt-build-system)
391 (native-inputs
392 `(("extra-cmake-modules" ,extra-cmake-modules)))
393 (inputs
394 `(("kcalendarcore" ,kcalendarcore)
395 ("kcoreaddons" ,kcoreaddons)
396 ("ki18n" ,ki18n)
397 ("kio" ,kio)
398 ("kxmlrpcclient" ,kxmlrpcclient)
399 ("qtbase" ,qtbase)
400 ("syndication" ,syndication)))
401 ;; Note: Some tests take up to 90 sec.
402 (home-page "https://cgit.kde.org/kblog.git")
403 (synopsis "Client-side support library for web application remote blogging
404APIs")
405 (description "KBlog is a library for calling functions on Blogger 1.0,
406MetaWeblog, MovableType and GData compatible blogs. It calls the APIs using
407KXmlRpcClient and Syndication. It supports asynchronous sending and fetching
408of posts and, if supported on the server, multimedia files. Almost every
409modern blogging web application that provides an XML data interface supports
410one of the APIs mentioned above.")
411 (license license:lgpl2.0+)))
412
68b1d81d
HG
413(define-public kcalutils
414 (package
415 (name "kcalutils")
416 (version "19.08.3")
417 (source
418 (origin
419 (method url-fetch)
420 (uri (string-append "mirror://kde/stable/applications/" version
421 "/src/kcalutils-" version ".tar.xz"))
422 (sha256
423 (base32 "1nlkik4qiciyh1slgpis3n5h9pks2ygdba9yq4s16nnmip4l45w2"))))
424 (build-system qt-build-system)
425 (native-inputs
426 `(("extra-cmake-modules" ,extra-cmake-modules)
427 ("libxml2" ,libxml2))) ;; xmllint required for tests
428 (inputs
429 `(("grantlee" ,grantlee)
430 ("kcalendarcore" ,kcalendarcore)
431 ("kcodecs" ,kcodecs)
432 ("kconfig" ,kconfig)
433 ("kconfigwidgets" ,kconfigwidgets)
434 ("kcoreaddons" ,kcoreaddons)
435 ("ki18n" ,ki18n)
436 ("kiconthemes" ,kiconthemes)
437 ("kidentitymanagement" ,kidentitymanagement)
438 ("kpimtextedit" ,kpimtextedit)
439 ("ktextwidgets" ,ktextwidgets)
440 ("kwidgetsaddons" ,kwidgetsaddons)
441 ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
442 ("qtbase" ,qtbase)))
443 (arguments
444 `(#:tests? #f)) ;; TODO: seem to pull in some wrong theme
445 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
446 (synopsis "Library with utility functions for the handling of calendar
447data")
448 (description "This library provides a utility and user interface
449functions for accessing calendar data using the kcalcore API.")
450 (license license:lgpl2.0+)))
451
49e247ef
HG
452(define-public kdav
453 (package
454 (name "kdav")
455 (version "19.08.3")
456 (source
457 (origin
458 (method url-fetch)
459 (uri (string-append "mirror://kde/stable/applications/" version
460 "/src/kdav-" version ".tar.xz"))
461 (sha256
462 (base32 "1w59n17lridglphnm4mnmmzq1ijpbp269qxfmz01vk6wry6hlnp8"))))
463 (build-system qt-build-system)
464 (native-inputs
465 `(("extra-cmake-modules" ,extra-cmake-modules)))
466 (inputs
467 `(("kcoreaddons" ,kcoreaddons)
468 ("ki18n" ,ki18n)
469 ("kio" ,kio)
470 ("qtbase" ,qtbase)
471 ("qtxmlpatterns" ,qtxmlpatterns)))
472 (home-page "https://cgit.kde.org/kdav.git")
473 (synopsis "DAV protocol implementation with KJobs")
474 (description "This is a DAV protocol implemention with KJobs. Calendars
475and todos are supported, using either GroupDAV or CalDAV, and contacts are
476supported using GroupDAV or CardDAV.")
477 (license ;; GPL for programs, LGPL for libraries
478 (list license:gpl2+ license:lgpl2.0+))))
479
2dd5b1e8
HG
480(define-public kdepim-apps-libs
481 (package
482 (name "kdepim-apps-libs")
483 (version "19.08.3")
484 (source
485 (origin
486 (method url-fetch)
487 (uri (string-append "mirror://kde/stable/applications/" version
488 "/src/kdepim-apps-libs-" version ".tar.xz"))
489 (sha256
490 (base32 "10xbzvp9cm5fpy4nxp38qm4vf0bycpq94bm4z2j4lw7ll1aq8irw"))))
491 (build-system qt-build-system)
492 (native-inputs
493 `(("extra-cmake-modules" ,extra-cmake-modules)))
494 (inputs
495 `(("akonadi" ,akonadi)
496 ("akonadi-contacts" ,akonadi-contacts)
497 ("boost" ,boost)
498 ("gpgme" ,gpgme)
499 ("grantlee" ,grantlee)
500 ("grantleetheme" ,grantleetheme)
501 ("kconfig" ,kconfig)
502 ("kconfigwidgets" ,kconfigwidgets)
503 ("kcontacts" ,kcontacts)
504 ("kcoreaddons" ,kcoreaddons)
505 ("kdbusaddons" ,kdbusaddons)
506 ("ki18n" ,ki18n)
507 ("kiconthemes" ,kiconthemes)
508 ("kimap" ,kimap)
509 ("kio" ,kio)
510 ("kitemmodels" ,kitemmodels)
511 ("kmime" ,kmime)
512 ("kpimcommon" ,kpimcommon)
513 ("kservice" ,kservice)
514 ("kwidgetsaddons" ,kwidgetsaddons)
515 ("libkleo" ,libkleo)
516 ("prison" ,prison)
517 ("qgpgme" ,qgpgme)
518 ("qtbase" ,qtbase)))
519 (home-page "https://cgit.kde.org/kdepim-apps-libs.git")
520 (synopsis "KDE PIM mail related libraries and data files")
6434f9b6
HG
521 (description "This packages provides mail related libraries and data files
522for KDE PIM.")
2dd5b1e8
HG
523 (license ;; GPL for programs, LGPL for libraries
524 (list license:gpl2+ license:lgpl2.0+))))
525
48d5d0ef
HG
526(define-public kgpg
527 (package
528 (name "kgpg")
529 (version "19.08.3")
530 (source
531 (origin
532 (method url-fetch)
533 (uri (string-append "mirror://kde/stable/applications/" version
534 "/src/kgpg-" version ".tar.xz"))
535 (sha256
536 (base32 "1dis7zv51a4lhx5l3wlwnhym8f79h8sibhhk97fkn8d7szdrmfw5"))))
537 (build-system qt-build-system)
538 (native-inputs
539 `(("extra-cmake-modules" ,extra-cmake-modules)
540 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
541 ("kdoctools" ,kdoctools)))
542 (inputs
543 `(("akonadi" ,akonadi)
544 ("akonadi-contacts" ,akonadi-contacts)
545 ("boost" ,boost)
546 ("gpgme" ,gpgme)
547 ("karchive" ,karchive)
548 ("kcodecs" ,kcodecs)
549 ("kcontacts" ,kcontacts)
550 ("kcoreaddons" ,kcoreaddons)
551 ("kcrash" ,kcrash)
552 ("kdbusaddons" ,kdbusaddons)
553 ("ki18n" ,ki18n)
554 ("kiconthemes" ,kiconthemes)
555 ("kio" ,kio)
556 ("kitemmodels" ,kitemmodels)
557 ("kjobwidgets" ,kjobwidgets)
558 ("knotifications" ,knotifications)
559 ("kservice" ,kservice)
560 ("ktextwidgets" ,ktextwidgets)
561 ("kwidgetsaddons" ,kwidgetsaddons)
562 ("kwindowsystem" ,kwindowsystem)
563 ("kxmlgui" ,kxmlgui)
564 ("oxygen-icons" ,oxygen-icons) ;; default icon set
565 ("qtbase" ,qtbase)))
566 (home-page "https://kde.org/applications/utilities/org.kde.kgpg")
567 (synopsis "Graphical front end for GNU Privacy Guard")
568 (description "Kgpg manages cryptographic keys for the GNU Privacy Guard,
569and can encrypt, decrypt, sign, and verify files. It features a simple editor
570for applying cryptography to short pieces of text, and can also quickly apply
571cryptography to the contents of the clipboard.")
572 (license license:gpl2+)))
573
0a0df84f
HG
574(define-public kidentitymanagement
575 (package
576 (name "kidentitymanagement")
577 (version "19.08.3")
578 (source
579 (origin
580 (method url-fetch)
581 (uri (string-append "mirror://kde/stable/applications/" version
582 "/src/kidentitymanagement-" version ".tar.xz"))
583 (sha256
584 (base32 "0dqz49sp5hq44590rrxav8688aqlzsww4q4n55ksfy13nk9i5mbf"))))
585 (build-system qt-build-system)
586 (native-inputs
587 `(("extra-cmake-modules" ,extra-cmake-modules)))
588 (inputs
589 `(("kcodecs" ,kcodecs)
590 ("kcompletion" ,kcompletion)
591 ("kconfig" ,kconfig)
592 ("kcoreaddons" ,kcoreaddons)
593 ("kemoticons" ,kemoticons)
594 ("kiconthemes" ,kiconthemes)
595 ("kio" ,kio)
596 ("kpimtextedit" ,kpimtextedit)
597 ("ktextwidgets" ,ktextwidgets)
598 ("kxmlgui" ,kxmlgui)
599 ("qtbase" ,qtbase)))
600 (arguments
601 `(#:phases
602 (modify-phases %standard-phases
603 (add-before 'check 'set-home
604 (lambda _
605 (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this?
606 #t)))))
607 (home-page "https://kontact.kde.org/")
608 (synopsis "Library for shared identities between mail applications")
6434f9b6 609 (description "This library provides an API for managing user identities.")
0a0df84f
HG
610 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
611 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
612
037994df
HG
613(define-public kimap
614 (package
615 (name "kimap")
616 (version "19.08.3")
617 (source
618 (origin
619 (method url-fetch)
620 (uri (string-append "mirror://kde/stable/applications/" version
621 "/src/kimap-" version ".tar.xz"))
622 (sha256
623 (base32 "0l8hb2z82jzbwr12lw5fismwk1a3ca4dk966p1fxg4bibck8vjj6"))))
624 (build-system qt-build-system)
625 (native-inputs
626 `(("extra-cmake-modules" ,extra-cmake-modules)))
627 (inputs
628 `(("cyrus-sasl" ,cyrus-sasl)
629 ("kcoreaddons" ,kcoreaddons)
630 ("ki18n" ,ki18n)
631 ("kio" ,kio)
632 ("kmime" ,kmime)
633 ("qtbase" ,qtbase)))
634 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
635 (synopsis "Library for handling IMAP")
636 (description "This library provides a job-based API for interacting with
637an IMAP4rev1 server. It manages connections, encryption and parameter quoting
638and encoding, but otherwise provides quite a low-level interface to the
639protocol. This library does not implement an IMAP client; it merely makes it
640easier to do so.")
641 (license ;; GPL for programs, LGPL for libraries
642 (list license:gpl2+ license:lgpl2.0+))))
643
6e03dbea
HG
644(define-public kldap
645 (package
646 (name "kldap")
647 (version "19.08.3")
648 (source
649 (origin
650 (method url-fetch)
651 (uri (string-append "mirror://kde/stable/applications/" version
652 "/src/kldap-" version ".tar.xz"))
653 (sha256
654 (base32 "1blbnj8av6h168g14gyphyd9sz87af773b1qglmbkv5pzbzaanxn"))))
655 (build-system qt-build-system)
656 (native-inputs
657 `(("extra-cmake-modules" ,extra-cmake-modules)
658 ("kdoctools" ,kdoctools)))
659 (inputs
660 `(("ki18n" ,ki18n)
661 ("kio" ,kio)
662 ("kwidgetsaddons" ,kwidgetsaddons)
663 ("qtbase" ,qtbase)))
664 (propagated-inputs
665 `(("cyrus-sasl" ,cyrus-sasl)
666 ("openldap" ,openldap)))
667 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
668 (synopsis "Library for accessing LDAP")
6434f9b6
HG
669 (description " This is a library for accessing LDAP with a convenient Qt
670style C++ API. LDAP (Lightweight Directory Access Protocol) is an application
671protocol for querying and modifying directory services running over TCP/IP. ")
6e03dbea
HG
672 (license license:lgpl2.0+)))
673
ba4f9352
HG
674(define-public kleopatra
675 (package
676 (name "kleopatra")
677 (version "19.08.3")
678 (source
679 (origin
680 (method url-fetch)
681 (uri (string-append "mirror://kde/stable/applications/" version
682 "/src/kleopatra-" version ".tar.xz"))
683 (sha256
684 (base32 "1bqwxdl91s2nai871vvhkmcc3simbnvr2i5m6dnl327bplzqgfa4"))))
685 (build-system qt-build-system)
686 (native-inputs
687 `(("dbus" ,dbus)
688 ("extra-cmake-modules" ,extra-cmake-modules)
689 ("gnupg" ,gnupg) ;; TODO: Remove after gpgme uses fixed path
690 ("kdoctools" ,kdoctools)))
691 (inputs
692 `(("boost" ,boost)
693 ("gpgme" ,gpgme)
694 ("kcmutils" ,kcmutils)
695 ("kcodecs" ,kcodecs)
696 ("kconfig" ,kconfig)
697 ("kconfigwidgets" ,kconfigwidgets)
698 ("kcoreaddons" ,kcoreaddons)
699 ("kcrash" ,kcrash)
700 ("kdbusaddons" ,kdbusaddons)
701 ("ki18n" ,ki18n)
702 ("kiconthemes" ,kiconthemes)
703 ("kitemmodels" ,kitemmodels)
704 ("kmime" ,kmime)
705 ("knotifications" ,knotifications)
706 ("ktextwidgets" ,ktextwidgets)
707 ("kwidgetsaddons" ,kwidgetsaddons)
708 ("kwindowsystem" ,kwindowsystem)
709 ("kxmlgui" ,kxmlgui)
710 ("libassuan" ,libassuan)
711 ("libkleo" ,libkleo)
712 ("oxygen-icons" ,oxygen-icons) ;; default icon set
713 ("qgpgme" ,qgpgme)
714 ("qtbase" ,qtbase)))
715 (arguments
716 `(#:phases
717 (modify-phases %standard-phases
718 (replace 'check
719 (lambda _
720 (invoke "dbus-launch" "ctest" ".")
721 #t)))))
722 (home-page "https://kde.org/applications/utilities/org.kde.kleopatra")
723 (synopsis "Certificate Manager and Unified Crypto GUI")
724 (description "Kleopatra is a certificate manager and a universal crypto
725GUI. It supports managing X.509 and OpenPGP certificates in the GpgSM keybox
726and retrieving certificates from LDAP servers.")
727 (license ;; GPL for programs, FDL for documentation
728 (list license:gpl2+ license:fdl1.2+))))
729
d3b543a1
HG
730(define-public kmailcommon
731 (package
732 (name "kmailcommon")
733 (version "19.08.3")
734 (source
735 (origin
736 (method url-fetch)
737 (uri (string-append "mirror://kde/stable/applications/" version
738 "/src/mailcommon-" version ".tar.xz"))
739 (sha256
740 (base32 "1gsj89kgq4457mnfjlys4wiixpzwlbwhj4zpd7r4fdhbyihz3k2m"))))
741 (properties `((upstream-name . "mailcommon")))
742 (build-system qt-build-system)
743 (native-inputs
744 `(("extra-cmake-modules" ,extra-cmake-modules)
745 ("dbus" ,dbus)
746 ("gnupg" ,gnupg)
747 ("qttools" ,qttools)))
748 (inputs
749 `(("akonadi" ,akonadi)
750 ("akonadi-contacts" ,akonadi-contacts)
751 ("akonadi-mime" ,akonadi-mime)
752 ("boost" ,boost)
753 ("gpgme" ,gpgme)
754 ("karchive" ,karchive)
755 ("kcodecs" ,kcodecs)
756 ("kcompletion" ,kcompletion)
757 ("kconfig" ,kconfig)
758 ("kconfigwidgets" ,kconfigwidgets)
759 ("kcontacts" ,kcontacts)
760 ("kdbusaddons" ,kdbusaddons)
761 ("kdesignerplugin" ,kdesignerplugin)
762 ("ki18n" ,ki18n)
763 ("kiconthemes" ,kiconthemes)
764 ("kidentitymanagement" ,kidentitymanagement)
765 ("kimap" ,kimap)
766 ("kio" ,kio)
767 ("kitemmodels" ,kitemmodels)
768 ("kitemviews" ,kitemviews)
769 ("kldap" ,kldap)
770 ("kmailimporter" ,kmailimporter)
771 ("kmailtransport" ,kmailtransport)
772 ("kmessagelib" ,kmessagelib)
773 ("kmime" ,kmime)
774 ("kpimcommon" ,kpimcommon)
775 ("kpimtextedit" ,kpimtextedit)
776 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
777 ("ktextwidgets" ,ktextwidgets)
778 ("kwallet" ,kwallet)
779 ("kwidgetsaddons" ,kwidgetsaddons)
780 ("kwindowsystem" ,kwindowsystem)
781 ("kxmlgui" ,kxmlgui)
782 ("libkdepim" ,libkdepim)
783 ("libkleo" ,libkleo)
784 ("libxslt" ,libxslt)
785 ("phonon" ,phonon)
786 ("qgpgme" ,qgpgme)
787 ("qtbase" ,qtbase)))
788 (arguments
789 `(#:tests? #f)) ;; TODO: 4/56 tests fail, even with "offscreen" and dbus
790 (home-page "https://cgit.kde.org/mailcommon.git")
791 (synopsis "KDE email utility library")
792 (description "The mail common library provides utility functions for
793dealing with email.")
794 (license ;; GPL for programs, LGPL for libraries
795 (list license:gpl2+ license:lgpl2.0+))))
796
63d58962
HG
797(define-public kmailimporter
798 (package
799 (name "kmailimporter")
800 (version "19.08.3")
801 (source
802 (origin
803 (method url-fetch)
804 (uri (string-append "mirror://kde/stable/applications/" version
805 "/src/mailimporter-" version ".tar.xz"))
806 (sha256
807 (base32 "0vmrgjz47f96crrbv0bhaz0abh2am4whhb294rfz02mvjghbzpzv"))))
808 (properties `((upstream-name . "mailimporter")))
809 (build-system qt-build-system)
810 (native-inputs
811 `(("extra-cmake-modules" ,extra-cmake-modules)))
812 (inputs
813 `(("akonadi" ,akonadi)
814 ("akonadi-mime" ,akonadi-mime)
815 ("boost" ,boost)
816 ("karchive" ,karchive)
817 ("kcompletion" ,kcompletion)
818 ("kconfig" ,kconfig)
819 ("kconfigwidgets" ,kconfigwidgets)
820 ("kcoreaddons" ,kcoreaddons)
821 ("kdbusaddons" ,kdbusaddons)
822 ("ki18n" ,ki18n)
823 ("kio" ,kio)
824 ("kitemmodels" ,kitemmodels)
825 ("kmime" ,kmime)
826 ("kxmlgui" ,kxmlgui)
827 ("libkdepim" ,libkdepim)
828 ("qtbase" ,qtbase)))
829 (home-page "https://cgit.kde.org/mailimporter.git")
830 (synopsis "KDE mail importer library")
6434f9b6
HG
831 (description "This package provides libraries for importing mails other
832e-mail client programs into KMail and KDE PIM.")
63d58962
HG
833 (license ;; GPL for programs, LGPL for libraries
834 (list license:gpl2+ license:lgpl2.0+))))
835
5a75e444
HG
836(define-public kmailtransport
837 (package
838 (name "kmailtransport")
839 (version "19.08.3")
840 (source
841 (origin
842 (method url-fetch)
843 (uri (string-append "mirror://kde/stable/applications/" version
844 "/src/kmailtransport-" version ".tar.xz"))
845 (sha256
846 (base32 "04jdnqxbp4382vjxh06rrvsigbrygqfkw0fvbbjnjymp585mgkr4"))))
847 (build-system qt-build-system)
848 (native-inputs
849 `(("extra-cmake-modules" ,extra-cmake-modules)
850 ("kdoctools" ,kdoctools)))
851 (inputs
852 `(("akonadi" ,akonadi)
853 ("akonadi-mime" ,akonadi-mime)
854 ("boost" ,boost)
855 ("cyrus-sasl" ,cyrus-sasl)
856 ("kcalendarcore" ,kcalendarcore)
857 ("kcmutils" ,kcmutils)
858 ("kcontacts" ,kcontacts)
859 ("kdbusaddons" ,kdbusaddons)
860 ("kconfigwidgets" ,kconfigwidgets)
861 ("ki18n" ,ki18n)
862 ("kitemmodels", kitemmodels)
863 ("kio" ,kio)
864 ("kmime" ,kmime)
865 ("ksmtp" ,ksmtp)
866 ("ktextwidgets" ,ktextwidgets)
867 ("kwallet" ,kwallet)
868 ("libkgapi" ,libkgapi)
869 ("qtbase" ,qtbase)))
870 (arguments
871 `(#:tests? #f)) ;; TODO - 3/3 tests fail, require drkonqi
872 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
873 (synopsis "Mail transport service library")
6434f9b6 874 (description "This library provides an API and support code for managing
5a75e444
HG
875mail transport.")
876 (license license:lgpl2.0+)))
877
962b288a
HG
878(define-public kmbox
879 (package
880 (name "kmbox")
881 (version "19.08.3")
882 (source
883 (origin
884 (method url-fetch)
885 (uri (string-append "mirror://kde/stable/applications/" version
886 "/src/kmbox-" version ".tar.xz"))
887 (sha256
888 (base32 "13b5v1nx46k5ais3cms7yxrfi8p6xbljpkpg3f7v1asb6kshv7g2"))))
889 (build-system qt-build-system)
890 (native-inputs
891 `(("extra-cmake-modules" ,extra-cmake-modules)))
892 (inputs
893 `(("kcodecs" ,kcodecs)
894 ("kmime" ,kmime)
895 ("qtbase" ,qtbase)))
896 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
897 (synopsis "Library for handling mbox mailboxes")
6434f9b6
HG
898 (description "This is a library for handling mailboxes in mbox format,
899using a Qt/KMime C++ API.")
962b288a
HG
900 (license license:lgpl2.0+ )))
901
a146c18c
HG
902(define-public kmessagelib
903 (package
904 (name "kmessagelib")
905 (version "19.08.3")
906 (source
907 (origin
908 (method url-fetch)
909 (uri (string-append "mirror://kde/stable/applications/" version
910 "/src/messagelib-" version ".tar.xz"))
911 (sha256
912 (base32 "0a378aqkdjzyzlxxha2qxa6vzrj92l1fplzb6fajz4l7ipj4hbnv"))))
913 (properties `((upstream-name . "messagelib")))
914 (build-system qt-build-system)
915 (native-inputs
916 `(("extra-cmake-modules" ,extra-cmake-modules)
917 ("gnupg" ,gnupg)
918 ("libxml2" ,libxml2)))
919 (inputs
920 `(("akonadi" ,akonadi)
921 ("akonadi-contacts" ,akonadi-contacts)
922 ("akonadi-mime" ,akonadi-mime)
923 ("akonadi-notes" ,akonadi-notes)
924 ("akonadi-search" ,akonadi-search)
925 ("boost" ,boost)
926 ("gpgme" ,gpgme)
927 ("grantlee" ,grantlee)
928 ("grantleetheme" ,grantleetheme)
929 ("karchive" ,karchive)
930 ("kcalendarcore" ,kcalendarcore)
931 ("kcodecs" ,kcodecs)
932 ("kcompletion" ,kcompletion)
933 ("kconfig" ,kconfig)
934 ("kconfigwidgets" ,kconfigwidgets)
935 ("kcontacts" ,kcontacts)
936 ("kdbusaddons" ,kdbusaddons)
937 ("kdepim-apps-libs" ,kdepim-apps-libs)
938 ("ki18n" ,ki18n)
939 ("kiconthemes" ,kiconthemes)
940 ("kidentitymanagement" ,kidentitymanagement)
941 ("kimap" ,kimap)
942 ("kio" ,kio)
943 ("kitemmodels" ,kitemmodels)
944 ("kitemviews" ,kitemviews)
945 ("kjobwidgets" ,kjobwidgets)
946 ("kldap" ,kldap)
947 ("kmailtransport" ,kmailtransport)
948 ("kmbox" ,kmbox)
949 ("kmime" ,kmime)
950 ("knewstuff" ,knewstuff)
951 ("kpimcommon" ,kpimcommon)
952 ("kpimtextedit" ,kpimtextedit)
953 ("kservice" ,kservice)
954 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
955 ("ktextwidgets" ,ktextwidgets)
956 ("kwallet" ,kwallet)
957 ("kwidgetsaddons" ,kwidgetsaddons)
958 ("kwindowsystem" ,kwindowsystem)
959 ("kxmlgui" ,kxmlgui)
960 ("libgravatar" ,libgravatar)
961 ("libkdepim" ,libkdepim)
962 ("libkleo" ,libkleo)
963 ("qgpgme" ,qgpgme)
964 ("qtbase" ,qtbase)
965 ("qtdeclarative" ,qtdeclarative)
966 ("qtwebchannel" ,qtwebchannel)
967 ("qtwebengine" ,qtwebengine)
968 ("qtwebkit" ,qtwebkit)
969 ("sonnet" ,sonnet)))
970 (arguments
971 `(#:tests? #f)) ;; TODO many test fail for quite different reasons
972 (home-page "https://cgit.kde.org/messagelib.git")
973 (synopsis "KDE PIM messaging libraries")
974 (description "This packages provides several libraries for messages,
975e.g. a message list, a mime tree parse, a template parser and the
976kwebengineviewer.")
977 (license ;; GPL for programs, LGPL for libraries
978 (list license:gpl2+ license:lgpl2.0+))))
979
7cfb118c
HG
980(define-public kmime
981 (package
982 (name "kmime")
983 (version "19.08.3")
984 (source
985 (origin
986 (method url-fetch)
987 (uri (string-append "mirror://kde/stable/applications/" version
988 "/src/kmime-" version ".tar.xz"))
989 (sha256
990 (base32 "1pc00pwwrngsyr7ppvqwfgvcgy2wiqdbqxhv9xidn4dw9way2ng6"))))
991 (build-system qt-build-system)
992 (native-inputs
993 `(("extra-cmake-modules" ,extra-cmake-modules)))
994 (inputs
995 `(("kcodecs" ,kcodecs)
996 ("ki18n" ,ki18n)
997 ("qtbase" ,qtbase)))
998 (arguments
999 `(#:phases
1000 (modify-phases %standard-phases
1001 (add-after 'unpack 'fix-test-case
1002 (lambda _
1003 ;; This is curious: autotests/CMakeLists.txt sets LC_TIME=C, but
1004 ;; the Qt locale returns different. See kmime commit 3a9651d26a.
1005 (substitute* "autotests/dateformattertest.cpp"
1006 (("(Today|Yesterday) 12:34:56" line day)
1007 (string-append day " 12:34 PM")))
1008 #t)))))
1009 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1010 (synopsis "Library for handling MIME data")
6434f9b6
HG
1011 (description "This library provides an API for handling MIME
1012data. MIME (Multipurpose Internet Mail Extensions) is an Internet Standard
1013that extends the format of e-mail to support text in character sets other than
1014US-ASCII, non-text attachments, multi-part message bodies, and header
1015information in non-ASCII character sets.")
7cfb118c 1016 (license license:lgpl2.0+)))
8c71fd43 1017
789cf5c3
HG
1018(define-public kontactinterface
1019 (package
1020 (name "kontactinterface")
1021 (version "19.08.3")
1022 (source
1023 (origin
1024 (method url-fetch)
1025 (uri (string-append "mirror://kde/stable/applications/" version
1026 "/src/kontactinterface-" version ".tar.xz"))
1027 (sha256
1028 (base32 "1p0iw9i8cxh3jn7094wvxhlpc2sw52q8csfdgch1lf3dwhkpp0k7"))))
1029 (build-system qt-build-system)
1030 (native-inputs
1031 `(("extra-cmake-modules" ,extra-cmake-modules)))
1032 (inputs
1033 `(("kcoreaddons" ,kcoreaddons)
1034 ("ki18n" ,ki18n)
1035 ("kiconthemes" ,kiconthemes)
1036 ("kparts" ,kparts)
1037 ("kwindowsystem" ,kwindowsystem)
1038 ("kxmlgui" ,kxmlgui)
1039 ("qtbase" ,qtbase)))
1040 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1041 (synopsis "Kontact interface library")
6434f9b6
HG
1042 (description " This library provides the glue necessary for
1043application \"Parts\" to be embedded as a Kontact component (or plugin).")
789cf5c3
HG
1044 (license license:lgpl2.0+)))
1045
a8546f46
HG
1046(define-public kpimcommon
1047 (package
1048 (name "kpimcommon")
1049 (version "19.08.3")
1050 (source
1051 (origin
1052 (method url-fetch)
1053 (uri (string-append "mirror://kde/stable/applications/" version
1054 "/src/pimcommon-" version ".tar.xz"))
1055 (sha256
1056 (base32 "1jl40ymq46yjn9va78hklgg91ikrfahf3w4jl5ziiqbivcl7r9kn"))))
1057 (properties `((upstream-name . "pimcommon")))
1058 (build-system qt-build-system)
1059 (native-inputs
1060 `(("extra-cmake-modules" ,extra-cmake-modules)
1061 ("qttools" ,qttools)))
1062 (inputs
1063 `(("karchive" ,karchive)
1064 ("akonadi" ,akonadi)
1065 ("akonadi-contacts" ,akonadi-contacts)
1066 ("akonadi-mime" ,akonadi-mime)
1067 ("boost" ,boost)
1068 ("grantlee" ,grantlee)
1069 ;; TODO: ("kaccounts" ,kaccounts)
1070 ("kcodecs" ,kcodecs)
1071 ("kcompletion" ,kcompletion)
1072 ("kconfig" ,kconfig)
1073 ("kconfigwidgets" ,kconfigwidgets)
1074 ("kcontacts" ,kcontacts)
1075 ("kcoreaddons" ,kcoreaddons)
1076 ("kdbusaddons" ,kdbusaddons)
1077 ("kdesignerplugin" ,kdesignerplugin)
1078 ("ki18n" ,ki18n)
1079 ("kiconthemes" ,kiconthemes)
1080 ("kimap" ,kimap)
1081 ("kio" ,kio)
1082 ("kirigami" ,kirigami) ;; run-time dependency
1083 ("kitemmodels" ,kitemmodels)
1084 ("kitemviews" ,kitemviews)
1085 ("kjobwidgets" ,kjobwidgets)
1086 ("kmime" ,kmime)
1087 ("knewstuff" ,knewstuff)
1088 ("kpimtextedit" ,kpimtextedit)
1089 ("kservice" ,kservice)
1090 ("ktextwidgets" ,ktextwidgets)
1091 ("kwallet" ,kwallet)
1092 ("kwidgetsaddons" ,kwidgetsaddons)
1093 ("kwindowsystem" ,kwindowsystem)
1094 ("kxmlgui" ,kxmlgui)
1095 ("libkdepim" ,libkdepim)
1096 ("libxslt" ,libxslt)
1097 ("purpose" ,purpose)
1098 ("qtbase" ,qtbase)
1099 ("qtwebengine" ,qtwebengine)))
1100 (arguments
1101 `(#:tests? #f)) ;; TODO tests hang
1102 (home-page "https://cgit.kde.org/pimcommon.git")
6434f9b6
HG
1103 (synopsis "Common libraries for KDE PIM")
1104 (description "This package provides common libraries for KDE PIM.")
a8546f46
HG
1105 (license ;; GPL for programs, LGPL for libraries
1106 (list license:gpl2+ license:lgpl2.0+))))
1107
8c71fd43
HG
1108(define-public kpimtextedit
1109 (package
1110 (name "kpimtextedit")
1111 (version "19.08.3")
1112 (source
1113 (origin
1114 (method url-fetch)
1115 (uri (string-append "mirror://kde/stable/applications/" version
1116 "/src/kpimtextedit-" version ".tar.xz"))
1117 (sha256
1118 (base32 "1as48j5qfpj9pqjck1615nlpk4a850m7xxcyl41gx8biww027zvm"))))
1119 (build-system qt-build-system)
1120 (native-inputs
1121 `(("extra-cmake-modules" ,extra-cmake-modules)
1122 ("qttools" ,qttools)))
1123 (inputs
1124 `(("grantlee" ,grantlee)
1125 ("kcodecs" ,kcodecs)
1126 ("kconfigwidgets" ,kconfigwidgets)
1127 ("kcoreaddons" ,kcoreaddons)
1128 ("kdesignerplugin" ,kdesignerplugin)
1129 ("kemoticons" ,kemoticons)
1130 ("ki18n" ,ki18n)
1131 ("kiconthemes" ,kiconthemes)
1132 ("kio" ,kio)
1133 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1134 ("ktextwidgets" ,ktextwidgets)
1135 ("kwidgetsaddons" ,kwidgetsaddons)
1136 ("kxmlgui" ,kxmlgui)
1137 ("qtbase" ,qtbase)
1138 ("qtspeech", qtspeech)
1139 ("sonnet" ,sonnet)))
1140 (arguments
1141 `(#:tests? #f)) ;; TODO - test suite hangs
1142 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
1143 (synopsis "Library providing a textedit with PIM-specific features")
6434f9b6
HG
1144 (description "This package provides a textedit with PIM-specific features.
1145It also provides so-called rich text builders which can convert the formatted
1146text in the text edit to all kinds of markup, like HTML or BBCODE.")
8c71fd43
HG
1147 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1148 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
ff6adc0a 1149
29157edc
HG
1150(define-public ksmtp
1151 (package
1152 (name "ksmtp")
1153 (version "19.08.3")
1154 (source
1155 (origin
1156 (method url-fetch)
1157 (uri (string-append "mirror://kde/stable/applications/" version
1158 "/src/ksmtp-" version ".tar.xz"))
1159 (sha256
1160 (base32 "1pd8mma3xbq83jkn76gqinn6xh9imaji0jrg3qzysf5rvjl8kcqn"))))
1161 (build-system qt-build-system)
1162 (native-inputs
1163 `(("extra-cmake-modules" ,extra-cmake-modules)))
1164 (inputs
1165 `(("cyrus-sasl" ,cyrus-sasl)
1166 ("kcodecs" ,kcodecs)
1167 ("kconfig" ,kconfig)
1168 ("kcoreaddons" ,kcoreaddons)
1169 ("ki18n" ,ki18n)
1170 ("kio" ,kio)
1171 ("qtbase" ,qtbase)))
1172 (arguments
1173 `(#:tests? #f ;; TODO: does not find sasl mechs
1174 #:phases
1175 (modify-phases %standard-phases
1176 (add-after 'unpack 'Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing
1177 (lambda _
1178 (substitute* "src/CMakeLists.txt"
1179 (("^(install\\(.* )\\$\\{KF5_INSTALL_TARGETS_DEFAULT_ARGS\\}\\)"
1180 _ prefix)
1181 (string-append prefix "${KDE_INSTALL_TARGETS_DEFAULT_ARGS})")))
1182 #t)))))
1183 (home-page "https://cgit.kde.org/ksmtp.git")
1184 (synopsis "Library for sending email through an SMTP server")
1185 (description "This library provides an API for handling SMTP
1186services. SMTP (Simple Mail Transfer Protocol) is the most prevalent Internet
1187standard protocols for e-mail transmission.")
1188 (license license:lgpl2.0+)))
1189
ff6adc0a
HG
1190(define-public ktnef
1191 (package
1192 (name "ktnef")
1193 (version "19.08.3")
1194 (source
1195 (origin
1196 (method url-fetch)
1197 (uri (string-append "mirror://kde/stable/applications/" version
1198 "/src/ktnef-" version ".tar.xz"))
1199 (sha256
1200 (base32 "0kgfhh46130hg1xq8km5gjzxa3b620j1zdrg54qivxa782smgbl6"))))
1201 (build-system qt-build-system)
1202 (native-inputs
1203 `(("extra-cmake-modules" ,extra-cmake-modules)))
1204 (inputs
1205 `(("kcalendarcore" ,kcalendarcore)
1206 ("kcalutils" ,kcalutils)
1207 ("kcodecs" ,kcodecs)
1208 ("kconfig" ,kconfig)
1209 ("kcontacts" ,kcontacts)
1210 ("kcoreaddons" ,kcoreaddons)
1211 ("ki18n" ,ki18n)
1212 ("qtbase" ,qtbase)))
1213 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/ktnef/html/")
6434f9b6
HG
1214 (synopsis "Library for handling mail attachments using TNEF format")
1215 (description "Ktnef is a library for handling data in the TNEF
1216format (Transport Neutral Encapsulation Format, a proprietary format of e-mail
1217attachment used by Microsoft Outlook and Microsoft Exchange Server). The API
1218permits access to the actual attachments, the message properties (TNEF/MAPI),
1219and allows one to view/extract message formatted text in Rich Text Format.")
ff6adc0a 1220 (license license:lgpl2.0+)))
0fcbdde7 1221
4357222b
HG
1222(define-public libkdepim
1223 (package
1224 (name "libkdepim")
1225 (version "19.08.3")
1226 (source
1227 (origin
1228 (method url-fetch)
1229 (uri (string-append "mirror://kde/stable/applications/" version
1230 "/src/libkdepim-" version ".tar.xz"))
1231 (sha256
1232 (base32 "0ndh97w1bfii4snx9yc0qazqk5jhx22s810kj656967xd1w4bj9n"))))
1233 (build-system qt-build-system)
1234 (native-inputs
1235 `(("extra-cmake-modules" ,extra-cmake-modules)
1236 ("qttools" ,qttools)))
1237 (inputs
1238 `(("akonadi" ,akonadi)
1239 ("akonadi-contacts" ,akonadi-contacts)
1240 ("akonadi-mime" ,akonadi-mime)
1241 ("akonadi-search" ,akonadi-search)
1242 ("boost" ,boost)
1243 ("kcmutils" ,kcmutils)
1244 ("kcodecs" ,kcodecs)
1245 ("kcalendarcore" ,kcalendarcore)
1246 ("kcompletion" ,kcompletion)
1247 ("kconfig" ,kconfig)
1248 ("kconfigwidgets" ,kconfigwidgets)
1249 ("kcontacts" ,kcontacts)
1250 ("kcoreaddons" ,kcoreaddons)
1251 ("kdbusaddons" ,kdbusaddons)
1252 ("kdesignerplugin" ,kdesignerplugin)
1253 ("ki18n" ,ki18n)
1254 ("kiconthemes" ,kiconthemes)
1255 ("kio" ,kio)
1256 ("kitemmodels" ,kitemmodels)
1257 ("kitemviews" ,kitemviews)
1258 ("kjobwidgets" ,kjobwidgets)
1259 ("kldap" ,kldap)
1260 ("kmime" ,kmime)
1261 ("kwallet" ,kwallet)
1262 ("kwidgetsaddons" ,kwidgetsaddons)
1263 ("qtbase" ,qtbase)))
1264 (home-page "https://cgit.kde.org/libkdepim.git")
6434f9b6
HG
1265 (synopsis "Libraries for common KDE PIM apps")
1266 (description "This package provided libraries for common KDE PIM apps.")
4357222b
HG
1267 (license ;; GPL for programs, LGPL for libraries
1268 (list license:gpl2+ license:lgpl2.0+))))
1269
0fcbdde7
HG
1270(define-public libkgapi
1271 (package
1272 (name "libkgapi")
1273 (version "19.08.3")
1274 (source
1275 (origin
1276 (method url-fetch)
1277 (uri (string-append "mirror://kde/stable/applications/" version
1278 "/src/libkgapi-" version ".tar.xz"))
1279 (sha256
1280 (base32 "0z76b745n4hhjndrhv1w5acibia8x1frh78jx7bvxa72d8wphn08"))))
1281 (build-system qt-build-system)
1282 (native-inputs
1283 `(("extra-cmake-modules" ,extra-cmake-modules)
1284 ("qttools" ,qttools)))
1285 (inputs
1286 `(("cyrus-sasl" ,cyrus-sasl)
1287 ("ki18n" ,ki18n)
1288 ("kcontacts" ,kcontacts)
1289 ("kcalendarcore" ,kcalendarcore)
1290 ("kio" ,kio)
1291 ("kwallet" ,kwallet)
1292 ("kwindowsystem" ,kwindowsystem)
1293 ("qtbase" ,qtbase)
1294 ("qtdeclarative" ,qtdeclarative)
1295 ("qtwebchannel" ,qtwebchannel)
1296 ("qtwebengine" ,qtwebengine)))
1297 (arguments
1298 `(#:tests? #f)) ;; TODO 6/48 tests fail
1299 (home-page "https://cgit.kde.org/libkgapi.git")
1300 (synopsis "Library for accessing various Google services via their public
1301API")
1302 (description "@code{LibKGAPI} is a C++ library that implements APIs for
1303various Google services.")
1304 (license license:lgpl2.0+)))
25b620d9
HG
1305
1306(define-public libkleo
1307 (package
1308 (name "libkleo")
1309 (version "19.08.3")
1310 (source
1311 (origin
1312 (method url-fetch)
1313 (uri (string-append "mirror://kde/stable/applications/" version
1314 "/src/libkleo-" version ".tar.xz"))
1315 (sha256
1316 (base32 "0vjp07j102mi20c4q2fdvkjc0skb9q7msxp64n76wy3cciv346jz"))))
1317 (build-system qt-build-system)
1318 (native-inputs
1319 `(("extra-cmake-modules" ,extra-cmake-modules)
1320 ("kdoctools" ,kdoctools)
1321 ("qttools" ,qttools)))
1322 (inputs
1323 `(("boost" ,boost)
1324 ("gpgme" ,gpgme)
1325 ("kcodecs" ,kcodecs)
1326 ("kcompletion" ,kcompletion)
1327 ("kconfig" ,kconfig)
1328 ("kcoreaddons" ,kcoreaddons)
1329 ("kcrash" ,kcrash)
1330 ("ki18n" ,ki18n)
1331 ("kitemmodels" ,kitemmodels)
1332 ("kwidgetsaddons" ,kwidgetsaddons)
1333 ("kwindowsystem" ,kwindowsystem)
1334 ("kpimtextedit" ,kpimtextedit)
1335 ("qgpgme" ,qgpgme)
1336 ("qtbase" ,qtbase)))
1337 (home-page "https://cgit.kde.org/libkleo.git/")
1338 (synopsis "KDE PIM cryptographic library")
1339 (description "@code{libkleo} is a library for Kleopatra and other parts of
1340KDE using certificate-based crypto.")
1341 (license ;; GPL for programs, LGPL for libraries
1342 (list license:gpl2+ license:lgpl2.0+))))
83a4ab4e
HG
1343
1344(define-public libksieve
1345 (package
1346 (name "libksieve")
1347 (version "19.08.3")
1348 (source
1349 (origin
1350 (method url-fetch)
1351 (uri (string-append "mirror://kde/stable/applications/" version
1352 "/src/libksieve-" version ".tar.xz"))
1353 (sha256
1354 (base32 "0q6f6lc4yvlq0vsfml10lz844z6zxxf7yivk7l3vglap58ci20x1"))
1355 (patches (search-patches "libksieve-Fix-missing-link-libraries.patch"))))
1356 (build-system qt-build-system)
1357 (native-inputs
1358 `(("extra-cmake-modules" ,extra-cmake-modules)
1359 ("kdoctools" ,kdoctools)))
1360 (inputs
1361 `(("akonadi" ,akonadi)
1362 ("cyrus-sasl" ,cyrus-sasl)
1363 ("karchive" ,karchive)
1364 ("ki18n" ,ki18n)
1365 ("kiconthemes" ,kiconthemes)
1366 ("kidentitymanagement" ,kidentitymanagement)
1367 ("kimap" ,kimap)
1368 ("kio" ,kio)
1369 ("kmailtransport" ,kmailtransport)
1370 ("kmime" ,kmime)
1371 ("knewstuff" ,knewstuff)
1372 ("kpimcommon" ,kpimcommon)
1373 ("kpimtextedit" ,kpimtextedit)
1374 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
1375 ("ktextwidgets" ,ktextwidgets)
1376 ("kwallet" ,kwallet)
1377 ("kwindowsystem" ,kwindowsystem)
1378 ("libkdepim" ,libkdepim)
1379 ("qtbase" ,qtbase)
1380 ("qtdeclarative" ,qtdeclarative)
1381 ("qtwebchannel" ,qtwebchannel)
1382 ("qtwebengine" ,qtwebengine)))
1383 (arguments
1384 `(#:phases
1385 (modify-phases %standard-phases
1386 (add-after 'unpack 'substitute
1387 (lambda _
1388 ;; Disable a failing test
1389 ;; sieveeditorhelphtmlwidgettest fails with `sigtrap`
1390 (substitute*
1391 "src/ksieveui/editor/webengine/autotests/CMakeLists.txt"
1392 (("^\\s*(add_test|ecm_mark_as_test)\\W" line)
1393 (string-append "# " line)))
1394 #t)))))
1395 (home-page "https://cgit.kde.org/libksieve.git")
1396 (synopsis "KDE Sieve library")
1397 (description "Sieve is a language that can be used filter emails. KSieve
1398is a Sieve parser and interpreter library for KDE.")
1399 (license ;; GPL for programs, LGPL for libraries
1400 (list license:gpl2+ license:lgpl2.0+))))