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