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