1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
3 ;;; Copyright © 2016 David Craven <david@craven.ch>
4 ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
5 ;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
6 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
7 ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
8 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
9 ;;; Copyright © 2018, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
10 ;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
11 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
12 ;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
13 ;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
14 ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
15 ;;; Copyright © 2021 Alexandros Theodotou <alex@zrythm.org>
16 ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
18 ;;; This file is part of GNU Guix.
20 ;;; GNU Guix is free software; you can redistribute it and/or modify it
21 ;;; under the terms of the GNU General Public License as published by
22 ;;; the Free Software Foundation; either version 3 of the License, or (at
23 ;;; your option) any later version.
25 ;;; GNU Guix is distributed in the hope that it will be useful, but
26 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
27 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 ;;; GNU General Public License for more details.
30 ;;; You should have received a copy of the GNU General Public License
31 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
33 (define-module (gnu packages kde)
34 #:use-module (guix build-system cmake)
35 #:use-module (guix build-system qt)
36 #:use-module (guix deprecation)
37 #:use-module (guix download)
38 #:use-module (guix git-download)
39 #:use-module ((guix licenses) #:prefix license:)
40 #:use-module (guix packages)
41 #:use-module (guix utils)
42 #:use-module (gnu packages)
43 #:use-module (gnu packages algebra)
44 #:use-module (gnu packages apr)
45 #:use-module (gnu packages audio)
46 #:use-module (gnu packages bison)
47 #:use-module (gnu packages boost)
48 #:use-module (gnu packages code)
49 #:use-module (gnu packages cpp)
50 #:use-module (gnu packages compression)
51 #:use-module (gnu packages curl)
52 #:use-module (gnu packages djvu)
53 #:use-module (gnu packages documentation)
54 #:use-module (gnu packages gnupg)
55 #:use-module (gnu packages ebook)
56 #:use-module (gnu packages flex)
57 #:use-module (gnu packages fontutils)
58 #:use-module (gnu packages gettext)
59 #:use-module (gnu packages ghostscript)
60 #:use-module (gnu packages gl)
61 #:use-module (gnu packages gnome)
62 #:use-module (gnu packages graphics)
63 #:use-module (gnu packages image)
64 #:use-module (gnu packages kde-frameworks)
65 #:use-module (gnu packages kde-pim)
66 #:use-module (gnu packages kde-plasma)
67 #:use-module (gnu packages linux)
68 #:use-module (gnu packages llvm)
69 #:use-module (gnu packages markup)
70 #:use-module (gnu packages maths)
71 #:use-module (gnu packages pdf)
72 #:use-module (gnu packages perl)
73 #:use-module (gnu packages photo)
74 #:use-module (gnu packages pkg-config)
75 #:use-module (gnu packages pulseaudio)
76 #:use-module (gnu packages python)
77 #:use-module (gnu packages tls)
78 #:use-module (gnu packages qt)
79 #:use-module (gnu packages version-control)
80 #:use-module (gnu packages video)
81 #:use-module (gnu packages xdisorg)
82 #:use-module (gnu packages xml)
83 #:use-module (gnu packages xorg))
85 (define-public baloo-widgets
87 (name "baloo-widgets")
92 (uri (string-append "mirror://kde/stable/release-service/" version
93 "/src/baloo-widgets-" version ".tar.xz"))
95 (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0"))))
96 (build-system qt-build-system)
98 `(("extra-cmake-modules" ,extra-cmake-modules)))
107 (modify-phases %standard-phases
108 (add-before 'check 'check-setup
110 (setenv "QT_QPA_PLATFORM" "offscreen")
112 (home-page "https://community.kde.org/Baloo")
113 (synopsis "Wigets for use with Baloo")
114 (description "Baloo is a framework for searching and managing metadata.
115 This package contains GUI widgets for baloo.")
116 (license license:lgpl2.0+)))
118 (define-public grantleetheme
120 (name "grantleetheme")
125 (uri (string-append "mirror://kde/stable/release-service/" version
126 "/src/grantleetheme-" version ".tar.xz"))
128 (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx"))
129 (patches (search-patches "grantlee-merge-theme-dirs.patch"))))
130 (build-system qt-build-system)
131 (arguments `(#:tests? #f)) ; unexpected error in the test suite.
133 `(("extra-cmake-modules" ,extra-cmake-modules)
134 ("libxml2" ,libxml2))) ;; xmllint required for tests
136 `(("grantlee" ,grantlee)
137 ("kguiaddons" ,kguiaddons)
139 ("kiconthemes" ,kiconthemes)
140 ("knewstuff" ,knewstuff)
142 (home-page "https://invent.kde.org/pim/grantleetheme")
143 (synopsis "Library providing Grantlee theme support")
144 (description "This library provides Grantlee theme support.")
145 (license ;; LGPL for libraries, FDL for documentation
146 (list license:lgpl2.1+ license:fdl1.2+))))
148 (define-public akregator
155 (uri (string-append "mirror://kde/stable/release-service/" version
156 "/src/akregator-" version ".tar.xz"))
158 (base32 "1711yhwsdq9iyc3wm3a4xmz81p73hvvc0h58sasc89ifpry50k2p"))))
159 (build-system qt-build-system)
162 (modify-phases %standard-phases
163 (add-after 'install 'wrap-qt-process-path
164 (lambda* (#:key inputs outputs #:allow-other-keys)
165 (let* ((out (assoc-ref outputs "out"))
166 (bin (string-append out "/bin/akregator"))
167 (qt-process-path (string-append
168 (assoc-ref inputs "qtwebengine")
169 "/lib/qt5/libexec/QtWebEngineProcess")))
171 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
174 `(("extra-cmake-modules" ,extra-cmake-modules)
175 ("kdoctools" ,kdoctools)))
177 `(("akonadi" ,akonadi)
178 ("akonadi-contacts" ,akonadi-contacts)
179 ("akonadi-mime" ,akonadi-mime)
181 ("breeze-icons" ,breeze-icons)
183 ("grantlee" ,grantlee)
184 ("grantleetheme" ,grantleetheme)
185 ("kcmutils" ,kcmutils)
186 ("kcontacts" ,kcontacts)
189 ("kitemmodels" ,kitemmodels)
190 ("kmessagelib" ,kmessagelib)
192 ("knotifications" ,knotifications)
193 ("knotifyconfig" ,knotifyconfig)
194 ("kontactinterface" ,kontactinterface)
195 ("kpimcommon" ,kpimcommon)
196 ("kpimtextedit" ,kpimtextedit)
197 ("kqtquickcharts" ,kqtquickcharts)
198 ("ktexteditor" ,ktexteditor)
199 ("kuserfeedback" ,kuserfeedback)
200 ("libkdepim" ,libkdepim)
204 ("qtdeclarative" ,qtdeclarative)
205 ("qtwebchannel" ,qtwebchannel)
206 ("qtwebengine" ,qtwebengine)
207 ("syndication" ,syndication)))
208 (home-page "https://apps.kde.org/en/akregator")
209 (synopsis "KDE Feed Reader")
211 "Akregator is a news feed reader. It enables you to follow news
212 sites, blogs and other RSS/Atom-enabled websites without the need to manually
213 check for updates using a web browser. Akregator is designed to be both easy to
214 use and to be powerful enough to read hundreds of news sources conveniently.
215 It comes with a fast search, advanced archiving functionality and an internal
216 browser for easy news reading.")
217 (license license:gpl2+)))
219 (define-public kdenlive
220 (let ((version "20.08.3"))
228 (url "https://invent.kde.org/multimedia/kdenlive")
229 (commit (string-append "v" version))))
230 (file-name (string-append name "-" version "-checkout"))
232 (base32 "0x0qfwf6wfnybjyjvmllpf87sm27d1n2akslhp2k8ins838qy55i"))))
233 (build-system cmake-build-system)
235 `(("extra-cmake-modules" ,extra-cmake-modules)
236 ("pkg-config" ,pkg-config)
237 ("qttools" ,qttools)))
239 `(("shared-mime-info" ,shared-mime-info)
240 ("frei0r-plugins" ,frei0r-plugins)
245 ("qtscript" ,qtscript)
247 ("qtmultimedia" ,qtmultimedia)
249 ("knotifications" ,knotifications)
250 ("karchive" ,karchive)
251 ("kdbusaddons" ,kdbusaddons)
253 ("kguiaddons" ,kguiaddons)
254 ("knewstuff" ,knewstuff)
255 ("knotifyconfig" ,knotifyconfig)
256 ("kfilemetadata" ,kfilemetadata)
257 ("kdoctools" ,kdoctools)
258 ("kdeclarative" ,kdeclarative)
259 ("qtdeclarative" ,qtdeclarative)
260 ("qtquickcontrols" ,qtquickcontrols)
261 ("qtquickcontrols2" ,qtquickcontrols2)
262 ("kiconthemes" ,kiconthemes)
263 ("breeze" ,breeze) ; make dark them available easily
264 ("breeze-icons" ,breeze-icons) ; recommended icon set
266 ("qtwebkit" ,qtwebkit)
267 ("qtgraphicaleffects" ,qtgraphicaleffects)
268 ("kplotting" ,kplotting)))
270 `(#:tests? #f ;TODO needs X
272 (modify-phases %standard-phases
273 (add-after 'install 'wrap-executable
274 (lambda* (#:key inputs outputs #:allow-other-keys)
275 (let* ((out (assoc-ref outputs "out"))
276 (qtbase (assoc-ref inputs "qtbase"))
277 (frei0r (assoc-ref inputs "frei0r-plugins"))
278 (ffmpeg (assoc-ref inputs "ffmpeg"))
279 (breeze (assoc-ref inputs "breeze"))
280 (breeze-icons (assoc-ref inputs "breeze-icons")))
281 (wrap-program (string-append out "/bin/kdenlive")
283 ,(list (string-append ffmpeg "/bin")))
284 `("XDG_DATA_DIRS" ":" prefix
285 ,(list (string-append breeze "/share")
286 (string-append breeze-icons "/share")))
287 `("QT_PLUGIN_PATH" ":" prefix
288 ,(list (getenv "QT_PLUGIN_PATH")))
289 `("FREI0R_PATH" ":" =
290 (,(string-append frei0r "/lib/frei0r-1/")))
291 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
292 (,(string-append qtbase "/lib/qt5/plugins/platforms")))
293 `("QML2_IMPORT_PATH" ":" prefix
294 ,(list (getenv "QML2_IMPORT_PATH")))
296 (,(assoc-ref inputs "mlt")))))
298 (home-page "https://kdenlive.org")
299 (synopsis "Non-linear video editor")
300 (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
302 Non-linear video editing is much more powerful than beginner's (linear)
303 editors, hence it requires a bit more organization before starting. However,
304 it is not reserved to specialists and can be used for small personal
306 (license license:gpl2+))))
308 (define-public kdevelop
315 (uri (string-append "mirror://kde/stable/kdevelop"
316 "/" version "/src/kdevelop-"
319 (base32 "02ip5r67hjfpywkm3mz86n6wbqcr7996ifzfd2fyzsvm4998hi4y"))))
320 (build-system qt-build-system)
322 `(("extra-cmake-modules" ,extra-cmake-modules)
323 ("pkg-config" ,pkg-config)
324 ("shared-mime-info" ,shared-mime-info)
325 ("qttools" ,qttools)))
329 ("grantlee" ,grantlee)
330 ("karchive" ,karchive)
331 ("kcmutils" ,kcmutils)
333 ("kdeclarative" ,kdeclarative)
334 ("kdoctools" ,kdoctools)
335 ("kguiaddons" ,kguiaddons)
337 ("kiconthemes" ,kiconthemes)
338 ("kio" ,kio) ;; not checked as requirement
339 ("kitemmodels" ,kitemmodels)
340 ("kitemviews" ,kitemviews)
341 ("kjobwidgets" ,kjobwidgets)
342 ("knotifications" ,knotifications)
343 ("knotifyconfig" ,knotifyconfig)
345 ("kservice" ,kservice)
346 ("ktexteditor" ,ktexteditor)
347 ("kwindowsystem" ,kwindowsystem)
349 ("libkomparediff2" ,libkomparediff2)
350 ("oxygen-icons" ,oxygen-icons)
352 ("qtdeclarative" ,qtdeclarative)
353 ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
354 ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
355 ("qtwebkit" ,qtwebkit)
356 ("threadweaver" ,threadweaver)
360 ("kdevelop-pg-qt" ,kdevelop-pg-qt)
361 ("libksysguard" ,libksysguard)
364 ("apr" ,apr) ; required for subversion support
365 ("apr-util" ,apr-util) ; required for subversion support
367 ("kconfigwidgets" ,kconfigwidgets)
368 ("knewstuff" ,knewstuff)
370 ;; TODO: OktetaGui, OktetaKastenControllers
371 ("plasma" ,plasma-framework)
374 ("subversion" ,subversion)))
376 ;; run-time packages - TODO
383 `(#:tests? #f ;; there are some issues with the test suite
385 (modify-phases %standard-phases
386 (add-before 'configure 'add-include-path
387 (lambda* (#:key inputs #:allow-other-keys)
388 (substitute* "cmake/modules/FindClang.cmake"
389 (("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line)
390 (string-append line " " (assoc-ref inputs "clang") "/lib")))
392 (home-page "https://kdevelop.org")
393 (synopsis "IDE for C, C++, Python, Javascript and PHP")
394 (description "The KDevelop IDE provides semantic syntax highlighting, as
395 well as code navigation and completion for C, C++ (using Clang/LLVM), QML,
396 JavaScript, Python and PHP. It also integrates with a debugger, different
397 build systems (CMake, QMake, custom Makefiles) and version control
398 software (Git, Subversion, Mercurial, CVS and Bazaar).")
399 (license license:lgpl2.1+)))
401 (define-public kdevelop-pg-qt
403 (name "kdevelop-pg-qt")
409 (url "https://github.com/KDE/kdevelop-pg-qt")
410 (commit (string-append "v" version))))
411 (file-name (git-file-name name version))
413 (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
415 `(("extra-cmake-modules" ,extra-cmake-modules)))
417 `(("qtbase" ,qtbase)))
418 (build-system cmake-build-system)
419 (home-page "https://kde.org")
420 (synopsis "Parser generator library for KDevplatform")
421 (description "KDevelop-PG-Qt is the parser generator used in KDevplatform
422 for some KDevelop language plugins (Ruby, PHP, CSS...).")
423 (license license:lgpl2.0+)))
425 ;; kdevplatform was merged into kdevelop as of 5.2.x
426 (define-deprecated kdevplatform kdevelop)
428 (define-public kdiagram
435 (uri (string-append "mirror://kde/stable/kdiagram/" version
436 "/kdiagram-" version ".tar.xz"))
438 (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3"))
439 (patches (search-patches
440 "kdiagram-Fix-missing-link-libraries.patch"))))
441 (build-system qt-build-system)
443 `(("extra-cmake-modules" ,extra-cmake-modules)
444 ("qttools" ,qttools)))
448 (home-page "https://invent.kde.org/graphics/kdiagram")
449 (synopsis "Libraries for creating business diagrams")
450 (description "This package provides libraries for integrating business
451 diagrams in Qt-based applications.
453 @code{KCharts} provides an implementation of the ODF Chart specification. It
454 supports stock charts, box charts, and whisker charts. @code{KGantt} provides
455 a module for implementing ODF Gantt charts, which are bar charts that
456 illustrate project schedules.")
457 (license license:gpl2+)))
466 "mirror://kde/stable/krita/" version
467 "/krita-" version ".tar.gz"))
470 "0rwghzci2wn2jmisvnzs23yxc2z3d4dcx2qbbhcvjyi3q8ij61nl"))))
471 (build-system cmake-build-system)
475 (list "-DBUILD_TESTING=OFF"
476 (string-append "-DCMAKE_CXX_FLAGS=-I"
477 (assoc-ref %build-inputs "openexr")
480 (modify-phases %standard-phases
481 ;; Ensure that icons are found at runtime.
482 ;; This works around <https://bugs.gnu.org/22138>.
483 (add-after 'install 'wrap-executable
484 (lambda* (#:key inputs outputs #:allow-other-keys)
485 (let ((out (assoc-ref outputs "out"))
486 (qt '("qtbase" "qtsvg")))
487 (wrap-program (string-append out "/bin/krita")
488 `("QT_PLUGIN_PATH" ":" prefix
489 ,(map (lambda (label)
490 (string-append (assoc-ref inputs label)
491 "/lib/qt5/plugins/"))
497 ("extra-cmake-modules" ,extra-cmake-modules)
498 ("gettext-minimal" ,gettext-minimal)
499 ("kitemmodels" ,kitemmodels)
500 ("pkg-config" ,pkg-config)
509 ("karchive" ,karchive)
510 ("kcompletion" ,kcompletion)
512 ("kcoreaddons" ,kcoreaddons)
514 ("kguiaddons" ,kguiaddons)
516 ("kiconthemes" ,kiconthemes)
518 ("kitemviews" ,kitemviews)
519 ("kwidgetsaddons" ,kwidgetsaddons)
520 ("kwindowsystem" ,kwindowsystem)
523 ("libjpeg-turbo" ,libjpeg-turbo)
525 ("libraw" ,libraw-0.18)
532 ("poppler-qt5" ,poppler-qt5)
534 ("qtdeclarative" ,qtdeclarative)
535 ("qtmultimedia" ,qtmultimedia)
537 ("qtx11extras" ,qtx11extras)
540 (home-page "https://krita.org")
541 (synopsis "Digital painting application")
543 "Krita is a professional painting tool designed for concept artists,
544 illustrators, matte and texture artists, and the VFX industry. Notable
545 features include brush stabilizers, brush engines and wrap-around mode.")
546 (license license:gpl2+)))
548 (define-public massif-visualizer
550 (name "massif-visualizer")
556 "mirror://kde/stable/massif-visualizer/" version
557 "/src/massif-visualizer-" version ".tar.xz"))
559 (base32 "0v8z6r9gngzckvqyxjm9kp7hilwfqibyk2f9vag9l98ar0iwr97q"))))
560 (build-system cmake-build-system)
562 `(("extra-cmake-modules" ,extra-cmake-modules)
563 ("pkg-config" ,pkg-config)
564 ("shared-mime-info" ,shared-mime-info)))
566 `(("karchive" ,karchive)
567 ("kcoreaddons" ,kcoreaddons)
569 ("kdiagram" ,kdiagram)
570 ("kgraphviewer" ,kgraphviewer)
575 ("qtxmlpatterns" ,qtxmlpatterns)))
576 (home-page "https://apps.kde.org/en/massif-visualizer")
577 (synopsis "Visualize massif data generated by Valgrind")
579 "Massif Visualizer is a tool that visualizes massif data.
580 You run your application in Valgrind with @code{--tool=massif} and then open
581 the generated @file{massif.out.%pid} in the visualizer. Gzip or Bzip2
582 compressed massif files can also be opened transparently.")
583 (license license:gpl2+)))
585 (define-public libkomparediff2
587 (name "libkomparediff2")
592 (uri (string-append "mirror://kde/stable/release-service/" version
593 "/src/libkomparediff2-" version ".tar.xz"))
595 (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc"))))
597 `(("extra-cmake-modules" ,extra-cmake-modules)
598 ("pkg-config" ,pkg-config)))
600 `(("kcodecs" ,kcodecs)
602 ("kcoreaddons" ,kcoreaddons)
607 (build-system cmake-build-system)
608 (home-page "https://kde.org")
609 (synopsis "Library to compare files and strings, used in Kompare and KDevelop")
610 (description "Libkomparediff2 is a library to work with diffs and patches,
611 used in KDE development tools Kompare and KDevelop.")
613 ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
615 (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
624 (uri (string-append "mirror://kde/stable/qca/" version
625 "/qca-" version ".tar.xz"))
627 (base32 "0vb0kwm4vpf71vczadg6h1ib09sgca0crll7ksbkmg646w1615s6"))))
628 (build-system cmake-build-system)
630 `(("pkg-config" ,pkg-config)))
632 `(("openssl" ,openssl)
634 (home-page "https://userbase.kde.org/QCA")
635 (synopsis "Libraries for the Qt Cryptographic Architecture")
636 (description "The Qt Cryptographic Architecture (QCA) provides a
637 straightforward and cross-platform API for a range of cryptographic features,
638 including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart
640 (license license:lgpl2.1+)))
642 (define-public kpmcore
649 "mirror://kde/stable/kpmcore"
651 name "-" version ".tar.xz"))
654 "0jsig7algmab9h0fb09my0axjqzw83zgscamhzl8931lribs6idm"))))
655 (build-system cmake-build-system)
657 `(("extra-cmake-modules" ,extra-cmake-modules)
658 ("pkg-config" ,pkg-config)))
661 ("kcoreaddons" ,kcoreaddons)
663 ("kwidgetsaddons" ,kwidgetsaddons)
666 ("util-linux" ,util-linux "lib")))
667 (home-page "https://community.kde.org/Frameworks")
668 (synopsis "Library for managing partitions")
669 (description "Library for managing partitions.")
670 (license license:gpl3+)))
672 (define-public snorenotify
679 (uri (string-append "mirror://kde/stable/snorenotify/"
680 version "/src/snorenotify-" version ".tar.xz"))
683 "0jz6ivk90h7iwgyxar7xzzj8yvzn6s1my6cqs9bdnwqswfk1nhbd"))))
684 (build-system cmake-build-system)
686 `(#:tests? #f)) ; both tests fail, require display
688 `(("qtbase" ,qtbase)))
690 `(("extra-cmake-modules" ,extra-cmake-modules)
691 ("qttools" ,qttools)))
692 (home-page "https://techbase.kde.org/Projects/Snorenotify")
693 (synopsis "Qt notification framework")
694 (description "Snorenotify is a multi platform Qt notification framework.
695 Using a plugin system it is possible to create notifications with many
696 different notification systems.")
697 (license license:lgpl3)))
699 (define-public kdeconnect
706 (uri (string-append "mirror://kde/stable/release-service/"
707 version "/src/kdeconnect-kde-"
711 "0yq3afbbcc9gmlcachvh3xz3gdj57092fpagp36l5knw8gr0d9ip"))))
712 (build-system qt-build-system)
714 `(#:configure-flags '("-DBUILD_TESTING=ON"
715 "-DKDE_INSTALL_LIBEXECDIR=libexec")
716 #:phases (modify-phases %standard-phases
717 (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
718 (lambda* (#:key inputs #:allow-other-keys)
719 ;; FIXME: <kcmutils_version.h> is not found during one
720 ;; of the compilation steps without this hack.
721 (setenv "CPLUS_INCLUDE_PATH"
722 (string-append (assoc-ref inputs "kcmutils")
724 (or (getenv "CPLUS_INCLUDE_PATH")
727 #:tests? #f)) ; tests fail hard in our build environment
729 `(("extra-cmake-modules" ,extra-cmake-modules)
730 ("kdoctools" ,kdoctools)
732 ("pkg-config" ,pkg-config)
733 ("python" ,python-wrapper)))
735 `(("kcmutils" ,kcmutils)
736 ("kconfigwidgets" ,kconfigwidgets)
737 ("kdbusaddons" ,kdbusaddons)
739 ("kiconthemes" ,kiconthemes)
741 ("kirigami" ,kirigami)
742 ("knotifications" ,knotifications)
744 ("kpeoplevcard" ,kpeoplevcard)
745 ("kwayland" ,kwayland)
746 ("libfakekey" ,libfakekey)
747 ("pulseaudio-qt" ,pulseaudio-qt)
750 ("qtdeclarative" ,qtdeclarative)
751 ("qtgraphicaleffects" ,qtgraphicaleffects)
752 ("qtmultimedia" ,qtmultimedia)
753 ("qtquickcontrols" ,qtquickcontrols)
754 ("qtquickcontrols2" ,qtquickcontrols2)
755 ("qtwayland" ,qtwayland)
756 ("qtx11extras" ,qtx11extras)))
757 (home-page "https://community.kde.org/KDEConnect")
758 (synopsis "Enable your devices to communicate with each other")
759 (description "KDE Connect is a project that enables all your devices to
760 communicate with each other. Here's a few things KDE Connect can do:
762 @item Receive your phone notifications on your desktop computer and reply to messages
763 @item Control music playing on your desktop from your phone
764 @item Use your phone as a remote control for your desktop
765 @item Run predefined commands on your PC from connected devices
766 @item Check your phones battery level from the desktop
767 @item Ring your phone to help finding it
768 @item Share files and links between devices
769 @item Browse your phone from the desktop
770 @item Control the desktop's volume from the phone
772 (properties `((upstream-name . "kdeconnect-kde")))
773 (license (list license:gpl2 license:gpl3)))) ; dual licensed
775 (define-public kqtquickcharts
777 (name "kqtquickcharts")
782 (uri (string-append "mirror://kde/stable/release-service/"
783 version "/src/kqtquickcharts-" version ".tar.xz"))
786 "1wxp35mf9zlpgzi4msdl86b2krdq2ipqw371gyx23r7j84vdyxi3"))))
787 (build-system cmake-build-system)
789 `(("extra-cmake-modules" ,extra-cmake-modules)))
792 ("qtdeclarative" ,qtdeclarative)))
793 (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
794 (synopsis "Interactive charts for Qt Quick")
796 "Kqtquickcharts is a QtQuick plugin to render beautiful and interactive
798 (license license:lgpl2.1+)))
806 (uri (string-append "mirror://kde/stable/release-service/"
807 version "/src/kdf-" version ".tar.xz"))
810 "0ba67hs4vlb3qyvdzhnpmf8p62df12s8aqw4hzf9vnxff3qix5k1"))))
811 (build-system qt-build-system)
813 `(("extra-cmake-modules" ,extra-cmake-modules)
814 ("kdoctools" ,kdoctools)))
816 `(("kcmutils" ,kcmutils)
817 ("kconfigwidgets" ,kconfigwidgets)
818 ("kcoreaddons" ,kcoreaddons)
820 ("kiconthemes" ,kiconthemes)
822 ("knotifications" ,knotifications)
823 ("kwidgetsaddons" ,kwidgetsaddons)
826 (home-page "https://kde.org/applications/system/kdk")
827 (synopsis "View Disk Usage")
828 (description "KDiskFree displays the available file devices (hard drive
829 partitions, floppy and CD drives, etc.) along with information on their
830 capacity, free space, type and mount point. It also allows you to mount and
831 unmount drives and view them in a file manager.")
832 (license license:gpl2+)))
834 (define-public kcachegrind
840 (uri (string-append "mirror://kde/stable/release-service/" version
841 "/src/kcachegrind-" version ".tar.xz"))
844 "0fx17s6fj1pxl1mgfrqhchk8sihkbji1x8y3nhb1r0971wzd1nsc"))))
845 (build-system cmake-build-system)
847 `(("extra-cmake-modules" ,extra-cmake-modules)
851 ("kdoctools" ,kdoctools)))
854 ("karchive" ,karchive)
857 ("kdbusaddons" ,kdbusaddons)))
858 ;; Note: The 'hotshot2calltree' and 'pprof2calltree' scripts depend on
859 ;; Python and PHP, respectively. These are optional and we ignore them
861 (home-page "https://kcachegrind.github.io/html/Home.html")
862 (synopsis "Visualize profiles produces by Valgrind's Cachegrind tool")
864 "The data files generated by the Callgrind of Valgrind, an application
865 profiler, can be loaded into KCachegrind for browsing the performance results.
866 There is also a command-line tool to get ASCII reports from data files without
867 the need to use KCachegrind.
869 The format of Callgrind output is documented. With conversion scripts,
870 KCachegrind is able to visualize output of other profilers like OProfile, a
871 system-wide profiler for Linux using statistical sampling with hardware
872 performance counters. There also exist converters for profiling output of
873 Python, PHP, and Perl.")
874 (license license:gpl2)))
876 (define-public libkdegames
883 (uri (string-append "mirror://kde/stable/release-service/" version
884 "/src/libkdegames-" version ".tar.xz"))
886 (base32 "1xsrrvhwjwi5aajcaxydmzc69i4yx6shs8ly8vr85njc188ycg13"))))
887 (build-system qt-build-system)
889 `(("extra-cmake-modules" ,extra-cmake-modules)))
891 `(("karchive" ,karchive)
892 ("kbookmarks" ,kbookmarks)
894 ("kcompletion" ,kcompletion)
895 ("kconfigwidgets" ,kconfigwidgets)
897 ("kdbusaddons" ,kdbusaddons)
898 ("kdeclarative" ,kdeclarative)
900 ("kglobalaccel" ,kglobalaccel)
901 ("kguiaddons" ,kguiaddons)
903 ("kiconthemes" ,kiconthemes)
905 ("kitemviews" ,kitemviews)
906 ("kjobwidgets" ,kjobwidgets)
907 ("knewstuff" ,knewstuff)
908 ("kservice" ,kservice)
909 ("ktextwidgets" ,ktextwidgets)
910 ("kwidgetsaddons" ,kwidgetsaddons)
912 ("libsndfile" ,libsndfile)
915 ("qtdeclarative" ,qtdeclarative)
917 (home-page "https://games.kde.org/")
918 (synopsis "Runtime library for kdegames")
919 (description "Runtime library for kdegames")
920 (license (list license:gpl2+ license:fdl1.2+))))
922 (define-public okular
929 (uri (string-append "mirror://kde/stable/release-service/" version
930 "/src/" name "-" version ".tar.xz"))
932 (base32 "0gpm7n47yijsjg4yba561j5pbvd98hgvr93w1kvzk851nb87m89c"))))
933 (build-system qt-build-system)
934 ;; The tests fail because they can't find the proper mimetype plugins:
935 ;; "org.kde.okular.core: No plugin for mimetype '"image/jpeg"'."
936 ;; The built program seems to work okay, so we skip the tests for now.
940 (list "-DBUILD_TESTING=OFF")))
942 `(("extra-cmake-modules" ,extra-cmake-modules)
943 ("kdoctools" ,kdoctools)
944 ("pkg-config" ,pkg-config)))
946 `(("ebook-tools" ,ebook-tools)
947 ("breeze-icons" ,breeze-icons)
948 ("discount" ,discount)
949 ("djvulibre" ,djvulibre)
950 ("kactivities" ,kactivities)
953 ("kdegraphics-mobipocket" ,kdegraphics-mobipocket)
954 ("karchive" ,karchive)
955 ("kbookmarks" ,kbookmarks)
956 ("kcompletion" ,kcompletion)
959 ("libjpeg-turbo" ,libjpeg-turbo)
961 ("kirigami" ,kirigami)
963 ("freetype" ,freetype)
964 ("kiconthemes" ,kiconthemes)
968 ("qtspeech" ,qtspeech)
970 ("kwindowsystem" ,kwindowsystem)
971 ("libkexiv2" ,libkexiv2)
972 ("libspectre" ,libspectre)
975 ("poppler-qt5" ,poppler-qt5)
977 ("qtdeclarative" ,qtdeclarative)
979 ("threadweaver" ,threadweaver)
982 (home-page "https://kde.org/applications/graphics/okular/")
983 (synopsis "Document viewer")
985 "Okular is a document viewer developed for KDE. It can display files in
986 a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
987 (license license:gpl2+)))
996 (string-append "mirror://kde/stable/release-service/" version
997 "/src/poxml-" version ".tar.xz"))
1000 "1smjvblx0jcv3afs2sr4qcmvhqd44iw24hvr9fppa3nxhrmjwmlk"))))
1001 (build-system cmake-build-system)
1003 `(("extra-cmake-modules" ,extra-cmake-modules)
1004 ("kdoctools" ,kdoctools)))
1006 `(("gettext" ,gettext-minimal)
1007 ("qtbase" ,qtbase)))
1008 (home-page "https://kde.org/applications/development")
1009 (synopsis "Tools for translating DocBook XML files with Gettext")
1010 (description "This is a collection of tools that facilitate translating
1011 DocBook XML files using Gettext message files (PO files). Also included are
1012 several command-line utilities for manipulating DocBook XML files, PO files and
1013 PO template files.")
1014 (license license:gpl2+)))
1016 (define-public kdegraphics-mobipocket
1018 (name "kdegraphics-mobipocket")
1023 (uri (string-append "mirror://kde/stable/release-service/" version
1024 "/src/" name "-" version ".tar.xz"))
1026 (base32 "0fm880lp9g60zgrkjyh4jxws6x0s77l9ia4f8pza3w8sxcbbswk5"))))
1027 (build-system cmake-build-system)
1029 `(("extra-cmake-modules" ,extra-cmake-modules)))
1032 ("qtbase" ,qtbase)))
1033 (home-page "https://apps.kde.org/en/kdegraphics_mobipocket")
1034 (synopsis "KDE thumbnailer for Mobipocket files")
1035 (description "This package provides a KDE plugin that shows thumbnails of
1036 Mobipocket e-books in Dolphin and other KDE apps.")
1037 (license license:gpl2+)))
1039 (define-public libkexiv2
1046 (uri (string-append "mirror://kde/stable/release-service/" version
1047 "/src/" name "-" version ".tar.xz"))
1049 (base32 "0k0iinf7s8qlk3fwvq7iic1b4zn2gm65rfd58q7d3wb1i1j2hjjk"))))
1050 (build-system cmake-build-system)
1052 `(("extra-cmake-modules" ,extra-cmake-modules)))
1055 ("qtbase" ,qtbase)))
1056 (home-page "https://invent.kde.org/graphics/libkexiv2")
1057 (synopsis "Manipulate the metadata of images")
1058 (description "Libkexiv2 wraps the Exiv2 library, allowing to manipulate
1059 picture metadata as EXIF/IPTC and XMP.")
1060 (license license:gpl2+)))
1062 (define-public zeroconf-ioslave
1064 (name "zeroconf-ioslave")
1069 (uri (string-append "mirror://kde/stable/release-service/" version
1070 "/src/zeroconf-ioslave-" version ".tar.xz"))
1072 (base32 "1qck5jyc4psslpibhki8sz8aj0hsnx8z791vzyn10lmdzn71vx8c"))))
1073 (build-system qt-build-system)
1075 `(("extra-cmake-modules" ,extra-cmake-modules)))
1077 `(("kdbusaddons" ,kdbusaddons)
1081 ("qtbase" ,qtbase)))
1082 (home-page "https://kde.org/applications/internet/org.kde.zeroconf_ioslave")
1083 (synopsis "DNS-SD Service Discovery Monitor")
1084 (description "Adds an entry to Dolphin's Network page to show local
1085 services such as printers which advertise themselves with DNSSD (called Avahi
1086 or Bonjour by other projects).")
1087 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1088 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1091 (define-public kuserfeedback
1092 ;; FIXME: Try to reduce data collection and ensure transmission i disabled by default.
1093 ;; FIXME: Check https://www.reddit.com/r/kde/comments/f7ojg9 for insights
1095 (name "kuserfeedback")
1100 (uri (string-append "mirror://kde/stable/kuserfeedback/"
1101 "/kuserfeedback-" version ".tar.xz"))
1103 (base32 "1dwx9fscnfp3zsxdir774skn8xvad2dvscnaaw3ji6mrnkmm6bss"))))
1104 (build-system qt-build-system)
1106 `(("extra-cmake-modules" ,extra-cmake-modules)
1107 ("qttools" ,qttools)
1108 ;; For optional component "Survey target expression parser"
1111 ;; For syntax checking and unit tests of PHP server code
1113 ;;("phpunit" ,phpunit)
1116 `(("qtbase" ,qtbase)
1117 ("qtcharts" ,qtcharts)
1118 ("qtdeclarative" ,qtdeclarative)
1121 `(#:tests? #f)) ;; 4/17 fail
1122 (home-page "https://api.kde.org/frameworks/kuserfeedback/html/")
1123 (synopsis "Framework for collecting feedback from application users via
1124 telemetry and targeted surveys")
1125 (description "This framework consists of the following components:
1127 @item Libraries for use in applications.
1128 @item QML bindings for the above.
1129 @item A server application.
1130 @item A management and analytics application.
1132 (license license:expat)))