Commit | Line | Data |
---|---|---|
d34c594a | 1 | ;;; GNU Guix --- Functional package management for GNU |
f97ad3f8 | 2 | ;;; Copyright © 2016, 2017, 2019, 2020 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> |
fc87c7ce | 6 | ;;; Copyright © 2017, 2018, 2019, 2020 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> |
15cd7067 | 9 | ;;; Copyright © 2018, 2019 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> |
a2954e2a | 12 | ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> |
18bf33a7 | 13 | ;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com> |
d34c594a EF |
14 | ;;; |
15 | ;;; This file is part of GNU Guix. | |
16 | ;;; | |
17 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
18 | ;;; under the terms of the GNU General Public License as published by | |
19 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
20 | ;;; your option) any later version. | |
21 | ;;; | |
22 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
23 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
24 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
25 | ;;; GNU General Public License for more details. | |
26 | ;;; | |
27 | ;;; You should have received a copy of the GNU General Public License | |
28 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
29 | ||
30 | (define-module (gnu packages kde) | |
31 | #:use-module (guix build-system cmake) | |
e185e900 | 32 | #:use-module (guix build-system qt) |
e87b83b6 | 33 | #:use-module (guix deprecation) |
d34c594a | 34 | #:use-module (guix download) |
a50f5258 | 35 | #:use-module (guix git-download) |
d34c594a EF |
36 | #:use-module ((guix licenses) #:prefix license:) |
37 | #:use-module (guix packages) | |
38 | #:use-module (guix utils) | |
38988dbe | 39 | #:use-module (gnu packages) |
40761f57 | 40 | #:use-module (gnu packages algebra) |
c02c8cf4 | 41 | #:use-module (gnu packages apr) |
b9c9cdbf | 42 | #:use-module (gnu packages audio) |
c02c8cf4 | 43 | #:use-module (gnu packages boost) |
6e23bee6 | 44 | #:use-module (gnu packages code) |
a2954e2a | 45 | #:use-module (gnu packages cpp) |
f447dbc7 | 46 | #:use-module (gnu packages compression) |
40761f57 | 47 | #:use-module (gnu packages curl) |
f447dbc7 | 48 | #:use-module (gnu packages documentation) |
40761f57 MM |
49 | #:use-module (gnu packages gettext) |
50 | #:use-module (gnu packages ghostscript) | |
7781afde TD |
51 | #:use-module (gnu packages gl) |
52 | #:use-module (gnu packages gnome) | |
40761f57 MM |
53 | #:use-module (gnu packages graphics) |
54 | #:use-module (gnu packages image) | |
550791b8 | 55 | #:use-module (gnu packages kde-frameworks) |
9141cec4 | 56 | #:use-module (gnu packages kde-pim) |
bec2a2e1 | 57 | #:use-module (gnu packages kde-plasma) |
15cd7067 | 58 | #:use-module (gnu packages linux) |
7781afde | 59 | #:use-module (gnu packages llvm) |
40761f57 MM |
60 | #:use-module (gnu packages maths) |
61 | #:use-module (gnu packages pdf) | |
62 | #:use-module (gnu packages perl) | |
63 | #:use-module (gnu packages photo) | |
d34c594a | 64 | #:use-module (gnu packages pkg-config) |
b9c9cdbf | 65 | #:use-module (gnu packages pulseaudio) |
ce8964b6 | 66 | #:use-module (gnu packages python) |
d34c594a | 67 | #:use-module (gnu packages tls) |
c02c8cf4 | 68 | #:use-module (gnu packages qt) |
40761f57 | 69 | #:use-module (gnu packages version-control) |
a50f5258 | 70 | #:use-module (gnu packages video) |
ce8964b6 | 71 | #:use-module (gnu packages xdisorg) |
b2fdd0cf | 72 | #:use-module (gnu packages xml) |
40761f57 | 73 | #:use-module (gnu packages xorg)) |
d34c594a | 74 | |
15622105 HG |
75 | (define-public baloo-widgets |
76 | (package | |
77 | (name "baloo-widgets") | |
6701d232 | 78 | (version "20.04.1") |
15622105 HG |
79 | (source |
80 | (origin | |
81 | (method url-fetch) | |
6701d232 | 82 | (uri (string-append "mirror://kde/stable/release-service/" version |
15622105 HG |
83 | "/src/baloo-widgets-" version ".tar.xz")) |
84 | (sha256 | |
6701d232 | 85 | (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0")))) |
15622105 HG |
86 | (build-system qt-build-system) |
87 | (native-inputs | |
88 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
89 | (inputs | |
90 | `(("baloo" ,baloo) | |
91 | ("kconfig" ,kconfig) | |
92 | ("ki18n" ,ki18n) | |
93 | ("kio" ,kio) | |
94 | ("qtbase" ,qtbase))) | |
95 | (arguments | |
96 | `(#:phases | |
97 | (modify-phases %standard-phases | |
98 | (add-before 'check 'check-setup | |
99 | (lambda _ | |
100 | (setenv "QT_QPA_PLATFORM" "offscreen") | |
101 | #t))))) | |
102 | (home-page "https://community.kde.org/Baloo") | |
103 | (synopsis "Wigets for use with Baloo") | |
104 | (description "Baloo is a framework for searching and managing metadata. | |
105 | This package contains GUI widgets for baloo.") | |
106 | (license license:lgpl2.0+))) | |
107 | ||
b2fdd0cf HG |
108 | (define-public grantleetheme |
109 | (package | |
110 | (name "grantleetheme") | |
6701d232 | 111 | (version "20.04.1") |
b2fdd0cf HG |
112 | (source |
113 | (origin | |
114 | (method url-fetch) | |
6701d232 | 115 | (uri (string-append "mirror://kde/stable/release-service/" version |
b2fdd0cf HG |
116 | "/src/grantleetheme-" version ".tar.xz")) |
117 | (sha256 | |
6701d232 | 118 | (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx")) |
b2fdd0cf HG |
119 | (patches (search-patches "grantlee-merge-theme-dirs.patch")))) |
120 | (build-system qt-build-system) | |
121 | (native-inputs | |
122 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
123 | ("libxml2" ,libxml2))) ;; xmllint required for tests | |
124 | (inputs | |
125 | `(("grantlee" ,grantlee) | |
6701d232 | 126 | ("kguiaddons" ,kguiaddons) |
b2fdd0cf HG |
127 | ("ki18n" ,ki18n) |
128 | ("kiconthemes" ,kiconthemes) | |
129 | ("knewstuff" ,knewstuff) | |
130 | ("qtbase" ,qtbase))) | |
b2fdd0cf HG |
131 | (home-page "https://cgit.kde.org/grantleetheme.git") |
132 | (synopsis "Library providing Grantlee theme support") | |
133 | (description "This library provides Grantlee theme support.") | |
134 | (license ;; LGPL for libraries, FDL for documentation | |
6701d232 | 135 | (list license:lgpl2.1+ license:fdl1.2+)))) |
b2fdd0cf | 136 | |
a50f5258 | 137 | (define-public kdenlive |
18bf33a7 | 138 | (let ((version "20.08.1")) |
a50f5258 MM |
139 | (package |
140 | (name "kdenlive") | |
141 | (version version) | |
142 | (source | |
143 | (origin | |
144 | (method git-fetch) | |
145 | (uri (git-reference | |
8ba70a6a | 146 | (url "https://invent.kde.org/multimedia/kdenlive") |
a50f5258 MM |
147 | (commit (string-append "v" version)))) |
148 | (file-name (string-append name "-" version "-checkout")) | |
149 | (sha256 | |
150 | (base32 | |
18bf33a7 | 151 | "15mpw1sysy7mky8fcj0x4zbspz0na7q76xdfj0j8hsggg9d3yq8l")))) |
a50f5258 MM |
152 | (build-system cmake-build-system) |
153 | (native-inputs | |
154 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
155 | ("qttools" ,qttools))) | |
a50f5258 MM |
156 | (inputs |
157 | `(("shared-mime-info" ,shared-mime-info) | |
158 | ("frei0r-plugins" ,frei0r-plugins) | |
3f663e57 | 159 | ("ffmpeg" ,ffmpeg) |
a2954e2a MR |
160 | ("rttr" ,rttr) |
161 | ("mlt" ,mlt) | |
a50f5258 MM |
162 | ("qtbase" ,qtbase) |
163 | ("qtscript" ,qtscript) | |
164 | ("qtsvg" ,qtsvg) | |
a2954e2a | 165 | ("qtmultimedia" ,qtmultimedia) |
a50f5258 MM |
166 | ("kparts" ,kparts) |
167 | ("knotifications" ,knotifications) | |
168 | ("karchive" ,karchive) | |
169 | ("kdbusaddons" ,kdbusaddons) | |
170 | ("kcrash" ,kcrash) | |
171 | ("kguiaddons" ,kguiaddons) | |
172 | ("knewstuff" ,knewstuff) | |
173 | ("knotifyconfig" ,knotifyconfig) | |
174 | ("kfilemetadata" ,kfilemetadata) | |
175 | ("kdoctools" ,kdoctools) | |
b42b5afd MW |
176 | ("kdeclarative" ,kdeclarative) |
177 | ("qtdeclarative" ,qtdeclarative) | |
178 | ("qtquickcontrols" ,qtquickcontrols) | |
a2954e2a | 179 | ("qtquickcontrols2" ,qtquickcontrols2) |
b42b5afd | 180 | ("kiconthemes" ,kiconthemes) |
e33a1e54 | 181 | ("breeze" ,breeze) |
a50f5258 | 182 | ("qtgraphicaleffects" ,qtgraphicaleffects) |
b42b5afd | 183 | ("kplotting" ,kplotting))) |
a50f5258 | 184 | (arguments |
a2954e2a MR |
185 | `(#:tests? #f ;TODO needs X |
186 | #:phases | |
a50f5258 MM |
187 | (modify-phases %standard-phases |
188 | (add-after 'install 'wrap-executable | |
189 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
190 | (let* ((out (assoc-ref outputs "out")) | |
191 | (qtquickcontrols (assoc-ref inputs "qtquickcontrols")) | |
a2954e2a | 192 | (qtquickcontrols2 (assoc-ref inputs "qtquickcontrols2")) |
a50f5258 MM |
193 | (qtbase (assoc-ref inputs "qtbase")) |
194 | (qtdeclarative (assoc-ref inputs "qtdeclarative")) | |
195 | (frei0r (assoc-ref inputs "frei0r-plugins")) | |
3f663e57 | 196 | (ffmpeg (assoc-ref inputs "ffmpeg")) |
e33a1e54 | 197 | (breeze (assoc-ref inputs "breeze")) |
a50f5258 MM |
198 | (qml "/lib/qt5/qml")) |
199 | (wrap-program (string-append out "/bin/kdenlive") | |
3f663e57 PG |
200 | `("PATH" ":" prefix |
201 | ,(list (string-append ffmpeg "/bin"))) | |
e33a1e54 PG |
202 | `("XDG_DATA_DIRS" ":" prefix |
203 | ,(list (string-append breeze "/share"))) | |
a50f5258 MM |
204 | `("QT_PLUGIN_PATH" ":" prefix |
205 | ,(map (lambda (label) | |
206 | (string-append (assoc-ref inputs label) | |
207 | "/lib/qt5/plugins/")) | |
b42b5afd | 208 | '("qtbase" "qtsvg"))) |
a50f5258 MM |
209 | `("FREI0R_PATH" ":" = |
210 | (,(string-append frei0r "/lib/frei0r-1/"))) | |
211 | `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" = | |
212 | (,(string-append qtbase "/lib/qt5/plugins/platforms"))) | |
213 | `("QML2_IMPORT_PATH" ":" prefix | |
214 | (,(string-append qtquickcontrols qml) | |
a2954e2a MR |
215 | ,(string-append qtquickcontrols2 qml) |
216 | ,(string-append qtdeclarative qml))) | |
217 | `("MLT_PREFIX" ":" = | |
218 | (,(assoc-ref inputs "mlt"))))) | |
a50f5258 MM |
219 | #t))))) |
220 | (home-page "https://kdenlive.org") | |
221 | (synopsis "Non-linear video editor") | |
222 | (description "Kdenlive is an acronym for KDE Non-Linear Video Editor. | |
223 | ||
224 | Non-linear video editing is much more powerful than beginner's (linear) | |
225 | editors, hence it requires a bit more organization before starting. However, | |
226 | it is not reserved to specialists and can be used for small personal | |
227 | projects.") | |
228 | (license license:gpl2+)))) | |
229 | ||
7781afde TD |
230 | (define-public kdevelop |
231 | (package | |
232 | (name "kdevelop") | |
32a4c032 | 233 | (version "5.5.2") |
7781afde TD |
234 | (source |
235 | (origin | |
236 | (method url-fetch) | |
237 | (uri (string-append "mirror://kde/stable/kdevelop" | |
238 | "/" version "/src/kdevelop-" | |
239 | version ".tar.xz")) | |
240 | (sha256 | |
32a4c032 | 241 | (base32 "1nkl3z1n1l7ly2zvmbx2sdhx5q72wcvpwhzsz3qgw1474qd9i3i2")))) |
6e23bee6 | 242 | (build-system qt-build-system) |
7781afde TD |
243 | (native-inputs |
244 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
245 | ("pkg-config" ,pkg-config) | |
6e23bee6 | 246 | ("shared-mime-info" ,shared-mime-info) |
7781afde TD |
247 | ("qttools" ,qttools))) |
248 | (inputs | |
6e23bee6 HG |
249 | `(("boost" ,boost) |
250 | ("clang" ,clang) | |
251 | ("grantlee" ,grantlee) | |
7781afde TD |
252 | ("karchive" ,karchive) |
253 | ("kcmutils" ,kcmutils) | |
6e23bee6 | 254 | ("kcrash" ,kcrash) |
7781afde TD |
255 | ("kdeclarative" ,kdeclarative) |
256 | ("kdoctools" ,kdoctools) | |
257 | ("kguiaddons" ,kguiaddons) | |
258 | ("ki18n" ,ki18n) | |
7781afde | 259 | ("kiconthemes" ,kiconthemes) |
6e23bee6 | 260 | ("kio" ,kio) ;; not checked as requirement |
7781afde TD |
261 | ("kitemmodels" ,kitemmodels) |
262 | ("kitemviews" ,kitemviews) | |
263 | ("kjobwidgets" ,kjobwidgets) | |
7781afde | 264 | ("knotifications" ,knotifications) |
6e23bee6 | 265 | ("knotifyconfig" ,knotifyconfig) |
7781afde | 266 | ("kparts" ,kparts) |
6e23bee6 | 267 | ("kservice" ,kservice) |
7781afde TD |
268 | ("ktexteditor" ,ktexteditor) |
269 | ("kwindowsystem" ,kwindowsystem) | |
6e23bee6 HG |
270 | ("kxmlgui" ,kxmlgui) |
271 | ("libkomparediff2" ,libkomparediff2) | |
272 | ("oxygen-icons" ,oxygen-icons) | |
273 | ("qtbase" ,qtbase) | |
274 | ("qtdeclarative" ,qtdeclarative) | |
275 | ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement | |
276 | ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement | |
277 | ("qtwebkit" ,qtwebkit) | |
278 | ("threadweaver" ,threadweaver) | |
279 | ||
280 | ;; recommendes | |
281 | ("astyle" ,astyle) | |
282 | ("kdevelop-pg-qt" ,kdevelop-pg-qt) | |
283 | ("libksysguard" ,libksysguard) | |
284 | ||
285 | ;; optional | |
286 | ("apr" ,apr) ; required for subversion support | |
287 | ("apr-util" ,apr-util) ; required for subversion support | |
288 | ("attica" ,attica) | |
289 | ("kconfigwidgets" ,kconfigwidgets) | |
290 | ("knewstuff" ,knewstuff) | |
291 | ("krunner" ,krunner) | |
292 | ;; TODO: OktetaGui, OktetaKastenControllers | |
7781afde | 293 | ("plasma" ,plasma-framework) |
6e23bee6 HG |
294 | ;; TODO: purpose |
295 | ("sonnet" ,sonnet) | |
296 | ("subversion" ,subversion))) | |
297 | ||
298 | ;; run-time packages - TODO | |
299 | ;; ClazyStandalone | |
300 | ;; Cppcheck | |
301 | ;; heaptrack | |
302 | ;; heaptrack_gui | |
303 | ;; meson | |
7781afde | 304 | (arguments |
6e23bee6 HG |
305 | `(#:tests? #f ;; there are some issues with the test suite |
306 | #:phases | |
0422d3e1 | 307 | (modify-phases %standard-phases |
6e23bee6 HG |
308 | (add-before 'configure 'add-include-path |
309 | (lambda* (#:key inputs #:allow-other-keys) | |
310 | (substitute* "cmake/modules/FindClang.cmake" | |
311 | (("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line) | |
312 | (string-append line " " (assoc-ref inputs "clang") "/lib"))) | |
313 | #t))))) | |
7781afde TD |
314 | (home-page "https://kdevelop.org") |
315 | (synopsis "IDE for C, C++, Python, Javascript and PHP") | |
316 | (description "The KDevelop IDE provides semantic syntax highlighting, as | |
317 | well as code navigation and completion for C, C++ (using Clang/LLVM), QML, | |
318 | JavaScript, Python and PHP. It also integrates with a debugger, different | |
319 | build systems (CMake, QMake, custom Makefiles) and version control | |
320 | software (Git, Subversion, Mercurial, CVS and Bazaar).") | |
321 | (license license:lgpl2.1+))) | |
322 | ||
8bb115e0 TD |
323 | (define-public kdevelop-pg-qt |
324 | (package | |
325 | (name "kdevelop-pg-qt") | |
f97ad3f8 | 326 | (version "2.2.1") |
8bb115e0 TD |
327 | (source |
328 | (origin | |
f97ad3f8 EF |
329 | (method git-fetch) |
330 | (uri (git-reference | |
331 | (url "https://github.com/KDE/kdevelop-pg-qt") | |
332 | (commit (string-append "v" version)))) | |
333 | (file-name (git-file-name name version)) | |
8bb115e0 | 334 | (sha256 |
f97ad3f8 | 335 | (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g")))) |
8bb115e0 TD |
336 | (native-inputs |
337 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
338 | (inputs | |
339 | `(("qtbase" ,qtbase))) | |
340 | (build-system cmake-build-system) | |
341 | (home-page "https://kde.org") | |
342 | (synopsis "Parser generator library for KDevplatform") | |
343 | (description "KDevelop-PG-Qt is the parser generator used in KDevplatform | |
344 | for some KDevelop language plugins (Ruby, PHP, CSS...).") | |
345 | (license license:lgpl2.0+))) | |
346 | ||
e87b83b6 | 347 | ;; kdevplatform was merged into kdevelop as of 5.2.x |
9b65dea8 | 348 | (define-deprecated kdevplatform kdevelop) |
c02c8cf4 | 349 | |
9d95d8bd HG |
350 | (define-public kdiagram |
351 | (package | |
352 | (name "kdiagram") | |
8415182a | 353 | (version "2.7.0") |
9d95d8bd HG |
354 | (source |
355 | (origin | |
356 | (method url-fetch) | |
357 | (uri (string-append "mirror://kde/stable/kdiagram/" version | |
358 | "/kdiagram-" version ".tar.xz")) | |
359 | (sha256 | |
8415182a | 360 | (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3")) |
9d95d8bd HG |
361 | (patches (search-patches |
362 | "kdiagram-Fix-missing-link-libraries.patch")))) | |
363 | (build-system qt-build-system) | |
364 | (native-inputs | |
365 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
366 | ("qttools" ,qttools))) | |
367 | (inputs | |
368 | `(("qtbase" ,qtbase) | |
369 | ("qtsvg" ,qtsvg))) | |
370 | (home-page "https://cgit.kde.org/kdiagram.git/") | |
371 | (synopsis "Libraries for creating business diagrams") | |
372 | (description "This package provides libraries for integrating business | |
373 | diagrams in Qt-based applications. | |
374 | ||
375 | @code{KCharts} provides an implementation of the ODF Chart specification. It | |
376 | supports stock charts, box charts, and whisker charts. @code{KGantt} provides | |
377 | a module for implementing ODF Gantt charts, which are bar charts that | |
378 | illustrate project schedules.") | |
379 | (license license:gpl2+))) | |
380 | ||
40761f57 MM |
381 | (define-public krita |
382 | (package | |
383 | (name "krita") | |
61e1a8e4 | 384 | (version "4.3.0") |
40761f57 MM |
385 | (source (origin |
386 | (method url-fetch) | |
387 | (uri (string-append | |
6d8bffd1 | 388 | "mirror://kde/stable/krita/" version |
2668e06e | 389 | "/krita-" version ".tar.gz")) |
40761f57 MM |
390 | (sha256 |
391 | (base32 | |
61e1a8e4 | 392 | "1njbxv7b56if838gv7ydzm1sprgmaabnp0jlj0bxryxzfdy8hwfh")))) |
40761f57 MM |
393 | (build-system cmake-build-system) |
394 | (arguments | |
395 | `(#:tests? #f | |
396 | #:configure-flags | |
2668e06e | 397 | (list "-DBUILD_TESTING=OFF" |
1475d5c6 | 398 | (string-append "-DCMAKE_CXX_FLAGS=-I" |
7d703a2f | 399 | (assoc-ref %build-inputs "openexr") |
990e93fc LF |
400 | "/include/OpenEXR")) |
401 | #:phases | |
402 | (modify-phases %standard-phases | |
1ee750ba LF |
403 | ;; Ensure that icons are found at runtime. |
404 | ;; This works around <https://bugs.gnu.org/22138>. | |
990e93fc LF |
405 | (add-after 'install 'wrap-executable |
406 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
407 | (let ((out (assoc-ref outputs "out")) | |
408 | (qt '("qtbase" "qtsvg"))) | |
409 | (wrap-program (string-append out "/bin/krita") | |
410 | `("QT_PLUGIN_PATH" ":" prefix | |
411 | ,(map (lambda (label) | |
412 | (string-append (assoc-ref inputs label) | |
413 | "/lib/qt5/plugins/")) | |
414 | qt))) | |
415 | #t)))))) | |
40761f57 MM |
416 | (native-inputs |
417 | `(("curl" ,curl) | |
418 | ("eigen" ,eigen) | |
419 | ("extra-cmake-modules" ,extra-cmake-modules) | |
420 | ("gettext-minimal" ,gettext-minimal) | |
421 | ("kitemmodels" ,kitemmodels) | |
2668e06e | 422 | ("pkg-config" ,pkg-config) |
1475d5c6 MM |
423 | ("qwt" ,qwt) |
424 | ("vc" ,vc))) | |
40761f57 | 425 | (inputs |
2668e06e NG |
426 | `(("boost" ,boost) |
427 | ("exiv2" ,exiv2) | |
428 | ("fftw" ,fftw) | |
429 | ("gsl" ,gsl) | |
430 | ("ilmbase" ,ilmbase) | |
40761f57 MM |
431 | ("karchive" ,karchive) |
432 | ("kcompletion" ,kcompletion) | |
433 | ("kconfig" ,kconfig) | |
434 | ("kcoreaddons" ,kcoreaddons) | |
435 | ("kcrash" ,kcrash) | |
436 | ("kguiaddons" ,kguiaddons) | |
437 | ("ki18n" ,ki18n) | |
438 | ("kiconthemes" ,kiconthemes) | |
439 | ("kio" ,kio) | |
440 | ("kitemviews" ,kitemviews) | |
441 | ("kwidgetsaddons" ,kwidgetsaddons) | |
442 | ("kwindowsystem" ,kwindowsystem) | |
443 | ("kxmlgui" ,kxmlgui) | |
40761f57 | 444 | ("lcms" ,lcms) |
1475d5c6 | 445 | ("libjpeg-turbo" ,libjpeg-turbo) |
2668e06e NG |
446 | ("libpng" ,libpng) |
447 | ("libraw" ,libraw-0.18) | |
448 | ("libtiff" ,libtiff) | |
40761f57 MM |
449 | ("libx11" ,libx11) |
450 | ("libxcb" ,libxcb) | |
451 | ("libxi" ,libxi) | |
2668e06e | 452 | ("openexr" ,openexr) |
1475d5c6 | 453 | ("perl" ,perl) |
2668e06e | 454 | ("poppler-qt5" ,poppler-qt5) |
0448bfe2 | 455 | ("qtbase" ,qtbase-for-krita) |
2668e06e NG |
456 | ("qtdeclarative" ,qtdeclarative) |
457 | ("qtmultimedia" ,qtmultimedia) | |
458 | ("qtsvg" ,qtsvg) | |
459 | ("qtx11extras" ,qtx11extras) | |
460 | ("quazip" ,quazip) | |
461 | ("zlib" ,zlib))) | |
40761f57 MM |
462 | (home-page "https://krita.org") |
463 | (synopsis "Digital painting application") | |
464 | (description | |
465 | "Krita is a professional painting tool designed for concept artists, | |
466 | illustrators, matte and texture artists, and the VFX industry. Notable | |
467 | features include brush stabilizers, brush engines and wrap-around mode.") | |
468 | (license license:gpl2+))) | |
469 | ||
5a16e1c0 TD |
470 | (define-public libkomparediff2 |
471 | (package | |
472 | (name "libkomparediff2") | |
6701d232 | 473 | (version "20.04.1") |
5a16e1c0 TD |
474 | (source |
475 | (origin | |
476 | (method url-fetch) | |
6701d232 | 477 | (uri (string-append "mirror://kde/stable/release-service/" version |
40b5ec2f | 478 | "/src/libkomparediff2-" version ".tar.xz")) |
5a16e1c0 | 479 | (sha256 |
6701d232 | 480 | (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc")))) |
5a16e1c0 TD |
481 | (native-inputs |
482 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
483 | ("pkg-config" ,pkg-config))) | |
484 | (inputs | |
485 | `(("kcodecs" ,kcodecs) | |
486 | ("kconfig" ,kconfig) | |
487 | ("kcoreaddons" ,kcoreaddons) | |
488 | ("ki18n" ,ki18n) | |
489 | ("kio" ,kio) | |
490 | ("kxmlgui" ,kxmlgui) | |
491 | ("qtbase" ,qtbase))) | |
492 | (build-system cmake-build-system) | |
493 | (home-page "https://kde.org") | |
494 | (synopsis "Library to compare files and strings, used in Kompare and KDevelop") | |
495 | (description "Libkomparediff2 is a library to work with diffs and patches, | |
496 | used in KDE development tools Kompare and KDevelop.") | |
497 | ||
498 | ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the | |
499 | ;; source archive | |
500 | (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3)))) | |
501 | ||
d34c594a EF |
502 | (define-public qca |
503 | (package | |
504 | (name "qca") | |
565d2eb0 | 505 | (version "2.3.0") |
d34c594a EF |
506 | (source |
507 | (origin | |
508 | (method url-fetch) | |
bb8d1b2a | 509 | (uri (string-append "mirror://kde/stable/qca/" version |
7f5f61ae | 510 | "/qca-" version ".tar.xz")) |
d34c594a EF |
511 | (sha256 |
512 | (base32 | |
565d2eb0 | 513 | "1mrj748yz1grgzmfbmffgjkpcqiaj1l3m4pbddwcj7dnl50yys0x")))) |
d34c594a EF |
514 | (build-system cmake-build-system) |
515 | (native-inputs | |
516 | `(("pkg-config" ,pkg-config))) | |
517 | (inputs | |
518 | `(("openssl" ,openssl) | |
05b9c00e | 519 | ("qtbase" ,qtbase))) |
49e6b0d9 | 520 | (home-page "https://userbase.kde.org/QCA") |
d34c594a EF |
521 | (synopsis "Libraries for the Qt Cryptographic Architecture") |
522 | (description "The Qt Cryptographic Architecture (QCA) provides a | |
523 | straightforward and cross-platform API for a range of cryptographic features, | |
524 | including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart | |
525 | cards.") | |
526 | (license license:lgpl2.1))) | |
550791b8 | 527 | |
15cd7067 HG |
528 | (define-public kpmcore |
529 | (package | |
530 | (name "kpmcore") | |
5db3f6c1 | 531 | (version "4.1.0") |
15cd7067 HG |
532 | (source (origin |
533 | (method url-fetch) | |
534 | (uri (string-append | |
535 | "mirror://kde/stable/kpmcore" | |
536 | "/" version "/src/" | |
537 | name "-" version ".tar.xz")) | |
538 | (sha256 | |
539 | (base32 | |
5db3f6c1 | 540 | "0jsig7algmab9h0fb09my0axjqzw83zgscamhzl8931lribs6idm")))) |
15cd7067 HG |
541 | (build-system cmake-build-system) |
542 | (native-inputs | |
543 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
544 | ("pkg-config" ,pkg-config))) | |
545 | (inputs | |
9c881490 AŠ |
546 | `(("kauth" ,kauth) |
547 | ("kcoreaddons" ,kcoreaddons) | |
15cd7067 | 548 | ("ki18n" ,ki18n) |
9c881490 | 549 | ("kwidgetsaddons" ,kwidgetsaddons) |
15cd7067 | 550 | ("qtbase" ,qtbase) |
38988dbe | 551 | ("qca" ,qca) |
bb93042c | 552 | ("util-linux" ,util-linux "lib"))) |
15cd7067 HG |
553 | (home-page "https://community.kde.org/Frameworks") |
554 | (synopsis "Library for managing partitions") | |
555 | (description "Library for managing partitions.") | |
556 | (license license:gpl3+))) | |
557 | ||
550791b8 EF |
558 | (define-public snorenotify |
559 | (package | |
560 | (name "snorenotify") | |
561 | (version "0.7.0") | |
562 | (source | |
563 | (origin | |
564 | (method url-fetch) | |
343bffbd | 565 | (uri (string-append "mirror://kde/stable/snorenotify/" |
550791b8 EF |
566 | version "/src/snorenotify-" version ".tar.xz")) |
567 | (sha256 | |
568 | (base32 | |
569 | "0jz6ivk90h7iwgyxar7xzzj8yvzn6s1my6cqs9bdnwqswfk1nhbd")))) | |
570 | (build-system cmake-build-system) | |
571 | (arguments | |
572 | `(#:tests? #f)) ; both tests fail, require display | |
573 | (inputs | |
3c526173 EF |
574 | `(("qtbase" ,qtbase))) |
575 | (native-inputs | |
550791b8 | 576 | `(("extra-cmake-modules" ,extra-cmake-modules) |
5f2074ca | 577 | ("qttools" ,qttools))) |
550791b8 EF |
578 | (home-page "https://techbase.kde.org/Projects/Snorenotify") |
579 | (synopsis "Qt notification framework") | |
580 | (description "Snorenotify is a multi platform Qt notification framework. | |
581 | Using a plugin system it is possible to create notifications with many | |
582 | different notification systems.") | |
583 | (license license:lgpl3))) | |
ce8964b6 EF |
584 | |
585 | (define-public kdeconnect | |
586 | (package | |
587 | (name "kdeconnect") | |
05b23730 | 588 | (version "20.04.2") |
ce8964b6 EF |
589 | (source |
590 | (origin | |
591 | (method url-fetch) | |
0526185e EF |
592 | (uri (string-append "mirror://kde/stable/release-service/" |
593 | version "/src/kdeconnect-kde-" | |
ce8964b6 EF |
594 | version ".tar.xz")) |
595 | (sha256 | |
596 | (base32 | |
05b23730 | 597 | "0yq3afbbcc9gmlcachvh3xz3gdj57092fpagp36l5knw8gr0d9ip")))) |
e185e900 | 598 | (build-system qt-build-system) |
ce8964b6 | 599 | (arguments |
720855b5 | 600 | `(#:configure-flags '("-DBUILD_TESTING=ON" |
0526185e | 601 | "-DKDE_INSTALL_LIBEXECDIR=libexec") |
9141cec4 MB |
602 | #:phases (modify-phases %standard-phases |
603 | (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH | |
604 | (lambda* (#:key inputs #:allow-other-keys) | |
605 | ;; FIXME: <kcmutils_version.h> is not found during one | |
606 | ;; of the compilation steps without this hack. | |
607 | (setenv "CPLUS_INCLUDE_PATH" | |
608 | (string-append (assoc-ref inputs "kcmutils") | |
609 | "/include/KF5:" | |
610 | (or (getenv "CPLUS_INCLUDE_PATH") | |
611 | ""))) | |
612 | #t))) | |
cd165d10 | 613 | #:tests? #f)) ; tests fail hard in our build environment |
ce8964b6 EF |
614 | (native-inputs |
615 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
616 | ("kdoctools" ,kdoctools) | |
617 | ("libxtst" ,libxtst) | |
618 | ("pkg-config" ,pkg-config) | |
619 | ("python" ,python-wrapper))) | |
620 | (inputs | |
621 | `(("kcmutils" ,kcmutils) | |
622 | ("kconfigwidgets" ,kconfigwidgets) | |
623 | ("kdbusaddons" ,kdbusaddons) | |
624 | ("ki18n" ,ki18n) | |
625 | ("kiconthemes" ,kiconthemes) | |
626 | ("kio" ,kio) | |
9141cec4 | 627 | ("kirigami" ,kirigami) |
ce8964b6 | 628 | ("knotifications" ,knotifications) |
9141cec4 MB |
629 | ("kpeople" ,kpeople) |
630 | ("kpeoplevcard" ,kpeoplevcard) | |
ce8964b6 EF |
631 | ("kwayland" ,kwayland) |
632 | ("libfakekey" ,libfakekey) | |
9141cec4 | 633 | ("pulseaudio-qt" ,pulseaudio-qt) |
ce8964b6 EF |
634 | ("qca" ,qca) |
635 | ("qtbase" ,qtbase) | |
636 | ("qtdeclarative" ,qtdeclarative) | |
9141cec4 | 637 | ("qtmultimedia" ,qtmultimedia) |
ce8964b6 EF |
638 | ("qtx11extras" ,qtx11extras))) |
639 | (home-page "https://community.kde.org/KDEConnect") | |
640 | (synopsis "Enable your devices to communicate with each other") | |
641 | (description "KDE Connect is a project that enables all your devices to | |
642 | communicate with each other. Here's a few things KDE Connect can do: | |
643 | @enumerate | |
644 | @item Receive your phone notifications on your desktop computer and reply to messages | |
645 | @item Control music playing on your desktop from your phone | |
646 | @item Use your phone as a remote control for your desktop | |
647 | @item Run predefined commands on your PC from connected devices | |
648 | @item Check your phones battery level from the desktop | |
649 | @item Ring your phone to help finding it | |
650 | @item Share files and links between devices | |
651 | @item Browse your phone from the desktop | |
652 | @item Control the desktop's volume from the phone | |
653 | @end enumerate") | |
0d7dfbce | 654 | (properties `((upstream-name . "kdeconnect-kde"))) |
ce8964b6 | 655 | (license (list license:gpl2 license:gpl3)))) ; dual licensed |
dece3433 EF |
656 | |
657 | (define-public kqtquickcharts | |
658 | (package | |
659 | (name "kqtquickcharts") | |
6701d232 | 660 | (version "20.04.1") |
dece3433 EF |
661 | (source |
662 | (origin | |
663 | (method url-fetch) | |
6701d232 | 664 | (uri (string-append "mirror://kde/stable/release-service/" |
dece3433 EF |
665 | version "/src/kqtquickcharts-" version ".tar.xz")) |
666 | (sha256 | |
667 | (base32 | |
6701d232 | 668 | "1wxp35mf9zlpgzi4msdl86b2krdq2ipqw371gyx23r7j84vdyxi3")))) |
dece3433 EF |
669 | (build-system cmake-build-system) |
670 | (native-inputs | |
671 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
672 | (inputs | |
673 | `(("qtbase" ,qtbase) | |
674 | ("qtdeclarative" ,qtdeclarative))) | |
675 | (home-page "https://phabricator.kde.org/source/kqtquickcharts/") | |
676 | (synopsis "Interactive charts for Qt Quick") | |
677 | (description | |
678 | "Kqtquickcharts is a QtQuick plugin to render beautiful and interactive | |
679 | charts.") | |
680 | (license license:lgpl2.1+))) | |
8cf20d73 LC |
681 | |
682 | (define-public kcachegrind | |
683 | (package | |
684 | (name "kcachegrind") | |
6701d232 | 685 | (version "20.04.1") |
8cf20d73 LC |
686 | (source (origin |
687 | (method url-fetch) | |
6701d232 | 688 | (uri (string-append "mirror://kde/stable/release-service/" version |
8cf20d73 LC |
689 | "/src/kcachegrind-" version ".tar.xz")) |
690 | (sha256 | |
691 | (base32 | |
6701d232 | 692 | "0fx17s6fj1pxl1mgfrqhchk8sihkbji1x8y3nhb1r0971wzd1nsc")))) |
8cf20d73 LC |
693 | (build-system cmake-build-system) |
694 | (native-inputs | |
695 | `(("extra-cmake-modules" ,extra-cmake-modules) | |
696 | ("perl" ,perl) | |
697 | ("python" ,python) | |
698 | ("qttools" ,qttools) | |
699 | ("kdoctools" ,kdoctools))) | |
700 | (inputs | |
701 | `(("qtbase" ,qtbase) | |
702 | ("karchive" ,karchive) | |
703 | ("ki18n" ,ki18n) | |
704 | ("kio" ,kio) | |
705 | ("kdbusaddons" ,kdbusaddons))) | |
706 | ;; Note: The 'hotshot2calltree' and 'pprof2calltree' scripts depend on | |
707 | ;; Python and PHP, respectively. These are optional and we ignore them | |
708 | ;; for now. | |
709 | (home-page "https://kcachegrind.github.io/html/Home.html") | |
710 | (synopsis "Visualize profiles produces by Valgrind's Cachegrind tool") | |
711 | (description | |
712 | "The data files generated by the Callgrind of Valgrind, an application | |
713 | profiler, can be loaded into KCachegrind for browsing the performance results. | |
714 | There is also a command-line tool to get ASCII reports from data files without | |
715 | the need to use KCachegrind. | |
716 | ||
717 | The format of Callgrind output is documented. With conversion scripts, | |
718 | KCachegrind is able to visualize output of other profilers like OProfile, a | |
719 | system-wide profiler for Linux using statistical sampling with hardware | |
720 | performance counters. There also exist converters for profiling output of | |
721 | Python, PHP, and Perl.") | |
722 | (license license:gpl2))) | |
b9c9cdbf HG |
723 | |
724 | (define-public libkdegames | |
725 | (package | |
726 | (name "libkdegames") | |
6701d232 | 727 | (version "20.04.1") |
b9c9cdbf HG |
728 | (source |
729 | (origin | |
730 | (method url-fetch) | |
6701d232 | 731 | (uri (string-append "mirror://kde/stable/release-service/" version |
b9c9cdbf HG |
732 | "/src/libkdegames-" version ".tar.xz")) |
733 | (sha256 | |
6701d232 | 734 | (base32 "1xsrrvhwjwi5aajcaxydmzc69i4yx6shs8ly8vr85njc188ycg13")))) |
cd165d10 | 735 | (build-system qt-build-system) |
b9c9cdbf HG |
736 | (native-inputs |
737 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
738 | (inputs | |
739 | `(("karchive" ,karchive) | |
740 | ("kbookmarks" ,kbookmarks) | |
741 | ("kcodecs" ,kcodecs) | |
742 | ("kcompletion" ,kcompletion) | |
743 | ("kconfigwidgets" ,kconfigwidgets) | |
744 | ("kcrash" ,kcrash) | |
745 | ("kdbusaddons" ,kdbusaddons) | |
746 | ("kdeclarative" ,kdeclarative) | |
747 | ("kdnssd" ,kdnssd) | |
748 | ("kglobalaccel" ,kglobalaccel) | |
749 | ("kguiaddons" ,kguiaddons) | |
750 | ("ki18n" ,ki18n) | |
751 | ("kiconthemes" ,kiconthemes) | |
752 | ;("kio" ,kio) | |
753 | ("kitemviews" ,kitemviews) | |
754 | ("kjobwidgets" ,kjobwidgets) | |
755 | ("knewstuff" ,knewstuff) | |
756 | ("kservice" ,kservice) | |
757 | ("ktextwidgets" ,ktextwidgets) | |
758 | ("kwidgetsaddons" ,kwidgetsaddons) | |
759 | ("kxmlgui" ,kxmlgui) | |
760 | ("libsndfile" ,libsndfile) | |
761 | ("openal" ,openal) | |
762 | ("qtbase" ,qtbase) | |
763 | ("qtdeclarative" ,qtdeclarative) | |
764 | ("qtsvg" ,qtsvg))) | |
b9c9cdbf HG |
765 | (home-page "https://games.kde.org/") |
766 | (synopsis "Runtime library for kdegames") | |
767 | (description "Runtime library for kdegames") | |
768 | (license (list license:gpl2+ license:fdl1.2+)))) | |
9b98d288 HG |
769 | |
770 | (define-public zeroconf-ioslave | |
771 | (package | |
772 | (name "zeroconf-ioslave") | |
6701d232 | 773 | (version "20.04.1") |
9b98d288 HG |
774 | (source |
775 | (origin | |
776 | (method url-fetch) | |
6701d232 | 777 | (uri (string-append "mirror://kde/stable/release-service/" version |
9b98d288 HG |
778 | "/src/zeroconf-ioslave-" version ".tar.xz")) |
779 | (sha256 | |
6701d232 | 780 | (base32 "1qck5jyc4psslpibhki8sz8aj0hsnx8z791vzyn10lmdzn71vx8c")))) |
9b98d288 HG |
781 | (build-system qt-build-system) |
782 | (native-inputs | |
783 | `(("extra-cmake-modules" ,extra-cmake-modules))) | |
784 | (inputs | |
785 | `(("kdbusaddons" ,kdbusaddons) | |
786 | ("kdnssd" ,kdnssd) | |
787 | ("ki18n" ,ki18n) | |
788 | ("kio" ,kio) | |
789 | ("qtbase" ,qtbase))) | |
790 | (home-page "https://kde.org/applications/internet/org.kde.zeroconf_ioslave") | |
791 | (synopsis "DNS-SD Service Discovery Monitor") | |
792 | (description "Adds an entry to Dolphin's Network page to show local | |
793 | services such as printers which advertise themselves with DNSSD (called Avahi | |
794 | or Bonjour by other projects).") | |
795 | (license ;; GPL for programs, LGPL for libraries, FDL for documentation | |
796 | (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+)))) |