tests: hackage: Fix mock urls.
[jackhill/guix/guix.git] / gnu / packages / kde-frameworks.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
4 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
5 ;;; Copyright © 2016 David Craven <david@craven.ch>
6 ;;;
7 ;;; This file is part of GNU Guix.
8 ;;;
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
13 ;;;
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
18 ;;;
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21
22 (define-module (gnu packages kde-frameworks)
23 #:use-module (guix build-system cmake)
24 #:use-module (guix download)
25 #:use-module ((guix licenses) #:prefix license:)
26 #:use-module (guix packages)
27 #:use-module (guix utils)
28 #:use-module (gnu packages acl)
29 #:use-module (gnu packages admin)
30 #:use-module (gnu packages attr)
31 #:use-module (gnu packages boost)
32 #:use-module (gnu packages bison)
33 #:use-module (gnu packages boost)
34 #:use-module (gnu packages compression)
35 #:use-module (gnu packages databases)
36 #:use-module (gnu packages disk)
37 #:use-module (gnu packages docbook)
38 #:use-module (gnu packages freedesktop)
39 #:use-module (gnu packages gettext)
40 #:use-module (gnu packages glib)
41 #:use-module (gnu packages gnome)
42 #:use-module (gnu packages gnupg)
43 #:use-module (gnu packages linux)
44 #:use-module (gnu packages perl)
45 #:use-module (gnu packages pkg-config)
46 #:use-module (gnu packages polkit)
47 #:use-module (gnu packages python)
48 #:use-module (gnu packages qt)
49 #:use-module (gnu packages version-control)
50 #:use-module (gnu packages web)
51 #:use-module (gnu packages xml)
52 #:use-module (gnu packages xorg))
53
54 (define-public extra-cmake-modules
55 (package
56 (name "extra-cmake-modules")
57 (version "5.24.0")
58 (source
59 (origin
60 (method url-fetch)
61 (uri (string-append "mirror://kde/stable/frameworks/"
62 (version-major+minor version) "/"
63 name "-" version ".tar.xz"))
64 (sha256
65 (base32
66 "01m12ml529pwr2sal951r5z6yb1rwbpid1y4k14nlk3xqgmdakwa"))))
67 (build-system cmake-build-system)
68 (native-inputs
69 `(("qtbase" ,qtbase))) ; For tests (needs qmake)
70 (arguments
71 `(#:phases
72 (modify-phases %standard-phases
73 ;; install and check phase are swapped to prevent install from failing
74 ;; after testsuire has run
75 (add-after 'install 'check-post-install
76 (assoc-ref %standard-phases 'check))
77 (delete 'check))))
78 ;; optional dependencies - to save space, we do not add these inputs.
79 ;; Sphinx > 1.2:
80 ;; Required to build Extra CMake Modules documentation in Qt Help format.
81 ;; Qt5LinguistTools , Qt5 linguist tools. , <http://www.qt.io/>
82 ;; Required to run tests for the ECMPoQmTools module.
83 ;; Qt5Core
84 ;; Required to run tests for the ECMQtDeclareLoggingCategory module,
85 ;; and for some tests of the KDEInstallDirs module.
86 (home-page "https://community.kde.org/Frameworks")
87 (synopsis "CMake module files for common software used by KDE")
88 (description "The Extra CMake Modules package, or ECM, adds to the
89 modules provided by CMake to find common software. In addition, it provides
90 common build settings used in software produced by the KDE community.")
91 (license license:bsd-3)))
92
93 (define-public phonon
94 (package
95 (name "phonon")
96 (version "4.9.0")
97 (source
98 (origin
99 (method url-fetch)
100 (uri (string-append "mirror://kde/stable/phonon"
101 "/" version "/"
102 name "-" version ".tar.xz"))
103 (sha256
104 (base32
105 "1q5hvsk4sfcb91625wcmldy7kgjmfpmpmkgzi6mxkqdd307v8x5v"))))
106 (build-system cmake-build-system)
107 (native-inputs
108 `(("extra-cmake-modules" ,extra-cmake-modules)))
109 (inputs
110 `(("qtbase" ,qtbase)))
111 (arguments
112 `(#:configure-flags
113 '("-DCMAKE_CXX_FLAGS=-fPIC"
114 "-DPHONON_BUILD_PHONON4QT5=ON")))
115 (home-page "https://phonon.kde.org")
116 (synopsis "KDE's multimedia library")
117 (description "KDE's multimedia library.")
118 (license license:lgpl2.1+)))
119
120 (define-public gpgmepp
121 (package
122 (name "gpgmepp")
123 (version "16.04.3")
124 (source
125 (origin
126 (method url-fetch)
127 (uri (string-append "mirror://kde/stable/applications"
128 "/" version "/src/"
129 name "-" version ".tar.xz"))
130 (sha256
131 (base32
132 "1850pdysi7c1w0nxnhcbrhnkrfqyrcl0laxyjcw1g1ln764pwcmj"))))
133 (build-system cmake-build-system)
134 (native-inputs
135 `(("extra-cmake-modules" ,extra-cmake-modules)))
136 (propagated-inputs
137 `(("boost" ,boost)
138 ("gpgme" ,gpgme)))
139 (inputs
140 `(("qtbase" ,qtbase)))
141 (home-page "https://community.kde.org/Frameworks")
142 (synopsis "C++ bindings/wrapper for gpgme")
143 (description "C++ bindings/wrapper for gpgme.")
144 (license license:lgpl2.1+)))
145
146 (define-public kpmcore
147 (package
148 (name "kpmcore")
149 (version "2.2.1")
150 (source
151 (origin
152 (method url-fetch)
153 (uri (string-append "mirror://kde/stable/kpmcore"
154 "/" version "/src/"
155 name "-" version ".tar.xz"))
156 (sha256
157 (base32
158 "1blila6ncqbmzhycx3szrbkxc000pzh62956mw5ihxvhrqpncg2p"))))
159 (build-system cmake-build-system)
160 (native-inputs
161 `(("extra-cmake-modules" ,extra-cmake-modules)
162 ("pkg-config" ,pkg-config)))
163 (inputs
164 `(("kconfigwidgets" ,kconfigwidgets)
165 ("kiconthemes" ,kiconthemes)
166 ("kio" ,kio)
167 ("ki18n" ,ki18n)
168 ("kservice" ,kservice)
169 ("libatasmart" ,libatasmart)
170 ("parted" ,parted)
171 ("qtbase" ,qtbase)
172 ("util-linux" ,util-linux)))
173 (home-page "https://community.kde.org/Frameworks")
174 (synopsis "Library for managing partitions")
175 (description "Library for managing partitions.")
176 (license license:gpl3+)))
177
178
179 ;; Tier 1
180 ;;
181 ;; Tier 1 frameworks depend only on Qt (and possibly a small number of other
182 ;; third-party libraries), so can easily be used by an Qt-based project.
183
184 (define-public attica
185 (package
186 (name "attica")
187 (version "5.24.0")
188 (source
189 (origin
190 (method url-fetch)
191 (uri (string-append "mirror://kde/stable/frameworks/"
192 (version-major+minor version) "/"
193 name "-" version ".tar.xz"))
194 (sha256
195 (base32
196 "0d368gmds7m7k5pnn625wqsij38cvxk1gkm4zv24phnk9f67v7cw"))))
197 (build-system cmake-build-system)
198 (native-inputs
199 `(("extra-cmake-modules" ,extra-cmake-modules)))
200 (inputs
201 `(("qtbase" ,qtbase)))
202 (home-page "https://community.kde.org/Frameworks")
203 (synopsis "Open Collaboration Service client library")
204 (description "Attica is a Qt library that implements the Open
205 Collaboration Services API version 1.6.
206
207 It grants easy access to the services such as querying information about
208 persons and contents. The library is used in KNewStuff3 as content provider.
209 In order to integrate with KDE's Plasma Desktop, a platform plugin exists in
210 kdebase.
211
212 The REST API is defined here:
213 http://freedesktop.org/wiki/Specifications/open-collaboration-services/")
214 (license (list license:lgpl2.1+ license:lgpl3+))))
215
216 (define-public bluez-qt
217 (package
218 (name "bluez-qt")
219 (version "5.24.0")
220 (source
221 (origin
222 (method url-fetch)
223 (uri (string-append "mirror://kde/stable/frameworks/"
224 (version-major+minor version) "/"
225 name "-" version ".tar.xz"))
226 (sha256
227 (base32
228 "0gy0m7lcwwklf021l5i3v7j0cl7qz7cgvzrwpj87ix3kyw5xs80z"))))
229 (build-system cmake-build-system)
230 (native-inputs
231 `(("dbus" ,dbus)
232 ("extra-cmake-modules" ,extra-cmake-modules)))
233 (inputs
234 `(("qtbase" ,qtbase)))
235 (arguments
236 `(#:configure-flags
237 '("-DINSTALL_UDEV_RULE:BOOL=OFF")
238 #:phases
239 (modify-phases %standard-phases
240 (replace 'check
241 (lambda* _
242 (setenv "DBUS_FATAL_WARNINGS" "0")
243 (zero? (system* "dbus-launch" "ctest" ".")))))))
244 (home-page "https://community.kde.org/Frameworks")
245 (synopsis "QML wrapper for BlueZ")
246 (description "bluez-qt is a Qt-style library for accessing the bluez
247 Bluetooth stack. It is used by the KDE Bluetooth stack, BlueDevil.")
248 (license (list license:lgpl2.1+ license:lgpl3+))))
249
250 (define-public breeze-icons
251 (package
252 (name "breeze-icons")
253 (version "5.24.0")
254 (source
255 (origin
256 (method url-fetch)
257 (uri (string-append "mirror://kde/stable/frameworks/"
258 (version-major+minor version) "/"
259 name "-" version ".tar.xz"))
260 (sha256
261 (base32
262 "1dh7bijx99sdb3vn6394wmm5cq0fvvmz8h17sx4hakmbga849cx2"))))
263 (build-system cmake-build-system)
264 (native-inputs
265 `(("extra-cmake-modules" ,extra-cmake-modules)))
266 (inputs
267 `(("qtbase" ,qtbase)))
268 (home-page "https://community.kde.org/Frameworks")
269 (synopsis "Default KDE Plasma 5 icon theme")
270 (description "Breeze provides a freedesktop.org compatible icon theme.
271 It is the default icon theme for the KDE Plasma 5 desktop.")
272 ;; The license file mentions lgpl3+. The license files in the source
273 ;; directories are lgpl3, while the top directory contains the lgpl2.1.
274 ;; text.
275 (license license:lgpl3+)))
276
277 (define-public kapidox
278 (package
279 (name "kapidox")
280 (version "5.24.0")
281 (source
282 (origin
283 (method url-fetch)
284 (uri (string-append "mirror://kde/stable/frameworks/"
285 (version-major+minor version) "/"
286 name "-" version ".tar.xz"))
287 (sha256
288 (base32
289 "19a7alvn71nxflsyi7y3hghx1iw04qqc77qy54mcxcpkiyvpsggf"))))
290 (build-system cmake-build-system)
291 (arguments
292 `(#:tests? #f)) ; has no test target
293 (native-inputs
294 `(("extra-cmake-modules" ,extra-cmake-modules)))
295 (propagated-inputs
296 ;; kapidox is a python programm
297 ;; TODO: check if doxygen has to be installed, the readme does not
298 ;; mention it. The openSuse .rpm lists doxygen, graphviz, graphviz-gd,
299 ;; and python-xml.
300 `(("python" ,python)
301 ("python-jinja2" ,python-jinja2)
302 ("python-pyyaml" ,python-pyyaml)))
303 (inputs
304 `(("qtbase" ,qtbase)))
305 (home-page "https://community.kde.org/Frameworks")
306 (synopsis "KDE Doxygen Tools")
307
308 (description "This framework contains scripts and data for building API
309 documentation (dox) in a standard format and style for KDE.
310
311 For the actual documentation extraction and formatting the Doxygen tool is
312 used, but this framework provides a wrapper script to make generating the
313 documentation more convenient (including reading settings from the target
314 framework or other module) and a standard template for the generated
315 documentation.")
316 ;; Most parts are bsd-2, but incuded jquery is expat
317 ;; This list is taken from http://packaging.neon.kde.org/cgit/
318 (license (list license:bsd-2 license:expat))))
319
320 (define-public karchive
321 (package
322 (name "karchive")
323 (version "5.24.0")
324 (source
325 (origin
326 (method url-fetch)
327 (uri (string-append "mirror://kde/stable/frameworks/"
328 (version-major+minor version) "/"
329 name "-" version ".tar.xz"))
330 (sha256
331 (base32
332 "1n5nfhrfvqnrdjgjjy7arqik4fya5bp3dvxa16mlhqr19azkavzq"))))
333 (build-system cmake-build-system)
334 (native-inputs
335 `(("extra-cmake-modules" ,extra-cmake-modules)))
336 (inputs
337 `(("bzip2" ,bzip2)
338 ("qtbase" ,qtbase)
339 ("xz" ,xz)
340 ("zlib" ,zlib)))
341 (home-page "https://community.kde.org/Frameworks")
342 (synopsis "Qt 5 addon providing access to numerous types of archives")
343 (description "KArchive provides classes for easy reading, creation and
344 manipulation of 'archive' formats like ZIP and TAR.
345
346 It also provides transparent compression and decompression of data, like the
347 GZip format, via a subclass of QIODevice.")
348 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
349 ;; under a variety of licenses.
350 ;; This list is taken from http://packaging.neon.kde.org/cgit/
351 (license (list license:lgpl2.1 license:lgpl2.1+
352 license:lgpl3+ license:bsd-2))))
353
354 (define-public kcodecs
355 (package
356 (name "kcodecs")
357 (version "5.24.0")
358 (source
359 (origin
360 (method url-fetch)
361 (uri (string-append "mirror://kde/stable/frameworks/"
362 (version-major+minor version) "/"
363 name "-" version ".tar.xz"))
364 (sha256
365 (base32
366 "1qpzjh3qc2zz80j2bmlinipbispms14k9bmqw8v61zhi6in9z14c"))))
367 (build-system cmake-build-system)
368 (native-inputs
369 `(("extra-cmake-modules" ,extra-cmake-modules)
370 ("qttools" ,qttools)))
371 (inputs
372 `(("qtbase" ,qtbase)))
373 (home-page "https://community.kde.org/Frameworks")
374 (synopsis "String encoding and manipulating library")
375 (description "KCodecs provide a collection of methods to manipulate
376 strings using various encodings.
377
378 It can automatically determine the charset of a string, translate XML
379 entities, validate email addresses, and find encodings by name in a more
380 tolerant way than QTextCodec (useful e.g. for data coming from the
381 Internet).")
382 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
383 ;; under a variety of licenses.
384 ;; This list is taken from http://packaging.neon.kde.org/cgit/
385 (license (list license:gpl2 license:gpl2+ license:bsd-2
386 license:lgpl2.1 license:lgpl2.1+ license:expat
387 license:lgpl3+ license:mpl1.1))))
388
389 (define-public kconfig
390 (package
391 (name "kconfig")
392 (version "5.24.0")
393 (source
394 (origin
395 (method url-fetch)
396 (uri (string-append "mirror://kde/stable/frameworks/"
397 (version-major+minor version) "/"
398 name "-" version ".tar.xz"))
399 (sha256
400 (base32
401 "1dc2i6icyigw1j6qxgdza6j2g8afh390qmxsa2a54mwl84fkfmxv"))))
402 (build-system cmake-build-system)
403 (native-inputs
404 `(("extra-cmake-modules" ,extra-cmake-modules)
405 ("inetutils" ,inetutils)
406 ("qttools" ,qttools)
407 ("xorg-server" ,xorg-server)))
408 (inputs
409 `(("qtbase" ,qtbase)))
410 (arguments
411 `(#:phases
412 (modify-phases %standard-phases
413 (add-before 'check 'check-setup
414 (lambda* _
415 (setenv "HOME" (getcwd))
416 (setenv "TMPDIR" (getcwd))
417 #t))
418 (add-before 'check 'start-xorg-server
419 (lambda* (#:key inputs #:allow-other-keys)
420 ;; The test suite requires a running X server.
421 (system (string-append (assoc-ref inputs "xorg-server")
422 "/bin/Xvfb :1 &"))
423 (setenv "DISPLAY" ":1")
424 #t)))))
425 (home-page "https://community.kde.org/Frameworks")
426 (synopsis "Kconfiguration settings framework for Qt")
427 (description "KConfig provides an advanced configuration system.
428 It is made of two parts: KConfigCore and KConfigGui.
429
430 KConfigCore provides access to the configuration files themselves.
431 It features:
432
433 @enumerate
434 @item Code generation: describe your configuration in an XML file, and use
435 `kconfig_compiler to generate classes that read and write configuration
436 entries.
437
438 @item Cascading configuration files (global settings overridden by local
439 settings).
440
441 @item Optional shell expansion support (see docs/options.md).
442
443 @item The ability to lock down configuration options (see docs/options.md).
444 @end enumerate
445
446 KConfigGui provides a way to hook widgets to the configuration so that they
447 are automatically initialized from the configuration and automatically
448 propagate their changes to their respective configuration files.")
449 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
450 ;; under a variety of licenses.
451 ;; This list is taken from http://packaging.neon.kde.org/cgit/
452 (license (list license:lgpl2.1 license:lgpl2.1+ license:expat
453 license:lgpl3+ license:gpl1 ; licende:mit-olif
454 license:bsd-2 license:bsd-3))))
455
456 (define-public kcoreaddons
457 (package
458 (name "kcoreaddons")
459 (version "5.24.0")
460 (source
461 (origin
462 (method url-fetch)
463 (uri (string-append "mirror://kde/stable/frameworks/"
464 (version-major+minor version) "/"
465 name "-" version ".tar.xz"))
466 (sha256
467 (base32
468 "06sx7by3nvaridnavj5p0bxv4nh47n708jlacfw8ydaikmd9i03h"))))
469 (build-system cmake-build-system)
470 (native-inputs
471 `(("extra-cmake-modules" ,extra-cmake-modules)
472 ("qttools" ,qttools)
473 ("xorg-server" ,xorg-server))) ; for the tests
474 (inputs
475 `(("qtbase" ,qtbase)))
476 (arguments
477 `(#:tests? #f ; FIXME: Test failure caused by stout/stderr being interleaved.
478 #:phases
479 (modify-phases %standard-phases
480 (add-before 'check 'check-setup
481 (lambda* _
482 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output
483 (setenv "HOME" (getcwd))
484 (setenv "TMPDIR" (getcwd)))))))
485 (home-page "https://community.kde.org/Frameworks")
486 (synopsis "Qt addon library with a collection of non-GUI utilities")
487 (description "KCoreAddons provides classes built on top of QtCore to
488 perform various tasks such as manipulating mime types, autosaving files,
489 creating backup files, generating random sequences, performing text
490 manipulations such as macro replacement, accessing user information and
491 many more.")
492 (license (list license:lgpl2.0+ license:lgpl2.1+))))
493
494 (define-public kdbusaddons
495 (package
496 (name "kdbusaddons")
497 (version "5.24.0")
498 (source
499 (origin
500 (method url-fetch)
501 (uri (string-append "mirror://kde/stable/frameworks/"
502 (version-major+minor version) "/"
503 name "-" version ".tar.xz"))
504 (sha256
505 (base32
506 "183nxqrhz4qk4qfp1w4an0scp2dvfqcaqbpg4cgbgk0z590q0pkk"))))
507 (build-system cmake-build-system)
508 (native-inputs
509 `(("extra-cmake-modules" ,extra-cmake-modules)
510 ("dbus" ,dbus)
511 ("qttools" ,qttools)))
512 (inputs
513 `(("qtbase" ,qtbase)
514 ("qtx11extras" ,qtx11extras)))
515 (arguments
516 `(#:phases
517 (modify-phases %standard-phases
518 (replace 'check
519 (lambda* _
520 (setenv "DBUS_FATAL_WARNINGS" "0")
521 (zero? (system* "dbus-launch" "ctest" ".")))))))
522 (home-page "https://community.kde.org/Frameworks")
523 (synopsis "Convenience classes for DBus")
524 (description "KDBusAddons provides convenience classes on top of QtDBus,
525 as well as an API to create KDED modules.")
526 ;; Some source files mention lgpl2.0+, but the included license is
527 ;; the lgpl2.1. Some source files are under non-copyleft licenses.
528 (license license:lgpl2.1+)))
529
530 (define-public kdnssd
531 (package
532 (name "kdnssd")
533 (version "5.24.0")
534 (source
535 (origin
536 (method url-fetch)
537 (uri (string-append "mirror://kde/stable/frameworks/"
538 (version-major+minor version) "/"
539 name "-" version ".tar.xz"))
540 (sha256
541 (base32
542 "01b650g031apxc3vd2m91g2fxqk9l8ap67z6rafniphfwy8i0d5m"))))
543 (build-system cmake-build-system)
544 (native-inputs
545 `(("extra-cmake-modules" ,extra-cmake-modules)
546 ("qttools" ,qttools)))
547 (inputs
548 `(("qtbase" ,qtbase)))
549 (home-page "https://community.kde.org/Frameworks")
550 (synopsis "Network service discovery using Zeroconf")
551 (description "KDNSSD is a library for handling the DNS-based Service
552 Discovery Protocol (DNS-SD), the layer of Zeroconf that allows network services,
553 such as printers, to be discovered without any user intervention or centralized
554 infrastructure.")
555 (license license:lgpl2.1+)))
556
557 (define-public kguiaddons
558 (package
559 (name "kguiaddons")
560 (version "5.24.0")
561 (source
562 (origin
563 (method url-fetch)
564 (uri (string-append "mirror://kde/stable/frameworks/"
565 (version-major+minor version) "/"
566 name "-" version ".tar.xz"))
567 (sha256
568 (base32
569 "0ig96ah20ybg5rwpswj9va2klvkh2q4amwxmgy3z4niwfsm2g3ic"))))
570 (build-system cmake-build-system)
571 (native-inputs
572 `(("extra-cmake-modules" ,extra-cmake-modules)
573 ("xorg-server" ,xorg-server)))
574 (inputs
575 `(("qtbase" ,qtbase)))
576 (arguments
577 `(#:phases
578 (modify-phases %standard-phases
579 (add-before 'check 'check-setup
580 (lambda* _
581 (setenv "QT_QPA_PLATFORM" "offscreen")
582 #t)))))
583 (home-page "https://community.kde.org/Frameworks")
584 (synopsis "Utilities for graphical user interfaces")
585 (description "The KDE GUI addons provide utilities for graphical user
586 interfaces in the areas of colors, fonts, text, images, keyboard input.")
587 (license (list license:gpl2+ license:lgpl2.1+))))
588
589 (define-public ki18n
590 (package
591 (name "ki18n")
592 (version "5.24.0")
593 (source
594 (origin
595 (method url-fetch)
596 (uri (string-append "mirror://kde/stable/frameworks/"
597 (version-major+minor version) "/"
598 name "-" version ".tar.xz"))
599 (sha256
600 (base32
601 "0cw24spmwsqa3ppkw03cm6yjd3sfll0dbbk2ya76fd4nw9hb00dv"))))
602 (build-system cmake-build-system)
603 (propagated-inputs
604 `(("gettext" ,gnu-gettext)
605 ("python" ,python)))
606 (native-inputs
607 `(("extra-cmake-modules" ,extra-cmake-modules)))
608 (inputs
609 `(("qtbase" ,qtbase)
610 ("qtdeclarative" ,qtdeclarative)
611 ("qtscript" ,qtscript)))
612 (arguments
613 `(#:phases
614 (modify-phases %standard-phases
615 (add-before 'check 'check-setup
616 (lambda* _
617 (setenv "HOME" (getcwd)))))))
618 (home-page "https://community.kde.org/Frameworks")
619 (synopsis "KDE Gettext-based UI text internationalization")
620 (description "KI18n provides functionality for internationalizing user
621 interface text in applications, based on the GNU Gettext translation system. It
622 wraps the standard Gettext functionality, so that the programmers and translators
623 can use the familiar Gettext tools and workflows.
624
625 KI18n provides additional functionality as well, for both programmers and
626 translators, which can help to achieve a higher overall quality of source and
627 translated text. This includes argument capturing, customizable markup, and
628 translation scripting.")
629 (license license:lgpl2.1+)))
630
631 (define-public kidletime
632 (package
633 (name "kidletime")
634 (version "5.24.0")
635 (source
636 (origin
637 (method url-fetch)
638 (uri (string-append "mirror://kde/stable/frameworks/"
639 (version-major+minor version) "/"
640 name "-" version ".tar.xz"))
641 (sha256
642 (base32
643 "09jsj0pj27h93nr8v46savs6b93h8frydinfr7wlijkvpsl02jb4"))))
644 (build-system cmake-build-system)
645 (native-inputs
646 `(("extra-cmake-modules" ,extra-cmake-modules)))
647 (inputs
648 `(("qtbase" ,qtbase)
649 ("qtx11extras" ,qtx11extras)))
650 (home-page "https://community.kde.org/Frameworks")
651 (synopsis "Reporting of idle time of user and system")
652 (description "KIdleTime is a singleton reporting information on idle time.
653 It is useful not only for finding out about the current idle time of the PC,
654 but also for getting notified upon idle time events, such as custom timeouts,
655 or user activity.")
656 (license (list license:gpl2+ license:lgpl2.1+))))
657
658 (define-public kitemmodels
659 (package
660 (name "kitemmodels")
661 (version "5.24.0")
662 (source
663 (origin
664 (method url-fetch)
665 (uri (string-append "mirror://kde/stable/frameworks/"
666 (version-major+minor version) "/"
667 name "-" version ".tar.xz"))
668 (sha256
669 (base32
670 "1s1p4nw1pqdzbdwvjnka17p9avf00wadr437p4f96md1lvh3sh69"))))
671 (build-system cmake-build-system)
672 (native-inputs
673 `(("extra-cmake-modules" ,extra-cmake-modules)
674 ("xorg-server" ,xorg-server)))
675 (inputs
676 `(("qtbase" ,qtbase)))
677 (arguments
678 `(#:phases
679 (modify-phases %standard-phases
680 (add-before 'check 'start-xorg-server
681 (lambda* (#:key inputs #:allow-other-keys)
682 ;; The test suite requires a running X server.
683 (system (string-append (assoc-ref inputs "xorg-server")
684 "/bin/Xvfb :1 &"))
685 (setenv "DISPLAY" ":1")
686 #t)))))
687 (home-page "https://community.kde.org/Frameworks")
688 (synopsis "Set of item models extending the Qt model-view framework")
689 (description "KItemModels provides the following models:
690
691 @enumerate
692 @item KBreadcrumbSelectionModel - Selects the parents of selected items to
693 create breadcrumbs.
694
695 @item KCheckableProxyModel - Adds a checkable capability to a source model.
696
697 @item KConcatenateRowsProxyModel - Concatenates rows from multiple source models.
698
699 @item KDescendantsProxyModel - Proxy Model for restructuring a Tree into a list.
700
701 @item KExtraColumnsProxyModel - Adds columns after existing columns.
702
703 @item KLinkItemSelectionModel - Share a selection in multiple views which do
704 not have the same source model.
705
706 @item KModelIndexProxyMapper - Mapping of indexes and selections through proxy
707 models.
708
709 @item KRearrangeColumnsProxyModel - Can reorder and hide columns from the source
710 model.
711
712 @item KRecursiveFilterProxyModel - Recursive filtering of models.
713
714 @item KSelectionProxyModel - A Proxy Model which presents a subset of its source
715 model to observers
716 @end enumerate")
717 (license license:lgpl2.1+)))
718
719 (define-public kitemviews
720 (package
721 (name "kitemviews")
722 (version "5.24.0")
723 (source
724 (origin
725 (method url-fetch)
726 (uri (string-append "mirror://kde/stable/frameworks/"
727 (version-major+minor version) "/"
728 name "-" version ".tar.xz"))
729 (sha256
730 (base32
731 "0y3fx9hk1x27arrmwfzq783a44cs7p8dpmhxrwzh0di4mwa8jafw"))))
732 (build-system cmake-build-system)
733 (native-inputs
734 `(("extra-cmake-modules" ,extra-cmake-modules)
735 ("qttools" ,qttools)
736 ("xorg-server" ,xorg-server)))
737 (inputs
738 `(("qtbase" ,qtbase)))
739 (arguments
740 `(#:phases
741 (modify-phases %standard-phases
742 (add-before 'check 'check-setup
743 (lambda* _
744 (setenv "DBUS_FATAL_WARNINGS" "0")))
745 (add-before 'check 'start-xorg-server
746 (lambda* (#:key inputs #:allow-other-keys)
747 ;; The test suite requires a running X server.
748 (system (string-append (assoc-ref inputs "xorg-server")
749 "/bin/Xvfb :1 &"))
750 (setenv "DISPLAY" ":1")
751 #t)))))
752 (home-page "https://community.kde.org/Frameworks")
753 (synopsis "Set of item views extending the Qt model-view framework")
754 (description "KItemViews includes a set of views, which can be used with
755 item models. It includes views for categorizing lists and to add search filters
756 to flat and hierarchical lists.")
757 (license (list license:gpl2+ license:lgpl2.1+))))
758
759 (define-public kplotting
760 (package
761 (name "kplotting")
762 (version "5.24.0")
763 (source
764 (origin
765 (method url-fetch)
766 (uri (string-append "mirror://kde/stable/frameworks/"
767 (version-major+minor version) "/"
768 name "-" version ".tar.xz"))
769 (sha256
770 (base32
771 "0gpypq9kh4b5s6dc7py3m117k3nbxczsfkxgxd9zxvr35kig7ya2"))))
772 (build-system cmake-build-system)
773 (native-inputs
774 `(("extra-cmake-modules" ,extra-cmake-modules)
775 ("xorg-server" ,xorg-server)))
776 (inputs
777 `(("qtbase" ,qtbase)))
778 (arguments
779 `(#:phases
780 (modify-phases %standard-phases
781 (add-before 'check 'start-xorg-server
782 (lambda* (#:key inputs #:allow-other-keys)
783 ;; The test suite requires a running X server.
784 (system (string-append (assoc-ref inputs "xorg-server")
785 "/bin/Xvfb :1 &"))
786 (setenv "DISPLAY" ":1")
787 #t)))))
788 (home-page "https://community.kde.org/Frameworks")
789 (synopsis "Data plotting library")
790 (description "KPlotWidget is a QWidget-derived class that provides a virtual
791 base class for easy data-plotting. The idea behind KPlotWidget is that you only
792 have to specify information in \"data units\", the natural units of the
793 data being plotted. KPlotWidget automatically converts everything to screen
794 pixel units.")
795 (license license:lgpl2.1+)))
796
797 (define-public kwayland
798 (package
799 (name "kwayland")
800 (version "5.24.0")
801 (source
802 (origin
803 (method url-fetch)
804 (uri (string-append "mirror://kde/stable/frameworks/"
805 (version-major+minor version) "/"
806 name "-" version ".tar.xz"))
807 (sha256
808 (base32
809 "1h5anbqrxcl1s8kx1l53vcsfr8ifamcjqd47dk8a7lwr1ga6myq2"))))
810 (build-system cmake-build-system)
811 (native-inputs
812 `(("extra-cmake-modules" ,extra-cmake-modules)
813 ("pkg-config" ,pkg-config)))
814 (inputs
815 `(("qtbase" ,qtbase)
816 ("wayland" ,wayland)))
817 (arguments
818 `(#:tests? #f ; FIXME tests require weston to run
819 ; weston requires wayland flags in mesa
820 #:phases
821 (modify-phases %standard-phases
822 (add-before 'check 'check-setup
823 (lambda* _
824 (setenv "XDG_RUNTIME_DIR" "/tmp"))))))
825 (home-page "https://community.kde.org/Frameworks")
826 (synopsis "Qt-style API to interact with the wayland client and server")
827 (description "As the names suggest they implement a Client respectively a
828 Server API for the Wayland protocol. The API is Qt-styled removing the needs to
829 interact with a for a Qt developer uncomfortable low-level C-API. For example
830 the callback mechanism from the Wayland API is replaced by signals, data types
831 are adjusted to be what a Qt developer expects - two arguments of int are
832 represented by a QPoint or a QSize.")
833 (license license:lgpl2.1+)))
834
835 (define-public kwidgetsaddons
836 (package
837 (name "kwidgetsaddons")
838 (version "5.24.0")
839 (source
840 (origin
841 (method url-fetch)
842 (uri (string-append "mirror://kde/stable/frameworks/"
843 (version-major+minor version) "/"
844 name "-" version ".tar.xz"))
845 (sha256
846 (base32
847 "1kppx0ppfhnb6q6sijs2dffyar86wkkx8miqavsjsgw1l2wiymcx"))))
848 (build-system cmake-build-system)
849 (native-inputs
850 `(("extra-cmake-modules" ,extra-cmake-modules)
851 ("qttools" ,qttools)
852 ("xorg-server" ,xorg-server)))
853 (inputs
854 `(("qtbase" ,qtbase)))
855 (arguments
856 `(#:tests? #f ; FIXME: Regression after update to qt 5.7
857 #:phases
858 (modify-phases %standard-phases
859 (add-before 'check 'check-setup
860 (lambda _
861 (setenv "QT_QPA_PLATFORM" "offscreen") ; a better solution to Xvfb
862 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug info
863 (setenv "DBUS_FATAL_WARNINGS" "0")
864 #t))
865 (add-before 'check 'start-xorg-server
866 (lambda* (#:key inputs #:allow-other-keys)
867 ;; The test suite requires a running X server.
868 ;; Xvfb doesn't have proper glx support and needs a pixeldepth
869 ;; of 24 bit to avoid "libGL error: failed to load driver: swrast"
870 ;; "Could not initialize GLX"
871 (system (string-append (assoc-ref inputs "xorg-server")
872 "/bin/Xvfb :1 -screen 0 640x480x24 &"))
873 (setenv "DISPLAY" ":1")
874 #t)))))
875 (home-page "https://community.kde.org/Frameworks")
876 (synopsis "Large set of desktop widgets")
877 (description "Provided are action classes that can be added to toolbars or
878 menus, a wide range of widgets for selecting characters, fonts, colors, actions,
879 dates and times, or MIME types, as well as platform-aware dialogs for
880 configuration pages, message boxes, and password requests.")
881 (license (list license:gpl2+ license:lgpl2.1+))))
882
883 (define-public kwindowsystem
884 (package
885 (name "kwindowsystem")
886 (version "5.24.0")
887 (source
888 (origin
889 (method url-fetch)
890 (uri (string-append "mirror://kde/stable/frameworks/"
891 (version-major+minor version) "/"
892 name "-" version ".tar.xz"))
893 (sha256
894 (base32
895 "0w5ym8msl80v3q65253pdpj9f1fmb658rnndlbkrgpmm1rv1n6dz"))))
896 (build-system cmake-build-system)
897 (native-inputs
898 `(("extra-cmake-modules" ,extra-cmake-modules)
899 ("pkg-config" ,pkg-config)
900 ("qttools" ,qttools)
901 ("xorg-server" ,xorg-server))) ; for the tests
902 (inputs
903 `(("libxrender" ,libxrender)
904 ("qtbase" ,qtbase)
905 ("qtx11extras" ,qtx11extras)
906 ("xcb-utils-keysyms" ,xcb-util-keysyms)))
907 (arguments
908 `(#:tests? #f)) ; FIXME: 8/10 tests fail.
909 (home-page "https://community.kde.org/Frameworks")
910 (synopsis "KDE access to the windowing system")
911 (description "KWindowSystem provides information about and allows
912 interaction with the windowing system. It provides a high level API, which
913 is windowing system independent and has platform specific
914 implementations. This API is inspired by X11 and thus not all functionality
915 is available on all windowing systems.
916
917 In addition to the high level API, this framework also provides several
918 lower level classes for interaction with the X Windowing System.")
919 ;; Some source files mention lgpl2.0+, but the included license is
920 ;; the lgpl2.1. Some source files are under non-copyleft licenses.
921 (license license:lgpl2.1+)))
922
923 (define-public modemmanager-qt
924 (package
925 (name "modemmanager-qt")
926 (version "5.24.0")
927 (source
928 (origin
929 (method url-fetch)
930 (uri (string-append "mirror://kde/stable/frameworks/"
931 (version-major+minor version) "/"
932 name "-" version ".tar.xz"))
933 (sha256
934 (base32
935 "0khz5bf84xxa8aqpzwb6x839xx6dbiadwqhyj7cvgha65fh2xinh"))))
936 (build-system cmake-build-system)
937 (native-inputs
938 `(("extra-cmake-modules" ,extra-cmake-modules)
939 ("dbus" ,dbus)
940 ("pkg-config" ,pkg-config)))
941 (propagated-inputs
942 ; Headers contain #include <ModemManager/ModemManager.h>
943 `(("modem-manager", modem-manager)))
944 (inputs
945 `(("qtbase" ,qtbase)))
946 (arguments
947 `(#:phases
948 (modify-phases %standard-phases
949 (replace 'check
950 (lambda* _
951 (setenv "DBUS_FATAL_WARNINGS" "0")
952 (zero? (system* "dbus-launch" "ctest" ".")))))))
953 (home-page "https://community.kde.org/Frameworks")
954 (synopsis "Qt wrapper for ModemManager DBus API")
955 (description "ModemManagerQt provides access to all ModemManager features
956 exposed on DBus. It allows you to manage modem devices and access to
957 information available for your modem devices, like signal, location and
958 messages.")
959 (license license:lgpl2.1+)))
960
961 (define-public networkmanager-qt
962 (package
963 (name "networkmanager-qt")
964 (version "5.24.0")
965 (source
966 (origin
967 (method url-fetch)
968 (uri (string-append "mirror://kde/stable/frameworks/"
969 (version-major+minor version) "/"
970 name "-" version ".tar.xz"))
971 (sha256
972 (base32
973 "11wy0ds0hqbba900ggkcxjfqc9n65xlzc3h1zv9433nn5d75v6fy"))))
974 (build-system cmake-build-system)
975 (native-inputs
976 `(("extra-cmake-modules" ,extra-cmake-modules)
977 ("dbus" ,dbus)
978 ("pkg-config" ,pkg-config)))
979 (propagated-inputs
980 ; Headers contain #include <NetworkManager.h> and
981 ; #include <libnm/NetworkManager.h>
982 `(("network-manager" ,network-manager)))
983 (inputs
984 `(("qtbase" ,qtbase)))
985 (arguments
986 `(#:phases
987 (modify-phases %standard-phases
988 (replace 'check
989 (lambda* _
990 (setenv "DBUS_FATAL_WARNINGS" "0")
991 (zero? (system* "dbus-launch" "ctest" ".")))))))
992 (home-page "https://community.kde.org/Frameworks")
993 (synopsis "Qt wrapper for NetworkManager DBus API")
994 (description "NetworkManagerQt provides access to all NetworkManager
995 features exposed on DBus. It allows you to manage your connections and control
996 your network devices and also provides a library for parsing connection settings
997 which are used in DBus communication.")
998 (license license:lgpl2.1+)))
999
1000 (define-public oxygen-icons
1001 (package
1002 (name "oxygen-icons")
1003 (version "5.24.0")
1004 (source
1005 (origin
1006 (method url-fetch)
1007 (uri (string-append "mirror://kde/stable/frameworks/"
1008 (version-major+minor version) "/"
1009 name "5" "-" version ".tar.xz"))
1010 (sha256
1011 (base32
1012 "1c7spjbzk04725vv0ly7vmyvwa96mfa5ki2pm146ld4888a896wm"))))
1013 (build-system cmake-build-system)
1014 (native-inputs
1015 `(("extra-cmake-modules" ,extra-cmake-modules)))
1016 (inputs
1017 `(("qtbase" ,qtbase)))
1018 (home-page "https://community.kde.org/Frameworks")
1019 (synopsis "Oxygen provides the standard icon theme for the KDE desktop")
1020 (description "Oxygen icon theme for the KDE desktop")
1021 (license license:lgpl3+)))
1022
1023 (define-public solid
1024 (package
1025 (name "solid")
1026 (version "5.24.0")
1027 (source
1028 (origin
1029 (method url-fetch)
1030 (uri (string-append "mirror://kde/stable/frameworks/"
1031 (version-major+minor version) "/"
1032 name "-" version ".tar.xz"))
1033 (sha256
1034 (base32
1035 "00wvsxcnvhdx7ijzpcz5wny2ypkxr1drdpr4yvawgpwa678l1107"))))
1036 (build-system cmake-build-system)
1037 (native-inputs
1038 `(("bison" ,bison)
1039 ("extra-cmake-modules" ,extra-cmake-modules)
1040 ("qttools" ,qttools)))
1041 (inputs
1042 `(("qtbase" ,qtbase)
1043 ("udev" ,eudev)))
1044 (home-page "https://community.kde.org/Frameworks")
1045 (synopsis "Desktop hardware abstraction")
1046 (description "Solid is a device integration framework. It provides a way of
1047 querying and interacting with hardware independently of the underlying operating
1048 system.")
1049 (license license:lgpl2.1+)))
1050
1051 (define-public sonnet
1052 (package
1053 (name "sonnet")
1054 (version "5.24.0")
1055 (source
1056 (origin
1057 (method url-fetch)
1058 (uri (string-append "mirror://kde/stable/frameworks/"
1059 (version-major+minor version) "/"
1060 name "-" version ".tar.xz"))
1061 (sha256
1062 (base32
1063 "152xz7fb1iwhb5w1n4xqvc648iaxi0inrl4kavxcsir61das1xyl"))))
1064 (build-system cmake-build-system)
1065 (native-inputs
1066 `(("extra-cmake-modules" ,extra-cmake-modules)
1067 ("qttools" ,qttools)))
1068 (inputs
1069 `(("qtbase" ,qtbase)))
1070 (home-page "https://community.kde.org/Frameworks")
1071 (synopsis "Multi-language spell checker")
1072 (description "Sonnet is a plugin-based spell checking library for Qt-based
1073 applications. It supports several different plugins, including HSpell, Enchant,
1074 ASpell and HUNSPELL.")
1075 (license license:lgpl2.1+)))
1076
1077 (define-public threadweaver
1078 (package
1079 (name "threadweaver")
1080 (version "5.24.0")
1081 (source
1082 (origin
1083 (method url-fetch)
1084 (uri (string-append "mirror://kde/stable/frameworks/"
1085 (version-major+minor version) "/"
1086 name "-" version ".tar.xz"))
1087 (sha256
1088 (base32
1089 "02g60zr9cc4bg1p90giich4n0qvqaiakz0y94qrnyj9f7fg0yksl"))))
1090 (build-system cmake-build-system)
1091 (native-inputs
1092 `(("extra-cmake-modules" ,extra-cmake-modules)))
1093 (inputs
1094 `(("qtbase" ,qtbase)))
1095 (home-page "https://community.kde.org/Frameworks")
1096 (synopsis "Helper for multithreaded programming")
1097 (description "ThreadWeaver is a helper for multithreaded programming. It
1098 uses a job-based interface to queue tasks and execute them in an efficient way.")
1099 (license license:lgpl2.1+)))
1100
1101
1102 ;; Tier 2
1103 ;;
1104 ;; Tier 2 frameworks additionally depend on tier 1 frameworks, but still have
1105 ;; easily manageable dependencies.
1106
1107 (define-public kauth
1108 (package
1109 (name "kauth")
1110 (version "5.24.0")
1111 (source
1112 (origin
1113 (method url-fetch)
1114 (uri (string-append "mirror://kde/stable/frameworks/"
1115 (version-major+minor version) "/"
1116 name "-" version ".tar.xz"))
1117 (sha256
1118 (base32
1119 "14sjjfgl3arqyqcr77w9qhpnd8mrnh53r5rfss6bvlk26bmihs49"))))
1120 (build-system cmake-build-system)
1121 (native-inputs
1122 `(("dbus" ,dbus)
1123 ("extra-cmake-modules" ,extra-cmake-modules)
1124 ("qttools" ,qttools)))
1125 (inputs
1126 `(("kcoreaddons" ,kcoreaddons)
1127 ("polkit-qt" ,polkit-qt)
1128 ("qtbase" ,qtbase)))
1129 (arguments
1130 `(#:phases
1131 (modify-phases %standard-phases
1132 (replace 'check
1133 (lambda* _
1134 (setenv "DBUS_FATAL_WARNINGS" "0")
1135 (zero? (system* "dbus-launch" "ctest" ".")))))))
1136 (home-page "https://community.kde.org/Frameworks")
1137 (synopsis "Execute actions as privileged user")
1138 (description "KAuth provides a convenient, system-integrated way to offload
1139 actions that need to be performed as a privileged user to small set of helper
1140 utilities.")
1141 (license license:lgpl2.1+)))
1142
1143 (define-public kcompletion
1144 (package
1145 (name "kcompletion")
1146 (version "5.24.0")
1147 (source
1148 (origin
1149 (method url-fetch)
1150 (uri (string-append "mirror://kde/stable/frameworks/"
1151 (version-major+minor version) "/"
1152 name "-" version ".tar.xz"))
1153 (sha256
1154 (base32
1155 "1qln0v31gn86kzwhnkijr1ydf129n32jmiybbckrp4w6hyx6xfxv"))))
1156 (build-system cmake-build-system)
1157 (native-inputs
1158 `(("extra-cmake-modules" ,extra-cmake-modules)
1159 ("qttools" ,qttools)
1160 ("xorg-server" ,xorg-server)))
1161 (inputs
1162 `(("kconfig" ,kconfig)
1163 ("kwidgetsaddons" ,kwidgetsaddons)
1164 ("qtbase" ,qtbase)))
1165 (arguments
1166 `(#:phases
1167 (modify-phases %standard-phases
1168 (add-before 'check 'check-setup
1169 (lambda _
1170 (setenv "QT_QPA_PLATFORM" "offscreen")
1171 #t)))))
1172 (home-page "https://community.kde.org/Frameworks")
1173 (synopsis "Powerful autocompletion framework and widgets")
1174 (description "This framework helps implement autocompletion in Qt-based
1175 applications. It provides a set of completion-ready widgets, or can be
1176 integrated it into your application's other widgets.")
1177 (license license:lgpl2.1+)))
1178
1179 (define-public kcrash
1180 (package
1181 (name "kcrash")
1182 (version "5.24.0")
1183 (source
1184 (origin
1185 (method url-fetch)
1186 (uri (string-append "mirror://kde/stable/frameworks/"
1187 (version-major+minor version) "/"
1188 name "-" version ".tar.xz"))
1189 (sha256
1190 (base32
1191 "1lahgfwlp9b5rsl244kzp7rsl4ybv1q4qlvpv0xxz5ygssk48l0w"))))
1192 (build-system cmake-build-system)
1193 (native-inputs
1194 `(("extra-cmake-modules" ,extra-cmake-modules)
1195 ("xorg-server" ,xorg-server)))
1196 (inputs
1197 `(("kcoreaddons" ,kcoreaddons)
1198 ("kwindowsystem" ,kwindowsystem)
1199 ("qtbase" ,qtbase)
1200 ("qtx11extras" ,qtx11extras)))
1201 (arguments
1202 `(#:phases
1203 (modify-phases %standard-phases
1204 (add-before 'check 'start-xorg-server
1205 (lambda* (#:key inputs #:allow-other-keys)
1206 ;; The test suite requires a running X server.
1207 (system (string-append (assoc-ref inputs "xorg-server")
1208 "/bin/Xvfb :1 &"))
1209 (setenv "DISPLAY" ":1")
1210 #t)))))
1211 (home-page "https://community.kde.org/Frameworks")
1212 (synopsis "Graceful handling of application crashes")
1213 (description "KCrash provides support for intercepting and handling
1214 application crashes.")
1215 (license license:lgpl2.1+)))
1216
1217 (define-public kdoctools
1218 (package
1219 (name "kdoctools")
1220 (version "5.24.0")
1221 (source
1222 (origin
1223 (method url-fetch)
1224 (uri (string-append "mirror://kde/stable/frameworks/"
1225 (version-major+minor version) "/"
1226 name "-" version ".tar.xz"))
1227 (sha256
1228 (base32
1229 "1r129kpq0d11b9l87cqbal6fm5ycwhsps1g3r1a7jsxz70scz4ri"))))
1230 (build-system cmake-build-system)
1231 (native-inputs
1232 `(("extra-cmake-modules" ,extra-cmake-modules)))
1233 (inputs
1234 `(("docbook-xml" ,docbook-xml)
1235 ("docbook-xsl" ,docbook-xsl)
1236 ("karchive" ,karchive)
1237 ("ki18n" ,ki18n)
1238 ("libxml2" ,libxml2)
1239 ("libxslt" ,libxslt)
1240 ("perl" ,perl)
1241 ("perl-uri" ,perl-uri)
1242 ("qtbase" ,qtbase)))
1243 (arguments
1244 `(#:phases
1245 (modify-phases %standard-phases
1246 (add-after 'unpack 'cmake-find-docbook
1247 (lambda* (#:key inputs #:allow-other-keys)
1248 (substitute* (find-files "cmake" "\\.cmake$")
1249 (("CMAKE_SYSTEM_PREFIX_PATH")
1250 "CMAKE_PREFIX_PATH"))
1251 (substitute* "cmake/FindDocBookXML4.cmake"
1252 (("^.*xml/docbook/schema/dtd.*$")
1253 "xml/dtd/docbook\n"))
1254 (substitute* "cmake/FindDocBookXSL.cmake"
1255 (("^.*xml/docbook/stylesheet.*$")
1256 (string-append "xml/xsl/docbook-xsl-"
1257 ,(package-version docbook-xsl) "\n"))))))))
1258 (home-page "https://community.kde.org/Frameworks")
1259 (synopsis "Create documentation from DocBook")
1260 (description "Provides tools to generate documentation in various format
1261 from DocBook files.")
1262 (license license:lgpl2.1+)))
1263
1264 (define-public kfilemetadata
1265 (package
1266 (name "kfilemetadata")
1267 (version "5.24.0")
1268 (source
1269 (origin
1270 (method url-fetch)
1271 (uri (string-append "mirror://kde/stable/frameworks/"
1272 (version-major+minor version) "/"
1273 name "-" version ".tar.xz"))
1274 (sha256
1275 (base32
1276 "02n9qhpr0jlwdgdbid0k34abhs3bzhlsa56ybl5dq1aib6izk1sy"))))
1277 (build-system cmake-build-system)
1278 (native-inputs
1279 `(("extra-cmake-modules" ,extra-cmake-modules)
1280 ("python-2" ,python-2)))
1281 (inputs
1282 `(("attr" ,attr)
1283 ("karchive" ,karchive)
1284 ("ki18n" ,ki18n)
1285 ("qtbase" ,qtbase)))
1286 (home-page "https://community.kde.org/Frameworks")
1287 (synopsis "Extract metadata from different fileformats")
1288 (description "KFileMetaData provides a simple library for extracting the
1289 text and metadata from a number of different files. This library is typically
1290 used by file indexers to retreive the metadata. This library can also be used
1291 by applications to write metadata.")
1292 (license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))
1293
1294 (define-public kimageformats
1295 (package
1296 (name "kimageformats")
1297 (version "5.24.0")
1298 (source
1299 (origin
1300 (method url-fetch)
1301 (uri (string-append "mirror://kde/stable/frameworks/"
1302 (version-major+minor version) "/"
1303 name "-" version ".tar.xz"))
1304 (sha256
1305 (base32
1306 "12mhgckmhnvcnm8k7mk15mipxrnm7i9ip7ykbjh8nxjiwyk1pmwc"))))
1307 (build-system cmake-build-system)
1308 (native-inputs
1309 `(("extra-cmake-modules" ,extra-cmake-modules)
1310 ("xorg-server" ,xorg-server)))
1311 (inputs
1312 `(("qtbase" ,qtbase)))
1313 (arguments
1314 `(#:phases
1315 (modify-phases %standard-phases
1316 (add-before 'check 'start-xorg-server
1317 (lambda* (#:key inputs #:allow-other-keys)
1318 ;; The test suite requires a running X server.
1319 (system (string-append (assoc-ref inputs "xorg-server")
1320 "/bin/Xvfb :1 &"))
1321 (setenv "DISPLAY" ":1")
1322 #t)))))
1323 (home-page "https://community.kde.org/Frameworks")
1324 (synopsis "Plugins to allow QImage to support extra file formats")
1325 (description "This framework provides additional image format plugins for
1326 QtGui. As such it is not required for the compilation of any other software,
1327 but may be a runtime requirement for Qt-based software to support certain image
1328 formats.")
1329 (license license:lgpl2.1+)))
1330
1331 (define-public kjobwidgets
1332 (package
1333 (name "kjobwidgets")
1334 (version "5.24.0")
1335 (source
1336 (origin
1337 (method url-fetch)
1338 (uri (string-append "mirror://kde/stable/frameworks/"
1339 (version-major+minor version) "/"
1340 name "-" version ".tar.xz"))
1341 (sha256
1342 (base32
1343 "1mcvrz66xcqjgbp08zpqsf943cm462wbqm5gh719p9s25hx8hwrc"))))
1344 (build-system cmake-build-system)
1345 (native-inputs
1346 `(("extra-cmake-modules" ,extra-cmake-modules)
1347 ("qttools" ,qttools)))
1348 (inputs
1349 `(("kcoreaddons" ,kcoreaddons)
1350 ("kwidgetsaddons" ,kwidgetsaddons)
1351 ("qtbase" ,qtbase)
1352 ("qtx11extras" ,qtx11extras)))
1353 (home-page "https://community.kde.org/Frameworks")
1354 (synopsis "Widgets for showing progress of asynchronous jobs")
1355 (description "KJobWIdgets provides widgets for showing progress of
1356 asynchronous jobs.")
1357 (license license:lgpl2.1+)))
1358
1359 (define-public knotifications
1360 (package
1361 (name "knotifications")
1362 (version "5.24.0")
1363 (source
1364 (origin
1365 (method url-fetch)
1366 (uri (string-append "mirror://kde/stable/frameworks/"
1367 (version-major+minor version) "/"
1368 name "-" version ".tar.xz"))
1369 (sha256
1370 (base32
1371 "0qryp41phnpx4r9wa6rfhmnzy7nxl0ijnyrafadf2n2xb53ipkpa"))))
1372 (build-system cmake-build-system)
1373 (native-inputs
1374 `(("extra-cmake-modules" ,extra-cmake-modules)
1375 ("dbus" ,dbus)
1376 ("qttools" ,qttools)))
1377 (inputs
1378 `(("kcodecs" ,kcodecs)
1379 ("kconfig" ,kconfig)
1380 ("kcoreaddons" ,kcoreaddons)
1381 ("kwindowsystem" ,kwindowsystem)
1382 ("phonon" ,phonon)
1383 ("qtbase" ,qtbase)
1384 ("qtx11extras" ,qtx11extras)))
1385 (arguments
1386 `(#:phases
1387 (modify-phases %standard-phases
1388 (add-before 'check 'check-setup
1389 (lambda* _
1390 (setenv "HOME" (getcwd))))
1391 (replace 'check
1392 (lambda* _
1393 (setenv "DBUS_FATAL_WARNINGS" "0")
1394 (zero? (system* "dbus-launch" "ctest" ".")))))))
1395 (home-page "https://community.kde.org/Frameworks")
1396 (synopsis "Desktop notifications")
1397 (description "KNotification is used to notify the user of an event. It
1398 covers feedback and persistent events.")
1399 (license license:lgpl2.1+)))
1400
1401 (define-public kpackage
1402 (package
1403 (name "kpackage")
1404 (version "5.24.0")
1405 (source
1406 (origin
1407 (method url-fetch)
1408 (uri (string-append "mirror://kde/stable/frameworks/"
1409 (version-major+minor version) "/"
1410 name "-" version ".tar.xz"))
1411 (sha256
1412 (base32
1413 "03aqzkpqz3c1v4qgwfbs3ncdbapiyg7psrkhxqv3z48rklavk1ri"))))
1414 (build-system cmake-build-system)
1415 (native-inputs
1416 `(("extra-cmake-modules" ,extra-cmake-modules)))
1417 (inputs
1418 `(("karchive" ,karchive)
1419 ("kconfig" ,kconfig)
1420 ("kcoreaddons" ,kcoreaddons)
1421 ("ki18n" ,ki18n)
1422 ("qtbase" ,qtbase)))
1423 (arguments
1424 `(#:tests? #f ; FIXME: 1/4 tests fail.
1425 #:phases
1426 (modify-phases %standard-phases
1427 (add-before 'check 'check-setup
1428 (lambda* _
1429 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output
1430 (setenv "HOME" (getcwd)))))))
1431 (home-page "https://community.kde.org/Frameworks")
1432 (synopsis "Installation and loading of additional content as packages")
1433 (description "The Package framework lets the user install and load packages
1434 of non binary content such as scripted extensions or graphic assets, as if they
1435 were traditional plugins.")
1436 (license (list license:gpl2+ license:lgpl2.1+))))
1437
1438 (define-public kpty
1439 (package
1440 (name "kpty")
1441 (version "5.24.0")
1442 (source
1443 (origin
1444 (method url-fetch)
1445 (uri (string-append "mirror://kde/stable/frameworks/"
1446 (version-major+minor version) "/"
1447 name "-" version ".tar.xz"))
1448 (sha256
1449 (base32
1450 "1ybvdzqpa53kkki9p5da0ff9x3c63rmksk7865wqwlgy8apzi2fs"))))
1451 (build-system cmake-build-system)
1452 (native-inputs
1453 `(("extra-cmake-modules" ,extra-cmake-modules)))
1454 (inputs
1455 `(("kcoreaddons" ,kcoreaddons)
1456 ("ki18n" ,ki18n)
1457 ("qtbase" ,qtbase)))
1458 (arguments
1459 `(#:tests? #f ; FIXME: 1/1 tests fail.
1460 #:phases
1461 (modify-phases %standard-phases
1462 (add-after 'unpack 'patch-tests
1463 (lambda _
1464 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
1465 (substitute* "autotests/kptyprocesstest.cpp"
1466 (("/bin/bash") (which "bash")))
1467 #t)))))
1468 (home-page "https://community.kde.org/Frameworks")
1469 (synopsis "Interfacing with pseudo terminal devices")
1470 (description "This library provides primitives to interface with pseudo
1471 terminal devices as well as a KProcess derived class for running child processes
1472 and communicating with them using a pty.")
1473 (license (list license:gpl2+ license:lgpl2.1+))))
1474
1475 (define-public kunitconversion
1476 (package
1477 (name "kunitconversion")
1478 (version "5.24.0")
1479 (source
1480 (origin
1481 (method url-fetch)
1482 (uri (string-append "mirror://kde/stable/frameworks/"
1483 (version-major+minor version) "/"
1484 name "-" version ".tar.xz"))
1485 (sha256
1486 (base32
1487 "03dfjn4lm6sl2zcdrvw0b9irzvkyc2w2j5xixag5j8nw373742h8"))))
1488 (build-system cmake-build-system)
1489 (native-inputs
1490 `(("extra-cmake-modules" ,extra-cmake-modules)))
1491 (inputs
1492 `(("ki18n" ,ki18n)
1493 ("qtbase" ,qtbase)))
1494 (home-page "https://community.kde.org/Frameworks")
1495 (synopsis "Converting physical units")
1496 (description "KUnitConversion provides functions to convert values in
1497 different physical units. It supports converting different prefixes (e.g. kilo,
1498 mega, giga) as well as converting between different unit systems (e.g. liters,
1499 gallons).")
1500 (license license:lgpl2.1+)))
1501
1502
1503 ;; Tier 3
1504 ;;
1505 ;; Tier 3 frameworks are generally more powerful, comprehensive packages, and
1506 ;; consequently have more complex dependencies.
1507
1508 (define-public baloo
1509 (package
1510 (name "baloo")
1511 (version "5.24.0")
1512 (source
1513 (origin
1514 (method url-fetch)
1515 (uri (string-append "mirror://kde/stable/frameworks/"
1516 (version-major+minor version) "/"
1517 name "-" version ".tar.xz"))
1518 (sha256
1519 (base32
1520 "1ayfdg6j9lvas17ryjdv4a0kaj6vw3bxfy2x9nadl0gkc9pak4nh"))))
1521 (build-system cmake-build-system)
1522 (propagated-inputs
1523 `(("kcoreaddons" ,kcoreaddons)
1524 ("kfilemetadata" ,kfilemetadata)))
1525 (native-inputs
1526 `(("dbus" ,dbus)
1527 ("extra-cmake-modules" ,extra-cmake-modules)))
1528 (inputs
1529 `(("kbookmarks" ,kbookmarks)
1530 ("kcompletion" ,kcompletion)
1531 ("kconfig" ,kconfig)
1532 ("kcrash" ,kcrash)
1533 ("kdbusaddons" ,kdbusaddons)
1534 ("kidletime" ,kidletime)
1535 ("kio" ,kio)
1536 ("kitemviews" ,kitemviews)
1537 ("ki18n" ,ki18n)
1538 ("kjobwidgets" ,kjobwidgets)
1539 ("kservice" ,kservice)
1540 ("kwidgetsaddons" ,kwidgetsaddons)
1541 ("kxmlgui" ,kxmlgui)
1542 ("lmdb" ,lmdb)
1543 ("qtbase" ,qtbase)
1544 ("qtdeclarative" ,qtdeclarative)
1545 ("solid" ,solid)))
1546 (arguments
1547 `(#:phases
1548 (modify-phases %standard-phases
1549 (add-before 'check 'check-setup
1550 (lambda _
1551 (setenv "HOME" (getcwd))
1552 (setenv "QT_QPA_PLATFORM" "offscreen")
1553 #t))
1554 (replace 'check
1555 (lambda _
1556 (setenv "DBUS_FATAL_WARNINGS" "0")
1557 (zero? (system* "dbus-launch" "ctest" ".")))))))
1558 (home-page "https://community.kde.org/Frameworks")
1559 (synopsis "File searching and indexing")
1560 (description "Baloo provides file searching and indexing. It does so by
1561 maintaining an index of the contents of your files.")
1562 ;; dual licensed
1563 (license (list license:gpl2+ license:lgpl2.1+))))
1564
1565 (define-public kactivities
1566 (package
1567 (name "kactivities")
1568 (version "5.24.0")
1569 (source
1570 (origin
1571 (method url-fetch)
1572 (uri (string-append "mirror://kde/stable/frameworks/"
1573 (version-major+minor version) "/"
1574 name "-" version ".tar.xz"))
1575 (sha256
1576 (base32
1577 "0s8g43zk6h35bq1am1nnhj0qvmhd6kz42gs8l7ybga0367jghzhf"))))
1578 (build-system cmake-build-system)
1579 (native-inputs
1580 `(("extra-cmake-modules" ,extra-cmake-modules)))
1581 (inputs
1582 `(("boost" ,boost)
1583 ("kauth" ,kauth)
1584 ("kbookmarks" ,kbookmarks)
1585 ("kcodecs" ,kcodecs)
1586 ("kcompletion" ,kcompletion)
1587 ("kconfig" ,kconfig)
1588 ("kconfigwidgets" ,kconfigwidgets)
1589 ("kcoreaddons" ,kcoreaddons)
1590 ("kio" ,kio)
1591 ("kitemviews" ,kitemviews)
1592 ("kjobwidgets" ,kjobwidgets)
1593 ("kservice" ,kservice)
1594 ("kwidgetsaddons" ,kwidgetsaddons)
1595 ("kwindowsystem" ,kwindowsystem)
1596 ("kxmlgui" ,kxmlgui)
1597 ("qtbase" ,qtbase)
1598 ("qtdeclarative" ,qtdeclarative)
1599 ("solid" ,solid)))
1600 (home-page "https://community.kde.org/Frameworks")
1601 (synopsis "Core components for the KDE Activity concept")
1602 (description "KActivities provides the infrastructure needed to manage a
1603 user's activites, allowing them to switch between tasks, and for applications
1604 to update their state to match the user's current activity. This includes a
1605 daemon, a library for interacting with that daemon, and plugins for integration
1606 with other frameworks.")
1607 ;; triple licensed
1608 (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
1609
1610 ;; NOTE: This package is listed as a tier 2 package even though it requires
1611 ;; kactivities - a tier 3 package.
1612 (define-public kactivities-stats
1613 (package
1614 (name "kactivities-stats")
1615 (version "5.24.0")
1616 (source
1617 (origin
1618 (method url-fetch)
1619 (uri (string-append "mirror://kde/stable/frameworks/"
1620 (version-major+minor version) "/"
1621 name "-" version ".tar.xz"))
1622 (sha256
1623 (base32
1624 "1z3xvpifxbd05b2xaxxyiypcpid7jgjb1qpwiyjj1gnfp4rjmzpc"))))
1625 (build-system cmake-build-system)
1626 (native-inputs
1627 `(("extra-cmake-modules" ,extra-cmake-modules)))
1628 (inputs
1629 `(("boost" ,boost)
1630 ("kactivities" ,kactivities)
1631 ("kconfig" ,kconfig)
1632 ("qtbase" ,qtbase)
1633 ("qtdeclarative" ,qtdeclarative)))
1634 (home-page "https://community.kde.org/Frameworks")
1635 (synopsis "Access usage statistics collected by the activity manager")
1636 (description "The KActivitiesStats library provides a querying mechanism for
1637 the data that the activitiy manager collects - which documents have been opened
1638 by which applications, and what documents have been linked to which activity.")
1639 ;; triple licensed
1640 (license (list license:lgpl2.0+ license:lgpl2.1+ license:lgpl3+))))
1641
1642 (define-public kbookmarks
1643 (package
1644 (name "kbookmarks")
1645 (version "5.24.0")
1646 (source
1647 (origin
1648 (method url-fetch)
1649 (uri (string-append "mirror://kde/stable/frameworks/"
1650 (version-major+minor version) "/"
1651 name "-" version ".tar.xz"))
1652 (sha256
1653 (base32
1654 "10d8dnhvbrwp0dbmz93cqfdff6ir8iy3yiwaf9ihj6ma124qlyjn"))))
1655 (build-system cmake-build-system)
1656 (propagated-inputs
1657 `(("kwidgetsaddons" ,kwidgetsaddons)))
1658 (native-inputs
1659 `(("extra-cmake-modules" ,extra-cmake-modules)
1660 ("qttools" ,qttools)))
1661 (inputs
1662 `(("kauth" ,kauth)
1663 ("kcodecs" ,kcodecs)
1664 ("kconfig" ,kconfig)
1665 ("kconfigwidgets" ,kconfigwidgets)
1666 ("kcoreaddons" ,kcoreaddons)
1667 ("kiconthemes" ,kiconthemes)
1668 ("kxmlgui" ,kxmlgui)
1669 ("qtbase" ,qtbase)))
1670 (arguments
1671 `(#:phases
1672 (modify-phases %standard-phases
1673 (add-before 'check 'check-setup
1674 (lambda _
1675 (setenv "HOME" (getcwd))
1676 (setenv "QT_QPA_PLATFORM" "offscreen")
1677 #t)))))
1678 (home-page "https://community.kde.org/Frameworks")
1679 (synopsis "Bookmarks management library")
1680 (description "KBookmarks lets you access and manipulate bookmarks stored
1681 using the XBEL format.")
1682 (license license:lgpl2.1+)))
1683
1684 (define-public kcmutils
1685 (package
1686 (name "kcmutils")
1687 (version "5.24.0")
1688 (source
1689 (origin
1690 (method url-fetch)
1691 (uri (string-append "mirror://kde/stable/frameworks/"
1692 (version-major+minor version) "/"
1693 name "-" version ".tar.xz"))
1694 (sha256
1695 (base32
1696 "0aws1c76s6wbp0xpr6qv6cfwq8dw82v00pkf9gy84sbxknwjnizk"))))
1697 (build-system cmake-build-system)
1698 (propagated-inputs
1699 `(("kconfigwidgets" ,kconfigwidgets)
1700 ("kservice" ,kservice)))
1701 (native-inputs
1702 `(("extra-cmake-modules" ,extra-cmake-modules)))
1703 (inputs
1704 `(("kauth" ,kauth)
1705 ("kcodecs" ,kcodecs)
1706 ("kconfig" ,kconfig)
1707 ("kcoreaddons" ,kcoreaddons)
1708 ("kdeclarative" ,kdeclarative)
1709 ("kiconthemes" ,kiconthemes)
1710 ("kitemviews" ,kitemviews)
1711 ("ki18n" ,ki18n)
1712 ("kpackage" ,kpackage)
1713 ("kwidgetsaddons" ,kwidgetsaddons)
1714 ("kxmlgui" ,kxmlgui)
1715 ("qtbase" ,qtbase)
1716 ("qtdeclarative" ,qtdeclarative)))
1717 (home-page "https://community.kde.org/Frameworks")
1718 (synopsis "Utilities for KDE System Settings modules")
1719 (description "KCMUtils provides various classes to work with KCModules.
1720 KCModules can be created with the KConfigWidgets framework.")
1721 (license license:lgpl2.1+)))
1722
1723 (define-public kconfigwidgets
1724 (package
1725 (name "kconfigwidgets")
1726 (version "5.24.0")
1727 (source
1728 (origin
1729 (method url-fetch)
1730 (uri (string-append "mirror://kde/stable/frameworks/"
1731 (version-major+minor version) "/"
1732 name "-" version ".tar.xz"))
1733 (sha256
1734 (base32
1735 "0v25r50gh5i984lzlv0rradghglcfqf0gsfmnkn23h87b86fm9l2"))))
1736 (build-system cmake-build-system)
1737 (propagated-inputs
1738 `(("kauth" ,kauth)
1739 ("kcodecs" ,kcodecs)
1740 ("kconfig" ,kconfig)
1741 ("kwidgetsaddons" ,kwidgetsaddons)))
1742 (native-inputs
1743 `(("extra-cmake-modules" ,extra-cmake-modules)))
1744 (inputs
1745 `(("kcoreaddons" ,kcoreaddons)
1746 ("kguiaddons" ,kguiaddons)
1747 ("ki18n" ,ki18n)
1748 ("qtbase" ,qtbase)))
1749 (arguments
1750 `(#:phases
1751 (modify-phases %standard-phases
1752 (add-before 'check 'check-setup
1753 (lambda _
1754 (setenv "QT_QPA_PLATFORM" "offscreen")
1755 #t)))))
1756 (home-page "https://community.kde.org/Frameworks")
1757 (synopsis "Widgets for configuration dialogs")
1758 (description "KConfigWidgets provides easy-to-use classes to create
1759 configuration dialogs, as well as a set of widgets which uses KConfig to store
1760 their settings.")
1761 ;; dual licensed
1762 (license (list license:gpl2+ license:lgpl2.1+))))
1763
1764 (define-public kdeclarative
1765 (package
1766 (name "kdeclarative")
1767 (version "5.24.0")
1768 (source
1769 (origin
1770 (method url-fetch)
1771 (uri (string-append "mirror://kde/stable/frameworks/"
1772 (version-major+minor version) "/"
1773 name "-" version ".tar.xz"))
1774 (sha256
1775 (base32
1776 "00ik9q1r6y6g5rkdq96yczgrxmcg85x00lipyljvc3x6xw6bixbz"))))
1777 (build-system cmake-build-system)
1778 (propagated-inputs
1779 `(("kconfig" ,kconfig)
1780 ("kpackage" ,kpackage)))
1781 (native-inputs
1782 `(("extra-cmake-modules" ,extra-cmake-modules)
1783 ("xorg-server" ,xorg-server)))
1784 (inputs
1785 `(("kauth" ,kauth)
1786 ("kbookmarks" ,kbookmarks)
1787 ("kcodecs" ,kcodecs)
1788 ("kcompletion" ,kcompletion)
1789 ("kconfigwidgets" ,kconfigwidgets)
1790 ("kcoreaddons" ,kcoreaddons)
1791 ("kglobalaccel" ,kglobalaccel)
1792 ("kguiaddons" ,kguiaddons)
1793 ("kiconthemes" ,kiconthemes)
1794 ("kio" ,kio)
1795 ("kitemviews" ,kitemviews)
1796 ("ki18n" ,ki18n)
1797 ("kjobwidgets" ,kjobwidgets)
1798 ("kservice" ,kservice)
1799 ("kwidgetsaddons" ,kwidgetsaddons)
1800 ("kwindowsystem" ,kwindowsystem)
1801 ("kxmlgui" ,kxmlgui)
1802 ("qtbase" ,qtbase)
1803 ("qtdeclarative" ,qtdeclarative)
1804 ("solid" ,solid)))
1805 (arguments
1806 `(#:phases
1807 (modify-phases %standard-phases
1808 (add-before 'check 'start-xorg-server
1809 (lambda* (#:key inputs #:allow-other-keys)
1810 ;; The test suite requires a running X server.
1811 (system (string-append (assoc-ref inputs "xorg-server")
1812 "/bin/Xvfb :1 -screen 0 640x480x24 &"))
1813 (setenv "DISPLAY" ":1")
1814 #t)))))
1815 (home-page "https://community.kde.org/Frameworks")
1816 (synopsis "Integration of QML and KDE work spaces")
1817 (description "KDeclarative provides integration of QML and KDE work spaces.
1818 It's comprises two parts: a library used by the C++ part of your application to
1819 intergrate QML with KDE Frameworks specific features, and a series of QML imports
1820 that offer bindings to some of the Frameworks.")
1821 ;; dual licensed
1822 (license (list license:gpl2+ license:lgpl2.1+))))
1823
1824 (define-public kded
1825 (package
1826 (name "kded")
1827 (version "5.24.0")
1828 (source
1829 (origin
1830 (method url-fetch)
1831 (uri (string-append "mirror://kde/stable/frameworks/"
1832 (version-major+minor version) "/"
1833 name "-" version ".tar.xz"))
1834 (sha256
1835 (base32
1836 "0ngpxdxb596myn5r4kjxahx195bwklq33yvgjvcbxi2clg2wccaj"))))
1837 (build-system cmake-build-system)
1838 (native-inputs
1839 `(("extra-cmake-modules" ,extra-cmake-modules)))
1840 (inputs
1841 `(("kconfig" ,kconfig)
1842 ("kcoreaddons" ,kcoreaddons)
1843 ("kcrash" ,kcrash)
1844 ("kdbusaddons" ,kdbusaddons)
1845 ("kdoctools" ,kdoctools)
1846 ("kinit" ,kinit)
1847 ("kservice" ,kservice)
1848 ("qtbase" ,qtbase)))
1849 (home-page "https://community.kde.org/Frameworks")
1850 (synopsis "Central daemon of KDE work spaces")
1851 (description "KDED stands for KDE Daemon. KDED runs in the background and
1852 performs a number of small tasks. Some of these tasks are built in, others are
1853 started on demand.")
1854 ;; dual licensed
1855 (license (list license:lgpl2.0+ license:lgpl2.1+))))
1856
1857 (define-public kdesignerplugin
1858 (package
1859 (name "kdesignerplugin")
1860 (version "5.24.0")
1861 (source
1862 (origin
1863 (method url-fetch)
1864 (uri (string-append "mirror://kde/stable/frameworks/"
1865 (version-major+minor version) "/"
1866 name "-" version ".tar.xz"))
1867 (sha256
1868 (base32
1869 "0i0s8pwwhwh5hyyvkv0cnj0yyv0g5bnm5xw18knv2yagiy4bvb2j"))))
1870 (build-system cmake-build-system)
1871 (native-inputs
1872 `(("extra-cmake-modules" ,extra-cmake-modules)
1873 ("qttools" ,qttools)))
1874 (inputs
1875 `(("kconfig" ,kconfig)
1876 ("kcoreaddons" ,kcoreaddons)
1877 ("kdoctools" ,kdoctools)
1878 ("qtbase" ,qtbase)))
1879 (arguments
1880 `(#:phases
1881 (modify-phases %standard-phases
1882 (add-before 'check 'check-setup
1883 (lambda _
1884 (setenv "QT_QPA_PLATFORM" "offscreen")
1885 #t)))))
1886 (home-page "https://community.kde.org/Frameworks")
1887 (synopsis "Integrating KDE frameworks widgets with Qt Designer")
1888 (description "This framework provides plugins for Qt Designer that allow it
1889 to display the widgets provided by various KDE frameworks, as well as a utility
1890 (kgendesignerplugin) that can be used to generate other such plugins from
1891 ini-style description files.")
1892 (license license:lgpl2.1+)))
1893
1894 (define-public kdesu
1895 (package
1896 (name "kdesu")
1897 (version "5.24.0")
1898 (source
1899 (origin
1900 (method url-fetch)
1901 (uri (string-append "mirror://kde/stable/frameworks/"
1902 (version-major+minor version) "/"
1903 name "-" version ".tar.xz"))
1904 (sha256
1905 (base32
1906 "1ivcnhgvq75xvl0w9g7m45qzallz42ijaq0n1ap09lpdfmjbnrxk"))))
1907 (build-system cmake-build-system)
1908 (propagated-inputs
1909 `(("kpty" ,kpty)))
1910 (native-inputs
1911 `(("extra-cmake-modules" ,extra-cmake-modules)))
1912 (inputs
1913 `(("kconfig" ,kconfig)
1914 ("kcoreaddons" ,kcoreaddons)
1915 ("ki18n" ,ki18n)
1916 ("kservice" ,kservice)
1917 ("qtbase" ,qtbase)))
1918 (home-page "https://community.kde.org/Frameworks")
1919 (synopsis "User interface for running shell commands with root privileges")
1920 (description "KDESU provides functionality for building GUI front ends for
1921 (password asking) console mode programs. kdesu and kdessh use it to interface
1922 with su and ssh respectively.")
1923 (license license:lgpl2.1+)))
1924
1925 (define-public kemoticons
1926 (package
1927 (name "kemoticons")
1928 (version "5.24.0")
1929 (source
1930 (origin
1931 (method url-fetch)
1932 (uri (string-append "mirror://kde/stable/frameworks/"
1933 (version-major+minor version) "/"
1934 name "-" version ".tar.xz"))
1935 (sha256
1936 (base32
1937 "0gmc52k5jb553jvzxwsq79v5y87kgav8i5qqv4bqc9yl7p866zhn"))))
1938 (build-system cmake-build-system)
1939 (propagated-inputs
1940 `(("kservice" ,kservice)))
1941 (native-inputs
1942 `(("extra-cmake-modules" ,extra-cmake-modules)))
1943 (inputs
1944 `(("karchive" ,karchive)
1945 ("kconfig" ,kconfig)
1946 ("kcoreaddons" ,kcoreaddons)
1947 ("qtbase" ,qtbase)))
1948 (arguments
1949 `(#:tests? #f ; FIXME: 2/2 tests fail.
1950 #:phases
1951 (modify-phases %standard-phases
1952 (add-before 'check 'check-setup
1953 (lambda _
1954 (setenv "HOME" (getcwd))
1955 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; Enable debug output
1956 (setenv "QT_QPA_PLATFORM" "offscreen"))))))
1957 (home-page "https://community.kde.org/Frameworks")
1958 (synopsis "Convert text emoticons to graphical emoticons")
1959 (description "KEmoticons converts emoticons from text to a graphical
1960 representation with images in HTML. It supports setting different themes for
1961 emoticons coming from different providers.")
1962 ;; dual licensed, image files are licensed under cc-by-sa4.0
1963 (license (list license:gpl2+ license:lgpl2.1+ license:cc-by-sa4.0))))
1964
1965 (define-public kglobalaccel
1966 (package
1967 (name "kglobalaccel")
1968 (version "5.24.0")
1969 (source
1970 (origin
1971 (method url-fetch)
1972 (uri (string-append "mirror://kde/stable/frameworks/"
1973 (version-major+minor version) "/"
1974 name "-" version ".tar.xz"))
1975 (sha256
1976 (base32
1977 "123v0ld1q88hbm3d0mqgq6lcivfkqh7pbz4hb4n76ab5v43qc15c"))))
1978 (build-system cmake-build-system)
1979 (native-inputs
1980 `(("extra-cmake-modules" ,extra-cmake-modules)
1981 ("qttools" ,qttools)))
1982 (inputs
1983 `(("kconfig" ,kconfig)
1984 ("kcrash" ,kcrash)
1985 ("kcoreaddons" ,kcoreaddons)
1986 ("kdbusaddons" ,kdbusaddons)
1987 ("kwindowsystem" ,kwindowsystem)
1988 ("libxcb" ,libxcb)
1989 ("qtbase" ,qtbase)
1990 ("qtx11extras" ,qtx11extras)
1991 ("xcb-util-keysyms" ,xcb-util-keysyms)))
1992 (arguments
1993 `(#:phases
1994 (modify-phases %standard-phases
1995 (add-before 'check 'check-setup
1996 (lambda _
1997 (setenv "QT_QPA_PLATFORM" "offscreen")
1998 #t)))))
1999 (home-page "https://community.kde.org/Frameworks")
2000 (synopsis "Global desktop keyboard shortcuts")
2001 (description "KGlobalAccel allows you to have global accelerators that are
2002 independent of the focused window. Unlike regular shortcuts, the application's
2003 window does not need focus for them to be activated.")
2004 (license license:lgpl2.1+)))
2005
2006 (define-public kiconthemes
2007 (package
2008 (name "kiconthemes")
2009 (version "5.24.0")
2010 (source
2011 (origin
2012 (method url-fetch)
2013 (uri (string-append "mirror://kde/stable/frameworks/"
2014 (version-major+minor version) "/"
2015 name "-" version ".tar.xz"))
2016 (sha256
2017 (base32
2018 "1k5zig2n6wzfyv6pc8dpas2862mxjyxxza00m31myrfw5i1a1h6m"))))
2019 (build-system cmake-build-system)
2020 (native-inputs
2021 `(("extra-cmake-modules" ,extra-cmake-modules)
2022 ("shared-mime-info" ,shared-mime-info)))
2023 (inputs
2024 `(("karchive" ,karchive)
2025 ("kauth" ,kauth)
2026 ("kcodecs" ,kcodecs)
2027 ("kcoreaddons" ,kcoreaddons)
2028 ("kconfig" ,kconfig)
2029 ("kconfigwidgets" ,kconfigwidgets)
2030 ("ki18n" ,ki18n)
2031 ("kitemviews" ,kitemviews)
2032 ("kwidgetsaddons" ,kwidgetsaddons)
2033 ("qtbase" ,qtbase)
2034 ("qtsvg" ,qtsvg)))
2035 (arguments
2036 `(#:tests? #f ; FIXME: Test failure
2037 #:phases
2038 (modify-phases %standard-phases
2039 (add-before 'check 'check-setup
2040 (lambda* (#:key inputs #:allow-other-keys)
2041 (setenv "XDG_DATA_DIRS"
2042 (string-append (assoc-ref inputs "shared-mime-info")
2043 "/share"))
2044 (setenv "HOME" (getcwd))
2045 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; Enable debug output
2046 (setenv "QT_QPA_PLATFORM" "offscreen"))))))
2047 (home-page "https://community.kde.org/Frameworks")
2048 (synopsis "Icon GUI utilities")
2049 (description "This library contains classes to improve the handling of icons
2050 in applications using the KDE Frameworks.")
2051 (license license:lgpl2.1+)))
2052
2053 (define-public kinit
2054 (package
2055 (name "kinit")
2056 (version "5.24.0")
2057 (source
2058 (origin
2059 (method url-fetch)
2060 (uri (string-append "mirror://kde/stable/frameworks/"
2061 (version-major+minor version) "/"
2062 name "-" version ".tar.xz"))
2063 (sha256
2064 (base32
2065 "1i7l6gid5hrrfglw1c461gpjg51dwz7cl4lx7ll8vz2ha8mz4d3n"))))
2066 (build-system cmake-build-system)
2067 (native-inputs
2068 `(("extra-cmake-modules" ,extra-cmake-modules)))
2069 (inputs
2070 `(("kauth" ,kauth)
2071 ("kbookmarks" ,kbookmarks)
2072 ("kcodecs" ,kcodecs)
2073 ("kcompletion" ,kcompletion)
2074 ("kconfig" ,kconfig)
2075 ("kconfigwidgets" ,kconfigwidgets)
2076 ("kcoreaddons" ,kcoreaddons)
2077 ("kcrash" ,kcrash)
2078 ("kio" ,kio)
2079 ("kitemviews" ,kitemviews)
2080 ("ki18n" ,ki18n)
2081 ("kjobwidgets" ,kjobwidgets)
2082 ("kservice" ,kservice)
2083 ("kwidgetsaddons" ,kwidgetsaddons)
2084 ("kwindowsystem" ,kwindowsystem)
2085 ("kxmlgui" ,kxmlgui)
2086 ("qtbase" ,qtbase)
2087 ("solid" ,solid)))
2088 (home-page "https://community.kde.org/Frameworks")
2089 (synopsis "Library to speed up start of applications on KDE workspaces")
2090 (description "Kdeinit is a process launcher similar to init used for booting
2091 UNIX. It launches processes by forking and then loading a dynamic library which
2092 contains a 'kdemain(...)' function. Using kdeinit to launch KDE applications
2093 makes starting KDE applications faster and reduces memory consumption.")
2094 ;; dual licensed
2095 (license (list license:lgpl2.0+ license:lgpl2.1+))))
2096
2097 (define-public kio
2098 (package
2099 (name "kio")
2100 (version "5.24.0")
2101 (source
2102 (origin
2103 (method url-fetch)
2104 (uri (string-append "mirror://kde/stable/frameworks/"
2105 (version-major+minor version) "/"
2106 name "-" version ".tar.xz"))
2107 (sha256
2108 (base32
2109 "0zncj9yf8zaylazlwvirylpk9vki3j889b1x2s0aav54vvj7vdi5"))))
2110 (build-system cmake-build-system)
2111 (propagated-inputs
2112 `(("kbookmarks" ,kbookmarks)
2113 ("kconfig" ,kconfig)
2114 ("kcompletion" ,kcompletion)
2115 ("kcoreaddons" ,kcoreaddons)
2116 ("kitemviews" ,kitemviews)
2117 ("kjobwidgets" ,kjobwidgets)
2118 ("kservice" ,kservice)
2119 ("kxmlgui" ,kxmlgui)
2120 ("solid" ,solid)))
2121 (native-inputs
2122 `(("dbus" ,dbus)
2123 ("extra-cmake-modules" ,extra-cmake-modules)))
2124 (inputs
2125 `(("acl" ,acl)
2126 ("karchive" ,karchive)
2127 ("kauth" ,kauth)
2128 ("kcodecs" ,kcodecs)
2129 ("kconfigwidgets" ,kconfigwidgets)
2130 ("kdbusaddons" ,kdbusaddons)
2131 ("kdoctools" ,kdoctools)
2132 ("kiconthemes" ,kiconthemes)
2133 ("ki18n" ,ki18n)
2134 ("knotifications" ,knotifications)
2135 ("ktextwidgets" ,ktextwidgets)
2136 ("kwallet" ,kwallet)
2137 ("kwidgetsaddons" ,kwidgetsaddons)
2138 ("kwindowsystem" ,kwindowsystem)
2139 ("libxml2" ,libxml2)
2140 ("libxslt" ,libxslt)
2141 ("qtbase" ,qtbase)
2142 ("qtx11extras" ,qtx11extras)
2143 ("sonnet" ,sonnet)))
2144 (arguments
2145 `(#:tests? #f ; FIXME: 41/50 tests fail.
2146 #:phases
2147 (modify-phases %standard-phases
2148 (add-before 'check 'check-setup
2149 (lambda _
2150 (setenv "HOME" (getcwd))
2151 (setenv "XDG_RUNTIME_DIR" (getcwd))
2152 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
2153 (setenv "QT_QPA_PLATFORM" "offscreen"))))))
2154 ;;(replace 'check
2155 ;; (lambda _
2156 ;; (setenv "DBUS_FATAL_WARNINGS" "0")
2157 ;; (zero? (system* "dbus-launch" "ctest" ".")))))))
2158 (home-page "https://community.kde.org/Frameworks")
2159 (synopsis "Network transparent access to files and data")
2160 (description "This framework implements a lot of file management functions.
2161 It supports accessing files locally as well as via HTTP and FTP out of the box
2162 and can be extended by plugins to support other protocols as well. There is a
2163 variety of plugins available, e.g. to support access via SSH. The framework can
2164 also be used to bridge a native protocol to a file-based interface. This makes
2165 the data accessible in all applications using the KDE file dialog or any other
2166 KIO enabled infrastructure.")
2167 (license license:lgpl2.1+)))
2168
2169 (define-public knewstuff
2170 (package
2171 (name "knewstuff")
2172 (version "5.24.0")
2173 (source
2174 (origin
2175 (method url-fetch)
2176 (uri (string-append "mirror://kde/stable/frameworks/"
2177 (version-major+minor version) "/"
2178 name "-" version ".tar.xz"))
2179 (sha256
2180 (base32
2181 "0xdv3wh3100vzsx8p2zihy1dvh0wzfmrjkjq71v8igwz5d291zsj"))))
2182 (build-system cmake-build-system)
2183 (propagated-inputs
2184 `(("attica" ,attica)
2185 ("kservice" ,kservice)
2186 ("kxmlgui" ,kxmlgui)))
2187 (native-inputs
2188 `(("extra-cmake-modules" ,extra-cmake-modules)))
2189 (inputs
2190 `(("karchive" ,karchive)
2191 ("kauth" ,kauth)
2192 ("kbookmarks" ,kbookmarks)
2193 ("kcodecs" ,kcodecs)
2194 ("kcompletion" ,kcompletion)
2195 ("kconfig" ,kconfig)
2196 ("kconfigwidgets" ,kconfigwidgets)
2197 ("kcoreaddons" ,kcoreaddons)
2198 ("kio" ,kio)
2199 ("kitemviews" ,kitemviews)
2200 ("ki18n" ,ki18n)
2201 ("kiconthemes" ,kiconthemes)
2202 ("kjobwidgets" ,kjobwidgets)
2203 ("ktextwidgets" ,ktextwidgets)
2204 ("kwidgetsaddons" ,kwidgetsaddons)
2205 ("qtbase" ,qtbase)
2206 ("solid" ,solid)
2207 ("sonnet" ,sonnet)))
2208 (arguments
2209 `(#:tests? #f ; FIXME: 1/3 tests fail.
2210 #:phases
2211 (modify-phases %standard-phases
2212 (add-before 'check 'check-setup
2213 (lambda _ ; XDG_DATA_DIRS isn't set
2214 (setenv "HOME" (getcwd))
2215 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
2216 (setenv "QT_QPA_PLATFORM" "offscreen"))))))
2217 (home-page "https://community.kde.org/Frameworks")
2218 (synopsis "Framework for downloading and sharing additional application data")
2219 (description "The KNewStuff library implements collaborative data sharing
2220 for applications. It uses libattica to support the Open Collaboration Services
2221 specification.")
2222 (license license:lgpl2.1+)))
2223
2224 (define-public knotifyconfig
2225 (package
2226 (name "knotifyconfig")
2227 (version "5.24.0")
2228 (source
2229 (origin
2230 (method url-fetch)
2231 (uri (string-append "mirror://kde/stable/frameworks/"
2232 (version-major+minor version) "/"
2233 name "-" version ".tar.xz"))
2234 (sha256
2235 (base32
2236 "1dij841fnqia4p44x2wnpdvl8cn3nkj833y0fah50fmipjc8r70b"))))
2237 (build-system cmake-build-system)
2238 (native-inputs
2239 `(("extra-cmake-modules" ,extra-cmake-modules)))
2240 (inputs
2241 `(("kauth" ,kauth)
2242 ("kbookmarks" ,kbookmarks)
2243 ("kcodecs" ,kcodecs)
2244 ("kcompletion" ,kcompletion)
2245 ("kconfig" ,kconfig)
2246 ("kconfigwidgets" ,kconfigwidgets)
2247 ("kcoreaddons" ,kcoreaddons)
2248 ("kio" ,kio)
2249 ("kitemviews" ,kitemviews)
2250 ("ki18n" ,ki18n)
2251 ("kjobwidgets" ,kjobwidgets)
2252 ("knotifications" ,knotifications)
2253 ("kservice" ,kservice)
2254 ("kwidgetsaddons" ,kwidgetsaddons)
2255 ("kxmlgui" ,kxmlgui)
2256 ("phonon" ,phonon)
2257 ("qtbase" ,qtbase)
2258 ("solid" ,solid)))
2259 (home-page "https://community.kde.org/Frameworks")
2260 (synopsis "Configuration dialog for desktop notifications")
2261 (description "KNotifyConfig provides a configuration dialog for desktop
2262 notifications which can be embedded in your application.")
2263 ;; dual licensed
2264 (license (list license:lgpl2.0+ license:lgpl2.1+))))
2265
2266 (define-public kparts
2267 (package
2268 (name "kparts")
2269 (version "5.24.0")
2270 (source
2271 (origin
2272 (method url-fetch)
2273 (uri (string-append "mirror://kde/stable/frameworks/"
2274 (version-major+minor version) "/"
2275 name "-" version ".tar.xz"))
2276 (sha256
2277 (base32
2278 "0z7qr93aq02i7g7cxgypx2rzlnsvbsx9cjblb0ijmad1nb8w3mix"))))
2279 (build-system cmake-build-system)
2280 (propagated-inputs
2281 `(("kio" ,kio)
2282 ("ktextwidgets" ,ktextwidgets)
2283 ("kxmlgui" ,kxmlgui)))
2284 (native-inputs
2285 `(("extra-cmake-modules" ,extra-cmake-modules)))
2286 (inputs
2287 `(("kauth" ,kauth)
2288 ("kbookmarks" ,kbookmarks)
2289 ("kcodecs" ,kcodecs)
2290 ("kcompletion" ,kcompletion)
2291 ("kconfig" ,kconfig)
2292 ("kconfigwidgets" ,kconfigwidgets)
2293 ("kcoreaddons" ,kcoreaddons)
2294 ("kiconthemes" ,kiconthemes)
2295 ("kitemviews" ,kitemviews)
2296 ("ki18n" ,ki18n)
2297 ("kjobwidgets" ,kjobwidgets)
2298 ("kservice" ,kservice)
2299 ("kwidgetsaddons" ,kwidgetsaddons)
2300 ("qtbase" ,qtbase)
2301 ("solid" ,solid)
2302 ("sonnet" ,sonnet)))
2303 (arguments
2304 `(#:phases
2305 (modify-phases %standard-phases
2306 (add-before 'check 'check-setup
2307 (lambda _
2308 (setenv "QT_QPA_PLATFORM" "offscreen")
2309 #t)))))
2310 (home-page "https://community.kde.org/Frameworks")
2311 (synopsis "Plugin framework for user interface components")
2312 (description "This library implements the framework for KDE parts, which are
2313 widgets with a user-interface defined in terms of actions.")
2314 (license license:lgpl2.1+)))
2315
2316 (define-public kpeople
2317 (package
2318 (name "kpeople")
2319 (version "5.24.0")
2320 (source
2321 (origin
2322 (method url-fetch)
2323 (uri (string-append "mirror://kde/stable/frameworks/"
2324 (version-major+minor version) "/"
2325 name "-" version ".tar.xz"))
2326 (sha256
2327 (base32
2328 "0iknzkj23y927xh24kw5sjxyirhy6pkmfcmmgwzd78rba8a54qp2"))))
2329 (build-system cmake-build-system)
2330 (native-inputs
2331 `(("extra-cmake-modules" ,extra-cmake-modules)))
2332 (inputs
2333 `(("kconfig" ,kconfig)
2334 ("kcoreaddons" ,kcoreaddons)
2335 ("kitemviews" ,kitemviews)
2336 ("ki18n" ,ki18n)
2337 ("kservice" ,kservice)
2338 ("kwidgetsaddons" ,kwidgetsaddons)
2339 ("qtbase" ,qtbase)
2340 ("qtdeclarative" ,qtdeclarative)))
2341 (arguments
2342 `(#:tests? #f ; FIXME: 1/3 tests fail.
2343 #:phases
2344 (modify-phases %standard-phases
2345 (add-before 'check 'check-setup
2346 (lambda _
2347 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; Enable debug output
2348 (setenv "QT_QPA_PLATFORM" "offscreen"))))))
2349 (home-page "https://community.kde.org/Frameworks")
2350 (synopsis "Provides access to all contacts and aggregates them by person")
2351 (description "KPeople offers unified access to our contacts from different
2352 sources, grouping them by person while still exposing all the data. KPeople
2353 also provides facilities to integrate the data provided in user interfaces by
2354 providing QML and Qt Widgets components. The sources are plugin-based, allowing
2355 to easily extend the contacts collection.")
2356 (license license:lgpl2.1+)))
2357
2358 (define-public krunner
2359 (package
2360 (name "krunner")
2361 (version "5.24.0")
2362 (source
2363 (origin
2364 (method url-fetch)
2365 (uri (string-append "mirror://kde/stable/frameworks/"
2366 (version-major+minor version) "/"
2367 name "-" version ".tar.xz"))
2368 (sha256
2369 (base32
2370 "0ff87ijjd47jxf6zw2ggqgngnbyx1rj59wdfgy5wbi3acws6bafl"))))
2371 (build-system cmake-build-system)
2372 (propagated-inputs
2373 `(("plasma-framework" ,plasma-framework)))
2374 (native-inputs
2375 `(("extra-cmake-modules" ,extra-cmake-modules)))
2376 (inputs
2377 `(("kauth" ,kauth)
2378 ("kbookmarks" ,kbookmarks)
2379 ("kcodecs" ,kcodecs)
2380 ("kcompletion" ,kcompletion)
2381 ("kconfig" ,kconfig)
2382 ("kconfigwidgets" ,kconfigwidgets)
2383 ("kcoreaddons" ,kcoreaddons)
2384 ("kio" ,kio)
2385 ("kitemviews" ,kitemviews)
2386 ("ki18n" ,ki18n)
2387 ("kjobwidgets" ,kjobwidgets)
2388 ("kpackage" ,kpackage)
2389 ("kservice" ,kservice)
2390 ("kwidgetsaddons" ,kwidgetsaddons)
2391 ("kxmlgui" ,kxmlgui)
2392 ("qtbase" ,qtbase)
2393 ("qtdeclarative" ,qtdeclarative)
2394 ("solid" ,solid)
2395 ("threadweaver" ,threadweaver)))
2396 (arguments
2397 `(#:tests? #f ; FIXME: 1/1 tests fail.
2398 #:phases
2399 (modify-phases %standard-phases
2400 (add-before 'check 'check-setup
2401 (lambda _
2402 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; Enable debug output
2403 (setenv "QT_QPA_PLATFORM" "offscreen"))))))
2404 (home-page "https://community.kde.org/Frameworks")
2405 (synopsis "Framework for Plasma runners")
2406 (description "The Plasma workspace provides an application called KRunner
2407 which, among other things, allows one to type into a text area which causes
2408 various actions and information that match the text appear as the text is being
2409 typed.")
2410 (license license:lgpl2.1+)))
2411
2412 (define-public kservice
2413 (package
2414 (name "kservice")
2415 (version "5.24.0")
2416 (source
2417 (origin
2418 (method url-fetch)
2419 (uri (string-append "mirror://kde/stable/frameworks/"
2420 (version-major+minor version) "/"
2421 name "-" version ".tar.xz"))
2422 (sha256
2423 (base32
2424 "0w0nsg64d6xhgijr2vh0j5p544qi0q55jpqa9v9mv956zrrdssdk"))))
2425 (build-system cmake-build-system)
2426 (propagated-inputs
2427 `(("kconfig" ,kconfig)
2428 ("kcoreaddons" ,kcoreaddons)))
2429 (native-inputs
2430 `(("extra-cmake-modules" ,extra-cmake-modules)))
2431 (inputs
2432 `(("kcrash" ,kcrash)
2433 ("kdbusaddons" ,kdbusaddons)
2434 ("kdoctools" ,kdoctools)
2435 ("ki18n" ,ki18n)
2436 ("qtbase" ,qtbase)))
2437 (arguments
2438 `(#:tests? #f ; FIXME: 8/10 tests fail.
2439 #:phases
2440 (modify-phases %standard-phases
2441 (add-before 'check 'check-setup
2442 (lambda _
2443 (setenv "HOME" (getcwd))
2444 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
2445 (setenv "QT_QPA_PLATFORM" "offscreen")
2446 #t)))))
2447 (home-page "https://community.kde.org/Frameworks")
2448 (synopsis "Plugin framework for desktop services")
2449 (description "KService provides a plugin framework for handling desktop
2450 services. Services can be applications or libraries. They can be bound to MIME
2451 types or handled by application specific code.")
2452 ;; triple licensed
2453 (license (list license:gpl2+ license:gpl3+ license:lgpl2.1+))))
2454
2455 (define-public ktexteditor
2456 (package
2457 (name "ktexteditor")
2458 (version "5.24.0")
2459 (source
2460 (origin
2461 (method url-fetch)
2462 (uri (string-append "mirror://kde/stable/frameworks/"
2463 (version-major+minor version) "/"
2464 name "-" version ".tar.xz"))
2465 (sha256
2466 (base32
2467 "1ykj1kvm7k1vxb1w235d5hp2swwdqjyp2y4c3pxbvkn999h9x5q5"))))
2468 (build-system cmake-build-system)
2469 (propagated-inputs
2470 `(("kparts" ,kparts)))
2471 (native-inputs
2472 `(("extra-cmake-modules" ,extra-cmake-modules)))
2473 (inputs
2474 `(("karchive" ,karchive)
2475 ("kauth" ,kauth)
2476 ("kbookmarks" ,kbookmarks)
2477 ("kcodecs" ,kcodecs)
2478 ("kcompletion" ,kcompletion)
2479 ("kconfig" ,kconfig)
2480 ("kconfigwidgets" ,kconfigwidgets)
2481 ("kcoreaddons" ,kcoreaddons)
2482 ("kguiaddons" ,kguiaddons)
2483 ("kiconthemes" ,kiconthemes)
2484 ("kio" ,kio)
2485 ("kitemviews" ,kitemviews)
2486 ("ki18n" ,ki18n)
2487 ("kjobwidgets" ,kjobwidgets)
2488 ("kservice" ,kservice)
2489 ("ktextwidgets" ,ktextwidgets)
2490 ("kwidgetsaddons" ,kwidgetsaddons)
2491 ("kxmlgui" ,kxmlgui)
2492 ("libgit2" ,libgit2)
2493 ("perl" ,perl)
2494 ("qtbase" ,qtbase)
2495 ("qtscript" ,qtscript)
2496 ("qtxmlpatterns" ,qtxmlpatterns)
2497 ("solid" ,solid)
2498 ("sonnet" ,sonnet)))
2499 (arguments
2500 `(#:tests? #f ; FIXME: 2/54 tests fail: Cannot find fontdirectory qtbase/lib/font
2501 #:phases
2502 (modify-phases %standard-phases
2503 (add-after 'unpack 'setup
2504 (lambda* (#:key inputs #:allow-other-keys)
2505 (setenv "XDG_DATA_DIRS" ; FIXME build phase doesn't find parts.desktop
2506 (string-append (assoc-ref inputs "kparts") "/share"))
2507 #t))
2508 (add-before 'check 'check-setup
2509 (lambda _
2510 (setenv "HOME" (getcwd))
2511 (setenv "QT_QPA_PLATFORM" "offscreen")
2512 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
2513 #t)))))
2514 (home-page "https://community.kde.org/Frameworks")
2515 (synopsis "Full text editor component")
2516 (description "KTextEditor provides a powerful text editor component that you
2517 can embed in your application, either as a KPart or using the KF5::TextEditor
2518 library.")
2519 ;; triple licensed
2520 (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
2521
2522 (define-public ktextwidgets
2523 (package
2524 (name "ktextwidgets")
2525 (version "5.24.0")
2526 (source
2527 (origin
2528 (method url-fetch)
2529 (uri (string-append "mirror://kde/stable/frameworks/"
2530 (version-major+minor version) "/"
2531 name "-" version ".tar.xz"))
2532 (sha256
2533 (base32
2534 "1q10xav2gkii6s3m31c9xvxf1988l7k2lpib6pyhgsidflmwjm02"))))
2535 (build-system cmake-build-system)
2536 (propagated-inputs
2537 `(("ki18n" ,ki18n)
2538 ("sonnet" ,sonnet)))
2539 (native-inputs
2540 `(("extra-cmake-modules" ,extra-cmake-modules)))
2541 (inputs
2542 `(("kauth" ,kauth)
2543 ("kcodecs" ,kcodecs)
2544 ("kcompletion" ,kcompletion)
2545 ("kconfig" ,kconfig)
2546 ("kconfigwidgets" ,kconfigwidgets)
2547 ("kcoreaddons" ,kcoreaddons)
2548 ("kiconthemes" ,kiconthemes)
2549 ("kservice" ,kservice)
2550 ("kwidgetsaddons" ,kwidgetsaddons)
2551 ("kwindowsystem" ,kwindowsystem)
2552 ("qtbase" ,qtbase)))
2553 (arguments
2554 `(#:phases
2555 (modify-phases %standard-phases
2556 (add-before 'check 'check-setup
2557 (lambda _
2558 (setenv "QT_QPA_PLATFORM" "offscreen")
2559 #t)))))
2560 (home-page "https://community.kde.org/Frameworks")
2561 (synopsis "Text editing widgets")
2562 (description "KTextWidgets provides widgets for displaying and editing text.
2563 It supports rich text as well as plain text.")
2564 ;; dual licensed
2565 (license (list license:lgpl2.0+ license:lgpl2.1+))))
2566
2567 (define-public kwallet
2568 (package
2569 (name "kwallet")
2570 (version "5.24.0")
2571 (source
2572 (origin
2573 (method url-fetch)
2574 (uri (string-append "mirror://kde/stable/frameworks/"
2575 (version-major+minor version) "/"
2576 name "-" version ".tar.xz"))
2577 (sha256
2578 (base32
2579 "0zad5h4vsvcl2xv3vxsjwh42b71xbp6x6rj8cvmw8szr2rzz9gsx"))))
2580 (build-system cmake-build-system)
2581 (native-inputs
2582 `(("extra-cmake-modules" ,extra-cmake-modules)))
2583 (inputs
2584 `(("gpgmepp" ,gpgmepp)
2585 ("kauth" ,kauth)
2586 ("kcodecs" ,kcodecs)
2587 ("kconfig" ,kconfig)
2588 ("kconfigwidgets" ,kconfigwidgets)
2589 ("kcoreaddons" ,kcoreaddons)
2590 ("kdbusaddons" ,kdbusaddons)
2591 ("kdoctools" ,kdoctools)
2592 ("kiconthemes" ,kiconthemes)
2593 ("ki18n" ,ki18n)
2594 ("knotifications" ,knotifications)
2595 ("kservice" ,kservice)
2596 ("kwidgetsaddons" ,kwidgetsaddons)
2597 ("kwindowsystem" ,kwindowsystem)
2598 ("libgcrypt" ,libgcrypt)
2599 ("phonon" ,phonon)
2600 ("qtbase" ,qtbase)))
2601 (home-page "https://community.kde.org/Frameworks")
2602 (synopsis "Safe desktop-wide storage for passwords")
2603 (description "This framework contains an interface to KWallet, a safe
2604 desktop-wide storage for passwords and the kwalletd daemon used to safely store
2605 the passwords on KDE work spaces.")
2606 (license license:lgpl2.1+)))
2607
2608 (define-public kxmlgui
2609 (package
2610 (name "kxmlgui")
2611 (version "5.24.0")
2612 (source
2613 (origin
2614 (method url-fetch)
2615 (uri (string-append "mirror://kde/stable/frameworks/"
2616 (version-major+minor version) "/"
2617 name "-" version ".tar.xz"))
2618 (sha256
2619 (base32
2620 "1qhixldhhcbklmrpjh67440h1rrzqy70h57hw6ialjdsr3pl6ihp"))))
2621 (build-system cmake-build-system)
2622 (propagated-inputs
2623 `(("kconfig" ,kconfig)
2624 ("kconfigwidgets" ,kconfigwidgets)))
2625 (native-inputs
2626 `(("extra-cmake-modules" ,extra-cmake-modules)))
2627 (inputs
2628 `(("attica" ,attica)
2629 ("kauth", kauth)
2630 ("kcodecs" ,kcodecs)
2631 ("kcoreaddons" ,kcoreaddons)
2632 ("kglobalaccel" ,kglobalaccel)
2633 ("kiconthemes" ,kiconthemes)
2634 ("kitemviews" ,kitemviews)
2635 ("ki18n" ,ki18n)
2636 ("ktextwidgets" ,ktextwidgets)
2637 ("kwidgetsaddons" ,kwidgetsaddons)
2638 ("kwindowsystem" ,kwindowsystem)
2639 ("qtbase" ,qtbase)
2640 ("sonnet" ,sonnet)))
2641 (arguments
2642 `(#:tests? #f ; FIXME: 1/5 tests fail.
2643 #:phases
2644 (modify-phases %standard-phases
2645 (add-before 'check 'check-setup
2646 (lambda _
2647 (setenv "HOME" (getcwd))
2648 (setenv "QT_QPA_PLATFORM" "offscreen")
2649 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
2650 #t)))))
2651 (home-page "https://community.kde.org/Frameworks")
2652 (synopsis "Framework for managing menu and toolbar actions")
2653 (description "KXMLGUI provides a framework for managing menu and toolbar
2654 actions in an abstract way. The actions are configured through a XML description
2655 and hooks in the application code. The framework supports merging of multiple
2656 descriptions for integrating actions from plugins.")
2657 ;; dual licensed
2658 (license (list license:gpl2+ license:lgpl2.1+))))
2659
2660 (define-public kxmlrpcclient
2661 (package
2662 (name "kxmlrpcclient")
2663 (version "5.24.0")
2664 (source
2665 (origin
2666 (method url-fetch)
2667 (uri (string-append "mirror://kde/stable/frameworks/"
2668 (version-major+minor version) "/"
2669 name "-" version ".tar.xz"))
2670 (sha256
2671 (base32
2672 "06ap6ipzqimz1rfrcr7z8zc7idy7sg4a97dws7h52i34ms7jqnc8"))))
2673 (build-system cmake-build-system)
2674 (propagated-inputs
2675 `(("kio" ,kio)))
2676 (native-inputs
2677 `(("extra-cmake-modules" ,extra-cmake-modules)))
2678 (inputs
2679 `(("kauth" ,kauth)
2680 ("kbookmarks" ,kbookmarks)
2681 ("kcodecs" ,kcodecs)
2682 ("kcompletion" ,kcompletion)
2683 ("kconfig" ,kconfig)
2684 ("kconfigwidgets" ,kconfigwidgets)
2685 ("kcoreaddons" ,kcoreaddons)
2686 ("kitemviews" ,kitemviews)
2687 ("ki18n" ,ki18n)
2688 ("kjobwidgets" ,kjobwidgets)
2689 ("kservice" ,kservice)
2690 ("kwidgetsaddons" ,kwidgetsaddons)
2691 ("kxmlgui" ,kxmlgui)
2692 ("qtbase" ,qtbase)
2693 ("solid" ,solid)))
2694 (home-page "https://community.kde.org/Frameworks")
2695 (synopsis "XML-RPC client")
2696 (description "This library contains simple XML-RPC Client support. It is a
2697 complete client and is easy to use. Only one interface is exposed,
2698 kxmlrpcclient/client.h and from that interface, you only need to use 3 methods:
2699 setUrl, setUserAgent and call.")
2700 ;; dual licensed
2701 (license (list license:bsd-2 license:lgpl2.1+))))
2702
2703 (define-public plasma-framework
2704 (package
2705 (name "plasma-framework")
2706 (version "5.24.0")
2707 (source
2708 (origin
2709 (method url-fetch)
2710 (uri (string-append "mirror://kde/stable/frameworks/"
2711 (version-major+minor version) "/"
2712 name "-" version ".tar.xz"))
2713 (sha256
2714 (base32
2715 "0981vm00541dzihlr1fsax05biwp2ddpwjrmvnfysx5jagdc65cb"))))
2716 (build-system cmake-build-system)
2717 (propagated-inputs
2718 `(("kpackage" ,kpackage)
2719 ("kservice" ,kservice)))
2720 (native-inputs
2721 `(("extra-cmake-modules" ,extra-cmake-modules)))
2722 (inputs
2723 `(("kactivities" ,kactivities)
2724 ("karchive" ,karchive)
2725 ("kauth" ,kauth)
2726 ("kbookmarks" ,kbookmarks)
2727 ("kcodecs" ,kcodecs)
2728 ("kcompletion" ,kcompletion)
2729 ("kconfig" ,kconfig)
2730 ("kconfigwidgets" ,kconfigwidgets)
2731 ("kcoreaddons" ,kcoreaddons)
2732 ("kdbusaddons" ,kdbusaddons)
2733 ("kdeclarative" ,kdeclarative)
2734 ("kdoctools" ,kdoctools)
2735 ("kglobalaccel" ,kglobalaccel)
2736 ("kguiaddons" ,kguiaddons)
2737 ("kiconthemes" ,kiconthemes)
2738 ("kitemviews" ,kitemviews)
2739 ("kio" ,kio)
2740 ("ki18n" ,ki18n)
2741 ("kjobwidgets" ,kjobwidgets)
2742 ("knotificantions" ,knotifications)
2743 ("kwidgetsaddons" ,kwidgetsaddons)
2744 ("kwindowsystem" ,kwindowsystem)
2745 ("kxmlgui" ,kxmlgui)
2746 ("phonon" ,phonon)
2747 ("qtbase" ,qtbase)
2748 ("qtdeclarative" ,qtdeclarative)
2749 ("qtsvg" ,qtsvg)
2750 ("qtx11extras" ,qtx11extras)
2751 ("solid" ,solid)))
2752 (arguments
2753 `(#:tests? #f ; FIXME: 13/14 tests fail.
2754 #:phases
2755 (modify-phases %standard-phases
2756 (add-before 'check 'check-setup
2757 (lambda _
2758 (setenv "HOME" (getcwd))
2759 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; Enable debug output
2760 (setenv "QT_QPA_PLATFORM" "offscreen")
2761 #t)))))
2762 (home-page "https://community.kde.org/Frameworks")
2763 (synopsis "Libraries, components and tools of Plasma workspaces")
2764 (description "The plasma framework provides QML components, libplasma and
2765 script engines.")
2766 ;; dual licensed
2767 (license (list license:gpl2+ license:lgpl2.1+))))