1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
4 ;;; Copyright © 2016,2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
5 ;;; Copyright © 2016 David Craven <david@craven.ch>
6 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
7 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
9 ;;; This file is part of GNU Guix.
11 ;;; GNU Guix is free software; you can redistribute it and/or modify it
12 ;;; under the terms of the GNU General Public License as published by
13 ;;; the Free Software Foundation; either version 3 of the License, or (at
14 ;;; your option) any later version.
16 ;;; GNU Guix is distributed in the hope that it will be useful, but
17 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;;; GNU General Public License for more details.
21 ;;; You should have received a copy of the GNU General Public License
22 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
24 (define-module (gnu packages kde-frameworks)
25 #:use-module (guix build-system cmake)
26 #:use-module (guix download)
27 #:use-module ((guix licenses) #:prefix license:)
28 #:use-module (guix packages)
29 #:use-module (guix utils)
30 #:use-module (gnu packages)
31 #:use-module (gnu packages acl)
32 #:use-module (gnu packages admin)
33 #:use-module (gnu packages aidc)
34 #:use-module (gnu packages attr)
35 #:use-module (gnu packages avahi)
36 #:use-module (gnu packages base)
37 #:use-module (gnu packages boost)
38 #:use-module (gnu packages bison)
39 #:use-module (gnu packages boost)
40 #:use-module (gnu packages compression)
41 #:use-module (gnu packages databases)
42 #:use-module (gnu packages disk)
43 #:use-module (gnu packages docbook)
44 #:use-module (gnu packages flex)
45 #:use-module (gnu packages freedesktop)
46 #:use-module (gnu packages gettext)
47 #:use-module (gnu packages gl)
48 #:use-module (gnu packages glib)
49 #:use-module (gnu packages gnome)
50 #:use-module (gnu packages gnupg)
51 #:use-module (gnu packages gperf)
52 #:use-module (gnu packages graphics)
53 #:use-module (gnu packages gstreamer)
54 #:use-module (gnu packages image)
55 #:use-module (gnu packages kerberos)
56 #:use-module (gnu packages libreoffice)
57 #:use-module (gnu packages linux)
58 #:use-module (gnu packages mp3)
59 #:use-module (gnu packages pdf)
60 #:use-module (gnu packages pcre)
61 #:use-module (gnu packages perl)
62 #:use-module (gnu packages pkg-config)
63 #:use-module (gnu packages polkit)
64 #:use-module (gnu packages python)
65 #:use-module (gnu packages qt)
66 #:use-module (gnu packages textutils)
67 #:use-module (gnu packages tls)
68 #:use-module (gnu packages version-control)
69 #:use-module (gnu packages video)
70 #:use-module (gnu packages web)
71 #:use-module (gnu packages xml)
72 #:use-module (gnu packages xorg)
73 #:use-module (srfi srfi-1))
75 (define-public extra-cmake-modules
77 (name "extra-cmake-modules")
82 "mirror://kde/stable/frameworks/"
83 (version-major+minor version) "/"
84 name "-" version ".tar.xz"))
87 "1ml6s3ssr5izm3vnzlg5gn2nkcbz5l5nmapvyr4ml7n0089b43a3"))))
88 (build-system cmake-build-system)
90 `(("qtbase" ,qtbase))) ; For tests (needs qmake)
93 (modify-phases %standard-phases
94 (add-after 'unpack 'post-5.42.0-release-fix
95 ;; FIXME: Remove for > 5.42.0
96 ;; ECMToolchainAndroidTest doesn't exist anymore
97 ;; https://cgit.kde.org/extra-cmake-modules.git/commit?id=30f31c46d8caf4
99 (substitute* "tests/CMakeLists.txt"
100 (("^add_test_macro\\(ECMToolchainAndroidTest dummy\\)") ""))
102 (add-after 'unpack 'fix-lib-path
104 ;; Always install into /lib and not into /lib64.
105 (substitute* "kde-modules/KDEInstallDirs.cmake"
106 (("\"lib64\"") "\"lib\"")
107 ;; TODO: Base the following on values taken from Qt
108 ;; Install plugins into lib/qt5/plugins
109 (("_define_relative\\(QTPLUGINDIR LIBDIR \"plugins\"")
110 "_define_relative(QTPLUGINDIR LIBDIR \"qt5/plugins\"")
111 ;; Install imports into lib/qt5/imports
112 (("_define_relative\\(QTQUICKIMPORTSDIR QTPLUGINDIR \"imports\"")
113 "_define_relative(QTQUICKIMPORTSDIR LIBDIR \"qt5/imports\"")
114 ;; Install qml-files into lib/qt5/qml
115 (("_define_relative\\(QMLDIR LIBDIR \"qml\"")
116 "_define_relative(QMLDIR LIBDIR \"qt5/qml\""))
117 (substitute* "modules/ECMGeneratePriFile.cmake"
118 ;; Install pri-files into lib/qt5/mkspecs
119 (("set\\(ECM_MKSPECS_INSTALL_DIR mkspecs/modules")
120 "set(ECM_MKSPECS_INSTALL_DIR lib/qt5/mkspecs/modules"))))
121 ;; install and check phase are swapped to prevent install from failing
122 ;; after testsuire has run
123 (add-after 'install 'check-post-install
124 (assoc-ref %standard-phases 'check))
126 ;; optional dependencies - to save space, we do not add these inputs.
128 ;; Required to build Extra CMake Modules documentation in Qt Help format.
129 ;; Qt5LinguistTools , Qt5 linguist tools. , <http://www.qt.io/>
130 ;; Required to run tests for the ECMPoQmTools module.
132 ;; Required to run tests for the ECMQtDeclareLoggingCategory module,
133 ;; and for some tests of the KDEInstallDirs module.
134 (home-page "https://community.kde.org/Frameworks")
135 (synopsis "CMake module files for common software used by KDE")
136 (description "The Extra CMake Modules package, or ECM, adds to the
137 modules provided by CMake to find common software. In addition, it provides
138 common build settings used in software produced by the KDE community.")
139 (license license:bsd-3)))
141 (define-public phonon
148 "mirror://kde/stable/phonon"
150 name "-" version ".tar.xz"))
153 "0gyhlnwamzfw31kw4qh0v6rj0m47k9wfygd6h07klg9ggp60xhg2"))))
154 (build-system cmake-build-system)
156 ;; TODO: Think about adding pulseaudio. Is it required for sound?
157 ;; TODO: Add building the super experimental QML support
158 `(("extra-cmake-modules" ,extra-cmake-modules)
159 ("pkg-config" ,pkg-config)
160 ("qttools" ,qttools)))
162 `(("qtbase" ,qtbase)))
165 '("-DCMAKE_CXX_FLAGS=-fPIC"
166 "-DPHONON_BUILD_PHONON4QT5=ON")
168 (modify-phases %standard-phases
169 (add-before 'install 'patch-installdir
170 (lambda* (#:key inputs outputs #:allow-other-keys)
171 (let ((regex (string-append "(INSTALL DESTINATION \")"
172 (assoc-ref inputs "qtbase"))))
173 (substitute* "cmake_install.cmake"
175 (string-append dest (assoc-ref outputs "out")))))
177 (home-page "https://phonon.kde.org")
178 (synopsis "KDE's multimedia library")
179 (description "KDE's multimedia library.")
180 (license license:lgpl2.1+)))
182 (define-public phonon-backend-gstreamer
184 (name "phonon-backend-gstreamer")
189 "mirror://kde/stable/phonon/"
191 name "-" version ".tar.xz"))
194 "1wc5p1rqglf0n1avp55s50k7fjdzdrhg0gind15k8796w7nfbhyf"))))
195 (build-system cmake-build-system)
197 `(("extra-cmake-modules" ,extra-cmake-modules)
198 ("pkg-config" ,pkg-config)))
203 ("qtx11extras" ,qtx11extras)
204 ("gstreamer" ,gstreamer)
205 ("gst-plugins-base" ,gst-plugins-base)
206 ("libxml2" ,libxml2)))
209 '( "-DPHONON_BUILD_PHONON4QT5=ON")))
210 (home-page "https://phonon.kde.org")
211 (synopsis "Phonon backend which uses GStreamer")
212 (description "Phonon makes use of backend libraries to provide sound.
213 Phonon-GStreamer is a backend based on the GStreamer multimedia library.")
214 ;; license: source files mention "either version 2.1 or 3"
215 (license (list license:lgpl2.1 license:lgpl3))))
217 (define-public gpgmepp
224 "mirror://kde/stable/applications"
226 name "-" version ".tar.xz"))
229 "0828qlhdi1i26n2xgyb01c0q77m6jlppbxv6mprryxq0ma88940a"))))
230 (build-system cmake-build-system)
232 `(("extra-cmake-modules" ,extra-cmake-modules)))
237 `(("qtbase" ,qtbase)))
238 (home-page "https://community.kde.org/Frameworks")
239 (synopsis "C++ bindings/wrapper for gpgme")
240 (description "C++ bindings/wrapper for gpgme.")
241 (license license:lgpl2.1+)
242 (properties `((superseded . ,gpgme)))))
244 (define-public kpmcore
251 "mirror://kde/stable/kpmcore"
253 name "-" version ".tar.xz"))
256 "0s6v0jfrhjg31ri5p6h9n4w29jvasf5dj954j3vfpzl91lygmmmq"))))
257 (build-system cmake-build-system)
259 `(("extra-cmake-modules" ,extra-cmake-modules)
260 ("pkg-config" ,pkg-config)))
262 `(("kconfigwidgets" ,kconfigwidgets)
263 ("kiconthemes" ,kiconthemes)
266 ("kservice" ,kservice)
267 ("libatasmart" ,libatasmart)
270 ("util-linux" ,util-linux)))
271 (home-page "https://community.kde.org/Frameworks")
272 (synopsis "Library for managing partitions")
273 (description "Library for managing partitions.")
274 (license license:gpl3+)))
279 ;; Tier 1 frameworks depend only on Qt (and possibly a small number of other
280 ;; third-party libraries), so can easily be used by an Qt-based project.
282 (define-public attica
289 "mirror://kde/stable/frameworks/"
290 (version-major+minor version) "/"
291 name "-" version ".tar.xz"))
294 "0icjsk5sbri6nwybb2301wc6ysc1h4p35rxqp0adifyksq8akyxd"))))
295 (build-system cmake-build-system)
297 `(("extra-cmake-modules" ,extra-cmake-modules)))
299 `(("qtbase" ,qtbase)))
300 (home-page "https://community.kde.org/Frameworks")
301 (synopsis "Open Collaboration Service client library")
302 (description "Attica is a Qt library that implements the Open
303 Collaboration Services API version 1.6.
305 It grants easy access to the services such as querying information about
306 persons and contents. The library is used in KNewStuff3 as content provider.
307 In order to integrate with KDE's Plasma Desktop, a platform plugin exists in
310 The REST API is defined here:
311 http://freedesktop.org/wiki/Specifications/open-collaboration-services/")
312 (license (list license:lgpl2.1+ license:lgpl3+))))
314 (define-public bluez-qt
321 "mirror://kde/stable/frameworks/"
322 (version-major+minor version) "/"
323 name "-" version ".tar.xz"))
326 "0pbb0nn70hbsnp9q8jvqr3s85gh4bnnh1mp8xfkia2hp4c63ws9f"))))
327 (build-system cmake-build-system)
330 ("extra-cmake-modules" ,extra-cmake-modules)))
332 ;; TODO: qtdeclarative (yields one failing test)
333 `(("qtbase" ,qtbase)))
337 "-DUDEV_RULES_INSTALL_DIR=" %output "/lib/udev/rules.d"))
338 ;; TODO: Make tests pass: DBUS_FATAL_WARNINGS=0 still yields 7/8 tests
339 ;; failing. When running after install, tests hang.
341 (home-page "https://community.kde.org/Frameworks")
342 (synopsis "QML wrapper for BlueZ")
343 (description "bluez-qt is a Qt-style library for accessing the bluez
344 Bluetooth stack. It is used by the KDE Bluetooth stack, BlueDevil.")
345 (license (list license:lgpl2.1+ license:lgpl3+))))
347 (define-public breeze-icons
349 (name "breeze-icons")
354 "mirror://kde/stable/frameworks/"
355 (version-major+minor version) "/"
356 name "-" version ".tar.xz"))
359 "0mrj0b022yfy669qqby09k4ij6aqyky23gpnjcp85df9saq0x44r"))))
360 (build-system cmake-build-system)
363 (modify-phases %standard-phases
364 (add-before 'check 'disable-failing-test
366 ;; Blacklist a test-function (failing at build.kde.org, too).
368 (with-output-to-file "autotests/BLACKLIST"
370 (display "[test_duplicates]\n*\n")))
373 `(("extra-cmake-modules" ,extra-cmake-modules)
375 ("libxml2" ,libxml2)))
377 `(("qtbase" ,qtbase)))
378 (home-page "https://community.kde.org/Frameworks")
379 (synopsis "Default KDE Plasma 5 icon theme")
380 (description "Breeze provides a freedesktop.org compatible icon theme.
381 It is the default icon theme for the KDE Plasma 5 desktop.")
382 ;; The license file mentions lgpl3+. The license files in the source
383 ;; directories are lgpl3, while the top directory contains the lgpl2.1.
385 (license license:lgpl3+)))
387 (define-public kapidox
394 "mirror://kde/stable/frameworks/"
395 (version-major+minor version) "/"
396 name "-" version ".tar.xz"))
399 "0izyd66p5403gl09l7irzy97mb9b14n4zyjrwap800zjlpwh41pz"))))
400 (build-system cmake-build-system)
402 `(#:tests? #f)) ; has no test target
404 `(("extra-cmake-modules" ,extra-cmake-modules)))
406 ;; kapidox is a python programm
407 ;; TODO: check if doxygen has to be installed, the readme does not
408 ;; mention it. The openSuse .rpm lists doxygen, graphviz, graphviz-gd,
411 ("python-jinja2" ,python-jinja2)
412 ("python-pyyaml" ,python-pyyaml)))
414 `(("qtbase" ,qtbase)))
415 (home-page "https://community.kde.org/Frameworks")
416 (synopsis "KDE Doxygen Tools")
417 (description "This framework contains scripts and data for building API
418 documentation (dox) in a standard format and style for KDE.
420 For the actual documentation extraction and formatting the Doxygen tool is
421 used, but this framework provides a wrapper script to make generating the
422 documentation more convenient (including reading settings from the target
423 framework or other module) and a standard template for the generated
425 ;; Most parts are bsd-2, but incuded jquery is expat
426 ;; This list is taken from http://packaging.neon.kde.org/cgit/
427 (license (list license:bsd-2 license:expat))))
429 (define-public karchive
436 "mirror://kde/stable/frameworks/"
437 (version-major+minor version) "/"
438 name "-" version ".tar.xz"))
441 "1vq2ngdxmdl6hzjwdcrv66ban8v9s5jiqwy1mgdqv4ak14l31qbi"))))
442 (build-system cmake-build-system)
444 `(("extra-cmake-modules" ,extra-cmake-modules)))
450 (home-page "https://community.kde.org/Frameworks")
451 (synopsis "Qt 5 addon providing access to numerous types of archives")
452 (description "KArchive provides classes for easy reading, creation and
453 manipulation of 'archive' formats like ZIP and TAR.
455 It also provides transparent compression and decompression of data, like the
456 GZip format, via a subclass of QIODevice.")
457 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
458 ;; under a variety of licenses.
459 ;; This list is taken from http://packaging.neon.kde.org/cgit/
460 (license (list license:lgpl2.1 license:lgpl2.1+
461 license:lgpl3+ license:bsd-2))))
463 (define-public kcodecs
470 "mirror://kde/stable/frameworks/"
471 (version-major+minor version) "/"
472 name "-" version ".tar.xz"))
475 "0b19z432r9dnyjknvwffhcmrg969yhydjvy4qrkrf22026f4smwc"))))
476 (build-system cmake-build-system)
478 `(("extra-cmake-modules" ,extra-cmake-modules)
480 ("qttools" ,qttools)))
482 `(("qtbase" ,qtbase)))
483 (home-page "https://community.kde.org/Frameworks")
484 (synopsis "String encoding and manipulating library")
485 (description "KCodecs provide a collection of methods to manipulate
486 strings using various encodings.
488 It can automatically determine the charset of a string, translate XML
489 entities, validate email addresses, and find encodings by name in a more
490 tolerant way than QTextCodec (useful e.g. for data coming from the
492 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
493 ;; under a variety of licenses.
494 ;; This list is taken from http://packaging.neon.kde.org/cgit/
495 (license (list license:gpl2 license:gpl2+ license:bsd-2
496 license:lgpl2.1 license:lgpl2.1+ license:expat
497 license:lgpl3+ license:mpl1.1))))
499 (define-public kconfig
506 "mirror://kde/stable/frameworks/"
507 (version-major+minor version) "/"
508 name "-" version ".tar.xz"))
511 "08gg0d20c09j7hyxm8ydpzk2yf30c87g9ag7a9nfykrmi6cqirdq"))))
512 (build-system cmake-build-system)
514 `(("extra-cmake-modules" ,extra-cmake-modules)
515 ("inetutils" ,inetutils)
517 ("xorg-server" ,xorg-server)))
519 `(("qtbase" ,qtbase)))
522 (modify-phases %standard-phases
523 (add-before 'check 'check-setup
525 (setenv "HOME" (getcwd))
526 (setenv "TMPDIR" (getcwd))
528 (add-before 'check 'start-xorg-server
529 (lambda* (#:key inputs #:allow-other-keys)
530 ;; The test suite requires a running X server.
531 (system (string-append (assoc-ref inputs "xorg-server")
533 (setenv "DISPLAY" ":1")
535 (home-page "https://community.kde.org/Frameworks")
536 (synopsis "Kconfiguration settings framework for Qt")
537 (description "KConfig provides an advanced configuration system.
538 It is made of two parts: KConfigCore and KConfigGui.
540 KConfigCore provides access to the configuration files themselves.
544 @item Code generation: describe your configuration in an XML file, and use
545 `kconfig_compiler to generate classes that read and write configuration
548 @item Cascading configuration files (global settings overridden by local
551 @item Optional shell expansion support (see docs/options.md).
553 @item The ability to lock down configuration options (see docs/options.md).
556 KConfigGui provides a way to hook widgets to the configuration so that they
557 are automatically initialized from the configuration and automatically
558 propagate their changes to their respective configuration files.")
559 ;; The included licenses is are gpl2 and lgpl2.1, but the sources are
560 ;; under a variety of licenses.
561 ;; This list is taken from http://packaging.neon.kde.org/cgit/
562 (license (list license:lgpl2.1 license:lgpl2.1+ license:expat
563 license:lgpl3+ license:gpl1 ; licende:mit-olif
564 license:bsd-2 license:bsd-3))))
566 (define-public kcoreaddons
573 "mirror://kde/stable/frameworks/"
574 (version-major+minor version) "/"
575 name "-" version ".tar.xz"))
578 "17qv7r6z72mm9a0hyx5dgk90ikhhgm41bkvnq2hjal0py2lsnrs9"))))
579 (build-system cmake-build-system)
581 `(("extra-cmake-modules" ,extra-cmake-modules)
583 ("shared-mime-info" ,shared-mime-info)
584 ;; TODO: FAM: File alteration notification http://oss.sgi.com/projects/fam
585 ("xorg-server" ,xorg-server))) ; for the tests
587 `(("qtbase" ,qtbase)))
589 `(#:tests? #f ; FIXME: Test failure caused by stout/stderr being interleaved.
591 (modify-phases %standard-phases
592 (add-before 'check 'check-setup
594 (setenv "HOME" (getcwd))
595 (setenv "TMPDIR" (getcwd))
597 (home-page "https://community.kde.org/Frameworks")
598 (synopsis "Qt addon library with a collection of non-GUI utilities")
599 (description "KCoreAddons provides classes built on top of QtCore to
600 perform various tasks such as manipulating mime types, autosaving files,
601 creating backup files, generating random sequences, performing text
602 manipulations such as macro replacement, accessing user information and
604 (license (list license:lgpl2.0+ license:lgpl2.1+))))
606 (define-public kdbusaddons
613 "mirror://kde/stable/frameworks/"
614 (version-major+minor version) "/"
615 name "-" version ".tar.xz"))
618 "1613pc3r70jnzvpwm1xjdbdsmcpx28jwvcs2qq9swlywr5qr9hbd"))
619 (patches (search-patches "kdbusaddons-kinit-file-name.patch"))))
620 (build-system cmake-build-system)
622 `(("extra-cmake-modules" ,extra-cmake-modules)
624 ("qttools" ,qttools)))
627 ("qtx11extras" ,qtx11extras)
628 ("kinit" ,kinit-bootstrap))) ;; kinit-bootstrap: kinit package which does not depend on kdbusaddons.
631 (modify-phases %standard-phases
633 'configure 'patch-source
634 (lambda* (#:key inputs #:allow-other-keys)
635 ;; look for the kdeinit5 executable in kinit's store directory,
636 ;; instead of the current application's directory:
637 (substitute* "src/kdeinitinterface.cpp"
638 (("@SUBSTITUTEME@") (assoc-ref inputs "kinit")))))
641 (setenv "DBUS_FATAL_WARNINGS" "0")
642 (zero? (system* "dbus-launch" "ctest" ".")))))))
643 (home-page "https://community.kde.org/Frameworks")
644 (synopsis "Convenience classes for DBus")
645 (description "KDBusAddons provides convenience classes on top of QtDBus,
646 as well as an API to create KDED modules.")
647 ;; Some source files mention lgpl2.0+, but the included license is
648 ;; the lgpl2.1. Some source files are under non-copyleft licenses.
649 (license license:lgpl2.1+)))
651 (define-public kdnssd
658 "mirror://kde/stable/frameworks/"
659 (version-major+minor version) "/"
660 name "-" version ".tar.xz"))
663 "1k1rz62h3mafliik5n0k98dc56b5v2v6qyqj40696mcyc2d1yvll"))))
664 (build-system cmake-build-system)
666 `(("extra-cmake-modules" ,extra-cmake-modules)
667 ("qttools" ,qttools)))
669 `(("avahi" ,avahi) ; alternativly dnssd could be used
671 (home-page "https://community.kde.org/Frameworks")
672 (synopsis "Network service discovery using Zeroconf")
673 (description "KDNSSD is a library for handling the DNS-based Service
674 Discovery Protocol (DNS-SD), the layer of Zeroconf that allows network services,
675 such as printers, to be discovered without any user intervention or centralized
677 (license license:lgpl2.1+)))
679 (define-public kguiaddons
686 "mirror://kde/stable/frameworks/"
687 (version-major+minor version) "/"
688 name "-" version ".tar.xz"))
691 "193i8b4f13dkgp88m3pk9wzi0dhx7qmsnmpizxia3457gg016wn7"))))
692 (build-system cmake-build-system)
693 ;; TODO: Build packages for the Python bindings. Ideally this will be
694 ;; done for all versions of python guix supports. Requires python,
695 ;; python-sip, clang-python, libclang. Requires python-2 in all cases for
698 `(("extra-cmake-modules" ,extra-cmake-modules)
699 ("pkg-config" ,pkg-config)))
702 ("qtx11extras" ,qtx11extras)))
705 (modify-phases %standard-phases
706 (add-before 'check 'check-setup
708 ;; make Qt render "offscreen", required for tests
709 (setenv "QT_QPA_PLATFORM" "offscreen")
711 (home-page "https://community.kde.org/Frameworks")
712 (synopsis "Utilities for graphical user interfaces")
713 (description "The KDE GUI addons provide utilities for graphical user
714 interfaces in the areas of colors, fonts, text, images, keyboard input.")
715 (license (list license:gpl2+ license:lgpl2.1+))))
724 "mirror://kde/stable/frameworks/"
725 (version-major+minor version) "/"
726 name "-" version ".tar.xz"))
729 "1rpriflb2a48j94zxgh63l6rzq4nlnlkvy89ns1vkdw42bnqrjx9"))))
730 (build-system cmake-build-system)
732 `(("gettext" ,gettext-minimal)
735 `(("extra-cmake-modules" ,extra-cmake-modules)))
738 ("qtdeclarative" ,qtdeclarative)
739 ("qtscript" ,qtscript)))
742 (modify-phases %standard-phases
743 (add-before 'check 'check-setup
745 (setenv "HOME" (getcwd))
747 (home-page "https://community.kde.org/Frameworks")
748 (synopsis "KDE Gettext-based UI text internationalization")
749 (description "KI18n provides functionality for internationalizing user
750 interface text in applications, based on the GNU Gettext translation system. It
751 wraps the standard Gettext functionality, so that the programmers and translators
752 can use the familiar Gettext tools and workflows.
754 KI18n provides additional functionality as well, for both programmers and
755 translators, which can help to achieve a higher overall quality of source and
756 translated text. This includes argument capturing, customizable markup, and
757 translation scripting.")
758 (license license:lgpl2.1+)))
760 (define-public kidletime
767 "mirror://kde/stable/frameworks/"
768 (version-major+minor version) "/"
769 name "-" version ".tar.xz"))
772 "019r41r28pcrcn1kwxsll53za705jkc9n23b6sr2lplgjk05bcxh"))))
773 (build-system cmake-build-system)
775 `(("extra-cmake-modules" ,extra-cmake-modules)
776 ("pkg-config" ,pkg-config)))
778 `(("libxscrnsaver" ,libxscrnsaver) ; X-Screensaver based poller, fallback mode
780 ("qtx11extras" ,qtx11extras)))
781 (home-page "https://community.kde.org/Frameworks")
782 (synopsis "Reporting of idle time of user and system")
783 (description "KIdleTime is a singleton reporting information on idle time.
784 It is useful not only for finding out about the current idle time of the PC,
785 but also for getting notified upon idle time events, such as custom timeouts,
787 (license (list license:gpl2+ license:lgpl2.1+))))
789 (define-public kirigami
790 ;; Kirigami is listed as tier 1 framework, but optionally includes
791 ;; plasma-framework which is tier 3.
798 "mirror://kde/stable/frameworks/"
799 (version-major+minor version) "/"
800 "kirigami2-" version ".tar.xz"))
803 "11gqn7amp0r9bgh8ldgisfc2lrkzkn5mq2a1madf24nvjbkvqnqv"))))
804 (properties `((upstream-name . "kirigami2")))
805 (build-system cmake-build-system)
807 `(("extra-cmake-modules" ,extra-cmake-modules)
808 ("qttools" ,qttools)))
810 `(("kwindowsystem" ,kwindowsystem)
811 ;; TODO: Find a way to activate this optional include without
812 ;; introducing a recursive dependency.
813 ;;("plasma-frameworks" ,plasma-framework) ;; Tier 3!
815 ("qtdeclarative" ,qtdeclarative)
816 ("qtquickcontrols2" ,qtquickcontrols2)
818 ;; Run-time dependency
819 ("qtgraphicaleffects" ,qtgraphicaleffects)))
821 `(#:tests? #f ;; FIXME: Test suite is broken,
822 ;; see https://bugs.kde.org/show_bug.cgi?id=386456
823 ;; Note for when enabling the tests: The test-suite is meant to be run
824 ;; without prior installation, see
825 ;; https://cgit.kde.org/kirigami.git/commit/?id=24ad2c9
827 (modify-phases %standard-phases
828 (add-before 'check 'check-setup
829 (lambda* (#:key outputs #:allow-other-keys)
830 ;; make Qt render "offscreen", required for tests
831 (setenv "QT_QPA_PLATFORM" "offscreen")
833 (home-page "https://community.kde.org/Frameworks")
834 (synopsis "QtQuick components for mobile user interfaces")
835 (description "Kirigami is a set of high level QtQuick components looking
836 and feeling well on both mobile and desktop devices. They ease the creation
837 of applications that follow the Kirigami Human Interface Guidelines.")
838 (license license:lgpl2.1+)))
840 (define-public kitemmodels
847 "mirror://kde/stable/frameworks/"
848 (version-major+minor version) "/"
849 name "-" version ".tar.xz"))
852 "0mcdzdqwmvf9pwirsrnjbhrgqphnfmanbl9zij4qsmin8n866mhc"))))
853 (build-system cmake-build-system)
855 `(("extra-cmake-modules" ,extra-cmake-modules)))
858 ("qtdeclarative" ,qtdeclarative)))
861 (modify-phases %standard-phases
862 (add-before 'check 'check-setup
864 ;; make Qt render "offscreen", required for tests
865 (setenv "QT_QPA_PLATFORM" "offscreen")
867 (home-page "https://community.kde.org/Frameworks")
868 (synopsis "Set of item models extending the Qt model-view framework")
869 (description "KItemModels provides the following models:
872 @item KBreadcrumbSelectionModel - Selects the parents of selected items to
875 @item KCheckableProxyModel - Adds a checkable capability to a source model.
877 @item KConcatenateRowsProxyModel - Concatenates rows from multiple source models.
879 @item KDescendantsProxyModel - Proxy Model for restructuring a Tree into a list.
881 @item KExtraColumnsProxyModel - Adds columns after existing columns.
883 @item KLinkItemSelectionModel - Share a selection in multiple views which do
884 not have the same source model.
886 @item KModelIndexProxyMapper - Mapping of indexes and selections through proxy
889 @item KRearrangeColumnsProxyModel - Can reorder and hide columns from the source
892 @item KRecursiveFilterProxyModel - Recursive filtering of models.
894 @item KSelectionProxyModel - A Proxy Model which presents a subset of its source
897 (license license:lgpl2.1+)))
899 (define-public kitemviews
906 "mirror://kde/stable/frameworks/"
907 (version-major+minor version) "/"
908 name "-" version ".tar.xz"))
911 "1j1q0b08f8mnfc3r2a7rplyb2nv9f0aq5a3fxskinvg70c6y248w"))))
912 (build-system cmake-build-system)
914 `(("extra-cmake-modules" ,extra-cmake-modules)
915 ("qttools" ,qttools)))
917 `(("qtbase" ,qtbase)))
920 (modify-phases %standard-phases
921 (add-before 'check 'check-setup
923 (setenv "DBUS_FATAL_WARNINGS" "0")
924 ;; make Qt render "offscreen", required for tests
925 (setenv "QT_QPA_PLATFORM" "offscreen")
927 (home-page "https://community.kde.org/Frameworks")
928 (synopsis "Set of item views extending the Qt model-view framework")
929 (description "KItemViews includes a set of views, which can be used with
930 item models. It includes views for categorizing lists and to add search filters
931 to flat and hierarchical lists.")
932 (license (list license:gpl2+ license:lgpl2.1+))))
934 (define-public kplotting
941 "mirror://kde/stable/frameworks/"
942 (version-major+minor version) "/"
943 name "-" version ".tar.xz"))
946 "109b9grshrwralyp8ilkbf1k0akaggygqh6wafqdf0ris0ps13l9"))))
947 (build-system cmake-build-system)
949 `(("extra-cmake-modules" ,extra-cmake-modules)))
951 `(("qtbase" ,qtbase)))
954 (modify-phases %standard-phases
955 (add-before 'check 'check-setup
956 (lambda _ ; kplotting
957 ;; make Qt render "offscreen", required for tests
958 (setenv "QT_QPA_PLATFORM" "offscreen")
960 (home-page "https://community.kde.org/Frameworks")
961 (synopsis "Data plotting library")
962 (description "KPlotWidget is a QWidget-derived class that provides a virtual
963 base class for easy data-plotting. The idea behind KPlotWidget is that you only
964 have to specify information in \"data units\", the natural units of the
965 data being plotted. KPlotWidget automatically converts everything to screen
967 (license license:lgpl2.1+)))
969 (define-public ksyntaxhighlighting
971 (name "ksyntaxhighlighting")
976 "mirror://kde/stable/frameworks/"
977 (version-major+minor version) "/"
978 "syntax-highlighting-" version ".tar.xz"))
981 "1iwiym50859jki4x41rfdmbd14jiq5lr2hdg46pjkyw17njdjd60"))))
982 (build-system cmake-build-system)
984 `(("extra-cmake-modules" ,extra-cmake-modules)
987 ;; Optional, for compile-time validation of syntax definition files:
988 ("qtxmlpatterns" ,qtxmlpatterns)))
990 `(("qtbase" ,qtbase)))
993 (modify-phases %standard-phases
994 (add-after 'patch-source-shebangs 'unpatch-source-shebang
996 ;; revert the patch-shebang phase on scripts which are
998 (substitute* '("autotests/input/test.bash"
999 "autotests/folding/test.bash.fold")
1000 (((which "bash")) "/bin/bash"))
1001 (substitute* '("autotests/input/highlight.sh"
1002 "autotests/folding/highlight.sh.fold")
1003 (((which "sh")) " /bin/sh")) ;; space in front!
1004 (substitute* '("autotests/input/highlight.pl"
1005 "autotests/folding/highlight.pl.fold")
1006 (((which "perl")) "/usr/bin/perl"))
1008 (home-page "https://community.kde.org/Frameworks")
1009 (synopsis "Syntax highlighting engine for Kate syntax definitions")
1010 (description "This is a stand-alone implementation of the Kate syntax
1011 highlighting engine. It's meant as a building block for text editors as well
1012 as for simple highlighted text rendering (e.g. as HTML), supporting both
1013 integration with a custom editor as well as a ready-to-use
1014 @code{QSyntaxHighlighter} sub-class.")
1015 (properties `((upstream-name . "syntax-highlighting")))
1016 (license license:lgpl2.1+)))
1018 (define-public kwayland
1025 "mirror://kde/stable/frameworks/"
1026 (version-major+minor version) "/"
1027 name "-" version ".tar.xz"))
1030 "0wr6ygppahxsx3dh71h2wmybv7z7iyqdv7wn80cxb0mp4zpyinh7"))))
1031 (build-system cmake-build-system)
1033 `(("extra-cmake-modules" ,extra-cmake-modules)
1034 ("pkg-config" ,pkg-config)))
1036 `(("qtbase" ,qtbase)
1037 ("wayland" ,wayland)))
1039 `(#:tests? #f ; FIXME tests require weston to run
1040 ; weston requires wayland flags in mesa
1042 (modify-phases %standard-phases
1043 (add-before 'check 'check-setup
1045 (setenv "XDG_RUNTIME_DIR" "/tmp")
1047 (home-page "https://community.kde.org/Frameworks")
1048 (synopsis "Qt-style API to interact with the wayland client and server")
1049 (description "As the names suggest they implement a Client respectively a
1050 Server API for the Wayland protocol. The API is Qt-styled removing the needs to
1051 interact with a for a Qt developer uncomfortable low-level C-API. For example
1052 the callback mechanism from the Wayland API is replaced by signals, data types
1053 are adjusted to be what a Qt developer expects - two arguments of int are
1054 represented by a QPoint or a QSize.")
1055 (license license:lgpl2.1+)))
1057 (define-public kwidgetsaddons
1059 (name "kwidgetsaddons")
1064 "mirror://kde/stable/frameworks/"
1065 (version-major+minor version) "/"
1066 name "-" version ".tar.xz"))
1069 "0h0vfrfl5zi01fpvmd825kazzlyawz3i66qrfkymdrnvqmfzcmlg"))))
1070 (build-system cmake-build-system)
1072 `(("extra-cmake-modules" ,extra-cmake-modules)
1073 ("qttools" ,qttools)
1074 ("xorg-server" ,xorg-server)))
1076 `(("qtbase" ,qtbase)))
1079 (modify-phases %standard-phases
1080 (add-before 'check 'check-setup
1082 ;; make Qt render "offscreen", required for tests
1083 (setenv "QT_QPA_PLATFORM" "offscreen")
1084 (setenv "DBUS_FATAL_WARNINGS" "0")
1086 (add-before 'check 'start-xorg-server
1087 (lambda* (#:key inputs #:allow-other-keys)
1088 ;; The test suite requires a running X server.
1089 ;; Xvfb doesn't have proper glx support and needs a pixeldepth
1090 ;; of 24 bit to avoid "libGL error: failed to load driver: swrast"
1091 ;; "Could not initialize GLX"
1092 (system (string-append (assoc-ref inputs "xorg-server")
1093 "/bin/Xvfb :1 -screen 0 640x480x24 &"))
1094 (setenv "DISPLAY" ":1")
1096 (home-page "https://community.kde.org/Frameworks")
1097 (synopsis "Large set of desktop widgets")
1098 (description "Provided are action classes that can be added to toolbars or
1099 menus, a wide range of widgets for selecting characters, fonts, colors, actions,
1100 dates and times, or MIME types, as well as platform-aware dialogs for
1101 configuration pages, message boxes, and password requests.")
1102 (license (list license:gpl2+ license:lgpl2.1+))))
1104 (define-public kwindowsystem
1106 (name "kwindowsystem")
1111 "mirror://kde/stable/frameworks/"
1112 (version-major+minor version) "/"
1113 name "-" version ".tar.xz"))
1116 "15k6x0f93qxka3mz7qfzak2ibdd88q77pz6akil8s3g41zsg2dqv"))))
1117 (build-system cmake-build-system)
1119 `(("extra-cmake-modules" ,extra-cmake-modules)
1120 ("pkg-config" ,pkg-config)
1121 ("dbus" ,dbus) ; for the tests
1122 ("qttools" ,qttools)
1123 ("xorg-server" ,xorg-server))) ; for the tests
1125 `(("libxrender" ,libxrender)
1127 ("qtx11extras" ,qtx11extras)
1128 ("xcb-utils-keysyms" ,xcb-util-keysyms)))
1130 `(#:tests? #f ; FIXME: 3/12 tests fail.
1132 (modify-phases %standard-phases
1134 (add-after 'install 'check
1135 (lambda* (#:key inputs outputs tests? #:allow-other-keys)
1136 ;; TODO: Simplify and use "common" phases when test-suite passes
1139 (let ((out (assoc-ref outputs "out")))
1140 (setenv "QT_PLUGIN_PATH"
1141 (string-append out "/lib/qt5/plugins:"
1142 (getenv "QT_PLUGIN_PATH"))))
1143 ;; The test suite requires a running X server, setting
1144 ;; QT_QPA_PLATFORM=offscreen does not suffice and even make
1146 (system (string-append (assoc-ref inputs "xorg-server")
1147 "/bin/Xvfb :1 -screen 0 640x480x24 &"))
1148 (setenv "DISPLAY" ":1")
1149 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
1150 (setenv "DBUS_FATAL_WARNINGS" "0")
1151 (zero? (system* "dbus-launch" "ctest" ".")))
1153 (format #t "test suite not run~%")
1155 (home-page "https://community.kde.org/Frameworks")
1156 (synopsis "KDE access to the windowing system")
1157 (description "KWindowSystem provides information about and allows
1158 interaction with the windowing system. It provides a high level API, which
1159 is windowing system independent and has platform specific
1160 implementations. This API is inspired by X11 and thus not all functionality
1161 is available on all windowing systems.
1163 In addition to the high level API, this framework also provides several
1164 lower level classes for interaction with the X Windowing System.")
1165 ;; Some source files mention lgpl2.0+, but the included license is
1166 ;; the lgpl2.1. Some source files are under non-copyleft licenses.
1167 (license license:lgpl2.1+)))
1169 (define-public modemmanager-qt
1171 (name "modemmanager-qt")
1176 "mirror://kde/stable/frameworks/"
1177 (version-major+minor version) "/"
1178 name "-" version ".tar.xz"))
1181 "0q6qzn60z55h0gyc9xwdfaq45mjpk3zrr6d4qqjjfkqsr3866sfx"))))
1182 (build-system cmake-build-system)
1184 `(("extra-cmake-modules" ,extra-cmake-modules)
1186 ("pkg-config" ,pkg-config)))
1188 ;; Headers contain #include <ModemManager/ModemManager.h>
1189 `(("modem-manager" ,modem-manager)))
1191 `(("qtbase" ,qtbase)))
1194 (modify-phases %standard-phases
1197 (setenv "DBUS_FATAL_WARNINGS" "0")
1198 (zero? (system* "dbus-launch" "ctest" ".")))))))
1199 (home-page "https://community.kde.org/Frameworks")
1200 (synopsis "Qt wrapper for ModemManager DBus API")
1201 (description "ModemManagerQt provides access to all ModemManager features
1202 exposed on DBus. It allows you to manage modem devices and access to
1203 information available for your modem devices, like signal, location and
1205 (license license:lgpl2.1+)))
1207 (define-public networkmanager-qt
1209 (name "networkmanager-qt")
1214 "mirror://kde/stable/frameworks/"
1215 (version-major+minor version) "/"
1216 name "-" version ".tar.xz"))
1219 "03hhvx8d52mfgbhd4gn0vhsk9k1fv1pvq24ixxdgs2mw44v884xq"))))
1220 (build-system cmake-build-system)
1222 `(("extra-cmake-modules" ,extra-cmake-modules)
1224 ("pkg-config" ,pkg-config)))
1226 ;; Headers contain #include <NetworkManager.h> and
1227 ;; #include <libnm/NetworkManager.h>
1228 `(("network-manager" ,network-manager)))
1230 `(("qtbase" ,qtbase)))
1233 (modify-phases %standard-phases
1236 (setenv "DBUS_FATAL_WARNINGS" "0")
1237 (zero? (system* "dbus-launch" "ctest" ".")))))))
1238 (home-page "https://community.kde.org/Frameworks")
1239 (synopsis "Qt wrapper for NetworkManager DBus API")
1240 (description "NetworkManagerQt provides access to all NetworkManager
1241 features exposed on DBus. It allows you to manage your connections and control
1242 your network devices and also provides a library for parsing connection settings
1243 which are used in DBus communication.")
1244 (license license:lgpl2.1+)))
1246 (define-public oxygen-icons
1248 (name "oxygen-icons")
1253 "mirror://kde/stable/frameworks/"
1254 (version-major+minor version) "/"
1255 name "5" "-" version ".tar.xz"))
1258 "0pnav9h0xmvbaamzpcyznjjv25slz8maszshx7sj7h07b5a23x46"))))
1259 (build-system cmake-build-system)
1261 `(("extra-cmake-modules" ,extra-cmake-modules)
1262 ("fdupes" ,fdupes)))
1264 `(("qtbase" ,qtbase)))
1265 (home-page "https://community.kde.org/Frameworks")
1266 (synopsis "Oxygen provides the standard icon theme for the KDE desktop")
1267 (description "Oxygen icon theme for the KDE desktop")
1268 (license license:lgpl3+)
1269 (properties '((upstream-name . "oxygen-icons5")))))
1271 (define-public prison
1278 (uri (string-append "mirror://kde/stable/frameworks/"
1279 (version-major+minor version) "/"
1280 name "-" version ".tar.xz"))
1282 (base32 "0bhg2fjdwsv7mk16jh1nc3miwggz1dl9l99l2f20xvi75hn7rryg"))))
1283 (build-system cmake-build-system)
1285 `(("extra-cmake-modules" ,extra-cmake-modules)))
1287 `(("libdmtx" ,libdmtx)
1288 ("qrencode" ,qrencode)
1289 ("qtbase" ,qtbase))) ;; TODO: rethink: nix propagates this
1290 (home-page "https://api.kde.org/frameworks/prison/html/index.html")
1291 (synopsis "Barcode generation abstraction layer")
1292 (description "Prison is a Qt-based barcode abstraction layer/library and
1293 provides uniform access to generation of barcodes with data.")
1294 (license license:lgpl2.1+)))
1296 (define-public qqc2-desktop-style
1298 (name "qqc2-desktop-style")
1303 "mirror://kde/stable/frameworks/"
1304 (version-major+minor version) "/"
1305 name "-" version ".tar.xz"))
1308 "1arlfhcshfs11pgf87jzjgln1p711zlx0v0q014740mbzb9g5wnk"))))
1309 (build-system cmake-build-system)
1311 `(("extra-cmake-modules" ,extra-cmake-modules)
1312 ("pkg-config" ,pkg-config)))
1315 ("kconfigwidgets" ,kconfigwidgets) ; optional
1316 ("kcoreaddons" ,kcoreaddons)
1317 ("kiconthemes" ,kiconthemes) ; optional
1318 ("kirigami" ,kirigami)
1320 ("qtdeclarative" ,qtdeclarative)
1321 ("qtquickcontrols2" ,qtquickcontrols2)))
1322 (home-page "https://community.kde.org/Frameworks")
1323 (synopsis "QtQuickControls2 style that integrates with the desktop")
1324 (description "This is a style for QtQuickControls2 which is using
1325 QWidget's QStyle to paint the controls in order to give it a native look and
1327 ;; Mostly LGPL 2+, but many files are dual-licensed
1328 (license (list license:lgpl2.1+ license:gpl3+))))
1330 (define-public solid
1337 "mirror://kde/stable/frameworks/"
1338 (version-major+minor version) "/"
1339 name "-" version ".tar.xz"))
1342 "10lr8paaq6vaiqn833kzcdc3kkyv8j9fdchy7h8pvi9ajjjwq0lq"))))
1343 (build-system cmake-build-system)
1346 (modify-phases %standard-phases
1349 (setenv "DBUS_FATAL_WARNINGS" "0")
1350 (zero? (system* "dbus-launch" "ctest" ".")))))))
1354 ("extra-cmake-modules" ,extra-cmake-modules)
1356 ("qttools" ,qttools)))
1358 `(("qtbase" ,qtbase)
1359 ("qtdeclarative" ,qtdeclarative)
1361 ;; TODO: Add runtime-only dependency MediaPlayerInfo
1362 (home-page "https://community.kde.org/Frameworks")
1363 (synopsis "Desktop hardware abstraction")
1364 (description "Solid is a device integration framework. It provides a way of
1365 querying and interacting with hardware independently of the underlying operating
1367 (license license:lgpl2.1+)))
1369 (define-public sonnet
1376 "mirror://kde/stable/frameworks/"
1377 (version-major+minor version) "/"
1378 name "-" version ".tar.xz"))
1381 "1r3amddmy0nm8klw0jzvb8bl1l9hkrx50d8j0zq2lbjy36h3yliw"))))
1382 (build-system cmake-build-system)
1385 (modify-phases %standard-phases
1386 (add-before 'check 'check-setup
1388 ;; make Qt render "offscreen", required for tests
1389 (setenv "QT_QPA_PLATFORM" "offscreen")
1392 `(("extra-cmake-modules" ,extra-cmake-modules)
1393 ("pkg-config" ,pkg-config)
1394 ("qttools" ,qttools)))
1396 `(("hunspell" ,hunspell)
1397 ;; TODO: hspell (for Hebrew), Voikko (for Finish)
1398 ("qtbase" ,qtbase)))
1399 (home-page "https://community.kde.org/Frameworks")
1400 (synopsis "Multi-language spell checker")
1401 (description "Sonnet is a plugin-based spell checking library for Qt-based
1402 applications. It supports several different plugins, including HSpell, Enchant,
1403 ASpell and HUNSPELL.")
1404 (license license:lgpl2.1+)))
1406 (define-public threadweaver
1408 (name "threadweaver")
1413 "mirror://kde/stable/frameworks/"
1414 (version-major+minor version) "/"
1415 name "-" version ".tar.xz"))
1418 "1isqlpnfxzxyz7mdm7yfrafgnx09mcndicdgdw3mi4r4misbrrbn"))))
1419 (build-system cmake-build-system)
1421 `(("extra-cmake-modules" ,extra-cmake-modules)))
1423 `(("qtbase" ,qtbase)))
1424 (home-page "https://community.kde.org/Frameworks")
1425 (synopsis "Helper for multithreaded programming")
1426 (description "ThreadWeaver is a helper for multithreaded programming. It
1427 uses a job-based interface to queue tasks and execute them in an efficient way.")
1428 (license license:lgpl2.1+)))
1433 ;; Tier 2 frameworks additionally depend on tier 1 frameworks, but still have
1434 ;; easily manageable dependencies.
1436 (define-public kactivities
1438 (name "kactivities")
1443 "mirror://kde/stable/frameworks/"
1444 (version-major+minor version) "/"
1445 name "-" version ".tar.xz"))
1448 "0z0ac426npq99s1b8yzrqkjjjc34nbxlpw8pw388yj7fa41hw21r"))))
1449 (build-system cmake-build-system)
1451 `(("extra-cmake-modules" ,extra-cmake-modules)))
1455 ("kbookmarks" ,kbookmarks)
1456 ("kcodecs" ,kcodecs)
1457 ("kcompletion" ,kcompletion)
1458 ("kconfig" ,kconfig)
1459 ("kconfigwidgets" ,kconfigwidgets)
1460 ("kcoreaddons" ,kcoreaddons)
1462 ("kitemviews" ,kitemviews)
1463 ("kjobwidgets" ,kjobwidgets)
1464 ("kservice" ,kservice)
1465 ("kwidgetsaddons" ,kwidgetsaddons)
1466 ("kwindowsystem" ,kwindowsystem)
1467 ("kxmlgui" ,kxmlgui)
1469 ("qtdeclarative" ,qtdeclarative)
1471 (home-page "https://community.kde.org/Frameworks")
1472 (synopsis "Core components for the KDE Activity concept")
1473 (description "KActivities provides the infrastructure needed to manage a
1474 user's activities, allowing them to switch between tasks, and for applications
1475 to update their state to match the user's current activity. This includes a
1476 daemon, a library for interacting with that daemon, and plugins for integration
1477 with other frameworks.")
1479 (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
1481 (define-public kauth
1488 "mirror://kde/stable/frameworks/"
1489 (version-major+minor version) "/"
1490 name "-" version ".tar.xz"))
1493 "04kqb2hhr9lkpkxiaqlnyk0kmk6p89z5fgp5i5g83hsi8maz7swi"))))
1494 (build-system cmake-build-system)
1497 ("extra-cmake-modules" ,extra-cmake-modules)
1498 ("qttools" ,qttools)))
1500 `(("kcoreaddons" ,kcoreaddons)
1501 ("polkit-qt" ,polkit-qt)
1502 ("qtbase" ,qtbase)))
1505 (modify-phases %standard-phases
1506 (add-after 'unpack 'fix-cmake-install-directories
1508 ;; Make packages using kauth put their policy files and helpers
1509 ;; into their own prefix.
1510 (substitute* "KF5AuthConfig.cmake.in"
1511 (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
1512 "${KDE_INSTALL_DATADIR}/polkit-1/actions")
1513 (("@KAUTH_HELPER_INSTALL_DIR@")
1514 "${KDE_INSTALL_LIBEXECDIR}")
1515 (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
1516 "${KDE_INSTALL_LIBEXECDIR}"))))
1519 (setenv "DBUS_FATAL_WARNINGS" "0")
1520 (zero? (system* "dbus-launch" "ctest" ".")))))))
1521 (home-page "https://community.kde.org/Frameworks")
1522 (synopsis "Execute actions as privileged user")
1523 (description "KAuth provides a convenient, system-integrated way to offload
1524 actions that need to be performed as a privileged user to small set of helper
1526 (license license:lgpl2.1+)))
1528 (define-public kcompletion
1530 (name "kcompletion")
1535 "mirror://kde/stable/frameworks/"
1536 (version-major+minor version) "/"
1537 name "-" version ".tar.xz"))
1540 "0yqci2v0dk5v1mz4n3gca599a7mpihy563zc6sl8hsa30ld8li0f"))))
1541 (build-system cmake-build-system)
1543 `(("extra-cmake-modules" ,extra-cmake-modules)
1544 ("qttools" ,qttools)))
1546 `(("kconfig" ,kconfig)
1547 ("kwidgetsaddons" ,kwidgetsaddons)
1548 ("qtbase" ,qtbase)))
1551 (modify-phases %standard-phases
1552 (add-before 'check 'check-setup
1554 ;; make Qt render "offscreen", required for tests
1555 (setenv "QT_QPA_PLATFORM" "offscreen")
1557 (home-page "https://community.kde.org/Frameworks")
1558 (synopsis "Powerful autocompletion framework and widgets")
1559 (description "This framework helps implement autocompletion in Qt-based
1560 applications. It provides a set of completion-ready widgets, or can be
1561 integrated it into your application's other widgets.")
1562 (license license:lgpl2.1+)))
1564 (define-public kcrash
1571 "mirror://kde/stable/frameworks/"
1572 (version-major+minor version) "/"
1573 name "-" version ".tar.xz"))
1576 "049y0xdyw37y0qid3d3plj8szfys5gw98j7lhcakiini8mn5cins"))))
1577 (build-system cmake-build-system)
1579 `(("extra-cmake-modules" ,extra-cmake-modules)))
1581 `(("kcoreaddons" ,kcoreaddons)
1582 ("kwindowsystem" ,kwindowsystem)
1584 ("qtx11extras" ,qtx11extras)))
1587 (modify-phases %standard-phases
1588 (add-before 'check 'check-setup
1590 ;; make Qt render "offscreen", required for tests
1591 (setenv "QT_QPA_PLATFORM" "offscreen")
1593 (home-page "https://community.kde.org/Frameworks")
1594 (synopsis "Graceful handling of application crashes")
1595 (description "KCrash provides support for intercepting and handling
1596 application crashes.")
1597 (license license:lgpl2.1+)))
1599 (define-public kdoctools
1606 "mirror://kde/stable/frameworks/"
1607 (version-major+minor version) "/"
1608 name "-" version ".tar.xz"))
1611 "1bby3avdllch1mji0mxzcix8q5yir5a0i6wpjs5lwckv1glh6kmz"))))
1612 (build-system cmake-build-system)
1614 `(("extra-cmake-modules" ,extra-cmake-modules)))
1616 `(("docbook-xml" ,docbook-xml)
1617 ("docbook-xsl" ,docbook-xsl)
1618 ("karchive" ,karchive)
1620 ("libxml2" ,libxml2)
1621 ("libxslt" ,libxslt)
1623 ("perl-uri" ,perl-uri)
1624 ("qtbase" ,qtbase)))
1627 (modify-phases %standard-phases
1628 (add-after 'unpack 'cmake-find-docbook
1629 (lambda* (#:key inputs #:allow-other-keys)
1630 (substitute* (find-files "cmake" "\\.cmake$")
1631 (("CMAKE_SYSTEM_PREFIX_PATH")
1632 "CMAKE_PREFIX_PATH"))
1633 (substitute* "cmake/FindDocBookXML4.cmake"
1634 (("^.*xml/docbook/schema/dtd.*$")
1635 "xml/dtd/docbook\n"))
1636 (substitute* "cmake/FindDocBookXSL.cmake"
1637 (("^.*xml/docbook/stylesheet.*$")
1638 (string-append "xml/xsl/docbook-xsl-"
1639 ,(package-version docbook-xsl) "\n")))
1641 (add-after 'install 'add-symlinks
1642 ;; Some package(s) (e.g. kdelibs4support) refer to this locale by a
1643 ;; different spelling.
1644 (lambda* (#:key outputs #:allow-other-keys)
1645 (let ((xsl (string-append (assoc-ref outputs "out")
1646 "/share/kf5/kdoctools/customization/xsl/")))
1647 (symlink (string-append xsl "pt_br.xml")
1648 (string-append xsl "pt-BR.xml")))
1650 (home-page "https://community.kde.org/Frameworks")
1651 (synopsis "Create documentation from DocBook")
1652 (description "Provides tools to generate documentation in various format
1653 from DocBook files.")
1654 (license license:lgpl2.1+)))
1656 (define-public kfilemetadata
1658 (name "kfilemetadata")
1663 "mirror://kde/stable/frameworks/"
1664 (version-major+minor version) "/"
1665 name "-" version ".tar.xz"))
1668 "03wk38q3sq354ykz9dwbgykn73ldf94ryx6hxvpr66bq3a59jmwz"))))
1669 (build-system cmake-build-system)
1672 (modify-phases %standard-phases
1673 (add-before 'check 'disable-failing-test
1675 ;; Blacklist a failing test-function. FIXME: Make it pass.
1676 ;; UserMetaDataWriterTest fails with getxattr("…/writertest.txt")
1677 ;; -> EOPNOTSUPP (Operation not supported)
1678 (with-output-to-file "autotests/BLACKLIST"
1680 (display "[test]\n*\n")))
1683 `(("extra-cmake-modules" ,extra-cmake-modules)
1684 ("pkg-config" ,pkg-config)
1685 ("python-2" ,python-2)))
1688 ;; TODO: EPub http://sourceforge.net/projects/ebook-tools
1689 ("karchive" ,karchive)
1691 ("qtmultimedia" ,qtmultimedia)
1693 ;; Required run-time packages
1695 ;; Optional run-time packages
1698 ("poppler-qt5" ,poppler-qt5)
1699 ("taglib" ,taglib)))
1700 (home-page "https://community.kde.org/Frameworks")
1701 (synopsis "Extract metadata from different fileformats")
1702 (description "KFileMetaData provides a simple library for extracting the
1703 text and metadata from a number of different files. This library is typically
1704 used by file indexers to retrieve the metadata. This library can also be used
1705 by applications to write metadata.")
1706 (license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))
1708 (define-public kimageformats
1710 (name "kimageformats")
1715 "mirror://kde/stable/frameworks/"
1716 (version-major+minor version) "/"
1717 name "-" version ".tar.xz"))
1720 "1k67yrmszx7azjzrg478rimbz991lghx4d6dmg22p6dknajd78a6"))))
1721 (build-system cmake-build-system)
1723 `(("extra-cmake-modules" ,extra-cmake-modules)
1724 ("pkg-config" ,pkg-config)))
1726 `(("karchive" ,karchive) ; for Krita and OpenRaster images
1727 ("openexr" ,openexr) ; for OpenEXR high dynamic-range images
1728 ("qtbase" ,qtbase)))
1731 (modify-phases %standard-phases
1732 ;; This test fails regularly (also at KDE CI, see
1733 ;; https://build.kde.org/job/Frameworks%20kimageformats%20kf5-qt5%20XenialQt5.7/6/testReport/)
1734 ;; delete offending portion
1735 (add-after 'unpack 'neuter-read-xcf-test
1737 (delete-file "autotests/read/xcf/simple-rgba-gimp-2.8.10.png")
1738 (delete-file "autotests/read/xcf/simple-rgba-gimp-2.8.10.xcf")))
1739 (add-before 'check 'check-setup
1741 ;; make Qt render "offscreen", required for tests
1742 (setenv "QT_QPA_PLATFORM" "offscreen")
1743 (setenv "QT_PLUGIN_PATH"
1744 (string-append (getcwd) "/bin:"
1745 (getenv "QT_PLUGIN_PATH")))
1747 ;; FIXME: The header files of ilmbase (propagated by openexr) are not
1748 ;; found when included by the header files of openexr, and an explicit
1749 ;; flag needs to be set.
1751 (list (string-append "-DCMAKE_CXX_FLAGS=-I"
1752 (assoc-ref %build-inputs "ilmbase")
1753 "/include/OpenEXR"))))
1754 (home-page "https://community.kde.org/Frameworks")
1755 (synopsis "Plugins to allow QImage to support extra file formats")
1756 (description "This framework provides additional image format plugins for
1757 QtGui. As such it is not required for the compilation of any other software,
1758 but may be a runtime requirement for Qt-based software to support certain image
1760 (license license:lgpl2.1+)))
1762 (define-public kjobwidgets
1764 (name "kjobwidgets")
1769 "mirror://kde/stable/frameworks/"
1770 (version-major+minor version) "/"
1771 name "-" version ".tar.xz"))
1774 "1m3csdl7wh18ywv5p0qpbjpixvflgjcq3yvk3vlvh0sxxlwcz8k4"))))
1775 (build-system cmake-build-system)
1777 `(("extra-cmake-modules" ,extra-cmake-modules)
1778 ("qttools" ,qttools)))
1780 `(("kcoreaddons" ,kcoreaddons)
1781 ("kwidgetsaddons" ,kwidgetsaddons)
1783 ("qtx11extras" ,qtx11extras)))
1784 (home-page "https://community.kde.org/Frameworks")
1785 (synopsis "Widgets for showing progress of asynchronous jobs")
1786 (description "KJobWIdgets provides widgets for showing progress of
1787 asynchronous jobs.")
1788 (license license:lgpl2.1+)))
1790 (define-public knotifications
1792 (name "knotifications")
1797 "mirror://kde/stable/frameworks/"
1798 (version-major+minor version) "/"
1799 name "-" version ".tar.xz"))
1802 "0awmwypmd104vhaj2v9k83niflxj26d4mbl6mzfcj75lgka6kffc"))))
1803 (build-system cmake-build-system)
1805 `(("extra-cmake-modules" ,extra-cmake-modules)
1807 ("qttools" ,qttools)))
1809 `(("kcodecs" ,kcodecs)
1810 ("kconfig" ,kconfig)
1811 ("kcoreaddons" ,kcoreaddons)
1812 ("kwindowsystem" ,kwindowsystem)
1815 ("qtspeech" ,qtspeech)
1816 ;; TODO: Think about adding dbusmenu-qt5 from
1817 ;; https://launchpad.net/libdbusmenu-qt
1818 ("qtx11extras" ,qtx11extras)))
1821 (modify-phases %standard-phases
1822 (add-before 'check 'check-setup
1824 (setenv "HOME" (getcwd))
1828 (setenv "DBUS_FATAL_WARNINGS" "0")
1829 (zero? (system* "dbus-launch" "ctest" ".")))))))
1830 (home-page "https://community.kde.org/Frameworks")
1831 (synopsis "Desktop notifications")
1832 (description "KNotification is used to notify the user of an event. It
1833 covers feedback and persistent events.")
1834 (license license:lgpl2.1+)))
1836 (define-public kpackage
1843 "mirror://kde/stable/frameworks/"
1844 (version-major+minor version) "/"
1845 name "-" version ".tar.xz"))
1848 "10amhh07x8d0jkyylb19cyzjs71k8dq1y8isfahqzb2kd43vijqa"))))
1849 (build-system cmake-build-system)
1851 `(("extra-cmake-modules" ,extra-cmake-modules)))
1853 `(("karchive" ,karchive)
1854 ("kconfig" ,kconfig)
1855 ("kcoreaddons" ,kcoreaddons)
1856 ("kdoctools" ,kdoctools)
1858 ("qtbase" ,qtbase)))
1860 `(#:tests? #f ; FIXME: 3/9 tests fail.
1862 (modify-phases %standard-phases
1863 (add-before 'check 'check-setup
1865 (setenv "HOME" (getcwd))
1867 (home-page "https://community.kde.org/Frameworks")
1868 (synopsis "Installation and loading of additional content as packages")
1869 (description "The Package framework lets the user install and load packages
1870 of non binary content such as scripted extensions or graphic assets, as if they
1871 were traditional plugins.")
1872 (license (list license:gpl2+ license:lgpl2.1+))))
1881 "mirror://kde/stable/frameworks/"
1882 (version-major+minor version) "/"
1883 name "-" version ".tar.xz"))
1886 "07s16zxs03ixy7yxy9fda83yqhcgqzx42gnvwjwkyc8q05njmma6"))))
1887 (build-system cmake-build-system)
1889 `(("extra-cmake-modules" ,extra-cmake-modules)))
1891 `(("kcoreaddons" ,kcoreaddons)
1893 ;; TODO: utempter, for managing UTMP entries
1894 ("qtbase" ,qtbase)))
1896 `(#:tests? #f ; FIXME: 1/1 tests fail.
1898 (modify-phases %standard-phases
1899 (add-after 'unpack 'patch-tests
1901 (substitute* "autotests/kptyprocesstest.cpp"
1902 (("/bin/bash") (which "bash")))
1904 (home-page "https://community.kde.org/Frameworks")
1905 (synopsis "Interfacing with pseudo terminal devices")
1906 (description "This library provides primitives to interface with pseudo
1907 terminal devices as well as a KProcess derived class for running child processes
1908 and communicating with them using a pty.")
1909 (license (list license:gpl2+ license:lgpl2.1+))))
1911 (define-public kunitconversion
1913 (name "kunitconversion")
1918 "mirror://kde/stable/frameworks/"
1919 (version-major+minor version) "/"
1920 name "-" version ".tar.xz"))
1923 "0219pna4l3vvhyf5acsc87n48jzdnws6kwyhaiy3hy1pzrilv32l"))))
1924 (build-system cmake-build-system)
1927 (modify-phases %standard-phases
1928 (add-after 'unpack 'disable-a-failing-test-case
1930 ;; FIXME: Re-enable this test-case. It was committed with the
1931 ;; message: "tsan says it's clean, apart from issues in Qt
1932 ;; (reported upstream)"
1933 (substitute* "autotests/convertertest.cpp"
1934 (("const int numThreads = 2") "const int numThreads = 0")))))))
1936 `(("extra-cmake-modules" ,extra-cmake-modules)))
1939 ("qtbase" ,qtbase)))
1940 (home-page "https://community.kde.org/Frameworks")
1941 (synopsis "Converting physical units")
1942 (description "KUnitConversion provides functions to convert values in
1943 different physical units. It supports converting different prefixes (e.g. kilo,
1944 mega, giga) as well as converting between different unit systems (e.g. liters,
1946 (license license:lgpl2.1+)))
1951 ;; Tier 3 frameworks are generally more powerful, comprehensive packages, and
1952 ;; consequently have more complex dependencies.
1954 (define-public baloo
1961 "mirror://kde/stable/frameworks/"
1962 (version-major+minor version) "/"
1963 name "-" version ".tar.xz"))
1966 "18yknkcls1ypsp8n5l254bhlffiq4as5w1wgcjzhnf49cacys8nl"))))
1967 (build-system cmake-build-system)
1969 `(("kcoreaddons" ,kcoreaddons)
1970 ("kfilemetadata" ,kfilemetadata)))
1973 ("extra-cmake-modules" ,extra-cmake-modules)))
1975 `(("kbookmarks" ,kbookmarks)
1976 ("kcompletion" ,kcompletion)
1977 ("kconfig" ,kconfig)
1979 ("kdbusaddons" ,kdbusaddons)
1980 ("kidletime" ,kidletime)
1982 ("kitemviews" ,kitemviews)
1984 ("kjobwidgets" ,kjobwidgets)
1985 ("kservice" ,kservice)
1986 ("kwidgetsaddons" ,kwidgetsaddons)
1987 ("kxmlgui" ,kxmlgui)
1990 ("qtdeclarative" ,qtdeclarative)
1994 (modify-phases %standard-phases
1995 (add-before 'check 'check-setup
1997 (setenv "HOME" (getcwd))
1998 ;; make Qt render "offscreen", required for tests
1999 (setenv "QT_QPA_PLATFORM" "offscreen")
2001 (add-after 'unpack 'remove-failing-test
2002 ;; This test fails on i686 and aarch64
2004 (substitute* "autotests/unit/file/CMakeLists.txt"
2005 (("metadatamovertest") ""))
2009 (setenv "DBUS_FATAL_WARNINGS" "0")
2010 (zero? (system* "dbus-launch" "ctest" ".")))))))
2011 (home-page "https://community.kde.org/Frameworks")
2012 (synopsis "File searching and indexing")
2013 (description "Baloo provides file searching and indexing. It does so by
2014 maintaining an index of the contents of your files.")
2016 (license (list license:gpl2+ license:lgpl2.1+))))
2018 (define-public kactivities-stats
2020 (name "kactivities-stats")
2025 "mirror://kde/stable/frameworks/"
2026 (version-major+minor version) "/"
2027 name "-" version ".tar.xz"))
2030 "0si70hayf4brr83jzdjdsfvp8nc1sb7vdk0q532liafhf8hw9mq8"))))
2031 (build-system cmake-build-system)
2033 `(("extra-cmake-modules" ,extra-cmake-modules)))
2036 ("kactivities" ,kactivities)
2037 ("kconfig" ,kconfig)
2039 ("qtdeclarative" ,qtdeclarative)))
2040 (home-page "https://community.kde.org/Frameworks")
2041 (synopsis "Access usage statistics collected by the activity manager")
2042 (description "The KActivitiesStats library provides a querying mechanism for
2043 the data that the activitiy manager collects - which documents have been opened
2044 by which applications, and what documents have been linked to which activity.")
2046 (license (list license:lgpl2.0+ license:lgpl2.1+ license:lgpl3+))))
2048 (define-public kbookmarks
2055 "mirror://kde/stable/frameworks/"
2056 (version-major+minor version) "/"
2057 name "-" version ".tar.xz"))
2060 "08q413mr5ib04gwnqznvm9vkkfmnh16rgf6rqdvclnci9w7ml5x2"))))
2061 (build-system cmake-build-system)
2063 `(("kwidgetsaddons" ,kwidgetsaddons)))
2065 `(("extra-cmake-modules" ,extra-cmake-modules)
2066 ("qttools" ,qttools)))
2069 ("kcodecs" ,kcodecs)
2070 ("kconfig" ,kconfig)
2071 ("kconfigwidgets" ,kconfigwidgets)
2072 ("kcoreaddons" ,kcoreaddons)
2073 ("kiconthemes" ,kiconthemes)
2074 ("kxmlgui" ,kxmlgui)
2075 ("qtbase" ,qtbase)))
2078 (modify-phases %standard-phases
2079 (add-before 'check 'check-setup
2081 (setenv "HOME" (getcwd))
2082 ;; make Qt render "offscreen", required for tests
2083 (setenv "QT_QPA_PLATFORM" "offscreen")
2085 (home-page "https://community.kde.org/Frameworks")
2086 (synopsis "Bookmarks management library")
2087 (description "KBookmarks lets you access and manipulate bookmarks stored
2088 using the XBEL format.")
2089 (license license:lgpl2.1+)))
2091 (define-public kcmutils
2098 "mirror://kde/stable/frameworks/"
2099 (version-major+minor version) "/"
2100 name "-" version ".tar.xz"))
2103 "1q67b0m6w3xvm22kq8b0b0rib1jzf25gf6dz7h286987zfbbs5n7"))))
2104 (build-system cmake-build-system)
2106 `(("kconfigwidgets" ,kconfigwidgets)
2107 ("kservice" ,kservice)))
2109 `(("extra-cmake-modules" ,extra-cmake-modules)))
2112 ("kcodecs" ,kcodecs)
2113 ("kconfig" ,kconfig)
2114 ("kcoreaddons" ,kcoreaddons)
2115 ("kdeclarative" ,kdeclarative)
2116 ("kiconthemes" ,kiconthemes)
2117 ("kitemviews" ,kitemviews)
2119 ("kpackage" ,kpackage)
2120 ("kwidgetsaddons" ,kwidgetsaddons)
2121 ("kxmlgui" ,kxmlgui)
2123 ("qtdeclarative" ,qtdeclarative)))
2124 (home-page "https://community.kde.org/Frameworks")
2125 (synopsis "Utilities for KDE System Settings modules")
2126 (description "KCMUtils provides various classes to work with KCModules.
2127 KCModules can be created with the KConfigWidgets framework.")
2128 (license license:lgpl2.1+)))
2130 (define-public kconfigwidgets
2132 (name "kconfigwidgets")
2137 "mirror://kde/stable/frameworks/"
2138 (version-major+minor version) "/"
2139 name "-" version ".tar.xz"))
2142 "191zm24q2n001b65hcnfh2639k4iqhxwdmgdw29php3n2648xq4z"))))
2143 (build-system cmake-build-system)
2146 ("kcodecs" ,kcodecs)
2147 ("kconfig" ,kconfig)
2148 ("kwidgetsaddons" ,kwidgetsaddons)))
2150 `(("extra-cmake-modules" ,extra-cmake-modules)
2151 ("kdoctools" ,kdoctools)))
2153 `(("kcoreaddons" ,kcoreaddons)
2154 ("kguiaddons" ,kguiaddons)
2156 ("qtbase" ,qtbase)))
2159 (modify-phases %standard-phases
2160 (add-before 'check 'check-setup
2162 ;; make Qt render "offscreen", required for tests
2163 (setenv "QT_QPA_PLATFORM" "offscreen")
2165 (home-page "https://community.kde.org/Frameworks")
2166 (synopsis "Widgets for configuration dialogs")
2167 (description "KConfigWidgets provides easy-to-use classes to create
2168 configuration dialogs, as well as a set of widgets which uses KConfig to store
2171 (license (list license:gpl2+ license:lgpl2.1+))))
2173 (define-public kdeclarative
2175 (name "kdeclarative")
2180 "mirror://kde/stable/frameworks/"
2181 (version-major+minor version) "/"
2182 name "-" version ".tar.xz"))
2185 "1w604jy6vg2247vggz0ivl7wy2h5iapkz2z86mah3aw99f7dqa22"))))
2186 (build-system cmake-build-system)
2188 `(("kconfig" ,kconfig)
2189 ("kpackage" ,kpackage)))
2191 `(("extra-cmake-modules" ,extra-cmake-modules)
2192 ("pkg-config" ,pkg-config)
2193 ("xorg-server" ,xorg-server)))
2196 ("kbookmarks" ,kbookmarks)
2197 ("kcodecs" ,kcodecs)
2198 ("kcompletion" ,kcompletion)
2199 ("kconfigwidgets" ,kconfigwidgets)
2200 ("kcoreaddons" ,kcoreaddons)
2201 ("kglobalaccel" ,kglobalaccel)
2202 ("kguiaddons" ,kguiaddons)
2203 ("kiconthemes" ,kiconthemes)
2205 ("kitemviews" ,kitemviews)
2207 ("kjobwidgets" ,kjobwidgets)
2208 ("kservice" ,kservice)
2209 ("kwidgetsaddons" ,kwidgetsaddons)
2210 ("kwindowsystem" ,kwindowsystem)
2211 ("kxmlgui" ,kxmlgui)
2212 ("libepoxy" ,libepoxy)
2214 ("qtdeclarative" ,qtdeclarative)
2218 (modify-phases %standard-phases
2219 (add-before 'check 'start-xorg-server
2220 (lambda* (#:key inputs #:allow-other-keys)
2221 ;; The test suite requires a running X server, setting
2222 ;; QT_QPA_PLATFORM=offscreen does not suffice.
2223 (system (string-append (assoc-ref inputs "xorg-server")
2224 "/bin/Xvfb :1 -screen 0 640x480x24 &"))
2225 (setenv "DISPLAY" ":1")
2227 (home-page "https://community.kde.org/Frameworks")
2228 (synopsis "Integration of QML and KDE work spaces")
2229 (description "KDeclarative provides integration of QML and KDE work spaces.
2230 It's comprises two parts: a library used by the C++ part of your application to
2231 intergrate QML with KDE Frameworks specific features, and a series of QML imports
2232 that offer bindings to some of the Frameworks.")
2234 (license (list license:gpl2+ license:lgpl2.1+))))
2243 "mirror://kde/stable/frameworks/"
2244 (version-major+minor version) "/"
2245 name "-" version ".tar.xz"))
2248 "0w25dl4pnvby28gz0yvij32vi9n3p8si4nm4x45j7zsi2cb70j4l"))))
2249 (build-system cmake-build-system)
2251 `(("extra-cmake-modules" ,extra-cmake-modules)))
2253 `(("kconfig" ,kconfig)
2254 ("kcoreaddons" ,kcoreaddons)
2256 ("kdbusaddons" ,kdbusaddons)
2257 ("kdoctools" ,kdoctools)
2259 ("kservice" ,kservice)
2260 ("qtbase" ,qtbase)))
2261 (home-page "https://community.kde.org/Frameworks")
2262 (synopsis "Central daemon of KDE work spaces")
2263 (description "KDED stands for KDE Daemon. KDED runs in the background and
2264 performs a number of small tasks. Some of these tasks are built in, others are
2265 started on demand.")
2267 (license (list license:lgpl2.0+ license:lgpl2.1+))))
2269 (define-public kdesignerplugin
2271 (name "kdesignerplugin")
2276 "mirror://kde/stable/frameworks/"
2277 (version-major+minor version) "/"
2278 name "-" version ".tar.xz"))
2281 "004axa1fkj954d65x7l9z8dmw04209hb368rwa4gjzb8naf13ib6"))))
2282 (build-system cmake-build-system)
2284 `(("extra-cmake-modules" ,extra-cmake-modules)
2285 ("qttools" ,qttools)))
2287 `(("kconfig" ,kconfig)
2288 ("kcoreaddons" ,kcoreaddons)
2289 ("kdoctools" ,kdoctools)
2292 ("kcompletion" ,kcompletion)
2293 ("kconfigwidgets" ,kconfigwidgets)
2294 ("kiconthemes" ,kiconthemes)
2295 ("kitemviews" ,kitemviews)
2297 ("kplotting" ,kplotting)
2298 ("ktextwidgets" ,ktextwidgets)
2299 ("kdewebkit" ,kdewebkit)
2300 ("kwidgetsaddons" ,kwidgetsaddons)
2301 ("kxmlgui" ,kxmlgui)
2302 ("qtwebkit" ,qtwebkit)
2303 ("sonnet" ,sonnet)))
2306 (modify-phases %standard-phases
2307 (add-before 'check 'check-setup
2309 ;; make Qt render "offscreen", required for tests
2310 (setenv "QT_QPA_PLATFORM" "offscreen")
2312 (home-page "https://community.kde.org/Frameworks")
2313 (synopsis "Integrating KDE frameworks widgets with Qt Designer")
2314 (description "This framework provides plugins for Qt Designer that allow it
2315 to display the widgets provided by various KDE frameworks, as well as a utility
2316 (kgendesignerplugin) that can be used to generate other such plugins from
2317 ini-style description files.")
2318 (license license:lgpl2.1+)))
2320 (define-public kdesu
2327 "mirror://kde/stable/frameworks/"
2328 (version-major+minor version) "/"
2329 name "-" version ".tar.xz"))
2332 "0402p1h7wifk6sppg7ca9w0zfjllbhc1j5gsxj7ypq55g94np7hx"))))
2333 (build-system cmake-build-system)
2337 `(("extra-cmake-modules" ,extra-cmake-modules)))
2339 `(("kconfig" ,kconfig)
2340 ("kcoreaddons" ,kcoreaddons)
2342 ("kservice" ,kservice)
2343 ("qtbase" ,qtbase)))
2344 (home-page "https://community.kde.org/Frameworks")
2345 (synopsis "User interface for running shell commands with root privileges")
2346 (description "KDESU provides functionality for building GUI front ends for
2347 (password asking) console mode programs. kdesu and kdessh use it to interface
2348 with su and ssh respectively.")
2349 (license license:lgpl2.1+)))
2351 (define-public kdewebkit
2358 "mirror://kde/stable/frameworks/"
2359 (version-major+minor version) "/"
2360 name "-" version ".tar.xz"))
2363 "1csd4p996im7ygxc5rfdkzgdpngjgzyqakj12rl9rnfbsd15i8kb"))))
2364 (build-system cmake-build-system)
2366 `(("extra-cmake-modules" ,extra-cmake-modules)))
2368 `(("kconfig" ,kconfig)
2369 ("kcoreaddons" ,kcoreaddons)
2371 ("kjobwidgets" ,kjobwidgets)
2373 ("kservice" ,kservice)
2374 ("kwallet" ,kwallet)
2376 ("qtwebkit" ,qtwebkit)))
2377 (home-page "https://community.kde.org/Frameworks")
2378 (synopsis "KDE Integration for QtWebKit")
2379 (description "This library provides KDE integration of the HTML rendering
2380 engine WebKit via QtWebKit.")
2381 (license license:lgpl2.1+)))
2383 (define-public kemoticons
2390 "mirror://kde/stable/frameworks/"
2391 (version-major+minor version) "/"
2392 name "-" version ".tar.xz"))
2395 "0f6an1bwxnga41a2b35b2pdcni4p0hh76k4jvanl3g046v07f2wr"))))
2396 (build-system cmake-build-system)
2398 `(("kservice" ,kservice)))
2400 `(("extra-cmake-modules" ,extra-cmake-modules)))
2402 `(("karchive" ,karchive)
2403 ("kconfig" ,kconfig)
2404 ("kcoreaddons" ,kcoreaddons)
2405 ("qtbase" ,qtbase)))
2407 `(#:tests? #f ; FIXME: 2/2 tests fail.
2409 (modify-phases %standard-phases
2410 (add-before 'check 'check-setup
2412 (setenv "HOME" (getcwd))
2413 ;; make Qt render "offscreen", required for tests
2414 (setenv "QT_QPA_PLATFORM" "offscreen")
2416 (home-page "https://community.kde.org/Frameworks")
2417 (synopsis "Convert text emoticons to graphical emoticons")
2418 (description "KEmoticons converts emoticons from text to a graphical
2419 representation with images in HTML. It supports setting different themes for
2420 emoticons coming from different providers.")
2421 ;; dual licensed, image files are licensed under cc-by-sa4.0
2422 (license (list license:gpl2+ license:lgpl2.1+ license:cc-by-sa4.0))))
2424 (define-public kglobalaccel
2426 (name "kglobalaccel")
2431 "mirror://kde/stable/frameworks/"
2432 (version-major+minor version) "/"
2433 name "-" version ".tar.xz"))
2436 "0nlza73i0qd79yhwhpnvgbh2xa9lvd1n2xg25p3bvfzwidcfdxg6"))))
2437 (build-system cmake-build-system)
2439 `(("extra-cmake-modules" ,extra-cmake-modules)
2440 ("pkg-config" ,pkg-config)
2441 ("qttools" ,qttools)))
2443 `(("kconfig" ,kconfig)
2445 ("kcoreaddons" ,kcoreaddons)
2446 ("kdbusaddons" ,kdbusaddons)
2447 ("kservice" ,kservice)
2448 ("kwindowsystem" ,kwindowsystem)
2451 ("qtx11extras" ,qtx11extras)
2452 ("xcb-util-keysyms" ,xcb-util-keysyms)))
2455 (modify-phases %standard-phases
2456 (add-before 'check 'check-setup
2458 ;; make Qt render "offscreen", required for tests
2459 (setenv "QT_QPA_PLATFORM" "offscreen")
2461 (home-page "https://community.kde.org/Frameworks")
2462 (synopsis "Global desktop keyboard shortcuts")
2463 (description "KGlobalAccel allows you to have global accelerators that are
2464 independent of the focused window. Unlike regular shortcuts, the application's
2465 window does not need focus for them to be activated.")
2466 (license license:lgpl2.1+)))
2468 (define-public kiconthemes
2470 (name "kiconthemes")
2475 "mirror://kde/stable/frameworks/"
2476 (version-major+minor version) "/"
2477 name "-" version ".tar.xz"))
2480 "1nbxxpf8bv835xl35b17rk8s3zs110bh31078kqqh7dhvwzlxic7"))))
2481 (build-system cmake-build-system)
2483 `(("extra-cmake-modules" ,extra-cmake-modules)
2484 ("shared-mime-info" ,shared-mime-info)))
2486 `(("karchive" ,karchive)
2488 ("kcodecs" ,kcodecs)
2489 ("kcoreaddons" ,kcoreaddons)
2490 ("kconfig" ,kconfig)
2491 ("kconfigwidgets" ,kconfigwidgets)
2493 ("kitemviews" ,kitemviews)
2494 ("kwidgetsaddons" ,kwidgetsaddons)
2499 (modify-phases %standard-phases
2500 (add-before 'check 'check-setup
2501 (lambda* (#:key inputs #:allow-other-keys)
2502 (setenv "XDG_DATA_DIRS"
2503 (string-append (assoc-ref inputs "shared-mime-info")
2505 (setenv "HOME" (getcwd))
2506 ;; make Qt render "offscreen", required for tests
2507 (setenv "QT_QPA_PLATFORM" "offscreen")
2509 (home-page "https://community.kde.org/Frameworks")
2510 (synopsis "Icon GUI utilities")
2511 (description "This library contains classes to improve the handling of icons
2512 in applications using the KDE Frameworks.")
2513 (license license:lgpl2.1+)))
2515 (define-public kinit
2522 "mirror://kde/stable/frameworks/"
2523 (version-major+minor version) "/"
2524 name "-" version ".tar.xz"))
2527 "05vpac41pw1n8y58l2z08vyknzv950x8dxxw66dnymm2v31w07ia"))))
2528 (build-system cmake-build-system)
2530 `(("extra-cmake-modules" ,extra-cmake-modules)
2531 ("pkg-config" ,pkg-config)))
2534 ("kbookmarks" ,kbookmarks)
2535 ("kcodecs" ,kcodecs)
2536 ("kcompletion" ,kcompletion)
2537 ("kconfig" ,kconfig)
2538 ("kconfigwidgets" ,kconfigwidgets)
2539 ("kcoreaddons" ,kcoreaddons)
2541 ("kdoctools" ,kdoctools)
2543 ("kitemviews" ,kitemviews)
2545 ("kjobwidgets" ,kjobwidgets)
2546 ("kservice" ,kservice)
2547 ("kwidgetsaddons" ,kwidgetsaddons)
2548 ("kwindowsystem" ,kwindowsystem)
2549 ("kxmlgui" ,kxmlgui)
2550 ("libcap" ,libcap) ; to install start_kdeinit with CAP_SYS_RESOURCE
2553 (home-page "https://community.kde.org/Frameworks")
2554 (synopsis "Library to speed up start of applications on KDE workspaces")
2555 (description "Kdeinit is a process launcher similar to init used for booting
2556 UNIX. It launches processes by forking and then loading a dynamic library which
2557 contains a 'kdemain(...)' function. Using kdeinit to launch KDE applications
2558 makes starting KDE applications faster and reduces memory consumption.")
2560 (license (list license:lgpl2.0+ license:lgpl2.1+))))
2569 "mirror://kde/stable/frameworks/"
2570 (version-major+minor version) "/"
2571 name "-" version ".tar.xz"))
2574 "1526a89x11ank55dp3rfp7xd04w8x7prjg3y6i7n2q9nabwhw7gc"))))
2575 (build-system cmake-build-system)
2577 `(("kbookmarks" ,kbookmarks)
2578 ("kconfig" ,kconfig)
2579 ("kcompletion" ,kcompletion)
2580 ("kcoreaddons" ,kcoreaddons)
2581 ("kitemviews" ,kitemviews)
2582 ("kjobwidgets" ,kjobwidgets)
2583 ("kservice" ,kservice)
2584 ("kxmlgui" ,kxmlgui)
2588 ("extra-cmake-modules" ,extra-cmake-modules)))
2590 `(;; TODO: LibACL , <ftp://oss.sgi.com/projects/xfs/cmd_tars>
2592 ("karchive" ,karchive)
2594 ("kcodecs" ,kcodecs)
2595 ("kconfigwidgets" ,kconfigwidgets)
2596 ("kdbusaddons" ,kdbusaddons)
2597 ("kdoctools" ,kdoctools)
2598 ("kiconthemes" ,kiconthemes)
2600 ("knotifications" ,knotifications)
2601 ("ktextwidgets" ,ktextwidgets)
2602 ("kwallet" ,kwallet)
2603 ("kwidgetsaddons" ,kwidgetsaddons)
2604 ("kwindowsystem" ,kwindowsystem)
2605 ("libxml2" ,libxml2)
2606 ("libxslt" ,libxslt)
2608 ("qtscript" ,qtscript)
2609 ("qtx11extras" ,qtx11extras)
2610 ("sonnet" ,sonnet)))
2612 `(#:tests? #f ; FIXME: 41/50 tests fail.
2614 (modify-phases %standard-phases
2615 (add-after 'unpack 'patch
2617 ;; Better error message (taken from nix)
2618 (substitute* "src/kiod/kiod_main.cpp"
2619 (("(^\\s*qCWarning(KIOD_CATEGORY) << \"Error loading plugin:\")( << loader.errorString();)" _ a b)
2620 (string-append a "<< name" b)))
2621 ;; TODO: samba-search-path.patch from nix: search smbd on $PATH
2623 (add-before 'check 'check-setup
2625 (setenv "HOME" (getcwd))
2626 (setenv "XDG_RUNTIME_DIR" (getcwd))
2627 ;; make Qt render "offscreen", required for tests
2628 (setenv "QT_QPA_PLATFORM" "offscreen")
2630 (add-after 'install 'add-symlinks
2631 ;; Some package(s) (e.g. bluedevil) refer to these service types by
2632 ;; the wrong name. I would prefer to patch those packages, but I
2633 ;; cannot find the files!
2634 (lambda* (#:key outputs #:allow-other-keys)
2635 (let ((kst5 (string-append (assoc-ref outputs "out")
2636 "/share/kservicetypes5/")))
2637 (symlink (string-append kst5 "kfileitemactionplugin.desktop")
2638 (string-append kst5 "kfileitemaction-plugin.desktop"))))))))
2641 ;; (setenv "DBUS_FATAL_WARNINGS" "0")
2642 ;; (zero? (system* "dbus-launch" "ctest" ".")))))))
2643 (home-page "https://community.kde.org/Frameworks")
2644 (synopsis "Network transparent access to files and data")
2645 (description "This framework implements a lot of file management functions.
2646 It supports accessing files locally as well as via HTTP and FTP out of the box
2647 and can be extended by plugins to support other protocols as well. There is a
2648 variety of plugins available, e.g. to support access via SSH. The framework can
2649 also be used to bridge a native protocol to a file-based interface. This makes
2650 the data accessible in all applications using the KDE file dialog or any other
2651 KIO enabled infrastructure.")
2652 (license license:lgpl2.1+)))
2654 (define-public knewstuff
2661 "mirror://kde/stable/frameworks/"
2662 (version-major+minor version) "/"
2663 name "-" version ".tar.xz"))
2666 "0i2gmyp67xzf2m5wnv7v574q3gsp1yxfflv1jgl0wy57vchwn9g6"))))
2667 (build-system cmake-build-system)
2669 `(("attica" ,attica)
2670 ("kservice" ,kservice)
2671 ("kxmlgui" ,kxmlgui)))
2673 `(("extra-cmake-modules" ,extra-cmake-modules)))
2675 `(("karchive" ,karchive)
2677 ("kbookmarks" ,kbookmarks)
2678 ("kcodecs" ,kcodecs)
2679 ("kcompletion" ,kcompletion)
2680 ("kconfig" ,kconfig)
2681 ("kconfigwidgets" ,kconfigwidgets)
2682 ("kcoreaddons" ,kcoreaddons)
2684 ("kitemviews" ,kitemviews)
2686 ("kiconthemes" ,kiconthemes)
2687 ("kjobwidgets" ,kjobwidgets)
2688 ("ktextwidgets" ,ktextwidgets)
2689 ("kwidgetsaddons" ,kwidgetsaddons)
2691 ("qtdeclarative" ,qtdeclarative)
2693 ("sonnet" ,sonnet)))
2695 `(#:tests? #f ; FIXME: 1/3 tests fail.
2697 (modify-phases %standard-phases
2698 (add-before 'check 'check-setup
2699 (lambda _ ; XDG_DATA_DIRS isn't set
2700 (setenv "HOME" (getcwd))
2701 ;; make Qt render "offscreen", required for tests
2702 (setenv "QT_QPA_PLATFORM" "offscreen")
2704 (home-page "https://community.kde.org/Frameworks")
2705 (synopsis "Framework for downloading and sharing additional application data")
2706 (description "The KNewStuff library implements collaborative data sharing
2707 for applications. It uses libattica to support the Open Collaboration Services
2709 (license license:lgpl2.1+)))
2711 (define-public knotifyconfig
2713 (name "knotifyconfig")
2718 "mirror://kde/stable/frameworks/"
2719 (version-major+minor version) "/"
2720 name "-" version ".tar.xz"))
2723 "1h07bjj71611v6912m5ajli6qszh9w925zqbk3vih8rn6pd2s3mc"))))
2724 (build-system cmake-build-system)
2726 `(("extra-cmake-modules" ,extra-cmake-modules)))
2729 ("kbookmarks" ,kbookmarks)
2730 ("kcodecs" ,kcodecs)
2731 ("kcompletion" ,kcompletion)
2732 ("kconfig" ,kconfig)
2733 ("kconfigwidgets" ,kconfigwidgets)
2734 ("kcoreaddons" ,kcoreaddons)
2736 ("kitemviews" ,kitemviews)
2738 ("kjobwidgets" ,kjobwidgets)
2739 ("knotifications" ,knotifications)
2740 ("kservice" ,kservice)
2741 ("kwidgetsaddons" ,kwidgetsaddons)
2742 ("kxmlgui" ,kxmlgui)
2746 (home-page "https://community.kde.org/Frameworks")
2747 (synopsis "Configuration dialog for desktop notifications")
2748 (description "KNotifyConfig provides a configuration dialog for desktop
2749 notifications which can be embedded in your application.")
2751 (license (list license:lgpl2.0+ license:lgpl2.1+))))
2753 (define-public kparts
2760 "mirror://kde/stable/frameworks/"
2761 (version-major+minor version) "/"
2762 name "-" version ".tar.xz"))
2765 "1mb5gp2ckmmrb4ym7cqvyl81wnp7cryk85gmizl7cnn69svlf40h"))))
2766 (build-system cmake-build-system)
2769 ("ktextwidgets" ,ktextwidgets)
2770 ("kxmlgui" ,kxmlgui)))
2772 `(("extra-cmake-modules" ,extra-cmake-modules)
2773 ("shared-mime-info" ,shared-mime-info)
2777 ("kbookmarks" ,kbookmarks)
2778 ("kcodecs" ,kcodecs)
2779 ("kcompletion" ,kcompletion)
2780 ("kconfig" ,kconfig)
2781 ("kconfigwidgets" ,kconfigwidgets)
2782 ("kcoreaddons" ,kcoreaddons)
2783 ("kiconthemes" ,kiconthemes)
2784 ("kitemviews" ,kitemviews)
2786 ("kjobwidgets" ,kjobwidgets)
2787 ("kservice" ,kservice)
2788 ("kwidgetsaddons" ,kwidgetsaddons)
2791 ("sonnet" ,sonnet)))
2794 (modify-phases %standard-phases
2795 (add-before 'check 'check-setup
2797 ;; make Qt render "offscreen", required for tests
2798 (setenv "QT_QPA_PLATFORM" "offscreen")
2800 (home-page "https://community.kde.org/Frameworks")
2801 (synopsis "Plugin framework for user interface components")
2802 (description "This library implements the framework for KDE parts, which are
2803 widgets with a user-interface defined in terms of actions.")
2804 (license license:lgpl2.1+)))
2806 (define-public kpeople
2813 "mirror://kde/stable/frameworks/"
2814 (version-major+minor version) "/"
2815 name "-" version ".tar.xz"))
2818 "050km3rpx58acx2341si46lxc2hywa59m8rwd849c2dnsxw3w1hm"))))
2819 (build-system cmake-build-system)
2821 `(("extra-cmake-modules" ,extra-cmake-modules)))
2823 `(("kconfig" ,kconfig)
2824 ("kcoreaddons" ,kcoreaddons)
2825 ("kitemviews" ,kitemviews)
2827 ("kservice" ,kservice)
2828 ("kwidgetsaddons" ,kwidgetsaddons)
2830 ("qtdeclarative" ,qtdeclarative)))
2832 `(#:tests? #f ; FIXME: 1/3 tests fail.
2834 (modify-phases %standard-phases
2835 (add-before 'check 'check-setup
2837 ;; make Qt render "offscreen", required for tests
2838 (setenv "QT_QPA_PLATFORM" "offscreen")
2840 (home-page "https://community.kde.org/Frameworks")
2841 (synopsis "Provides access to all contacts and aggregates them by person")
2842 (description "KPeople offers unified access to our contacts from different
2843 sources, grouping them by person while still exposing all the data. KPeople
2844 also provides facilities to integrate the data provided in user interfaces by
2845 providing QML and Qt Widgets components. The sources are plugin-based, allowing
2846 to easily extend the contacts collection.")
2847 (license license:lgpl2.1+)))
2849 (define-public krunner
2856 "mirror://kde/stable/frameworks/"
2857 (version-major+minor version) "/"
2858 name "-" version ".tar.xz"))
2861 "0xh9kss67l09am1ilsr9zyx1yhlmaq3g9x60hw0sx7h7wrl6zsw6"))))
2862 (build-system cmake-build-system)
2864 `(("plasma-framework" ,plasma-framework)))
2866 `(("extra-cmake-modules" ,extra-cmake-modules)))
2869 ("kbookmarks" ,kbookmarks)
2870 ("kcodecs" ,kcodecs)
2871 ("kcompletion" ,kcompletion)
2872 ("kconfig" ,kconfig)
2873 ("kconfigwidgets" ,kconfigwidgets)
2874 ("kcoreaddons" ,kcoreaddons)
2876 ("kitemviews" ,kitemviews)
2878 ("kjobwidgets" ,kjobwidgets)
2879 ("kpackage" ,kpackage)
2880 ("kservice" ,kservice)
2881 ("kwidgetsaddons" ,kwidgetsaddons)
2882 ("kwindowsystem" ,kwindowsystem)
2883 ("kxmlgui" ,kxmlgui)
2885 ("qtdeclarative" ,qtdeclarative)
2887 ("threadweaver" ,threadweaver)))
2890 (modify-phases %standard-phases
2891 (add-after 'unpack 'fix-paths-for-test
2892 ;; This test tries to access paths like /home, /usr/bin and /bin/ls
2893 ;; which don't exist in the build-container. Change to existing paths.
2895 (substitute* "autotests/runnercontexttest.cpp"
2896 (("/home\"") "/tmp\"") ;; single path-part
2897 (("//usr/bin\"") (string-append (getcwd) "\"")) ;; multiple path-parts
2899 (string-append (assoc-ref %build-inputs "coreutils") path)))))
2900 (add-before 'check 'check-setup
2902 (setenv "HOME" (getcwd))
2903 ;; make Qt render "offscreen", required for tests
2904 (setenv "QT_QPA_PLATFORM" "offscreen")
2905 ;; Blacklist a failing test-function. FIXME: Make it pass.
2906 (with-output-to-file "bin/BLACKLIST"
2908 (display "[testMatch]\n*\n")))
2910 (home-page "https://community.kde.org/Frameworks")
2911 (synopsis "Framework for Plasma runners")
2912 (description "The Plasma workspace provides an application called KRunner
2913 which, among other things, allows one to type into a text area which causes
2914 various actions and information that match the text appear as the text is being
2916 (license license:lgpl2.1+)))
2918 (define-public kservice
2925 "mirror://kde/stable/frameworks/"
2926 (version-major+minor version) "/"
2927 name "-" version ".tar.xz"))
2930 "0z8zfpd00ndvkm1klp8l4mrcksshhyg280zgmg3gffz5rgh3gwri"))))
2931 (build-system cmake-build-system)
2933 `(("kconfig" ,kconfig)
2934 ("kcoreaddons" ,kcoreaddons)))
2937 ("extra-cmake-modules" ,extra-cmake-modules)
2940 `(("kcrash" ,kcrash)
2941 ("kdbusaddons" ,kdbusaddons)
2942 ("kdoctools" ,kdoctools)
2944 ("qtbase" ,qtbase)))
2946 `(#:tests? #f ; FIXME: 6/10 tests fail.
2948 (modify-phases %standard-phases
2949 (add-before 'check 'check-setup
2951 (setenv "HOME" (getcwd))
2952 ;; make Qt render "offscreen", required for tests
2953 (setenv "QT_QPA_PLATFORM" "offscreen")
2955 (home-page "https://community.kde.org/Frameworks")
2956 (synopsis "Plugin framework for desktop services")
2957 (description "KService provides a plugin framework for handling desktop
2958 services. Services can be applications or libraries. They can be bound to MIME
2959 types or handled by application specific code.")
2961 (license (list license:gpl2+ license:gpl3+ license:lgpl2.1+))))
2963 (define-public ktexteditor
2965 (name "ktexteditor")
2970 "mirror://kde/stable/frameworks/"
2971 (version-major+minor version) "/"
2972 name "-" version ".tar.xz"))
2975 "020y3j6vm15sfpiwainr3qsx9i93j15mrvq523wmbmdj1z36yrh2"))))
2976 (build-system cmake-build-system)
2978 `(("kparts" ,kparts)))
2980 `(("extra-cmake-modules" ,extra-cmake-modules)
2981 ("pkg-config" ,pkg-config)))
2983 `(;; TODO: editor-config
2984 ("karchive" ,karchive)
2986 ("kbookmarks" ,kbookmarks)
2987 ("kcodecs" ,kcodecs)
2988 ("kcompletion" ,kcompletion)
2989 ("kconfig" ,kconfig)
2990 ("kconfigwidgets" ,kconfigwidgets)
2991 ("kcoreaddons" ,kcoreaddons)
2992 ("kguiaddons" ,kguiaddons)
2993 ("kiconthemes" ,kiconthemes)
2995 ("kitemviews" ,kitemviews)
2997 ("kjobwidgets" ,kjobwidgets)
2998 ("kservice" ,kservice)
2999 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
3000 ("ktextwidgets" ,ktextwidgets)
3001 ("kwidgetsaddons" ,kwidgetsaddons)
3002 ("kxmlgui" ,kxmlgui)
3003 ("libgit2" ,libgit2)
3006 ("qtdeclarative" ,qtdeclarative)
3007 ("qtscript" ,qtscript)
3008 ("qtxmlpatterns" ,qtxmlpatterns)
3010 ("sonnet" ,sonnet)))
3012 `(#:tests? #f ; FIXME: 2/54 tests fail: Cannot find fontdirectory qtbase/lib/font
3014 (modify-phases %standard-phases
3015 (add-after 'unpack 'setup
3016 (lambda* (#:key inputs #:allow-other-keys)
3017 (setenv "XDG_DATA_DIRS" ; FIXME build phase doesn't find parts.desktop
3018 (string-append (assoc-ref inputs "kparts") "/share"))
3020 (add-before 'check 'check-setup
3022 (setenv "HOME" (getcwd))
3023 ;; make Qt render "offscreen", required for tests
3024 (setenv "QT_QPA_PLATFORM" "offscreen")
3026 (add-after 'install 'add-symlinks
3027 ;; Some package(s) (e.g. plasma-sdk) refer to these service types
3028 ;; by the wrong name. I would prefer to patch those packages, but
3029 ;; I cannot find the files!
3030 (lambda* (#:key outputs #:allow-other-keys)
3031 (let ((kst5 (string-append (assoc-ref outputs "out")
3032 "/share/kservicetypes5/")))
3033 (symlink (string-append kst5 "ktexteditorplugin.desktop")
3034 (string-append kst5 "ktexteditor-plugin.desktop"))))))))
3035 (home-page "https://community.kde.org/Frameworks")
3036 (synopsis "Full text editor component")
3037 (description "KTextEditor provides a powerful text editor component that you
3038 can embed in your application, either as a KPart or using the KF5::TextEditor
3041 (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
3043 (define-public ktextwidgets
3045 (name "ktextwidgets")
3050 "mirror://kde/stable/frameworks/"
3051 (version-major+minor version) "/"
3052 name "-" version ".tar.xz"))
3055 "088azbv95ycwxmxxw4l63i2l14fmn8l473pb4djh2mvz1ypfqayk"))))
3056 (build-system cmake-build-system)
3059 ("sonnet" ,sonnet)))
3061 `(("extra-cmake-modules" ,extra-cmake-modules)))
3064 ("kcodecs" ,kcodecs)
3065 ("kcompletion" ,kcompletion)
3066 ("kconfig" ,kconfig)
3067 ("kconfigwidgets" ,kconfigwidgets)
3068 ("kcoreaddons" ,kcoreaddons)
3069 ("kiconthemes" ,kiconthemes)
3070 ("kservice" ,kservice)
3071 ("kwidgetsaddons" ,kwidgetsaddons)
3072 ("kwindowsystem" ,kwindowsystem)
3074 ("qtspeech" ,qtspeech)))
3077 (modify-phases %standard-phases
3078 (add-before 'check 'check-setup
3080 ;; make Qt render "offscreen", required for tests
3081 (setenv "QT_QPA_PLATFORM" "offscreen")
3083 (home-page "https://community.kde.org/Frameworks")
3084 (synopsis "Text editing widgets")
3085 (description "KTextWidgets provides widgets for displaying and editing text.
3086 It supports rich text as well as plain text.")
3088 (license (list license:lgpl2.0+ license:lgpl2.1+))))
3090 (define-public kwallet
3097 "mirror://kde/stable/frameworks/"
3098 (version-major+minor version) "/"
3099 name "-" version ".tar.xz"))
3102 "1kv3v7593srfn0wd7qp4rhvb30rxp7d2qmlwi0n4nc9s6v59pabn"))))
3103 (build-system cmake-build-system)
3105 `(("extra-cmake-modules" ,extra-cmake-modules)))
3109 ("kcodecs" ,kcodecs)
3110 ("kconfig" ,kconfig)
3111 ("kconfigwidgets" ,kconfigwidgets)
3112 ("kcoreaddons" ,kcoreaddons)
3113 ("kdbusaddons" ,kdbusaddons)
3114 ("kdoctools" ,kdoctools)
3115 ("kiconthemes" ,kiconthemes)
3117 ("knotifications" ,knotifications)
3118 ("kservice" ,kservice)
3119 ("kwidgetsaddons" ,kwidgetsaddons)
3120 ("kwindowsystem" ,kwindowsystem)
3121 ("libgcrypt" ,libgcrypt)
3124 ("qtbase" ,qtbase)))
3125 (home-page "https://community.kde.org/Frameworks")
3126 (synopsis "Safe desktop-wide storage for passwords")
3127 (description "This framework contains an interface to KWallet, a safe
3128 desktop-wide storage for passwords and the kwalletd daemon used to safely store
3129 the passwords on KDE work spaces.")
3130 (license license:lgpl2.1+)))
3132 (define-public kxmlgui
3139 "mirror://kde/stable/frameworks/"
3140 (version-major+minor version) "/"
3141 name "-" version ".tar.xz"))
3144 "0kfxjx8wrhkys5bydnv84nqxc2jqvv92zb2l6zpi0km5ggmia5y0"))))
3145 (build-system cmake-build-system)
3147 `(("kconfig" ,kconfig)
3148 ("kconfigwidgets" ,kconfigwidgets)))
3150 `(("extra-cmake-modules" ,extra-cmake-modules)))
3152 `(("attica" ,attica)
3154 ("kcodecs" ,kcodecs)
3155 ("kcoreaddons" ,kcoreaddons)
3156 ("kglobalaccel" ,kglobalaccel)
3157 ("kiconthemes" ,kiconthemes)
3158 ("kitemviews" ,kitemviews)
3160 ("ktextwidgets" ,ktextwidgets)
3161 ("kwidgetsaddons" ,kwidgetsaddons)
3162 ("kwindowsystem" ,kwindowsystem)
3164 ("sonnet" ,sonnet)))
3166 `(#:tests? #f ; FIXME: 1/5 tests fail.
3168 (modify-phases %standard-phases
3169 (add-before 'check 'check-setup
3171 (setenv "HOME" (getcwd))
3172 ;; make Qt render "offscreen", required for tests
3173 (setenv "QT_QPA_PLATFORM" "offscreen")
3175 (home-page "https://community.kde.org/Frameworks")
3176 (synopsis "Framework for managing menu and toolbar actions")
3177 (description "KXMLGUI provides a framework for managing menu and toolbar
3178 actions in an abstract way. The actions are configured through a XML description
3179 and hooks in the application code. The framework supports merging of multiple
3180 descriptions for integrating actions from plugins.")
3182 (license (list license:gpl2+ license:lgpl2.1+))))
3184 (define-public kxmlrpcclient
3186 (name "kxmlrpcclient")
3191 "mirror://kde/stable/frameworks/"
3192 (version-major+minor version) "/"
3193 name "-" version ".tar.xz"))
3196 "0ciip27ilsfk9s3gslpbi06v8i6ipdbmcig2jf43z3amsxpq0ncn"))))
3197 (build-system cmake-build-system)
3201 `(("extra-cmake-modules" ,extra-cmake-modules)))
3204 ("kbookmarks" ,kbookmarks)
3205 ("kcodecs" ,kcodecs)
3206 ("kcompletion" ,kcompletion)
3207 ("kconfig" ,kconfig)
3208 ("kconfigwidgets" ,kconfigwidgets)
3209 ("kcoreaddons" ,kcoreaddons)
3210 ("kitemviews" ,kitemviews)
3212 ("kjobwidgets" ,kjobwidgets)
3213 ("kservice" ,kservice)
3214 ("kwidgetsaddons" ,kwidgetsaddons)
3215 ("kxmlgui" ,kxmlgui)
3218 (home-page "https://community.kde.org/Frameworks")
3219 (synopsis "XML-RPC client")
3220 (description "This library contains simple XML-RPC Client support. It is a
3221 complete client and is easy to use. Only one interface is exposed,
3222 kxmlrpcclient/client.h and from that interface, you only need to use 3 methods:
3223 setUrl, setUserAgent and call.")
3225 (license (list license:bsd-2 license:lgpl2.1+))))
3227 (define-public plasma-framework
3229 (name "plasma-framework")
3234 "mirror://kde/stable/frameworks/"
3235 (version-major+minor version) "/"
3236 name "-" version ".tar.xz"))
3239 "079c8h0lmbkfr3srj5m8a40b50kyrxbgmy1n66329l8js9xrvaah"))))
3240 (build-system cmake-build-system)
3242 `(("kpackage" ,kpackage)
3243 ("kservice" ,kservice)))
3245 `(("extra-cmake-modules" ,extra-cmake-modules)
3246 ("pkg-config" ,pkg-config)))
3248 `(("kactivities" ,kactivities)
3249 ("karchive" ,karchive)
3251 ("kbookmarks" ,kbookmarks)
3252 ("kcodecs" ,kcodecs)
3253 ("kcompletion" ,kcompletion)
3254 ("kconfig" ,kconfig)
3255 ("kconfigwidgets" ,kconfigwidgets)
3256 ("kcoreaddons" ,kcoreaddons)
3257 ("kdbusaddons" ,kdbusaddons)
3258 ("kdeclarative" ,kdeclarative)
3259 ("kdoctools" ,kdoctools)
3260 ("kglobalaccel" ,kglobalaccel)
3261 ("kguiaddons" ,kguiaddons)
3262 ("kiconthemes" ,kiconthemes)
3263 ("kirigami" ,kirigami)
3264 ("kitemviews" ,kitemviews)
3267 ("kjobwidgets" ,kjobwidgets)
3268 ("knotificantions" ,knotifications)
3269 ("kwayland" ,kwayland)
3270 ("kwidgetsaddons" ,kwidgetsaddons)
3271 ("kwindowsystem" ,kwindowsystem)
3272 ("kxmlgui" ,kxmlgui)
3275 ("qtdeclarative" ,qtdeclarative)
3277 ("qtx11extras" ,qtx11extras)
3280 `(#:tests? #f ; FIXME: 9/15 tests fail.
3282 (modify-phases %standard-phases
3283 (add-before 'check 'check-setup
3285 (setenv "HOME" (getcwd))
3286 ;; make Qt render "offscreen", required for tests
3287 (setenv "QT_QPA_PLATFORM" "offscreen")
3289 (home-page "https://community.kde.org/Frameworks")
3290 (synopsis "Libraries, components and tools of Plasma workspaces")
3291 (description "The plasma framework provides QML components, libplasma and
3294 (license (list license:gpl2+ license:lgpl2.1+))))
3296 ;; This version of kdbusaddons does not use kinit as an input, and is used to
3297 ;; build kinit-bootstrap, as well as bootstrap versions of all kinit
3298 ;; dependencies which also rely on kdbusaddons.
3299 (define kdbusaddons-bootstrap
3301 (inherit kdbusaddons)
3303 (inherit (package-source kdbusaddons))
3305 (inputs (alist-delete "kinit" (package-inputs kdbusaddons)))
3307 (substitute-keyword-arguments (package-arguments kdbusaddons)
3309 `(modify-phases ,phases
3310 (delete 'patch-source)))))))
3312 (define kinit-bootstrap
3313 ((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit))
3318 ;; Tier 4 frameworks can be mostly ignored by application programmers; this
3319 ;; tier consists of plugins acting behind the scenes to provide additional
3320 ;; functionality or platform integration to existing frameworks (including
3323 (define-public kde-frameworkintegration
3325 (name "kde-frameworkintegration")
3330 "mirror://kde/stable/frameworks/"
3331 (version-major+minor version) "/"
3332 "frameworkintegration-" version ".tar.xz"))
3335 "17fyny3c5chv7bipr19ayfjmd1amp2nms4ba5r7mwjp97xkphry7"))))
3336 (build-system cmake-build-system)
3338 `(("extra-cmake-modules" ,extra-cmake-modules)
3339 ("pkg-config" ,pkg-config)))
3340 ;; TODO: Optional packages not yet in Guix: packagekitqt5, AppStreamQt
3342 `(("kconfig" ,kconfig)
3343 ("kconfigwidgets" ,kconfigwidgets)
3344 ("kcoreaddons" ,kcoreaddons)
3346 ("kiconthemes" ,kiconthemes)
3347 ("kitemviews" ,kitemviews)
3348 ("knewstuff" ,knewstuff)
3349 ("knotificantions" ,knotifications)
3350 ("kpackage" ,kpackage)
3351 ("kwidgetsaddons" ,kwidgetsaddons)
3353 ("qtx11extras" ,qtx11extras)))
3356 (modify-phases %standard-phases
3357 (add-before 'check 'check-setup
3359 (setenv "HOME" (getcwd))
3360 ;; Make Qt render "offscreen", required for tests
3361 (setenv "QT_QPA_PLATFORM" "offscreen")
3363 (home-page "https://community.kde.org/Frameworks")
3364 (synopsis "KDE Frameworks 5 workspace and cross-framework integration plugins")
3365 (description "Framework Integration is a set of plugins responsible for
3366 better integration of Qt applications when running on a KDE Plasma
3368 ;; This package is distributed under either LGPL2 or LGPL3, but some
3369 ;; files are explicitly LGPL2+.
3370 (license (list license:lgpl2.0 license:lgpl3 license:lgpl2.0+))
3371 (properties `((upstream-name . "frameworkintegration")))))
3376 ;; Porting Aids frameworks provide code and utilities to ease the transition
3377 ;; from kdelibs 4 to KDE Frameworks 5. Code should aim to port away from this
3378 ;; framework, new projects should avoid using these libraries.
3380 (define-public kdelibs4support
3382 (name "kdelibs4support")
3388 "mirror://kde/stable/frameworks/"
3389 (version-major+minor version) "/portingAids/"
3390 name "-" version ".tar.xz"))
3392 (base32 "0aiig8akn6bdxrqdl96xjjy2pxw8hhfrsalbkkzyhh06j794snfb"))))
3393 (build-system cmake-build-system)
3396 ("docbook-xml" ,docbook-xml-4.4) ; optional
3397 ("extra-cmake-modules" ,extra-cmake-modules)
3399 ("perl-uri" ,perl-uri)
3400 ("pkg-config" ,pkg-config)
3401 ("shared-mime-info" ,shared-mime-info)
3402 ("kjobwidgets" ,kjobwidgets) ;; required for running the tests
3404 ("tzdata" ,tzdata)))
3406 ;; These are required to be installed along with this package, see
3407 ;; lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake
3408 `(("karchive" ,karchive)
3410 ("kconfigwidgets" ,kconfigwidgets)
3411 ("kcoreaddons" ,kcoreaddons)
3413 ("kdbusaddons" ,kdbusaddons)
3414 ("kdesignerplugin" ,kdesignerplugin)
3415 ("kdoctools" ,kdoctools)
3416 ("kemoticons" ,kemoticons)
3417 ("kguiaddons" ,kguiaddons)
3418 ("kiconthemes" ,kiconthemes)
3420 ("kitemmodels" ,kitemmodels)
3421 ("knotifications" ,knotifications)
3423 ("ktextwidgets" ,ktextwidgets)
3424 ("kunitconversion" ,kunitconversion)
3425 ("kwindowsystem" ,kwindowsystem)
3426 ("qtbase" ,qtbase)))
3428 `(("kcompletion" ,kcompletion)
3429 ("kconfig" ,kconfig)
3431 ("kglobalaccel" ,kglobalaccel)
3434 ("kservice" ,kservice)
3435 ("kwidgetsaddons" ,kwidgetsaddons)
3436 ("kxmlgui" ,kxmlgui)
3438 ("networkmanager-qt" ,networkmanager-qt)
3439 ("openssl" ,openssl)
3441 ("qttools" ,qttools)
3442 ("qtx11extras" ,qtx11extras)))
3443 ;; FIXME: Use GuixSD ca-bundle.crt in etc/xdg/ksslcalist and
3444 ;; share/kf5/kssl/ca-bundle.crt
3447 (modify-phases %standard-phases
3448 (add-after 'unpack 'make-cmake-to-find-docbook
3450 (substitute* "cmake/FindDocBookXML4.cmake"
3451 (("^.*xml/docbook/schema/dtd.*$")
3452 "xml/dtd/docbook\n"))
3455 (add-after 'install 'check-post-install
3456 (lambda* (#:key inputs tests? #:allow-other-keys)
3457 (setenv "HOME" (getcwd))
3458 (setenv "TZDIR" ; KDateTimeTestsome needs TZDIR
3459 (string-append (assoc-ref inputs "tzdata")
3461 ;; Make Qt render "offscreen", required for tests
3462 (setenv "QT_QPA_PLATFORM" "offscreen")
3463 ;; enable debug output
3464 (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output
3465 (setenv "DBUS_FATAL_WARNINGS" "0")
3466 ;; Make kstandarddirstest pass (see https://bugs.kde.org/381098)
3467 (mkdir-p ".kde-unit-test/xdg/config")
3468 (with-output-to-file ".kde-unit-test/xdg/config/foorc"
3469 (lambda () #t)) ;; simply touch the file
3470 ;; Blacklist a test-function (failing at build.kde.org, too).
3471 (with-output-to-file "autotests/BLACKLIST"
3473 (display "[testSmb]\n*\n")))
3474 ;; kuniqueapptest hangs. FIXME: Make this test pass.
3475 (zero? (system* "dbus-launch" "ctest" "."
3476 "-E" "kstandarddirstest|kuniqueapptest")))))))
3477 (home-page "https://community.kde.org/Frameworks")
3478 (synopsis "KDE Frameworks 5 porting aid from KDELibs4")
3479 (description "This framework provides code and utilities to ease the
3480 transition from kdelibs 4 to KDE Frameworks 5. This includes CMake macros and
3481 C++ classes whose functionality has been replaced by code in CMake, Qt and
3484 Code should aim to port away from this framework eventually. The API
3485 documentation of the classes in this framework and the notes at
3486 http://community.kde.org/Frameworks/Porting_Notes should help with this.")
3487 ;; Most files are distributed under LGPL2+, but the package includes code
3488 ;; under a variety of licenses.
3489 (license (list license:lgpl2.1+ license:lgpl2.0 license:lgpl2.0+
3490 license:gpl2 license:gpl2+
3491 license:expat license:bsd-2 license:bsd-3
3492 license:public-domain))))
3494 (define-public khtml
3502 "mirror://kde/stable/frameworks/"
3503 (version-major+minor version) "/portingAids/"
3504 name "-" version ".tar.xz"))
3506 (base32 "1bfslndxvad0zgzr22w2mz1xwavix9bh5qrrv8dpshlh043bwr3l"))))
3507 (build-system cmake-build-system)
3509 `(("extra-cmake-modules" ,extra-cmake-modules)
3512 `(("giflib" ,giflib)
3514 ("karchive" ,karchive)
3515 ("kcodecs" ,kcodecs)
3516 ("kglobalaccel" ,kglobalaccel)
3518 ("kiconthemes" ,kiconthemes)
3521 ("knotifications" ,knotifications)
3523 ("ktextwidgets" ,ktextwidgets)
3524 ("kwallet" ,kwallet)
3525 ("kwidgetsaddons" ,kwidgetsaddons)
3526 ("kwindowsystem" ,kwindowsystem)
3527 ("kxmlgui" ,kxmlgui)
3528 ("libjpeg" ,libjpeg)
3530 ("openssl" ,openssl)
3533 ("qtx11extras" ,qtx11extras)
3534 ("sonnet" ,sonnet)))
3537 (modify-phases %standard-phases
3538 (add-before 'check 'check-setup
3540 ;; Make Qt render "offscreen", required for tests
3541 (setenv "QT_QPA_PLATFORM" "offscreen")
3543 (home-page "https://community.kde.org/Frameworks")
3544 (synopsis "KDE Frameworks 5 HTML widget and component")
3545 (description "KHTML is a web rendering engine, based on the KParts
3546 technology and using KJS for JavaScript support.")
3547 ;; Most files are distributed under LGPL2+, but the package includes code
3548 ;; under a variety of licenses.
3549 (license (list license:lgpl2.0+ license:lgpl2.1+
3550 license:gpl2 license:gpl3+
3551 license:expat license:bsd-2 license:bsd-3))))
3561 "mirror://kde/stable/frameworks/"
3562 (version-major+minor version) "/portingAids/"
3563 name "-" version ".tar.xz"))
3565 (base32 "1m26sb2qyrcgmpkw76k2yv5my2pkhld96vw6aaqm77q90faw734g"))))
3566 (build-system cmake-build-system)
3568 `(("extra-cmake-modules" ,extra-cmake-modules)
3569 ("kdoctools" ,kdoctools)
3571 ("pkg-config" ,pkg-config)))
3574 ("qtbase" ,qtbase)))
3575 (home-page "https://community.kde.org/Frameworks")
3576 (synopsis "KDE Frameworks 5 support for Javascript scripting in Qt
3578 (description "Add-on library to Qt which adds JavaScript scripting
3580 ;; Most files are distributed under LGPL2+, but the package also includes
3581 ;; code under a variety of licenses.
3582 (license (list license:lgpl2.1+
3583 license:bsd-2 license:bsd-3
3584 (license:non-copyleft "file://src/kjs/dtoa.cpp")))))
3586 (define-public kjsembed
3594 "mirror://kde/stable/frameworks/"
3595 (version-major+minor version) "/portingAids/"
3596 name "-" version ".tar.xz"))
3598 (base32 "10w4w4ncwr245bv1ii4sh154w91ghfz0l60k89j50lsydpcqcp3a"))))
3599 (build-system cmake-build-system)
3601 `(("extra-cmake-modules" ,extra-cmake-modules)
3602 ("kdoctools" ,kdoctools)
3603 ("qttools" ,qttools)))
3609 (home-page "https://community.kde.org/Frameworks")
3610 (synopsis "KDE Frameworks 5 embedded Javascript engine for Qt")
3611 (description "KJSEmbed provides a method of binding Javascript objects to
3612 QObjects, so you can script your applications.")
3613 (license license:lgpl2.1+)))
3615 (define-public kmediaplayer
3617 (name "kmediaplayer")
3623 "mirror://kde/stable/frameworks/"
3624 (version-major+minor version) "/portingAids/"
3625 name "-" version ".tar.xz"))
3627 (base32 "1k1pjc0cz36gs0pl2pxw8f9f82xkbqyy320nfyhan5waxbl1qd5n"))))
3628 (build-system cmake-build-system)
3630 `(("extra-cmake-modules" ,extra-cmake-modules)
3631 ("kdoctools" ,kdoctools)
3632 ("qttools" ,qttools)))
3634 `(("kcompletion" ,kcompletion)
3635 ("kcoreaddons" ,kcoreaddons)
3637 ("kiconthemes" ,kiconthemes)
3640 ("kwidgetsaddons" ,kwidgetsaddons)
3641 ("kxmlgui" ,kxmlgui)
3642 ("qtbase" ,qtbase)))
3645 (modify-phases %standard-phases
3646 (add-before 'check 'check-setup
3648 ;; Make Qt render "offscreen", required for tests
3649 (setenv "QT_QPA_PLATFORM" "offscreen")
3651 (home-page "https://community.kde.org/Frameworks")
3652 (synopsis "KDE Frameworks 5 plugin interface for media player features")
3653 (description "KMediaPlayer builds on the KParts framework to provide a
3654 common interface for KParts that can play media files.
3656 This framework is a porting aid. It is not recommended for new projects, and
3657 existing projects that use it are advised to port away from it, and use plain
3659 (license license:expat)))
3661 (define-public kross
3669 "mirror://kde/stable/frameworks/"
3670 (version-major+minor version) "/portingAids/"
3671 name "-" version ".tar.xz"))
3673 (base32 "1aqqwby6jslimpvx42d4n6gjsjc8l82gmsq5ajpv9zkkk91dqfqi"))))
3674 (build-system cmake-build-system)
3676 `(("extra-cmake-modules" ,extra-cmake-modules)
3677 ("kdoctools" ,kdoctools)
3678 ("qttools" ,qttools)))
3680 `(("kcompletion" ,kcompletion)
3681 ("kcoreaddons" ,kcoreaddons)
3683 ("kiconthemes" ,kiconthemes)
3685 ("kwidgetsaddons" ,kwidgetsaddons)
3686 ("kxmlgui" ,kxmlgui)
3688 ("qtscript" ,qtscript)))
3689 (home-page "https://community.kde.org/Frameworks")
3690 (synopsis "KDE Frameworks 5 solution for application scripting")
3691 (description "Kross is a scripting bridge for the KDE Development Platform
3692 used to embed scripting functionality into an application. It supports
3693 QtScript as a scripting interpreter backend.
3695 Kross provides an abstract API to provide scripting functionality in a
3696 interpreter-independent way. The application that uses Kross should not need
3697 to know anything about the scripting language being used. The core of Kross
3698 provides the framework to deal transparently with interpreter-backends and
3699 offers abstract functionality to deal with scripts.")
3700 ;; Most files are distributed under LGPL2+, but the package includes code
3701 ;; under a variety of licenses.
3702 (license (list license:lgpl2.0+ license:lgpl2.1+
3703 license:lgpl2.0 license:gpl3+))))