1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages kde-utils)
20 #:use-module (guix build-system qt)
21 #:use-module (guix download)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix packages)
24 #:use-module (gnu packages compression)
25 #:use-module (gnu packages gnome)
26 #:use-module (gnu packages kde)
27 #:use-module (gnu packages kde-frameworks)
28 #:use-module (gnu packages kde-plasma)
29 #:use-module (gnu packages qt)
30 #:use-module (gnu packages samba)
31 #:use-module (gnu packages xorg))
40 (uri (string-append "mirror://kde/stable/applications/" version
41 "/src/kate-" version ".tar.xz"))
43 (base32 "0wgcw10c4grkmsyp79ashwgpy59lgrinwdib4mjclpw2grp0g7xb"))))
44 (build-system qt-build-system)
46 `(("extra-cmake-modules" ,extra-cmake-modules)
47 ("kdoctools" ,kdoctools)))
49 `(("kactivities" ,kactivities)
52 ("kdbusaddons" ,kdbusaddons)
53 ("kguiaddons" ,kguiaddons)
55 ("kiconthemes" ,kiconthemes)
56 ("kitemmodels" ,kitemmodels)
57 ("threadweaver" ,threadweaver)
58 ("knewstuff" ,knewstuff)
60 ("kjobwidgets" ,kjobwidgets)
62 ("ktexteditor" ,ktexteditor)
64 ("plasma-framework" ,plasma-framework)
65 ("kwindowsystem" ,kwindowsystem)
67 ("oxygen-icons" ,oxygen-icons) ;; default icon set
69 ("qtscript" ,qtscript)))
71 `(#:tests? #f ;; 2/7 tests fail
73 (modify-phases %standard-phases
74 (add-before 'check 'check-setup
76 ;; make Qt render "offscreen", required for tests
77 (setenv "QT_QPA_PLATFORM" "offscreen")
78 (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
80 (home-page "https://kate-editor.org/")
81 (synopsis "Multi-document, multi-view text editor")
82 (description "Kate is a powerful text editor that can open multiple files
85 With a built-in terminal, syntax highlighting, and tabbed sidebar, it performs
86 as a lightweight but capable development environment. Kate's many tools,
87 plugins, and scripts make it highly customizable.
89 Kate's features include:
91 @item Multiple saved sessions, each with numerous files
92 @item Scriptable syntax highlighting, indentation, and code-folding
93 @item Configurable templates and text snippets
94 @item Symbol viewers for C, C++, and Python
95 @item XML completion and validation
97 (license ;; GPL for programs, LGPL for libraries
98 (list license:gpl2+ license:lgpl2.0))))
107 (uri (string-append "mirror://kde/stable/applications/" version
108 "/src/kmag-" version ".tar.xz"))
110 (base32 "0l69mgnh2mmkxawwibqdx9n7myl6qqnr2fd3mpsg2bzpcfvmsvi1"))))
111 (build-system qt-build-system)
113 `(("extra-cmake-modules" ,extra-cmake-modules)
114 ("kdoctools" ,kdoctools)))
119 ("oxygen-icons" ,oxygen-icons) ;; default icon set
120 ;; TODO: QAccessibilityClient - libqaccessibilityclien
122 (home-page "https://kde.org/applications/utilities/org.kde.kmag")
123 (synopsis "Screen magnifier tool")
124 (description "You can use KMagnifier to magnify a part of the screen just
125 as you would use a lens to magnify a newspaper fine-print or a photograph.
126 This application is useful for a variety of people: from researchers to
127 artists to web-designers to people with low vision.")
128 (license ;; GPL for programs, FDL for documentation
129 (list license:gpl2+ license:fdl1.2+))))
131 (define-public kmousetool
138 (uri (string-append "mirror://kde/stable/applications/" version
139 "/src/kmousetool-" version ".tar.xz"))
141 (base32 "169kk20mkm29nycg2vs1k5cs22gzchqs9hbfd661cy2l7n4d8d04"))))
142 (build-system qt-build-system)
144 `(("extra-cmake-modules" ,extra-cmake-modules)
145 ("kdoctools" ,kdoctools)))
148 ("kcoreaddons" ,kcoreaddons)
149 ("kconfigwidgets", kconfigwidgets)
150 ("kdbusaddons" ,kdbusaddons)
152 ("kiconthemes" ,kiconthemes)
153 ("knotifications" ,knotifications)
155 ("kwindowsystem" ,kwindowsystem)
159 ("oxygen-icons" ,oxygen-icons) ;; default icon set
161 (home-page "https://kde.org/applications/utilities/org.kde.kmousetool")
162 (synopsis "Automatic mouse click and mouse manipulation tool for the
164 (description "KMouseTool clicks the mouse whenever the mouse cursor pauses
165 briefly. It was designed to help those with repetitive strain injuries, for
166 whom pressing buttons hurts.")
167 (license ;; GPL for programs, FDL for documentation
168 (list license:gpl2+ license:fdl1.2+))))
170 (define-public kmouth
177 (uri (string-append "mirror://kde/stable/applications/" version
178 "/src/kmouth-" version ".tar.xz"))
180 (base32 "1agjxf1jfi967hj1iz788n6cna6fr7qg80zsx6s119hg7b0xwqmr"))))
181 (build-system qt-build-system)
183 `(("extra-cmake-modules" ,extra-cmake-modules)
184 ("kdoctools" ,kdoctools)))
186 `(("kcompletion" ,kcompletion)
188 ("kconfigwidgets", kconfigwidgets)
189 ("kcoreaddons" ,kcoreaddons)
193 ("kwidgetsaddons" ,kwidgetsaddons)
195 ("oxygen-icons" ,oxygen-icons) ;; default icon set
197 ("qtspeech" ,qtspeech)))
198 (home-page "https://kde.org/applications/utilities/org.kde.kmouth")
199 (synopsis "Type-and-say frontend for speech synthesizers")
200 (description "KMouth is a program which enables persons that cannot speak
201 to let their computer speak, e.g. mutal people or people who have lost their
202 voice. It has a text input field and speaks the sentences that you enter. It
203 also has support for user defined phrasebooks.
205 It includes a history of spoken sentences from which the user can select
206 sentences to be re-spoken.")
207 (license ;; GPL for programs, FDL for documentation
208 (list license:gpl2+ license:fdl1.2+))))
210 (define-public kronometer
217 (uri (string-append "mirror://kde/stable/kronometer/" version
218 "/src/kronometer-" version ".tar.xz"))
220 (base32 "05hs8729a3aqjpwmn2xdf2sriacrll4sj4ax3lm4s1ravj09n9bm"))))
221 (build-system qt-build-system)
223 `(("extra-cmake-modules" ,extra-cmake-modules)
224 ("kdoctools" ,kdoctools)))
228 ("kconfigwidgets", kconfigwidgets)
229 ("kcoreaddons" ,kcoreaddons)
232 ("kwidgetsaddons" ,kwidgetsaddons)
234 ("oxygen-icons" ,oxygen-icons) ;; default icon set
236 (home-page "https://kde.org/applications/utilities/org.kde.kronometer")
237 (synopsis "Simple stopwatch application")
238 (description "Kronometer is a stopwatch application. It features the
239 basic stopwatch actions (pause, resume, reset, laps), as well as the ability
240 to save the times and resume them later.")
241 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
244 (define-public krusader
251 (uri (string-append "mirror://kde/stable/krusader/" version
252 "/krusader-" version ".tar.xz"))
254 (base32 "02b1jz5a7cjr13v6c7fczrhs1xmg1krnva5fxk8x2bf4nd1rm8s1"))))
255 (build-system qt-build-system)
257 `(("extra-cmake-modules" ,extra-cmake-modules)
258 ("kdoctools" ,kdoctools)))
260 `(("karchive" ,karchive)
261 ("kbookmarks" ,kbookmarks)
263 ("kcompletion" ,kcompletion)
265 ("kcoreaddons" ,kcoreaddons)
266 ("kguiaddons" ,kguiaddons)
268 ("kiconthemes" ,kiconthemes)
270 ("kitemviews" ,kitemviews)
271 ("knotifications" ,knotifications)
273 ("ktextwidgets" ,ktextwidgets)
275 ("kwidgetsaddons" ,kwidgetsaddons)
276 ("kwindowsystem" ,kwindowsystem)
278 ("oxygen-icons" ,oxygen-icons) ;; default icon set
282 (home-page "https://www.krusader.org")
283 (synopsis "Twin-panel (commander-style) file manager")
284 (description "Krusader is a simple, easy, yet powerful,
285 twin-panel (commander-style) file manager, similar to Midnight Commander or
288 It provides all the file management features you could possibly want. Plus:
289 extensive archive handling, mounted filesystem support, FTP, advanced search
290 module, an internal viewer/editor, directory synchronisation, file content
291 comparisons, powerful batch renaming and much much more. It supports a wide
292 variety of archive formats and can handle other KIO slaves such as smb or
295 Almost completely customizable, Krusader is very user friendly, fast and looks
296 great on your desktop.")
297 (license license:gpl2+)))
299 (define-public okteta
306 ;; TODO: Why is this not in "stable" anymore
307 (uri (string-append "mirror://kde/Attic/applications/" version
308 "/src/okteta-" version ".tar.xz"))
310 (base32 "03wsv83l1cay2dpcsksad124wzan7kh8zxdw1h0yicn398kdbck4"))))
311 (build-system qt-build-system)
313 `(("extra-cmake-modules" ,extra-cmake-modules)
314 ("kdoctools" ,kdoctools)
316 ("shared-mime-info" ,shared-mime-info)))
318 `(("kbookmarks" ,kbookmarks)
319 ("kcmutils" ,kcmutils)
322 ("kcompletion" ,kcompletion)
323 ("kconfigwidgets" ,kconfigwidgets)
324 ("kdbusaddons" ,kdbusaddons)
326 ("kiconthemes" ,kiconthemes)
328 ("knewstuff" ,knewstuff)
330 ("kservice" ,kservice)
331 ("kwidgetsaddons" ,kwidgetsaddons)
333 ("oxygen-icons" ,oxygen-icons) ;; default icon set
336 ("qtscript" ,qtscript)))
339 (modify-phases %standard-phases
340 (add-before 'check 'check-setup
342 ;; make Qt render "offscreen", required for tests
343 (setenv "QT_QPA_PLATFORM" "offscreen")
344 (setenv "HOME" "/tmp/dummy-home")
346 (home-page "https://kde.org/applications/utilities/org.kde.okteta")
347 (synopsis "Hexadecimal editor for binary files")
348 (description "Okteta is a simple editor for the raw data of files. This
349 type of program is also called hex editor or binary editor.
351 The data is displayed in the traditional view with two columns: one with the
352 numeric values and one with the assigned characters. Editing can be done both
353 in the value column and the character column. Besides the usual editing
354 capabilities Okteta also brings a small set of tools, like a table listing
355 decodings into common simple data types, a table listing all possible bytes
356 with its character and value equivalents, a info view with a statistic and a
357 filter tool. All modifications to the data loaded can be endlessly undone or
359 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
360 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
362 (define-public rsibreak
369 (uri (string-append "mirror://kde//stable/rsibreak/0.12/"
370 "rsibreak-" version ".tar.xz"))
372 (base32 "09axg6gbmpnxsk88mdjbxxvfaj5af7xaf1gmnr17b0506zcfgwhv"))))
373 (build-system qt-build-system)
375 `(("extra-cmake-modules" ,extra-cmake-modules)
376 ("kdoctools" ,kdoctools)))
380 ("kconfigwidgets" ,kconfigwidgets)
381 ("kcoreaddons" ,kcoreaddons)
383 ("kdbusaddons" ,kdbusaddons)
385 ("kiconthemes" ,kiconthemes)
386 ("kidletime" ,kidletime)
387 ("knotifications" ,knotifications)
388 ("knotifyconfig" ,knotifyconfig)
389 ("ktextwidgets" ,ktextwidgets)
390 ("kwindowsystem" ,kwindowsystem)
392 ("oxygen-icons" ,oxygen-icons) ;; default icon set
394 (home-page "https://kde.org/applications/utilities/org.kde.rsibreak")
395 (synopsis "Assists in the Recovery and Prevention of Repetitive Strain
397 (description "Repetitive Strain Injury is an illness which can occur as a
398 result of working with a mouse and keyboard. This utility can be used to
399 remind you to take a break now and then.")
400 (license ;; GPL for programs, FDL for documentation
401 (list license:gpl2+ license:fdl1.2+))))
410 (uri (string-append "https://sourceforge.net/projects/smb4k/files/"
411 version "/smb4k-" version ".tar.xz/download"))
413 (base32 "1daajaj8qhxkzz8dsaracwi49z4i57466h6qnqnh2ir2l54q00ir"))))
414 (build-system qt-build-system)
416 `(("extra-cmake-modules" ,extra-cmake-modules)
417 ("kdoctools" ,kdoctools)))
421 ("kconfigwidgets" ,kconfigwidgets)
422 ("kcompletion" ,kcompletion)
423 ("kcoreaddons" ,kcoreaddons)
425 ("kdbusaddons" ,kdbusaddons)
427 ("kiconthemes" ,kiconthemes)
429 ("kjobwidgets" ,kjobwidgets)
430 ("knotifications" ,knotifications)
431 ("knotifyconfig" ,knotifyconfig)
432 ("ktextwidgets" ,ktextwidgets)
434 ("kwidgetsaddons" ,kwidgetsaddons)
435 ("kwindowsystem" ,kwindowsystem)
437 ("libsmbclient" ,samba)
438 ("oxygen-icons" ,oxygen-icons) ;; default icon set
439 ("plasma-framework" ,plasma-framework)
441 ("qtdeclarative" ,qtdeclarative)
443 (home-page "https://kde.org/applications/utilities/org.kde.smb4k")
444 (synopsis "Samba (SMB) share advanced browser")
445 (description "Smb4K is an network neighborhood browser for the KDE
446 Software Compilation and a frontend to the programs of the Samba software
451 @item Scanning for (active) workgroups, hosts, and shares
452 @item Support of the CIFS (Linux) and SMBFS (FreeBSD) file system
453 @item Mounting and unmounting of shares (using the KAuth framework)
454 @item Access to the files of a mounted share using a file manager or terminal
455 @item Auto-detection of external mounts and unmounts
456 @item Remounting of previously used shares on program start
457 @item Miscellaneous infos about remote network items and mounted shares
459 @item WINS server support
460 @item Preview of the contents of a share
461 @item Several methods to look up the initial list of workgroups and domains
463 @item Special handling of homes shares
464 @item Ability to bookmark favorite shares and organize them in groups
465 @item System tray widget
466 @item Support of advanced Samba options
467 @item Support of printer shares
468 @item KWallet support
469 @item Synchronization of a remote share with a local copy and vice versa
470 @item Ability to define custom options for individual servers and shares
471 @item Laptop support through the Solid hardware device framework
473 (license license:gpl2+)))
475 (define-public sweeper
482 (uri (string-append "mirror://kde/stable/applications/" version
483 "/src/sweeper-" version ".tar.xz"))
485 (base32 "1gn87yxmhi7rs82jq7y89bvlx33xbl9wq8kr96pcz423khqvjl84"))))
486 (build-system qt-build-system)
488 `(("extra-cmake-modules" ,extra-cmake-modules)
489 ("kdoctools" ,kdoctools)))
491 `(("kactivities-stats" ,kactivities-stats)
492 ("kbookmarks" ,kbookmarks)
495 ("kconfigwidgets" ,kconfigwidgets)
496 ("kcoreaddons" ,kcoreaddons)
499 ("ktextwidgets" ,ktextwidgets)
501 ("oxygen-icons" ,oxygen-icons) ;; default icon set
503 (home-page "https://kde.org/applications/utilities/org.kde.sweeper")
504 (synopsis "Temporary file and history cleaner")
506 Sweeper helps to clean unwanted traces the user leaves on the system and to
507 regain disk space removing unused temporary files.
508 It can quickly remove temporary information, such as web page cookies,
509 browser history, or the list of recently-opened documents. It helps provide
510 additional privacy on a system shared between multiple users.")
511 (license license:lgpl2.0+ )))