gnu: bitcoin-unlimited: Update to 1.9.2.0.
[jackhill/guix/guix.git] / gnu / packages / kde.scm
CommitLineData
d34c594a 1;;; GNU Guix --- Functional package management for GNU
f60ef2f7 2;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
15cd7067 3;;; Copyright © 2016 David Craven <david@craven.ch>
d3065c87 4;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
a50f5258 5;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
8b7e84b9 6;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
a50f5258 7;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
2668e06e 8;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
00fad32a 9;;; Copyright © 2018, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
9b65dea8 10;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
9141cec4 11;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
5b4239b9 12;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
18bf33a7 13;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
7a8d4557 14;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
6c304e02 15;;; Copyright © 2021 Alexandros Theodotou <alex@zrythm.org>
18b26a43 16;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
3eec8cd3 17;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
d34c594a
EF
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)
e185e900 36 #:use-module (guix build-system qt)
e87b83b6 37 #:use-module (guix deprecation)
d34c594a 38 #:use-module (guix download)
a50f5258 39 #:use-module (guix git-download)
d34c594a
EF
40 #:use-module ((guix licenses) #:prefix license:)
41 #:use-module (guix packages)
42 #:use-module (guix utils)
38988dbe 43 #:use-module (gnu packages)
40761f57 44 #:use-module (gnu packages algebra)
c02c8cf4 45 #:use-module (gnu packages apr)
3eec8cd3 46 #:use-module (gnu packages astronomy)
b9c9cdbf 47 #:use-module (gnu packages audio)
00fad32a 48 #:use-module (gnu packages bison)
c02c8cf4 49 #:use-module (gnu packages boost)
6e23bee6 50 #:use-module (gnu packages code)
a2954e2a 51 #:use-module (gnu packages cpp)
f447dbc7 52 #:use-module (gnu packages compression)
40761f57 53 #:use-module (gnu packages curl)
a387cbab 54 #:use-module (gnu packages djvu)
f447dbc7 55 #:use-module (gnu packages documentation)
31651ff6 56 #:use-module (gnu packages gnupg)
a387cbab 57 #:use-module (gnu packages ebook)
00fad32a 58 #:use-module (gnu packages flex)
a387cbab 59 #:use-module (gnu packages fontutils)
40761f57
MM
60 #:use-module (gnu packages gettext)
61 #:use-module (gnu packages ghostscript)
7781afde
TD
62 #:use-module (gnu packages gl)
63 #:use-module (gnu packages gnome)
40761f57
MM
64 #:use-module (gnu packages graphics)
65 #:use-module (gnu packages image)
550791b8 66 #:use-module (gnu packages kde-frameworks)
9141cec4 67 #:use-module (gnu packages kde-pim)
bec2a2e1 68 #:use-module (gnu packages kde-plasma)
15cd7067 69 #:use-module (gnu packages linux)
7781afde 70 #:use-module (gnu packages llvm)
a387cbab 71 #:use-module (gnu packages markup)
40761f57
MM
72 #:use-module (gnu packages maths)
73 #:use-module (gnu packages pdf)
74 #:use-module (gnu packages perl)
75 #:use-module (gnu packages photo)
d34c594a 76 #:use-module (gnu packages pkg-config)
b9c9cdbf 77 #:use-module (gnu packages pulseaudio)
ce8964b6 78 #:use-module (gnu packages python)
d34c594a 79 #:use-module (gnu packages tls)
c02c8cf4 80 #:use-module (gnu packages qt)
40761f57 81 #:use-module (gnu packages version-control)
a50f5258 82 #:use-module (gnu packages video)
ce8964b6 83 #:use-module (gnu packages xdisorg)
b2fdd0cf 84 #:use-module (gnu packages xml)
40761f57 85 #:use-module (gnu packages xorg))
d34c594a 86
15622105
HG
87(define-public baloo-widgets
88 (package
89 (name "baloo-widgets")
6701d232 90 (version "20.04.1")
15622105
HG
91 (source
92 (origin
93 (method url-fetch)
6701d232 94 (uri (string-append "mirror://kde/stable/release-service/" version
15622105
HG
95 "/src/baloo-widgets-" version ".tar.xz"))
96 (sha256
6701d232 97 (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0"))))
15622105
HG
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)))
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.
117This package contains GUI widgets for baloo.")
118 (license license:lgpl2.0+)))
119
b2fdd0cf
HG
120(define-public grantleetheme
121 (package
122 (name "grantleetheme")
6701d232 123 (version "20.04.1")
b2fdd0cf
HG
124 (source
125 (origin
126 (method url-fetch)
6701d232 127 (uri (string-append "mirror://kde/stable/release-service/" version
b2fdd0cf
HG
128 "/src/grantleetheme-" version ".tar.xz"))
129 (sha256
6701d232 130 (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx"))
b2fdd0cf
HG
131 (patches (search-patches "grantlee-merge-theme-dirs.patch"))))
132 (build-system qt-build-system)
afa493c4 133 (arguments `(#:tests? #f)) ; unexpected error in the test suite.
b2fdd0cf
HG
134 (native-inputs
135 `(("extra-cmake-modules" ,extra-cmake-modules)
136 ("libxml2" ,libxml2))) ;; xmllint required for tests
137 (inputs
138 `(("grantlee" ,grantlee)
6701d232 139 ("kguiaddons" ,kguiaddons)
b2fdd0cf
HG
140 ("ki18n" ,ki18n)
141 ("kiconthemes" ,kiconthemes)
142 ("knewstuff" ,knewstuff)
143 ("qtbase" ,qtbase)))
b828057e 144 (home-page "https://invent.kde.org/pim/grantleetheme")
b2fdd0cf
HG
145 (synopsis "Library providing Grantlee theme support")
146 (description "This library provides Grantlee theme support.")
147 (license ;; LGPL for libraries, FDL for documentation
6701d232 148 (list license:lgpl2.1+ license:fdl1.2+))))
b2fdd0cf 149
31651ff6
Z
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)
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
214sites, blogs and other RSS/Atom-enabled websites without the need to manually
215check for updates using a web browser. Akregator is designed to be both easy to
216use and to be powerful enough to read hundreds of news sources conveniently.
217It comes with a fast search, advanced archiving functionality and an internal
218browser for easy news reading.")
219 (license license:gpl2+)))
220
a50f5258 221(define-public kdenlive
c073efc9 222 (let ((version "20.08.3"))
a50f5258
MM
223 (package
224 (name "kdenlive")
225 (version version)
226 (source
227 (origin
228 (method git-fetch)
229 (uri (git-reference
8ba70a6a 230 (url "https://invent.kde.org/multimedia/kdenlive")
a50f5258
MM
231 (commit (string-append "v" version))))
232 (file-name (string-append name "-" version "-checkout"))
233 (sha256
c073efc9 234 (base32 "0x0qfwf6wfnybjyjvmllpf87sm27d1n2akslhp2k8ins838qy55i"))))
a50f5258
MM
235 (build-system cmake-build-system)
236 (native-inputs
237 `(("extra-cmake-modules" ,extra-cmake-modules)
34b6dd36 238 ("pkg-config" ,pkg-config)
a50f5258 239 ("qttools" ,qttools)))
a50f5258
MM
240 (inputs
241 `(("shared-mime-info" ,shared-mime-info)
242 ("frei0r-plugins" ,frei0r-plugins)
3f663e57 243 ("ffmpeg" ,ffmpeg)
a2954e2a
MR
244 ("rttr" ,rttr)
245 ("mlt" ,mlt)
a50f5258
MM
246 ("qtbase" ,qtbase)
247 ("qtscript" ,qtscript)
248 ("qtsvg" ,qtsvg)
a2954e2a 249 ("qtmultimedia" ,qtmultimedia)
a50f5258
MM
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)
b42b5afd
MW
260 ("kdeclarative" ,kdeclarative)
261 ("qtdeclarative" ,qtdeclarative)
262 ("qtquickcontrols" ,qtquickcontrols)
a2954e2a 263 ("qtquickcontrols2" ,qtquickcontrols2)
b42b5afd 264 ("kiconthemes" ,kiconthemes)
66016b1a
HG
265 ("breeze" ,breeze) ; make dark them available easily
266 ("breeze-icons" ,breeze-icons) ; recommended icon set
34b6dd36
PG
267 ("purpose" ,purpose)
268 ("qtwebkit" ,qtwebkit)
a50f5258 269 ("qtgraphicaleffects" ,qtgraphicaleffects)
b42b5afd 270 ("kplotting" ,kplotting)))
a50f5258 271 (arguments
a2954e2a
MR
272 `(#:tests? #f ;TODO needs X
273 #:phases
a50f5258
MM
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"))
a50f5258 278 (qtbase (assoc-ref inputs "qtbase"))
a50f5258 279 (frei0r (assoc-ref inputs "frei0r-plugins"))
3f663e57 280 (ffmpeg (assoc-ref inputs "ffmpeg"))
66016b1a
HG
281 (breeze (assoc-ref inputs "breeze"))
282 (breeze-icons (assoc-ref inputs "breeze-icons")))
a50f5258 283 (wrap-program (string-append out "/bin/kdenlive")
3f663e57
PG
284 `("PATH" ":" prefix
285 ,(list (string-append ffmpeg "/bin")))
e33a1e54 286 `("XDG_DATA_DIRS" ":" prefix
66016b1a
HG
287 ,(list (string-append breeze "/share")
288 (string-append breeze-icons "/share")))
a50f5258 289 `("QT_PLUGIN_PATH" ":" prefix
cd6ec670 290 ,(list (getenv "QT_PLUGIN_PATH")))
a50f5258
MM
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
cd6ec670 296 ,(list (getenv "QML2_IMPORT_PATH")))
a2954e2a
MR
297 `("MLT_PREFIX" ":" =
298 (,(assoc-ref inputs "mlt")))))
a50f5258
MM
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
304Non-linear video editing is much more powerful than beginner's (linear)
305editors, hence it requires a bit more organization before starting. However,
306it is not reserved to specialists and can be used for small personal
307projects.")
308 (license license:gpl2+))))
309
7781afde
TD
310(define-public kdevelop
311 (package
312 (name "kdevelop")
aa6d4371 313 (version "5.6.1")
7781afde
TD
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
aa6d4371 321 (base32 "02ip5r67hjfpywkm3mz86n6wbqcr7996ifzfd2fyzsvm4998hi4y"))))
6e23bee6 322 (build-system qt-build-system)
7781afde
TD
323 (native-inputs
324 `(("extra-cmake-modules" ,extra-cmake-modules)
325 ("pkg-config" ,pkg-config)
6e23bee6 326 ("shared-mime-info" ,shared-mime-info)
7781afde
TD
327 ("qttools" ,qttools)))
328 (inputs
6e23bee6
HG
329 `(("boost" ,boost)
330 ("clang" ,clang)
331 ("grantlee" ,grantlee)
7781afde
TD
332 ("karchive" ,karchive)
333 ("kcmutils" ,kcmutils)
6e23bee6 334 ("kcrash" ,kcrash)
7781afde
TD
335 ("kdeclarative" ,kdeclarative)
336 ("kdoctools" ,kdoctools)
337 ("kguiaddons" ,kguiaddons)
338 ("ki18n" ,ki18n)
7781afde 339 ("kiconthemes" ,kiconthemes)
6e23bee6 340 ("kio" ,kio) ;; not checked as requirement
7781afde
TD
341 ("kitemmodels" ,kitemmodels)
342 ("kitemviews" ,kitemviews)
343 ("kjobwidgets" ,kjobwidgets)
7781afde 344 ("knotifications" ,knotifications)
6e23bee6 345 ("knotifyconfig" ,knotifyconfig)
7781afde 346 ("kparts" ,kparts)
6e23bee6 347 ("kservice" ,kservice)
7781afde
TD
348 ("ktexteditor" ,ktexteditor)
349 ("kwindowsystem" ,kwindowsystem)
6e23bee6
HG
350 ("kxmlgui" ,kxmlgui)
351 ("libkomparediff2" ,libkomparediff2)
352 ("oxygen-icons" ,oxygen-icons)
353 ("qtbase" ,qtbase)
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
7781afde 373 ("plasma" ,plasma-framework)
6e23bee6
HG
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
7781afde 384 (arguments
6e23bee6
HG
385 `(#:tests? #f ;; there are some issues with the test suite
386 #:phases
0422d3e1 387 (modify-phases %standard-phases
6e23bee6
HG
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)))))
7781afde
TD
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
397well as code navigation and completion for C, C++ (using Clang/LLVM), QML,
398JavaScript, Python and PHP. It also integrates with a debugger, different
399build systems (CMake, QMake, custom Makefiles) and version control
400software (Git, Subversion, Mercurial, CVS and Bazaar).")
401 (license license:lgpl2.1+)))
402
8bb115e0
TD
403(define-public kdevelop-pg-qt
404 (package
405 (name "kdevelop-pg-qt")
f97ad3f8 406 (version "2.2.1")
8bb115e0
TD
407 (source
408 (origin
f97ad3f8
EF
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))
8bb115e0 414 (sha256
f97ad3f8 415 (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
8bb115e0
TD
416 (native-inputs
417 `(("extra-cmake-modules" ,extra-cmake-modules)))
418 (inputs
419 `(("qtbase" ,qtbase)))
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
424for some KDevelop language plugins (Ruby, PHP, CSS...).")
425 (license license:lgpl2.0+)))
426
e87b83b6 427;; kdevplatform was merged into kdevelop as of 5.2.x
9b65dea8 428(define-deprecated kdevplatform kdevelop)
c02c8cf4 429
9d95d8bd
HG
430(define-public kdiagram
431 (package
432 (name "kdiagram")
8415182a 433 (version "2.7.0")
9d95d8bd
HG
434 (source
435 (origin
436 (method url-fetch)
437 (uri (string-append "mirror://kde/stable/kdiagram/" version
438 "/kdiagram-" version ".tar.xz"))
439 (sha256
8415182a 440 (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3"))
9d95d8bd
HG
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)
449 ("qtsvg" ,qtsvg)))
b828057e 450 (home-page "https://invent.kde.org/graphics/kdiagram")
9d95d8bd
HG
451 (synopsis "Libraries for creating business diagrams")
452 (description "This package provides libraries for integrating business
453diagrams in Qt-based applications.
454
455@code{KCharts} provides an implementation of the ODF Chart specification. It
456supports stock charts, box charts, and whisker charts. @code{KGantt} provides
457a module for implementing ODF Gantt charts, which are bar charts that
458illustrate project schedules.")
459 (license license:gpl2+)))
460
40761f57
MM
461(define-public krita
462 (package
463 (name "krita")
18b26a43 464 (version "4.4.3")
40761f57
MM
465 (source (origin
466 (method url-fetch)
467 (uri (string-append
6d8bffd1 468 "mirror://kde/stable/krita/" version
2668e06e 469 "/krita-" version ".tar.gz"))
40761f57
MM
470 (sha256
471 (base32
18b26a43 472 "0rwghzci2wn2jmisvnzs23yxc2z3d4dcx2qbbhcvjyi3q8ij61nl"))))
40761f57
MM
473 (build-system cmake-build-system)
474 (arguments
475 `(#:tests? #f
476 #:configure-flags
2668e06e 477 (list "-DBUILD_TESTING=OFF"
1475d5c6 478 (string-append "-DCMAKE_CXX_FLAGS=-I"
7d703a2f 479 (assoc-ref %build-inputs "openexr")
990e93fc
LF
480 "/include/OpenEXR"))
481 #:phases
482 (modify-phases %standard-phases
1ee750ba
LF
483 ;; Ensure that icons are found at runtime.
484 ;; This works around <https://bugs.gnu.org/22138>.
990e93fc
LF
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))))))
40761f57
MM
496 (native-inputs
497 `(("curl" ,curl)
498 ("eigen" ,eigen)
499 ("extra-cmake-modules" ,extra-cmake-modules)
500 ("gettext-minimal" ,gettext-minimal)
501 ("kitemmodels" ,kitemmodels)
2668e06e 502 ("pkg-config" ,pkg-config)
1475d5c6
MM
503 ("qwt" ,qwt)
504 ("vc" ,vc)))
40761f57 505 (inputs
2668e06e
NG
506 `(("boost" ,boost)
507 ("exiv2" ,exiv2)
508 ("fftw" ,fftw)
509 ("gsl" ,gsl)
510 ("ilmbase" ,ilmbase)
40761f57
MM
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)
40761f57 524 ("lcms" ,lcms)
1475d5c6 525 ("libjpeg-turbo" ,libjpeg-turbo)
2668e06e
NG
526 ("libpng" ,libpng)
527 ("libraw" ,libraw-0.18)
528 ("libtiff" ,libtiff)
40761f57
MM
529 ("libx11" ,libx11)
530 ("libxcb" ,libxcb)
531 ("libxi" ,libxi)
2668e06e 532 ("openexr" ,openexr)
1475d5c6 533 ("perl" ,perl)
2668e06e 534 ("poppler-qt5" ,poppler-qt5)
c23737d6 535 ("qtbase" ,qtbase)
2668e06e
NG
536 ("qtdeclarative" ,qtdeclarative)
537 ("qtmultimedia" ,qtmultimedia)
538 ("qtsvg" ,qtsvg)
539 ("qtx11extras" ,qtx11extras)
540 ("quazip" ,quazip)
541 ("zlib" ,zlib)))
40761f57
MM
542 (home-page "https://krita.org")
543 (synopsis "Digital painting application")
544 (description
545 "Krita is a professional painting tool designed for concept artists,
546illustrators, matte and texture artists, and the VFX industry. Notable
547features include brush stabilizers, brush engines and wrap-around mode.")
548 (license license:gpl2+)))
549
6c304e02
AT
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)
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.
582You run your application in Valgrind with @code{--tool=massif} and then open
583the generated @file{massif.out.%pid} in the visualizer. Gzip or Bzip2
584compressed massif files can also be opened transparently.")
585 (license license:gpl2+)))
586
5a16e1c0
TD
587(define-public libkomparediff2
588 (package
589 (name "libkomparediff2")
6701d232 590 (version "20.04.1")
5a16e1c0
TD
591 (source
592 (origin
593 (method url-fetch)
6701d232 594 (uri (string-append "mirror://kde/stable/release-service/" version
40b5ec2f 595 "/src/libkomparediff2-" version ".tar.xz"))
5a16e1c0 596 (sha256
6701d232 597 (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc"))))
5a16e1c0
TD
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)))
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,
613used 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
d34c594a
EF
619(define-public qca
620 (package
621 (name "qca")
24f0bb21 622 (version "2.3.2")
d34c594a
EF
623 (source
624 (origin
625 (method url-fetch)
bb8d1b2a 626 (uri (string-append "mirror://kde/stable/qca/" version
7f5f61ae 627 "/qca-" version ".tar.xz"))
d34c594a 628 (sha256
24f0bb21 629 (base32 "0vb0kwm4vpf71vczadg6h1ib09sgca0crll7ksbkmg646w1615s6"))))
d34c594a
EF
630 (build-system cmake-build-system)
631 (native-inputs
632 `(("pkg-config" ,pkg-config)))
633 (inputs
634 `(("openssl" ,openssl)
05b9c00e 635 ("qtbase" ,qtbase)))
49e6b0d9 636 (home-page "https://userbase.kde.org/QCA")
d34c594a
EF
637 (synopsis "Libraries for the Qt Cryptographic Architecture")
638 (description "The Qt Cryptographic Architecture (QCA) provides a
639straightforward and cross-platform API for a range of cryptographic features,
640including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart
641cards.")
63be1a7d 642 (license license:lgpl2.1+)))
550791b8 643
15cd7067
HG
644(define-public kpmcore
645 (package
646 (name "kpmcore")
5db3f6c1 647 (version "4.1.0")
15cd7067
HG
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
5db3f6c1 656 "0jsig7algmab9h0fb09my0axjqzw83zgscamhzl8931lribs6idm"))))
15cd7067
HG
657 (build-system cmake-build-system)
658 (native-inputs
659 `(("extra-cmake-modules" ,extra-cmake-modules)
660 ("pkg-config" ,pkg-config)))
661 (inputs
9c881490
662 `(("kauth" ,kauth)
663 ("kcoreaddons" ,kcoreaddons)
15cd7067 664 ("ki18n" ,ki18n)
9c881490 665 ("kwidgetsaddons" ,kwidgetsaddons)
15cd7067 666 ("qtbase" ,qtbase)
38988dbe 667 ("qca" ,qca)
bb93042c 668 ("util-linux" ,util-linux "lib")))
15cd7067
HG
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
550791b8
EF
674(define-public snorenotify
675 (package
676 (name "snorenotify")
677 (version "0.7.0")
678 (source
679 (origin
680 (method url-fetch)
343bffbd 681 (uri (string-append "mirror://kde/stable/snorenotify/"
550791b8
EF
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
3c526173
EF
690 `(("qtbase" ,qtbase)))
691 (native-inputs
550791b8 692 `(("extra-cmake-modules" ,extra-cmake-modules)
5f2074ca 693 ("qttools" ,qttools)))
550791b8
EF
694 (home-page "https://techbase.kde.org/Projects/Snorenotify")
695 (synopsis "Qt notification framework")
696 (description "Snorenotify is a multi platform Qt notification framework.
697Using a plugin system it is possible to create notifications with many
698different notification systems.")
699 (license license:lgpl3)))
ce8964b6
EF
700
701(define-public kdeconnect
702 (package
703 (name "kdeconnect")
05b23730 704 (version "20.04.2")
ce8964b6
EF
705 (source
706 (origin
707 (method url-fetch)
0526185e
EF
708 (uri (string-append "mirror://kde/stable/release-service/"
709 version "/src/kdeconnect-kde-"
ce8964b6
EF
710 version ".tar.xz"))
711 (sha256
712 (base32
05b23730 713 "0yq3afbbcc9gmlcachvh3xz3gdj57092fpagp36l5knw8gr0d9ip"))))
e185e900 714 (build-system qt-build-system)
ce8964b6 715 (arguments
720855b5 716 `(#:configure-flags '("-DBUILD_TESTING=ON"
0526185e 717 "-DKDE_INSTALL_LIBEXECDIR=libexec")
9141cec4
MB
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)))
cd165d10 729 #:tests? #f)) ; tests fail hard in our build environment
ce8964b6
EF
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)
9141cec4 743 ("kirigami" ,kirigami)
ce8964b6 744 ("knotifications" ,knotifications)
9141cec4
MB
745 ("kpeople" ,kpeople)
746 ("kpeoplevcard" ,kpeoplevcard)
ce8964b6
EF
747 ("kwayland" ,kwayland)
748 ("libfakekey" ,libfakekey)
9141cec4 749 ("pulseaudio-qt" ,pulseaudio-qt)
ce8964b6
EF
750 ("qca" ,qca)
751 ("qtbase" ,qtbase)
752 ("qtdeclarative" ,qtdeclarative)
31113b6f 753 ("qtgraphicaleffects" ,qtgraphicaleffects)
9141cec4 754 ("qtmultimedia" ,qtmultimedia)
31113b6f
EF
755 ("qtquickcontrols" ,qtquickcontrols)
756 ("qtquickcontrols2" ,qtquickcontrols2)
f60ef2f7 757 ("qtwayland" ,qtwayland)
ce8964b6
EF
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
762communicate 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")
0d7dfbce 774 (properties `((upstream-name . "kdeconnect-kde")))
ce8964b6 775 (license (list license:gpl2 license:gpl3)))) ; dual licensed
dece3433 776
3eec8cd3
VM
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)
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
850scientific data. It provides an easy way to create, manage and edit plots and
851to perform data analysis.")
852 (license (list license:gpl2+ ;labplot
853 license:gpl3+)))) ;liborigin
854
dece3433
EF
855(define-public kqtquickcharts
856 (package
857 (name "kqtquickcharts")
6701d232 858 (version "20.04.1")
dece3433
EF
859 (source
860 (origin
861 (method url-fetch)
6701d232 862 (uri (string-append "mirror://kde/stable/release-service/"
dece3433
EF
863 version "/src/kqtquickcharts-" version ".tar.xz"))
864 (sha256
865 (base32
6701d232 866 "1wxp35mf9zlpgzi4msdl86b2krdq2ipqw371gyx23r7j84vdyxi3"))))
dece3433
EF
867 (build-system cmake-build-system)
868 (native-inputs
869 `(("extra-cmake-modules" ,extra-cmake-modules)))
870 (inputs
871 `(("qtbase" ,qtbase)
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
877charts.")
878 (license license:lgpl2.1+)))
8cf20d73 879
e4ef47b2
Z
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)))
906 (home-page "https://kde.org/applications/system/kdk")
907 (synopsis "View Disk Usage")
908 (description "KDiskFree displays the available file devices (hard drive
909partitions, floppy and CD drives, etc.) along with information on their
910capacity, free space, type and mount point. It also allows you to mount and
911unmount drives and view them in a file manager.")
912 (license license:gpl2+)))
913
8cf20d73
LC
914(define-public kcachegrind
915 (package
916 (name "kcachegrind")
6701d232 917 (version "20.04.1")
8cf20d73
LC
918 (source (origin
919 (method url-fetch)
6701d232 920 (uri (string-append "mirror://kde/stable/release-service/" version
8cf20d73
LC
921 "/src/kcachegrind-" version ".tar.xz"))
922 (sha256
923 (base32
6701d232 924 "0fx17s6fj1pxl1mgfrqhchk8sihkbji1x8y3nhb1r0971wzd1nsc"))))
8cf20d73
LC
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)
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
945profiler, can be loaded into KCachegrind for browsing the performance results.
946There is also a command-line tool to get ASCII reports from data files without
947the need to use KCachegrind.
948
949The format of Callgrind output is documented. With conversion scripts,
950KCachegrind is able to visualize output of other profilers like OProfile, a
951system-wide profiler for Linux using statistical sampling with hardware
952performance counters. There also exist converters for profiling output of
953Python, PHP, and Perl.")
954 (license license:gpl2)))
b9c9cdbf
HG
955
956(define-public libkdegames
957 (package
958 (name "libkdegames")
6701d232 959 (version "20.04.1")
b9c9cdbf
HG
960 (source
961 (origin
962 (method url-fetch)
6701d232 963 (uri (string-append "mirror://kde/stable/release-service/" version
b9c9cdbf
HG
964 "/src/libkdegames-" version ".tar.xz"))
965 (sha256
6701d232 966 (base32 "1xsrrvhwjwi5aajcaxydmzc69i4yx6shs8ly8vr85njc188ycg13"))))
cd165d10 967 (build-system qt-build-system)
b9c9cdbf
HG
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)
995 ("qtdeclarative" ,qtdeclarative)
996 ("qtsvg" ,qtsvg)))
b9c9cdbf
HG
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+))))
9b98d288 1001
a387cbab
ZJ
1002(define-public okular
1003 (package
1004 (name "okular")
8b7e84b9 1005 (version "20.12.1")
a387cbab
ZJ
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
8b7e84b9 1012 (base32 "0gpm7n47yijsjg4yba561j5pbvd98hgvr93w1kvzk851nb87m89c"))))
a387cbab
ZJ
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)
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/")
785a0f72
LC
1063 (synopsis "Document viewer")
1064 (description
1065 "Okular is a document viewer developed for KDE. It can display files in
1066a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
a387cbab
ZJ
1067 (license license:gpl2+)))
1068
b9cfa7ca
Z
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)))
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
1091DocBook XML files using Gettext message files (PO files). Also included are
1092several command-line utilities for manipulating DocBook XML files, PO files and
1093PO template files.")
1094 (license license:gpl2+)))
1095
7a8d4557
ZJ
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)))
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
1116Mobipocket e-books in Dolphin and other KDE apps.")
1117 (license license:gpl2+)))
fdfa25ed
ZJ
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)))
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
1139picture metadata as EXIF/IPTC and XMP.")
1140 (license license:gpl2+)))
1141
9b98d288
HG
1142(define-public zeroconf-ioslave
1143 (package
1144 (name "zeroconf-ioslave")
6701d232 1145 (version "20.04.1")
9b98d288
HG
1146 (source
1147 (origin
1148 (method url-fetch)
6701d232 1149 (uri (string-append "mirror://kde/stable/release-service/" version
9b98d288
HG
1150 "/src/zeroconf-ioslave-" version ".tar.xz"))
1151 (sha256
6701d232 1152 (base32 "1qck5jyc4psslpibhki8sz8aj0hsnx8z791vzyn10lmdzn71vx8c"))))
9b98d288
HG
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)))
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
1165services such as printers which advertise themselves with DNSSD (called Avahi
1166or 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+))))
00fad32a
HG
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)
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
1204telemetry and targeted surveys")
1205 (description "This framework consists of the following components:
c8ac02b2 1206@itemize
00fad32a
HG
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)))