gnu: ruby-listen: Update to 3.1.5.
[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>
4467c2d1 4;;; Copyright © 2016,2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
bbf311e0 5;;; Copyright © 2016 David Craven <david@craven.ch>
5578c298 6;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
f272987a
AE
7;;;
8;;; This file is part of GNU Guix.
9;;;
10;;; GNU Guix is free software; you can redistribute it and/or modify it
11;;; under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 3 of the License, or (at
13;;; your option) any later version.
14;;;
15;;; GNU Guix is distributed in the hope that it will be useful, but
16;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;;; GNU General Public License for more details.
19;;;
20;;; You should have received a copy of the GNU General Public License
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22
23(define-module (gnu packages kde-frameworks)
24 #:use-module (guix build-system cmake)
25 #:use-module (guix download)
26 #:use-module ((guix licenses) #:prefix license:)
27 #:use-module (guix packages)
4a827670 28 #:use-module (guix utils)
834d1222 29 #:use-module (gnu packages)
17252110 30 #:use-module (gnu packages acl)
594c7f35 31 #:use-module (gnu packages admin)
b05eb5dd 32 #:use-module (gnu packages attr)
10afdf78 33 #:use-module (gnu packages base)
a3485855 34 #:use-module (gnu packages boost)
9fd502ce 35 #:use-module (gnu packages bison)
88549d2e 36 #:use-module (gnu packages boost)
f90b81a5 37 #:use-module (gnu packages compression)
092ab1c0 38 #:use-module (gnu packages databases)
72783891 39 #:use-module (gnu packages disk)
110db07d 40 #:use-module (gnu packages docbook)
6ad3befe 41 #:use-module (gnu packages flex)
208094b4 42 #:use-module (gnu packages freedesktop)
4f4afb63 43 #:use-module (gnu packages gettext)
fc3d355d 44 #:use-module (gnu packages glib)
864c25f4 45 #:use-module (gnu packages gnome)
a3485855 46 #:use-module (gnu packages gnupg)
92605669 47 #:use-module (gnu packages graphics)
4bff300b 48 #:use-module (gnu packages gstreamer)
9eb0f430 49 #:use-module (gnu packages image)
786cb783 50 #:use-module (gnu packages kerberos)
ab313cd0 51 #:use-module (gnu packages libreoffice)
9fd502ce 52 #:use-module (gnu packages linux)
9eb0f430
HG
53 #:use-module (gnu packages mp3)
54 #:use-module (gnu packages pdf)
7090518f 55 #:use-module (gnu packages pcre)
110db07d 56 #:use-module (gnu packages perl)
4a827670 57 #:use-module (gnu packages pkg-config)
46c27be1 58 #:use-module (gnu packages polkit)
06a79865 59 #:use-module (gnu packages python)
4a827670 60 #:use-module (gnu packages qt)
9eb0f430 61 #:use-module (gnu packages textutils)
10afdf78 62 #:use-module (gnu packages tls)
def00811 63 #:use-module (gnu packages version-control)
9eb0f430 64 #:use-module (gnu packages video)
110db07d
DC
65 #:use-module (gnu packages web)
66 #:use-module (gnu packages xml)
834d1222
TD
67 #:use-module (gnu packages xorg)
68 #:use-module (srfi srfi-1))
f272987a 69
f272987a
AE
70(define-public extra-cmake-modules
71 (package
72 (name "extra-cmake-modules")
9eb0f430 73 (version "5.34.0")
1c484e98
DC
74 (source (origin
75 (method url-fetch)
76 (uri (string-append
77 "mirror://kde/stable/frameworks/"
78 (version-major+minor version) "/"
79 name "-" version ".tar.xz"))
80 (sha256
81 (base32
9eb0f430 82 "1r3dyvrv77xrpjlzpa6yazwkknirvx1ccvdyj9x0mlk4vfi05nh5"))))
f272987a 83 (build-system cmake-build-system)
5c913ba1
DC
84 (native-inputs
85 `(("qtbase" ,qtbase))) ; For tests (needs qmake)
86 (arguments
87 `(#:phases
88 (modify-phases %standard-phases
7b722e3c
HG
89 (add-after 'unpack 'fix-lib-path
90 (lambda _
91 ;; Always install into /lib and not into /lib64.
92 (substitute* "kde-modules/KDEInstallDirs.cmake"
93 (("\"lib64\"") "\"lib\""))))
5c913ba1
DC
94 ;; install and check phase are swapped to prevent install from failing
95 ;; after testsuire has run
96 (add-after 'install 'check-post-install
97 (assoc-ref %standard-phases 'check))
98 (delete 'check))))
99 ;; optional dependencies - to save space, we do not add these inputs.
100 ;; Sphinx > 1.2:
101 ;; Required to build Extra CMake Modules documentation in Qt Help format.
102 ;; Qt5LinguistTools , Qt5 linguist tools. , <http://www.qt.io/>
103 ;; Required to run tests for the ECMPoQmTools module.
104 ;; Qt5Core
105 ;; Required to run tests for the ECMQtDeclareLoggingCategory module,
106 ;; and for some tests of the KDEInstallDirs module.
f272987a
AE
107 (home-page "https://community.kde.org/Frameworks")
108 (synopsis "CMake module files for common software used by KDE")
109 (description "The Extra CMake Modules package, or ECM, adds to the
110modules provided by CMake to find common software. In addition, it provides
111common build settings used in software produced by the KDE community.")
112 (license license:bsd-3)))
4a827670 113
689bb11a
DC
114(define-public phonon
115 (package
116 (name "phonon")
446809fb 117 (version "4.9.1")
84dee852
DC
118 (source (origin
119 (method url-fetch)
120 (uri (string-append
121 "mirror://kde/stable/phonon"
122 "/" version "/"
123 name "-" version ".tar.xz"))
124 (sha256
125 (base32
446809fb 126 "177647r2jqfm32hqcz2nqfqv6v48hn5ab2vc31svba2wz23fkgk7"))))
689bb11a
DC
127 (build-system cmake-build-system)
128 (native-inputs
1e0ae3b3
HG
129 ;; TODO: Add qttools to build the Qt Designer plugin.
130 ;; TODO: Think about adding pulseaudio. Is it required for sound?
689bb11a
DC
131 `(("extra-cmake-modules" ,extra-cmake-modules)))
132 (inputs
133 `(("qtbase" ,qtbase)))
134 (arguments
135 `(#:configure-flags
136 '("-DCMAKE_CXX_FLAGS=-fPIC"
5578c298
TD
137 "-DPHONON_BUILD_PHONON4QT5=ON"
138 "-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON")
139 #:phases
140 (modify-phases %standard-phases
141 (add-before 'install 'patch-installdir
142 (lambda* (#:key inputs outputs #:allow-other-keys)
143 (let ((regex (string-append "(INSTALL DESTINATION \")"
144 (assoc-ref inputs "qtbase"))))
145 (substitute* "cmake_install.cmake"
146 ((regex all dest)
147 (string-append dest (assoc-ref outputs "out")))))
148 #t)))))
689bb11a
DC
149 (home-page "https://phonon.kde.org")
150 (synopsis "KDE's multimedia library")
151 (description "KDE's multimedia library.")
152 (license license:lgpl2.1+)))
153
4bff300b
TD
154(define-public phonon-backend-gstreamer
155 (package
156 (name "phonon-backend-gstreamer")
157 (version "4.9.0")
158 (source (origin
159 (method url-fetch)
160 (uri (string-append
161 "mirror://kde/stable/phonon/"
162 name "/" version "/"
163 name "-" version ".tar.xz"))
164 (sha256
165 (base32
166 "1wc5p1rqglf0n1avp55s50k7fjdzdrhg0gind15k8796w7nfbhyf"))))
167 (build-system cmake-build-system)
168 (native-inputs
169 `(("extra-cmake-modules" ,extra-cmake-modules)
170 ("pkg-config" ,pkg-config)))
171 (inputs
172 `(("qtbase" ,qtbase)
173 ("phonon" ,phonon)
174 ("qtbase" ,qtbase)
175 ("qtx11extras" ,qtx11extras)
176 ("gstreamer" ,gstreamer)
177 ("gst-plugins-base" ,gst-plugins-base)
178 ("libxml2" ,libxml2)))
179 (arguments
180 `(#:configure-flags
181 '( "-DPHONON_BUILD_PHONON4QT5=ON")))
182 (home-page "https://phonon.kde.org")
183 (synopsis "Phonon backend which uses GStreamer")
184 (description "Phonon makes use of backend libraries to provide sound.
185Phonon-GStreamer is a backend based on the GStreamer multimedia library.")
186 ;; license: source files mention "either version 2.1 or 3"
187 (license (list license:lgpl2.1 license:lgpl3))))
188
30ffab50
DC
189(define-public gpgmepp
190 (package
191 (name "gpgmepp")
443a60aa
DC
192 (version "16.08.2")
193 (source (origin
194 (method url-fetch)
195 (uri (string-append
196 "mirror://kde/stable/applications"
197 "/" version "/src/"
198 name "-" version ".tar.xz"))
199 (sha256
200 (base32
201 "0828qlhdi1i26n2xgyb01c0q77m6jlppbxv6mprryxq0ma88940a"))))
30ffab50
DC
202 (build-system cmake-build-system)
203 (native-inputs
204 `(("extra-cmake-modules" ,extra-cmake-modules)))
205 (propagated-inputs
206 `(("boost" ,boost)
207 ("gpgme" ,gpgme)))
208 (inputs
209 `(("qtbase" ,qtbase)))
210 (home-page "https://community.kde.org/Frameworks")
211 (synopsis "C++ bindings/wrapper for gpgme")
212 (description "C++ bindings/wrapper for gpgme.")
73577a66
HG
213 (license license:lgpl2.1+)
214 (properties `((superseded . ,gpgme)))))
30ffab50 215
72783891
DC
216(define-public kpmcore
217 (package
218 (name "kpmcore")
219 (version "2.2.1")
bd0fc238
DC
220 (source (origin
221 (method url-fetch)
222 (uri (string-append
223 "mirror://kde/stable/kpmcore"
224 "/" version "/src/"
225 name "-" version ".tar.xz"))
226 (sha256
227 (base32
228 "1blila6ncqbmzhycx3szrbkxc000pzh62956mw5ihxvhrqpncg2p"))))
72783891
DC
229 (build-system cmake-build-system)
230 (native-inputs
231 `(("extra-cmake-modules" ,extra-cmake-modules)
232 ("pkg-config" ,pkg-config)))
233 (inputs
234 `(("kconfigwidgets" ,kconfigwidgets)
235 ("kiconthemes" ,kiconthemes)
236 ("kio" ,kio)
237 ("ki18n" ,ki18n)
238 ("kservice" ,kservice)
239 ("libatasmart" ,libatasmart)
240 ("parted" ,parted)
241 ("qtbase" ,qtbase)
242 ("util-linux" ,util-linux)))
243 (home-page "https://community.kde.org/Frameworks")
244 (synopsis "Library for managing partitions")
245 (description "Library for managing partitions.")
246 (license license:gpl3+)))
247
689bb11a 248
bbf311e0
DC
249;; Tier 1
250;;
251;; Tier 1 frameworks depend only on Qt (and possibly a small number of other
252;; third-party libraries), so can easily be used by an Qt-based project.
253
254(define-public attica
255 (package
256 (name "attica")
9eb0f430 257 (version "5.34.0")
5eb1b33b
DC
258 (source (origin
259 (method url-fetch)
260 (uri (string-append
261 "mirror://kde/stable/frameworks/"
262 (version-major+minor version) "/"
263 name "-" version ".tar.xz"))
264 (sha256
265 (base32
9eb0f430 266 "0l8gmsmpwzg6nzwwlnsdl6r6qkhnhirpmrkag9xpd2sbmy734x53"))))
bbf311e0
DC
267 (build-system cmake-build-system)
268 (native-inputs
269 `(("extra-cmake-modules" ,extra-cmake-modules)))
270 (inputs
271 `(("qtbase" ,qtbase)))
272 (home-page "https://community.kde.org/Frameworks")
273 (synopsis "Open Collaboration Service client library")
274 (description "Attica is a Qt library that implements the Open
275Collaboration Services API version 1.6.
276
277It grants easy access to the services such as querying information about
278persons and contents. The library is used in KNewStuff3 as content provider.
279In order to integrate with KDE's Plasma Desktop, a platform plugin exists in
280kdebase.
281
282The REST API is defined here:
283http://freedesktop.org/wiki/Specifications/open-collaboration-services/")
284 (license (list license:lgpl2.1+ license:lgpl3+))))
285
fc3d355d
DC
286(define-public bluez-qt
287 (package
288 (name "bluez-qt")
9eb0f430 289 (version "5.34.0")
bfa96eba
DC
290 (source (origin
291 (method url-fetch)
292 (uri (string-append
293 "mirror://kde/stable/frameworks/"
294 (version-major+minor version) "/"
295 name "-" version ".tar.xz"))
296 (sha256
297 (base32
9eb0f430 298 "040gs2a1fx996gqdx2pwxh00szb1vb85055z946nqvqfn01921df"))))
fc3d355d
DC
299 (build-system cmake-build-system)
300 (native-inputs
301 `(("dbus" ,dbus)
302 ("extra-cmake-modules" ,extra-cmake-modules)))
303 (inputs
1e0ae3b3 304 ;; TODO: qtdeclarative (yields one failing test)
fc3d355d
DC
305 `(("qtbase" ,qtbase)))
306 (arguments
307 `(#:configure-flags
bfa96eba 308 '("-DINSTALL_UDEV_RULE:BOOL=OFF")
fc3d355d 309 #:phases
bfa96eba
DC
310 (modify-phases %standard-phases
311 (replace 'check
312 (lambda _
313 (setenv "DBUS_FATAL_WARNINGS" "0")
314 (zero? (system* "dbus-launch" "ctest" ".")))))))
fc3d355d
DC
315 (home-page "https://community.kde.org/Frameworks")
316 (synopsis "QML wrapper for BlueZ")
317 (description "bluez-qt is a Qt-style library for accessing the bluez
318Bluetooth stack. It is used by the KDE Bluetooth stack, BlueDevil.")
319 (license (list license:lgpl2.1+ license:lgpl3+))))
320
e510a263
DC
321(define-public breeze-icons
322 (package
323 (name "breeze-icons")
9eb0f430 324 (version "5.34.0")
02dc8847
DC
325 (source (origin
326 (method url-fetch)
327 (uri (string-append
328 "mirror://kde/stable/frameworks/"
329 (version-major+minor version) "/"
330 name "-" version ".tar.xz"))
331 (sha256
332 (base32
9eb0f430 333 "1znzlggb6yrkw5rr2n75g7cfv9x5p9d55hss09c4i79lxrh1bk4a"))))
e510a263
DC
334 (build-system cmake-build-system)
335 (native-inputs
02dc8847
DC
336 `(("extra-cmake-modules" ,extra-cmake-modules)
337 ("fdupes" ,fdupes)
338 ("libxml2" ,libxml2)))
e510a263
DC
339 (inputs
340 `(("qtbase" ,qtbase)))
341 (home-page "https://community.kde.org/Frameworks")
342 (synopsis "Default KDE Plasma 5 icon theme")
343 (description "Breeze provides a freedesktop.org compatible icon theme.
344It is the default icon theme for the KDE Plasma 5 desktop.")
345 ;; The license file mentions lgpl3+. The license files in the source
346 ;; directories are lgpl3, while the top directory contains the lgpl2.1.
347 ;; text.
348 (license license:lgpl3+)))
349
06a79865
DC
350(define-public kapidox
351 (package
352 (name "kapidox")
9eb0f430 353 (version "5.34.0")
8fea1a23
DC
354 (source (origin
355 (method url-fetch)
356 (uri (string-append
357 "mirror://kde/stable/frameworks/"
358 (version-major+minor version) "/"
359 name "-" version ".tar.xz"))
360 (sha256
361 (base32
9eb0f430 362 "190d5z6i71jrvfna6vnlim2p9rgc33s1fxl0zarn276683i1rwvg"))))
06a79865
DC
363 (build-system cmake-build-system)
364 (arguments
365 `(#:tests? #f)) ; has no test target
366 (native-inputs
367 `(("extra-cmake-modules" ,extra-cmake-modules)))
368 (propagated-inputs
369 ;; kapidox is a python programm
370 ;; TODO: check if doxygen has to be installed, the readme does not
371 ;; mention it. The openSuse .rpm lists doxygen, graphviz, graphviz-gd,
372 ;; and python-xml.
373 `(("python" ,python)
374 ("python-jinja2" ,python-jinja2)
375 ("python-pyyaml" ,python-pyyaml)))
376 (inputs
377 `(("qtbase" ,qtbase)))
378 (home-page "https://community.kde.org/Frameworks")
379 (synopsis "KDE Doxygen Tools")
06a79865
DC
380 (description "This framework contains scripts and data for building API
381documentation (dox) in a standard format and style for KDE.
382
383For the actual documentation extraction and formatting the Doxygen tool is
384used, but this framework provides a wrapper script to make generating the
385documentation more convenient (including reading settings from the target
386framework or other module) and a standard template for the generated
387documentation.")
388 ;; Most parts are bsd-2, but incuded jquery is expat
389 ;; This list is taken from http://packaging.neon.kde.org/cgit/
390 (license (list license:bsd-2 license:expat))))
391
f90b81a5
DC
392(define-public karchive
393 (package
394 (name "karchive")
9eb0f430 395 (version "5.34.0")
ea95b701
DC
396 (source (origin
397 (method url-fetch)
398 (uri (string-append
399 "mirror://kde/stable/frameworks/"
400 (version-major+minor version) "/"
401 name "-" version ".tar.xz"))
402 (sha256
403 (base32
9eb0f430 404 "0g8jskdar2znviwh9bs3kia093wgfnhl04x4jcg2rvh78ylkpvxw"))))
f90b81a5
DC
405 (build-system cmake-build-system)
406 (native-inputs
407 `(("extra-cmake-modules" ,extra-cmake-modules)))
408 (inputs
409 `(("bzip2" ,bzip2)
410 ("qtbase" ,qtbase)
411 ("xz" ,xz)
412 ("zlib" ,zlib)))
413 (home-page "https://community.kde.org/Frameworks")
414 (synopsis "Qt 5 addon providing access to numerous types of archives")
415 (description "KArchive provides classes for easy reading, creation and
416manipulation of 'archive' formats like ZIP and TAR.
417
418It also provides transparent compression and decompression of data, like the
419GZip format, via a subclass of QIODevice.")
420 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
421 ;; under a variety of licenses.
422 ;; This list is taken from http://packaging.neon.kde.org/cgit/
423 (license (list license:lgpl2.1 license:lgpl2.1+
424 license:lgpl3+ license:bsd-2))))
425
5c86352a
DC
426(define-public kcodecs
427 (package
428 (name "kcodecs")
9eb0f430 429 (version "5.34.0")
78fc358f
DC
430 (source (origin
431 (method url-fetch)
432 (uri (string-append
433 "mirror://kde/stable/frameworks/"
434 (version-major+minor version) "/"
435 name "-" version ".tar.xz"))
436 (sha256
437 (base32
9eb0f430 438 "0k51s4qlf0kq6i8f3wrsz5lrkzjqb1j26hrmlmg57vn91r58iash"))))
5c86352a
DC
439 (build-system cmake-build-system)
440 (native-inputs
441 `(("extra-cmake-modules" ,extra-cmake-modules)
442 ("qttools" ,qttools)))
443 (inputs
444 `(("qtbase" ,qtbase)))
445 (home-page "https://community.kde.org/Frameworks")
446 (synopsis "String encoding and manipulating library")
447 (description "KCodecs provide a collection of methods to manipulate
448strings using various encodings.
449
450It can automatically determine the charset of a string, translate XML
451entities, validate email addresses, and find encodings by name in a more
452tolerant way than QTextCodec (useful e.g. for data coming from the
453Internet).")
454 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
455 ;; under a variety of licenses.
456 ;; This list is taken from http://packaging.neon.kde.org/cgit/
457 (license (list license:gpl2 license:gpl2+ license:bsd-2
458 license:lgpl2.1 license:lgpl2.1+ license:expat
459 license:lgpl3+ license:mpl1.1))))
460
594c7f35
DC
461(define-public kconfig
462 (package
463 (name "kconfig")
9eb0f430 464 (version "5.34.0")
a6fec165
DC
465 (source (origin
466 (method url-fetch)
467 (uri (string-append
468 "mirror://kde/stable/frameworks/"
469 (version-major+minor version) "/"
470 name "-" version ".tar.xz"))
471 (sha256
472 (base32
9eb0f430 473 "0blbx6b3fk6p8cv2iywk2avn9w1411bb0g5wwv456a9ggi01988x"))))
594c7f35
DC
474 (build-system cmake-build-system)
475 (native-inputs
476 `(("extra-cmake-modules" ,extra-cmake-modules)
477 ("inetutils" ,inetutils)
478 ("qttools" ,qttools)
479 ("xorg-server" ,xorg-server)))
480 (inputs
481 `(("qtbase" ,qtbase)))
482 (arguments
483 `(#:phases
a6fec165
DC
484 (modify-phases %standard-phases
485 (add-before 'check 'check-setup
486 (lambda _
487 (setenv "HOME" (getcwd))
488 (setenv "TMPDIR" (getcwd))
594c7f35 489 #t))
a6fec165
DC
490 (add-before 'check 'start-xorg-server
491 (lambda* (#:key inputs #:allow-other-keys)
492 ;; The test suite requires a running X server.
493 (system (string-append (assoc-ref inputs "xorg-server")
494 "/bin/Xvfb :1 &"))
495 (setenv "DISPLAY" ":1")
594c7f35
DC
496 #t)))))
497 (home-page "https://community.kde.org/Frameworks")
498 (synopsis "Kconfiguration settings framework for Qt")
499 (description "KConfig provides an advanced configuration system.
500It is made of two parts: KConfigCore and KConfigGui.
501
502KConfigCore provides access to the configuration files themselves.
503It features:
504
a0cbf1b9 505@enumerate
594c7f35
DC
506@item Code generation: describe your configuration in an XML file, and use
507`kconfig_compiler to generate classes that read and write configuration
508entries.
509
510@item Cascading configuration files (global settings overridden by local
511settings).
512
513@item Optional shell expansion support (see docs/options.md).
514
515@item The ability to lock down configuration options (see docs/options.md).
a0cbf1b9 516@end enumerate
594c7f35
DC
517
518KConfigGui provides a way to hook widgets to the configuration so that they
519are automatically initialized from the configuration and automatically
520propagate their changes to their respective configuration files.")
521 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
522 ;; under a variety of licenses.
523 ;; This list is taken from http://packaging.neon.kde.org/cgit/
524 (license (list license:lgpl2.1 license:lgpl2.1+ license:expat
525 license:lgpl3+ license:gpl1 ; licende:mit-olif
526 license:bsd-2 license:bsd-3))))
527
f3f250ad
DC
528(define-public kcoreaddons
529 (package
530 (name "kcoreaddons")
9eb0f430 531 (version "5.34.0")
b69b81ca
DC
532 (source (origin
533 (method url-fetch)
534 (uri (string-append
535 "mirror://kde/stable/frameworks/"
536 (version-major+minor version) "/"
537 name "-" version ".tar.xz"))
538 (sha256
539 (base32
9eb0f430 540 "1ybr4bv8rhp4cxpf8mfsc4dk0klzrfh1z8g2cw6zasmksxmmwi90"))))
f3f250ad
DC
541 (build-system cmake-build-system)
542 (native-inputs
543 `(("extra-cmake-modules" ,extra-cmake-modules)
544 ("qttools" ,qttools)
545 ("xorg-server" ,xorg-server))) ; for the tests
546 (inputs
547 `(("qtbase" ,qtbase)))
548 (arguments
549 `(#:tests? #f ; FIXME: Test failure caused by stout/stderr being interleaved.
550 #:phases
b69b81ca
DC
551 (modify-phases %standard-phases
552 (add-before 'check 'check-setup
553 (lambda _
b69b81ca
DC
554 (setenv "HOME" (getcwd))
555 (setenv "TMPDIR" (getcwd))
556 #t)))))
f3f250ad
DC
557 (home-page "https://community.kde.org/Frameworks")
558 (synopsis "Qt addon library with a collection of non-GUI utilities")
559 (description "KCoreAddons provides classes built on top of QtCore to
560perform various tasks such as manipulating mime types, autosaving files,
561creating backup files, generating random sequences, performing text
562manipulations such as macro replacement, accessing user information and
563many more.")
564 (license (list license:lgpl2.0+ license:lgpl2.1+))))
565
02613cf5
DC
566(define-public kdbusaddons
567 (package
568 (name "kdbusaddons")
9eb0f430 569 (version "5.34.0")
e361ff6a
DC
570 (source (origin
571 (method url-fetch)
572 (uri (string-append
573 "mirror://kde/stable/frameworks/"
574 (version-major+minor version) "/"
575 name "-" version ".tar.xz"))
576 (sha256
577 (base32
9eb0f430 578 "1skblxfnjhbyiwavsfhksc2ybc2sikw3xr0js6mlfbpmvqzghn6h"))
834d1222 579 (patches (search-patches "kdbusaddons-kinit-file-name.patch"))))
02613cf5
DC
580 (build-system cmake-build-system)
581 (native-inputs
582 `(("extra-cmake-modules" ,extra-cmake-modules)
583 ("dbus" ,dbus)
584 ("qttools" ,qttools)))
585 (inputs
586 `(("qtbase" ,qtbase)
834d1222
TD
587 ("qtx11extras" ,qtx11extras)
588 ("kinit" ,kinit-bootstrap))) ;; kinit-bootstrap: kinit package which does not depend on kdbusaddons.
02613cf5
DC
589 (arguments
590 `(#:phases
e361ff6a 591 (modify-phases %standard-phases
834d1222
TD
592 (add-before
593 'configure 'patch-source
594 (lambda* (#:key inputs #:allow-other-keys)
595 ;; look for the kdeinit5 executable in kinit's store directory,
596 ;; instead of the current application's directory:
597 (substitute* "src/kdeinitinterface.cpp"
598 (("@SUBSTITUTEME@") (assoc-ref inputs "kinit")))))
e361ff6a
DC
599 (replace 'check
600 (lambda _
601 (setenv "DBUS_FATAL_WARNINGS" "0")
602 (zero? (system* "dbus-launch" "ctest" ".")))))))
02613cf5
DC
603 (home-page "https://community.kde.org/Frameworks")
604 (synopsis "Convenience classes for DBus")
605 (description "KDBusAddons provides convenience classes on top of QtDBus,
606as well as an API to create KDED modules.")
607 ;; Some source files mention lgpl2.0+, but the included license is
608 ;; the lgpl2.1. Some source files are under non-copyleft licenses.
609 (license license:lgpl2.1+)))
610
3dbb816a
DC
611(define-public kdnssd
612 (package
613 (name "kdnssd")
9eb0f430 614 (version "5.34.0")
ce45f9ef
DC
615 (source (origin
616 (method url-fetch)
617 (uri (string-append
618 "mirror://kde/stable/frameworks/"
619 (version-major+minor version) "/"
620 name "-" version ".tar.xz"))
621 (sha256
622 (base32
9eb0f430 623 "082mdim9wykdap4fmjfayk443rbarsk1p8cn3mspx2nw047yja80"))))
3dbb816a
DC
624 (build-system cmake-build-system)
625 (native-inputs
626 `(("extra-cmake-modules" ,extra-cmake-modules)
627 ("qttools" ,qttools)))
628 (inputs
629 `(("qtbase" ,qtbase)))
630 (home-page "https://community.kde.org/Frameworks")
631 (synopsis "Network service discovery using Zeroconf")
632 (description "KDNSSD is a library for handling the DNS-based Service
633Discovery Protocol (DNS-SD), the layer of Zeroconf that allows network services,
634such as printers, to be discovered without any user intervention or centralized
635infrastructure.")
636 (license license:lgpl2.1+)))
637
7a150b4d
DC
638(define-public kguiaddons
639 (package
640 (name "kguiaddons")
9eb0f430 641 (version "5.34.0")
ee6cebf6
DC
642 (source (origin
643 (method url-fetch)
644 (uri (string-append
645 "mirror://kde/stable/frameworks/"
646 (version-major+minor version) "/"
647 name "-" version ".tar.xz"))
648 (sha256
649 (base32
9eb0f430 650 "1nmlwvy2jdmh0m6bmahvk68vl2rs9s28c10dkncpi6gvhsdkigqx"))))
7a150b4d 651 (build-system cmake-build-system)
1e0ae3b3
HG
652 ;; TODO: Build packages for the Python bindings. Ideally this will be
653 ;; done for all versions of python guix supports. Requires python,
654 ;; python-sip, clang-python, libclang. Requires python-2 in all cases for
655 ;; clang-python.
7a150b4d
DC
656 (native-inputs
657 `(("extra-cmake-modules" ,extra-cmake-modules)
986447c8 658 ("pkg-config" ,pkg-config)))
7a150b4d 659 (inputs
e7aab773
HG
660 `(("qtbase" ,qtbase)
661 ("qtx11extras" ,qtx11extras)))
7a150b4d
DC
662 (arguments
663 `(#:phases
ee6cebf6
DC
664 (modify-phases %standard-phases
665 (add-before 'check 'check-setup
666 (lambda _
94e24d81 667 ;; make Qt render "offscreen", required for tests
ee6cebf6
DC
668 (setenv "QT_QPA_PLATFORM" "offscreen")
669 #t)))))
7a150b4d
DC
670 (home-page "https://community.kde.org/Frameworks")
671 (synopsis "Utilities for graphical user interfaces")
672 (description "The KDE GUI addons provide utilities for graphical user
673interfaces in the areas of colors, fonts, text, images, keyboard input.")
674 (license (list license:gpl2+ license:lgpl2.1+))))
675
4f4afb63
DC
676(define-public ki18n
677 (package
678 (name "ki18n")
9eb0f430 679 (version "5.34.0")
e751556a
DC
680 (source (origin
681 (method url-fetch)
682 (uri (string-append
683 "mirror://kde/stable/frameworks/"
684 (version-major+minor version) "/"
685 name "-" version ".tar.xz"))
686 (sha256
687 (base32
9eb0f430 688 "0glvmmy01mp6hnix79aichgwjq842kgf5q5zynkg6mch85y4ary7"))))
4f4afb63
DC
689 (build-system cmake-build-system)
690 (propagated-inputs
b94a6ca0 691 `(("gettext" ,gettext-minimal)
4f4afb63
DC
692 ("python" ,python)))
693 (native-inputs
694 `(("extra-cmake-modules" ,extra-cmake-modules)))
695 (inputs
696 `(("qtbase" ,qtbase)
697 ("qtdeclarative" ,qtdeclarative)
698 ("qtscript" ,qtscript)))
699 (arguments
700 `(#:phases
e751556a
DC
701 (modify-phases %standard-phases
702 (add-before 'check 'check-setup
703 (lambda _
704 (setenv "HOME" (getcwd))
705 #t)))))
4f4afb63
DC
706 (home-page "https://community.kde.org/Frameworks")
707 (synopsis "KDE Gettext-based UI text internationalization")
708 (description "KI18n provides functionality for internationalizing user
709interface text in applications, based on the GNU Gettext translation system. It
710wraps the standard Gettext functionality, so that the programmers and translators
711can use the familiar Gettext tools and workflows.
712
713KI18n provides additional functionality as well, for both programmers and
714translators, which can help to achieve a higher overall quality of source and
715translated text. This includes argument capturing, customizable markup, and
716translation scripting.")
717 (license license:lgpl2.1+)))
718
8cb7bab9
DC
719(define-public kidletime
720 (package
721 (name "kidletime")
9eb0f430 722 (version "5.34.0")
bdf84c9e
DC
723 (source (origin
724 (method url-fetch)
725 (uri (string-append
726 "mirror://kde/stable/frameworks/"
727 (version-major+minor version) "/"
728 name "-" version ".tar.xz"))
729 (sha256
730 (base32
9eb0f430 731 "0z8x6iz52y2m8llsp2q4qayxswkzay7ksimzy47crfag442bw24g"))))
8cb7bab9
DC
732 (build-system cmake-build-system)
733 (native-inputs
734 `(("extra-cmake-modules" ,extra-cmake-modules)))
735 (inputs
736 `(("qtbase" ,qtbase)
737 ("qtx11extras" ,qtx11extras)))
738 (home-page "https://community.kde.org/Frameworks")
739 (synopsis "Reporting of idle time of user and system")
740 (description "KIdleTime is a singleton reporting information on idle time.
741It is useful not only for finding out about the current idle time of the PC,
742but also for getting notified upon idle time events, such as custom timeouts,
743or user activity.")
744 (license (list license:gpl2+ license:lgpl2.1+))))
745
803f30d7
DC
746(define-public kitemmodels
747 (package
748 (name "kitemmodels")
9eb0f430 749 (version "5.34.0")
110e4bea
DC
750 (source (origin
751 (method url-fetch)
752 (uri (string-append
753 "mirror://kde/stable/frameworks/"
754 (version-major+minor version) "/"
755 name "-" version ".tar.xz"))
756 (sha256
757 (base32
9eb0f430 758 "1liq1ppa7xb1dcncv25c2a0xy3l9bvb2a56cff90c0b0vwr239q5"))))
803f30d7
DC
759 (build-system cmake-build-system)
760 (native-inputs
03ac4824 761 `(("extra-cmake-modules" ,extra-cmake-modules)))
803f30d7 762 (inputs
0cd3e818
HG
763 `(("qtbase" ,qtbase)
764 ("qtdeclarative" ,qtdeclarative)))
803f30d7
DC
765 (arguments
766 `(#:phases
110e4bea 767 (modify-phases %standard-phases
03ac4824
HG
768 (add-before 'check 'check-setup
769 (lambda _
770 ;; make Qt render "offscreen", required for tests
771 (setenv "QT_QPA_PLATFORM" "offscreen")
803f30d7
DC
772 #t)))))
773 (home-page "https://community.kde.org/Frameworks")
774 (synopsis "Set of item models extending the Qt model-view framework")
775 (description "KItemModels provides the following models:
776
a0cbf1b9 777@enumerate
803f30d7
DC
778@item KBreadcrumbSelectionModel - Selects the parents of selected items to
779create breadcrumbs.
780
781@item KCheckableProxyModel - Adds a checkable capability to a source model.
782
783@item KConcatenateRowsProxyModel - Concatenates rows from multiple source models.
784
785@item KDescendantsProxyModel - Proxy Model for restructuring a Tree into a list.
786
787@item KExtraColumnsProxyModel - Adds columns after existing columns.
788
789@item KLinkItemSelectionModel - Share a selection in multiple views which do
790not have the same source model.
791
792@item KModelIndexProxyMapper - Mapping of indexes and selections through proxy
793models.
794
795@item KRearrangeColumnsProxyModel - Can reorder and hide columns from the source
796model.
797
798@item KRecursiveFilterProxyModel - Recursive filtering of models.
799
800@item KSelectionProxyModel - A Proxy Model which presents a subset of its source
801model to observers
a0cbf1b9 802@end enumerate")
803f30d7
DC
803 (license license:lgpl2.1+)))
804
d2e4c02d
DC
805(define-public kitemviews
806 (package
807 (name "kitemviews")
9eb0f430 808 (version "5.34.0")
701d7a9b
DC
809 (source (origin
810 (method url-fetch)
811 (uri (string-append
812 "mirror://kde/stable/frameworks/"
813 (version-major+minor version) "/"
814 name "-" version ".tar.xz"))
815 (sha256
816 (base32
9eb0f430 817 "054accbis471zj1gbfxbc99062r2hvpb04i6w3r8fa4ml8s6brqk"))))
d2e4c02d
DC
818 (build-system cmake-build-system)
819 (native-inputs
820 `(("extra-cmake-modules" ,extra-cmake-modules)
03ac4824 821 ("qttools" ,qttools)))
d2e4c02d
DC
822 (inputs
823 `(("qtbase" ,qtbase)))
824 (arguments
825 `(#:phases
701d7a9b
DC
826 (modify-phases %standard-phases
827 (add-before 'check 'check-setup
828 (lambda _
829 (setenv "DBUS_FATAL_WARNINGS" "0")
03ac4824
HG
830 ;; make Qt render "offscreen", required for tests
831 (setenv "QT_QPA_PLATFORM" "offscreen")
d2e4c02d
DC
832 #t)))))
833 (home-page "https://community.kde.org/Frameworks")
834 (synopsis "Set of item views extending the Qt model-view framework")
835 (description "KItemViews includes a set of views, which can be used with
836item models. It includes views for categorizing lists and to add search filters
837to flat and hierarchical lists.")
838 (license (list license:gpl2+ license:lgpl2.1+))))
839
a51cdaef
DC
840(define-public kplotting
841 (package
842 (name "kplotting")
9eb0f430 843 (version "5.34.0")
a7ec016c
DC
844 (source (origin
845 (method url-fetch)
846 (uri (string-append
847 "mirror://kde/stable/frameworks/"
848 (version-major+minor version) "/"
849 name "-" version ".tar.xz"))
850 (sha256
851 (base32
9eb0f430 852 "1ffy9b08128ym024wlfgnzk52vpy0mbaa91dhndpr40qcz0i67sh"))))
a51cdaef
DC
853 (build-system cmake-build-system)
854 (native-inputs
03ac4824 855 `(("extra-cmake-modules" ,extra-cmake-modules)))
a51cdaef
DC
856 (inputs
857 `(("qtbase" ,qtbase)))
858 (arguments
859 `(#:phases
a7ec016c 860 (modify-phases %standard-phases
03ac4824
HG
861 (add-before 'check 'check-setup
862 (lambda _ ; kplotting
863 ;; make Qt render "offscreen", required for tests
864 (setenv "QT_QPA_PLATFORM" "offscreen")
a51cdaef
DC
865 #t)))))
866 (home-page "https://community.kde.org/Frameworks")
867 (synopsis "Data plotting library")
868 (description "KPlotWidget is a QWidget-derived class that provides a virtual
869base class for easy data-plotting. The idea behind KPlotWidget is that you only
870have to specify information in \"data units\", the natural units of the
871data being plotted. KPlotWidget automatically converts everything to screen
872pixel units.")
873 (license license:lgpl2.1+)))
874
c1265fcc
HG
875(define-public ksyntaxhighlighting
876 (package
877 (name "ksyntaxhighlighting")
9eb0f430 878 (version "5.34.0")
c1265fcc
HG
879 (source (origin
880 (method url-fetch)
881 (uri (string-append
882 "mirror://kde/stable/frameworks/"
883 (version-major+minor version) "/"
884 "syntax-highlighting-" version ".tar.xz"))
885 (sha256
886 (base32
9eb0f430 887 "0ryfwblvzj9rd5jj7l8scmbb49ygzk77ng05hrznsipczin2cjw8"))))
c1265fcc
HG
888 (build-system cmake-build-system)
889 (native-inputs
890 `(("extra-cmake-modules" ,extra-cmake-modules)
891 ("perl" ,perl)
4467c2d1 892 ("qttools" ,qttools)
c1265fcc
HG
893 ;; Optional, for compile-time validation of syntax definition files:
894 ("qtxmlpatterns" ,qtxmlpatterns)))
895 (inputs
896 `(("qtbase" ,qtbase)))
897 (arguments
898 `(#:phases
899 (modify-phases %standard-phases
900 (add-after 'patch-source-shebangs 'unpatch-source-shebang
901 (lambda _
902 ;; revert the patch-shebang phase on scripts which are
903 ;; in fact test data
904 (substitute* '("autotests/input/test.bash"
905 "autotests/folding/test.bash.fold")
906 (((which "bash")) "/bin/bash"))
907 (substitute* '("autotests/input/highlight.sh"
908 "autotests/folding/highlight.sh.fold")
909 (((which "sh")) " /bin/sh")) ;; space in front!
910 (substitute* '("autotests/input/highlight.pl"
911 "autotests/folding/highlight.pl.fold")
912 (((which "perl")) "/usr/bin/perl"))
c1265fcc
HG
913 #t)))))
914 (home-page "https://community.kde.org/Frameworks")
915 (synopsis "Syntax highlighting engine for Kate syntax definitions")
916 (description "This is a stand-alone implementation of the Kate syntax
917highlighting engine. It's meant as a building block for text editors as well
918as for simple highlighted text rendering (e.g. as HTML), supporting both
919integration with a custom editor as well as a ready-to-use
920@code{QSyntaxHighlighter} sub-class.")
921 (license license:lgpl2.1+)))
922
d5348b3f
DC
923(define-public kwayland
924 (package
925 (name "kwayland")
9eb0f430 926 (version "5.34.0")
3dfcaf33
DC
927 (source (origin
928 (method url-fetch)
929 (uri (string-append
930 "mirror://kde/stable/frameworks/"
931 (version-major+minor version) "/"
932 name "-" version ".tar.xz"))
933 (sha256
934 (base32
9eb0f430 935 "1zxb9ram47vbiik8h0czyvacrdiijhnslkpcm61l4r1rb0ybb0ib"))))
d5348b3f
DC
936 (build-system cmake-build-system)
937 (native-inputs
938 `(("extra-cmake-modules" ,extra-cmake-modules)
939 ("pkg-config" ,pkg-config)))
940 (inputs
941 `(("qtbase" ,qtbase)
942 ("wayland" ,wayland)))
943 (arguments
944 `(#:tests? #f ; FIXME tests require weston to run
945 ; weston requires wayland flags in mesa
946 #:phases
3dfcaf33
DC
947 (modify-phases %standard-phases
948 (add-before 'check 'check-setup
949 (lambda _
950 (setenv "XDG_RUNTIME_DIR" "/tmp")
951 #t)))))
d5348b3f
DC
952 (home-page "https://community.kde.org/Frameworks")
953 (synopsis "Qt-style API to interact with the wayland client and server")
954 (description "As the names suggest they implement a Client respectively a
955Server API for the Wayland protocol. The API is Qt-styled removing the needs to
956interact with a for a Qt developer uncomfortable low-level C-API. For example
957the callback mechanism from the Wayland API is replaced by signals, data types
958are adjusted to be what a Qt developer expects - two arguments of int are
959represented by a QPoint or a QSize.")
960 (license license:lgpl2.1+)))
961
5e22e8ed
DC
962(define-public kwidgetsaddons
963 (package
964 (name "kwidgetsaddons")
9eb0f430 965 (version "5.34.0")
5a3f0709
DC
966 (source (origin
967 (method url-fetch)
968 (uri (string-append
969 "mirror://kde/stable/frameworks/"
970 (version-major+minor version) "/"
971 name "-" version ".tar.xz"))
972 (sha256
973 (base32
9eb0f430 974 "0hw87iig75mfgl5p3ph6zkwap31h357bm7rlyv5d9nnp10bq0hfg"))))
5e22e8ed
DC
975 (build-system cmake-build-system)
976 (native-inputs
977 `(("extra-cmake-modules" ,extra-cmake-modules)
978 ("qttools" ,qttools)
979 ("xorg-server" ,xorg-server)))
980 (inputs
981 `(("qtbase" ,qtbase)))
982 (arguments
3406d0b3 983 `(#:phases
5a3f0709
DC
984 (modify-phases %standard-phases
985 (add-before 'check 'check-setup
986 (lambda _
94e24d81
HG
987 ;; make Qt render "offscreen", required for tests
988 (setenv "QT_QPA_PLATFORM" "offscreen")
5a3f0709
DC
989 (setenv "DBUS_FATAL_WARNINGS" "0")
990 #t))
991 (add-before 'check 'start-xorg-server
992 (lambda* (#:key inputs #:allow-other-keys)
993 ;; The test suite requires a running X server.
994 ;; Xvfb doesn't have proper glx support and needs a pixeldepth
995 ;; of 24 bit to avoid "libGL error: failed to load driver: swrast"
996 ;; "Could not initialize GLX"
997 (system (string-append (assoc-ref inputs "xorg-server")
998 "/bin/Xvfb :1 -screen 0 640x480x24 &"))
999 (setenv "DISPLAY" ":1")
1000 #t)))))
5e22e8ed
DC
1001 (home-page "https://community.kde.org/Frameworks")
1002 (synopsis "Large set of desktop widgets")
1003 (description "Provided are action classes that can be added to toolbars or
1004menus, a wide range of widgets for selecting characters, fonts, colors, actions,
1005dates and times, or MIME types, as well as platform-aware dialogs for
1006configuration pages, message boxes, and password requests.")
1007 (license (list license:gpl2+ license:lgpl2.1+))))
1008
4a827670
AE
1009(define-public kwindowsystem
1010 (package
1011 (name "kwindowsystem")
9eb0f430 1012 (version "5.34.0")
48311df9
DC
1013 (source (origin
1014 (method url-fetch)
1015 (uri (string-append
1016 "mirror://kde/stable/frameworks/"
1017 (version-major+minor version) "/"
1018 name "-" version ".tar.xz"))
1019 (sha256
1020 (base32
9eb0f430 1021 "1sp2x7afhw19vmhdp2qyrmljz8h0875xjk95n8c5gzypk7sr0l83"))))
4a827670
AE
1022 (build-system cmake-build-system)
1023 (native-inputs
861748ef
DC
1024 `(("extra-cmake-modules" ,extra-cmake-modules)
1025 ("pkg-config" ,pkg-config)
ed4a3ec6 1026 ("dbus" ,dbus) ; for the tests
861748ef 1027 ("qttools" ,qttools)
c73210d7 1028 ("xorg-server" ,xorg-server))) ; for the tests
4a827670 1029 (inputs
861748ef
DC
1030 `(("libxrender" ,libxrender)
1031 ("qtbase" ,qtbase)
1032 ("qtx11extras" ,qtx11extras)
c73210d7 1033 ("xcb-utils-keysyms" ,xcb-util-keysyms)))
4a827670 1034 (arguments
ed4a3ec6
HG
1035 `(#:tests? #f ; FIXME: 3/12 tests fail.
1036 #:phases
1037 (modify-phases %standard-phases
1038 (delete 'check)
1039 (add-after 'install 'check
1040 (lambda* (#:key inputs outputs tests? #:allow-other-keys)
1041 ;; TODO: Simplify and use "common" phases when test-suite passes
1042 (if tests?
1043 (begin
1044 (let ((out (assoc-ref outputs "out")))
1045 (setenv "QT_PLUGIN_PATH"
1046 (string-append out "/lib/plugins:"
1047 (getenv "QT_PLUGIN_PATH"))))
1048 ;; The test suite requires a running X server, setting
1049 ;; QT_QPA_PLATFORM=offscreen does not suffice and even make
1050 ;; some tests fail.
1051 (system (string-append (assoc-ref inputs "xorg-server")
1052 "/bin/Xvfb :1 -screen 0 640x480x24 &"))
1053 (setenv "DISPLAY" ":1")
1054 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
1055 (setenv "DBUS_FATAL_WARNINGS" "0")
1056 (zero? (system* "dbus-launch" "ctest" ".")))
1057 (begin
1058 (format #t "test suite not run~%")
1059 #t)))))))
4a827670
AE
1060 (home-page "https://community.kde.org/Frameworks")
1061 (synopsis "KDE access to the windowing system")
1062 (description "KWindowSystem provides information about and allows
1063interaction with the windowing system. It provides a high level API, which
1064is windowing system independent and has platform specific
1065implementations. This API is inspired by X11 and thus not all functionality
1066is available on all windowing systems.
1067
1068In addition to the high level API, this framework also provides several
1069lower level classes for interaction with the X Windowing System.")
1070 ;; Some source files mention lgpl2.0+, but the included license is
1071 ;; the lgpl2.1. Some source files are under non-copyleft licenses.
1072 (license license:lgpl2.1+)))
d8ea2782 1073
208094b4
DC
1074(define-public modemmanager-qt
1075 (package
1076 (name "modemmanager-qt")
9eb0f430 1077 (version "5.34.0")
48e789da
DC
1078 (source (origin
1079 (method url-fetch)
1080 (uri (string-append
1081 "mirror://kde/stable/frameworks/"
1082 (version-major+minor version) "/"
1083 name "-" version ".tar.xz"))
1084 (sha256
1085 (base32
9eb0f430 1086 "1cf5nsc8h7djvr19fm5dphzplh1wm3asvn0a7r71spg0i7lzi89h"))))
208094b4
DC
1087 (build-system cmake-build-system)
1088 (native-inputs
1089 `(("extra-cmake-modules" ,extra-cmake-modules)
1090 ("dbus" ,dbus)
1091 ("pkg-config" ,pkg-config)))
a7d0154c 1092 (propagated-inputs
48e789da 1093 ;; Headers contain #include <ModemManager/ModemManager.h>
a7d0154c 1094 `(("modem-manager", modem-manager)))
208094b4 1095 (inputs
a7d0154c 1096 `(("qtbase" ,qtbase)))
208094b4
DC
1097 (arguments
1098 `(#:phases
48e789da
DC
1099 (modify-phases %standard-phases
1100 (replace 'check
1101 (lambda _
1102 (setenv "DBUS_FATAL_WARNINGS" "0")
1103 (zero? (system* "dbus-launch" "ctest" ".")))))))
208094b4
DC
1104 (home-page "https://community.kde.org/Frameworks")
1105 (synopsis "Qt wrapper for ModemManager DBus API")
1106 (description "ModemManagerQt provides access to all ModemManager features
1107exposed on DBus. It allows you to manage modem devices and access to
1108information available for your modem devices, like signal, location and
1109messages.")
1110 (license license:lgpl2.1+)))
1111
864c25f4
DC
1112(define-public networkmanager-qt
1113 (package
1114 (name "networkmanager-qt")
9eb0f430 1115 (version "5.34.0")
c3fefc81
DC
1116 (source (origin
1117 (method url-fetch)
1118 (uri (string-append
1119 "mirror://kde/stable/frameworks/"
1120 (version-major+minor version) "/"
1121 name "-" version ".tar.xz"))
1122 (sha256
1123 (base32
9eb0f430 1124 "05s0irvkg0g57acriablyha2wb9c7w3xhq223vdddjqpcdx0pnkl"))))
c3fefc81
DC
1125 (build-system cmake-build-system)
1126 (native-inputs
1127 `(("extra-cmake-modules" ,extra-cmake-modules)
1128 ("dbus" ,dbus)
1129 ("pkg-config" ,pkg-config)))
1130 (propagated-inputs
1131 ;; Headers contain #include <NetworkManager.h> and
1132 ;; #include <libnm/NetworkManager.h>
1133 `(("network-manager" ,network-manager)))
1134 (inputs
1135 `(("qtbase" ,qtbase)))
1136 (arguments
1137 `(#:phases
1138 (modify-phases %standard-phases
1139 (replace 'check
1140 (lambda _
1141 (setenv "DBUS_FATAL_WARNINGS" "0")
1142 (zero? (system* "dbus-launch" "ctest" ".")))))))
1143 (home-page "https://community.kde.org/Frameworks")
1144 (synopsis "Qt wrapper for NetworkManager DBus API")
1145 (description "NetworkManagerQt provides access to all NetworkManager
864c25f4
DC
1146features exposed on DBus. It allows you to manage your connections and control
1147your network devices and also provides a library for parsing connection settings
1148which are used in DBus communication.")
c3fefc81 1149 (license license:lgpl2.1+)))
864c25f4 1150
d8ea2782
EF
1151(define-public oxygen-icons
1152 (package
1153 (name "oxygen-icons")
9eb0f430 1154 (version "5.34.0")
beb21382
DC
1155 (source (origin
1156 (method url-fetch)
1157 (uri (string-append
1158 "mirror://kde/stable/frameworks/"
1159 (version-major+minor version) "/"
1160 name "5" "-" version ".tar.xz"))
1161 (sha256
1162 (base32
9eb0f430 1163 "0cmxxssir5zbp5nlxq81h2xfd6wrxbbkydyw93dby7r56isl7ga5"))))
d8ea2782
EF
1164 (build-system cmake-build-system)
1165 (native-inputs
beb21382
DC
1166 `(("extra-cmake-modules" ,extra-cmake-modules)
1167 ("fdupes" ,fdupes)))
d8ea2782 1168 (inputs
b54c2cfc 1169 `(("qtbase" ,qtbase)))
d8ea2782 1170 (home-page "https://community.kde.org/Frameworks")
66e07664 1171 (synopsis "Oxygen provides the standard icon theme for the KDE desktop")
d8ea2782 1172 (description "Oxygen icon theme for the KDE desktop")
683c5ab7
LC
1173 (license license:lgpl3+)
1174 (properties '((upstream-name . "oxygen-icons5")))))
9fd502ce
DC
1175
1176(define-public solid
1177 (package
1178 (name "solid")
9eb0f430 1179 (version "5.34.0")
6ad3befe
DC
1180 (source (origin
1181 (method url-fetch)
1182 (uri (string-append
1183 "mirror://kde/stable/frameworks/"
1184 (version-major+minor version) "/"
1185 name "-" version ".tar.xz"))
1186 (sha256
1187 (base32
9eb0f430 1188 "02kz21p3p1s1rg7gf34fr6ynhji6x97yvsfdpvbfxbhijabbh4ib"))))
9fd502ce 1189 (build-system cmake-build-system)
9eb0f430
HG
1190 (arguments
1191 `(#:phases
1192 (modify-phases %standard-phases
1193 (replace 'check
1194 (lambda _
1195 (setenv "DBUS_FATAL_WARNINGS" "0")
1196 (zero? (system* "dbus-launch" "ctest" ".")))))))
9fd502ce
DC
1197 (native-inputs
1198 `(("bison" ,bison)
9eb0f430 1199 ("dbus" ,dbus)
9fd502ce 1200 ("extra-cmake-modules" ,extra-cmake-modules)
83dcfa72 1201 ("flex" ,flex)
9fd502ce
DC
1202 ("qttools" ,qttools)))
1203 (inputs
1204 `(("qtbase" ,qtbase)
1205 ("udev" ,eudev)))
1e0ae3b3 1206 ;; TODO: Add runtime-only dependency MediaPlayerInfo
9fd502ce
DC
1207 (home-page "https://community.kde.org/Frameworks")
1208 (synopsis "Desktop hardware abstraction")
1209 (description "Solid is a device integration framework. It provides a way of
1210querying and interacting with hardware independently of the underlying operating
1211system.")
1212 (license license:lgpl2.1+)))
39e547f2
DC
1213
1214(define-public sonnet
1215 (package
1216 (name "sonnet")
9eb0f430 1217 (version "5.34.0")
71b37f7a
DC
1218 (source (origin
1219 (method url-fetch)
1220 (uri (string-append
1221 "mirror://kde/stable/frameworks/"
1222 (version-major+minor version) "/"
1223 name "-" version ".tar.xz"))
1224 (sha256
1225 (base32
9eb0f430 1226 "06gxrh8rb75ydkqxk5dhlmwndnczp264jx588ryfwlf3vlnk99vs"))))
39e547f2
DC
1227 (build-system cmake-build-system)
1228 (native-inputs
1229 `(("extra-cmake-modules" ,extra-cmake-modules)
1230 ("qttools" ,qttools)))
1231 (inputs
ab313cd0
HG
1232 `(("hunspell" ,hunspell)
1233 ;; TODO: hspell (for Hebrew), Voikko (for Finish)
1234 ("qtbase" ,qtbase)))
39e547f2
DC
1235 (home-page "https://community.kde.org/Frameworks")
1236 (synopsis "Multi-language spell checker")
1237 (description "Sonnet is a plugin-based spell checking library for Qt-based
1238applications. It supports several different plugins, including HSpell, Enchant,
1239ASpell and HUNSPELL.")
1240 (license license:lgpl2.1+)))
60f75c8f
DC
1241
1242(define-public threadweaver
1243 (package
1244 (name "threadweaver")
9eb0f430 1245 (version "5.34.0")
01fc411d
DC
1246 (source (origin
1247 (method url-fetch)
1248 (uri (string-append
1249 "mirror://kde/stable/frameworks/"
1250 (version-major+minor version) "/"
1251 name "-" version ".tar.xz"))
1252 (sha256
1253 (base32
9eb0f430 1254 "1gylpl283qf1jcfyib4q5xwnpdq13hnd2cp2i7xjazdw2jp40zhr"))))
60f75c8f
DC
1255 (build-system cmake-build-system)
1256 (native-inputs
1257 `(("extra-cmake-modules" ,extra-cmake-modules)))
1258 (inputs
1259 `(("qtbase" ,qtbase)))
1260 (home-page "https://community.kde.org/Frameworks")
1261 (synopsis "Helper for multithreaded programming")
1262 (description "ThreadWeaver is a helper for multithreaded programming. It
1263uses a job-based interface to queue tasks and execute them in an efficient way.")
1264 (license license:lgpl2.1+)))
46c27be1
DC
1265
1266
1267;; Tier 2
1268;;
1269;; Tier 2 frameworks additionally depend on tier 1 frameworks, but still have
1270;; easily manageable dependencies.
1271
1272(define-public kauth
1273 (package
1274 (name "kauth")
9eb0f430 1275 (version "5.34.0")
62dee732
DC
1276 (source (origin
1277 (method url-fetch)
1278 (uri (string-append
1279 "mirror://kde/stable/frameworks/"
1280 (version-major+minor version) "/"
1281 name "-" version ".tar.xz"))
1282 (sha256
1283 (base32
9eb0f430 1284 "06cw1bsp7inh5wglajm8aahy17p35ixgnijb7d74gjqzbj4cv93d"))))
46c27be1
DC
1285 (build-system cmake-build-system)
1286 (native-inputs
1287 `(("dbus" ,dbus)
1288 ("extra-cmake-modules" ,extra-cmake-modules)
1289 ("qttools" ,qttools)))
1290 (inputs
1291 `(("kcoreaddons" ,kcoreaddons)
1292 ("polkit-qt" ,polkit-qt)
1293 ("qtbase" ,qtbase)))
1294 (arguments
1295 `(#:phases
62dee732 1296 (modify-phases %standard-phases
dc2ef09a
HG
1297 (add-after 'unpack 'fix-cmake-install-directories
1298 (lambda _
1299 ;; Make packages using kauth put their policy files and helpers
1300 ;; into their own prefix.
1301 (substitute* "KF5AuthConfig.cmake.in"
1302 (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
1303 "${KDE_INSTALL_DATADIR}/polkit-1/actions")
1304 (("@KAUTH_HELPER_INSTALL_DIR@")
1305 "${KDE_INSTALL_LIBEXECDIR}")
1306 (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
1307 "${KDE_INSTALL_LIBEXECDIR}"))))
62dee732
DC
1308 (replace 'check
1309 (lambda _
1310 (setenv "DBUS_FATAL_WARNINGS" "0")
1311 (zero? (system* "dbus-launch" "ctest" ".")))))))
46c27be1
DC
1312 (home-page "https://community.kde.org/Frameworks")
1313 (synopsis "Execute actions as privileged user")
1314 (description "KAuth provides a convenient, system-integrated way to offload
1315actions that need to be performed as a privileged user to small set of helper
1316utilities.")
1317 (license license:lgpl2.1+)))
13094df1
DC
1318
1319(define-public kcompletion
1320 (package
1321 (name "kcompletion")
9eb0f430 1322 (version "5.34.0")
17b5144a
DC
1323 (source (origin
1324 (method url-fetch)
1325 (uri (string-append
1326 "mirror://kde/stable/frameworks/"
1327 (version-major+minor version) "/"
1328 name "-" version ".tar.xz"))
1329 (sha256
1330 (base32
9eb0f430 1331 "18hvdk5b1nkh6b3vx0jajri57rl266b0qjsiwirh5wmjc81xbpcw"))))
13094df1
DC
1332 (build-system cmake-build-system)
1333 (native-inputs
1334 `(("extra-cmake-modules" ,extra-cmake-modules)
72b073ca 1335 ("qttools" ,qttools)))
13094df1
DC
1336 (inputs
1337 `(("kconfig" ,kconfig)
1338 ("kwidgetsaddons" ,kwidgetsaddons)
1339 ("qtbase" ,qtbase)))
1340 (arguments
1341 `(#:phases
17b5144a
DC
1342 (modify-phases %standard-phases
1343 (add-before 'check 'check-setup
1344 (lambda _
94e24d81 1345 ;; make Qt render "offscreen", required for tests
17b5144a
DC
1346 (setenv "QT_QPA_PLATFORM" "offscreen")
1347 #t)))))
13094df1
DC
1348 (home-page "https://community.kde.org/Frameworks")
1349 (synopsis "Powerful autocompletion framework and widgets")
1350 (description "This framework helps implement autocompletion in Qt-based
1351applications. It provides a set of completion-ready widgets, or can be
1352integrated it into your application's other widgets.")
1353 (license license:lgpl2.1+)))
4d92ceb5
DC
1354
1355(define-public kcrash
1356 (package
1357 (name "kcrash")
9eb0f430 1358 (version "5.34.0")
075eeb35
DC
1359 (source (origin
1360 (method url-fetch)
1361 (uri (string-append
1362 "mirror://kde/stable/frameworks/"
1363 (version-major+minor version) "/"
1364 name "-" version ".tar.xz"))
1365 (sha256
1366 (base32
9eb0f430 1367 "1cshay7dhbqgh62nq85vd9sm20gq9s9f70mdnzjjh1q7cajybkp3"))))
4d92ceb5
DC
1368 (build-system cmake-build-system)
1369 (native-inputs
03ac4824 1370 `(("extra-cmake-modules" ,extra-cmake-modules)))
4d92ceb5
DC
1371 (inputs
1372 `(("kcoreaddons" ,kcoreaddons)
1373 ("kwindowsystem" ,kwindowsystem)
1374 ("qtbase" ,qtbase)
1375 ("qtx11extras" ,qtx11extras)))
1376 (arguments
1377 `(#:phases
075eeb35 1378 (modify-phases %standard-phases
03ac4824
HG
1379 (add-before 'check 'check-setup
1380 (lambda _
1381 ;; make Qt render "offscreen", required for tests
1382 (setenv "QT_QPA_PLATFORM" "offscreen")
4d92ceb5
DC
1383 #t)))))
1384 (home-page "https://community.kde.org/Frameworks")
1385 (synopsis "Graceful handling of application crashes")
1386 (description "KCrash provides support for intercepting and handling
1387application crashes.")
1388 (license license:lgpl2.1+)))
110db07d
DC
1389
1390(define-public kdoctools
1391 (package
1392 (name "kdoctools")
9eb0f430 1393 (version "5.34.0")
f5dae6ae
DC
1394 (source (origin
1395 (method url-fetch)
1396 (uri (string-append
1397 "mirror://kde/stable/frameworks/"
1398 (version-major+minor version) "/"
1399 name "-" version ".tar.xz"))
1400 (sha256
1401 (base32
9eb0f430 1402 "145jjhsd0whmcj91zbjz2b1jyj4wasw60hbwyd4xvqds8cp0l02h"))))
110db07d
DC
1403 (build-system cmake-build-system)
1404 (native-inputs
1405 `(("extra-cmake-modules" ,extra-cmake-modules)))
1406 (inputs
1407 `(("docbook-xml" ,docbook-xml)
1408 ("docbook-xsl" ,docbook-xsl)
1409 ("karchive" ,karchive)
1410 ("ki18n" ,ki18n)
1411 ("libxml2" ,libxml2)
1412 ("libxslt" ,libxslt)
1413 ("perl" ,perl)
1414 ("perl-uri" ,perl-uri)
1415 ("qtbase" ,qtbase)))
1416 (arguments
1417 `(#:phases
f5dae6ae
DC
1418 (modify-phases %standard-phases
1419 (add-after 'unpack 'cmake-find-docbook
1420 (lambda* (#:key inputs #:allow-other-keys)
1421 (substitute* (find-files "cmake" "\\.cmake$")
1422 (("CMAKE_SYSTEM_PREFIX_PATH")
1423 "CMAKE_PREFIX_PATH"))
1424 (substitute* "cmake/FindDocBookXML4.cmake"
1425 (("^.*xml/docbook/schema/dtd.*$")
1426 "xml/dtd/docbook\n"))
1427 (substitute* "cmake/FindDocBookXSL.cmake"
1428 (("^.*xml/docbook/stylesheet.*$")
1429 (string-append "xml/xsl/docbook-xsl-"
1430 ,(package-version docbook-xsl) "\n")))
1431 #t)))))
110db07d
DC
1432 (home-page "https://community.kde.org/Frameworks")
1433 (synopsis "Create documentation from DocBook")
1434 (description "Provides tools to generate documentation in various format
1435from DocBook files.")
1436 (license license:lgpl2.1+)))
b05eb5dd
DC
1437
1438(define-public kfilemetadata
1439 (package
1440 (name "kfilemetadata")
9eb0f430 1441 (version "5.34.0")
3f34662b
DC
1442 (source (origin
1443 (method url-fetch)
1444 (uri (string-append
1445 "mirror://kde/stable/frameworks/"
1446 (version-major+minor version) "/"
1447 name "-" version ".tar.xz"))
1448 (sha256
1449 (base32
9eb0f430 1450 "1rvlg6by8daiq5ff3qlxcw9k2iq4qicsj0c8a00xfy3w4h9ip9h5"))))
b05eb5dd 1451 (build-system cmake-build-system)
9eb0f430
HG
1452 (arguments
1453 `(#:phases
1454 (modify-phases %standard-phases
1455 ;; Need to check after install and to set QT_PLUGIN_PATH for the test
1456 ;; suite to finds the plugins.
1457 (delete 'check)
1458 (add-after 'install 'check
1459 (assoc-ref %standard-phases 'check))
1460 (add-before 'check 'check-setup
1461 (lambda* (#:key outputs #:allow-other-keys)
1462 (let ((out (assoc-ref outputs "out")))
1463 (setenv "QT_PLUGIN_PATH"
1464 (string-append out "/lib/plugins:"
1465 (getenv "QT_PLUGIN_PATH"))))
1466 #t)))))
b05eb5dd
DC
1467 (native-inputs
1468 `(("extra-cmake-modules" ,extra-cmake-modules)
1469 ("python-2" ,python-2)))
1470 (inputs
1471 `(("attr" ,attr)
1472 ("karchive" ,karchive)
1473 ("ki18n" ,ki18n)
9eb0f430
HG
1474 ("qtbase" ,qtbase)
1475 ;; Required run-time packages
1476 ("catdoc" ,catdoc)
1477 ;; Optional run-time packages
1478 ("exiv2" ,exiv2)
1479 ("ffmpeg" ,ffmpeg)
1480 ("poppler" ,poppler)
1481 ("taglib" ,taglib)))
b05eb5dd
DC
1482 (home-page "https://community.kde.org/Frameworks")
1483 (synopsis "Extract metadata from different fileformats")
1484 (description "KFileMetaData provides a simple library for extracting the
1485text and metadata from a number of different files. This library is typically
d1e4ad1b 1486used by file indexers to retrieve the metadata. This library can also be used
b05eb5dd
DC
1487by applications to write metadata.")
1488 (license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))
8ff1dabe
DC
1489
1490(define-public kimageformats
1491 (package
1492 (name "kimageformats")
9eb0f430 1493 (version "5.34.0")
2d64fdb1
DC
1494 (source (origin
1495 (method url-fetch)
1496 (uri (string-append
1497 "mirror://kde/stable/frameworks/"
1498 (version-major+minor version) "/"
1499 name "-" version ".tar.xz"))
1500 (sha256
1501 (base32
9eb0f430 1502 "0q9ng4clqk2dqw43nk1pmq1d61rahc3qr4dmg4y3kjvz3ahnnijw"))))
8ff1dabe
DC
1503 (build-system cmake-build-system)
1504 (native-inputs
92605669
HG
1505 `(("extra-cmake-modules" ,extra-cmake-modules)
1506 ("pkg-config" ,pkg-config)))
8ff1dabe 1507 (inputs
92605669
HG
1508 `(("karchive" ,karchive) ; for Krita and OpenRaster images
1509 ("openexr" ,openexr) ; for OpenEXR high dynamic-range images
1510 ("qtbase" ,qtbase)))
8ff1dabe
DC
1511 (arguments
1512 `(#:phases
1513 (modify-phases %standard-phases
03ac4824
HG
1514 (add-before 'check 'check-setup
1515 (lambda _
1516 ;; make Qt render "offscreen", required for tests
1517 (setenv "QT_QPA_PLATFORM" "offscreen")
92605669
HG
1518 #t)))
1519 ;; FIXME: The header files of ilmbase (propagated by openexr) are not
1520 ;; found when included by the header files of openexr, and an explicit
1521 ;; flag needs to be set.
1522 #:configure-flags
1523 (list (string-append "-DCMAKE_CXX_FLAGS=-I"
1524 (assoc-ref %build-inputs "ilmbase")
1525 "/include/OpenEXR"))))
8ff1dabe
DC
1526 (home-page "https://community.kde.org/Frameworks")
1527 (synopsis "Plugins to allow QImage to support extra file formats")
1528 (description "This framework provides additional image format plugins for
1529QtGui. As such it is not required for the compilation of any other software,
1530but may be a runtime requirement for Qt-based software to support certain image
1531formats.")
1532 (license license:lgpl2.1+)))
b2ac012d
DC
1533
1534(define-public kjobwidgets
1535 (package
1536 (name "kjobwidgets")
9eb0f430 1537 (version "5.34.0")
4a9f3bf3
DC
1538 (source (origin
1539 (method url-fetch)
1540 (uri (string-append
1541 "mirror://kde/stable/frameworks/"
1542 (version-major+minor version) "/"
1543 name "-" version ".tar.xz"))
1544 (sha256
1545 (base32
9eb0f430 1546 "0lrx761vf947mb2q1l2jgi0wgwj8cz2nn1xg0j38bh99sgddmzpf"))))
b2ac012d
DC
1547 (build-system cmake-build-system)
1548 (native-inputs
1549 `(("extra-cmake-modules" ,extra-cmake-modules)
1550 ("qttools" ,qttools)))
1551 (inputs
1552 `(("kcoreaddons" ,kcoreaddons)
1553 ("kwidgetsaddons" ,kwidgetsaddons)
1554 ("qtbase" ,qtbase)
1555 ("qtx11extras" ,qtx11extras)))
1556 (home-page "https://community.kde.org/Frameworks")
1557 (synopsis "Widgets for showing progress of asynchronous jobs")
1558 (description "KJobWIdgets provides widgets for showing progress of
1559asynchronous jobs.")
1560 (license license:lgpl2.1+)))
5801d21f
DC
1561
1562(define-public knotifications
1563 (package
1564 (name "knotifications")
9eb0f430 1565 (version "5.34.0")
75073998
DC
1566 (source (origin
1567 (method url-fetch)
1568 (uri (string-append
1569 "mirror://kde/stable/frameworks/"
1570 (version-major+minor version) "/"
1571 name "-" version ".tar.xz"))
1572 (sha256
1573 (base32
9eb0f430 1574 "12z5hza0n5zr6mv3gkwhzb8zkrmk6dvgq8hrzwm8rzkgphjr6pi9"))))
5801d21f
DC
1575 (build-system cmake-build-system)
1576 (native-inputs
1577 `(("extra-cmake-modules" ,extra-cmake-modules)
1578 ("dbus" ,dbus)
1579 ("qttools" ,qttools)))
1580 (inputs
1581 `(("kcodecs" ,kcodecs)
1582 ("kconfig" ,kconfig)
1583 ("kcoreaddons" ,kcoreaddons)
1584 ("kwindowsystem" ,kwindowsystem)
1585 ("phonon" ,phonon)
1586 ("qtbase" ,qtbase)
1e0ae3b3
HG
1587 ;; TODO: qtspeech (new in Qt 5.9)
1588 ;; TODO: Think about adding dbusmenu-qt5 from
1589 ;; https://launchpad.net/libdbusmenu-qt
5801d21f
DC
1590 ("qtx11extras" ,qtx11extras)))
1591 (arguments
1592 `(#:phases
1593 (modify-phases %standard-phases
1594 (add-before 'check 'check-setup
75073998
DC
1595 (lambda _
1596 (setenv "HOME" (getcwd))
1597 #t))
5801d21f 1598 (replace 'check
75073998 1599 (lambda _
5801d21f
DC
1600 (setenv "DBUS_FATAL_WARNINGS" "0")
1601 (zero? (system* "dbus-launch" "ctest" ".")))))))
1602 (home-page "https://community.kde.org/Frameworks")
1603 (synopsis "Desktop notifications")
1604 (description "KNotification is used to notify the user of an event. It
1605covers feedback and persistent events.")
1606 (license license:lgpl2.1+)))
979e18fa
DC
1607
1608(define-public kpackage
1609 (package
1610 (name "kpackage")
9eb0f430 1611 (version "5.34.0")
0e6c3057
DC
1612 (source (origin
1613 (method url-fetch)
1614 (uri (string-append
1615 "mirror://kde/stable/frameworks/"
1616 (version-major+minor version) "/"
1617 name "-" version ".tar.xz"))
1618 (sha256
1619 (base32
9eb0f430 1620 "0wdymhcrjggxb7andz36cfk9f240vvbq5yahlxyhfp9z69lriw5q"))))
979e18fa
DC
1621 (build-system cmake-build-system)
1622 (native-inputs
1623 `(("extra-cmake-modules" ,extra-cmake-modules)))
1624 (inputs
1625 `(("karchive" ,karchive)
1626 ("kconfig" ,kconfig)
1627 ("kcoreaddons" ,kcoreaddons)
73a3598d 1628 ("kdoctools" ,kdoctools)
979e18fa
DC
1629 ("ki18n" ,ki18n)
1630 ("qtbase" ,qtbase)))
1631 (arguments
1e0ae3b3 1632 `(#:tests? #f ; FIXME: 3/9 tests fail.
979e18fa
DC
1633 #:phases
1634 (modify-phases %standard-phases
1635 (add-before 'check 'check-setup
0e6c3057 1636 (lambda _
0e6c3057
DC
1637 (setenv "HOME" (getcwd))
1638 #t)))))
979e18fa
DC
1639 (home-page "https://community.kde.org/Frameworks")
1640 (synopsis "Installation and loading of additional content as packages")
1641 (description "The Package framework lets the user install and load packages
1642of non binary content such as scripted extensions or graphic assets, as if they
1643were traditional plugins.")
1644 (license (list license:gpl2+ license:lgpl2.1+))))
fee9b266
DC
1645
1646(define-public kpty
1647 (package
1648 (name "kpty")
9eb0f430 1649 (version "5.34.0")
84164f7f
DC
1650 (source (origin
1651 (method url-fetch)
1652 (uri (string-append
1653 "mirror://kde/stable/frameworks/"
1654 (version-major+minor version) "/"
1655 name "-" version ".tar.xz"))
1656 (sha256
1657 (base32
9eb0f430 1658 "00k5hhz7nf3nf47xb003ni1chi03imyrfajap6ay4zp90l8fr950"))))
fee9b266
DC
1659 (build-system cmake-build-system)
1660 (native-inputs
1661 `(("extra-cmake-modules" ,extra-cmake-modules)))
1662 (inputs
1663 `(("kcoreaddons" ,kcoreaddons)
1664 ("ki18n" ,ki18n)
1e0ae3b3 1665 ;; TODO: utempter, for managing UTMP entries
fee9b266
DC
1666 ("qtbase" ,qtbase)))
1667 (arguments
1668 `(#:tests? #f ; FIXME: 1/1 tests fail.
1669 #:phases
1670 (modify-phases %standard-phases
1671 (add-after 'unpack 'patch-tests
84164f7f 1672 (lambda _
84164f7f
DC
1673 (substitute* "autotests/kptyprocesstest.cpp"
1674 (("/bin/bash") (which "bash")))
1675 #t)))))
fee9b266
DC
1676 (home-page "https://community.kde.org/Frameworks")
1677 (synopsis "Interfacing with pseudo terminal devices")
1678 (description "This library provides primitives to interface with pseudo
1679terminal devices as well as a KProcess derived class for running child processes
1680and communicating with them using a pty.")
1681 (license (list license:gpl2+ license:lgpl2.1+))))
812bab6d
DC
1682
1683(define-public kunitconversion
1684 (package
1685 (name "kunitconversion")
9eb0f430 1686 (version "5.34.0")
f7c2026f
DC
1687 (source (origin
1688 (method url-fetch)
1689 (uri (string-append
1690 "mirror://kde/stable/frameworks/"
1691 (version-major+minor version) "/"
1692 name "-" version ".tar.xz"))
1693 (sha256
1694 (base32
9eb0f430 1695 "0v4x0flbfavrzfiqh71mdkqgp1fzk4f52msvq6w60i2s3sz7hcsm"))))
812bab6d 1696 (build-system cmake-build-system)
4467c2d1
HG
1697 (arguments
1698 `(#:phases
1699 (modify-phases %standard-phases
1700 (add-after 'unpack 'disable-a-failing-test-case
1701 (lambda _
1702 ;; TODO: Re-enable this test-case. It was committed with the
1703 ;; message: "tsan says it's clean, apart from issues in Qt
1704 ;; (reported upstream)"
1705 (substitute* "autotests/convertertest.cpp"
1706 (("const int numThreads = 2") "const int numThreads = 0")))))))
812bab6d
DC
1707 (native-inputs
1708 `(("extra-cmake-modules" ,extra-cmake-modules)))
1709 (inputs
1710 `(("ki18n" ,ki18n)
1711 ("qtbase" ,qtbase)))
1712 (home-page "https://community.kde.org/Frameworks")
1713 (synopsis "Converting physical units")
1714 (description "KUnitConversion provides functions to convert values in
1715different physical units. It supports converting different prefixes (e.g. kilo,
1716mega, giga) as well as converting between different unit systems (e.g. liters,
1717gallons).")
1718 (license license:lgpl2.1+)))
092ab1c0
DC
1719
1720
1721;; Tier 3
1722;;
1723;; Tier 3 frameworks are generally more powerful, comprehensive packages, and
1724;; consequently have more complex dependencies.
1725
1726(define-public baloo
1727 (package
1728 (name "baloo")
9eb0f430 1729 (version "5.34.0")
442f2bea
DC
1730 (source (origin
1731 (method url-fetch)
1732 (uri (string-append
1733 "mirror://kde/stable/frameworks/"
1734 (version-major+minor version) "/"
1735 name "-" version ".tar.xz"))
1736 (sha256
1737 (base32
9eb0f430 1738 "0z53lnniq9xdk09d73z0p1xs1qmaf71m4znm4hmq956yg4yqa1ya"))))
092ab1c0
DC
1739 (build-system cmake-build-system)
1740 (propagated-inputs
1741 `(("kcoreaddons" ,kcoreaddons)
1742 ("kfilemetadata" ,kfilemetadata)))
1743 (native-inputs
1744 `(("dbus" ,dbus)
1745 ("extra-cmake-modules" ,extra-cmake-modules)))
1746 (inputs
1747 `(("kbookmarks" ,kbookmarks)
1748 ("kcompletion" ,kcompletion)
1749 ("kconfig" ,kconfig)
1750 ("kcrash" ,kcrash)
1751 ("kdbusaddons" ,kdbusaddons)
1752 ("kidletime" ,kidletime)
1753 ("kio" ,kio)
1754 ("kitemviews" ,kitemviews)
1755 ("ki18n" ,ki18n)
1756 ("kjobwidgets" ,kjobwidgets)
1757 ("kservice" ,kservice)
1758 ("kwidgetsaddons" ,kwidgetsaddons)
1759 ("kxmlgui" ,kxmlgui)
1760 ("lmdb" ,lmdb)
1761 ("qtbase" ,qtbase)
1762 ("qtdeclarative" ,qtdeclarative)
1763 ("solid" ,solid)))
1764 (arguments
1765 `(#:phases
1766 (modify-phases %standard-phases
1767 (add-before 'check 'check-setup
1768 (lambda _
1769 (setenv "HOME" (getcwd))
94e24d81 1770 ;; make Qt render "offscreen", required for tests
092ab1c0
DC
1771 (setenv "QT_QPA_PLATFORM" "offscreen")
1772 #t))
1773 (replace 'check
1774 (lambda _
1775 (setenv "DBUS_FATAL_WARNINGS" "0")
1776 (zero? (system* "dbus-launch" "ctest" ".")))))))
1777 (home-page "https://community.kde.org/Frameworks")
1778 (synopsis "File searching and indexing")
1779 (description "Baloo provides file searching and indexing. It does so by
1780maintaining an index of the contents of your files.")
1781 ;; dual licensed
1782 (license (list license:gpl2+ license:lgpl2.1+))))
88549d2e
DC
1783
1784(define-public kactivities
1785 (package
1786 (name "kactivities")
9eb0f430 1787 (version "5.34.0")
04fb93e0
DC
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
9eb0f430 1796 "0dg6bkdxf4sicij4szmi55npn6chp0sfmw27qi1s582ymqzjgf5m"))))
88549d2e
DC
1797 (build-system cmake-build-system)
1798 (native-inputs
1799 `(("extra-cmake-modules" ,extra-cmake-modules)))
1800 (inputs
1801 `(("boost" ,boost)
1802 ("kauth" ,kauth)
1803 ("kbookmarks" ,kbookmarks)
1804 ("kcodecs" ,kcodecs)
1805 ("kcompletion" ,kcompletion)
1806 ("kconfig" ,kconfig)
1807 ("kconfigwidgets" ,kconfigwidgets)
1808 ("kcoreaddons" ,kcoreaddons)
1809 ("kio" ,kio)
1810 ("kitemviews" ,kitemviews)
1811 ("kjobwidgets" ,kjobwidgets)
1812 ("kservice" ,kservice)
1813 ("kwidgetsaddons" ,kwidgetsaddons)
1814 ("kwindowsystem" ,kwindowsystem)
1815 ("kxmlgui" ,kxmlgui)
1816 ("qtbase" ,qtbase)
1817 ("qtdeclarative" ,qtdeclarative)
1818 ("solid" ,solid)))
1819 (home-page "https://community.kde.org/Frameworks")
1820 (synopsis "Core components for the KDE Activity concept")
1821 (description "KActivities provides the infrastructure needed to manage a
d1e4ad1b 1822user's activities, allowing them to switch between tasks, and for applications
88549d2e
DC
1823to update their state to match the user's current activity. This includes a
1824daemon, a library for interacting with that daemon, and plugins for integration
1825with other frameworks.")
1826 ;; triple licensed
1827 (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
fb748c39
DC
1828
1829;; NOTE: This package is listed as a tier 2 package even though it requires
1830;; kactivities - a tier 3 package.
1831(define-public kactivities-stats
1832 (package
1833 (name "kactivities-stats")
9eb0f430 1834 (version "5.34.0")
4902494f
DC
1835 (source (origin
1836 (method url-fetch)
1837 (uri (string-append
1838 "mirror://kde/stable/frameworks/"
1839 (version-major+minor version) "/"
1840 name "-" version ".tar.xz"))
1841 (sha256
1842 (base32
9eb0f430 1843 "1dfaq4hsd9wm1ka45dkxbl9wwr7s5ixbnnghqwxhl7a60imc680r"))))
fb748c39
DC
1844 (build-system cmake-build-system)
1845 (native-inputs
1846 `(("extra-cmake-modules" ,extra-cmake-modules)))
1847 (inputs
1848 `(("boost" ,boost)
1849 ("kactivities" ,kactivities)
1850 ("kconfig" ,kconfig)
1851 ("qtbase" ,qtbase)
1852 ("qtdeclarative" ,qtdeclarative)))
1853 (home-page "https://community.kde.org/Frameworks")
1854 (synopsis "Access usage statistics collected by the activity manager")
1855 (description "The KActivitiesStats library provides a querying mechanism for
1856the data that the activitiy manager collects - which documents have been opened
1857by which applications, and what documents have been linked to which activity.")
1858 ;; triple licensed
1859 (license (list license:lgpl2.0+ license:lgpl2.1+ license:lgpl3+))))
5c63ebb8
DC
1860
1861(define-public kbookmarks
1862 (package
1863 (name "kbookmarks")
9eb0f430 1864 (version "5.34.0")
b58e9bea
DC
1865 (source (origin
1866 (method url-fetch)
1867 (uri (string-append
1868 "mirror://kde/stable/frameworks/"
1869 (version-major+minor version) "/"
1870 name "-" version ".tar.xz"))
1871 (sha256
1872 (base32
9eb0f430 1873 "0ggn4rz8ch82ph64q6yik9fb1mp6kmsd7n33p769zl1lw7fldn0v"))))
5c63ebb8
DC
1874 (build-system cmake-build-system)
1875 (propagated-inputs
1876 `(("kwidgetsaddons" ,kwidgetsaddons)))
1877 (native-inputs
1878 `(("extra-cmake-modules" ,extra-cmake-modules)
1879 ("qttools" ,qttools)))
1880 (inputs
1881 `(("kauth" ,kauth)
1882 ("kcodecs" ,kcodecs)
1883 ("kconfig" ,kconfig)
1884 ("kconfigwidgets" ,kconfigwidgets)
1885 ("kcoreaddons" ,kcoreaddons)
1886 ("kiconthemes" ,kiconthemes)
1887 ("kxmlgui" ,kxmlgui)
1888 ("qtbase" ,qtbase)))
1889 (arguments
1890 `(#:phases
1891 (modify-phases %standard-phases
1892 (add-before 'check 'check-setup
1893 (lambda _
1894 (setenv "HOME" (getcwd))
94e24d81 1895 ;; make Qt render "offscreen", required for tests
5c63ebb8
DC
1896 (setenv "QT_QPA_PLATFORM" "offscreen")
1897 #t)))))
1898 (home-page "https://community.kde.org/Frameworks")
1899 (synopsis "Bookmarks management library")
1900 (description "KBookmarks lets you access and manipulate bookmarks stored
1901using the XBEL format.")
1902 (license license:lgpl2.1+)))
21d381f4
DC
1903
1904(define-public kcmutils
1905 (package
1906 (name "kcmutils")
9eb0f430 1907 (version "5.34.0")
8ed8a9f5
DC
1908 (source (origin
1909 (method url-fetch)
1910 (uri (string-append
1911 "mirror://kde/stable/frameworks/"
1912 (version-major+minor version) "/"
1913 name "-" version ".tar.xz"))
1914 (sha256
1915 (base32
9eb0f430 1916 "1b52lwn7qjqrn06va7j1jswlzs6bx0drs90myf3607k52ffbf4hy"))))
21d381f4
DC
1917 (build-system cmake-build-system)
1918 (propagated-inputs
1919 `(("kconfigwidgets" ,kconfigwidgets)
1920 ("kservice" ,kservice)))
1921 (native-inputs
1922 `(("extra-cmake-modules" ,extra-cmake-modules)))
1923 (inputs
1924 `(("kauth" ,kauth)
1925 ("kcodecs" ,kcodecs)
1926 ("kconfig" ,kconfig)
1927 ("kcoreaddons" ,kcoreaddons)
1928 ("kdeclarative" ,kdeclarative)
1929 ("kiconthemes" ,kiconthemes)
1930 ("kitemviews" ,kitemviews)
1931 ("ki18n" ,ki18n)
1932 ("kpackage" ,kpackage)
1933 ("kwidgetsaddons" ,kwidgetsaddons)
1934 ("kxmlgui" ,kxmlgui)
1935 ("qtbase" ,qtbase)
1936 ("qtdeclarative" ,qtdeclarative)))
1937 (home-page "https://community.kde.org/Frameworks")
1938 (synopsis "Utilities for KDE System Settings modules")
1939 (description "KCMUtils provides various classes to work with KCModules.
1940KCModules can be created with the KConfigWidgets framework.")
1941 (license license:lgpl2.1+)))
ccce03ed
DC
1942
1943(define-public kconfigwidgets
1944 (package
1945 (name "kconfigwidgets")
9eb0f430 1946 (version "5.34.0")
986d0eae
DC
1947 (source (origin
1948 (method url-fetch)
1949 (uri (string-append
1950 "mirror://kde/stable/frameworks/"
1951 (version-major+minor version) "/"
1952 name "-" version ".tar.xz"))
1953 (sha256
1954 (base32
9eb0f430 1955 "0h4kappsffrp2qgg8wza1ybgah2dlcgpz591llfvaz31ldsml9hk"))))
ccce03ed
DC
1956 (build-system cmake-build-system)
1957 (propagated-inputs
1958 `(("kauth" ,kauth)
1959 ("kcodecs" ,kcodecs)
1960 ("kconfig" ,kconfig)
1961 ("kwidgetsaddons" ,kwidgetsaddons)))
1962 (native-inputs
1963 `(("extra-cmake-modules" ,extra-cmake-modules)))
1964 (inputs
1965 `(("kcoreaddons" ,kcoreaddons)
1966 ("kguiaddons" ,kguiaddons)
1967 ("ki18n" ,ki18n)
1968 ("qtbase" ,qtbase)))
1969 (arguments
1970 `(#:phases
1971 (modify-phases %standard-phases
1972 (add-before 'check 'check-setup
1973 (lambda _
94e24d81 1974 ;; make Qt render "offscreen", required for tests
ccce03ed
DC
1975 (setenv "QT_QPA_PLATFORM" "offscreen")
1976 #t)))))
1977 (home-page "https://community.kde.org/Frameworks")
1978 (synopsis "Widgets for configuration dialogs")
1979 (description "KConfigWidgets provides easy-to-use classes to create
1980configuration dialogs, as well as a set of widgets which uses KConfig to store
1981their settings.")
1982 ;; dual licensed
1983 (license (list license:gpl2+ license:lgpl2.1+))))
f422ad12
DC
1984
1985(define-public kdeclarative
1986 (package
1987 (name "kdeclarative")
9eb0f430 1988 (version "5.34.0")
46e1ac0b
DC
1989 (source (origin
1990 (method url-fetch)
1991 (uri (string-append
1992 "mirror://kde/stable/frameworks/"
1993 (version-major+minor version) "/"
1994 name "-" version ".tar.xz"))
1995 (sha256
1996 (base32
9eb0f430 1997 "1mfj32p631zvwz9ldk8536ifb4n825zxbhx69bfllhw2vn1am7z2"))))
f422ad12
DC
1998 (build-system cmake-build-system)
1999 (propagated-inputs
2000 `(("kconfig" ,kconfig)
2001 ("kpackage" ,kpackage)))
2002 (native-inputs
2003 `(("extra-cmake-modules" ,extra-cmake-modules)
2004 ("xorg-server" ,xorg-server)))
2005 (inputs
2006 `(("kauth" ,kauth)
2007 ("kbookmarks" ,kbookmarks)
2008 ("kcodecs" ,kcodecs)
2009 ("kcompletion" ,kcompletion)
2010 ("kconfigwidgets" ,kconfigwidgets)
2011 ("kcoreaddons" ,kcoreaddons)
2012 ("kglobalaccel" ,kglobalaccel)
2013 ("kguiaddons" ,kguiaddons)
2014 ("kiconthemes" ,kiconthemes)
2015 ("kio" ,kio)
2016 ("kitemviews" ,kitemviews)
2017 ("ki18n" ,ki18n)
2018 ("kjobwidgets" ,kjobwidgets)
2019 ("kservice" ,kservice)
2020 ("kwidgetsaddons" ,kwidgetsaddons)
2021 ("kwindowsystem" ,kwindowsystem)
2022 ("kxmlgui" ,kxmlgui)
2023 ("qtbase" ,qtbase)
2024 ("qtdeclarative" ,qtdeclarative)
2025 ("solid" ,solid)))
2026 (arguments
2027 `(#:phases
2028 (modify-phases %standard-phases
2029 (add-before 'check 'start-xorg-server
2030 (lambda* (#:key inputs #:allow-other-keys)
1e0ae3b3
HG
2031 ;; The test suite requires a running X server, setting
2032 ;; QT_QPA_PLATFORM=offscreen does not suffice.
f422ad12
DC
2033 (system (string-append (assoc-ref inputs "xorg-server")
2034 "/bin/Xvfb :1 -screen 0 640x480x24 &"))
2035 (setenv "DISPLAY" ":1")
2036 #t)))))
2037 (home-page "https://community.kde.org/Frameworks")
2038 (synopsis "Integration of QML and KDE work spaces")
2039 (description "KDeclarative provides integration of QML and KDE work spaces.
2040It's comprises two parts: a library used by the C++ part of your application to
2041intergrate QML with KDE Frameworks specific features, and a series of QML imports
2042that offer bindings to some of the Frameworks.")
2043 ;; dual licensed
2044 (license (list license:gpl2+ license:lgpl2.1+))))
ef0f8450
DC
2045
2046(define-public kded
2047 (package
2048 (name "kded")
9eb0f430 2049 (version "5.34.0")
8e963d12
DC
2050 (source (origin
2051 (method url-fetch)
2052 (uri (string-append
2053 "mirror://kde/stable/frameworks/"
2054 (version-major+minor version) "/"
2055 name "-" version ".tar.xz"))
2056 (sha256
2057 (base32
9eb0f430 2058 "0qy4w7bcg60gyf6y6c11kqcshnld55a8w4fzglpwgqfbliyi5yzq"))))
ef0f8450
DC
2059 (build-system cmake-build-system)
2060 (native-inputs
2061 `(("extra-cmake-modules" ,extra-cmake-modules)))
2062 (inputs
2063 `(("kconfig" ,kconfig)
2064 ("kcoreaddons" ,kcoreaddons)
2065 ("kcrash" ,kcrash)
2066 ("kdbusaddons" ,kdbusaddons)
2067 ("kdoctools" ,kdoctools)
2068 ("kinit" ,kinit)
2069 ("kservice" ,kservice)
2070 ("qtbase" ,qtbase)))
2071 (home-page "https://community.kde.org/Frameworks")
2072 (synopsis "Central daemon of KDE work spaces")
2073 (description "KDED stands for KDE Daemon. KDED runs in the background and
2074performs a number of small tasks. Some of these tasks are built in, others are
2075started on demand.")
2076 ;; dual licensed
2077 (license (list license:lgpl2.0+ license:lgpl2.1+))))
d02addd5
DC
2078
2079(define-public kdesignerplugin
2080 (package
2081 (name "kdesignerplugin")
9eb0f430 2082 (version "5.34.0")
9caef00b
DC
2083 (source (origin
2084 (method url-fetch)
2085 (uri (string-append
2086 "mirror://kde/stable/frameworks/"
2087 (version-major+minor version) "/"
2088 name "-" version ".tar.xz"))
2089 (sha256
2090 (base32
9eb0f430 2091 "1jnarg7wrhdjfq73q4wplazxsz927mpf0l6m0i4akq4dlp1b7aah"))))
d02addd5
DC
2092 (build-system cmake-build-system)
2093 (native-inputs
2094 `(("extra-cmake-modules" ,extra-cmake-modules)
2095 ("qttools" ,qttools)))
2096 (inputs
2097 `(("kconfig" ,kconfig)
2098 ("kcoreaddons" ,kcoreaddons)
2099 ("kdoctools" ,kdoctools)
2100 ("qtbase" ,qtbase)))
2101 (arguments
2102 `(#:phases
2103 (modify-phases %standard-phases
2104 (add-before 'check 'check-setup
2105 (lambda _
94e24d81 2106 ;; make Qt render "offscreen", required for tests
d02addd5
DC
2107 (setenv "QT_QPA_PLATFORM" "offscreen")
2108 #t)))))
2109 (home-page "https://community.kde.org/Frameworks")
2110 (synopsis "Integrating KDE frameworks widgets with Qt Designer")
2111 (description "This framework provides plugins for Qt Designer that allow it
2112to display the widgets provided by various KDE frameworks, as well as a utility
2113(kgendesignerplugin) that can be used to generate other such plugins from
2114ini-style description files.")
2115 (license license:lgpl2.1+)))
40d76848
DC
2116
2117(define-public kdesu
2118 (package
2119 (name "kdesu")
9eb0f430 2120 (version "5.34.0")
aa072198
DC
2121 (source (origin
2122 (method url-fetch)
2123 (uri (string-append
2124 "mirror://kde/stable/frameworks/"
2125 (version-major+minor version) "/"
2126 name "-" version ".tar.xz"))
2127 (sha256
2128 (base32
9eb0f430 2129 "04mx0d6kf8slgkkgbna3cyv4c491jvlwcwqxc7zikz0i03l341id"))))
40d76848
DC
2130 (build-system cmake-build-system)
2131 (propagated-inputs
2132 `(("kpty" ,kpty)))
2133 (native-inputs
2134 `(("extra-cmake-modules" ,extra-cmake-modules)))
2135 (inputs
2136 `(("kconfig" ,kconfig)
2137 ("kcoreaddons" ,kcoreaddons)
2138 ("ki18n" ,ki18n)
2139 ("kservice" ,kservice)
2140 ("qtbase" ,qtbase)))
2141 (home-page "https://community.kde.org/Frameworks")
2142 (synopsis "User interface for running shell commands with root privileges")
2143 (description "KDESU provides functionality for building GUI front ends for
2144(password asking) console mode programs. kdesu and kdessh use it to interface
2145with su and ssh respectively.")
2146 (license license:lgpl2.1+)))
3e1ce65b
DC
2147
2148(define-public kemoticons
2149 (package
2150 (name "kemoticons")
9eb0f430 2151 (version "5.34.0")
25ebad65
DC
2152 (source (origin
2153 (method url-fetch)
2154 (uri (string-append
2155 "mirror://kde/stable/frameworks/"
2156 (version-major+minor version) "/"
2157 name "-" version ".tar.xz"))
2158 (sha256
2159 (base32
9eb0f430 2160 "02h12qy0w6mcgkczi3md1znnvp7r47l8h416nd080ljpsydalgx8"))))
3e1ce65b
DC
2161 (build-system cmake-build-system)
2162 (propagated-inputs
2163 `(("kservice" ,kservice)))
2164 (native-inputs
2165 `(("extra-cmake-modules" ,extra-cmake-modules)))
2166 (inputs
2167 `(("karchive" ,karchive)
2168 ("kconfig" ,kconfig)
2169 ("kcoreaddons" ,kcoreaddons)
2170 ("qtbase" ,qtbase)))
2171 (arguments
2172 `(#:tests? #f ; FIXME: 2/2 tests fail.
2173 #:phases
2174 (modify-phases %standard-phases
2175 (add-before 'check 'check-setup
2176 (lambda _
2177 (setenv "HOME" (getcwd))
94e24d81 2178 ;; make Qt render "offscreen", required for tests
25ebad65
DC
2179 (setenv "QT_QPA_PLATFORM" "offscreen")
2180 #t)))))
3e1ce65b
DC
2181 (home-page "https://community.kde.org/Frameworks")
2182 (synopsis "Convert text emoticons to graphical emoticons")
2183 (description "KEmoticons converts emoticons from text to a graphical
2184representation with images in HTML. It supports setting different themes for
2185emoticons coming from different providers.")
2186 ;; dual licensed, image files are licensed under cc-by-sa4.0
2187 (license (list license:gpl2+ license:lgpl2.1+ license:cc-by-sa4.0))))
bdfe11a5
DC
2188
2189(define-public kglobalaccel
2190 (package
2191 (name "kglobalaccel")
9eb0f430 2192 (version "5.34.0")
2b677bec
DC
2193 (source (origin
2194 (method url-fetch)
2195 (uri (string-append
2196 "mirror://kde/stable/frameworks/"
2197 (version-major+minor version) "/"
2198 name "-" version ".tar.xz"))
2199 (sha256
2200 (base32
9eb0f430 2201 "1i32dq70qxjbfvlw0wqxvqvl6ysydmpg3zbiflff4z1qrmvmpw6a"))))
bdfe11a5
DC
2202 (build-system cmake-build-system)
2203 (native-inputs
2204 `(("extra-cmake-modules" ,extra-cmake-modules)
2205 ("qttools" ,qttools)))
2206 (inputs
2207 `(("kconfig" ,kconfig)
2208 ("kcrash" ,kcrash)
2209 ("kcoreaddons" ,kcoreaddons)
2210 ("kdbusaddons" ,kdbusaddons)
2b677bec 2211 ("kservice" ,kservice)
bdfe11a5
DC
2212 ("kwindowsystem" ,kwindowsystem)
2213 ("libxcb" ,libxcb)
2214 ("qtbase" ,qtbase)
2215 ("qtx11extras" ,qtx11extras)
2216 ("xcb-util-keysyms" ,xcb-util-keysyms)))
2217 (arguments
2218 `(#:phases
2219 (modify-phases %standard-phases
2220 (add-before 'check 'check-setup
2221 (lambda _
94e24d81 2222 ;; make Qt render "offscreen", required for tests
bdfe11a5
DC
2223 (setenv "QT_QPA_PLATFORM" "offscreen")
2224 #t)))))
2225 (home-page "https://community.kde.org/Frameworks")
2226 (synopsis "Global desktop keyboard shortcuts")
2227 (description "KGlobalAccel allows you to have global accelerators that are
2228independent of the focused window. Unlike regular shortcuts, the application's
2229window does not need focus for them to be activated.")
2230 (license license:lgpl2.1+)))
612c2545
DC
2231
2232(define-public kiconthemes
2233 (package
2234 (name "kiconthemes")
9eb0f430 2235 (version "5.34.0")
c8ddc56e
DC
2236 (source (origin
2237 (method url-fetch)
2238 (uri (string-append
2239 "mirror://kde/stable/frameworks/"
2240 (version-major+minor version) "/"
2241 name "-" version ".tar.xz"))
2242 (sha256
2243 (base32
9eb0f430 2244 "0hbl82r6qc8dh9v9n9xjkx966czkq5yjxx2rx7sbilj2p9v3saii"))))
612c2545
DC
2245 (build-system cmake-build-system)
2246 (native-inputs
2247 `(("extra-cmake-modules" ,extra-cmake-modules)
2248 ("shared-mime-info" ,shared-mime-info)))
2249 (inputs
2250 `(("karchive" ,karchive)
2251 ("kauth" ,kauth)
2252 ("kcodecs" ,kcodecs)
2253 ("kcoreaddons" ,kcoreaddons)
2254 ("kconfig" ,kconfig)
2255 ("kconfigwidgets" ,kconfigwidgets)
2256 ("ki18n" ,ki18n)
2257 ("kitemviews" ,kitemviews)
2258 ("kwidgetsaddons" ,kwidgetsaddons)
2259 ("qtbase" ,qtbase)
2260 ("qtsvg" ,qtsvg)))
2261 (arguments
9ebffc50 2262 `(#:phases
612c2545
DC
2263 (modify-phases %standard-phases
2264 (add-before 'check 'check-setup
2265 (lambda* (#:key inputs #:allow-other-keys)
2266 (setenv "XDG_DATA_DIRS"
2267 (string-append (assoc-ref inputs "shared-mime-info")
2268 "/share"))
2269 (setenv "HOME" (getcwd))
94e24d81 2270 ;; make Qt render "offscreen", required for tests
c8ddc56e
DC
2271 (setenv "QT_QPA_PLATFORM" "offscreen")
2272 #t)))))
612c2545
DC
2273 (home-page "https://community.kde.org/Frameworks")
2274 (synopsis "Icon GUI utilities")
2275 (description "This library contains classes to improve the handling of icons
2276in applications using the KDE Frameworks.")
2277 (license license:lgpl2.1+)))
3d670190
DC
2278
2279(define-public kinit
2280 (package
2281 (name "kinit")
9eb0f430 2282 (version "5.34.0")
89d522a3
DC
2283 (source (origin
2284 (method url-fetch)
2285 (uri (string-append
2286 "mirror://kde/stable/frameworks/"
2287 (version-major+minor version) "/"
2288 name "-" version ".tar.xz"))
2289 (sha256
2290 (base32
9eb0f430 2291 "08429kjihpaip73wszr3rsii8sdlwgm3kxx7g0hpjhkj9d2jq3m1"))))
3d670190
DC
2292 (build-system cmake-build-system)
2293 (native-inputs
7cf6793b
HG
2294 `(("extra-cmake-modules" ,extra-cmake-modules)
2295 ("pkg-config" ,pkg-config)))
3d670190
DC
2296 (inputs
2297 `(("kauth" ,kauth)
2298 ("kbookmarks" ,kbookmarks)
2299 ("kcodecs" ,kcodecs)
2300 ("kcompletion" ,kcompletion)
2301 ("kconfig" ,kconfig)
2302 ("kconfigwidgets" ,kconfigwidgets)
2303 ("kcoreaddons" ,kcoreaddons)
2304 ("kcrash" ,kcrash)
7cf6793b 2305 ("kdoctools" ,kdoctools)
3d670190
DC
2306 ("kio" ,kio)
2307 ("kitemviews" ,kitemviews)
2308 ("ki18n" ,ki18n)
2309 ("kjobwidgets" ,kjobwidgets)
2310 ("kservice" ,kservice)
2311 ("kwidgetsaddons" ,kwidgetsaddons)
2312 ("kwindowsystem" ,kwindowsystem)
2313 ("kxmlgui" ,kxmlgui)
7cf6793b 2314 ("libcap" ,libcap) ; to install start_kdeinit with CAP_SYS_RESOURCE
3d670190
DC
2315 ("qtbase" ,qtbase)
2316 ("solid" ,solid)))
2317 (home-page "https://community.kde.org/Frameworks")
2318 (synopsis "Library to speed up start of applications on KDE workspaces")
2319 (description "Kdeinit is a process launcher similar to init used for booting
2320UNIX. It launches processes by forking and then loading a dynamic library which
2321contains a 'kdemain(...)' function. Using kdeinit to launch KDE applications
2322makes starting KDE applications faster and reduces memory consumption.")
2323 ;; dual licensed
2324 (license (list license:lgpl2.0+ license:lgpl2.1+))))
17252110
DC
2325
2326(define-public kio
2327 (package
2328 (name "kio")
9eb0f430 2329 (version "5.34.0")
ed3634e7
DC
2330 (source (origin
2331 (method url-fetch)
2332 (uri (string-append
2333 "mirror://kde/stable/frameworks/"
2334 (version-major+minor version) "/"
2335 name "-" version ".tar.xz"))
2336 (sha256
2337 (base32
9eb0f430 2338 "1i23ld5b9gafh2x3lv79jbggbd92xyhk7rg3n765w3bsfpg2ijva"))))
17252110
DC
2339 (build-system cmake-build-system)
2340 (propagated-inputs
2341 `(("kbookmarks" ,kbookmarks)
2342 ("kconfig" ,kconfig)
2343 ("kcompletion" ,kcompletion)
2344 ("kcoreaddons" ,kcoreaddons)
2345 ("kitemviews" ,kitemviews)
2346 ("kjobwidgets" ,kjobwidgets)
2347 ("kservice" ,kservice)
2348 ("kxmlgui" ,kxmlgui)
2349 ("solid" ,solid)))
2350 (native-inputs
2351 `(("dbus" ,dbus)
2352 ("extra-cmake-modules" ,extra-cmake-modules)))
2353 (inputs
2354 `(("acl" ,acl)
786cb783 2355 ("krb5" ,mit-krb5)
17252110
DC
2356 ("karchive" ,karchive)
2357 ("kauth" ,kauth)
2358 ("kcodecs" ,kcodecs)
2359 ("kconfigwidgets" ,kconfigwidgets)
2360 ("kdbusaddons" ,kdbusaddons)
2361 ("kdoctools" ,kdoctools)
2362 ("kiconthemes" ,kiconthemes)
2363 ("ki18n" ,ki18n)
2364 ("knotifications" ,knotifications)
2365 ("ktextwidgets" ,ktextwidgets)
2366 ("kwallet" ,kwallet)
2367 ("kwidgetsaddons" ,kwidgetsaddons)
2368 ("kwindowsystem" ,kwindowsystem)
2369 ("libxml2" ,libxml2)
2370 ("libxslt" ,libxslt)
2371 ("qtbase" ,qtbase)
786cb783 2372 ("qtscript" ,qtscript)
17252110
DC
2373 ("qtx11extras" ,qtx11extras)
2374 ("sonnet" ,sonnet)))
2375 (arguments
2376 `(#:tests? #f ; FIXME: 41/50 tests fail.
2377 #:phases
2378 (modify-phases %standard-phases
2379 (add-before 'check 'check-setup
2380 (lambda _
2381 (setenv "HOME" (getcwd))
2382 (setenv "XDG_RUNTIME_DIR" (getcwd))
94e24d81 2383 ;; make Qt render "offscreen", required for tests
ed3634e7
DC
2384 (setenv "QT_QPA_PLATFORM" "offscreen")
2385 #t)))))
17252110
DC
2386 ;;(replace 'check
2387 ;; (lambda _
2388 ;; (setenv "DBUS_FATAL_WARNINGS" "0")
2389 ;; (zero? (system* "dbus-launch" "ctest" ".")))))))
2390 (home-page "https://community.kde.org/Frameworks")
2391 (synopsis "Network transparent access to files and data")
2392 (description "This framework implements a lot of file management functions.
2393It supports accessing files locally as well as via HTTP and FTP out of the box
2394and can be extended by plugins to support other protocols as well. There is a
2395variety of plugins available, e.g. to support access via SSH. The framework can
2396also be used to bridge a native protocol to a file-based interface. This makes
2397the data accessible in all applications using the KDE file dialog or any other
2398KIO enabled infrastructure.")
2399 (license license:lgpl2.1+)))
2ac7e35a
DC
2400
2401(define-public knewstuff
2402 (package
2403 (name "knewstuff")
9eb0f430 2404 (version "5.34.0")
7064ad3f
DC
2405 (source (origin
2406 (method url-fetch)
2407 (uri (string-append
2408 "mirror://kde/stable/frameworks/"
2409 (version-major+minor version) "/"
2410 name "-" version ".tar.xz"))
2411 (sha256
2412 (base32
9eb0f430 2413 "19d53ylwr92dzl9agk4j765zvb897rcm55z7pr6841aj58jk9b82"))))
2ac7e35a
DC
2414 (build-system cmake-build-system)
2415 (propagated-inputs
2416 `(("attica" ,attica)
2417 ("kservice" ,kservice)
2418 ("kxmlgui" ,kxmlgui)))
2419 (native-inputs
2420 `(("extra-cmake-modules" ,extra-cmake-modules)))
2421 (inputs
2422 `(("karchive" ,karchive)
2423 ("kauth" ,kauth)
2424 ("kbookmarks" ,kbookmarks)
2425 ("kcodecs" ,kcodecs)
2426 ("kcompletion" ,kcompletion)
2427 ("kconfig" ,kconfig)
2428 ("kconfigwidgets" ,kconfigwidgets)
2429 ("kcoreaddons" ,kcoreaddons)
2430 ("kio" ,kio)
2431 ("kitemviews" ,kitemviews)
2432 ("ki18n" ,ki18n)
2433 ("kiconthemes" ,kiconthemes)
2434 ("kjobwidgets" ,kjobwidgets)
2435 ("ktextwidgets" ,ktextwidgets)
2436 ("kwidgetsaddons" ,kwidgetsaddons)
2437 ("qtbase" ,qtbase)
4467c2d1 2438 ("qtdeclarative" ,qtdeclarative)
2ac7e35a
DC
2439 ("solid" ,solid)
2440 ("sonnet" ,sonnet)))
2441 (arguments
2442 `(#:tests? #f ; FIXME: 1/3 tests fail.
2443 #:phases
2444 (modify-phases %standard-phases
2445 (add-before 'check 'check-setup
2446 (lambda _ ; XDG_DATA_DIRS isn't set
2447 (setenv "HOME" (getcwd))
94e24d81 2448 ;; make Qt render "offscreen", required for tests
7064ad3f
DC
2449 (setenv "QT_QPA_PLATFORM" "offscreen")
2450 #t)))))
2ac7e35a
DC
2451 (home-page "https://community.kde.org/Frameworks")
2452 (synopsis "Framework for downloading and sharing additional application data")
2453 (description "The KNewStuff library implements collaborative data sharing
2454for applications. It uses libattica to support the Open Collaboration Services
2455specification.")
2456 (license license:lgpl2.1+)))
10ca449a
DC
2457
2458(define-public knotifyconfig
2459 (package
2460 (name "knotifyconfig")
9eb0f430 2461 (version "5.34.0")
59cb98e1
DC
2462 (source (origin
2463 (method url-fetch)
2464 (uri (string-append
2465 "mirror://kde/stable/frameworks/"
2466 (version-major+minor version) "/"
2467 name "-" version ".tar.xz"))
2468 (sha256
2469 (base32
9eb0f430 2470 "0lwl22vq770jyp45j32s0ss8yiqdwbink6cdhkbapg3pzbiwklyk"))))
10ca449a
DC
2471 (build-system cmake-build-system)
2472 (native-inputs
2473 `(("extra-cmake-modules" ,extra-cmake-modules)))
2474 (inputs
2475 `(("kauth" ,kauth)
2476 ("kbookmarks" ,kbookmarks)
2477 ("kcodecs" ,kcodecs)
2478 ("kcompletion" ,kcompletion)
2479 ("kconfig" ,kconfig)
2480 ("kconfigwidgets" ,kconfigwidgets)
2481 ("kcoreaddons" ,kcoreaddons)
2482 ("kio" ,kio)
2483 ("kitemviews" ,kitemviews)
2484 ("ki18n" ,ki18n)
2485 ("kjobwidgets" ,kjobwidgets)
2486 ("knotifications" ,knotifications)
2487 ("kservice" ,kservice)
2488 ("kwidgetsaddons" ,kwidgetsaddons)
2489 ("kxmlgui" ,kxmlgui)
2490 ("phonon" ,phonon)
2491 ("qtbase" ,qtbase)
2492 ("solid" ,solid)))
2493 (home-page "https://community.kde.org/Frameworks")
2494 (synopsis "Configuration dialog for desktop notifications")
2495 (description "KNotifyConfig provides a configuration dialog for desktop
2496notifications which can be embedded in your application.")
2497 ;; dual licensed
2498 (license (list license:lgpl2.0+ license:lgpl2.1+))))
6609b1a3
DC
2499
2500(define-public kparts
2501 (package
2502 (name "kparts")
9eb0f430 2503 (version "5.34.0")
33fa4658
DC
2504 (source (origin
2505 (method url-fetch)
2506 (uri (string-append
2507 "mirror://kde/stable/frameworks/"
2508 (version-major+minor version) "/"
2509 name "-" version ".tar.xz"))
2510 (sha256
2511 (base32
9eb0f430 2512 "1a5n0f7ljdc2bm6vggzwbvpblyxjqn9m9pam70iab964pqqalgp7"))))
6609b1a3
DC
2513 (build-system cmake-build-system)
2514 (propagated-inputs
2515 `(("kio" ,kio)
2516 ("ktextwidgets" ,ktextwidgets)
2517 ("kxmlgui" ,kxmlgui)))
2518 (native-inputs
2519 `(("extra-cmake-modules" ,extra-cmake-modules)))
2520 (inputs
2521 `(("kauth" ,kauth)
2522 ("kbookmarks" ,kbookmarks)
2523 ("kcodecs" ,kcodecs)
2524 ("kcompletion" ,kcompletion)
2525 ("kconfig" ,kconfig)
2526 ("kconfigwidgets" ,kconfigwidgets)
2527 ("kcoreaddons" ,kcoreaddons)
2528 ("kiconthemes" ,kiconthemes)
2529 ("kitemviews" ,kitemviews)
2530 ("ki18n" ,ki18n)
2531 ("kjobwidgets" ,kjobwidgets)
2532 ("kservice" ,kservice)
2533 ("kwidgetsaddons" ,kwidgetsaddons)
2534 ("qtbase" ,qtbase)
2535 ("solid" ,solid)
2536 ("sonnet" ,sonnet)))
2537 (arguments
2538 `(#:phases
2539 (modify-phases %standard-phases
2540 (add-before 'check 'check-setup
2541 (lambda _
94e24d81 2542 ;; make Qt render "offscreen", required for tests
6609b1a3
DC
2543 (setenv "QT_QPA_PLATFORM" "offscreen")
2544 #t)))))
2545 (home-page "https://community.kde.org/Frameworks")
2546 (synopsis "Plugin framework for user interface components")
2547 (description "This library implements the framework for KDE parts, which are
2548widgets with a user-interface defined in terms of actions.")
2549 (license license:lgpl2.1+)))
85e831ec
DC
2550
2551(define-public kpeople
2552 (package
2553 (name "kpeople")
9eb0f430 2554 (version "5.34.0")
3a1e972d
DC
2555 (source (origin
2556 (method url-fetch)
2557 (uri (string-append
2558 "mirror://kde/stable/frameworks/"
2559 (version-major+minor version) "/"
2560 name "-" version ".tar.xz"))
2561 (sha256
2562 (base32
9eb0f430 2563 "0krm74dl80s48nhiygga4dvkvqqimxdx4nczbk4qvj7j1g9p2rsh"))))
85e831ec
DC
2564 (build-system cmake-build-system)
2565 (native-inputs
2566 `(("extra-cmake-modules" ,extra-cmake-modules)))
2567 (inputs
2568 `(("kconfig" ,kconfig)
2569 ("kcoreaddons" ,kcoreaddons)
2570 ("kitemviews" ,kitemviews)
2571 ("ki18n" ,ki18n)
2572 ("kservice" ,kservice)
2573 ("kwidgetsaddons" ,kwidgetsaddons)
2574 ("qtbase" ,qtbase)
2575 ("qtdeclarative" ,qtdeclarative)))
2576 (arguments
2577 `(#:tests? #f ; FIXME: 1/3 tests fail.
2578 #:phases
2579 (modify-phases %standard-phases
2580 (add-before 'check 'check-setup
2581 (lambda _
94e24d81 2582 ;; make Qt render "offscreen", required for tests
3a1e972d
DC
2583 (setenv "QT_QPA_PLATFORM" "offscreen")
2584 #t)))))
85e831ec
DC
2585 (home-page "https://community.kde.org/Frameworks")
2586 (synopsis "Provides access to all contacts and aggregates them by person")
2587 (description "KPeople offers unified access to our contacts from different
2588sources, grouping them by person while still exposing all the data. KPeople
2589also provides facilities to integrate the data provided in user interfaces by
2590providing QML and Qt Widgets components. The sources are plugin-based, allowing
2591to easily extend the contacts collection.")
2592 (license license:lgpl2.1+)))
e9417752
DC
2593
2594(define-public krunner
2595 (package
2596 (name "krunner")
9eb0f430 2597 (version "5.34.0")
dc219cc6
DC
2598 (source (origin
2599 (method url-fetch)
2600 (uri (string-append
2601 "mirror://kde/stable/frameworks/"
2602 (version-major+minor version) "/"
2603 name "-" version ".tar.xz"))
2604 (sha256
2605 (base32
9eb0f430 2606 "0n527p708k719zgmvvbmp20xmg72f85cll05q05p4h317g7wz6i5"))))
e9417752
DC
2607 (build-system cmake-build-system)
2608 (propagated-inputs
2609 `(("plasma-framework" ,plasma-framework)))
2610 (native-inputs
2611 `(("extra-cmake-modules" ,extra-cmake-modules)))
2612 (inputs
2613 `(("kauth" ,kauth)
2614 ("kbookmarks" ,kbookmarks)
2615 ("kcodecs" ,kcodecs)
2616 ("kcompletion" ,kcompletion)
2617 ("kconfig" ,kconfig)
2618 ("kconfigwidgets" ,kconfigwidgets)
2619 ("kcoreaddons" ,kcoreaddons)
2620 ("kio" ,kio)
2621 ("kitemviews" ,kitemviews)
2622 ("ki18n" ,ki18n)
2623 ("kjobwidgets" ,kjobwidgets)
2624 ("kpackage" ,kpackage)
2625 ("kservice" ,kservice)
2626 ("kwidgetsaddons" ,kwidgetsaddons)
2627 ("kxmlgui" ,kxmlgui)
2628 ("qtbase" ,qtbase)
2629 ("qtdeclarative" ,qtdeclarative)
2630 ("solid" ,solid)
2631 ("threadweaver" ,threadweaver)))
2632 (arguments
2633 `(#:tests? #f ; FIXME: 1/1 tests fail.
2634 #:phases
2635 (modify-phases %standard-phases
2636 (add-before 'check 'check-setup
2637 (lambda _
94e24d81 2638 ;; make Qt render "offscreen", required for tests
dc219cc6
DC
2639 (setenv "QT_QPA_PLATFORM" "offscreen")
2640 #t)))))
e9417752
DC
2641 (home-page "https://community.kde.org/Frameworks")
2642 (synopsis "Framework for Plasma runners")
2643 (description "The Plasma workspace provides an application called KRunner
2644which, among other things, allows one to type into a text area which causes
2645various actions and information that match the text appear as the text is being
2646typed.")
2647 (license license:lgpl2.1+)))
12b49b62
DC
2648
2649(define-public kservice
2650 (package
2651 (name "kservice")
9eb0f430 2652 (version "5.34.0")
886d8155
DC
2653 (source (origin
2654 (method url-fetch)
2655 (uri (string-append
2656 "mirror://kde/stable/frameworks/"
2657 (version-major+minor version) "/"
2658 name "-" version ".tar.xz"))
2659 (sha256
2660 (base32
9eb0f430 2661 "0sikwn49s2iq1nj518q55m2p0hvdvwm98cpf0dkjb1z1v6fgjc37"))))
12b49b62
DC
2662 (build-system cmake-build-system)
2663 (propagated-inputs
2664 `(("kconfig" ,kconfig)
2665 ("kcoreaddons" ,kcoreaddons)))
2666 (native-inputs
886d8155
DC
2667 `(("bison" ,bison)
2668 ("extra-cmake-modules" ,extra-cmake-modules)
83dcfa72 2669 ("flex" ,flex)))
12b49b62
DC
2670 (inputs
2671 `(("kcrash" ,kcrash)
2672 ("kdbusaddons" ,kdbusaddons)
2673 ("kdoctools" ,kdoctools)
2674 ("ki18n" ,ki18n)
2675 ("qtbase" ,qtbase)))
2676 (arguments
2677 `(#:tests? #f ; FIXME: 8/10 tests fail.
2678 #:phases
2679 (modify-phases %standard-phases
2680 (add-before 'check 'check-setup
2681 (lambda _
2682 (setenv "HOME" (getcwd))
94e24d81 2683 ;; make Qt render "offscreen", required for tests
12b49b62
DC
2684 (setenv "QT_QPA_PLATFORM" "offscreen")
2685 #t)))))
2686 (home-page "https://community.kde.org/Frameworks")
2687 (synopsis "Plugin framework for desktop services")
2688 (description "KService provides a plugin framework for handling desktop
2689services. Services can be applications or libraries. They can be bound to MIME
2690types or handled by application specific code.")
2691 ;; triple licensed
2692 (license (list license:gpl2+ license:gpl3+ license:lgpl2.1+))))
def00811
DC
2693
2694(define-public ktexteditor
2695 (package
2696 (name "ktexteditor")
9eb0f430 2697 (version "5.34.0")
b0791cf9
DC
2698 (source (origin
2699 (method url-fetch)
2700 (uri (string-append
2701 "mirror://kde/stable/frameworks/"
2702 (version-major+minor version) "/"
2703 name "-" version ".tar.xz"))
2704 (sha256
2705 (base32
9eb0f430 2706 "182a0swfgdqr0faq3ksk6hlfvdi1afd0hpys5vayjjf263m19xxw"))))
def00811
DC
2707 (build-system cmake-build-system)
2708 (propagated-inputs
2709 `(("kparts" ,kparts)))
2710 (native-inputs
37aa54b7
HG
2711 `(("extra-cmake-modules" ,extra-cmake-modules)
2712 ("pkg-config" ,pkg-config)))
def00811 2713 (inputs
1e0ae3b3
HG
2714 `(;; TODO: editor-config
2715 ("karchive" ,karchive)
def00811
DC
2716 ("kauth" ,kauth)
2717 ("kbookmarks" ,kbookmarks)
2718 ("kcodecs" ,kcodecs)
2719 ("kcompletion" ,kcompletion)
2720 ("kconfig" ,kconfig)
2721 ("kconfigwidgets" ,kconfigwidgets)
2722 ("kcoreaddons" ,kcoreaddons)
2723 ("kguiaddons" ,kguiaddons)
2724 ("kiconthemes" ,kiconthemes)
2725 ("kio" ,kio)
2726 ("kitemviews" ,kitemviews)
2727 ("ki18n" ,ki18n)
2728 ("kjobwidgets" ,kjobwidgets)
2729 ("kservice" ,kservice)
4467c2d1 2730 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
def00811
DC
2731 ("ktextwidgets" ,ktextwidgets)
2732 ("kwidgetsaddons" ,kwidgetsaddons)
2733 ("kxmlgui" ,kxmlgui)
2734 ("libgit2" ,libgit2)
2735 ("perl" ,perl)
2736 ("qtbase" ,qtbase)
2737 ("qtscript" ,qtscript)
2738 ("qtxmlpatterns" ,qtxmlpatterns)
2739 ("solid" ,solid)
2740 ("sonnet" ,sonnet)))
2741 (arguments
2742 `(#:tests? #f ; FIXME: 2/54 tests fail: Cannot find fontdirectory qtbase/lib/font
2743 #:phases
2744 (modify-phases %standard-phases
2745 (add-after 'unpack 'setup
2746 (lambda* (#:key inputs #:allow-other-keys)
2747 (setenv "XDG_DATA_DIRS" ; FIXME build phase doesn't find parts.desktop
2748 (string-append (assoc-ref inputs "kparts") "/share"))
2749 #t))
2750 (add-before 'check 'check-setup
2751 (lambda _
2752 (setenv "HOME" (getcwd))
94e24d81 2753 ;; make Qt render "offscreen", required for tests
def00811 2754 (setenv "QT_QPA_PLATFORM" "offscreen")
def00811
DC
2755 #t)))))
2756 (home-page "https://community.kde.org/Frameworks")
2757 (synopsis "Full text editor component")
2758 (description "KTextEditor provides a powerful text editor component that you
2759can embed in your application, either as a KPart or using the KF5::TextEditor
2760library.")
2761 ;; triple licensed
2762 (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
2128da9a
DC
2763
2764(define-public ktextwidgets
2765 (package
2766 (name "ktextwidgets")
9eb0f430 2767 (version "5.34.0")
f07f6709
DC
2768 (source (origin
2769 (method url-fetch)
2770 (uri (string-append
2771 "mirror://kde/stable/frameworks/"
2772 (version-major+minor version) "/"
2773 name "-" version ".tar.xz"))
2774 (sha256
2775 (base32
9eb0f430 2776 "1hri34b373bww5gv14qli2nm77k05pk170nbb2vv2zvzv93g25gw"))))
2128da9a
DC
2777 (build-system cmake-build-system)
2778 (propagated-inputs
2779 `(("ki18n" ,ki18n)
2780 ("sonnet" ,sonnet)))
2781 (native-inputs
2782 `(("extra-cmake-modules" ,extra-cmake-modules)))
2783 (inputs
2784 `(("kauth" ,kauth)
2785 ("kcodecs" ,kcodecs)
2786 ("kcompletion" ,kcompletion)
2787 ("kconfig" ,kconfig)
2788 ("kconfigwidgets" ,kconfigwidgets)
2789 ("kcoreaddons" ,kcoreaddons)
2790 ("kiconthemes" ,kiconthemes)
2791 ("kservice" ,kservice)
2792 ("kwidgetsaddons" ,kwidgetsaddons)
2793 ("kwindowsystem" ,kwindowsystem)
1e0ae3b3 2794 ;; TODO: qtspeech (new in Qt 5.9)
2128da9a
DC
2795 ("qtbase" ,qtbase)))
2796 (arguments
2797 `(#:phases
2798 (modify-phases %standard-phases
2799 (add-before 'check 'check-setup
2800 (lambda _
94e24d81 2801 ;; make Qt render "offscreen", required for tests
2128da9a
DC
2802 (setenv "QT_QPA_PLATFORM" "offscreen")
2803 #t)))))
2804 (home-page "https://community.kde.org/Frameworks")
2805 (synopsis "Text editing widgets")
2806 (description "KTextWidgets provides widgets for displaying and editing text.
2807It supports rich text as well as plain text.")
2808 ;; dual licensed
2809 (license (list license:lgpl2.0+ license:lgpl2.1+))))
7ac520dd
DC
2810
2811(define-public kwallet
2812 (package
2813 (name "kwallet")
9eb0f430 2814 (version "5.34.0")
8b9b0e5e
DC
2815 (source (origin
2816 (method url-fetch)
2817 (uri (string-append
2818 "mirror://kde/stable/frameworks/"
2819 (version-major+minor version) "/"
2820 name "-" version ".tar.xz"))
2821 (sha256
2822 (base32
9eb0f430 2823 "08z3ddsam5n5qn2svscp4hgksf6qd1h8lqw1v382p01nnmhxadz5"))))
7ac520dd
DC
2824 (build-system cmake-build-system)
2825 (native-inputs
2826 `(("extra-cmake-modules" ,extra-cmake-modules)))
2827 (inputs
51361afd 2828 `(("gpgme" ,gpgme) ;; TODO: Add gpgme Qt-bindings
7ac520dd
DC
2829 ("kauth" ,kauth)
2830 ("kcodecs" ,kcodecs)
2831 ("kconfig" ,kconfig)
2832 ("kconfigwidgets" ,kconfigwidgets)
2833 ("kcoreaddons" ,kcoreaddons)
2834 ("kdbusaddons" ,kdbusaddons)
2835 ("kdoctools" ,kdoctools)
2836 ("kiconthemes" ,kiconthemes)
2837 ("ki18n" ,ki18n)
2838 ("knotifications" ,knotifications)
2839 ("kservice" ,kservice)
2840 ("kwidgetsaddons" ,kwidgetsaddons)
2841 ("kwindowsystem" ,kwindowsystem)
2842 ("libgcrypt" ,libgcrypt)
2843 ("phonon" ,phonon)
2844 ("qtbase" ,qtbase)))
2845 (home-page "https://community.kde.org/Frameworks")
2846 (synopsis "Safe desktop-wide storage for passwords")
2847 (description "This framework contains an interface to KWallet, a safe
2848desktop-wide storage for passwords and the kwalletd daemon used to safely store
2849the passwords on KDE work spaces.")
2850 (license license:lgpl2.1+)))
469a743c
DC
2851
2852(define-public kxmlgui
2853 (package
2854 (name "kxmlgui")
9eb0f430 2855 (version "5.34.0")
19fbf93f
DC
2856 (source (origin
2857 (method url-fetch)
2858 (uri (string-append
2859 "mirror://kde/stable/frameworks/"
2860 (version-major+minor version) "/"
2861 name "-" version ".tar.xz"))
2862 (sha256
2863 (base32
9eb0f430 2864 "1v8m6qzjqg3ic14a5ki37bf13kifzcbhly68zcxgs5b92hr953iy"))))
469a743c
DC
2865 (build-system cmake-build-system)
2866 (propagated-inputs
2867 `(("kconfig" ,kconfig)
2868 ("kconfigwidgets" ,kconfigwidgets)))
2869 (native-inputs
2870 `(("extra-cmake-modules" ,extra-cmake-modules)))
2871 (inputs
2872 `(("attica" ,attica)
2873 ("kauth", kauth)
2874 ("kcodecs" ,kcodecs)
2875 ("kcoreaddons" ,kcoreaddons)
2876 ("kglobalaccel" ,kglobalaccel)
2877 ("kiconthemes" ,kiconthemes)
2878 ("kitemviews" ,kitemviews)
2879 ("ki18n" ,ki18n)
2880 ("ktextwidgets" ,ktextwidgets)
2881 ("kwidgetsaddons" ,kwidgetsaddons)
2882 ("kwindowsystem" ,kwindowsystem)
2883 ("qtbase" ,qtbase)
2884 ("sonnet" ,sonnet)))
2885 (arguments
2886 `(#:tests? #f ; FIXME: 1/5 tests fail.
2887 #:phases
2888 (modify-phases %standard-phases
2889 (add-before 'check 'check-setup
2890 (lambda _
2891 (setenv "HOME" (getcwd))
94e24d81 2892 ;; make Qt render "offscreen", required for tests
469a743c 2893 (setenv "QT_QPA_PLATFORM" "offscreen")
469a743c
DC
2894 #t)))))
2895 (home-page "https://community.kde.org/Frameworks")
2896 (synopsis "Framework for managing menu and toolbar actions")
2897 (description "KXMLGUI provides a framework for managing menu and toolbar
2898actions in an abstract way. The actions are configured through a XML description
2899and hooks in the application code. The framework supports merging of multiple
2900descriptions for integrating actions from plugins.")
2901 ;; dual licensed
2902 (license (list license:gpl2+ license:lgpl2.1+))))
97bb2dbb
DC
2903
2904(define-public kxmlrpcclient
2905 (package
2906 (name "kxmlrpcclient")
9eb0f430 2907 (version "5.34.0")
6c6e8b19
DC
2908 (source (origin
2909 (method url-fetch)
2910 (uri (string-append
2911 "mirror://kde/stable/frameworks/"
2912 (version-major+minor version) "/"
2913 name "-" version ".tar.xz"))
2914 (sha256
2915 (base32
9eb0f430 2916 "0kp3ab50m5jl2jgw883ip67s6gs0l3saprzrqa9r3hydn2c4s3md"))))
97bb2dbb
DC
2917 (build-system cmake-build-system)
2918 (propagated-inputs
2919 `(("kio" ,kio)))
2920 (native-inputs
2921 `(("extra-cmake-modules" ,extra-cmake-modules)))
2922 (inputs
2923 `(("kauth" ,kauth)
2924 ("kbookmarks" ,kbookmarks)
2925 ("kcodecs" ,kcodecs)
2926 ("kcompletion" ,kcompletion)
2927 ("kconfig" ,kconfig)
2928 ("kconfigwidgets" ,kconfigwidgets)
2929 ("kcoreaddons" ,kcoreaddons)
2930 ("kitemviews" ,kitemviews)
2931 ("ki18n" ,ki18n)
2932 ("kjobwidgets" ,kjobwidgets)
2933 ("kservice" ,kservice)
2934 ("kwidgetsaddons" ,kwidgetsaddons)
2935 ("kxmlgui" ,kxmlgui)
2936 ("qtbase" ,qtbase)
2937 ("solid" ,solid)))
2938 (home-page "https://community.kde.org/Frameworks")
2939 (synopsis "XML-RPC client")
2940 (description "This library contains simple XML-RPC Client support. It is a
2941complete client and is easy to use. Only one interface is exposed,
2942kxmlrpcclient/client.h and from that interface, you only need to use 3 methods:
2943setUrl, setUserAgent and call.")
2944 ;; dual licensed
2945 (license (list license:bsd-2 license:lgpl2.1+))))
0a7c2d08
DC
2946
2947(define-public plasma-framework
2948 (package
2949 (name "plasma-framework")
9eb0f430 2950 (version "5.34.0")
9efa472f
DC
2951 (source (origin
2952 (method url-fetch)
2953 (uri (string-append
2954 "mirror://kde/stable/frameworks/"
2955 (version-major+minor version) "/"
2956 name "-" version ".tar.xz"))
2957 (sha256
2958 (base32
9eb0f430 2959 "0waicqskfwc8xpmrym165hwlfv6nzbwc783sac5vrhbyk4bwk8x9"))))
0a7c2d08
DC
2960 (build-system cmake-build-system)
2961 (propagated-inputs
2962 `(("kpackage" ,kpackage)
2963 ("kservice" ,kservice)))
2964 (native-inputs
faec8b8f
HG
2965 `(("extra-cmake-modules" ,extra-cmake-modules)
2966 ("pkg-config" ,pkg-config)))
0a7c2d08
DC
2967 (inputs
2968 `(("kactivities" ,kactivities)
2969 ("karchive" ,karchive)
2970 ("kauth" ,kauth)
2971 ("kbookmarks" ,kbookmarks)
2972 ("kcodecs" ,kcodecs)
2973 ("kcompletion" ,kcompletion)
2974 ("kconfig" ,kconfig)
2975 ("kconfigwidgets" ,kconfigwidgets)
2976 ("kcoreaddons" ,kcoreaddons)
2977 ("kdbusaddons" ,kdbusaddons)
2978 ("kdeclarative" ,kdeclarative)
2979 ("kdoctools" ,kdoctools)
2980 ("kglobalaccel" ,kglobalaccel)
2981 ("kguiaddons" ,kguiaddons)
2982 ("kiconthemes" ,kiconthemes)
2983 ("kitemviews" ,kitemviews)
2984 ("kio" ,kio)
2985 ("ki18n" ,ki18n)
2986 ("kjobwidgets" ,kjobwidgets)
2987 ("knotificantions" ,knotifications)
faec8b8f 2988 ("kwayland" ,kwayland)
0a7c2d08
DC
2989 ("kwidgetsaddons" ,kwidgetsaddons)
2990 ("kwindowsystem" ,kwindowsystem)
2991 ("kxmlgui" ,kxmlgui)
2992 ("phonon" ,phonon)
2993 ("qtbase" ,qtbase)
2994 ("qtdeclarative" ,qtdeclarative)
2995 ("qtsvg" ,qtsvg)
2996 ("qtx11extras" ,qtx11extras)
2997 ("solid" ,solid)))
2998 (arguments
1e0ae3b3 2999 `(#:tests? #f ; FIXME: 9/15 tests fail.
0a7c2d08
DC
3000 #:phases
3001 (modify-phases %standard-phases
3002 (add-before 'check 'check-setup
3003 (lambda _
3004 (setenv "HOME" (getcwd))
94e24d81 3005 ;; make Qt render "offscreen", required for tests
0a7c2d08
DC
3006 (setenv "QT_QPA_PLATFORM" "offscreen")
3007 #t)))))
3008 (home-page "https://community.kde.org/Frameworks")
3009 (synopsis "Libraries, components and tools of Plasma workspaces")
3010 (description "The plasma framework provides QML components, libplasma and
3011script engines.")
3012 ;; dual licensed
3013 (license (list license:gpl2+ license:lgpl2.1+))))
834d1222
TD
3014
3015;; This version of kdbusaddons does not use kinit as an input, and is used to
3016;; build kinit-bootstrap, as well as bootstrap versions of all kinit
3017;; dependencies which also rely on kdbusaddons.
3018(define kdbusaddons-bootstrap
3019 (package
3020 (inherit kdbusaddons)
3021 (source (origin
3022 (inherit (package-source kdbusaddons))
3023 (patches '())))
3024 (inputs (alist-delete "kinit" (package-inputs kdbusaddons)))
3025 (arguments
3026 (substitute-keyword-arguments (package-arguments kdbusaddons)
3027 ((#:phases phases)
3028 `(modify-phases ,phases
3029 (delete 'patch-source)))))))
3030
3031(define kinit-bootstrap
3032 ((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit))
4cdf00d6
HG
3033
3034
3035;; Tier 4
3036;;
3037;; Tier 4 frameworks can be mostly ignored by application programmers; this
3038;; tier consists of plugins acting behind the scenes to provide additional
3039;; functionality or platform integration to existing frameworks (including
3040;; Qt).
3041
3042(define-public kde-frameworkintegration
3043 (package
3044 (name "kde-frameworkintegration")
3045 (version "5.34.0")
3046 (source (origin
3047 (method url-fetch)
3048 (uri (string-append
3049 "mirror://kde/stable/frameworks/"
3050 (version-major+minor version) "/"
3051 "frameworkintegration-" version ".tar.xz"))
3052 (sha256
3053 (base32
3054 "0hq1r2znjzy0wzm3nsclqmih1aia5300bsf87a2l4919q0ildb20"))))
3055 (build-system cmake-build-system)
3056 (native-inputs
3057 `(("extra-cmake-modules" ,extra-cmake-modules)
3058 ("pkg-config" ,pkg-config)))
10afdf78 3059 ;; TODO: Optional packages not yet in Guix: packagekitqt5, AppStreamQt
4cdf00d6
HG
3060 (inputs
3061 `(("kconfig" ,kconfig)
3062 ("kconfigwidgets" ,kconfigwidgets)
3063 ("kcoreaddons" ,kcoreaddons)
3064 ("ki18n" ,ki18n)
3065 ("kiconthemes" ,kiconthemes)
3066 ("kitemviews" ,kitemviews)
3067 ("knewstuff" ,knewstuff)
3068 ("knotificantions" ,knotifications)
3069 ("kpackage" ,kpackage)
3070 ("kwidgetsaddons" ,kwidgetsaddons)
3071 ("qtbase" ,qtbase)
3072 ("qtx11extras" ,qtx11extras)))
3073 (arguments
3074 `(#:phases
3075 (modify-phases %standard-phases
3076 (add-before 'check 'check-setup
3077 (lambda _
3078 (setenv "HOME" (getcwd))
3079 ;; Make Qt render "offscreen", required for tests
3080 (setenv "QT_QPA_PLATFORM" "offscreen")
3081 #t)))))
3082 (home-page "https://community.kde.org/Frameworks")
3083 (synopsis "KDE Frameworks 5 workspace and cross-framework integration plugins")
3084 (description "Framework Integration is a set of plugins responsible for
3085better integration of Qt applications when running on a KDE Plasma
3086workspace.")
3087 ;; This package is distributed under either LGPL2 or LGPL3, but some
3088 ;; files are explicitly LGPL2+.
18733212 3089 (license (list license:lgpl2.0 license:lgpl3 license:lgpl2.0+))
4cdf00d6 3090 (properties `((upstream-name . "frameworkintegration")))))
10afdf78
HG
3091
3092
3093;; Porting Aids
3094;;
3095;; Porting Aids frameworks provide code and utilities to ease the transition
3096;; from kdelibs 4 to KDE Frameworks 5. Code should aim to port away from this
3097;; framework, new projects should avoid using these libraries.
3098
3099(define-public kdelibs4support
3100 (package
3101 (name "kdelibs4support")
3102 (version "5.34.0")
3103 (source
3104 (origin
3105 (method url-fetch)
3106 (uri (string-append
3107 "mirror://kde/stable/frameworks/"
3108 (version-major+minor version) "/portingAids/"
3109 name "-" version ".tar.xz"))
3110 (sha256
3111 (base32 "0q9jjsjcvc43va4yvfay2xi40vb95lnqhgzavpqcndzjihixwmi0"))))
3112 (build-system cmake-build-system)
3113 (native-inputs
3114 `(("dbus" ,dbus)
3115 ("docbook-xml" ,docbook-xml-4.4) ; optional
3116 ("extra-cmake-modules" ,extra-cmake-modules)
3117 ("perl", perl)
3118 ("perl-uri" ,perl-uri)
3119 ("pkg-config" ,pkg-config)
3120 ("shared-mime-info" ,shared-mime-info)
3121 ("kjobwidgets" ,kjobwidgets) ;; required for running the tests
3122 ("strace" ,strace)
3123 ("tzdata" ,tzdata)))
3124 (propagated-inputs
3125 ;; These are required to be installed along with this package, see
3126 ;; lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake
3127 `(("karchive" ,karchive)
3128 ("kauth" ,kauth)
3129 ("kconfigwidgets" ,kconfigwidgets)
3130 ("kcoreaddons" ,kcoreaddons)
3131 ("kcrash" ,kcrash)
3132 ("kdbusaddons" ,kdbusaddons)
3133 ("kdesignerplugin" ,kdesignerplugin)
3134 ("kdoctools" ,kdoctools)
3135 ("kemoticons" ,kemoticons)
3136 ("kguiaddons" ,kguiaddons)
3137 ("kiconthemes" ,kiconthemes)
3138 ("kinit" ,kinit)
3139 ("kitemmodels" ,kitemmodels)
3140 ("knotifications" ,knotifications)
3141 ("kparts" ,kparts)
3142 ("ktextwidgets" ,ktextwidgets)
3143 ("kunitconversion", kunitconversion)
3144 ("kwindowsystem" ,kwindowsystem)
3145 ("qtbase" ,qtbase)))
3146 (inputs
3147 `(("kcompletion" ,kcompletion)
3148 ("kconfig" ,kconfig)
3149 ("kconfigwidgets" ,kconfigwidgets)
3150 ("kded" ,kded)
3151 ("kdesignerplugin" ,kdesignerplugin)
3152 ("kdoctools" ,kdoctools)
3153 ("kglobalaccel" ,kglobalaccel)
3154 ("kguiaddons" ,kguiaddons)
3155 ("ki18n" ,ki18n)
3156 ("kio" ,kio)
3157 ("kservice" ,kservice)
3158 ("kwidgetsaddons" ,kwidgetsaddons)
3159 ("kxmlgui" ,kxmlgui)
3160 ("libsm", libsm)
3161 ("networkmanager-qt", networkmanager-qt)
3162 ("openssl", openssl)
3163 ("qtsvg" ,qtsvg)
3164 ("qttools" ,qttools)
3165 ("qtx11extras" ,qtx11extras)))
3166 ;; FIXME: Use GuixSD ca-bundle.crt in etc/xdg/ksslcalist and
3167 ;; share/kf5/kssl/ca-bundle.crt
3168 (arguments
3169 `(#:phases
3170 (modify-phases %standard-phases
3171 (add-after 'unpack 'make-cmake-to-find-docbook
3172 (lambda _
3173 (substitute* "cmake/FindDocBookXML4.cmake"
3174 (("^.*xml/docbook/schema/dtd.*$")
3175 "xml/dtd/docbook\n"))
3176 #t))
3177 (delete 'check)
3178 (add-after 'install 'check-post-install
3179 (lambda* (#:key inputs tests? #:allow-other-keys)
3180 (setenv "HOME" (getcwd))
3181 (setenv "TZDIR" ; KDateTimeTestsome needs TZDIR
3182 (string-append (assoc-ref inputs "tzdata")
3183 "/share/zoneinfo"))
3184 ;; Make Qt render "offscreen", required for tests
3185 (setenv "QT_QPA_PLATFORM" "offscreen")
3186 ;; enable debug output
3187 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output
3188 (setenv "DBUS_FATAL_WARNINGS" "0")
3189 ;; TODO: Make this tests pass (also see
3190 ;; https://bugs.kde.org/381098)
3191 (zero? (system* "dbus-launch" "ctest" "."
3192 "-E" "kmimetypetest|kstandarddirstest")))))))
3193 (home-page "https://community.kde.org/Frameworks")
3194 (synopsis "KDE Frameworks 5 porting aid from KDELibs4")
3195 (description "This framework provides code and utilities to ease the
3196transition from kdelibs 4 to KDE Frameworks 5. This includes CMake macros and
3197C++ classes whose functionality has been replaced by code in CMake, Qt and
3198other frameworks.
3199
3200Code should aim to port away from this framework eventually. The API
3201documentation of the classes in this framework and the notes at
3202http://community.kde.org/Frameworks/Porting_Notes should help with this.")
3203 ;; Most files are distributed under LGPL2+, but the package includes code
3204 ;; under a variety of licenses.
18733212
LC
3205 (license (list license:lgpl2.1+ license:lgpl2.0 license:lgpl2.0+
3206 license:gpl2 license:gpl2+
3207 license:expat license:bsd-2 license:bsd-3
3208 license:public-domain))))
7090518f 3209
f0d4fe18
HG
3210(define-public khtml
3211 (package
3212 (name "khtml")
3213 (version "5.34.0")
3214 (source
3215 (origin
3216 (method url-fetch)
3217 (uri (string-append
3218 "mirror://kde/stable/frameworks/"
3219 (version-major+minor version) "/portingAids/"
3220 name "-" version ".tar.xz"))
3221 (sha256
3222 (base32 "0j490jfnz8pbfl1i11wj514nw0skpnxr2fvi9pqpfql9lfhsanxv"))))
3223 (build-system cmake-build-system)
3224 (native-inputs
3225 `(("extra-cmake-modules" ,extra-cmake-modules)
3226 ("perl", perl)))
3227 (inputs
3228 `(("giflib" ,giflib)
3229 ("karchive" ,karchive)
3230 ("kcodecs" ,kcodecs)
3231 ("kglobalaccel" ,kglobalaccel)
3232 ("ki18n" ,ki18n)
3233 ("kiconthemes" ,kiconthemes)
3234 ("kio" ,kio)
3235 ("kjs" ,kjs)
3236 ("knotifications" ,knotifications)
3237 ("kparts" ,kparts)
3238 ("ktextwidgets" ,ktextwidgets)
3239 ("kwallet", kwallet)
3240 ("kwidgetsaddons" ,kwidgetsaddons)
3241 ("kwindowsystem" ,kwindowsystem)
3242 ("kxmlgui" ,kxmlgui)
3243 ("libjpeg", libjpeg)
3244 ("libpng", libpng)
3245 ("openssl", openssl)
3246 ("phonon", phonon)
3247 ("qtbase" ,qtbase)
3248 ("qtx11extras" ,qtx11extras)
3249 ("sonnet" ,sonnet)))
3250 (arguments
3251 `(#:phases
3252 (modify-phases %standard-phases
3253 (add-before 'check 'check-setup
3254 (lambda _
3255 ;; Make Qt render "offscreen", required for tests
3256 (setenv "QT_QPA_PLATFORM" "offscreen")
3257 #t)))))
3258 (home-page "https://community.kde.org/Frameworks")
3259 (synopsis "KDE Frameworks 5 HTML widget and component")
3260 (description "KHTML is a web rendering engine, based on the KParts
3261technology and using KJS for JavaScript support.")
3262 ;; Most files are distributed under LGPL2+, but the package includes code
3263 ;; under a variety of licenses.
18733212
LC
3264 (license (list license:lgpl2.0+ license:lgpl2.1+
3265 license:gpl2 license:gpl3+
3266 license:expat license:bsd-2 license:bsd-3))))
f0d4fe18 3267
7090518f
HG
3268(define-public kjs
3269 (package
3270 (name "kjs")
3271 (version "5.34.0")
3272 (source
3273 (origin
3274 (method url-fetch)
3275 (uri (string-append
3276 "mirror://kde/stable/frameworks/"
3277 (version-major+minor version) "/portingAids/"
3278 name "-" version ".tar.xz"))
3279 (sha256
3280 (base32 "18b7k1hi73iqn06c1ryy9lcmvscr9d08q7n1wwkrn0l2xmy05xsq"))))
3281 (build-system cmake-build-system)
3282 (native-inputs
3283 `(("extra-cmake-modules" ,extra-cmake-modules)
3284 ("kdoctools" ,kdoctools)
3285 ("perl" ,perl)
3286 ("pkg-config" ,pkg-config)))
3287 (inputs
3288 `(("pcre" ,pcre)
3289 ("qtbase" ,qtbase)))
3290 (home-page "https://community.kde.org/Frameworks")
3291 (synopsis "KDE Frameworks 5 support for Javascript scripting in Qt
3292applications")
3293 (description "Add-on library to Qt which adds JavaScript scripting
3294support.")
3295 ;; Most files are distributed under LGPL2+, but the package also includes
3296 ;; code under a variety of licenses.
18733212
LC
3297 (license (list license:lgpl2.1+
3298 license:bsd-2 license:bsd-3
3299 (license:non-copyleft "file://src/kjs/dtoa.cpp")))))
d153dc5b
HG
3300
3301(define-public kjsembed
3302 (package
3303 (name "kjsembed")
3304 (version "5.34.0")
3305 (source
3306 (origin
3307 (method url-fetch)
3308 (uri (string-append
3309 "mirror://kde/stable/frameworks/"
3310 (version-major+minor version) "/portingAids/"
3311 name "-" version ".tar.xz"))
3312 (sha256
3313 (base32 "17w8i370pqks1fj3pcziz7j014chnc6yi7md7w2p4xprw54pbmbk"))))
3314 (build-system cmake-build-system)
3315 (native-inputs
3316 `(("extra-cmake-modules" ,extra-cmake-modules)
3317 ("kdoctools" ,kdoctools)
3318 ("qttools" ,qttools)))
3319 (inputs
3320 `(("ki18n" ,ki18n)
3321 ("kjs" ,kjs)
3322 ("qtbase" ,qtbase)
3323 ("qtsvg" ,qtsvg)))
3324 (home-page "https://community.kde.org/Frameworks")
3325 (synopsis "KDE Frameworks 5 embedded Javascript engine for Qt")
3326 (description "KJSEmbed provides a method of binding Javascript objects to
3327QObjects, so you can script your applications.")
3328 (license license:lgpl2.1+)))
8d10244d
HG
3329
3330(define-public kmediaplayer
3331 (package
3332 (name "kmediaplayer")
3333 (version "5.34.0")
3334 (source
3335 (origin
3336 (method url-fetch)
3337 (uri (string-append
3338 "mirror://kde/stable/frameworks/"
3339 (version-major+minor version) "/portingAids/"
3340 name "-" version ".tar.xz"))
3341 (sha256
3342 (base32 "1mq87qf86sdvwhas4w7rspd221qp4x9kds4nd0lpldiay4483k86"))))
3343 (build-system cmake-build-system)
3344 (native-inputs
3345 `(("extra-cmake-modules" ,extra-cmake-modules)
3346 ("kdoctools" ,kdoctools)
3347 ("qttools" ,qttools)))
3348 (inputs
3349 `(("kcompletion" ,kcompletion)
3350 ("kcoreaddons" ,kcoreaddons)
3351 ("ki18n" ,ki18n)
3352 ("kiconthemes" ,kiconthemes)
3353 ("kio" ,kio)
3354 ("kparts" ,kparts)
3355 ("kwidgetsaddons" ,kwidgetsaddons)
3356 ("kxmlgui" ,kxmlgui)
3357 ("qtbase" ,qtbase)))
3358 (arguments
3359 `(#:phases
3360 (modify-phases %standard-phases
3361 (add-before 'check 'check-setup
3362 (lambda _
3363 ;; Make Qt render "offscreen", required for tests
3364 (setenv "QT_QPA_PLATFORM" "offscreen")
3365 #t)))))
3366 (home-page "https://community.kde.org/Frameworks")
3367 (synopsis "KDE Frameworks 5 plugin interface for media player features")
3368 (description "KMediaPlayer builds on the KParts framework to provide a
3369common interface for KParts that can play media files.
3370
3371This framework is a porting aid. It is not recommended for new projects, and
3372existing projects that use it are advised to port away from it, and use plain
3373KParts instead.")
3374 (license license:expat)))
346d5d58
HG
3375
3376(define-public kross
3377 (package
3378 (name "kross")
3379 (version "5.34.0")
3380 (source
3381 (origin
3382 (method url-fetch)
3383 (uri (string-append
3384 "mirror://kde/stable/frameworks/"
3385 (version-major+minor version) "/portingAids/"
3386 name "-" version ".tar.xz"))
3387 (sha256
3388 (base32 "092qz8vyiialv9fvk4wvn8mrfhz5i5hnbq0xnz6nvi1pk3db6bxq"))))
3389 (build-system cmake-build-system)
3390 (native-inputs
3391 `(("extra-cmake-modules" ,extra-cmake-modules)
3392 ("kdoctools" ,kdoctools)
3393 ("qttools" ,qttools)))
3394 (inputs
3395 `(("kcompletion" ,kcompletion)
3396 ("kcoreaddons" ,kcoreaddons)
3397 ("ki18n" ,ki18n)
3398 ("kiconthemes" ,kiconthemes)
3399 ("kparts" ,kparts)
3400 ("kwidgetsaddons" ,kwidgetsaddons)
3401 ("kxmlgui" ,kxmlgui)
3402 ("qtbase" ,qtbase)
3403 ("qtscript" ,qtscript)))
3404 (home-page "https://community.kde.org/Frameworks")
3405 (synopsis "KDE Frameworks 5 solution for application scripting")
3406 (description "Kross is a scripting bridge for the KDE Development Platform
3407used to embed scripting functionality into an application. It supports
3408QtScript as a scripting interpreter backend.
3409
3410Kross provides an abstract API to provide scripting functionality in a
3411interpreter-independent way. The application that uses Kross should not need
3412to know anything about the scripting language being used. The core of Kross
3413provides the framework to deal transparently with interpreter-backends and
3414offers abstract functionality to deal with scripts.")
3415 ;; Most files are distributed under LGPL2+, but the package includes code
3416 ;; under a variety of licenses.
18733212
LC
3417 (license (list license:lgpl2.0+ license:lgpl2.1+
3418 license:lgpl2.0 license:gpl3+))))