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>
17 ;;; This file is part of GNU Guix.
19 ;;; GNU Guix is free software; you can redistribute it and/or modify it
20 ;;; under the terms of the GNU General Public License as published by
21 ;;; the Free Software Foundation; either version 3 of the License, or (at
22 ;;; your option) any later version.
24 ;;; GNU Guix is distributed in the hope that it will be useful, but
25 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
26 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 ;;; GNU General Public License for more details.
29 ;;; You should have received a copy of the GNU General Public License
30 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
32 (define-module (gnu packages kde)
33 #:use-module (guix build-system cmake)
34 #:use-module (guix build-system qt)
35 #:use-module (guix deprecation)
36 #:use-module (guix download)
37 #:use-module (guix git-download)
38 #:use-module ((guix licenses) #:prefix license:)
39 #:use-module (guix packages)
40 #:use-module (guix utils)
41 #:use-module (gnu packages)
42 #:use-module (gnu packages algebra)
43 #:use-module (gnu packages apr)
44 #:use-module (gnu packages audio)
45 #:use-module (gnu packages bison)
46 #:use-module (gnu packages boost)
47 #:use-module (gnu packages code)
48 #:use-module (gnu packages cpp)
49 #:use-module (gnu packages compression)
50 #:use-module (gnu packages curl)
51 #:use-module (gnu packages djvu)
52 #:use-module (gnu packages documentation)
53 #:use-module (gnu packages gnupg)
54 #:use-module (gnu packages ebook)
55 #:use-module (gnu packages flex)
56 #:use-module (gnu packages fontutils)
57 #:use-module (gnu packages gettext)
58 #:use-module (gnu packages ghostscript)
59 #:use-module (gnu packages gl)
60 #:use-module (gnu packages gnome)
61 #:use-module (gnu packages graphics)
62 #:use-module (gnu packages image)
63 #:use-module (gnu packages kde-frameworks)
64 #:use-module (gnu packages kde-pim)
65 #:use-module (gnu packages kde-plasma)
66 #:use-module (gnu packages linux)
67 #:use-module (gnu packages llvm)
68 #:use-module (gnu packages markup)
69 #:use-module (gnu packages maths)
70 #:use-module (gnu packages pdf)
71 #:use-module (gnu packages perl)
72 #:use-module (gnu packages photo)
73 #:use-module (gnu packages pkg-config)
74 #:use-module (gnu packages pulseaudio)
75 #:use-module (gnu packages python)
76 #:use-module (gnu packages tls)
77 #:use-module (gnu packages qt)
78 #:use-module (gnu packages version-control)
79 #:use-module (gnu packages video)
80 #:use-module (gnu packages xdisorg)
81 #:use-module (gnu packages xml)
82 #:use-module (gnu packages xorg))
84 (define-public baloo-widgets
86 (name "baloo-widgets")
91 (uri (string-append "mirror://kde/stable/release-service/" version
92 "/src/baloo-widgets-" version ".tar.xz"))
94 (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0"))))
95 (build-system qt-build-system)
97 `(("extra-cmake-modules" ,extra-cmake-modules)))
106 (modify-phases %standard-phases
107 (add-before 'check 'check-setup
109 (setenv "QT_QPA_PLATFORM" "offscreen")
111 (home-page "https://community.kde.org/Baloo")
112 (synopsis "Wigets for use with Baloo")
113 (description "Baloo is a framework for searching and managing metadata.
114 This package contains GUI widgets for baloo.")
115 (license license:lgpl2.0+)))
117 (define-public grantleetheme
119 (name "grantleetheme")
124 (uri (string-append "mirror://kde/stable/release-service/" version
125 "/src/grantleetheme-" version ".tar.xz"))
127 (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx"))
128 (patches (search-patches "grantlee-merge-theme-dirs.patch"))))
129 (build-system qt-build-system)
130 (arguments `(#:tests? #f)) ; unexpected error in the test suite.
132 `(("extra-cmake-modules" ,extra-cmake-modules)
133 ("libxml2" ,libxml2))) ;; xmllint required for tests
135 `(("grantlee" ,grantlee)
136 ("kguiaddons" ,kguiaddons)
138 ("kiconthemes" ,kiconthemes)
139 ("knewstuff" ,knewstuff)
141 (home-page "https://invent.kde.org/pim/grantleetheme")
142 (synopsis "Library providing Grantlee theme support")
143 (description "This library provides Grantlee theme support.")
144 (license ;; LGPL for libraries, FDL for documentation
145 (list license:lgpl2.1+ license:fdl1.2+))))
147 (define-public akregator
154 (uri (string-append "mirror://kde/stable/release-service/" version
155 "/src/akregator-" version ".tar.xz"))
157 (base32 "1711yhwsdq9iyc3wm3a4xmz81p73hvvc0h58sasc89ifpry50k2p"))))
158 (build-system qt-build-system)
161 (modify-phases %standard-phases
162 (add-after 'install 'wrap-qt-process-path
163 (lambda* (#:key inputs outputs #:allow-other-keys)
164 (let* ((out (assoc-ref outputs "out"))
165 (bin (string-append out "/bin/akregator"))
166 (qt-process-path (string-append
167 (assoc-ref inputs "qtwebengine")
168 "/lib/qt5/libexec/QtWebEngineProcess")))
170 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
173 `(("extra-cmake-modules" ,extra-cmake-modules)
174 ("kdoctools" ,kdoctools)))
176 `(("akonadi" ,akonadi)
177 ("akonadi-contacts" ,akonadi-contacts)
178 ("akonadi-mime" ,akonadi-mime)
180 ("breeze-icons" ,breeze-icons)
182 ("grantlee" ,grantlee)
183 ("grantleetheme" ,grantleetheme)
184 ("kcmutils" ,kcmutils)
185 ("kcontacts" ,kcontacts)
188 ("kitemmodels" ,kitemmodels)
189 ("kmessagelib" ,kmessagelib)
191 ("knotifications" ,knotifications)
192 ("knotifyconfig" ,knotifyconfig)
193 ("kontactinterface" ,kontactinterface)
194 ("kpimcommon" ,kpimcommon)
195 ("kpimtextedit" ,kpimtextedit)
196 ("kqtquickcharts" ,kqtquickcharts)
197 ("ktexteditor" ,ktexteditor)
198 ("kuserfeedback" ,kuserfeedback)
199 ("libkdepim" ,libkdepim)
203 ("qtdeclarative" ,qtdeclarative)
204 ("qtwebchannel" ,qtwebchannel)
205 ("qtwebengine" ,qtwebengine)
206 ("syndication" ,syndication)))
207 (home-page "https://apps.kde.org/en/akregator")
208 (synopsis "KDE Feed Reader")
210 "Akregator is a news feed reader. It enables you to follow news
211 sites, blogs and other RSS/Atom-enabled websites without the need to manually
212 check for updates using a web browser. Akregator is designed to be both easy to
213 use and to be powerful enough to read hundreds of news sources conveniently.
214 It comes with a fast search, advanced archiving functionality and an internal
215 browser for easy news reading.")
216 (license license:gpl2+)))
218 (define-public kdenlive
219 (let ((version "20.08.3"))
227 (url "https://invent.kde.org/multimedia/kdenlive")
228 (commit (string-append "v" version))))
229 (file-name (string-append name "-" version "-checkout"))
231 (base32 "0x0qfwf6wfnybjyjvmllpf87sm27d1n2akslhp2k8ins838qy55i"))))
232 (build-system cmake-build-system)
234 `(("extra-cmake-modules" ,extra-cmake-modules)
235 ("pkg-config" ,pkg-config)
236 ("qttools" ,qttools)))
238 `(("shared-mime-info" ,shared-mime-info)
239 ("frei0r-plugins" ,frei0r-plugins)
244 ("qtscript" ,qtscript)
246 ("qtmultimedia" ,qtmultimedia)
248 ("knotifications" ,knotifications)
249 ("karchive" ,karchive)
250 ("kdbusaddons" ,kdbusaddons)
252 ("kguiaddons" ,kguiaddons)
253 ("knewstuff" ,knewstuff)
254 ("knotifyconfig" ,knotifyconfig)
255 ("kfilemetadata" ,kfilemetadata)
256 ("kdoctools" ,kdoctools)
257 ("kdeclarative" ,kdeclarative)
258 ("qtdeclarative" ,qtdeclarative)
259 ("qtquickcontrols" ,qtquickcontrols)
260 ("qtquickcontrols2" ,qtquickcontrols2)
261 ("kiconthemes" ,kiconthemes)
262 ("breeze" ,breeze) ; make dark them available easily
263 ("breeze-icons" ,breeze-icons) ; recommended icon set
265 ("qtwebkit" ,qtwebkit)
266 ("qtgraphicaleffects" ,qtgraphicaleffects)
267 ("kplotting" ,kplotting)))
269 `(#:tests? #f ;TODO needs X
271 (modify-phases %standard-phases
272 (add-after 'install 'wrap-executable
273 (lambda* (#:key inputs outputs #:allow-other-keys)
274 (let* ((out (assoc-ref outputs "out"))
275 (qtbase (assoc-ref inputs "qtbase"))
276 (frei0r (assoc-ref inputs "frei0r-plugins"))
277 (ffmpeg (assoc-ref inputs "ffmpeg"))
278 (breeze (assoc-ref inputs "breeze"))
279 (breeze-icons (assoc-ref inputs "breeze-icons")))
280 (wrap-program (string-append out "/bin/kdenlive")
282 ,(list (string-append ffmpeg "/bin")))
283 `("XDG_DATA_DIRS" ":" prefix
284 ,(list (string-append breeze "/share")
285 (string-append breeze-icons "/share")))
286 `("QT_PLUGIN_PATH" ":" prefix
287 ,(list (getenv "QT_PLUGIN_PATH")))
288 `("FREI0R_PATH" ":" =
289 (,(string-append frei0r "/lib/frei0r-1/")))
290 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
291 (,(string-append qtbase "/lib/qt5/plugins/platforms")))
292 `("QML2_IMPORT_PATH" ":" prefix
293 ,(list (getenv "QML2_IMPORT_PATH")))
295 (,(assoc-ref inputs "mlt")))))
297 (home-page "https://kdenlive.org")
298 (synopsis "Non-linear video editor")
299 (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
301 Non-linear video editing is much more powerful than beginner's (linear)
302 editors, hence it requires a bit more organization before starting. However,
303 it is not reserved to specialists and can be used for small personal
305 (license license:gpl2+))))
307 (define-public kdevelop
314 (uri (string-append "mirror://kde/stable/kdevelop"
315 "/" version "/src/kdevelop-"
318 (base32 "02ip5r67hjfpywkm3mz86n6wbqcr7996ifzfd2fyzsvm4998hi4y"))))
319 (build-system qt-build-system)
321 `(("extra-cmake-modules" ,extra-cmake-modules)
322 ("pkg-config" ,pkg-config)
323 ("shared-mime-info" ,shared-mime-info)
324 ("qttools" ,qttools)))
328 ("grantlee" ,grantlee)
329 ("karchive" ,karchive)
330 ("kcmutils" ,kcmutils)
332 ("kdeclarative" ,kdeclarative)
333 ("kdoctools" ,kdoctools)
334 ("kguiaddons" ,kguiaddons)
336 ("kiconthemes" ,kiconthemes)
337 ("kio" ,kio) ;; not checked as requirement
338 ("kitemmodels" ,kitemmodels)
339 ("kitemviews" ,kitemviews)
340 ("kjobwidgets" ,kjobwidgets)
341 ("knotifications" ,knotifications)
342 ("knotifyconfig" ,knotifyconfig)
344 ("kservice" ,kservice)
345 ("ktexteditor" ,ktexteditor)
346 ("kwindowsystem" ,kwindowsystem)
348 ("libkomparediff2" ,libkomparediff2)
349 ("oxygen-icons" ,oxygen-icons)
351 ("qtdeclarative" ,qtdeclarative)
352 ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
353 ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
354 ("qtwebkit" ,qtwebkit)
355 ("threadweaver" ,threadweaver)
359 ("kdevelop-pg-qt" ,kdevelop-pg-qt)
360 ("libksysguard" ,libksysguard)
363 ("apr" ,apr) ; required for subversion support
364 ("apr-util" ,apr-util) ; required for subversion support
366 ("kconfigwidgets" ,kconfigwidgets)
367 ("knewstuff" ,knewstuff)
369 ;; TODO: OktetaGui, OktetaKastenControllers
370 ("plasma" ,plasma-framework)
373 ("subversion" ,subversion)))
375 ;; run-time packages - TODO
382 `(#:tests? #f ;; there are some issues with the test suite
384 (modify-phases %standard-phases
385 (add-before 'configure 'add-include-path
386 (lambda* (#:key inputs #:allow-other-keys)
387 (substitute* "cmake/modules/FindClang.cmake"
388 (("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line)
389 (string-append line " " (assoc-ref inputs "clang") "/lib")))
391 (home-page "https://kdevelop.org")
392 (synopsis "IDE for C, C++, Python, Javascript and PHP")
393 (description "The KDevelop IDE provides semantic syntax highlighting, as
394 well as code navigation and completion for C, C++ (using Clang/LLVM), QML,
395 JavaScript, Python and PHP. It also integrates with a debugger, different
396 build systems (CMake, QMake, custom Makefiles) and version control
397 software (Git, Subversion, Mercurial, CVS and Bazaar).")
398 (license license:lgpl2.1+)))
400 (define-public kdevelop-pg-qt
402 (name "kdevelop-pg-qt")
408 (url "https://github.com/KDE/kdevelop-pg-qt")
409 (commit (string-append "v" version))))
410 (file-name (git-file-name name version))
412 (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
414 `(("extra-cmake-modules" ,extra-cmake-modules)))
416 `(("qtbase" ,qtbase)))
417 (build-system cmake-build-system)
418 (home-page "https://kde.org")
419 (synopsis "Parser generator library for KDevplatform")
420 (description "KDevelop-PG-Qt is the parser generator used in KDevplatform
421 for some KDevelop language plugins (Ruby, PHP, CSS...).")
422 (license license:lgpl2.0+)))
424 ;; kdevplatform was merged into kdevelop as of 5.2.x
425 (define-deprecated kdevplatform kdevelop)
427 (define-public kdiagram
434 (uri (string-append "mirror://kde/stable/kdiagram/" version
435 "/kdiagram-" version ".tar.xz"))
437 (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3"))
438 (patches (search-patches
439 "kdiagram-Fix-missing-link-libraries.patch"))))
440 (build-system qt-build-system)
442 `(("extra-cmake-modules" ,extra-cmake-modules)
443 ("qttools" ,qttools)))
447 (home-page "https://invent.kde.org/graphics/kdiagram")
448 (synopsis "Libraries for creating business diagrams")
449 (description "This package provides libraries for integrating business
450 diagrams in Qt-based applications.
452 @code{KCharts} provides an implementation of the ODF Chart specification. It
453 supports stock charts, box charts, and whisker charts. @code{KGantt} provides
454 a module for implementing ODF Gantt charts, which are bar charts that
455 illustrate project schedules.")
456 (license license:gpl2+)))
465 "mirror://kde/stable/krita/" version
466 "/krita-" version ".tar.gz"))
469 "14lprcv7xw6r19bmylcz4c1p1jfazmza2b4m48f3x7vmdv2sx5ln"))))
470 (build-system cmake-build-system)
474 (list "-DBUILD_TESTING=OFF"
475 (string-append "-DCMAKE_CXX_FLAGS=-I"
476 (assoc-ref %build-inputs "openexr")
479 (modify-phases %standard-phases
480 ;; Ensure that icons are found at runtime.
481 ;; This works around <https://bugs.gnu.org/22138>.
482 (add-after 'install 'wrap-executable
483 (lambda* (#:key inputs outputs #:allow-other-keys)
484 (let ((out (assoc-ref outputs "out"))
485 (qt '("qtbase" "qtsvg")))
486 (wrap-program (string-append out "/bin/krita")
487 `("QT_PLUGIN_PATH" ":" prefix
488 ,(map (lambda (label)
489 (string-append (assoc-ref inputs label)
490 "/lib/qt5/plugins/"))
496 ("extra-cmake-modules" ,extra-cmake-modules)
497 ("gettext-minimal" ,gettext-minimal)
498 ("kitemmodels" ,kitemmodels)
499 ("pkg-config" ,pkg-config)
508 ("karchive" ,karchive)
509 ("kcompletion" ,kcompletion)
511 ("kcoreaddons" ,kcoreaddons)
513 ("kguiaddons" ,kguiaddons)
515 ("kiconthemes" ,kiconthemes)
517 ("kitemviews" ,kitemviews)
518 ("kwidgetsaddons" ,kwidgetsaddons)
519 ("kwindowsystem" ,kwindowsystem)
522 ("libjpeg-turbo" ,libjpeg-turbo)
524 ("libraw" ,libraw-0.18)
531 ("poppler-qt5" ,poppler-qt5)
533 ("qtdeclarative" ,qtdeclarative)
534 ("qtmultimedia" ,qtmultimedia)
536 ("qtx11extras" ,qtx11extras)
539 (home-page "https://krita.org")
540 (synopsis "Digital painting application")
542 "Krita is a professional painting tool designed for concept artists,
543 illustrators, matte and texture artists, and the VFX industry. Notable
544 features include brush stabilizers, brush engines and wrap-around mode.")
545 (license license:gpl2+)))
547 (define-public massif-visualizer
549 (name "massif-visualizer")
555 "mirror://kde/stable/massif-visualizer/" version
556 "/src/massif-visualizer-" version ".tar.xz"))
558 (base32 "0v8z6r9gngzckvqyxjm9kp7hilwfqibyk2f9vag9l98ar0iwr97q"))))
559 (build-system cmake-build-system)
561 `(("extra-cmake-modules" ,extra-cmake-modules)
562 ("pkg-config" ,pkg-config)
563 ("shared-mime-info" ,shared-mime-info)))
565 `(("karchive" ,karchive)
566 ("kcoreaddons" ,kcoreaddons)
568 ("kdiagram" ,kdiagram)
569 ("kgraphviewer" ,kgraphviewer)
574 ("qtxmlpatterns" ,qtxmlpatterns)))
575 (home-page "https://apps.kde.org/en/massif-visualizer")
576 (synopsis "Visualize massif data generated by Valgrind")
578 "Massif Visualizer is a tool that visualizes massif data.
579 You run your application in Valgrind with @code{--tool=massif} and then open
580 the generated @file{massif.out.%pid} in the visualizer. Gzip or Bzip2
581 compressed massif files can also be opened transparently.")
582 (license license:gpl2+)))
584 (define-public libkomparediff2
586 (name "libkomparediff2")
591 (uri (string-append "mirror://kde/stable/release-service/" version
592 "/src/libkomparediff2-" version ".tar.xz"))
594 (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc"))))
596 `(("extra-cmake-modules" ,extra-cmake-modules)
597 ("pkg-config" ,pkg-config)))
599 `(("kcodecs" ,kcodecs)
601 ("kcoreaddons" ,kcoreaddons)
606 (build-system cmake-build-system)
607 (home-page "https://kde.org")
608 (synopsis "Library to compare files and strings, used in Kompare and KDevelop")
609 (description "Libkomparediff2 is a library to work with diffs and patches,
610 used in KDE development tools Kompare and KDevelop.")
612 ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
614 (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
623 (uri (string-append "mirror://kde/stable/qca/" version
624 "/qca-" version ".tar.xz"))
627 "0jsfjwz84fc5jnl16aiwrcd6pgs5lzizm2896wildz5yk8852f61"))))
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)))