ebbae237f864109e1a0f74d29052018514c35875
[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, 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>
18 ;;;
19 ;;; This file is part of GNU Guix.
20 ;;;
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.
25 ;;;
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.
30 ;;;
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/>.
33
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))
86
87 (define-public baloo-widgets
88 (package
89 (name "baloo-widgets")
90 (version "20.04.1")
91 (source
92 (origin
93 (method url-fetch)
94 (uri (string-append "mirror://kde/stable/release-service/" version
95 "/src/baloo-widgets-" version ".tar.xz"))
96 (sha256
97 (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0"))))
98 (build-system qt-build-system)
99 (native-inputs
100 `(("extra-cmake-modules" ,extra-cmake-modules)))
101 (inputs
102 `(("baloo" ,baloo)
103 ("kconfig" ,kconfig)
104 ("ki18n" ,ki18n)
105 ("kio" ,kio)
106 ("qtbase" ,qtbase-5)))
107 (arguments
108 `(#:phases
109 (modify-phases %standard-phases
110 (add-before 'check 'check-setup
111 (lambda _
112 (setenv "QT_QPA_PLATFORM" "offscreen")
113 #t)))))
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+)))
119
120 (define-public grantleetheme
121 (package
122 (name "grantleetheme")
123 (version "20.04.1")
124 (source
125 (origin
126 (method url-fetch)
127 (uri (string-append "mirror://kde/stable/release-service/" version
128 "/src/grantleetheme-" version ".tar.xz"))
129 (sha256
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.
134 (native-inputs
135 `(("extra-cmake-modules" ,extra-cmake-modules)
136 ("libxml2" ,libxml2))) ;; xmllint required for tests
137 (inputs
138 `(("grantlee" ,grantlee)
139 ("kguiaddons" ,kguiaddons)
140 ("ki18n" ,ki18n)
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+))))
149
150 (define-public akregator
151 (package
152 (name "akregator")
153 (version "20.04.1")
154 (source
155 (origin
156 (method url-fetch)
157 (uri (string-append "mirror://kde/stable/release-service/" version
158 "/src/akregator-" version ".tar.xz"))
159 (sha256
160 (base32 "1711yhwsdq9iyc3wm3a4xmz81p73hvvc0h58sasc89ifpry50k2p"))))
161 (build-system qt-build-system)
162 (arguments
163 `(#:phases
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")))
172 (wrap-program bin
173 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
174 #t))))))
175 (native-inputs
176 `(("extra-cmake-modules" ,extra-cmake-modules)
177 ("kdoctools" ,kdoctools)))
178 (inputs
179 `(("akonadi" ,akonadi)
180 ("akonadi-contacts" ,akonadi-contacts)
181 ("akonadi-mime" ,akonadi-mime)
182 ("boost" ,boost)
183 ("breeze-icons" ,breeze-icons)
184 ("gpgme" ,gpgme)
185 ("grantlee" ,grantlee)
186 ("grantleetheme" ,grantleetheme)
187 ("kcmutils" ,kcmutils)
188 ("kcontacts" ,kcontacts)
189 ("kcrash" ,kcrash)
190 ("kimap" ,kimap)
191 ("kitemmodels" ,kitemmodels)
192 ("kmessagelib" ,kmessagelib)
193 ("kmime" ,kmime)
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)
203 ("libkleo" ,libkleo)
204 ("qgpgme" ,qgpgme)
205 ("qtbase" ,qtbase-5)
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")
212 (description
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+)))
220
221 (define-public kdenlive
222 (let ((version "20.08.3"))
223 (package
224 (name "kdenlive")
225 (version version)
226 (source
227 (origin
228 (method git-fetch)
229 (uri (git-reference
230 (url "https://invent.kde.org/multimedia/kdenlive")
231 (commit (string-append "v" version))))
232 (file-name (string-append name "-" version "-checkout"))
233 (sha256
234 (base32 "0x0qfwf6wfnybjyjvmllpf87sm27d1n2akslhp2k8ins838qy55i"))))
235 (build-system cmake-build-system)
236 (native-inputs
237 `(("extra-cmake-modules" ,extra-cmake-modules)
238 ("pkg-config" ,pkg-config)
239 ("qttools" ,qttools)))
240 (inputs
241 `(("shared-mime-info" ,shared-mime-info)
242 ("frei0r-plugins" ,frei0r-plugins)
243 ("ffmpeg" ,ffmpeg)
244 ("rttr" ,rttr)
245 ("mlt" ,mlt)
246 ("qtbase" ,qtbase-5)
247 ("qtscript" ,qtscript)
248 ("qtsvg" ,qtsvg)
249 ("qtmultimedia" ,qtmultimedia)
250 ("kparts" ,kparts)
251 ("knotifications" ,knotifications)
252 ("karchive" ,karchive)
253 ("kdbusaddons" ,kdbusaddons)
254 ("kcrash" ,kcrash)
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
267 ("purpose" ,purpose)
268 ("qtwebkit" ,qtwebkit)
269 ("qtgraphicaleffects" ,qtgraphicaleffects)
270 ("kplotting" ,kplotting)))
271 (arguments
272 `(#:tests? #f ;TODO needs X
273 #:phases
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")
284 `("PATH" ":" prefix
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")))
297 `("MLT_PREFIX" ":" =
298 (,(assoc-ref inputs "mlt")))))
299 #t)))))
300 (home-page "https://kdenlive.org")
301 (synopsis "Non-linear video editor")
302 (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
303
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
307 projects.")
308 (license license:gpl2+))))
309
310 (define-public kdevelop
311 (package
312 (name "kdevelop")
313 (version "5.6.1")
314 (source
315 (origin
316 (method url-fetch)
317 (uri (string-append "mirror://kde/stable/kdevelop"
318 "/" version "/src/kdevelop-"
319 version ".tar.xz"))
320 (sha256
321 (base32 "02ip5r67hjfpywkm3mz86n6wbqcr7996ifzfd2fyzsvm4998hi4y"))))
322 (build-system qt-build-system)
323 (native-inputs
324 `(("extra-cmake-modules" ,extra-cmake-modules)
325 ("pkg-config" ,pkg-config)
326 ("shared-mime-info" ,shared-mime-info)
327 ("qttools" ,qttools)))
328 (inputs
329 `(("boost" ,boost)
330 ("clang" ,clang)
331 ("grantlee" ,grantlee)
332 ("karchive" ,karchive)
333 ("kcmutils" ,kcmutils)
334 ("kcrash" ,kcrash)
335 ("kdeclarative" ,kdeclarative)
336 ("kdoctools" ,kdoctools)
337 ("kguiaddons" ,kguiaddons)
338 ("ki18n" ,ki18n)
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)
346 ("kparts" ,kparts)
347 ("kservice" ,kservice)
348 ("ktexteditor" ,ktexteditor)
349 ("kwindowsystem" ,kwindowsystem)
350 ("kxmlgui" ,kxmlgui)
351 ("libkomparediff2" ,libkomparediff2)
352 ("oxygen-icons" ,oxygen-icons)
353 ("qtbase" ,qtbase-5)
354 ("qtdeclarative" ,qtdeclarative)
355 ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
356 ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
357 ("qtwebkit" ,qtwebkit)
358 ("threadweaver" ,threadweaver)
359
360 ;; recommendes
361 ("astyle" ,astyle)
362 ("kdevelop-pg-qt" ,kdevelop-pg-qt)
363 ("libksysguard" ,libksysguard)
364
365 ;; optional
366 ("apr" ,apr) ; required for subversion support
367 ("apr-util" ,apr-util) ; required for subversion support
368 ("attica" ,attica)
369 ("kconfigwidgets" ,kconfigwidgets)
370 ("knewstuff" ,knewstuff)
371 ("krunner" ,krunner)
372 ;; TODO: OktetaGui, OktetaKastenControllers
373 ("plasma" ,plasma-framework)
374 ;; TODO: purpose
375 ("sonnet" ,sonnet)
376 ("subversion" ,subversion)))
377
378 ;; run-time packages - TODO
379 ;; ClazyStandalone
380 ;; Cppcheck
381 ;; heaptrack
382 ;; heaptrack_gui
383 ;; meson
384 (arguments
385 `(#:tests? #f ;; there are some issues with the test suite
386 #:phases
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")))
393 #t)))))
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+)))
402
403 (define-public kdevelop-pg-qt
404 (package
405 (name "kdevelop-pg-qt")
406 (version "2.2.1")
407 (source
408 (origin
409 (method git-fetch)
410 (uri (git-reference
411 (url "https://github.com/KDE/kdevelop-pg-qt")
412 (commit (string-append "v" version))))
413 (file-name (git-file-name name version))
414 (sha256
415 (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
416 (native-inputs
417 `(("extra-cmake-modules" ,extra-cmake-modules)))
418 (inputs
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+)))
426
427 ;; kdevplatform was merged into kdevelop as of 5.2.x
428 (define-deprecated kdevplatform kdevelop)
429
430 (define-public kdiagram
431 (package
432 (name "kdiagram")
433 (version "2.7.0")
434 (source
435 (origin
436 (method url-fetch)
437 (uri (string-append "mirror://kde/stable/kdiagram/" version
438 "/kdiagram-" version ".tar.xz"))
439 (sha256
440 (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3"))
441 (patches (search-patches
442 "kdiagram-Fix-missing-link-libraries.patch"))))
443 (build-system qt-build-system)
444 (native-inputs
445 `(("extra-cmake-modules" ,extra-cmake-modules)
446 ("qttools" ,qttools)))
447 (inputs
448 `(("qtbase" ,qtbase-5)
449 ("qtsvg" ,qtsvg)))
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.
454
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+)))
460
461 (define-public krita
462 (package
463 (name "krita")
464 (version "4.4.5")
465 (source (origin
466 (method url-fetch)
467 (uri (string-append
468 "mirror://kde/stable/krita/" version
469 "/krita-" version ".tar.gz"))
470 (sha256
471 (base32
472 "0s3mzgkxb316y1wncrr8l3w5nnqszhvdh8qi1nh6040dhy075zab"))))
473 (build-system cmake-build-system)
474 (arguments
475 `(#:tests? #f
476 #:configure-flags
477 (list "-DBUILD_TESTING=OFF"
478 (string-append "-DCMAKE_CXX_FLAGS=-I"
479 (assoc-ref %build-inputs "openexr")
480 "/include/OpenEXR"))
481 #:phases
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/"))
494 qt)))
495 #t))))))
496 (native-inputs
497 `(("curl" ,curl)
498 ("eigen" ,eigen)
499 ("extra-cmake-modules" ,extra-cmake-modules)
500 ("gettext-minimal" ,gettext-minimal)
501 ("kitemmodels" ,kitemmodels)
502 ("pkg-config" ,pkg-config)
503 ("qwt" ,qwt)
504 ("vc" ,vc)))
505 (inputs
506 `(("boost" ,boost)
507 ("exiv2" ,exiv2)
508 ("fftw" ,fftw)
509 ("gsl" ,gsl)
510 ("ilmbase" ,ilmbase)
511 ("karchive" ,karchive)
512 ("kcompletion" ,kcompletion)
513 ("kconfig" ,kconfig)
514 ("kcoreaddons" ,kcoreaddons)
515 ("kcrash" ,kcrash)
516 ("kguiaddons" ,kguiaddons)
517 ("ki18n" ,ki18n)
518 ("kiconthemes" ,kiconthemes)
519 ("kio" ,kio)
520 ("kitemviews" ,kitemviews)
521 ("kwidgetsaddons" ,kwidgetsaddons)
522 ("kwindowsystem" ,kwindowsystem)
523 ("kxmlgui" ,kxmlgui)
524 ("lcms" ,lcms)
525 ("libjpeg-turbo" ,libjpeg-turbo)
526 ("libpng" ,libpng)
527 ("libraw" ,libraw-0.18)
528 ("libtiff" ,libtiff)
529 ("libx11" ,libx11)
530 ("libxcb" ,libxcb)
531 ("libxi" ,libxi)
532 ("openexr" ,openexr)
533 ("perl" ,perl)
534 ("poppler-qt5" ,poppler-qt5)
535 ("qtbase" ,qtbase-5)
536 ("qtdeclarative" ,qtdeclarative)
537 ("qtmultimedia" ,qtmultimedia)
538 ("qtsvg" ,qtsvg)
539 ("qtx11extras" ,qtx11extras)
540 ("quazip" ,quazip)
541 ("zlib" ,zlib)))
542 (home-page "https://krita.org")
543 (synopsis "Digital painting application")
544 (description
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+)))
549
550 (define-public massif-visualizer
551 (package
552 (name "massif-visualizer")
553 (version "0.7.0")
554 (source
555 (origin
556 (method url-fetch)
557 (uri (string-append
558 "mirror://kde/stable/massif-visualizer/" version
559 "/src/massif-visualizer-" version ".tar.xz"))
560 (sha256
561 (base32 "0v8z6r9gngzckvqyxjm9kp7hilwfqibyk2f9vag9l98ar0iwr97q"))))
562 (build-system cmake-build-system)
563 (native-inputs
564 `(("extra-cmake-modules" ,extra-cmake-modules)
565 ("pkg-config" ,pkg-config)
566 ("shared-mime-info" ,shared-mime-info)))
567 (inputs
568 `(("karchive" ,karchive)
569 ("kcoreaddons" ,kcoreaddons)
570 ("kparts" ,kparts)
571 ("kdiagram" ,kdiagram)
572 ("kgraphviewer" ,kgraphviewer)
573 ("kio" ,kio)
574 ("ki18n" ,ki18n)
575 ("qtbase" ,qtbase-5)
576 ("qtsvg" ,qtsvg)
577 ("qtxmlpatterns" ,qtxmlpatterns)))
578 (home-page "https://apps.kde.org/en/massif-visualizer")
579 (synopsis "Visualize massif data generated by Valgrind")
580 (description
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+)))
586
587 (define-public libkomparediff2
588 (package
589 (name "libkomparediff2")
590 (version "20.04.1")
591 (source
592 (origin
593 (method url-fetch)
594 (uri (string-append "mirror://kde/stable/release-service/" version
595 "/src/libkomparediff2-" version ".tar.xz"))
596 (sha256
597 (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc"))))
598 (native-inputs
599 `(("extra-cmake-modules" ,extra-cmake-modules)
600 ("pkg-config" ,pkg-config)))
601 (inputs
602 `(("kcodecs" ,kcodecs)
603 ("kconfig" ,kconfig)
604 ("kcoreaddons" ,kcoreaddons)
605 ("ki18n" ,ki18n)
606 ("kio" ,kio)
607 ("kxmlgui" ,kxmlgui)
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.")
614
615 ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
616 ;; source archive
617 (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
618
619 (define-public qca
620 (package
621 (name "qca")
622 (version "2.3.3")
623 (source
624 (origin
625 (method url-fetch)
626 (uri (string-append "mirror://kde/stable/qca/" version
627 "/qca-" version ".tar.xz"))
628 (sha256
629 (base32 "0rvvf97la95lah67jcj0p06n4br0pc2mri0q1hn4x522hndqybjn"))))
630 (build-system cmake-build-system)
631 (native-inputs
632 `(("pkg-config" ,pkg-config)))
633 (inputs
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
641 cards.")
642 (license license:lgpl2.1+)))
643
644 (define-public kpmcore
645 (package
646 (name "kpmcore")
647 (version "4.1.0")
648 (source (origin
649 (method url-fetch)
650 (uri (string-append
651 "mirror://kde/stable/kpmcore"
652 "/" version "/src/"
653 name "-" version ".tar.xz"))
654 (sha256
655 (base32
656 "0jsig7algmab9h0fb09my0axjqzw83zgscamhzl8931lribs6idm"))))
657 (build-system cmake-build-system)
658 (native-inputs
659 `(("extra-cmake-modules" ,extra-cmake-modules)
660 ("pkg-config" ,pkg-config)))
661 (inputs
662 `(("kauth" ,kauth)
663 ("kcoreaddons" ,kcoreaddons)
664 ("ki18n" ,ki18n)
665 ("kwidgetsaddons" ,kwidgetsaddons)
666 ("qtbase" ,qtbase-5)
667 ("qca" ,qca)
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+)))
673
674 (define-public snorenotify
675 (package
676 (name "snorenotify")
677 (version "0.7.0")
678 (source
679 (origin
680 (method url-fetch)
681 (uri (string-append "mirror://kde/stable/snorenotify/"
682 version "/src/snorenotify-" version ".tar.xz"))
683 (sha256
684 (base32
685 "0jz6ivk90h7iwgyxar7xzzj8yvzn6s1my6cqs9bdnwqswfk1nhbd"))))
686 (build-system cmake-build-system)
687 (arguments
688 `(#:tests? #f)) ; both tests fail, require display
689 (inputs
690 `(("qtbase" ,qtbase-5)))
691 (native-inputs
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)))
700
701 (define-public kdeconnect
702 (package
703 (name "kdeconnect")
704 (version "20.04.2")
705 (source
706 (origin
707 (method url-fetch)
708 (uri (string-append "mirror://kde/stable/release-service/"
709 version "/src/kdeconnect-kde-"
710 version ".tar.xz"))
711 (sha256
712 (base32
713 "0yq3afbbcc9gmlcachvh3xz3gdj57092fpagp36l5knw8gr0d9ip"))))
714 (build-system qt-build-system)
715 (arguments
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")
725 "/include/KF5:"
726 (or (getenv "CPLUS_INCLUDE_PATH")
727 "")))
728 #t)))
729 #:tests? #f)) ; tests fail hard in our build environment
730 (native-inputs
731 `(("extra-cmake-modules" ,extra-cmake-modules)
732 ("kdoctools" ,kdoctools)
733 ("libxtst" ,libxtst)
734 ("pkg-config" ,pkg-config)
735 ("python" ,python-wrapper)))
736 (inputs
737 `(("kcmutils" ,kcmutils)
738 ("kconfigwidgets" ,kconfigwidgets)
739 ("kdbusaddons" ,kdbusaddons)
740 ("ki18n" ,ki18n)
741 ("kiconthemes" ,kiconthemes)
742 ("kio" ,kio)
743 ("kirigami" ,kirigami)
744 ("knotifications" ,knotifications)
745 ("kpeople" ,kpeople)
746 ("kpeoplevcard" ,kpeoplevcard)
747 ("kwayland" ,kwayland)
748 ("libfakekey" ,libfakekey)
749 ("pulseaudio-qt" ,pulseaudio-qt)
750 ("qca" ,qca)
751 ("qtbase" ,qtbase-5)
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:
763 @enumerate
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
773 @end enumerate")
774 (properties `((upstream-name . "kdeconnect-kde")))
775 (license (list license:gpl2 license:gpl3)))) ; dual licensed
776
777 (define-public labplot
778 (package
779 (name "labplot")
780 (version "2.8.2")
781 (source
782 (origin
783 (method url-fetch)
784 (uri (string-append "mirror://kde/stable/labplot"
785 "/" version "/labplot-"
786 version ".tar.xz"))
787 (sha256
788 (base32 "1yhxnchwb4n83sxrbn4im41g2sqr0xsim2y242mvyd8pjzd83icf"))))
789 (build-system qt-build-system)
790 (arguments
791 `(#:configure-flags
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")
799 #:phases
800 (modify-phases %standard-phases
801 (replace 'check
802 (lambda* (#:key tests? #:allow-other-keys)
803 (when tests?
804 ;; This test fails, I don't know why.
805 (invoke "ctest" "-E" "parsertest"))
806 #t)))))
807 (native-inputs
808 `(("bison" ,bison)
809 ("extra-cmake-modules" ,extra-cmake-modules)
810 ("pkg-config" ,pkg-config)
811 ("python" ,python-wrapper)
812 ("qttools" ,qttools)))
813 (inputs
814 `(("breeze" ,breeze) ;for dark themes
815 ("breeze-icons" ,breeze-icons) ;for icons
816 ("gsl" ,gsl)
817 ("karchive" ,karchive)
818 ("kcompletion" ,kcompletion)
819 ("kconfig" ,kconfig)
820 ("kconfigwidgets" ,kconfigwidgets)
821 ("kcoreaddons" ,kcoreaddons)
822 ("kcrash" ,kcrash)
823 ("kdoctools" ,kdoctools)
824 ("ki18n" ,ki18n)
825 ("kiconthemes" ,kiconthemes)
826 ("kio" ,kio)
827 ("knewstuff" ,knewstuff)
828 ("kparts" ,kparts)
829 ("kservice" ,kservice)
830 ("ksyntaxhighlighting" ,ksyntaxhighlighting)
831 ("ktextwidgets" ,ktextwidgets)
832 ("kuserfeedback" ,kuserfeedback)
833 ("kwidgetsaddons" ,kwidgetsaddons)
834 ("kxmlgui" ,kxmlgui)
835 ("qtbase" ,qtbase-5)
836 ("qtsvg" ,qtsvg)
837 ("shared-mime-info" ,shared-mime-info)
838 ;; Optional.
839 ("cfitsio" ,cfitsio)
840 ("fftw" ,fftw)
841 ("hdf5" ,hdf5)
842 ("libcerf" ,libcerf)
843 ("lz4" ,lz4)
844 ("netcdf" ,netcdf)
845 ("qtserialport" ,qtserialport)
846 ("zlib" ,zlib)))
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
854
855 (define-public kqtquickcharts
856 (package
857 (name "kqtquickcharts")
858 (version "20.04.1")
859 (source
860 (origin
861 (method url-fetch)
862 (uri (string-append "mirror://kde/stable/release-service/"
863 version "/src/kqtquickcharts-" version ".tar.xz"))
864 (sha256
865 (base32
866 "1wxp35mf9zlpgzi4msdl86b2krdq2ipqw371gyx23r7j84vdyxi3"))))
867 (build-system cmake-build-system)
868 (native-inputs
869 `(("extra-cmake-modules" ,extra-cmake-modules)))
870 (inputs
871 `(("qtbase" ,qtbase-5)
872 ("qtdeclarative" ,qtdeclarative)))
873 (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
874 (synopsis "Interactive charts for Qt Quick")
875 (description
876 "Kqtquickcharts is a QtQuick plugin to render beautiful and interactive
877 charts.")
878 (license license:lgpl2.1+)))
879
880 (define-public kdf
881 (package
882 (name "kdf")
883 (version "20.12.1")
884 (source (origin
885 (method url-fetch)
886 (uri (string-append "mirror://kde/stable/release-service/"
887 version "/src/kdf-" version ".tar.xz"))
888 (sha256
889 (base32
890 "0ba67hs4vlb3qyvdzhnpmf8p62df12s8aqw4hzf9vnxff3qix5k1"))))
891 (build-system qt-build-system)
892 (native-inputs
893 `(("extra-cmake-modules" ,extra-cmake-modules)
894 ("kdoctools" ,kdoctools)))
895 (inputs
896 `(("kcmutils" ,kcmutils)
897 ("kconfigwidgets" ,kconfigwidgets)
898 ("kcoreaddons" ,kcoreaddons)
899 ("ki18n" ,ki18n)
900 ("kiconthemes" ,kiconthemes)
901 ("kio" ,kio)
902 ("knotifications" ,knotifications)
903 ("kwidgetsaddons" ,kwidgetsaddons)
904 ("kxmlgui" ,kxmlgui)
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+)))
913
914 (define-public kcachegrind
915 (package
916 (name "kcachegrind")
917 (version "20.04.1")
918 (source (origin
919 (method url-fetch)
920 (uri (string-append "mirror://kde/stable/release-service/" version
921 "/src/kcachegrind-" version ".tar.xz"))
922 (sha256
923 (base32
924 "0fx17s6fj1pxl1mgfrqhchk8sihkbji1x8y3nhb1r0971wzd1nsc"))))
925 (build-system cmake-build-system)
926 (native-inputs
927 `(("extra-cmake-modules" ,extra-cmake-modules)
928 ("perl" ,perl)
929 ("python" ,python)
930 ("qttools" ,qttools)
931 ("kdoctools" ,kdoctools)))
932 (inputs
933 `(("qtbase" ,qtbase-5)
934 ("karchive" ,karchive)
935 ("ki18n" ,ki18n)
936 ("kio" ,kio)
937 ("kdbusaddons" ,kdbusaddons)))
938 ;; Note: The 'hotshot2calltree' and 'pprof2calltree' scripts depend on
939 ;; Python and PHP, respectively. These are optional and we ignore them
940 ;; for now.
941 (home-page "https://kcachegrind.github.io/html/Home.html")
942 (synopsis "Visualize profiles produces by Valgrind's Cachegrind tool")
943 (description
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.
948
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)))
955
956 (define-public libkdegames
957 (package
958 (name "libkdegames")
959 (version "20.04.1")
960 (source
961 (origin
962 (method url-fetch)
963 (uri (string-append "mirror://kde/stable/release-service/" version
964 "/src/libkdegames-" version ".tar.xz"))
965 (sha256
966 (base32 "1xsrrvhwjwi5aajcaxydmzc69i4yx6shs8ly8vr85njc188ycg13"))))
967 (build-system qt-build-system)
968 (native-inputs
969 `(("extra-cmake-modules" ,extra-cmake-modules)))
970 (inputs
971 `(("karchive" ,karchive)
972 ("kbookmarks" ,kbookmarks)
973 ("kcodecs" ,kcodecs)
974 ("kcompletion" ,kcompletion)
975 ("kconfigwidgets" ,kconfigwidgets)
976 ("kcrash" ,kcrash)
977 ("kdbusaddons" ,kdbusaddons)
978 ("kdeclarative" ,kdeclarative)
979 ("kdnssd" ,kdnssd)
980 ("kglobalaccel" ,kglobalaccel)
981 ("kguiaddons" ,kguiaddons)
982 ("ki18n" ,ki18n)
983 ("kiconthemes" ,kiconthemes)
984 ;("kio" ,kio)
985 ("kitemviews" ,kitemviews)
986 ("kjobwidgets" ,kjobwidgets)
987 ("knewstuff" ,knewstuff)
988 ("kservice" ,kservice)
989 ("ktextwidgets" ,ktextwidgets)
990 ("kwidgetsaddons" ,kwidgetsaddons)
991 ("kxmlgui" ,kxmlgui)
992 ("libsndfile" ,libsndfile)
993 ("openal" ,openal)
994 ("qtbase" ,qtbase-5)
995 ("qtdeclarative" ,qtdeclarative)
996 ("qtsvg" ,qtsvg)))
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+))))
1001
1002 (define-public okular
1003 (package
1004 (name "okular")
1005 (version "20.12.1")
1006 (source
1007 (origin
1008 (method url-fetch)
1009 (uri (string-append "mirror://kde/stable/release-service/" version
1010 "/src/" name "-" version ".tar.xz"))
1011 (sha256
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.
1017 (arguments
1018 `(#:tests? #f
1019 #:configure-flags
1020 (list "-DBUILD_TESTING=OFF")))
1021 (native-inputs
1022 `(("extra-cmake-modules" ,extra-cmake-modules)
1023 ("kdoctools" ,kdoctools)
1024 ("pkg-config" ,pkg-config)))
1025 (inputs
1026 `(("ebook-tools" ,ebook-tools)
1027 ("breeze-icons" ,breeze-icons)
1028 ("discount" ,discount)
1029 ("djvulibre" ,djvulibre)
1030 ("kactivities" ,kactivities)
1031 ("khtml" ,khtml)
1032 ("chmlib" ,chmlib)
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)
1045 ("kio" ,kio)
1046 ("kparts" ,kparts)
1047 ("kpty" ,kpty)
1048 ("qtspeech" ,qtspeech)
1049 ("kwallet" ,kwallet)
1050 ("kwindowsystem" ,kwindowsystem)
1051 ("libkexiv2" ,libkexiv2)
1052 ("libspectre" ,libspectre)
1053 ("libzip" ,libzip)
1054 ("phonon" ,phonon)
1055 ("poppler-qt5" ,poppler-qt5)
1056 ("qca" ,qca)
1057 ("qtdeclarative" ,qtdeclarative)
1058 ("qtsvg" ,qtsvg)
1059 ("threadweaver" ,threadweaver)
1060 ("kcrash" ,kcrash)
1061 ("kjs" ,kjs)))
1062 (home-page "https://kde.org/applications/graphics/okular/")
1063 (synopsis "Document viewer")
1064 (description
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+)))
1068
1069 (define-public poxml
1070 (package
1071 (name "poxml")
1072 (version "20.12.1")
1073 (source (origin
1074 (method url-fetch)
1075 (uri
1076 (string-append "mirror://kde/stable/release-service/" version
1077 "/src/poxml-" version ".tar.xz"))
1078 (sha256
1079 (base32
1080 "1smjvblx0jcv3afs2sr4qcmvhqd44iw24hvr9fppa3nxhrmjwmlk"))))
1081 (build-system cmake-build-system)
1082 (native-inputs
1083 `(("extra-cmake-modules" ,extra-cmake-modules)
1084 ("kdoctools" ,kdoctools)))
1085 (inputs
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+)))
1095
1096 (define-public kdegraphics-mobipocket
1097 (package
1098 (name "kdegraphics-mobipocket")
1099 (version "20.12.0")
1100 (source
1101 (origin
1102 (method url-fetch)
1103 (uri (string-append "mirror://kde/stable/release-service/" version
1104 "/src/" name "-" version ".tar.xz"))
1105 (sha256
1106 (base32 "0fm880lp9g60zgrkjyh4jxws6x0s77l9ia4f8pza3w8sxcbbswk5"))))
1107 (build-system cmake-build-system)
1108 (native-inputs
1109 `(("extra-cmake-modules" ,extra-cmake-modules)))
1110 (inputs
1111 `(("kio" ,kio)
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+)))
1118
1119 (define-public libkexiv2
1120 (package
1121 (name "libkexiv2")
1122 (version "20.12.0")
1123 (source
1124 (origin
1125 (method url-fetch)
1126 (uri (string-append "mirror://kde/stable/release-service/" version
1127 "/src/" name "-" version ".tar.xz"))
1128 (sha256
1129 (base32 "0k0iinf7s8qlk3fwvq7iic1b4zn2gm65rfd58q7d3wb1i1j2hjjk"))))
1130 (build-system cmake-build-system)
1131 (native-inputs
1132 `(("extra-cmake-modules" ,extra-cmake-modules)))
1133 (inputs
1134 `(("exiv2" ,exiv2)
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+)))
1141
1142 (define-public zeroconf-ioslave
1143 (package
1144 (name "zeroconf-ioslave")
1145 (version "20.04.1")
1146 (source
1147 (origin
1148 (method url-fetch)
1149 (uri (string-append "mirror://kde/stable/release-service/" version
1150 "/src/zeroconf-ioslave-" version ".tar.xz"))
1151 (sha256
1152 (base32 "1qck5jyc4psslpibhki8sz8aj0hsnx8z791vzyn10lmdzn71vx8c"))))
1153 (build-system qt-build-system)
1154 (native-inputs
1155 `(("extra-cmake-modules" ,extra-cmake-modules)))
1156 (inputs
1157 `(("kdbusaddons" ,kdbusaddons)
1158 ("kdnssd" ,kdnssd)
1159 ("ki18n" ,ki18n)
1160 ("kio" ,kio)
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+))))
1169
1170
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
1174 (package
1175 (name "kuserfeedback")
1176 (version "1.0.0")
1177 (source
1178 (origin
1179 (method url-fetch)
1180 (uri (string-append "mirror://kde/stable/kuserfeedback/"
1181 "/kuserfeedback-" version ".tar.xz"))
1182 (sha256
1183 (base32 "1dwx9fscnfp3zsxdir774skn8xvad2dvscnaaw3ji6mrnkmm6bss"))))
1184 (build-system qt-build-system)
1185 (native-inputs
1186 `(("extra-cmake-modules" ,extra-cmake-modules)
1187 ("qttools" ,qttools)
1188 ;; For optional component "Survey target expression parser"
1189 ("bison" ,bison)
1190 ("flex" ,flex)
1191 ;; For syntax checking and unit tests of PHP server code
1192 ;;("php" ,php)
1193 ;;("phpunit" ,phpunit)
1194 ))
1195 (inputs
1196 `(("qtbase" ,qtbase-5)
1197 ("qtcharts" ,qtcharts)
1198 ("qtdeclarative" ,qtdeclarative)
1199 ("qtsvg" ,qtsvg)))
1200 (arguments
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:
1206 @itemize
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.
1211 @end itemize")
1212 (license license:expat)))