Commit | Line | Data |
---|---|---|
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) | |
30 | #:use-module (gnu packages gnome) | |
31 | #:use-module (gnu packages kde-frameworks) | |
6e03dbea | 32 | #:use-module (gnu packages openldap) |
e35b50ec | 33 | #:use-module (gnu packages qt) |
a24fcdbd | 34 | #:use-module (gnu packages search) |
e35b50ec HG |
35 | #:use-module (gnu packages sqlite) |
36 | #:use-module (gnu packages xml)) | |
37 | ||
38 | (define-public akonadi | |
39 | (package | |
40 | (name "akonadi") | |
41 | (version "19.08.3") | |
42 | (source | |
43 | (origin | |
44 | (method url-fetch) | |
45 | (uri (string-append "mirror://kde/stable/applications/" version | |
46 | "/src/akonadi-" version ".tar.xz")) | |
47 | (sha256 | |
48 | (base32 "0v7f1049wjnqxhwxr1443wc2cfbdqmf15xcwjz3j1m0vgdva9pyg")) | |
49 | (patches (search-patches | |
50 | "akonadi-paths.patch" | |
51 | "akonadi-timestamps.patch" | |
52 | "akonadi-Revert-Make-installation-properly-relocatabl.patch")))) | |
53 | (build-system qt-build-system) | |
54 | (native-inputs | |
55 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
56 | ("qttools" ,qttools) | |
57 | ("shared-mime-info" ,shared-mime-info))) | |
58 | (inputs | |
59 | `(("boost" ,boost) | |
60 | ("kconfig" ,kconfig) | |
61 | ("kconfigwidgets" ,kconfigwidgets) | |
62 | ("kcoreaddons" ,kcoreaddons) | |
63 | ("kcrash" ,kcrash) | |
64 | ("kdbusaddons" ,kdbusaddons) | |
65 | ("kdesignerplugin" ,kdesignerplugin) | |
66 | ("ki18n" ,ki18n) | |
67 | ("kiconthemes" ,kiconthemes) | |
68 | ("kio" ,kio) | |
69 | ("kitemmodels" ,kitemmodels) | |
70 | ("kitemviews" ,kitemviews) | |
71 | ("kwidgetsaddons" ,kwidgetsaddons) | |
72 | ("kwindowsystem" ,kwindowsystem) | |
73 | ("kxmlgui" ,kxmlgui) | |
74 | ("libxml2" ,libxml2) | |
75 | ("libxslt" ,libxslt) | |
76 | ;; Do NOT add mysql or postgresql to the inputs. Otherwise the binaries | |
77 | ;; and wrapped files will refer to them, even if the user choices none | |
78 | ;; of these. Executables are searched on $PATH then. | |
79 | ("qtbase" ,qtbase) | |
80 | ("sqlite" ,sqlite))) | |
81 | (arguments | |
82 | `(#:tests? #f ;; TODO 135/167 tests fail | |
83 | #:configure-flags '("-DDATABASE_BACKEND=SQLITE") ; lightweight | |
84 | #:modules ((ice-9 textual-ports) | |
85 | ,@%qt-build-system-modules) | |
86 | #:phases | |
87 | (modify-phases (@ (guix build qt-build-system) %standard-phases) | |
88 | (add-before 'configure 'add-definitions | |
89 | (lambda _ | |
90 | (let ((out (assoc-ref %outputs "out")) | |
91 | (mysql (assoc-ref %build-inputs "mysql")) | |
92 | (pgsql (assoc-ref %build-inputs "postgresql"))) | |
93 | (with-output-to-file "CMakeLists.txt.new" | |
94 | (lambda _ | |
95 | (display | |
96 | (string-append | |
97 | "add_compile_definitions(\n" | |
98 | "NIX_OUT=\"" out "\"\n" | |
99 | ;; pin binaries for mysql backend | |
100 | ")\n\n")) | |
101 | (display | |
102 | (call-with-input-file "CMakeLists.txt" | |
103 | get-string-all)))) | |
104 | (rename-file "CMakeLists.txt.new" "CMakeLists.txt")) | |
105 | #t))))) | |
106 | (home-page "https://kontact.kde.org/components/akonadi.html") | |
107 | (synopsis "Extensible cross-desktop storage service for PIM") | |
108 | (description "Akonadi is an extensible cross-desktop Personal Information | |
109 | Management (PIM) storage service. It provides a common framework for | |
110 | applications to store and access mail, calendars, addressbooks, and other PIM | |
111 | data. | |
112 | ||
113 | This package contains the Akonadi PIM storage server and associated | |
114 | programs.") | |
115 | (license license:fdl1.2+))) | |
7cfb118c | 116 | |
ad80c7ef HG |
117 | (define-public akonadi-contacts |
118 | (package | |
119 | (name "akonadi-contacts") | |
120 | (version "19.08.3") | |
121 | (source | |
122 | (origin | |
123 | (method url-fetch) | |
124 | (uri (string-append "mirror://kde/stable/applications/" version | |
125 | "/src/akonadi-contacts-" version ".tar.xz")) | |
126 | (sha256 | |
127 | (base32 "1pw1s8c6dlcb103cw46p1ikvas3y8cwiwnfdny2jd3hr3rig4px9")))) | |
128 | (build-system qt-build-system) | |
129 | (native-inputs | |
130 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
131 | (inputs | |
132 | `(("akonadi" ,akonadi) | |
133 | ("boost" ,boost) | |
134 | ("kauth" ,kauth) | |
135 | ("kcodecs" ,kcodecs) | |
136 | ("kcompletion" ,kcompletion) | |
137 | ("kconfigwidgets" ,kconfigwidgets) | |
138 | ("kcontacts" ,kcontacts) | |
139 | ("kcoreaddons" ,kcoreaddons) | |
140 | ("kdbusaddons" ,kdbusaddons) | |
141 | ("ki18n" ,ki18n) | |
142 | ("kiconthemes" ,kiconthemes) | |
143 | ("kitemmodels" ,kitemmodels) | |
144 | ("kitemviews" ,kitemviews) | |
145 | ("kjobwidgets" ,kjobwidgets) | |
146 | ("kmime" ,kmime) | |
147 | ("kservice" ,kservice) | |
148 | ("ktextwidgets" ,ktextwidgets) | |
149 | ("kwidgetsaddons" ,kwidgetsaddons) | |
150 | ("kxmlgui" ,kxmlgui) | |
151 | ("prison" ,prison) | |
152 | ("kio" ,kio) | |
153 | ("qtbase" ,qtbase) | |
154 | ("solid" ,solid) | |
155 | ("sonnet" ,sonnet))) | |
156 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/") | |
157 | (synopsis "Akonadi contacts access library") | |
158 | (description "Akonadi Contacts is a library that effectively bridges the | |
159 | type-agnostic API of the Akonadi client libraries and the domain-specific | |
160 | KContacts library. It provides jobs, models and other helpers to make working | |
161 | with contacts and addressbooks through Akonadi easier. | |
162 | ||
163 | The library provides a complex dialog for editing contacts and several models | |
164 | to list and filter contacts.") | |
165 | (license ;; GPL for programs, LGPL for libraries | |
166 | (list license:gpl2+ license:lgpl2.0+)))) | |
167 | ||
8d41c6a3 HG |
168 | (define-public akonadi-mime |
169 | (package | |
170 | (name "akonadi-mime") | |
171 | (version "19.08.3") | |
172 | (source | |
173 | (origin | |
174 | (method url-fetch) | |
175 | (uri (string-append "mirror://kde/stable/applications/" version | |
176 | "/src/akonadi-mime-" version ".tar.xz")) | |
177 | (sha256 | |
178 | (base32 "03q3dnhzcgmgcqvijnwi4ikg0m1zad2l679bqnp051v27fvs4yg7")))) | |
179 | (build-system qt-build-system) | |
180 | (native-inputs | |
181 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
182 | ("libxslt" ,libxslt) ;; xslt for generating interface descriptions | |
183 | ("shared-mime-info" ,shared-mime-info))) | |
184 | (inputs | |
185 | `(("akonadi" ,akonadi) | |
186 | ("boost", boost) | |
187 | ("kcodecs" ,kcodecs) | |
188 | ("kconfig" ,kconfig) | |
189 | ("kconfigwidgets" ,kconfigwidgets) | |
190 | ("kdbusaddons" ,kdbusaddons) | |
191 | ("ki18n" ,ki18n) | |
192 | ("kio" ,kio) | |
193 | ("kitemmodels" ,kitemmodels) | |
194 | ("kmime" ,kmime) | |
195 | ("kwidgetsaddons" ,kwidgetsaddons) | |
196 | ("kxmlgui" ,kxmlgui) | |
197 | ("qtbase" ,qtbase))) | |
198 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/") | |
199 | (arguments | |
200 | `(#:phases | |
201 | (modify-phases %standard-phases | |
202 | (add-after 'unpack 'copy-desktop-file-early | |
203 | (lambda _ | |
204 | (let ((plugins-dir "/tmp/.local/share/akonadi/plugins/serializer")) | |
205 | (mkdir-p plugins-dir) | |
206 | (copy-file "serializers/akonadi_serializer_mail.desktop" | |
207 | (string-append plugins-dir "/akonadi_serializer_mail.desktop"))) | |
208 | #t)) | |
209 | (add-before 'check 'check-setup | |
210 | (lambda _ | |
211 | (setenv "HOME" "/tmp") | |
212 | #t))))) | |
213 | (synopsis "Akonadi MIME handling library") | |
214 | (description "Akonadi Mime is a library that effectively bridges the | |
215 | type-agnostic API of the Akonadi client libraries and the domain-specific | |
216 | KMime library. It provides jobs, models and other helpers to make working | |
217 | with emails through Akonadi easier.") | |
218 | (license ;; GPL for programs, LGPL for libraries | |
219 | (list license:gpl2+ license:lgpl2.0+)))) | |
220 | ||
d03ad6cf HG |
221 | (define-public akonadi-notes |
222 | (package | |
223 | (name "akonadi-notes") | |
224 | (version "19.08.3") | |
225 | (source | |
226 | (origin | |
227 | (method url-fetch) | |
228 | (uri (string-append "mirror://kde/stable/applications/" version | |
229 | "/src/akonadi-notes-" version ".tar.xz")) | |
230 | (sha256 | |
231 | (base32 "0r8vh11bfjzhspb5kp2d0kcgwqd2m5qpxpamiajzjq910f51sw3w")))) | |
232 | (build-system qt-build-system) | |
233 | (native-inputs | |
234 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
235 | (inputs | |
236 | `(("akonadi" ,akonadi) | |
237 | ("kcodecs" ,kcodecs) | |
238 | ("ki18n" ,ki18n) | |
239 | ("kmime" ,kmime) | |
240 | ("qtbase" ,qtbase))) | |
241 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/") | |
242 | (synopsis "Akonadi notes access library") | |
243 | (description "Akonadi Notes is a library that effectively bridges the | |
244 | type-agnostic API of the Akonadi client libraries and the domain-specific | |
245 | KMime library. It provides a helper class for note attachments and for | |
246 | wrapping notes into KMime::Message objects.") | |
247 | (license ;; GPL for programs, LGPL for libraries | |
248 | (list license:gpl2+ license:lgpl2.0+)))) | |
249 | ||
a24fcdbd HG |
250 | (define-public akonadi-search |
251 | (package | |
252 | (name "akonadi-search") | |
253 | (version "19.08.3") | |
254 | (source | |
255 | (origin | |
256 | (method url-fetch) | |
257 | (uri (string-append "mirror://kde/stable/applications/" version | |
258 | "/src/akonadi-search-" version ".tar.xz")) | |
259 | (sha256 | |
260 | (base32 "16qzs2cs4nxwrpwcdgwry95qn6wmg8s1p4w3qajx1ahkgwmsh11s")))) | |
261 | (build-system qt-build-system) | |
262 | (native-inputs | |
263 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
264 | (inputs | |
265 | `(("akonadi" ,akonadi) | |
266 | ("akonadi-mime" ,akonadi-mime) | |
267 | ("boost" ,boost) | |
268 | ("kcalendarcore" ,kcalendarcore) | |
269 | ("kcmutils" ,kcmutils) | |
270 | ("kcontacts" ,kcontacts) | |
271 | ("kcrash" ,kcrash) | |
272 | ("kdbusaddons" ,kdbusaddons) | |
273 | ("ki18n" ,ki18n) | |
274 | ("kio" ,kio) | |
275 | ("kitemmodels" ,kitemmodels) | |
276 | ("kmime" ,kmime) | |
277 | ("krunner" ,krunner) | |
278 | ("kwindowsystem" ,kwindowsystem) | |
279 | ("qtbase" ,qtbase) | |
280 | ("xapian" ,xapian))) | |
281 | (arguments | |
282 | `(#:tests? #f)) ;; TODO: needs dbus | |
283 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/") | |
284 | (synopsis "Akonadi search library") | |
285 | (description "Xapian-based indexing and query infrastructure for | |
286 | Akonadi.") | |
287 | (license ;; GPL for programs, LGPL for libraries | |
288 | (list license:gpl2+ license:lgpl2.0+)))) | |
289 | ||
2a876c1c HG |
290 | (define-public kalarmcal |
291 | (package | |
292 | (name "kalarmcal") | |
293 | (version "19.08.3") | |
294 | (source | |
295 | (origin | |
296 | (method url-fetch) | |
297 | (uri (string-append "mirror://kde/stable/applications/" version | |
298 | "/src/kalarmcal-" version ".tar.xz")) | |
299 | (sha256 | |
300 | (base32 "0w9qsx2gqwny2v4fsj4awn814s9b7yrxvqrawlick3r2kp4x1sgn")))) | |
301 | (build-system qt-build-system) | |
302 | (native-inputs | |
303 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
304 | (inputs | |
305 | `(("akonadi", akonadi) | |
306 | ("boost" ,boost) | |
307 | ("kcalendarcore" ,kcalendarcore) | |
308 | ("kcalutils" ,kcalutils) | |
309 | ("kcompletion" ,kcompletion) | |
310 | ("kconfig" ,kconfig) | |
311 | ("kconfigwidgets" ,kconfigwidgets) | |
312 | ("kcoreaddons" ,kcoreaddons) | |
313 | ("kdbusaddons" ,kdbusaddons) | |
314 | ("kholidays" ,kholidays) | |
315 | ("ki18n" ,ki18n) | |
316 | ("kidentitymanagement" ,kidentitymanagement) | |
317 | ("kio" ,kio) | |
318 | ("kitemmodels" ,kitemmodels) | |
319 | ("kpimtextedit" ,kpimtextedit) | |
320 | ("ktextwidgets" ,ktextwidgets) | |
321 | ("kxmlgui" ,kxmlgui) | |
322 | ("qtbase" ,qtbase))) | |
323 | (arguments | |
324 | `(#:tests? #f)) ;; TODO: TZ setup | |
325 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") | |
326 | (synopsis "Library for handling kalarm calendar data") | |
327 | (description "This library provides an API for KAlarm alarms.") | |
328 | (license license:lgpl2.0+))) | |
329 | ||
68b1d81d HG |
330 | (define-public kcalutils |
331 | (package | |
332 | (name "kcalutils") | |
333 | (version "19.08.3") | |
334 | (source | |
335 | (origin | |
336 | (method url-fetch) | |
337 | (uri (string-append "mirror://kde/stable/applications/" version | |
338 | "/src/kcalutils-" version ".tar.xz")) | |
339 | (sha256 | |
340 | (base32 "1nlkik4qiciyh1slgpis3n5h9pks2ygdba9yq4s16nnmip4l45w2")))) | |
341 | (build-system qt-build-system) | |
342 | (native-inputs | |
343 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
344 | ("libxml2" ,libxml2))) ;; xmllint required for tests | |
345 | (inputs | |
346 | `(("grantlee" ,grantlee) | |
347 | ("kcalendarcore" ,kcalendarcore) | |
348 | ("kcodecs" ,kcodecs) | |
349 | ("kconfig" ,kconfig) | |
350 | ("kconfigwidgets" ,kconfigwidgets) | |
351 | ("kcoreaddons" ,kcoreaddons) | |
352 | ("ki18n" ,ki18n) | |
353 | ("kiconthemes" ,kiconthemes) | |
354 | ("kidentitymanagement" ,kidentitymanagement) | |
355 | ("kpimtextedit" ,kpimtextedit) | |
356 | ("ktextwidgets" ,ktextwidgets) | |
357 | ("kwidgetsaddons" ,kwidgetsaddons) | |
358 | ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests | |
359 | ("qtbase" ,qtbase))) | |
360 | (arguments | |
361 | `(#:tests? #f)) ;; TODO: seem to pull in some wrong theme | |
362 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") | |
363 | (synopsis "Library with utility functions for the handling of calendar | |
364 | data") | |
365 | (description "This library provides a utility and user interface | |
366 | functions for accessing calendar data using the kcalcore API.") | |
367 | (license license:lgpl2.0+))) | |
368 | ||
0a0df84f HG |
369 | (define-public kidentitymanagement |
370 | (package | |
371 | (name "kidentitymanagement") | |
372 | (version "19.08.3") | |
373 | (source | |
374 | (origin | |
375 | (method url-fetch) | |
376 | (uri (string-append "mirror://kde/stable/applications/" version | |
377 | "/src/kidentitymanagement-" version ".tar.xz")) | |
378 | (sha256 | |
379 | (base32 "0dqz49sp5hq44590rrxav8688aqlzsww4q4n55ksfy13nk9i5mbf")))) | |
380 | (build-system qt-build-system) | |
381 | (native-inputs | |
382 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
383 | (inputs | |
384 | `(("kcodecs" ,kcodecs) | |
385 | ("kcompletion" ,kcompletion) | |
386 | ("kconfig" ,kconfig) | |
387 | ("kcoreaddons" ,kcoreaddons) | |
388 | ("kemoticons" ,kemoticons) | |
389 | ("kiconthemes" ,kiconthemes) | |
390 | ("kio" ,kio) | |
391 | ("kpimtextedit" ,kpimtextedit) | |
392 | ("ktextwidgets" ,ktextwidgets) | |
393 | ("kxmlgui" ,kxmlgui) | |
394 | ("qtbase" ,qtbase))) | |
395 | (arguments | |
396 | `(#:phases | |
397 | (modify-phases %standard-phases | |
398 | (add-before 'check 'set-home | |
399 | (lambda _ | |
400 | (setenv "HOME" "/tmp/dummy-home") ;; FIXME: what is this? | |
401 | #t))))) | |
402 | (home-page "https://kontact.kde.org/") | |
403 | (synopsis "Library for shared identities between mail applications") | |
404 | (description "Library for shared identities between mail applications.") | |
405 | (license ;; GPL for programs, LGPL for libraries, FDL for documentation | |
406 | (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+)))) | |
407 | ||
037994df HG |
408 | (define-public kimap |
409 | (package | |
410 | (name "kimap") | |
411 | (version "19.08.3") | |
412 | (source | |
413 | (origin | |
414 | (method url-fetch) | |
415 | (uri (string-append "mirror://kde/stable/applications/" version | |
416 | "/src/kimap-" version ".tar.xz")) | |
417 | (sha256 | |
418 | (base32 "0l8hb2z82jzbwr12lw5fismwk1a3ca4dk966p1fxg4bibck8vjj6")))) | |
419 | (build-system qt-build-system) | |
420 | (native-inputs | |
421 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
422 | (inputs | |
423 | `(("cyrus-sasl" ,cyrus-sasl) | |
424 | ("kcoreaddons" ,kcoreaddons) | |
425 | ("ki18n" ,ki18n) | |
426 | ("kio" ,kio) | |
427 | ("kmime" ,kmime) | |
428 | ("qtbase" ,qtbase))) | |
429 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") | |
430 | (synopsis "Library for handling IMAP") | |
431 | (description "This library provides a job-based API for interacting with | |
432 | an IMAP4rev1 server. It manages connections, encryption and parameter quoting | |
433 | and encoding, but otherwise provides quite a low-level interface to the | |
434 | protocol. This library does not implement an IMAP client; it merely makes it | |
435 | easier to do so.") | |
436 | (license ;; GPL for programs, LGPL for libraries | |
437 | (list license:gpl2+ license:lgpl2.0+)))) | |
438 | ||
6e03dbea HG |
439 | (define-public kldap |
440 | (package | |
441 | (name "kldap") | |
442 | (version "19.08.3") | |
443 | (source | |
444 | (origin | |
445 | (method url-fetch) | |
446 | (uri (string-append "mirror://kde/stable/applications/" version | |
447 | "/src/kldap-" version ".tar.xz")) | |
448 | (sha256 | |
449 | (base32 "1blbnj8av6h168g14gyphyd9sz87af773b1qglmbkv5pzbzaanxn")))) | |
450 | (build-system qt-build-system) | |
451 | (native-inputs | |
452 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
453 | ("kdoctools" ,kdoctools))) | |
454 | (inputs | |
455 | `(("ki18n" ,ki18n) | |
456 | ("kio" ,kio) | |
457 | ("kwidgetsaddons" ,kwidgetsaddons) | |
458 | ("qtbase" ,qtbase))) | |
459 | (propagated-inputs | |
460 | `(("cyrus-sasl" ,cyrus-sasl) | |
461 | ("openldap" ,openldap))) | |
462 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") | |
463 | (synopsis "Library for accessing LDAP") | |
464 | (description "This library provides an API for LDAP.") | |
465 | (license license:lgpl2.0+))) | |
466 | ||
962b288a HG |
467 | (define-public kmbox |
468 | (package | |
469 | (name "kmbox") | |
470 | (version "19.08.3") | |
471 | (source | |
472 | (origin | |
473 | (method url-fetch) | |
474 | (uri (string-append "mirror://kde/stable/applications/" version | |
475 | "/src/kmbox-" version ".tar.xz")) | |
476 | (sha256 | |
477 | (base32 "13b5v1nx46k5ais3cms7yxrfi8p6xbljpkpg3f7v1asb6kshv7g2")))) | |
478 | (build-system qt-build-system) | |
479 | (native-inputs | |
480 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
481 | (inputs | |
482 | `(("kcodecs" ,kcodecs) | |
483 | ("kmime" ,kmime) | |
484 | ("qtbase" ,qtbase))) | |
485 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") | |
486 | (synopsis "Library for handling mbox mailboxes") | |
487 | (description "A library for accessing mail storages in MBox format.") | |
488 | (license license:lgpl2.0+ ))) | |
489 | ||
7cfb118c HG |
490 | (define-public kmime |
491 | (package | |
492 | (name "kmime") | |
493 | (version "19.08.3") | |
494 | (source | |
495 | (origin | |
496 | (method url-fetch) | |
497 | (uri (string-append "mirror://kde/stable/applications/" version | |
498 | "/src/kmime-" version ".tar.xz")) | |
499 | (sha256 | |
500 | (base32 "1pc00pwwrngsyr7ppvqwfgvcgy2wiqdbqxhv9xidn4dw9way2ng6")))) | |
501 | (build-system qt-build-system) | |
502 | (native-inputs | |
503 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
504 | (inputs | |
505 | `(("kcodecs" ,kcodecs) | |
506 | ("ki18n" ,ki18n) | |
507 | ("qtbase" ,qtbase))) | |
508 | (arguments | |
509 | `(#:phases | |
510 | (modify-phases %standard-phases | |
511 | (add-after 'unpack 'fix-test-case | |
512 | (lambda _ | |
513 | ;; This is curious: autotests/CMakeLists.txt sets LC_TIME=C, but | |
514 | ;; the Qt locale returns different. See kmime commit 3a9651d26a. | |
515 | (substitute* "autotests/dateformattertest.cpp" | |
516 | (("(Today|Yesterday) 12:34:56" line day) | |
517 | (string-append day " 12:34 PM"))) | |
518 | #t))))) | |
519 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") | |
520 | (synopsis "Library for handling MIME data") | |
521 | (description "A library for MIME handling.") | |
522 | (license license:lgpl2.0+))) | |
8c71fd43 HG |
523 | |
524 | (define-public kpimtextedit | |
525 | (package | |
526 | (name "kpimtextedit") | |
527 | (version "19.08.3") | |
528 | (source | |
529 | (origin | |
530 | (method url-fetch) | |
531 | (uri (string-append "mirror://kde/stable/applications/" version | |
532 | "/src/kpimtextedit-" version ".tar.xz")) | |
533 | (sha256 | |
534 | (base32 "1as48j5qfpj9pqjck1615nlpk4a850m7xxcyl41gx8biww027zvm")))) | |
535 | (build-system qt-build-system) | |
536 | (native-inputs | |
537 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
538 | ("qttools" ,qttools))) | |
539 | (inputs | |
540 | `(("grantlee" ,grantlee) | |
541 | ("kcodecs" ,kcodecs) | |
542 | ("kconfigwidgets" ,kconfigwidgets) | |
543 | ("kcoreaddons" ,kcoreaddons) | |
544 | ("kdesignerplugin" ,kdesignerplugin) | |
545 | ("kemoticons" ,kemoticons) | |
546 | ("ki18n" ,ki18n) | |
547 | ("kiconthemes" ,kiconthemes) | |
548 | ("kio" ,kio) | |
549 | ("ksyntaxhighlighting" ,ksyntaxhighlighting) | |
550 | ("ktextwidgets" ,ktextwidgets) | |
551 | ("kwidgetsaddons" ,kwidgetsaddons) | |
552 | ("kxmlgui" ,kxmlgui) | |
553 | ("qtbase" ,qtbase) | |
554 | ("qtspeech", qtspeech) | |
555 | ("sonnet" ,sonnet))) | |
556 | (arguments | |
557 | `(#:tests? #f)) ;; TODO - test suite hangs | |
558 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/") | |
559 | (synopsis "Library providing a textedit with PIM-specific features") | |
560 | (description "A library for PIM-specific text editing utilities.") | |
561 | (license ;; GPL for programs, LGPL for libraries, FDL for documentation | |
562 | (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+)))) | |
ff6adc0a HG |
563 | |
564 | (define-public ktnef | |
565 | (package | |
566 | (name "ktnef") | |
567 | (version "19.08.3") | |
568 | (source | |
569 | (origin | |
570 | (method url-fetch) | |
571 | (uri (string-append "mirror://kde/stable/applications/" version | |
572 | "/src/ktnef-" version ".tar.xz")) | |
573 | (sha256 | |
574 | (base32 "0kgfhh46130hg1xq8km5gjzxa3b620j1zdrg54qivxa782smgbl6")))) | |
575 | (build-system qt-build-system) | |
576 | (native-inputs | |
577 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
578 | (inputs | |
579 | `(("kcalendarcore" ,kcalendarcore) | |
580 | ("kcalutils" ,kcalutils) | |
581 | ("kcodecs" ,kcodecs) | |
582 | ("kconfig" ,kconfig) | |
583 | ("kcontacts" ,kcontacts) | |
584 | ("kcoreaddons" ,kcoreaddons) | |
585 | ("ki18n" ,ki18n) | |
586 | ("qtbase" ,qtbase))) | |
587 | (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/ktnef/html/") | |
588 | (synopsis "Viewer for mail attachments using TNEF format") | |
589 | (description "Viewer for mail attachments using TNEF format") | |
590 | (license license:lgpl2.0+))) |