1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2019, 2020 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, 2018, 2019, 2020 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 Michael Rohleder <mike@rohleder.de>
13 ;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
14 ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
16 ;;; This file is part of GNU Guix.
18 ;;; GNU Guix is free software; you can redistribute it and/or modify it
19 ;;; under the terms of the GNU General Public License as published by
20 ;;; the Free Software Foundation; either version 3 of the License, or (at
21 ;;; your option) any later version.
23 ;;; GNU Guix is distributed in the hope that it will be useful, but
24 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
25 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 ;;; GNU General Public License for more details.
28 ;;; You should have received a copy of the GNU General Public License
29 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
31 (define-module (gnu packages kde)
32 #:use-module (guix build-system cmake)
33 #:use-module (guix build-system qt)
34 #:use-module (guix deprecation)
35 #:use-module (guix download)
36 #:use-module (guix git-download)
37 #:use-module ((guix licenses) #:prefix license:)
38 #:use-module (guix packages)
39 #:use-module (guix utils)
40 #:use-module (gnu packages)
41 #:use-module (gnu packages algebra)
42 #:use-module (gnu packages apr)
43 #:use-module (gnu packages audio)
44 #:use-module (gnu packages bison)
45 #:use-module (gnu packages boost)
46 #:use-module (gnu packages code)
47 #:use-module (gnu packages cpp)
48 #:use-module (gnu packages compression)
49 #:use-module (gnu packages curl)
50 #:use-module (gnu packages djvu)
51 #:use-module (gnu packages documentation)
52 #:use-module (gnu packages ebook)
53 #:use-module (gnu packages flex)
54 #:use-module (gnu packages fontutils)
55 #:use-module (gnu packages gettext)
56 #:use-module (gnu packages ghostscript)
57 #:use-module (gnu packages gl)
58 #:use-module (gnu packages gnome)
59 #:use-module (gnu packages graphics)
60 #:use-module (gnu packages image)
61 #:use-module (gnu packages kde-frameworks)
62 #:use-module (gnu packages kde-pim)
63 #:use-module (gnu packages kde-plasma)
64 #:use-module (gnu packages linux)
65 #:use-module (gnu packages llvm)
66 #:use-module (gnu packages markup)
67 #:use-module (gnu packages maths)
68 #:use-module (gnu packages pdf)
69 #:use-module (gnu packages perl)
70 #:use-module (gnu packages photo)
71 #:use-module (gnu packages pkg-config)
72 #:use-module (gnu packages pulseaudio)
73 #:use-module (gnu packages python)
74 #:use-module (gnu packages tls)
75 #:use-module (gnu packages qt)
76 #:use-module (gnu packages version-control)
77 #:use-module (gnu packages video)
78 #:use-module (gnu packages xdisorg)
79 #:use-module (gnu packages xml)
80 #:use-module (gnu packages xorg))
82 (define-public baloo-widgets
84 (name "baloo-widgets")
89 (uri (string-append "mirror://kde/stable/release-service/" version
90 "/src/baloo-widgets-" version ".tar.xz"))
92 (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0"))))
93 (build-system qt-build-system)
95 `(("extra-cmake-modules" ,extra-cmake-modules)))
104 (modify-phases %standard-phases
105 (add-before 'check 'check-setup
107 (setenv "QT_QPA_PLATFORM" "offscreen")
109 (home-page "https://community.kde.org/Baloo")
110 (synopsis "Wigets for use with Baloo")
111 (description "Baloo is a framework for searching and managing metadata.
112 This package contains GUI widgets for baloo.")
113 (license license:lgpl2.0+)))
115 (define-public grantleetheme
117 (name "grantleetheme")
122 (uri (string-append "mirror://kde/stable/release-service/" version
123 "/src/grantleetheme-" version ".tar.xz"))
125 (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx"))
126 (patches (search-patches "grantlee-merge-theme-dirs.patch"))))
127 (build-system qt-build-system)
129 `(("extra-cmake-modules" ,extra-cmake-modules)
130 ("libxml2" ,libxml2))) ;; xmllint required for tests
132 `(("grantlee" ,grantlee)
133 ("kguiaddons" ,kguiaddons)
135 ("kiconthemes" ,kiconthemes)
136 ("knewstuff" ,knewstuff)
138 (home-page "https://invent.kde.org/pim/grantleetheme")
139 (synopsis "Library providing Grantlee theme support")
140 (description "This library provides Grantlee theme support.")
141 (license ;; LGPL for libraries, FDL for documentation
142 (list license:lgpl2.1+ license:fdl1.2+))))
144 (define-public kdenlive
145 (let ((version "20.08.3"))
153 (url "https://invent.kde.org/multimedia/kdenlive")
154 (commit (string-append "v" version))))
155 (file-name (string-append name "-" version "-checkout"))
157 (base32 "0x0qfwf6wfnybjyjvmllpf87sm27d1n2akslhp2k8ins838qy55i"))))
158 (build-system cmake-build-system)
160 `(("extra-cmake-modules" ,extra-cmake-modules)
161 ("pkg-config" ,pkg-config)
162 ("qttools" ,qttools)))
164 `(("shared-mime-info" ,shared-mime-info)
165 ("frei0r-plugins" ,frei0r-plugins)
170 ("qtscript" ,qtscript)
172 ("qtmultimedia" ,qtmultimedia)
174 ("knotifications" ,knotifications)
175 ("karchive" ,karchive)
176 ("kdbusaddons" ,kdbusaddons)
178 ("kguiaddons" ,kguiaddons)
179 ("knewstuff" ,knewstuff)
180 ("knotifyconfig" ,knotifyconfig)
181 ("kfilemetadata" ,kfilemetadata)
182 ("kdoctools" ,kdoctools)
183 ("kdeclarative" ,kdeclarative)
184 ("qtdeclarative" ,qtdeclarative)
185 ("qtquickcontrols" ,qtquickcontrols)
186 ("qtquickcontrols2" ,qtquickcontrols2)
187 ("kiconthemes" ,kiconthemes)
188 ("breeze" ,breeze) ; make dark them available easily
189 ("breeze-icons" ,breeze-icons) ; recommended icon set
191 ("qtwebkit" ,qtwebkit)
192 ("qtgraphicaleffects" ,qtgraphicaleffects)
193 ("kplotting" ,kplotting)))
195 `(#:tests? #f ;TODO needs X
197 (modify-phases %standard-phases
198 (add-after 'install 'wrap-executable
199 (lambda* (#:key inputs outputs #:allow-other-keys)
200 (let* ((out (assoc-ref outputs "out"))
201 (qtbase (assoc-ref inputs "qtbase"))
202 (frei0r (assoc-ref inputs "frei0r-plugins"))
203 (ffmpeg (assoc-ref inputs "ffmpeg"))
204 (breeze (assoc-ref inputs "breeze"))
205 (breeze-icons (assoc-ref inputs "breeze-icons")))
206 (wrap-program (string-append out "/bin/kdenlive")
208 ,(list (string-append ffmpeg "/bin")))
209 `("XDG_DATA_DIRS" ":" prefix
210 ,(list (string-append breeze "/share")
211 (string-append breeze-icons "/share")))
212 `("QT_PLUGIN_PATH" ":" prefix
213 ,(list (getenv "QT_PLUGIN_PATH")))
214 `("FREI0R_PATH" ":" =
215 (,(string-append frei0r "/lib/frei0r-1/")))
216 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
217 (,(string-append qtbase "/lib/qt5/plugins/platforms")))
218 `("QML2_IMPORT_PATH" ":" prefix
219 ,(list (getenv "QML2_IMPORT_PATH")))
221 (,(assoc-ref inputs "mlt")))))
223 (home-page "https://kdenlive.org")
224 (synopsis "Non-linear video editor")
225 (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
227 Non-linear video editing is much more powerful than beginner's (linear)
228 editors, hence it requires a bit more organization before starting. However,
229 it is not reserved to specialists and can be used for small personal
231 (license license:gpl2+))))
233 (define-public kdevelop
240 (uri (string-append "mirror://kde/stable/kdevelop"
241 "/" version "/src/kdevelop-"
244 (base32 "1nkl3z1n1l7ly2zvmbx2sdhx5q72wcvpwhzsz3qgw1474qd9i3i2"))))
245 (build-system qt-build-system)
247 `(("extra-cmake-modules" ,extra-cmake-modules)
248 ("pkg-config" ,pkg-config)
249 ("shared-mime-info" ,shared-mime-info)
250 ("qttools" ,qttools)))
254 ("grantlee" ,grantlee)
255 ("karchive" ,karchive)
256 ("kcmutils" ,kcmutils)
258 ("kdeclarative" ,kdeclarative)
259 ("kdoctools" ,kdoctools)
260 ("kguiaddons" ,kguiaddons)
262 ("kiconthemes" ,kiconthemes)
263 ("kio" ,kio) ;; not checked as requirement
264 ("kitemmodels" ,kitemmodels)
265 ("kitemviews" ,kitemviews)
266 ("kjobwidgets" ,kjobwidgets)
267 ("knotifications" ,knotifications)
268 ("knotifyconfig" ,knotifyconfig)
270 ("kservice" ,kservice)
271 ("ktexteditor" ,ktexteditor)
272 ("kwindowsystem" ,kwindowsystem)
274 ("libkomparediff2" ,libkomparediff2)
275 ("oxygen-icons" ,oxygen-icons)
277 ("qtdeclarative" ,qtdeclarative)
278 ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
279 ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
280 ("qtwebkit" ,qtwebkit)
281 ("threadweaver" ,threadweaver)
285 ("kdevelop-pg-qt" ,kdevelop-pg-qt)
286 ("libksysguard" ,libksysguard)
289 ("apr" ,apr) ; required for subversion support
290 ("apr-util" ,apr-util) ; required for subversion support
292 ("kconfigwidgets" ,kconfigwidgets)
293 ("knewstuff" ,knewstuff)
295 ;; TODO: OktetaGui, OktetaKastenControllers
296 ("plasma" ,plasma-framework)
299 ("subversion" ,subversion)))
301 ;; run-time packages - TODO
308 `(#:tests? #f ;; there are some issues with the test suite
310 (modify-phases %standard-phases
311 (add-before 'configure 'add-include-path
312 (lambda* (#:key inputs #:allow-other-keys)
313 (substitute* "cmake/modules/FindClang.cmake"
314 (("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line)
315 (string-append line " " (assoc-ref inputs "clang") "/lib")))
317 (home-page "https://kdevelop.org")
318 (synopsis "IDE for C, C++, Python, Javascript and PHP")
319 (description "The KDevelop IDE provides semantic syntax highlighting, as
320 well as code navigation and completion for C, C++ (using Clang/LLVM), QML,
321 JavaScript, Python and PHP. It also integrates with a debugger, different
322 build systems (CMake, QMake, custom Makefiles) and version control
323 software (Git, Subversion, Mercurial, CVS and Bazaar).")
324 (license license:lgpl2.1+)))
326 (define-public kdevelop-pg-qt
328 (name "kdevelop-pg-qt")
334 (url "https://github.com/KDE/kdevelop-pg-qt")
335 (commit (string-append "v" version))))
336 (file-name (git-file-name name version))
338 (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
340 `(("extra-cmake-modules" ,extra-cmake-modules)))
342 `(("qtbase" ,qtbase)))
343 (build-system cmake-build-system)
344 (home-page "https://kde.org")
345 (synopsis "Parser generator library for KDevplatform")
346 (description "KDevelop-PG-Qt is the parser generator used in KDevplatform
347 for some KDevelop language plugins (Ruby, PHP, CSS...).")
348 (license license:lgpl2.0+)))
350 ;; kdevplatform was merged into kdevelop as of 5.2.x
351 (define-deprecated kdevplatform kdevelop)
353 (define-public kdiagram
360 (uri (string-append "mirror://kde/stable/kdiagram/" version
361 "/kdiagram-" version ".tar.xz"))
363 (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3"))
364 (patches (search-patches
365 "kdiagram-Fix-missing-link-libraries.patch"))))
366 (build-system qt-build-system)
368 `(("extra-cmake-modules" ,extra-cmake-modules)
369 ("qttools" ,qttools)))
373 (home-page "https://invent.kde.org/graphics/kdiagram")
374 (synopsis "Libraries for creating business diagrams")
375 (description "This package provides libraries for integrating business
376 diagrams in Qt-based applications.
378 @code{KCharts} provides an implementation of the ODF Chart specification. It
379 supports stock charts, box charts, and whisker charts. @code{KGantt} provides
380 a module for implementing ODF Gantt charts, which are bar charts that
381 illustrate project schedules.")
382 (license license:gpl2+)))
391 "mirror://kde/stable/krita/" version
392 "/krita-" version ".tar.gz"))
395 "05rq5hkh2lmk8hall2h9ccaav0nw8fj7vd4aff5fyp2fiq3aybbg"))))
396 (build-system cmake-build-system)
400 (list "-DBUILD_TESTING=OFF"
401 (string-append "-DCMAKE_CXX_FLAGS=-I"
402 (assoc-ref %build-inputs "openexr")
405 (modify-phases %standard-phases
406 ;; Ensure that icons are found at runtime.
407 ;; This works around <https://bugs.gnu.org/22138>.
408 (add-after 'install 'wrap-executable
409 (lambda* (#:key inputs outputs #:allow-other-keys)
410 (let ((out (assoc-ref outputs "out"))
411 (qt '("qtbase" "qtsvg")))
412 (wrap-program (string-append out "/bin/krita")
413 `("QT_PLUGIN_PATH" ":" prefix
414 ,(map (lambda (label)
415 (string-append (assoc-ref inputs label)
416 "/lib/qt5/plugins/"))
422 ("extra-cmake-modules" ,extra-cmake-modules)
423 ("gettext-minimal" ,gettext-minimal)
424 ("kitemmodels" ,kitemmodels)
425 ("pkg-config" ,pkg-config)
434 ("karchive" ,karchive)
435 ("kcompletion" ,kcompletion)
437 ("kcoreaddons" ,kcoreaddons)
439 ("kguiaddons" ,kguiaddons)
441 ("kiconthemes" ,kiconthemes)
443 ("kitemviews" ,kitemviews)
444 ("kwidgetsaddons" ,kwidgetsaddons)
445 ("kwindowsystem" ,kwindowsystem)
448 ("libjpeg-turbo" ,libjpeg-turbo)
450 ("libraw" ,libraw-0.18)
457 ("poppler-qt5" ,poppler-qt5)
459 ("qtdeclarative" ,qtdeclarative)
460 ("qtmultimedia" ,qtmultimedia)
462 ("qtx11extras" ,qtx11extras)
465 (home-page "https://krita.org")
466 (synopsis "Digital painting application")
468 "Krita is a professional painting tool designed for concept artists,
469 illustrators, matte and texture artists, and the VFX industry. Notable
470 features include brush stabilizers, brush engines and wrap-around mode.")
471 (license license:gpl2+)))
473 (define-public libkomparediff2
475 (name "libkomparediff2")
480 (uri (string-append "mirror://kde/stable/release-service/" version
481 "/src/libkomparediff2-" version ".tar.xz"))
483 (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc"))))
485 `(("extra-cmake-modules" ,extra-cmake-modules)
486 ("pkg-config" ,pkg-config)))
488 `(("kcodecs" ,kcodecs)
490 ("kcoreaddons" ,kcoreaddons)
495 (build-system cmake-build-system)
496 (home-page "https://kde.org")
497 (synopsis "Library to compare files and strings, used in Kompare and KDevelop")
498 (description "Libkomparediff2 is a library to work with diffs and patches,
499 used in KDE development tools Kompare and KDevelop.")
501 ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
503 (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
512 (uri (string-append "mirror://kde/stable/qca/" version
513 "/qca-" version ".tar.xz"))
516 "1mrj748yz1grgzmfbmffgjkpcqiaj1l3m4pbddwcj7dnl50yys0x"))))
517 (build-system cmake-build-system)
519 `(("pkg-config" ,pkg-config)))
521 `(("openssl" ,openssl)
523 (home-page "https://userbase.kde.org/QCA")
524 (synopsis "Libraries for the Qt Cryptographic Architecture")
525 (description "The Qt Cryptographic Architecture (QCA) provides a
526 straightforward and cross-platform API for a range of cryptographic features,
527 including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart
529 (license license:lgpl2.1+)))
531 (define-public kpmcore
538 "mirror://kde/stable/kpmcore"
540 name "-" version ".tar.xz"))
543 "0jsig7algmab9h0fb09my0axjqzw83zgscamhzl8931lribs6idm"))))
544 (build-system cmake-build-system)
546 `(("extra-cmake-modules" ,extra-cmake-modules)
547 ("pkg-config" ,pkg-config)))
550 ("kcoreaddons" ,kcoreaddons)
552 ("kwidgetsaddons" ,kwidgetsaddons)
555 ("util-linux" ,util-linux "lib")))
556 (home-page "https://community.kde.org/Frameworks")
557 (synopsis "Library for managing partitions")
558 (description "Library for managing partitions.")
559 (license license:gpl3+)))
561 (define-public snorenotify
568 (uri (string-append "mirror://kde/stable/snorenotify/"
569 version "/src/snorenotify-" version ".tar.xz"))
572 "0jz6ivk90h7iwgyxar7xzzj8yvzn6s1my6cqs9bdnwqswfk1nhbd"))))
573 (build-system cmake-build-system)
575 `(#:tests? #f)) ; both tests fail, require display
577 `(("qtbase" ,qtbase)))
579 `(("extra-cmake-modules" ,extra-cmake-modules)
580 ("qttools" ,qttools)))
581 (home-page "https://techbase.kde.org/Projects/Snorenotify")
582 (synopsis "Qt notification framework")
583 (description "Snorenotify is a multi platform Qt notification framework.
584 Using a plugin system it is possible to create notifications with many
585 different notification systems.")
586 (license license:lgpl3)))
588 (define-public kdeconnect
595 (uri (string-append "mirror://kde/stable/release-service/"
596 version "/src/kdeconnect-kde-"
600 "0yq3afbbcc9gmlcachvh3xz3gdj57092fpagp36l5knw8gr0d9ip"))))
601 (build-system qt-build-system)
603 `(#:configure-flags '("-DBUILD_TESTING=ON"
604 "-DKDE_INSTALL_LIBEXECDIR=libexec")
605 #:phases (modify-phases %standard-phases
606 (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
607 (lambda* (#:key inputs #:allow-other-keys)
608 ;; FIXME: <kcmutils_version.h> is not found during one
609 ;; of the compilation steps without this hack.
610 (setenv "CPLUS_INCLUDE_PATH"
611 (string-append (assoc-ref inputs "kcmutils")
613 (or (getenv "CPLUS_INCLUDE_PATH")
616 #:tests? #f)) ; tests fail hard in our build environment
618 `(("extra-cmake-modules" ,extra-cmake-modules)
619 ("kdoctools" ,kdoctools)
621 ("pkg-config" ,pkg-config)
622 ("python" ,python-wrapper)))
624 `(("kcmutils" ,kcmutils)
625 ("kconfigwidgets" ,kconfigwidgets)
626 ("kdbusaddons" ,kdbusaddons)
628 ("kiconthemes" ,kiconthemes)
630 ("kirigami" ,kirigami)
631 ("knotifications" ,knotifications)
633 ("kpeoplevcard" ,kpeoplevcard)
634 ("kwayland" ,kwayland)
635 ("libfakekey" ,libfakekey)
636 ("pulseaudio-qt" ,pulseaudio-qt)
639 ("qtdeclarative" ,qtdeclarative)
640 ("qtgraphicaleffects" ,qtgraphicaleffects)
641 ("qtmultimedia" ,qtmultimedia)
642 ("qtquickcontrols" ,qtquickcontrols)
643 ("qtquickcontrols2" ,qtquickcontrols2)
644 ("qtx11extras" ,qtx11extras)))
645 (home-page "https://community.kde.org/KDEConnect")
646 (synopsis "Enable your devices to communicate with each other")
647 (description "KDE Connect is a project that enables all your devices to
648 communicate with each other. Here's a few things KDE Connect can do:
650 @item Receive your phone notifications on your desktop computer and reply to messages
651 @item Control music playing on your desktop from your phone
652 @item Use your phone as a remote control for your desktop
653 @item Run predefined commands on your PC from connected devices
654 @item Check your phones battery level from the desktop
655 @item Ring your phone to help finding it
656 @item Share files and links between devices
657 @item Browse your phone from the desktop
658 @item Control the desktop's volume from the phone
660 (properties `((upstream-name . "kdeconnect-kde")))
661 (license (list license:gpl2 license:gpl3)))) ; dual licensed
663 (define-public kqtquickcharts
665 (name "kqtquickcharts")
670 (uri (string-append "mirror://kde/stable/release-service/"
671 version "/src/kqtquickcharts-" version ".tar.xz"))
674 "1wxp35mf9zlpgzi4msdl86b2krdq2ipqw371gyx23r7j84vdyxi3"))))
675 (build-system cmake-build-system)
677 `(("extra-cmake-modules" ,extra-cmake-modules)))
680 ("qtdeclarative" ,qtdeclarative)))
681 (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
682 (synopsis "Interactive charts for Qt Quick")
684 "Kqtquickcharts is a QtQuick plugin to render beautiful and interactive
686 (license license:lgpl2.1+)))
688 (define-public kcachegrind
694 (uri (string-append "mirror://kde/stable/release-service/" version
695 "/src/kcachegrind-" version ".tar.xz"))
698 "0fx17s6fj1pxl1mgfrqhchk8sihkbji1x8y3nhb1r0971wzd1nsc"))))
699 (build-system cmake-build-system)
701 `(("extra-cmake-modules" ,extra-cmake-modules)
705 ("kdoctools" ,kdoctools)))
708 ("karchive" ,karchive)
711 ("kdbusaddons" ,kdbusaddons)))
712 ;; Note: The 'hotshot2calltree' and 'pprof2calltree' scripts depend on
713 ;; Python and PHP, respectively. These are optional and we ignore them
715 (home-page "https://kcachegrind.github.io/html/Home.html")
716 (synopsis "Visualize profiles produces by Valgrind's Cachegrind tool")
718 "The data files generated by the Callgrind of Valgrind, an application
719 profiler, can be loaded into KCachegrind for browsing the performance results.
720 There is also a command-line tool to get ASCII reports from data files without
721 the need to use KCachegrind.
723 The format of Callgrind output is documented. With conversion scripts,
724 KCachegrind is able to visualize output of other profilers like OProfile, a
725 system-wide profiler for Linux using statistical sampling with hardware
726 performance counters. There also exist converters for profiling output of
727 Python, PHP, and Perl.")
728 (license license:gpl2)))
730 (define-public libkdegames
737 (uri (string-append "mirror://kde/stable/release-service/" version
738 "/src/libkdegames-" version ".tar.xz"))
740 (base32 "1xsrrvhwjwi5aajcaxydmzc69i4yx6shs8ly8vr85njc188ycg13"))))
741 (build-system qt-build-system)
743 `(("extra-cmake-modules" ,extra-cmake-modules)))
745 `(("karchive" ,karchive)
746 ("kbookmarks" ,kbookmarks)
748 ("kcompletion" ,kcompletion)
749 ("kconfigwidgets" ,kconfigwidgets)
751 ("kdbusaddons" ,kdbusaddons)
752 ("kdeclarative" ,kdeclarative)
754 ("kglobalaccel" ,kglobalaccel)
755 ("kguiaddons" ,kguiaddons)
757 ("kiconthemes" ,kiconthemes)
759 ("kitemviews" ,kitemviews)
760 ("kjobwidgets" ,kjobwidgets)
761 ("knewstuff" ,knewstuff)
762 ("kservice" ,kservice)
763 ("ktextwidgets" ,ktextwidgets)
764 ("kwidgetsaddons" ,kwidgetsaddons)
766 ("libsndfile" ,libsndfile)
769 ("qtdeclarative" ,qtdeclarative)
771 (home-page "https://games.kde.org/")
772 (synopsis "Runtime library for kdegames")
773 (description "Runtime library for kdegames")
774 (license (list license:gpl2+ license:fdl1.2+))))
776 (define-public okular
783 (uri (string-append "mirror://kde/stable/release-service/" version
784 "/src/" name "-" version ".tar.xz"))
786 (base32 "1kib8zqfd9qgqn7bz88hay2j3kcvarnlfyr3a417pi6rvaam6b4p"))))
787 (build-system qt-build-system)
788 ;; The tests fail because they can't find the proper mimetype plugins:
789 ;; "org.kde.okular.core: No plugin for mimetype '"image/jpeg"'."
790 ;; The built program seems to work okay, so we skip the tests for now.
794 (list "-DBUILD_TESTING=OFF")))
796 `(("extra-cmake-modules" ,extra-cmake-modules)
797 ("kdoctools" ,kdoctools)
798 ("pkg-config" ,pkg-config)))
800 `(("ebook-tools" ,ebook-tools)
801 ("breeze-icons" ,breeze-icons)
802 ("discount" ,discount)
803 ("djvulibre" ,djvulibre)
804 ("kactivities" ,kactivities)
807 ("kdegraphics-mobipocket" ,kdegraphics-mobipocket)
808 ("karchive" ,karchive)
809 ("kbookmarks" ,kbookmarks)
810 ("kcompletion" ,kcompletion)
813 ("libjpeg-turbo" ,libjpeg-turbo)
815 ("kirigami" ,kirigami)
817 ("freetype" ,freetype)
818 ("kiconthemes" ,kiconthemes)
822 ("qtspeech" ,qtspeech)
824 ("kwindowsystem" ,kwindowsystem)
825 ("libkexiv2" ,libkexiv2)
826 ("libspectre" ,libspectre)
829 ("poppler-qt5" ,poppler-qt5)
831 ("qtdeclarative" ,qtdeclarative)
833 ("threadweaver" ,threadweaver)
836 (home-page "https://kde.org/applications/graphics/okular/")
837 (synopsis "Document viewer")
839 "Okular is a document viewer developed for KDE. It can display files in
840 a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
841 (license license:gpl2+)))
843 (define-public kdegraphics-mobipocket
845 (name "kdegraphics-mobipocket")
850 (uri (string-append "mirror://kde/stable/release-service/" version
851 "/src/" name "-" version ".tar.xz"))
853 (base32 "0fm880lp9g60zgrkjyh4jxws6x0s77l9ia4f8pza3w8sxcbbswk5"))))
854 (build-system cmake-build-system)
856 `(("extra-cmake-modules" ,extra-cmake-modules)))
860 (home-page "https://apps.kde.org/en/kdegraphics_mobipocket")
861 (synopsis "KDE thumbnailer for Mobipocket files")
862 (description "This package provides a KDE plugin that shows thumbnails of
863 Mobipocket e-books in Dolphin and other KDE apps.")
864 (license license:gpl2+)))
866 (define-public libkexiv2
873 (uri (string-append "mirror://kde/stable/release-service/" version
874 "/src/" name "-" version ".tar.xz"))
876 (base32 "0k0iinf7s8qlk3fwvq7iic1b4zn2gm65rfd58q7d3wb1i1j2hjjk"))))
877 (build-system cmake-build-system)
879 `(("extra-cmake-modules" ,extra-cmake-modules)))
883 (home-page "https://invent.kde.org/graphics/libkexiv2")
884 (synopsis "Manipulate the metadata of images")
885 (description "Libkexiv2 wraps the Exiv2 library, allowing to manipulate
886 picture metadata as EXIF/IPTC and XMP.")
887 (license license:gpl2+)))
889 (define-public zeroconf-ioslave
891 (name "zeroconf-ioslave")
896 (uri (string-append "mirror://kde/stable/release-service/" version
897 "/src/zeroconf-ioslave-" version ".tar.xz"))
899 (base32 "1qck5jyc4psslpibhki8sz8aj0hsnx8z791vzyn10lmdzn71vx8c"))))
900 (build-system qt-build-system)
902 `(("extra-cmake-modules" ,extra-cmake-modules)))
904 `(("kdbusaddons" ,kdbusaddons)
909 (home-page "https://kde.org/applications/internet/org.kde.zeroconf_ioslave")
910 (synopsis "DNS-SD Service Discovery Monitor")
911 (description "Adds an entry to Dolphin's Network page to show local
912 services such as printers which advertise themselves with DNSSD (called Avahi
913 or Bonjour by other projects).")
914 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
915 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
918 (define-public kuserfeedback
919 ;; FIXME: Try to reduce data collection and ensure transmission i disabled by default.
920 ;; FIXME: Check https://www.reddit.com/r/kde/comments/f7ojg9 for insights
922 (name "kuserfeedback")
927 (uri (string-append "mirror://kde/stable/kuserfeedback/"
928 "/kuserfeedback-" version ".tar.xz"))
930 (base32 "1dwx9fscnfp3zsxdir774skn8xvad2dvscnaaw3ji6mrnkmm6bss"))))
931 (build-system qt-build-system)
933 `(("extra-cmake-modules" ,extra-cmake-modules)
935 ;; For optional component "Survey target expression parser"
938 ;; For syntax checking and unit tests of PHP server code
940 ;;("phpunit" ,phpunit)
944 ("qtcharts" ,qtcharts)
945 ("qtdeclarative" ,qtdeclarative)
948 `(#:tests? #f)) ;; 4/17 fail
949 (home-page "https://api.kde.org/frameworks/kuserfeedback/html/")
950 (synopsis "Framework for collecting feedback from application users via
951 telemetry and targeted surveys")
952 (description "This framework consists of the following components:
954 @item Libraries for use in applications.
955 @item QML bindings for the above.
956 @item A server application.
957 @item A management and analytics application.
959 (license license:expat)))