Merge branch 'master' into staging
[jackhill/guix/guix.git] / gnu / packages / kde.scm
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 Michael Rohleder <mike@rohleder.de>
13 ;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
14 ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
15 ;;;
16 ;;; This file is part of GNU Guix.
17 ;;;
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.
22 ;;;
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.
27 ;;;
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/>.
30
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 gnupg)
53 #:use-module (gnu packages ebook)
54 #:use-module (gnu packages flex)
55 #:use-module (gnu packages fontutils)
56 #:use-module (gnu packages gettext)
57 #:use-module (gnu packages ghostscript)
58 #:use-module (gnu packages gl)
59 #:use-module (gnu packages gnome)
60 #:use-module (gnu packages graphics)
61 #:use-module (gnu packages image)
62 #:use-module (gnu packages kde-frameworks)
63 #:use-module (gnu packages kde-pim)
64 #:use-module (gnu packages kde-plasma)
65 #:use-module (gnu packages linux)
66 #:use-module (gnu packages llvm)
67 #:use-module (gnu packages markup)
68 #:use-module (gnu packages maths)
69 #:use-module (gnu packages pdf)
70 #:use-module (gnu packages perl)
71 #:use-module (gnu packages photo)
72 #:use-module (gnu packages pkg-config)
73 #:use-module (gnu packages pulseaudio)
74 #:use-module (gnu packages python)
75 #:use-module (gnu packages tls)
76 #:use-module (gnu packages qt)
77 #:use-module (gnu packages version-control)
78 #:use-module (gnu packages video)
79 #:use-module (gnu packages xdisorg)
80 #:use-module (gnu packages xml)
81 #:use-module (gnu packages xorg))
82
83 (define-public baloo-widgets
84 (package
85 (name "baloo-widgets")
86 (version "20.04.1")
87 (source
88 (origin
89 (method url-fetch)
90 (uri (string-append "mirror://kde/stable/release-service/" version
91 "/src/baloo-widgets-" version ".tar.xz"))
92 (sha256
93 (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0"))))
94 (build-system qt-build-system)
95 (native-inputs
96 `(("extra-cmake-modules" ,extra-cmake-modules)))
97 (inputs
98 `(("baloo" ,baloo)
99 ("kconfig" ,kconfig)
100 ("ki18n" ,ki18n)
101 ("kio" ,kio)
102 ("qtbase" ,qtbase)))
103 (arguments
104 `(#:phases
105 (modify-phases %standard-phases
106 (add-before 'check 'check-setup
107 (lambda _
108 (setenv "QT_QPA_PLATFORM" "offscreen")
109 #t)))))
110 (home-page "https://community.kde.org/Baloo")
111 (synopsis "Wigets for use with Baloo")
112 (description "Baloo is a framework for searching and managing metadata.
113 This package contains GUI widgets for baloo.")
114 (license license:lgpl2.0+)))
115
116 (define-public grantleetheme
117 (package
118 (name "grantleetheme")
119 (version "20.04.1")
120 (source
121 (origin
122 (method url-fetch)
123 (uri (string-append "mirror://kde/stable/release-service/" version
124 "/src/grantleetheme-" version ".tar.xz"))
125 (sha256
126 (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx"))
127 (patches (search-patches "grantlee-merge-theme-dirs.patch"))))
128 (build-system qt-build-system)
129 (arguments `(#:tests? #f)) ; unexpected error in the test suite.
130 (native-inputs
131 `(("extra-cmake-modules" ,extra-cmake-modules)
132 ("libxml2" ,libxml2))) ;; xmllint required for tests
133 (inputs
134 `(("grantlee" ,grantlee)
135 ("kguiaddons" ,kguiaddons)
136 ("ki18n" ,ki18n)
137 ("kiconthemes" ,kiconthemes)
138 ("knewstuff" ,knewstuff)
139 ("qtbase" ,qtbase)))
140 (home-page "https://invent.kde.org/pim/grantleetheme")
141 (synopsis "Library providing Grantlee theme support")
142 (description "This library provides Grantlee theme support.")
143 (license ;; LGPL for libraries, FDL for documentation
144 (list license:lgpl2.1+ license:fdl1.2+))))
145
146 (define-public akregator
147 (package
148 (name "akregator")
149 (version "20.04.1")
150 (source
151 (origin
152 (method url-fetch)
153 (uri (string-append "mirror://kde/stable/release-service/" version
154 "/src/akregator-" version ".tar.xz"))
155 (sha256
156 (base32 "1711yhwsdq9iyc3wm3a4xmz81p73hvvc0h58sasc89ifpry50k2p"))))
157 (build-system qt-build-system)
158 (arguments
159 `(#:phases
160 (modify-phases %standard-phases
161 (add-after 'install 'wrap-qt-process-path
162 (lambda* (#:key inputs outputs #:allow-other-keys)
163 (let* ((out (assoc-ref outputs "out"))
164 (bin (string-append out "/bin/akregator"))
165 (qt-process-path (string-append
166 (assoc-ref inputs "qtwebengine")
167 "/lib/qt5/libexec/QtWebEngineProcess")))
168 (wrap-program bin
169 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
170 #t))))))
171 (native-inputs
172 `(("extra-cmake-modules" ,extra-cmake-modules)
173 ("kdoctools" ,kdoctools)))
174 (inputs
175 `(("akonadi" ,akonadi)
176 ("akonadi-contacts" ,akonadi-contacts)
177 ("akonadi-mime" ,akonadi-mime)
178 ("boost" ,boost)
179 ("breeze-icons" ,breeze-icons)
180 ("gpgme" ,gpgme)
181 ("grantlee" ,grantlee)
182 ("grantleetheme" ,grantleetheme)
183 ("kcmutils" ,kcmutils)
184 ("kcontacts" ,kcontacts)
185 ("kcrash" ,kcrash)
186 ("kimap" ,kimap)
187 ("kitemmodels" ,kitemmodels)
188 ("kmessagelib" ,kmessagelib)
189 ("kmime" ,kmime)
190 ("knotifications" ,knotifications)
191 ("knotifyconfig" ,knotifyconfig)
192 ("kontactinterface" ,kontactinterface)
193 ("kpimcommon" ,kpimcommon)
194 ("kpimtextedit" ,kpimtextedit)
195 ("kqtquickcharts" ,kqtquickcharts)
196 ("ktexteditor" ,ktexteditor)
197 ("kuserfeedback" ,kuserfeedback)
198 ("libkdepim" ,libkdepim)
199 ("libkleo" ,libkleo)
200 ("qgpgme" ,qgpgme)
201 ("qtbase" ,qtbase)
202 ("qtdeclarative" ,qtdeclarative)
203 ("qtwebchannel" ,qtwebchannel)
204 ("qtwebengine" ,qtwebengine)
205 ("syndication" ,syndication)))
206 (home-page "https://apps.kde.org/en/akregator")
207 (synopsis "KDE Feed Reader")
208 (description
209 "Akregator is a news feed reader. It enables you to follow news
210 sites, blogs and other RSS/Atom-enabled websites without the need to manually
211 check for updates using a web browser. Akregator is designed to be both easy to
212 use and to be powerful enough to read hundreds of news sources conveniently.
213 It comes with a fast search, advanced archiving functionality and an internal
214 browser for easy news reading.")
215 (license license:gpl2+)))
216
217 (define-public kdenlive
218 (let ((version "20.08.3"))
219 (package
220 (name "kdenlive")
221 (version version)
222 (source
223 (origin
224 (method git-fetch)
225 (uri (git-reference
226 (url "https://invent.kde.org/multimedia/kdenlive")
227 (commit (string-append "v" version))))
228 (file-name (string-append name "-" version "-checkout"))
229 (sha256
230 (base32 "0x0qfwf6wfnybjyjvmllpf87sm27d1n2akslhp2k8ins838qy55i"))))
231 (build-system cmake-build-system)
232 (native-inputs
233 `(("extra-cmake-modules" ,extra-cmake-modules)
234 ("pkg-config" ,pkg-config)
235 ("qttools" ,qttools)))
236 (inputs
237 `(("shared-mime-info" ,shared-mime-info)
238 ("frei0r-plugins" ,frei0r-plugins)
239 ("ffmpeg" ,ffmpeg)
240 ("rttr" ,rttr)
241 ("mlt" ,mlt)
242 ("qtbase" ,qtbase)
243 ("qtscript" ,qtscript)
244 ("qtsvg" ,qtsvg)
245 ("qtmultimedia" ,qtmultimedia)
246 ("kparts" ,kparts)
247 ("knotifications" ,knotifications)
248 ("karchive" ,karchive)
249 ("kdbusaddons" ,kdbusaddons)
250 ("kcrash" ,kcrash)
251 ("kguiaddons" ,kguiaddons)
252 ("knewstuff" ,knewstuff)
253 ("knotifyconfig" ,knotifyconfig)
254 ("kfilemetadata" ,kfilemetadata)
255 ("kdoctools" ,kdoctools)
256 ("kdeclarative" ,kdeclarative)
257 ("qtdeclarative" ,qtdeclarative)
258 ("qtquickcontrols" ,qtquickcontrols)
259 ("qtquickcontrols2" ,qtquickcontrols2)
260 ("kiconthemes" ,kiconthemes)
261 ("breeze" ,breeze) ; make dark them available easily
262 ("breeze-icons" ,breeze-icons) ; recommended icon set
263 ("purpose" ,purpose)
264 ("qtwebkit" ,qtwebkit)
265 ("qtgraphicaleffects" ,qtgraphicaleffects)
266 ("kplotting" ,kplotting)))
267 (arguments
268 `(#:tests? #f ;TODO needs X
269 #:phases
270 (modify-phases %standard-phases
271 (add-after 'install 'wrap-executable
272 (lambda* (#:key inputs outputs #:allow-other-keys)
273 (let* ((out (assoc-ref outputs "out"))
274 (qtbase (assoc-ref inputs "qtbase"))
275 (frei0r (assoc-ref inputs "frei0r-plugins"))
276 (ffmpeg (assoc-ref inputs "ffmpeg"))
277 (breeze (assoc-ref inputs "breeze"))
278 (breeze-icons (assoc-ref inputs "breeze-icons")))
279 (wrap-program (string-append out "/bin/kdenlive")
280 `("PATH" ":" prefix
281 ,(list (string-append ffmpeg "/bin")))
282 `("XDG_DATA_DIRS" ":" prefix
283 ,(list (string-append breeze "/share")
284 (string-append breeze-icons "/share")))
285 `("QT_PLUGIN_PATH" ":" prefix
286 ,(list (getenv "QT_PLUGIN_PATH")))
287 `("FREI0R_PATH" ":" =
288 (,(string-append frei0r "/lib/frei0r-1/")))
289 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
290 (,(string-append qtbase "/lib/qt5/plugins/platforms")))
291 `("QML2_IMPORT_PATH" ":" prefix
292 ,(list (getenv "QML2_IMPORT_PATH")))
293 `("MLT_PREFIX" ":" =
294 (,(assoc-ref inputs "mlt")))))
295 #t)))))
296 (home-page "https://kdenlive.org")
297 (synopsis "Non-linear video editor")
298 (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
299
300 Non-linear video editing is much more powerful than beginner's (linear)
301 editors, hence it requires a bit more organization before starting. However,
302 it is not reserved to specialists and can be used for small personal
303 projects.")
304 (license license:gpl2+))))
305
306 (define-public kdevelop
307 (package
308 (name "kdevelop")
309 (version "5.6.1")
310 (source
311 (origin
312 (method url-fetch)
313 (uri (string-append "mirror://kde/stable/kdevelop"
314 "/" version "/src/kdevelop-"
315 version ".tar.xz"))
316 (sha256
317 (base32 "02ip5r67hjfpywkm3mz86n6wbqcr7996ifzfd2fyzsvm4998hi4y"))))
318 (build-system qt-build-system)
319 (native-inputs
320 `(("extra-cmake-modules" ,extra-cmake-modules)
321 ("pkg-config" ,pkg-config)
322 ("shared-mime-info" ,shared-mime-info)
323 ("qttools" ,qttools)))
324 (inputs
325 `(("boost" ,boost)
326 ("clang" ,clang)
327 ("grantlee" ,grantlee)
328 ("karchive" ,karchive)
329 ("kcmutils" ,kcmutils)
330 ("kcrash" ,kcrash)
331 ("kdeclarative" ,kdeclarative)
332 ("kdoctools" ,kdoctools)
333 ("kguiaddons" ,kguiaddons)
334 ("ki18n" ,ki18n)
335 ("kiconthemes" ,kiconthemes)
336 ("kio" ,kio) ;; not checked as requirement
337 ("kitemmodels" ,kitemmodels)
338 ("kitemviews" ,kitemviews)
339 ("kjobwidgets" ,kjobwidgets)
340 ("knotifications" ,knotifications)
341 ("knotifyconfig" ,knotifyconfig)
342 ("kparts" ,kparts)
343 ("kservice" ,kservice)
344 ("ktexteditor" ,ktexteditor)
345 ("kwindowsystem" ,kwindowsystem)
346 ("kxmlgui" ,kxmlgui)
347 ("libkomparediff2" ,libkomparediff2)
348 ("oxygen-icons" ,oxygen-icons)
349 ("qtbase" ,qtbase)
350 ("qtdeclarative" ,qtdeclarative)
351 ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
352 ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
353 ("qtwebkit" ,qtwebkit)
354 ("threadweaver" ,threadweaver)
355
356 ;; recommendes
357 ("astyle" ,astyle)
358 ("kdevelop-pg-qt" ,kdevelop-pg-qt)
359 ("libksysguard" ,libksysguard)
360
361 ;; optional
362 ("apr" ,apr) ; required for subversion support
363 ("apr-util" ,apr-util) ; required for subversion support
364 ("attica" ,attica)
365 ("kconfigwidgets" ,kconfigwidgets)
366 ("knewstuff" ,knewstuff)
367 ("krunner" ,krunner)
368 ;; TODO: OktetaGui, OktetaKastenControllers
369 ("plasma" ,plasma-framework)
370 ;; TODO: purpose
371 ("sonnet" ,sonnet)
372 ("subversion" ,subversion)))
373
374 ;; run-time packages - TODO
375 ;; ClazyStandalone
376 ;; Cppcheck
377 ;; heaptrack
378 ;; heaptrack_gui
379 ;; meson
380 (arguments
381 `(#:tests? #f ;; there are some issues with the test suite
382 #:phases
383 (modify-phases %standard-phases
384 (add-before 'configure 'add-include-path
385 (lambda* (#:key inputs #:allow-other-keys)
386 (substitute* "cmake/modules/FindClang.cmake"
387 (("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line)
388 (string-append line " " (assoc-ref inputs "clang") "/lib")))
389 #t)))))
390 (home-page "https://kdevelop.org")
391 (synopsis "IDE for C, C++, Python, Javascript and PHP")
392 (description "The KDevelop IDE provides semantic syntax highlighting, as
393 well as code navigation and completion for C, C++ (using Clang/LLVM), QML,
394 JavaScript, Python and PHP. It also integrates with a debugger, different
395 build systems (CMake, QMake, custom Makefiles) and version control
396 software (Git, Subversion, Mercurial, CVS and Bazaar).")
397 (license license:lgpl2.1+)))
398
399 (define-public kdevelop-pg-qt
400 (package
401 (name "kdevelop-pg-qt")
402 (version "2.2.1")
403 (source
404 (origin
405 (method git-fetch)
406 (uri (git-reference
407 (url "https://github.com/KDE/kdevelop-pg-qt")
408 (commit (string-append "v" version))))
409 (file-name (git-file-name name version))
410 (sha256
411 (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
412 (native-inputs
413 `(("extra-cmake-modules" ,extra-cmake-modules)))
414 (inputs
415 `(("qtbase" ,qtbase)))
416 (build-system cmake-build-system)
417 (home-page "https://kde.org")
418 (synopsis "Parser generator library for KDevplatform")
419 (description "KDevelop-PG-Qt is the parser generator used in KDevplatform
420 for some KDevelop language plugins (Ruby, PHP, CSS...).")
421 (license license:lgpl2.0+)))
422
423 ;; kdevplatform was merged into kdevelop as of 5.2.x
424 (define-deprecated kdevplatform kdevelop)
425
426 (define-public kdiagram
427 (package
428 (name "kdiagram")
429 (version "2.7.0")
430 (source
431 (origin
432 (method url-fetch)
433 (uri (string-append "mirror://kde/stable/kdiagram/" version
434 "/kdiagram-" version ".tar.xz"))
435 (sha256
436 (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3"))
437 (patches (search-patches
438 "kdiagram-Fix-missing-link-libraries.patch"))))
439 (build-system qt-build-system)
440 (native-inputs
441 `(("extra-cmake-modules" ,extra-cmake-modules)
442 ("qttools" ,qttools)))
443 (inputs
444 `(("qtbase" ,qtbase)
445 ("qtsvg" ,qtsvg)))
446 (home-page "https://invent.kde.org/graphics/kdiagram")
447 (synopsis "Libraries for creating business diagrams")
448 (description "This package provides libraries for integrating business
449 diagrams in Qt-based applications.
450
451 @code{KCharts} provides an implementation of the ODF Chart specification. It
452 supports stock charts, box charts, and whisker charts. @code{KGantt} provides
453 a module for implementing ODF Gantt charts, which are bar charts that
454 illustrate project schedules.")
455 (license license:gpl2+)))
456
457 (define-public krita
458 (package
459 (name "krita")
460 (version "4.4.1")
461 (source (origin
462 (method url-fetch)
463 (uri (string-append
464 "mirror://kde/stable/krita/" version
465 "/krita-" version ".tar.gz"))
466 (sha256
467 (base32
468 "05rq5hkh2lmk8hall2h9ccaav0nw8fj7vd4aff5fyp2fiq3aybbg"))))
469 (build-system cmake-build-system)
470 (arguments
471 `(#:tests? #f
472 #:configure-flags
473 (list "-DBUILD_TESTING=OFF"
474 (string-append "-DCMAKE_CXX_FLAGS=-I"
475 (assoc-ref %build-inputs "openexr")
476 "/include/OpenEXR"))
477 #:phases
478 (modify-phases %standard-phases
479 ;; Ensure that icons are found at runtime.
480 ;; This works around <https://bugs.gnu.org/22138>.
481 (add-after 'install 'wrap-executable
482 (lambda* (#:key inputs outputs #:allow-other-keys)
483 (let ((out (assoc-ref outputs "out"))
484 (qt '("qtbase" "qtsvg")))
485 (wrap-program (string-append out "/bin/krita")
486 `("QT_PLUGIN_PATH" ":" prefix
487 ,(map (lambda (label)
488 (string-append (assoc-ref inputs label)
489 "/lib/qt5/plugins/"))
490 qt)))
491 #t))))))
492 (native-inputs
493 `(("curl" ,curl)
494 ("eigen" ,eigen)
495 ("extra-cmake-modules" ,extra-cmake-modules)
496 ("gettext-minimal" ,gettext-minimal)
497 ("kitemmodels" ,kitemmodels)
498 ("pkg-config" ,pkg-config)
499 ("qwt" ,qwt)
500 ("vc" ,vc)))
501 (inputs
502 `(("boost" ,boost)
503 ("exiv2" ,exiv2)
504 ("fftw" ,fftw)
505 ("gsl" ,gsl)
506 ("ilmbase" ,ilmbase)
507 ("karchive" ,karchive)
508 ("kcompletion" ,kcompletion)
509 ("kconfig" ,kconfig)
510 ("kcoreaddons" ,kcoreaddons)
511 ("kcrash" ,kcrash)
512 ("kguiaddons" ,kguiaddons)
513 ("ki18n" ,ki18n)
514 ("kiconthemes" ,kiconthemes)
515 ("kio" ,kio)
516 ("kitemviews" ,kitemviews)
517 ("kwidgetsaddons" ,kwidgetsaddons)
518 ("kwindowsystem" ,kwindowsystem)
519 ("kxmlgui" ,kxmlgui)
520 ("lcms" ,lcms)
521 ("libjpeg-turbo" ,libjpeg-turbo)
522 ("libpng" ,libpng)
523 ("libraw" ,libraw-0.18)
524 ("libtiff" ,libtiff)
525 ("libx11" ,libx11)
526 ("libxcb" ,libxcb)
527 ("libxi" ,libxi)
528 ("openexr" ,openexr)
529 ("perl" ,perl)
530 ("poppler-qt5" ,poppler-qt5)
531 ("qtbase" ,qtbase)
532 ("qtdeclarative" ,qtdeclarative)
533 ("qtmultimedia" ,qtmultimedia)
534 ("qtsvg" ,qtsvg)
535 ("qtx11extras" ,qtx11extras)
536 ("quazip" ,quazip)
537 ("zlib" ,zlib)))
538 (home-page "https://krita.org")
539 (synopsis "Digital painting application")
540 (description
541 "Krita is a professional painting tool designed for concept artists,
542 illustrators, matte and texture artists, and the VFX industry. Notable
543 features include brush stabilizers, brush engines and wrap-around mode.")
544 (license license:gpl2+)))
545
546 (define-public libkomparediff2
547 (package
548 (name "libkomparediff2")
549 (version "20.04.1")
550 (source
551 (origin
552 (method url-fetch)
553 (uri (string-append "mirror://kde/stable/release-service/" version
554 "/src/libkomparediff2-" version ".tar.xz"))
555 (sha256
556 (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc"))))
557 (native-inputs
558 `(("extra-cmake-modules" ,extra-cmake-modules)
559 ("pkg-config" ,pkg-config)))
560 (inputs
561 `(("kcodecs" ,kcodecs)
562 ("kconfig" ,kconfig)
563 ("kcoreaddons" ,kcoreaddons)
564 ("ki18n" ,ki18n)
565 ("kio" ,kio)
566 ("kxmlgui" ,kxmlgui)
567 ("qtbase" ,qtbase)))
568 (build-system cmake-build-system)
569 (home-page "https://kde.org")
570 (synopsis "Library to compare files and strings, used in Kompare and KDevelop")
571 (description "Libkomparediff2 is a library to work with diffs and patches,
572 used in KDE development tools Kompare and KDevelop.")
573
574 ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
575 ;; source archive
576 (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
577
578 (define-public qca
579 (package
580 (name "qca")
581 (version "2.3.1")
582 (source
583 (origin
584 (method url-fetch)
585 (uri (string-append "mirror://kde/stable/qca/" version
586 "/qca-" version ".tar.xz"))
587 (sha256
588 (base32
589 "0jsfjwz84fc5jnl16aiwrcd6pgs5lzizm2896wildz5yk8852f61"))))
590 (build-system cmake-build-system)
591 (native-inputs
592 `(("pkg-config" ,pkg-config)))
593 (inputs
594 `(("openssl" ,openssl)
595 ("qtbase" ,qtbase)))
596 (home-page "https://userbase.kde.org/QCA")
597 (synopsis "Libraries for the Qt Cryptographic Architecture")
598 (description "The Qt Cryptographic Architecture (QCA) provides a
599 straightforward and cross-platform API for a range of cryptographic features,
600 including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart
601 cards.")
602 (license license:lgpl2.1+)))
603
604 (define-public kpmcore
605 (package
606 (name "kpmcore")
607 (version "4.1.0")
608 (source (origin
609 (method url-fetch)
610 (uri (string-append
611 "mirror://kde/stable/kpmcore"
612 "/" version "/src/"
613 name "-" version ".tar.xz"))
614 (sha256
615 (base32
616 "0jsig7algmab9h0fb09my0axjqzw83zgscamhzl8931lribs6idm"))))
617 (build-system cmake-build-system)
618 (native-inputs
619 `(("extra-cmake-modules" ,extra-cmake-modules)
620 ("pkg-config" ,pkg-config)))
621 (inputs
622 `(("kauth" ,kauth)
623 ("kcoreaddons" ,kcoreaddons)
624 ("ki18n" ,ki18n)
625 ("kwidgetsaddons" ,kwidgetsaddons)
626 ("qtbase" ,qtbase)
627 ("qca" ,qca)
628 ("util-linux" ,util-linux "lib")))
629 (home-page "https://community.kde.org/Frameworks")
630 (synopsis "Library for managing partitions")
631 (description "Library for managing partitions.")
632 (license license:gpl3+)))
633
634 (define-public snorenotify
635 (package
636 (name "snorenotify")
637 (version "0.7.0")
638 (source
639 (origin
640 (method url-fetch)
641 (uri (string-append "mirror://kde/stable/snorenotify/"
642 version "/src/snorenotify-" version ".tar.xz"))
643 (sha256
644 (base32
645 "0jz6ivk90h7iwgyxar7xzzj8yvzn6s1my6cqs9bdnwqswfk1nhbd"))))
646 (build-system cmake-build-system)
647 (arguments
648 `(#:tests? #f)) ; both tests fail, require display
649 (inputs
650 `(("qtbase" ,qtbase)))
651 (native-inputs
652 `(("extra-cmake-modules" ,extra-cmake-modules)
653 ("qttools" ,qttools)))
654 (home-page "https://techbase.kde.org/Projects/Snorenotify")
655 (synopsis "Qt notification framework")
656 (description "Snorenotify is a multi platform Qt notification framework.
657 Using a plugin system it is possible to create notifications with many
658 different notification systems.")
659 (license license:lgpl3)))
660
661 (define-public kdeconnect
662 (package
663 (name "kdeconnect")
664 (version "20.04.2")
665 (source
666 (origin
667 (method url-fetch)
668 (uri (string-append "mirror://kde/stable/release-service/"
669 version "/src/kdeconnect-kde-"
670 version ".tar.xz"))
671 (sha256
672 (base32
673 "0yq3afbbcc9gmlcachvh3xz3gdj57092fpagp36l5knw8gr0d9ip"))))
674 (build-system qt-build-system)
675 (arguments
676 `(#:configure-flags '("-DBUILD_TESTING=ON"
677 "-DKDE_INSTALL_LIBEXECDIR=libexec")
678 #:phases (modify-phases %standard-phases
679 (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
680 (lambda* (#:key inputs #:allow-other-keys)
681 ;; FIXME: <kcmutils_version.h> is not found during one
682 ;; of the compilation steps without this hack.
683 (setenv "CPLUS_INCLUDE_PATH"
684 (string-append (assoc-ref inputs "kcmutils")
685 "/include/KF5:"
686 (or (getenv "CPLUS_INCLUDE_PATH")
687 "")))
688 #t)))
689 #:tests? #f)) ; tests fail hard in our build environment
690 (native-inputs
691 `(("extra-cmake-modules" ,extra-cmake-modules)
692 ("kdoctools" ,kdoctools)
693 ("libxtst" ,libxtst)
694 ("pkg-config" ,pkg-config)
695 ("python" ,python-wrapper)))
696 (inputs
697 `(("kcmutils" ,kcmutils)
698 ("kconfigwidgets" ,kconfigwidgets)
699 ("kdbusaddons" ,kdbusaddons)
700 ("ki18n" ,ki18n)
701 ("kiconthemes" ,kiconthemes)
702 ("kio" ,kio)
703 ("kirigami" ,kirigami)
704 ("knotifications" ,knotifications)
705 ("kpeople" ,kpeople)
706 ("kpeoplevcard" ,kpeoplevcard)
707 ("kwayland" ,kwayland)
708 ("libfakekey" ,libfakekey)
709 ("pulseaudio-qt" ,pulseaudio-qt)
710 ("qca" ,qca)
711 ("qtbase" ,qtbase)
712 ("qtdeclarative" ,qtdeclarative)
713 ("qtgraphicaleffects" ,qtgraphicaleffects)
714 ("qtmultimedia" ,qtmultimedia)
715 ("qtquickcontrols" ,qtquickcontrols)
716 ("qtquickcontrols2" ,qtquickcontrols2)
717 ("qtwayland" ,qtwayland)
718 ("qtx11extras" ,qtx11extras)))
719 (home-page "https://community.kde.org/KDEConnect")
720 (synopsis "Enable your devices to communicate with each other")
721 (description "KDE Connect is a project that enables all your devices to
722 communicate with each other. Here's a few things KDE Connect can do:
723 @enumerate
724 @item Receive your phone notifications on your desktop computer and reply to messages
725 @item Control music playing on your desktop from your phone
726 @item Use your phone as a remote control for your desktop
727 @item Run predefined commands on your PC from connected devices
728 @item Check your phones battery level from the desktop
729 @item Ring your phone to help finding it
730 @item Share files and links between devices
731 @item Browse your phone from the desktop
732 @item Control the desktop's volume from the phone
733 @end enumerate")
734 (properties `((upstream-name . "kdeconnect-kde")))
735 (license (list license:gpl2 license:gpl3)))) ; dual licensed
736
737 (define-public kqtquickcharts
738 (package
739 (name "kqtquickcharts")
740 (version "20.04.1")
741 (source
742 (origin
743 (method url-fetch)
744 (uri (string-append "mirror://kde/stable/release-service/"
745 version "/src/kqtquickcharts-" version ".tar.xz"))
746 (sha256
747 (base32
748 "1wxp35mf9zlpgzi4msdl86b2krdq2ipqw371gyx23r7j84vdyxi3"))))
749 (build-system cmake-build-system)
750 (native-inputs
751 `(("extra-cmake-modules" ,extra-cmake-modules)))
752 (inputs
753 `(("qtbase" ,qtbase)
754 ("qtdeclarative" ,qtdeclarative)))
755 (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
756 (synopsis "Interactive charts for Qt Quick")
757 (description
758 "Kqtquickcharts is a QtQuick plugin to render beautiful and interactive
759 charts.")
760 (license license:lgpl2.1+)))
761
762 (define-public kdf
763 (package
764 (name "kdf")
765 (version "20.12.1")
766 (source (origin
767 (method url-fetch)
768 (uri (string-append "mirror://kde/stable/release-service/"
769 version "/src/kdf-" version ".tar.xz"))
770 (sha256
771 (base32
772 "0ba67hs4vlb3qyvdzhnpmf8p62df12s8aqw4hzf9vnxff3qix5k1"))))
773 (build-system qt-build-system)
774 (native-inputs
775 `(("extra-cmake-modules" ,extra-cmake-modules)
776 ("kdoctools" ,kdoctools)))
777 (inputs
778 `(("kcmutils" ,kcmutils)
779 ("kconfigwidgets" ,kconfigwidgets)
780 ("kcoreaddons" ,kcoreaddons)
781 ("ki18n" ,ki18n)
782 ("kiconthemes" ,kiconthemes)
783 ("kio" ,kio)
784 ("knotifications" ,knotifications)
785 ("kwidgetsaddons" ,kwidgetsaddons)
786 ("kxmlgui" ,kxmlgui)
787 ("qtbase" ,qtbase)))
788 (home-page "https://kde.org/applications/system/kdk")
789 (synopsis "View Disk Usage")
790 (description "KDiskFree displays the available file devices (hard drive
791 partitions, floppy and CD drives, etc.) along with information on their
792 capacity, free space, type and mount point. It also allows you to mount and
793 unmount drives and view them in a file manager.")
794 (license license:gpl2+)))
795
796 (define-public kcachegrind
797 (package
798 (name "kcachegrind")
799 (version "20.04.1")
800 (source (origin
801 (method url-fetch)
802 (uri (string-append "mirror://kde/stable/release-service/" version
803 "/src/kcachegrind-" version ".tar.xz"))
804 (sha256
805 (base32
806 "0fx17s6fj1pxl1mgfrqhchk8sihkbji1x8y3nhb1r0971wzd1nsc"))))
807 (build-system cmake-build-system)
808 (native-inputs
809 `(("extra-cmake-modules" ,extra-cmake-modules)
810 ("perl" ,perl)
811 ("python" ,python)
812 ("qttools" ,qttools)
813 ("kdoctools" ,kdoctools)))
814 (inputs
815 `(("qtbase" ,qtbase)
816 ("karchive" ,karchive)
817 ("ki18n" ,ki18n)
818 ("kio" ,kio)
819 ("kdbusaddons" ,kdbusaddons)))
820 ;; Note: The 'hotshot2calltree' and 'pprof2calltree' scripts depend on
821 ;; Python and PHP, respectively. These are optional and we ignore them
822 ;; for now.
823 (home-page "https://kcachegrind.github.io/html/Home.html")
824 (synopsis "Visualize profiles produces by Valgrind's Cachegrind tool")
825 (description
826 "The data files generated by the Callgrind of Valgrind, an application
827 profiler, can be loaded into KCachegrind for browsing the performance results.
828 There is also a command-line tool to get ASCII reports from data files without
829 the need to use KCachegrind.
830
831 The format of Callgrind output is documented. With conversion scripts,
832 KCachegrind is able to visualize output of other profilers like OProfile, a
833 system-wide profiler for Linux using statistical sampling with hardware
834 performance counters. There also exist converters for profiling output of
835 Python, PHP, and Perl.")
836 (license license:gpl2)))
837
838 (define-public libkdegames
839 (package
840 (name "libkdegames")
841 (version "20.04.1")
842 (source
843 (origin
844 (method url-fetch)
845 (uri (string-append "mirror://kde/stable/release-service/" version
846 "/src/libkdegames-" version ".tar.xz"))
847 (sha256
848 (base32 "1xsrrvhwjwi5aajcaxydmzc69i4yx6shs8ly8vr85njc188ycg13"))))
849 (build-system qt-build-system)
850 (native-inputs
851 `(("extra-cmake-modules" ,extra-cmake-modules)))
852 (inputs
853 `(("karchive" ,karchive)
854 ("kbookmarks" ,kbookmarks)
855 ("kcodecs" ,kcodecs)
856 ("kcompletion" ,kcompletion)
857 ("kconfigwidgets" ,kconfigwidgets)
858 ("kcrash" ,kcrash)
859 ("kdbusaddons" ,kdbusaddons)
860 ("kdeclarative" ,kdeclarative)
861 ("kdnssd" ,kdnssd)
862 ("kglobalaccel" ,kglobalaccel)
863 ("kguiaddons" ,kguiaddons)
864 ("ki18n" ,ki18n)
865 ("kiconthemes" ,kiconthemes)
866 ;("kio" ,kio)
867 ("kitemviews" ,kitemviews)
868 ("kjobwidgets" ,kjobwidgets)
869 ("knewstuff" ,knewstuff)
870 ("kservice" ,kservice)
871 ("ktextwidgets" ,ktextwidgets)
872 ("kwidgetsaddons" ,kwidgetsaddons)
873 ("kxmlgui" ,kxmlgui)
874 ("libsndfile" ,libsndfile)
875 ("openal" ,openal)
876 ("qtbase" ,qtbase)
877 ("qtdeclarative" ,qtdeclarative)
878 ("qtsvg" ,qtsvg)))
879 (home-page "https://games.kde.org/")
880 (synopsis "Runtime library for kdegames")
881 (description "Runtime library for kdegames")
882 (license (list license:gpl2+ license:fdl1.2+))))
883
884 (define-public okular
885 (package
886 (name "okular")
887 (version "20.12.1")
888 (source
889 (origin
890 (method url-fetch)
891 (uri (string-append "mirror://kde/stable/release-service/" version
892 "/src/" name "-" version ".tar.xz"))
893 (sha256
894 (base32 "0gpm7n47yijsjg4yba561j5pbvd98hgvr93w1kvzk851nb87m89c"))))
895 (build-system qt-build-system)
896 ;; The tests fail because they can't find the proper mimetype plugins:
897 ;; "org.kde.okular.core: No plugin for mimetype '"image/jpeg"'."
898 ;; The built program seems to work okay, so we skip the tests for now.
899 (arguments
900 `(#:tests? #f
901 #:configure-flags
902 (list "-DBUILD_TESTING=OFF")))
903 (native-inputs
904 `(("extra-cmake-modules" ,extra-cmake-modules)
905 ("kdoctools" ,kdoctools)
906 ("pkg-config" ,pkg-config)))
907 (inputs
908 `(("ebook-tools" ,ebook-tools)
909 ("breeze-icons" ,breeze-icons)
910 ("discount" ,discount)
911 ("djvulibre" ,djvulibre)
912 ("kactivities" ,kactivities)
913 ("khtml" ,khtml)
914 ("chmlib" ,chmlib)
915 ("kdegraphics-mobipocket" ,kdegraphics-mobipocket)
916 ("karchive" ,karchive)
917 ("kbookmarks" ,kbookmarks)
918 ("kcompletion" ,kcompletion)
919 ("kconfig" ,kconfig)
920 ("qtbase" ,qtbase)
921 ("libjpeg-turbo" ,libjpeg-turbo)
922 ("libtiff" ,libtiff)
923 ("kirigami" ,kirigami)
924 ("purpose" ,purpose)
925 ("freetype" ,freetype)
926 ("kiconthemes" ,kiconthemes)
927 ("kio" ,kio)
928 ("kparts" ,kparts)
929 ("kpty" ,kpty)
930 ("qtspeech" ,qtspeech)
931 ("kwallet" ,kwallet)
932 ("kwindowsystem" ,kwindowsystem)
933 ("libkexiv2" ,libkexiv2)
934 ("libspectre" ,libspectre)
935 ("libzip" ,libzip)
936 ("phonon" ,phonon)
937 ("poppler-qt5" ,poppler-qt5)
938 ("qca" ,qca)
939 ("qtdeclarative" ,qtdeclarative)
940 ("qtsvg" ,qtsvg)
941 ("threadweaver" ,threadweaver)
942 ("kcrash" ,kcrash)
943 ("kjs" ,kjs)))
944 (home-page "https://kde.org/applications/graphics/okular/")
945 (synopsis "Document viewer")
946 (description
947 "Okular is a document viewer developed for KDE. It can display files in
948 a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
949 (license license:gpl2+)))
950
951 (define-public poxml
952 (package
953 (name "poxml")
954 (version "20.12.1")
955 (source (origin
956 (method url-fetch)
957 (uri
958 (string-append "mirror://kde/stable/release-service/" version
959 "/src/poxml-" version ".tar.xz"))
960 (sha256
961 (base32
962 "1smjvblx0jcv3afs2sr4qcmvhqd44iw24hvr9fppa3nxhrmjwmlk"))))
963 (build-system cmake-build-system)
964 (native-inputs
965 `(("extra-cmake-modules" ,extra-cmake-modules)
966 ("kdoctools" ,kdoctools)))
967 (inputs
968 `(("gettext" ,gettext-minimal)
969 ("qtbase" ,qtbase)))
970 (home-page "https://kde.org/applications/development")
971 (synopsis "Tools for translating DocBook XML files with Gettext")
972 (description "This is a collection of tools that facilitate translating
973 DocBook XML files using Gettext message files (PO files). Also included are
974 several command-line utilities for manipulating DocBook XML files, PO files and
975 PO template files.")
976 (license license:gpl2+)))
977
978 (define-public kdegraphics-mobipocket
979 (package
980 (name "kdegraphics-mobipocket")
981 (version "20.12.0")
982 (source
983 (origin
984 (method url-fetch)
985 (uri (string-append "mirror://kde/stable/release-service/" version
986 "/src/" name "-" version ".tar.xz"))
987 (sha256
988 (base32 "0fm880lp9g60zgrkjyh4jxws6x0s77l9ia4f8pza3w8sxcbbswk5"))))
989 (build-system cmake-build-system)
990 (native-inputs
991 `(("extra-cmake-modules" ,extra-cmake-modules)))
992 (inputs
993 `(("kio" ,kio)
994 ("qtbase" ,qtbase)))
995 (home-page "https://apps.kde.org/en/kdegraphics_mobipocket")
996 (synopsis "KDE thumbnailer for Mobipocket files")
997 (description "This package provides a KDE plugin that shows thumbnails of
998 Mobipocket e-books in Dolphin and other KDE apps.")
999 (license license:gpl2+)))
1000
1001 (define-public libkexiv2
1002 (package
1003 (name "libkexiv2")
1004 (version "20.12.0")
1005 (source
1006 (origin
1007 (method url-fetch)
1008 (uri (string-append "mirror://kde/stable/release-service/" version
1009 "/src/" name "-" version ".tar.xz"))
1010 (sha256
1011 (base32 "0k0iinf7s8qlk3fwvq7iic1b4zn2gm65rfd58q7d3wb1i1j2hjjk"))))
1012 (build-system cmake-build-system)
1013 (native-inputs
1014 `(("extra-cmake-modules" ,extra-cmake-modules)))
1015 (inputs
1016 `(("exiv2" ,exiv2)
1017 ("qtbase" ,qtbase)))
1018 (home-page "https://invent.kde.org/graphics/libkexiv2")
1019 (synopsis "Manipulate the metadata of images")
1020 (description "Libkexiv2 wraps the Exiv2 library, allowing to manipulate
1021 picture metadata as EXIF/IPTC and XMP.")
1022 (license license:gpl2+)))
1023
1024 (define-public zeroconf-ioslave
1025 (package
1026 (name "zeroconf-ioslave")
1027 (version "20.04.1")
1028 (source
1029 (origin
1030 (method url-fetch)
1031 (uri (string-append "mirror://kde/stable/release-service/" version
1032 "/src/zeroconf-ioslave-" version ".tar.xz"))
1033 (sha256
1034 (base32 "1qck5jyc4psslpibhki8sz8aj0hsnx8z791vzyn10lmdzn71vx8c"))))
1035 (build-system qt-build-system)
1036 (native-inputs
1037 `(("extra-cmake-modules" ,extra-cmake-modules)))
1038 (inputs
1039 `(("kdbusaddons" ,kdbusaddons)
1040 ("kdnssd" ,kdnssd)
1041 ("ki18n" ,ki18n)
1042 ("kio" ,kio)
1043 ("qtbase" ,qtbase)))
1044 (home-page "https://kde.org/applications/internet/org.kde.zeroconf_ioslave")
1045 (synopsis "DNS-SD Service Discovery Monitor")
1046 (description "Adds an entry to Dolphin's Network page to show local
1047 services such as printers which advertise themselves with DNSSD (called Avahi
1048 or Bonjour by other projects).")
1049 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1050 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1051
1052
1053 (define-public kuserfeedback
1054 ;; FIXME: Try to reduce data collection and ensure transmission i disabled by default.
1055 ;; FIXME: Check https://www.reddit.com/r/kde/comments/f7ojg9 for insights
1056 (package
1057 (name "kuserfeedback")
1058 (version "1.0.0")
1059 (source
1060 (origin
1061 (method url-fetch)
1062 (uri (string-append "mirror://kde/stable/kuserfeedback/"
1063 "/kuserfeedback-" version ".tar.xz"))
1064 (sha256
1065 (base32 "1dwx9fscnfp3zsxdir774skn8xvad2dvscnaaw3ji6mrnkmm6bss"))))
1066 (build-system qt-build-system)
1067 (native-inputs
1068 `(("extra-cmake-modules" ,extra-cmake-modules)
1069 ("qttools" ,qttools)
1070 ;; For optional component "Survey target expression parser"
1071 ("bison" ,bison)
1072 ("flex" ,flex)
1073 ;; For syntax checking and unit tests of PHP server code
1074 ;;("php" ,php)
1075 ;;("phpunit" ,phpunit)
1076 ))
1077 (inputs
1078 `(("qtbase" ,qtbase)
1079 ("qtcharts" ,qtcharts)
1080 ("qtdeclarative" ,qtdeclarative)
1081 ("qtsvg" ,qtsvg)))
1082 (arguments
1083 `(#:tests? #f)) ;; 4/17 fail
1084 (home-page "https://api.kde.org/frameworks/kuserfeedback/html/")
1085 (synopsis "Framework for collecting feedback from application users via
1086 telemetry and targeted surveys")
1087 (description "This framework consists of the following components:
1088 @itemize
1089 @item Libraries for use in applications.
1090 @item QML bindings for the above.
1091 @item A server application.
1092 @item A management and analytics application.
1093 @end itemize")
1094 (license license:expat)))