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>
17 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
19 ;;; This file is part of GNU Guix.
21 ;;; GNU Guix is free software; you can redistribute it and/or modify it
22 ;;; under the terms of the GNU General Public License as published by
23 ;;; the Free Software Foundation; either version 3 of the License, or (at
24 ;;; your option) any later version.
26 ;;; GNU Guix is distributed in the hope that it will be useful, but
27 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
28 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 ;;; GNU General Public License for more details.
31 ;;; You should have received a copy of the GNU General Public License
32 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
34 (define-module (gnu packages kde)
35 #:use-module (guix build-system cmake)
36 #:use-module (guix build-system qt)
37 #:use-module (guix deprecation)
38 #:use-module (guix download)
39 #:use-module (guix git-download)
40 #:use-module ((guix licenses) #:prefix license:)
41 #:use-module (guix packages)
42 #:use-module (guix utils)
43 #:use-module (gnu packages)
44 #:use-module (gnu packages algebra)
45 #:use-module (gnu packages apr)
46 #:use-module (gnu packages astronomy)
47 #:use-module (gnu packages audio)
48 #:use-module (gnu packages bison)
49 #:use-module (gnu packages boost)
50 #:use-module (gnu packages code)
51 #:use-module (gnu packages cpp)
52 #:use-module (gnu packages compression)
53 #:use-module (gnu packages curl)
54 #:use-module (gnu packages djvu)
55 #:use-module (gnu packages documentation)
56 #:use-module (gnu packages gnupg)
57 #:use-module (gnu packages ebook)
58 #:use-module (gnu packages flex)
59 #:use-module (gnu packages fontutils)
60 #:use-module (gnu packages gettext)
61 #:use-module (gnu packages ghostscript)
62 #:use-module (gnu packages gl)
63 #:use-module (gnu packages gnome)
64 #:use-module (gnu packages graphics)
65 #:use-module (gnu packages image)
66 #:use-module (gnu packages kde-frameworks)
67 #:use-module (gnu packages kde-pim)
68 #:use-module (gnu packages kde-plasma)
69 #:use-module (gnu packages linux)
70 #:use-module (gnu packages llvm)
71 #:use-module (gnu packages markup)
72 #:use-module (gnu packages maths)
73 #:use-module (gnu packages pdf)
74 #:use-module (gnu packages perl)
75 #:use-module (gnu packages photo)
76 #:use-module (gnu packages pkg-config)
77 #:use-module (gnu packages pulseaudio)
78 #:use-module (gnu packages python)
79 #:use-module (gnu packages tls)
80 #:use-module (gnu packages qt)
81 #:use-module (gnu packages version-control)
82 #:use-module (gnu packages video)
83 #:use-module (gnu packages xdisorg)
84 #:use-module (gnu packages xml)
85 #:use-module (gnu packages xorg))
87 (define-public baloo-widgets
89 (name "baloo-widgets")
94 (uri (string-append "mirror://kde/stable/release-service/" version
95 "/src/baloo-widgets-" version ".tar.xz"))
97 (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0"))))
98 (build-system qt-build-system)
100 `(("extra-cmake-modules" ,extra-cmake-modules)))
106 ("qtbase" ,qtbase-5)))
109 (modify-phases %standard-phases
110 (add-before 'check 'check-setup
112 (setenv "QT_QPA_PLATFORM" "offscreen")
114 (home-page "https://community.kde.org/Baloo")
115 (synopsis "Wigets for use with Baloo")
116 (description "Baloo is a framework for searching and managing metadata.
117 This package contains GUI widgets for baloo.")
118 (license license:lgpl2.0+)))
120 (define-public grantleetheme
122 (name "grantleetheme")
127 (uri (string-append "mirror://kde/stable/release-service/" version
128 "/src/grantleetheme-" version ".tar.xz"))
130 (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx"))
131 (patches (search-patches "grantlee-merge-theme-dirs.patch"))))
132 (build-system qt-build-system)
133 (arguments `(#:tests? #f)) ; unexpected error in the test suite.
135 `(("extra-cmake-modules" ,extra-cmake-modules)
136 ("libxml2" ,libxml2))) ;; xmllint required for tests
138 `(("grantlee" ,grantlee)
139 ("kguiaddons" ,kguiaddons)
141 ("kiconthemes" ,kiconthemes)
142 ("knewstuff" ,knewstuff)
143 ("qtbase" ,qtbase-5)))
144 (home-page "https://invent.kde.org/pim/grantleetheme")
145 (synopsis "Library providing Grantlee theme support")
146 (description "This library provides Grantlee theme support.")
147 (license ;; LGPL for libraries, FDL for documentation
148 (list license:lgpl2.1+ license:fdl1.2+))))
150 (define-public akregator
157 (uri (string-append "mirror://kde/stable/release-service/" version
158 "/src/akregator-" version ".tar.xz"))
160 (base32 "1711yhwsdq9iyc3wm3a4xmz81p73hvvc0h58sasc89ifpry50k2p"))))
161 (build-system qt-build-system)
164 (modify-phases %standard-phases
165 (add-after 'install 'wrap-qt-process-path
166 (lambda* (#:key inputs outputs #:allow-other-keys)
167 (let* ((out (assoc-ref outputs "out"))
168 (bin (string-append out "/bin/akregator"))
169 (qt-process-path (string-append
170 (assoc-ref inputs "qtwebengine")
171 "/lib/qt5/libexec/QtWebEngineProcess")))
173 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
176 `(("extra-cmake-modules" ,extra-cmake-modules)
177 ("kdoctools" ,kdoctools)))
179 `(("akonadi" ,akonadi)
180 ("akonadi-contacts" ,akonadi-contacts)
181 ("akonadi-mime" ,akonadi-mime)
183 ("breeze-icons" ,breeze-icons)
185 ("grantlee" ,grantlee)
186 ("grantleetheme" ,grantleetheme)
187 ("kcmutils" ,kcmutils)
188 ("kcontacts" ,kcontacts)
191 ("kitemmodels" ,kitemmodels)
192 ("kmessagelib" ,kmessagelib)
194 ("knotifications" ,knotifications)
195 ("knotifyconfig" ,knotifyconfig)
196 ("kontactinterface" ,kontactinterface)
197 ("kpimcommon" ,kpimcommon)
198 ("kpimtextedit" ,kpimtextedit)
199 ("kqtquickcharts" ,kqtquickcharts)
200 ("ktexteditor" ,ktexteditor)
201 ("kuserfeedback" ,kuserfeedback)
202 ("libkdepim" ,libkdepim)
206 ("qtdeclarative" ,qtdeclarative)
207 ("qtwebchannel" ,qtwebchannel)
208 ("qtwebengine" ,qtwebengine)
209 ("syndication" ,syndication)))
210 (home-page "https://apps.kde.org/en/akregator")
211 (synopsis "KDE Feed Reader")
213 "Akregator is a news feed reader. It enables you to follow news
214 sites, blogs and other RSS/Atom-enabled websites without the need to manually
215 check for updates using a web browser. Akregator is designed to be both easy to
216 use and to be powerful enough to read hundreds of news sources conveniently.
217 It comes with a fast search, advanced archiving functionality and an internal
218 browser for easy news reading.")
219 (license license:gpl2+)))
221 (define-public kdenlive
222 (let ((version "20.08.3"))
230 (url "https://invent.kde.org/multimedia/kdenlive")
231 (commit (string-append "v" version))))
232 (file-name (string-append name "-" version "-checkout"))
234 (base32 "0x0qfwf6wfnybjyjvmllpf87sm27d1n2akslhp2k8ins838qy55i"))))
235 (build-system cmake-build-system)
237 `(("extra-cmake-modules" ,extra-cmake-modules)
238 ("pkg-config" ,pkg-config)
239 ("qttools" ,qttools)))
241 `(("shared-mime-info" ,shared-mime-info)
242 ("frei0r-plugins" ,frei0r-plugins)
247 ("qtscript" ,qtscript)
249 ("qtmultimedia" ,qtmultimedia)
251 ("knotifications" ,knotifications)
252 ("karchive" ,karchive)
253 ("kdbusaddons" ,kdbusaddons)
255 ("kguiaddons" ,kguiaddons)
256 ("knewstuff" ,knewstuff)
257 ("knotifyconfig" ,knotifyconfig)
258 ("kfilemetadata" ,kfilemetadata)
259 ("kdoctools" ,kdoctools)
260 ("kdeclarative" ,kdeclarative)
261 ("qtdeclarative" ,qtdeclarative)
262 ("qtquickcontrols" ,qtquickcontrols)
263 ("qtquickcontrols2" ,qtquickcontrols2)
264 ("kiconthemes" ,kiconthemes)
265 ("breeze" ,breeze) ; make dark them available easily
266 ("breeze-icons" ,breeze-icons) ; recommended icon set
268 ("qtwebkit" ,qtwebkit)
269 ("qtgraphicaleffects" ,qtgraphicaleffects)
270 ("kplotting" ,kplotting)))
272 `(#:tests? #f ;TODO needs X
274 (modify-phases %standard-phases
275 (add-after 'install 'wrap-executable
276 (lambda* (#:key inputs outputs #:allow-other-keys)
277 (let* ((out (assoc-ref outputs "out"))
278 (qtbase (assoc-ref inputs "qtbase"))
279 (frei0r (assoc-ref inputs "frei0r-plugins"))
280 (ffmpeg (assoc-ref inputs "ffmpeg"))
281 (breeze (assoc-ref inputs "breeze"))
282 (breeze-icons (assoc-ref inputs "breeze-icons")))
283 (wrap-program (string-append out "/bin/kdenlive")
285 ,(list (string-append ffmpeg "/bin")))
286 `("XDG_DATA_DIRS" ":" prefix
287 ,(list (string-append breeze "/share")
288 (string-append breeze-icons "/share")))
289 `("QT_PLUGIN_PATH" ":" prefix
290 ,(list (getenv "QT_PLUGIN_PATH")))
291 `("FREI0R_PATH" ":" =
292 (,(string-append frei0r "/lib/frei0r-1/")))
293 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
294 (,(string-append qtbase "/lib/qt5/plugins/platforms")))
295 `("QML2_IMPORT_PATH" ":" prefix
296 ,(list (getenv "QML2_IMPORT_PATH")))
298 (,(assoc-ref inputs "mlt")))))
300 (home-page "https://kdenlive.org")
301 (synopsis "Non-linear video editor")
302 (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
304 Non-linear video editing is much more powerful than beginner's (linear)
305 editors, hence it requires a bit more organization before starting. However,
306 it is not reserved to specialists and can be used for small personal
308 (license license:gpl2+))))
310 (define-public kdevelop
317 (uri (string-append "mirror://kde/stable/kdevelop"
318 "/" version "/src/kdevelop-"
321 (base32 "02ip5r67hjfpywkm3mz86n6wbqcr7996ifzfd2fyzsvm4998hi4y"))))
322 (build-system qt-build-system)
324 `(("extra-cmake-modules" ,extra-cmake-modules)
325 ("pkg-config" ,pkg-config)
326 ("shared-mime-info" ,shared-mime-info)
327 ("qttools" ,qttools)))
331 ("grantlee" ,grantlee)
332 ("karchive" ,karchive)
333 ("kcmutils" ,kcmutils)
335 ("kdeclarative" ,kdeclarative)
336 ("kdoctools" ,kdoctools)
337 ("kguiaddons" ,kguiaddons)
339 ("kiconthemes" ,kiconthemes)
340 ("kio" ,kio) ;; not checked as requirement
341 ("kitemmodels" ,kitemmodels)
342 ("kitemviews" ,kitemviews)
343 ("kjobwidgets" ,kjobwidgets)
344 ("knotifications" ,knotifications)
345 ("knotifyconfig" ,knotifyconfig)
347 ("kservice" ,kservice)
348 ("ktexteditor" ,ktexteditor)
349 ("kwindowsystem" ,kwindowsystem)
351 ("libkomparediff2" ,libkomparediff2)
352 ("oxygen-icons" ,oxygen-icons)
354 ("qtdeclarative" ,qtdeclarative)
355 ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
356 ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
357 ("qtwebkit" ,qtwebkit)
358 ("threadweaver" ,threadweaver)
362 ("kdevelop-pg-qt" ,kdevelop-pg-qt)
363 ("libksysguard" ,libksysguard)
366 ("apr" ,apr) ; required for subversion support
367 ("apr-util" ,apr-util) ; required for subversion support
369 ("kconfigwidgets" ,kconfigwidgets)
370 ("knewstuff" ,knewstuff)
372 ;; TODO: OktetaGui, OktetaKastenControllers
373 ("plasma" ,plasma-framework)
376 ("subversion" ,subversion)))
378 ;; run-time packages - TODO
385 `(#:tests? #f ;; there are some issues with the test suite
387 (modify-phases %standard-phases
388 (add-before 'configure 'add-include-path
389 (lambda* (#:key inputs #:allow-other-keys)
390 (substitute* "cmake/modules/FindClang.cmake"
391 (("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line)
392 (string-append line " " (assoc-ref inputs "clang") "/lib")))
394 (home-page "https://kdevelop.org")
395 (synopsis "IDE for C, C++, Python, Javascript and PHP")
396 (description "The KDevelop IDE provides semantic syntax highlighting, as
397 well as code navigation and completion for C, C++ (using Clang/LLVM), QML,
398 JavaScript, Python and PHP. It also integrates with a debugger, different
399 build systems (CMake, QMake, custom Makefiles) and version control
400 software (Git, Subversion, Mercurial, CVS and Bazaar).")
401 (license license:lgpl2.1+)))
403 (define-public kdevelop-pg-qt
405 (name "kdevelop-pg-qt")
411 (url "https://github.com/KDE/kdevelop-pg-qt")
412 (commit (string-append "v" version))))
413 (file-name (git-file-name name version))
415 (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
417 `(("extra-cmake-modules" ,extra-cmake-modules)))
419 `(("qtbase" ,qtbase-5)))
420 (build-system cmake-build-system)
421 (home-page "https://kde.org")
422 (synopsis "Parser generator library for KDevplatform")
423 (description "KDevelop-PG-Qt is the parser generator used in KDevplatform
424 for some KDevelop language plugins (Ruby, PHP, CSS...).")
425 (license license:lgpl2.0+)))
427 ;; kdevplatform was merged into kdevelop as of 5.2.x
428 (define-deprecated kdevplatform kdevelop)
430 (define-public kdiagram
437 (uri (string-append "mirror://kde/stable/kdiagram/" version
438 "/kdiagram-" version ".tar.xz"))
440 (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3"))
441 (patches (search-patches
442 "kdiagram-Fix-missing-link-libraries.patch"))))
443 (build-system qt-build-system)
445 `(("extra-cmake-modules" ,extra-cmake-modules)
446 ("qttools" ,qttools)))
448 `(("qtbase" ,qtbase-5)
450 (home-page "https://invent.kde.org/graphics/kdiagram")
451 (synopsis "Libraries for creating business diagrams")
452 (description "This package provides libraries for integrating business
453 diagrams in Qt-based applications.
455 @code{KCharts} provides an implementation of the ODF Chart specification. It
456 supports stock charts, box charts, and whisker charts. @code{KGantt} provides
457 a module for implementing ODF Gantt charts, which are bar charts that
458 illustrate project schedules.")
459 (license license:gpl2+)))
468 "mirror://kde/stable/krita/" version
469 "/krita-" version ".tar.gz"))
472 "0s3mzgkxb316y1wncrr8l3w5nnqszhvdh8qi1nh6040dhy075zab"))))
473 (build-system cmake-build-system)
477 (list "-DBUILD_TESTING=OFF"
478 (string-append "-DCMAKE_CXX_FLAGS=-I"
479 (assoc-ref %build-inputs "openexr")
482 (modify-phases %standard-phases
483 ;; Ensure that icons are found at runtime.
484 ;; This works around <https://bugs.gnu.org/22138>.
485 (add-after 'install 'wrap-executable
486 (lambda* (#:key inputs outputs #:allow-other-keys)
487 (let ((out (assoc-ref outputs "out"))
488 (qt '("qtbase" "qtsvg")))
489 (wrap-program (string-append out "/bin/krita")
490 `("QT_PLUGIN_PATH" ":" prefix
491 ,(map (lambda (label)
492 (string-append (assoc-ref inputs label)
493 "/lib/qt5/plugins/"))
499 ("extra-cmake-modules" ,extra-cmake-modules)
500 ("gettext-minimal" ,gettext-minimal)
501 ("kitemmodels" ,kitemmodels)
502 ("pkg-config" ,pkg-config)
511 ("karchive" ,karchive)
512 ("kcompletion" ,kcompletion)
514 ("kcoreaddons" ,kcoreaddons)
516 ("kguiaddons" ,kguiaddons)
518 ("kiconthemes" ,kiconthemes)
520 ("kitemviews" ,kitemviews)
521 ("kwidgetsaddons" ,kwidgetsaddons)
522 ("kwindowsystem" ,kwindowsystem)
525 ("libjpeg-turbo" ,libjpeg-turbo)
527 ("libraw" ,libraw-0.18)
534 ("poppler-qt5" ,poppler-qt5)
536 ("qtdeclarative" ,qtdeclarative)
537 ("qtmultimedia" ,qtmultimedia)
539 ("qtx11extras" ,qtx11extras)
542 (home-page "https://krita.org")
543 (synopsis "Digital painting application")
545 "Krita is a professional painting tool designed for concept artists,
546 illustrators, matte and texture artists, and the VFX industry. Notable
547 features include brush stabilizers, brush engines and wrap-around mode.")
548 (license license:gpl2+)))
550 (define-public massif-visualizer
552 (name "massif-visualizer")
558 "mirror://kde/stable/massif-visualizer/" version
559 "/src/massif-visualizer-" version ".tar.xz"))
561 (base32 "0v8z6r9gngzckvqyxjm9kp7hilwfqibyk2f9vag9l98ar0iwr97q"))))
562 (build-system cmake-build-system)
564 `(("extra-cmake-modules" ,extra-cmake-modules)
565 ("pkg-config" ,pkg-config)
566 ("shared-mime-info" ,shared-mime-info)))
568 `(("karchive" ,karchive)
569 ("kcoreaddons" ,kcoreaddons)
571 ("kdiagram" ,kdiagram)
572 ("kgraphviewer" ,kgraphviewer)
577 ("qtxmlpatterns" ,qtxmlpatterns)))
578 (home-page "https://apps.kde.org/en/massif-visualizer")
579 (synopsis "Visualize massif data generated by Valgrind")
581 "Massif Visualizer is a tool that visualizes massif data.
582 You run your application in Valgrind with @code{--tool=massif} and then open
583 the generated @file{massif.out.%pid} in the visualizer. Gzip or Bzip2
584 compressed massif files can also be opened transparently.")
585 (license license:gpl2+)))
587 (define-public libkomparediff2
589 (name "libkomparediff2")
594 (uri (string-append "mirror://kde/stable/release-service/" version
595 "/src/libkomparediff2-" version ".tar.xz"))
597 (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc"))))
599 `(("extra-cmake-modules" ,extra-cmake-modules)
600 ("pkg-config" ,pkg-config)))
602 `(("kcodecs" ,kcodecs)
604 ("kcoreaddons" ,kcoreaddons)
608 ("qtbase" ,qtbase-5)))
609 (build-system cmake-build-system)
610 (home-page "https://kde.org")
611 (synopsis "Library to compare files and strings, used in Kompare and KDevelop")
612 (description "Libkomparediff2 is a library to work with diffs and patches,
613 used in KDE development tools Kompare and KDevelop.")
615 ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
617 (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
626 (uri (string-append "mirror://kde/stable/qca/" version
627 "/qca-" version ".tar.xz"))
629 (base32 "0rvvf97la95lah67jcj0p06n4br0pc2mri0q1hn4x522hndqybjn"))))
630 (build-system cmake-build-system)
632 `(("pkg-config" ,pkg-config)))
634 `(("openssl" ,openssl)
635 ("qtbase" ,qtbase-5)))
636 (home-page "https://userbase.kde.org/QCA")
637 (synopsis "Libraries for the Qt Cryptographic Architecture")
638 (description "The Qt Cryptographic Architecture (QCA) provides a
639 straightforward and cross-platform API for a range of cryptographic features,
640 including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart
642 (license license:lgpl2.1+)))
644 (define-public kpmcore
651 "mirror://kde/stable/kpmcore"
653 name "-" version ".tar.xz"))
656 "0jsig7algmab9h0fb09my0axjqzw83zgscamhzl8931lribs6idm"))))
657 (build-system cmake-build-system)
659 `(("extra-cmake-modules" ,extra-cmake-modules)
660 ("pkg-config" ,pkg-config)))
663 ("kcoreaddons" ,kcoreaddons)
665 ("kwidgetsaddons" ,kwidgetsaddons)
668 ("util-linux" ,util-linux "lib")))
669 (home-page "https://community.kde.org/Frameworks")
670 (synopsis "Library for managing partitions")
671 (description "Library for managing partitions.")
672 (license license:gpl3+)))
674 (define-public snorenotify
681 (uri (string-append "mirror://kde/stable/snorenotify/"
682 version "/src/snorenotify-" version ".tar.xz"))
685 "0jz6ivk90h7iwgyxar7xzzj8yvzn6s1my6cqs9bdnwqswfk1nhbd"))))
686 (build-system cmake-build-system)
688 `(#:tests? #f)) ; both tests fail, require display
690 `(("qtbase" ,qtbase-5)))
692 `(("extra-cmake-modules" ,extra-cmake-modules)
693 ("qttools" ,qttools)))
694 (home-page "https://techbase.kde.org/Projects/Snorenotify")
695 (synopsis "Qt notification framework")
696 (description "Snorenotify is a multi platform Qt notification framework.
697 Using a plugin system it is possible to create notifications with many
698 different notification systems.")
699 (license license:lgpl3)))
701 (define-public kdeconnect
708 (uri (string-append "mirror://kde/stable/release-service/"
709 version "/src/kdeconnect-kde-"
713 "0yq3afbbcc9gmlcachvh3xz3gdj57092fpagp36l5knw8gr0d9ip"))))
714 (build-system qt-build-system)
716 `(#:configure-flags '("-DBUILD_TESTING=ON"
717 "-DKDE_INSTALL_LIBEXECDIR=libexec")
718 #:phases (modify-phases %standard-phases
719 (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
720 (lambda* (#:key inputs #:allow-other-keys)
721 ;; FIXME: <kcmutils_version.h> is not found during one
722 ;; of the compilation steps without this hack.
723 (setenv "CPLUS_INCLUDE_PATH"
724 (string-append (assoc-ref inputs "kcmutils")
726 (or (getenv "CPLUS_INCLUDE_PATH")
729 #:tests? #f)) ; tests fail hard in our build environment
731 `(("extra-cmake-modules" ,extra-cmake-modules)
732 ("kdoctools" ,kdoctools)
734 ("pkg-config" ,pkg-config)
735 ("python" ,python-wrapper)))
737 `(("kcmutils" ,kcmutils)
738 ("kconfigwidgets" ,kconfigwidgets)
739 ("kdbusaddons" ,kdbusaddons)
741 ("kiconthemes" ,kiconthemes)
743 ("kirigami" ,kirigami)
744 ("knotifications" ,knotifications)
746 ("kpeoplevcard" ,kpeoplevcard)
747 ("kwayland" ,kwayland)
748 ("libfakekey" ,libfakekey)
749 ("pulseaudio-qt" ,pulseaudio-qt)
752 ("qtdeclarative" ,qtdeclarative)
753 ("qtgraphicaleffects" ,qtgraphicaleffects)
754 ("qtmultimedia" ,qtmultimedia)
755 ("qtquickcontrols" ,qtquickcontrols)
756 ("qtquickcontrols2" ,qtquickcontrols2)
757 ("qtwayland" ,qtwayland)
758 ("qtx11extras" ,qtx11extras)))
759 (home-page "https://community.kde.org/KDEConnect")
760 (synopsis "Enable your devices to communicate with each other")
761 (description "KDE Connect is a project that enables all your devices to
762 communicate with each other. Here's a few things KDE Connect can do:
764 @item Receive your phone notifications on your desktop computer and reply to messages
765 @item Control music playing on your desktop from your phone
766 @item Use your phone as a remote control for your desktop
767 @item Run predefined commands on your PC from connected devices
768 @item Check your phones battery level from the desktop
769 @item Ring your phone to help finding it
770 @item Share files and links between devices
771 @item Browse your phone from the desktop
772 @item Control the desktop's volume from the phone
774 (properties `((upstream-name . "kdeconnect-kde")))
775 (license (list license:gpl2 license:gpl3)))) ; dual licensed
777 (define-public labplot
784 (uri (string-append "mirror://kde/stable/labplot"
785 "/" version "/labplot-"
788 (base32 "1yhxnchwb4n83sxrbn4im41g2sqr0xsim2y242mvyd8pjzd83icf"))))
789 (build-system qt-build-system)
792 (list "-DENABLE_CANTOR=OFF" ;not packaged
793 "-DENABLE_MQTT=OFF" ;not packaged (qtmqtt)
794 ;; FIXME: readstat (optional dependency) is available in the
795 ;; statistics module, but that module can't be used here.
796 "-DENABLE_READSTAT=OFF"
797 ;; This is a bundled library that is not packaged.
798 "-DENABLE_LIBORIGIN=ON")
800 (modify-phases %standard-phases
802 (lambda* (#:key tests? #:allow-other-keys)
804 ;; This test fails, I don't know why.
805 (invoke "ctest" "-E" "parsertest"))
809 ("extra-cmake-modules" ,extra-cmake-modules)
810 ("pkg-config" ,pkg-config)
811 ("python" ,python-wrapper)
812 ("qttools" ,qttools)))
814 `(("breeze" ,breeze) ;for dark themes
815 ("breeze-icons" ,breeze-icons) ;for icons
817 ("karchive" ,karchive)
818 ("kcompletion" ,kcompletion)
820 ("kconfigwidgets" ,kconfigwidgets)
821 ("kcoreaddons" ,kcoreaddons)
823 ("kdoctools" ,kdoctools)
825 ("kiconthemes" ,kiconthemes)
827 ("knewstuff" ,knewstuff)
829 ("kservice" ,kservice)
830 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
831 ("ktextwidgets" ,ktextwidgets)
832 ("kuserfeedback" ,kuserfeedback)
833 ("kwidgetsaddons" ,kwidgetsaddons)
837 ("shared-mime-info" ,shared-mime-info)
845 ("qtserialport" ,qtserialport)
847 (home-page "https://labplot.kde.org/")
848 (synopsis "Interactive graphing and analysis of scientific data")
849 (description "LabPlot is a tool for interactive graphing and analysis of
850 scientific data. It provides an easy way to create, manage and edit plots and
851 to perform data analysis.")
852 (license (list license:gpl2+ ;labplot
853 license:gpl3+)))) ;liborigin
855 (define-public kqtquickcharts
857 (name "kqtquickcharts")
862 (uri (string-append "mirror://kde/stable/release-service/"
863 version "/src/kqtquickcharts-" version ".tar.xz"))
866 "1wxp35mf9zlpgzi4msdl86b2krdq2ipqw371gyx23r7j84vdyxi3"))))
867 (build-system cmake-build-system)
869 `(("extra-cmake-modules" ,extra-cmake-modules)))
871 `(("qtbase" ,qtbase-5)
872 ("qtdeclarative" ,qtdeclarative)))
873 (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
874 (synopsis "Interactive charts for Qt Quick")
876 "Kqtquickcharts is a QtQuick plugin to render beautiful and interactive
878 (license license:lgpl2.1+)))
886 (uri (string-append "mirror://kde/stable/release-service/"
887 version "/src/kdf-" version ".tar.xz"))
890 "0ba67hs4vlb3qyvdzhnpmf8p62df12s8aqw4hzf9vnxff3qix5k1"))))
891 (build-system qt-build-system)
893 `(("extra-cmake-modules" ,extra-cmake-modules)
894 ("kdoctools" ,kdoctools)))
896 `(("kcmutils" ,kcmutils)
897 ("kconfigwidgets" ,kconfigwidgets)
898 ("kcoreaddons" ,kcoreaddons)
900 ("kiconthemes" ,kiconthemes)
902 ("knotifications" ,knotifications)
903 ("kwidgetsaddons" ,kwidgetsaddons)
905 ("qtbase" ,qtbase-5)))
906 (home-page "https://kde.org/applications/system/kdk")
907 (synopsis "View Disk Usage")
908 (description "KDiskFree displays the available file devices (hard drive
909 partitions, floppy and CD drives, etc.) along with information on their
910 capacity, free space, type and mount point. It also allows you to mount and
911 unmount drives and view them in a file manager.")
912 (license license:gpl2+)))
914 (define-public kcachegrind
920 (uri (string-append "mirror://kde/stable/release-service/" version
921 "/src/kcachegrind-" version ".tar.xz"))
924 "0fx17s6fj1pxl1mgfrqhchk8sihkbji1x8y3nhb1r0971wzd1nsc"))))
925 (build-system cmake-build-system)
927 `(("extra-cmake-modules" ,extra-cmake-modules)
931 ("kdoctools" ,kdoctools)))
933 `(("qtbase" ,qtbase-5)
934 ("karchive" ,karchive)
937 ("kdbusaddons" ,kdbusaddons)))
938 ;; Note: The 'hotshot2calltree' and 'pprof2calltree' scripts depend on
939 ;; Python and PHP, respectively. These are optional and we ignore them
941 (home-page "https://kcachegrind.github.io/html/Home.html")
942 (synopsis "Visualize profiles produces by Valgrind's Cachegrind tool")
944 "The data files generated by the Callgrind of Valgrind, an application
945 profiler, can be loaded into KCachegrind for browsing the performance results.
946 There is also a command-line tool to get ASCII reports from data files without
947 the need to use KCachegrind.
949 The format of Callgrind output is documented. With conversion scripts,
950 KCachegrind is able to visualize output of other profilers like OProfile, a
951 system-wide profiler for Linux using statistical sampling with hardware
952 performance counters. There also exist converters for profiling output of
953 Python, PHP, and Perl.")
954 (license license:gpl2)))
956 (define-public libkdegames
963 (uri (string-append "mirror://kde/stable/release-service/" version
964 "/src/libkdegames-" version ".tar.xz"))
966 (base32 "1xsrrvhwjwi5aajcaxydmzc69i4yx6shs8ly8vr85njc188ycg13"))))
967 (build-system qt-build-system)
969 `(("extra-cmake-modules" ,extra-cmake-modules)))
971 `(("karchive" ,karchive)
972 ("kbookmarks" ,kbookmarks)
974 ("kcompletion" ,kcompletion)
975 ("kconfigwidgets" ,kconfigwidgets)
977 ("kdbusaddons" ,kdbusaddons)
978 ("kdeclarative" ,kdeclarative)
980 ("kglobalaccel" ,kglobalaccel)
981 ("kguiaddons" ,kguiaddons)
983 ("kiconthemes" ,kiconthemes)
985 ("kitemviews" ,kitemviews)
986 ("kjobwidgets" ,kjobwidgets)
987 ("knewstuff" ,knewstuff)
988 ("kservice" ,kservice)
989 ("ktextwidgets" ,ktextwidgets)
990 ("kwidgetsaddons" ,kwidgetsaddons)
992 ("libsndfile" ,libsndfile)
995 ("qtdeclarative" ,qtdeclarative)
997 (home-page "https://games.kde.org/")
998 (synopsis "Runtime library for kdegames")
999 (description "Runtime library for kdegames")
1000 (license (list license:gpl2+ license:fdl1.2+))))
1002 (define-public okular
1009 (uri (string-append "mirror://kde/stable/release-service/" version
1010 "/src/" name "-" version ".tar.xz"))
1012 (base32 "0gpm7n47yijsjg4yba561j5pbvd98hgvr93w1kvzk851nb87m89c"))))
1013 (build-system qt-build-system)
1014 ;; The tests fail because they can't find the proper mimetype plugins:
1015 ;; "org.kde.okular.core: No plugin for mimetype '"image/jpeg"'."
1016 ;; The built program seems to work okay, so we skip the tests for now.
1020 (list "-DBUILD_TESTING=OFF")))
1022 `(("extra-cmake-modules" ,extra-cmake-modules)
1023 ("kdoctools" ,kdoctools)
1024 ("pkg-config" ,pkg-config)))
1026 `(("ebook-tools" ,ebook-tools)
1027 ("breeze-icons" ,breeze-icons)
1028 ("discount" ,discount)
1029 ("djvulibre" ,djvulibre)
1030 ("kactivities" ,kactivities)
1033 ("kdegraphics-mobipocket" ,kdegraphics-mobipocket)
1034 ("karchive" ,karchive)
1035 ("kbookmarks" ,kbookmarks)
1036 ("kcompletion" ,kcompletion)
1037 ("kconfig" ,kconfig)
1038 ("qtbase" ,qtbase-5)
1039 ("libjpeg-turbo" ,libjpeg-turbo)
1040 ("libtiff" ,libtiff)
1041 ("kirigami" ,kirigami)
1042 ("purpose" ,purpose)
1043 ("freetype" ,freetype)
1044 ("kiconthemes" ,kiconthemes)
1048 ("qtspeech" ,qtspeech)
1049 ("kwallet" ,kwallet)
1050 ("kwindowsystem" ,kwindowsystem)
1051 ("libkexiv2" ,libkexiv2)
1052 ("libspectre" ,libspectre)
1055 ("poppler-qt5" ,poppler-qt5)
1057 ("qtdeclarative" ,qtdeclarative)
1059 ("threadweaver" ,threadweaver)
1062 (home-page "https://kde.org/applications/graphics/okular/")
1063 (synopsis "Document viewer")
1065 "Okular is a document viewer developed for KDE. It can display files in
1066 a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
1067 (license license:gpl2+)))
1069 (define-public poxml
1076 (string-append "mirror://kde/stable/release-service/" version
1077 "/src/poxml-" version ".tar.xz"))
1080 "1smjvblx0jcv3afs2sr4qcmvhqd44iw24hvr9fppa3nxhrmjwmlk"))))
1081 (build-system cmake-build-system)
1083 `(("extra-cmake-modules" ,extra-cmake-modules)
1084 ("kdoctools" ,kdoctools)))
1086 `(("gettext" ,gettext-minimal)
1087 ("qtbase" ,qtbase-5)))
1088 (home-page "https://kde.org/applications/development")
1089 (synopsis "Tools for translating DocBook XML files with Gettext")
1090 (description "This is a collection of tools that facilitate translating
1091 DocBook XML files using Gettext message files (PO files). Also included are
1092 several command-line utilities for manipulating DocBook XML files, PO files and
1093 PO template files.")
1094 (license license:gpl2+)))
1096 (define-public kdegraphics-mobipocket
1098 (name "kdegraphics-mobipocket")
1103 (uri (string-append "mirror://kde/stable/release-service/" version
1104 "/src/" name "-" version ".tar.xz"))
1106 (base32 "0fm880lp9g60zgrkjyh4jxws6x0s77l9ia4f8pza3w8sxcbbswk5"))))
1107 (build-system cmake-build-system)
1109 `(("extra-cmake-modules" ,extra-cmake-modules)))
1112 ("qtbase" ,qtbase-5)))
1113 (home-page "https://apps.kde.org/en/kdegraphics_mobipocket")
1114 (synopsis "KDE thumbnailer for Mobipocket files")
1115 (description "This package provides a KDE plugin that shows thumbnails of
1116 Mobipocket e-books in Dolphin and other KDE apps.")
1117 (license license:gpl2+)))
1119 (define-public libkexiv2
1126 (uri (string-append "mirror://kde/stable/release-service/" version
1127 "/src/" name "-" version ".tar.xz"))
1129 (base32 "0k0iinf7s8qlk3fwvq7iic1b4zn2gm65rfd58q7d3wb1i1j2hjjk"))))
1130 (build-system cmake-build-system)
1132 `(("extra-cmake-modules" ,extra-cmake-modules)))
1135 ("qtbase" ,qtbase-5)))
1136 (home-page "https://invent.kde.org/graphics/libkexiv2")
1137 (synopsis "Manipulate the metadata of images")
1138 (description "Libkexiv2 wraps the Exiv2 library, allowing to manipulate
1139 picture metadata as EXIF/IPTC and XMP.")
1140 (license license:gpl2+)))
1142 (define-public zeroconf-ioslave
1144 (name "zeroconf-ioslave")
1149 (uri (string-append "mirror://kde/stable/release-service/" version
1150 "/src/zeroconf-ioslave-" version ".tar.xz"))
1152 (base32 "1qck5jyc4psslpibhki8sz8aj0hsnx8z791vzyn10lmdzn71vx8c"))))
1153 (build-system qt-build-system)
1155 `(("extra-cmake-modules" ,extra-cmake-modules)))
1157 `(("kdbusaddons" ,kdbusaddons)
1161 ("qtbase" ,qtbase-5)))
1162 (home-page "https://kde.org/applications/internet/org.kde.zeroconf_ioslave")
1163 (synopsis "DNS-SD Service Discovery Monitor")
1164 (description "Adds an entry to Dolphin's Network page to show local
1165 services such as printers which advertise themselves with DNSSD (called Avahi
1166 or Bonjour by other projects).")
1167 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1168 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1171 (define-public kuserfeedback
1172 ;; FIXME: Try to reduce data collection and ensure transmission i disabled by default.
1173 ;; FIXME: Check https://www.reddit.com/r/kde/comments/f7ojg9 for insights
1175 (name "kuserfeedback")
1180 (uri (string-append "mirror://kde/stable/kuserfeedback/"
1181 "/kuserfeedback-" version ".tar.xz"))
1183 (base32 "1dwx9fscnfp3zsxdir774skn8xvad2dvscnaaw3ji6mrnkmm6bss"))))
1184 (build-system qt-build-system)
1186 `(("extra-cmake-modules" ,extra-cmake-modules)
1187 ("qttools" ,qttools)
1188 ;; For optional component "Survey target expression parser"
1191 ;; For syntax checking and unit tests of PHP server code
1193 ;;("phpunit" ,phpunit)
1196 `(("qtbase" ,qtbase-5)
1197 ("qtcharts" ,qtcharts)
1198 ("qtdeclarative" ,qtdeclarative)
1201 `(#:tests? #f)) ;; 4/17 fail
1202 (home-page "https://api.kde.org/frameworks/kuserfeedback/html/")
1203 (synopsis "Framework for collecting feedback from application users via
1204 telemetry and targeted surveys")
1205 (description "This framework consists of the following components:
1207 @item Libraries for use in applications.
1208 @item QML bindings for the above.
1209 @item A server application.
1210 @item A management and analytics application.
1212 (license license:expat)))