Merge branch 'master' into core-updates
[jackhill/guix/guix.git] / gnu / packages / lxqt.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
4 ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
6 ;;; Copyright © 2017 ng0 <ng0@n0.is>
7 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
8 ;;; Copyright © 2018, 2019 Meiyo Peng <meiyo@riseup.net>
9 ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
10 ;;; Copyright © 2019, 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
11 ;;; Copyright © 2020 Fakhri Sajadi <f.sajadi@pantherx.org>
12 ;;;
13 ;;; This file is part of GNU Guix.
14 ;;;
15 ;;; GNU Guix is free software; you can redistribute it and/or modify it
16 ;;; under the terms of the GNU General Public License as published by
17 ;;; the Free Software Foundation; either version 3 of the License, or (at
18 ;;; your option) any later version.
19 ;;;
20 ;;; GNU Guix is distributed in the hope that it will be useful, but
21 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;;; GNU General Public License for more details.
24 ;;;
25 ;;; You should have received a copy of the GNU General Public License
26 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
27
28 (define-module (gnu packages lxqt)
29 #:use-module (guix download)
30 #:use-module (guix git-download)
31 #:use-module ((guix licenses) #:prefix license:)
32 #:use-module (guix packages)
33 #:use-module (guix utils)
34 #:use-module (guix build-system cmake)
35 #:use-module (guix build-system gnu)
36 #:use-module (guix build-system trivial)
37 #:use-module (gnu packages)
38 #:use-module (gnu packages admin)
39 #:use-module (gnu packages compression)
40 #:use-module (gnu packages documentation)
41 #:use-module (gnu packages compton)
42 #:use-module (gnu packages fonts)
43 #:use-module (gnu packages freedesktop)
44 #:use-module (gnu packages glib)
45 #:use-module (gnu packages gnome)
46 #:use-module (gnu packages gtk)
47 #:use-module (gnu packages image)
48 #:use-module (gnu packages kde-frameworks)
49 #:use-module (gnu packages kde-plasma)
50 #:use-module (gnu packages linux)
51 #:use-module (gnu packages perl)
52 #:use-module (gnu packages lxde)
53 #:use-module (gnu packages maths)
54 #:use-module (gnu packages openbox)
55 #:use-module (gnu packages pcre)
56 #:use-module (gnu packages photo)
57 #:use-module (gnu packages pkg-config)
58 #:use-module (gnu packages polkit)
59 #:use-module (gnu packages pulseaudio)
60 #:use-module (gnu packages qt)
61 #:use-module (gnu packages textutils)
62 #:use-module (gnu packages xdisorg)
63 #:use-module (gnu packages xml)
64 #:use-module (gnu packages xorg))
65
66
67 ;; Third party libraries
68
69 (define-public libdbusmenu-qt
70 (package
71 (name "libdbusmenu-qt")
72 (version "0.9.3+16.04.20160218-0ubuntu1")
73 (source
74 (origin
75 (method git-fetch)
76 ;; Download from github rather than launchpad because launchpad trunk
77 ;; tarball hash is not deterministic.
78 (uri (git-reference
79 (url "https://github.com/unity8-team/libdbusmenu-qt.git")
80 (commit version)))
81 (file-name (git-file-name name version))
82 (sha256
83 (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg"))))
84 (build-system cmake-build-system)
85 (arguments
86 ;; XXX: Tests require a dbus session and some icons.
87 '(#:tests? #f))
88 (native-inputs
89 `(("doxygen" ,doxygen)))
90 (inputs
91 `(("qtbase" ,qtbase)))
92 (home-page "https://launchpad.net/libdbusmenu-qt")
93 (synopsis "Qt implementation of the DBusMenu spec")
94 (description "This library provides a Qt implementation of the DBusMenu
95 protocol. The DBusMenu protocol makes it possible for applications to export
96 and import their menus over DBus.")
97 (license license:lgpl2.1+)))
98
99 (define-public libstatgrab
100 (package
101 (name "libstatgrab")
102 (version "0.91")
103 (source
104 (origin
105 (method url-fetch)
106 (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/"
107 name "-" version ".tar.gz"))
108 (sha256
109 (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83"))))
110 (build-system gnu-build-system)
111 (arguments
112 '(#:configure-flags '("--enable-tests")))
113 (native-inputs
114 ;; For testing.
115 `(("perl" ,perl)))
116 (home-page "https://www.i-scream.org/libstatgrab/")
117 (synopsis "Provides access to statistics about the system")
118 (description "libstatgrab is a library that provides cross platform access
119 to statistics about the system on which it's run.")
120 ;; Libraries are under LGPL2.1+, and programs under GPLv2+.
121 (license license:gpl2+)))
122
123
124 ;; Base
125
126 (define-public lxqt-build-tools
127 (package
128 (name "lxqt-build-tools")
129 (version "0.6.0")
130 (source
131 (origin
132 (method url-fetch)
133 (uri (string-append "https://github.com/lxqt/lxqt-build-tools/releases"
134 "/download/" version
135 "/lxqt-build-tools-" version ".tar.xz"))
136 (sha256
137 (base32 "0n0p0mf12n9f7zm2592779rpqrbcamfdz87nnjb8j058bc8g3214"))))
138 (build-system cmake-build-system)
139 (arguments
140 `(#:tests? #f ; no tests
141 #:configure-flags
142 ;; 'startlxqt' will add LXQT_DATA_DIR to XDG_DATA_DIRS,
143 ;; LXQT_ETC_XDG_DIR to XDG_CONFIG_DIRS, and 'lxqt-about' will report
144 ;; LXQT_ETC_XDG_DIR in its "Technical Info".
145 '("-DLXQT_DATA_DIR=/run/current-system/profile/share"
146 "-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg")))
147 (native-inputs
148 `(("pkg-config" ,pkg-config)
149 ("glib" ,glib)))
150 (inputs
151 `(("qtbase" ,qtbase)))
152 (synopsis "LXQt Build tools")
153 (description
154 "Lxqt-build-tools is providing several tools needed to build LXQt
155 itself as well as other components maintained by the LXQt project.")
156 (home-page "https://lxqt.org")
157 (license license:lgpl2.1+)))
158
159 (define-public libqtxdg
160 (package
161 (name "libqtxdg")
162 (version "3.4.0")
163 (source
164 (origin
165 (method url-fetch)
166 (uri (string-append
167 "https://github.com/lxqt/libqtxdg/releases/download/"
168 version "/libqtxdg-" version ".tar.xz"))
169 (sha256
170 (base32 "0vmn59653dmy79mnbnibhdq9jmh11091zkfx0y0qh58rj2xvpdbv"))))
171 (build-system cmake-build-system)
172 (arguments
173 '(#:configure-flags
174 '("-DBUILD_TESTS=ON"
175 "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines")
176 #:phases
177 (modify-phases %standard-phases
178 (add-before 'check 'pre-check
179 (lambda _
180 ;; Run the tests offscreen.
181 (setenv "QT_QPA_PLATFORM" "offscreen")
182 #t)))))
183 (propagated-inputs
184 ;; required by Qt5XdgIconLoader.pc
185 `(("glib" ,glib)
186 ("qtbase" ,qtbase)
187 ("qtsvg" ,qtsvg)))
188 (native-inputs
189 `(("lxqt-build-tools" ,lxqt-build-tools)
190 ("pkg-config" ,pkg-config)))
191 (home-page "https://github.com/lxqt/libqtxdg")
192 (synopsis "Qt implementation of freedesktop.org xdg specifications")
193 (description "Libqtxdg implements the freedesktop.org xdg specifications
194 in Qt.")
195 (license license:lgpl2.1+)))
196
197 (define-public liblxqt
198 (package
199 (name "liblxqt")
200 (version "0.14.1")
201 (source
202 (origin
203 (method url-fetch)
204 (uri (string-append
205 "https://github.com/lxqt/" name "/releases/download/"
206 version "/" name "-" version ".tar.xz"))
207 (sha256
208 (base32 "1gb922npf6nw4w3nkvh4czk8xmdzzqkzq3zgl1h303fjaib359qs"))))
209 (build-system cmake-build-system)
210 (arguments
211 `(#:tests? #f ; no tests
212 #:phases
213 (modify-phases %standard-phases
214 (add-after 'unpack 'patch-source
215 (lambda _
216 (substitute* "CMakeLists.txt"
217 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
218 "DESTINATION \"share/polkit-1/actions"))
219 #t))
220 (add-after 'unpack 'patch-translations-dir
221 (lambda* (#:key outputs #:allow-other-keys)
222 (substitute* "CMakeLists.txt"
223 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
224 (string-append (assoc-ref outputs "out")
225 "/share/lxqt/translations")))
226 #t)))))
227 (inputs
228 `(("kwindowsystem" ,kwindowsystem)
229 ("libqtxdg" ,libqtxdg)
230 ("libxscrnsaver" ,libxscrnsaver)
231 ("polkit-qt" ,polkit-qt)
232 ("qtsvg" ,qtsvg)
233 ("qtx11extras" ,qtx11extras)))
234 (native-inputs
235 `(("lxqt-build-tools" ,lxqt-build-tools)
236 ("qttools" ,qttools)))
237 (home-page "https://lxqt.org/")
238 (synopsis "Core utility library for all LXQt components")
239 (description "liblxqt provides the basic libraries shared by the
240 components of the LXQt desktop environment.")
241 (license license:lgpl2.1+)))
242
243 (define-public libsysstat
244 (package
245 (name "libsysstat")
246 (version "0.4.2")
247 (source
248 (origin
249 (method url-fetch)
250 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
251 version "/" name "-" version ".tar.xz"))
252 (sha256
253 (base32 "0rz9w49khra9kl91kfnd3wxkldy1fqf6755mvlgbsqxb1yv8597w"))))
254 (build-system cmake-build-system)
255 (arguments '(#:tests? #f)) ; no tests
256 (inputs
257 `(("qtbase" ,qtbase)))
258 (native-inputs
259 `(("lxqt-build-tools" ,lxqt-build-tools)))
260 (home-page "https://lxqt.org/")
261 (synopsis "Library used to query system info and statistics")
262 (description "libsysstat is a library to query system information like CPU
263 and memory usage or network traffic.")
264 (license license:lgpl2.1+)))
265
266
267 ;; Core
268
269 (define-public lxqt-about
270 (package
271 (name "lxqt-about")
272 (version "0.14.1")
273 (source
274 (origin
275 (method url-fetch)
276 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
277 version "/" name "-" version ".tar.xz"))
278 (sha256
279 (base32 "01xp5ddcxc9wvl7jm4179hjrirj07mpzm9z50936d1fqx34wfbis"))))
280 (build-system cmake-build-system)
281 (inputs
282 `(("kwindowsystem" ,kwindowsystem)
283 ("liblxqt" ,liblxqt)
284 ("libqtxdg" ,libqtxdg)
285 ("qtbase" ,qtbase)
286 ("qtsvg" ,qtsvg)
287 ("qtx11extras" ,qtx11extras)))
288 (native-inputs
289 `(("lxqt-build-tools" ,lxqt-build-tools)
290 ("qttools" ,qttools)))
291 (arguments
292 '(#:tests? #f ; no tests
293 #:phases
294 (modify-phases %standard-phases
295 (add-before 'build 'setenv
296 (lambda _
297 (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
298 #t))
299 (add-after 'unpack 'patch-translations-dir
300 (lambda* (#:key outputs #:allow-other-keys)
301 (substitute* "CMakeLists.txt"
302 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
303 (string-append (assoc-ref outputs "out")
304 "/share/lxqt/translations")))
305 #t)))))
306 (home-page "https://lxqt.org")
307 (synopsis "Provides information about LXQt and the system")
308 (description "lxqt-about is a dialogue window providing information about
309 LXQt and the system it's running on.")
310 (license license:lgpl2.1+)))
311
312 (define-public lxqt-admin
313 (package
314 (name "lxqt-admin")
315 (version "0.14.1")
316 (source
317 (origin
318 (method url-fetch)
319 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
320 version "/" name "-" version ".tar.xz"))
321 (sha256
322 (base32 "0f0skkxqyhpidpd5phliax869v4n2whvglg8rahzia2zhw4ylzry"))))
323 (build-system cmake-build-system)
324 (inputs
325 `(("kwindowsystem" ,kwindowsystem)
326 ("liblxqt" ,liblxqt)
327 ("libqtxdg" ,libqtxdg)
328 ("polkit-qt" ,polkit-qt)
329 ("qtsvg" ,qtsvg)
330 ("qtx11extras" ,qtx11extras)))
331 (native-inputs
332 `(("lxqt-build-tools" ,lxqt-build-tools)
333 ("qttools" ,qttools)))
334 (arguments
335 '(#:tests? #f ; no tests
336 #:phases
337 (modify-phases %standard-phases
338 (add-after 'unpack 'patch-source
339 (lambda _
340 (substitute* "lxqt-admin-user/CMakeLists.txt"
341 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
342 "DESTINATION \"share/polkit-1/actions"))
343 #t))
344 (add-after 'unpack 'patch-translations-dir
345 (lambda* (#:key outputs #:allow-other-keys)
346 (substitute* '("lxqt-admin-time/CMakeLists.txt"
347 "lxqt-admin-user/CMakeLists.txt")
348 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
349 (string-append (assoc-ref outputs "out")
350 "/share/lxqt/translations")))
351 #t)))))
352 (home-page "https://lxqt.org")
353 (synopsis "LXQt system administration tool")
354 (description "lxqt-admin is providing two GUI tools to adjust settings of
355 the operating system LXQt is running on.")
356 (license license:lgpl2.1+)))
357
358 (define-public lxqt-config
359 (package
360 (name "lxqt-config")
361 (version "0.14.1")
362 (source
363 (origin
364 (method url-fetch)
365 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
366 version "/" name "-" version ".tar.xz"))
367 (sha256
368 (base32 "16k36knv6d72gg8hp7423l3ic43y3l3zbaf3spqn2a354y30myrg"))))
369 (build-system cmake-build-system)
370 (inputs
371 `(("eudev" ,eudev)
372 ("kwindowsystem" ,kwindowsystem)
373 ("libkscreen" ,libkscreen)
374 ("liblxqt" ,liblxqt)
375 ("libqtxdg" ,libqtxdg)
376 ("libxcursor" ,libxcursor)
377 ("libxi" ,libxi)
378 ("qtbase" ,qtbase)
379 ("qtsvg" ,qtsvg)
380 ("qtx11extras" ,qtx11extras)
381 ("solid" ,solid)
382 ("xf86-input-libinput" ,xf86-input-libinput)
383 ("xkeyboard-config" ,xkeyboard-config)
384 ("zlib" ,zlib)))
385 (native-inputs
386 `(("pkg-config" ,pkg-config)
387 ("lxqt-build-tools" ,lxqt-build-tools)
388 ("qttools" ,qttools)))
389 (arguments
390 '(#:tests? #f ; no tests
391 #:phases
392 (modify-phases %standard-phases
393 (add-after 'unpack 'patch-source
394 (lambda _
395 (substitute* '("src/CMakeLists.txt")
396 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
397 "DESTINATION \"etc/xdg"))
398 #t))
399 (add-after 'unpack 'set-xkeyboard-config-file-name
400 (lambda* (#:key inputs #:allow-other-keys)
401 ;; Set the file name to xkeyboard-config.
402 (let ((xkb (assoc-ref inputs "xkeyboard-config")))
403 (substitute* "lxqt-config-input/keyboardlayoutconfig.h"
404 (("/usr/share/X11/xkb/rules/base.lst")
405 (string-append xkb "/share/X11/xkb/rules/base.lst")))
406 #t)))
407 (add-after 'unpack 'patch-translations-dir
408 (lambda* (#:key outputs #:allow-other-keys)
409 (substitute* '("lxqt-config-file-associations/CMakeLists.txt"
410 "lxqt-config-brightness/CMakeLists.txt"
411 "lxqt-config-appearance/CMakeLists.txt"
412 "lxqt-config-locale/CMakeLists.txt"
413 "lxqt-config-monitor/CMakeLists.txt"
414 "lxqt-config-input/CMakeLists.txt"
415 "liblxqt-config-cursor/CMakeLists.txt"
416 "src/CMakeLists.txt")
417 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
418 (string-append (assoc-ref outputs "out")
419 "/share/lxqt/translations")))
420 #t)))))
421 (home-page "https://lxqt.org")
422 (synopsis "Tools to configure LXQt and the underlying operating system")
423 (description "lxqt-config is providing several tools involved in the
424 configuration of both LXQt and the underlying operating system.")
425 (license license:lgpl2.1+)))
426
427 (define-public lxqt-globalkeys
428 (package
429 (name "lxqt-globalkeys")
430 (version "0.14.3")
431 (source
432 (origin
433 (method url-fetch)
434 (uri (string-append "https://github.com/lxqt/lxqt-globalkeys/"
435 "releases/download/" version "/"
436 "lxqt-globalkeys-" version ".tar.xz"))
437 (sha256
438 (base32 "0mgl05qxvq4pdqvcw34i2cbyy87x605wy3np62mrbbb1kdfjrfg6"))))
439 (build-system cmake-build-system)
440 (inputs
441 `(("kwindowsystem" ,kwindowsystem)
442 ("liblxqt" ,liblxqt)
443 ("libqtxdg" ,libqtxdg)
444 ("qtbase" ,qtbase)
445 ("qtsvg" ,qtsvg)
446 ("qtx11extras" ,qtx11extras)))
447 (native-inputs
448 `(("pkg-config" ,pkg-config)
449 ("qttools" ,qttools)
450 ("lxqt-build-tools" ,lxqt-build-tools)))
451 (arguments
452 '(#:tests? #f ; no tests
453 #:phases
454 (modify-phases %standard-phases
455 (add-after 'unpack 'patch-source
456 (lambda _
457 (substitute* '("autostart/CMakeLists.txt"
458 "xdg/CMakeLists.txt")
459 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
460 "DESTINATION \"etc/xdg"))
461 #t))
462 (add-after 'unpack 'patch-translations-dir
463 (lambda* (#:key outputs #:allow-other-keys)
464 (substitute* "config/CMakeLists.txt"
465 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
466 (string-append (assoc-ref outputs "out")
467 "/share/lxqt/translations")))
468 #t)))))
469 (home-page "https://lxqt.org/")
470 (synopsis "Daemon used to register global keyboard shortcuts")
471 (description "lxqt-globalkeys is providing tools to set global keyboard
472 shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
473 as a whole and are not limited to distinct applications.")
474 (license license:lgpl2.1+)))
475
476 (define-public lxqt-notificationd
477 (package
478 (name "lxqt-notificationd")
479 (version "0.14.1")
480 (source
481 (origin
482 (method url-fetch)
483 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
484 version "/" name "-" version ".tar.xz"))
485 (sha256
486 (base32 "1kiag3fcx12qmslln6x6lwvm4f1spymwf71389kdya3vwx7hkmcy"))))
487 (build-system cmake-build-system)
488 (inputs
489 `(("kwindowsystem" ,kwindowsystem)
490 ("liblxqt" ,liblxqt)
491 ("libqtxdg" ,libqtxdg)
492 ("qtbase" ,qtbase)
493 ("qtsvg" ,qtsvg)
494 ("qtx11extras" ,qtx11extras)))
495 (native-inputs
496 `(("lxqt-build-tools" ,lxqt-build-tools)
497 ("qttools" ,qttools)))
498 (arguments
499 '(#:tests? #f ; no test target
500 #:phases
501 (modify-phases %standard-phases
502 (add-after 'unpack 'patch-source
503 (lambda _
504 (substitute* '("autostart/CMakeLists.txt")
505 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
506 "DESTINATION \"etc/xdg"))
507 #t))
508 (add-after 'unpack 'patch-translations-dir
509 (lambda* (#:key outputs #:allow-other-keys)
510 (substitute* '("config/CMakeLists.txt"
511 "src/CMakeLists.txt")
512 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
513 (string-append (assoc-ref outputs "out")
514 "/share/lxqt/translations")))
515 #t)))))
516 (home-page "https://lxqt.org/")
517 (synopsis "The LXQt notification daemon")
518 (description "lxqt-notificationd is LXQt's implementation of a daemon
519 according to the Desktop Notifications Specification.")
520 (license license:lgpl2.1+)))
521
522 (define-public lxqt-openssh-askpass
523 (package
524 (name "lxqt-openssh-askpass")
525 (version "0.14.1")
526 (source
527 (origin
528 (method url-fetch)
529 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
530 version "/" name "-" version ".tar.xz"))
531 (sha256
532 (base32 "1fvbgjidpifn420avh8n1gym49vcz6zgayz7xygg1x93s4awy1cs"))))
533 (build-system cmake-build-system)
534 (inputs
535 `(("kwindowsystem" ,kwindowsystem)
536 ("liblxqt" ,liblxqt)
537 ("libqtxdg" ,libqtxdg)
538 ("qtbase" ,qtbase)
539 ("qtsvg" ,qtsvg)
540 ("qtx11extras" ,qtx11extras)))
541 (native-inputs
542 `(("lxqt-build-tools" ,lxqt-build-tools)
543 ("qttools" ,qttools)))
544 (arguments
545 '(#:tests? #f ; no tests
546 #:phases
547 (modify-phases %standard-phases
548 (add-after 'unpack 'patch-translations-dir
549 (lambda* (#:key outputs #:allow-other-keys)
550 (substitute* "CMakeLists.txt"
551 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
552 (string-append (assoc-ref outputs "out")
553 "/share/lxqt/translations")))
554 #t)))))
555 (home-page "https://lxqt.org/")
556 (synopsis "GUI to query passwords on behalf of SSH agents")
557 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
558 of other programs.")
559 (license license:lgpl2.1+)))
560
561 (define-public lxqt-panel
562 (package
563 (name "lxqt-panel")
564 (version "0.14.1")
565 (source
566 (origin
567 (method url-fetch)
568 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
569 version "/" name "-" version ".tar.xz"))
570 (sha256
571 (base32 "1r3wx0v3jm7j41h7gxr49izc9xa1afvrzq4wcdm0qbj98qa1rgpq"))))
572 (build-system cmake-build-system)
573 (inputs
574 `(("alsa-lib" ,alsa-lib)
575 ("kguiaddons" ,kguiaddons)
576 ("libdbusmenu-qt" ,libdbusmenu-qt)
577 ("liblxqt" ,liblxqt)
578 ("libqtxdg" ,libqtxdg)
579 ("libstatgrab" ,libstatgrab)
580 ("libsysstat" ,libsysstat)
581 ("libxcomposite" ,libxcomposite)
582 ("libxdamage" ,libxdamage)
583 ("libxkbcommon" ,libxkbcommon)
584 ("libxrender" ,libxrender)
585 ("lm-sensors" ,lm-sensors "lib")
586 ("lxqt-globalkeys" ,lxqt-globalkeys)
587 ("pcre" ,pcre)
588 ("pulseaudio" ,pulseaudio)
589 ("qtbase" ,qtbase)
590 ("qtsvg" ,qtsvg)
591 ("qtx11extras" ,qtx11extras)
592 ("solid" ,solid)
593 ("xcb-util" ,xcb-util)))
594 (native-inputs
595 `(("pkg-config" ,pkg-config)
596 ("lxqt-build-tools" ,lxqt-build-tools)
597 ("qttools" ,qttools)))
598 (propagated-inputs
599 ;; Propagating KWINDOWSYSTEM so that the list of opened applications
600 ;; shows up in lxqt-panel's taskbar plugin.
601 `(("kwindowsystem" ,kwindowsystem)))
602 (arguments
603 '(#:tests? #f ; no tests
604 #:phases
605 (modify-phases %standard-phases
606 (add-after 'unpack 'patch-source
607 (lambda _
608 (substitute* '("autostart/CMakeLists.txt"
609 "menu/CMakeLists.txt")
610 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
611 "DESTINATION \"etc/xdg"))
612 #t))
613 (add-after 'unpack 'patch-translations-dir
614 (lambda* (#:key outputs #:allow-other-keys)
615 (substitute* '("cmake/BuildPlugin.cmake"
616 "panel/CMakeLists.txt")
617 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
618 (string-append (assoc-ref outputs "out")
619 "/share/lxqt/translations")))
620 #t)))))
621 (home-page "https://lxqt.org/")
622 (synopsis "The LXQt desktop panel")
623 (description "lxqt-panel represents the taskbar of LXQt.")
624 (license license:lgpl2.1+)))
625
626 (define-public lxqt-policykit
627 (package
628 (name "lxqt-policykit")
629 (version "0.14.1")
630 (source
631 (origin
632 (method url-fetch)
633 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
634 version "/" name "-" version ".tar.xz"))
635 (sha256
636 (base32 "127rqb0nprybkc41lk0yq0r0dk5pbbw22gvrm4pwag71qh8wpk5i"))))
637 (build-system cmake-build-system)
638 (inputs
639 `(("kwindowsystem" ,kwindowsystem)
640 ("liblxqt" ,liblxqt)
641 ("libqtxdg" ,libqtxdg)
642 ("pcre" ,pcre)
643 ("polkit-qt" ,polkit-qt)
644 ("qtbase" ,qtbase)
645 ("qtsvg" ,qtsvg)
646 ("qtx11extras" ,qtx11extras)))
647 (native-inputs
648 `(("pkg-config" ,pkg-config)
649 ("polkit" ,polkit)
650 ("lxqt-build-tools" ,lxqt-build-tools)
651 ("qttools" ,qttools)))
652 (arguments
653 '(#:tests? #f ; no test target
654 #:phases
655 (modify-phases %standard-phases
656 (add-after 'unpack 'patch-source
657 (lambda _
658 (substitute* '("autostart/CMakeLists.txt")
659 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
660 "DESTINATION \"etc/xdg"))
661 #t))
662 (add-after 'unpack 'patch-translations-dir
663 (lambda* (#:key outputs #:allow-other-keys)
664 (substitute* "CMakeLists.txt"
665 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
666 (string-append (assoc-ref outputs "out")
667 "/share/lxqt/translations")))
668 #t)))))
669 (home-page "https://lxqt.org/")
670 (synopsis "The LXQt PolicyKit agent")
671 (description "lxqt-policykit is the polkit authentication agent of
672 LXQt.")
673 (license license:lgpl2.1+)))
674
675 (define-public lxqt-powermanagement
676 (package
677 (name "lxqt-powermanagement")
678 (version "0.14.1")
679 (source
680 (origin
681 (method url-fetch)
682 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
683 version "/" name "-" version ".tar.xz"))
684 (sha256
685 (base32 "06bvgbkbl9p9n8ba5cfsynqgmpb5c8yfnsvp7zqhflj8k9p9msip"))))
686 (build-system cmake-build-system)
687 (inputs
688 `(("kidletime" ,kidletime)
689 ("kwindowsystem" ,kwindowsystem)
690 ("liblxqt" ,liblxqt)
691 ("libqtxdg" ,libqtxdg)
692 ("qtbase" ,qtbase)
693 ("qtsvg" ,qtsvg)
694 ("qtx11extras" ,qtx11extras)
695 ("solid" ,solid)))
696 (native-inputs
697 `(("lxqt-build-tools" ,lxqt-build-tools)
698 ("qttools" ,qttools)))
699 (arguments
700 '(#:tests? #f ; no tests
701 #:phases
702 (modify-phases %standard-phases
703 (add-after 'unpack 'patch-source
704 (lambda _
705 (substitute* '("autostart/CMakeLists.txt")
706 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
707 "DESTINATION \"etc/xdg"))
708 #t))
709 (add-after 'unpack 'patch-translations-dir
710 (lambda* (#:key outputs #:allow-other-keys)
711 (substitute* '("config/CMakeLists.txt"
712 "src/CMakeLists.txt")
713 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
714 (string-append (assoc-ref outputs "out")
715 "/share/lxqt/translations")))
716 #t)))))
717 (home-page "https://lxqt.org/")
718 (synopsis "Power management module for LXQt")
719 (description "lxqt-powermanagement is providing tools to monitor power
720 management events and optionally trigger actions like e. g. shut down a system
721 when laptop batteries are low on power.")
722 (license license:lgpl2.1+)))
723
724 (define-public lxqt-qtplugin
725 (package
726 (name "lxqt-qtplugin")
727 (version "0.14.0")
728 (source
729 (origin
730 (method url-fetch)
731 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
732 version "/" name "-" version ".tar.xz"))
733 (sha256
734 (base32 "18y7xfxwyismcycg70q6r8zrcygz1pdcvg6lqc6ba7azqb9806ds"))))
735 (build-system cmake-build-system)
736 (inputs
737 `(("libdbusmenu-qt" ,libdbusmenu-qt)
738 ("libfm-qt" ,libfm-qt)
739 ("libqtxdg" ,libqtxdg)
740 ("qtbase" ,qtbase)
741 ("qtsvg" ,qtsvg)
742 ("qtx11extras" ,qtx11extras)))
743 (native-inputs
744 `(("lxqt-build-tools" ,lxqt-build-tools)
745 ("qttools" ,qttools)))
746 (arguments
747 '(#:tests? #f ; no tests
748 #:phases
749 (modify-phases %standard-phases
750 (add-after 'unpack 'patch-source
751 (lambda _
752 (substitute* '("src/CMakeLists.txt")
753 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
754 "DESTINATION \"lib/qt5/plugins"))
755 #t)))))
756 (home-page "https://lxqt.org/")
757 (synopsis "LXQt Qt platform integration plugin")
758 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
759 Qt with LXQt.")
760 (license license:lgpl2.1+)))
761
762 (define-public lxqt-runner
763 (package
764 (name "lxqt-runner")
765 (version "0.14.1")
766 (source
767 (origin
768 (method url-fetch)
769 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
770 version "/" name "-" version ".tar.xz"))
771 (sha256
772 (base32 "1c687shypivkhjrpzs1jcy5l2i8d7xzm31c4is1xx6x9nbkgm4bm"))))
773 (build-system cmake-build-system)
774 (inputs
775 `(("kwindowsystem" ,kwindowsystem)
776 ("liblxqt" ,liblxqt)
777 ("libqtxdg" ,libqtxdg)
778 ("lxqt-globalkeys" ,lxqt-globalkeys)
779 ("muparser" ,muparser)
780 ("pcre" ,pcre)
781 ("qtbase" ,qtbase)
782 ("qtsvg" ,qtsvg)
783 ("qtx11extras" ,qtx11extras)))
784 (native-inputs
785 `(("pkg-config" ,pkg-config)
786 ("qttools" ,qttools)
787 ("lxqt-build-tools" ,lxqt-build-tools)))
788 (arguments
789 '(#:tests? #f ; no tests
790 #:phases
791 (modify-phases %standard-phases
792 (add-after 'unpack 'patch-source
793 (lambda _
794 (substitute* '("autostart/CMakeLists.txt")
795 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
796 "DESTINATION \"etc/xdg"))
797 #t))
798 (add-after 'unpack 'patch-translations-dir
799 (lambda* (#:key outputs #:allow-other-keys)
800 (substitute* "CMakeLists.txt"
801 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
802 (string-append (assoc-ref outputs "out")
803 "/share/lxqt/translations")))
804 #t)))))
805 (home-page "https://lxqt.org/")
806 (synopsis "Tool used to launch programs quickly by typing their names")
807 (description "lxqt-runner provides a GUI that comes up on the desktop and
808 allows for launching applications or shutting down the system.")
809 (license license:lgpl2.1+)))
810
811 (define-public lxqt-session
812 (package
813 (name "lxqt-session")
814 (version "0.14.1")
815 (source
816 (origin
817 (method url-fetch)
818 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
819 version "/" name "-" version ".tar.xz"))
820 (sha256
821 (base32 "11i2vimv3336dvvxb6y5csdybwjncr7cq3kwlj52vkpisnxslvgy"))))
822 (build-system cmake-build-system)
823 (inputs
824 `(("eudev" ,eudev)
825 ("kwindowsystem" ,kwindowsystem)
826 ("liblxqt" ,liblxqt)
827 ("libqtxdg" ,libqtxdg)
828 ("qtbase" ,qtbase)
829 ("qtsvg" ,qtsvg)
830 ("qtx11extras" ,qtx11extras)
831 ("xdg-user-dirs" ,xdg-user-dirs)))
832 (native-inputs
833 `(("pkg-config" ,pkg-config)
834 ("lxqt-build-tools" ,lxqt-build-tools)
835 ("qttools" ,qttools)))
836 (arguments
837 `(#:tests? #f
838 #:phases
839 (modify-phases %standard-phases
840 (add-after 'unpack 'patch-source
841 (lambda _
842 (substitute* '("autostart/CMakeLists.txt"
843 "config/CMakeLists.txt")
844 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
845 "DESTINATION \"etc/xdg"))
846 #t))
847 ;; add write permission to lxqt-rc.xml file which is stored as read-only in store
848 (add-after 'unpack 'patch-openbox-permission
849 (lambda _
850 (substitute* "startlxqt.in"
851 (("cp \"\\$LXQT_DEFAULT_OPENBOX_CONFIG\" \"\\$XDG_CONFIG_HOME/openbox\"")
852 (string-append "cp \"$LXQT_DEFAULT_OPENBOX_CONFIG\" \"$XDG_CONFIG_HOME/openbox\"\n"
853 " # fix openbox permission issue\n"
854 " chmod u+w \"$XDG_CONFIG_HOME/openbox\"/*")))
855 #t))
856 (add-after 'unpack 'patch-translations-dir
857 (lambda* (#:key outputs #:allow-other-keys)
858 (substitute* '("lxqt-config-session/CMakeLists.txt"
859 "lxqt-leave/CMakeLists.txt"
860 "lxqt-session/CMakeLists.txt")
861 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
862 (string-append (assoc-ref outputs "out")
863 "/share/lxqt/translations")))
864 #t)))))
865 (home-page "https://lxqt.org/")
866 (synopsis "Session manager for LXQt")
867 (description "lxqt-session provides the standard session manager
868 for the LXQt desktop environment.")
869 (license license:lgpl2.1+)))
870
871 (define-public lxqt-sudo
872 (package
873 (name "lxqt-sudo")
874 (version "0.14.1")
875 (source
876 (origin
877 (method url-fetch)
878 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
879 version "/" name "-" version ".tar.xz"))
880 (sha256
881 (base32 "0mbygp2kkppwk7sxvpnwavdwrx88mh7ldcg6xm3zw1ndp29danay"))))
882 (build-system cmake-build-system)
883 (inputs
884 `(("kwindowsystem" ,kwindowsystem)
885 ("liblxqt" ,liblxqt)
886 ("libqtxdg" ,libqtxdg)
887 ("qtbase" ,qtbase)
888 ("qtsvg" ,qtsvg)
889 ("qtx11extras" ,qtx11extras)
890 ("sudo" ,sudo)))
891 (native-inputs
892 `(("pkg-config" ,pkg-config)
893 ("qttools" ,qttools)
894 ("lxqt-build-tools" ,lxqt-build-tools)))
895 (arguments
896 '(#:tests? #f ; no tests
897 #:phases
898 (modify-phases %standard-phases
899 (add-after 'unpack 'patch-translations-dir
900 (lambda* (#:key outputs #:allow-other-keys)
901 (substitute* "CMakeLists.txt"
902 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
903 (string-append (assoc-ref outputs "out")
904 "/share/lxqt/translations")))
905 #t)))))
906 (home-page "https://lxqt.org/")
907 (synopsis "GUI frontend for sudo/su")
908 (description "lxqt-sudo is a graphical front-end of commands sudo and su
909 respectively. As such it enables regular users to launch applications with
910 permissions of other users including root.")
911 (license license:lgpl2.1+)))
912
913 (define-public lxqt-themes
914 (package
915 (name "lxqt-themes")
916 (version "0.14.0")
917 (source
918 (origin
919 (method url-fetch)
920 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
921 version "/" name "-" version ".tar.xz"))
922 (sha256
923 (base32 "0p7svdpp0z44hvgrp2aip6hym0gdhbanyxsz6iz8sjnn28c995ia"))))
924 (build-system cmake-build-system)
925 (native-inputs
926 `(("lxqt-build-tools" ,lxqt-build-tools)))
927 (arguments
928 `(#:tests? #f ; no tests
929 #:phases
930 (modify-phases %standard-phases
931 (add-after 'unpack 'patch-source
932 (lambda _
933 (substitute* '("CMakeLists.txt")
934 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
935 "DESTINATION \"share/lxqt/graphics"))
936 (substitute* '("themes/CMakeLists.txt")
937 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
938 "DESTINATION \"share/lxqt"))
939 #t)))))
940 (home-page "https://lxqt.org/")
941 (synopsis "Themes, graphics and icons for LXQt")
942 (description "This package comprises a number of graphic files and themes
943 for LXQt.")
944 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
945 ;; licensed under CC-BY-SA 3.0.
946 (license license:lgpl2.1+)))
947
948
949 ;; File Manager
950
951 (define-public libfm-qt
952 (package
953 (name "libfm-qt")
954 (version "0.14.1")
955 (source
956 (origin
957 (method url-fetch)
958 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
959 version "/" name "-" version ".tar.xz"))
960 (sha256
961 (base32 "06p3wqpc574v9f94wkq9hqmbbvb9q8phfpq301z55c5r939f4hrp"))))
962 (build-system cmake-build-system)
963 (arguments
964 '(#:tests? #f)) ; no tests
965 (inputs
966 `(("glib" ,glib)
967 ("libexif" ,libexif)
968 ("libfm" ,libfm)
969 ("libxcb" ,libxcb)
970 ("menu-cache" ,menu-cache)
971 ("pcre" ,pcre)
972 ("qtbase" ,qtbase)
973 ("qtx11extras" ,qtx11extras)))
974 (native-inputs
975 `(("pkg-config" ,pkg-config)
976 ("lxqt-build-tools" ,lxqt-build-tools)
977 ("qttools" ,qttools)))
978 (home-page "https://lxqt.org/")
979 (synopsis "Qt binding for libfm")
980 (description "libfm-qt is the Qt port of libfm, a library providing
981 components to build desktop file managers which belongs to LXDE.")
982 (license license:lgpl2.1+)))
983
984 (define-public pcmanfm-qt
985 (package
986 (name "pcmanfm-qt")
987 (version "0.14.1")
988 (source
989 (origin
990 (method url-fetch)
991 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
992 version "/" name "-" version ".tar.xz"))
993 (sha256
994 (base32 "0x3c25inlxll965xszx37mnl5gp3smm2h7x04f67z0qlh3vsbrjq"))))
995 (build-system cmake-build-system)
996 (inputs
997 `(("libfm-qt" ,libfm-qt)
998 ("qtbase" ,qtbase)
999 ("qtx11extras" ,qtx11extras)))
1000 (native-inputs
1001 `(("pkg-config" ,pkg-config)
1002 ("qttools" ,qttools)
1003 ("lxqt-build-tools" ,lxqt-build-tools)))
1004 (arguments
1005 '(#:tests? #f ; no tests
1006 #:phases
1007 (modify-phases %standard-phases
1008 (add-after 'unpack 'patch-source
1009 (lambda _
1010 (substitute* '("autostart/CMakeLists.txt")
1011 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
1012 "DESTINATION \"etc/xdg"))
1013 #t)))))
1014 (home-page "https://lxqt.org/")
1015 (synopsis "File manager and desktop icon manager")
1016 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
1017 LXDE.")
1018 (license license:gpl2+)))
1019
1020
1021 ;; Extra
1022
1023 (define-public compton-conf
1024 (package
1025 (name "compton-conf")
1026 (version "0.14.1")
1027 (source
1028 (origin
1029 (method url-fetch)
1030 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1031 version "/" name "-" version ".tar.xz"))
1032 (sha256
1033 (base32 "11n8k59jd0q2x66cispc9dpk139mp6j99hq1yjccxvh21vhc7mbc"))))
1034 (build-system cmake-build-system)
1035 (inputs
1036 `(("libconfig" ,libconfig)
1037 ("qtbase" ,qtbase)))
1038 (native-inputs
1039 `(("lxqt-build-tools" ,lxqt-build-tools)
1040 ("pkg-config" ,pkg-config)
1041 ("qttools" ,qttools)))
1042 (arguments
1043 '(#:tests? #f ; no tests
1044 #:phases
1045 (modify-phases %standard-phases
1046 (add-after 'unpack 'patch-source
1047 (lambda _
1048 (substitute* '("autostart/CMakeLists.txt")
1049 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
1050 "DESTINATION \"etc/xdg"))
1051 #t)))))
1052 (home-page "https://lxqt.org/")
1053 (synopsis "GUI configuration tool for compton X composite manager")
1054 (description "@code{compton-conf} is a configuration tool for X composite
1055 manager Compton.")
1056 (license license:lgpl2.1+)))
1057
1058 (define-public lximage-qt
1059 (package
1060 (name "lximage-qt")
1061 (version "0.14.1")
1062 (source
1063 (origin
1064 (method url-fetch)
1065 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1066 version "/" name "-" version ".tar.xz"))
1067 (sha256
1068 (base32 "0iiq55rm4z2jp19q1pbd2whifwvxg052q324vrwp4p7nz0wh04za"))))
1069 (build-system cmake-build-system)
1070 (inputs
1071 `(("libexif" ,libexif)
1072 ("libfm-qt" ,libfm-qt)
1073 ("qtbase" ,qtbase)
1074 ("qtsvg" ,qtsvg)
1075 ("qtx11extras" ,qtx11extras)))
1076 (native-inputs
1077 `(("pkg-config" ,pkg-config)
1078 ("lxqt-build-tools" ,lxqt-build-tools)
1079 ("qttools" ,qttools)))
1080 (arguments
1081 '(#:tests? #f)) ; no tests
1082 (home-page "https://lxqt.org/")
1083 (synopsis "The image viewer and screenshot tool for lxqt")
1084 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
1085 image viewer.")
1086 (license license:gpl2+)))
1087
1088 (define-public obconf-qt
1089 (package
1090 (name "obconf-qt")
1091 (version "0.14.1")
1092 (source
1093 (origin
1094 (method url-fetch)
1095 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1096 version "/" name "-" version ".tar.xz"))
1097 (sha256
1098 (base32 "1kzb7364150b60qd3wcgnw78b9ia5k3b16kq8w3p1y7pg6pddy8m"))))
1099 (build-system cmake-build-system)
1100 (inputs
1101 `(("imlib2" ,imlib2)
1102 ("libsm" ,libsm)
1103 ("librsvg" ,librsvg)
1104 ("libxft" ,libxft)
1105 ("libxml2" ,libxml2)
1106 ("openbox" ,openbox)
1107 ("pango" ,pango)
1108 ("pcre" ,pcre)
1109 ("qtbase" ,qtbase)
1110 ("qtx11extras" ,qtx11extras)))
1111 (native-inputs
1112 `(("lxqt-build-tools" ,lxqt-build-tools)
1113 ("pkg-config" ,pkg-config)
1114 ("qttools" ,qttools)))
1115 (arguments
1116 '(#:tests? #f)) ; no tests
1117 (home-page "https://lxqt.org/")
1118 (synopsis "Openbox configuration tool")
1119 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
1120 window manager OpenBox.")
1121 (license license:gpl2+)))
1122
1123 (define-public pavucontrol-qt
1124 (package
1125 (name "pavucontrol-qt")
1126 (version "0.14.1")
1127 (source
1128 (origin
1129 (method url-fetch)
1130 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1131 version "/" name "-" version ".tar.xz"))
1132 (sha256
1133 (base32 "18mw5r8grfrf95vxjbqrr790kl5l59qdqcmlxmwa6rwbfgywj1fq"))))
1134 (build-system cmake-build-system)
1135 (inputs
1136 `(("glib" ,glib)
1137 ("pcre" ,pcre)
1138 ("pulseaudio" ,pulseaudio)
1139 ("qtbase" ,qtbase)
1140 ("qtx11extras" ,qtx11extras)))
1141 (native-inputs
1142 `(("pkg-config" ,pkg-config)
1143 ("lxqt-build-tools" ,lxqt-build-tools)
1144 ("qttools" ,qttools)))
1145 (arguments
1146 '(#:tests? #f)) ; no tests
1147 (home-page "https://lxqt.org/")
1148 (synopsis "Pulseaudio mixer in Qt")
1149 (description "@code{pavucontrol-qt} is the Qt port of volume control
1150 @code{pavucontrol} of sound server @code{PulseAudio}.")
1151 (license license:gpl2+)))
1152
1153 (define-public qps
1154 (package
1155 (name "qps")
1156 (version "2.0.0")
1157 (source
1158 (origin
1159 (method url-fetch)
1160 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1161 version "/" name "-" version ".tar.xz"))
1162 (sha256
1163 (base32 "0ysnh918n9wz2vgjvyix32kx2j0v4lskjacgcychrpb8sch2dbsi"))))
1164 (build-system cmake-build-system)
1165 (inputs
1166 `(("libxrender" ,libxrender)
1167 ("qtbase" ,qtbase)
1168 ("qtx11extras" ,qtx11extras)))
1169 (native-inputs
1170 `(("lxqt-build-tools" ,lxqt-build-tools)
1171 ("qttools" ,qttools)))
1172 (arguments
1173 '(#:tests? #f)) ; no tests
1174 (home-page "https://lxqt.org/")
1175 (synopsis "Qt-based visual process status monitor")
1176 (description "@code{qps} is a monitor that displays the status of the
1177 processes currently in existence, much like code{top} or code{ps}.")
1178 (license license:gpl2+)))
1179
1180 (define-public qtermwidget
1181 (package
1182 (name "qtermwidget")
1183 (version "0.14.1")
1184 (source
1185 (origin
1186 (method url-fetch)
1187 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1188 version "/" name "-" version ".tar.xz"))
1189 (sha256
1190 (base32 "0v1vvi8vf9y8nv8y0gzffaqji53s75ab5jypksih0ndcws8ryww4"))))
1191 (build-system cmake-build-system)
1192 (inputs
1193 `(("qtbase" ,qtbase)
1194 ("utf8proc" ,utf8proc)))
1195 (native-inputs
1196 `(("lxqt-build-tools" ,lxqt-build-tools)
1197 ("qttools" ,qttools)))
1198 (arguments
1199 '(#:tests? #f)) ; no tests
1200 (home-page "https://lxqt.org/")
1201 (synopsis "The terminal widget for QTerminal")
1202 (description "QTermWidget is a terminal emulator widget for Qt 5.")
1203 (license license:gpl2+)))
1204
1205 (define-public qterminal
1206 (package
1207 (name "qterminal")
1208 (version "0.14.1")
1209 (source
1210 (origin
1211 (method url-fetch)
1212 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1213 version "/" name "-" version ".tar.xz"))
1214 (sha256
1215 (base32 "0cgyaskyqginmm85d11inbi0mmxrsrnvgyx6g4l4l4iqpphfq670"))))
1216 (build-system cmake-build-system)
1217 (inputs
1218 `(("qtbase" ,qtbase)
1219 ("qtx11extras" ,qtx11extras)
1220 ("qtermwidget" ,qtermwidget)))
1221 (native-inputs
1222 `(("lxqt-build-tools" ,lxqt-build-tools)
1223 ("qttools" ,qttools)))
1224 (arguments
1225 '(#:tests? #f)) ; no tests
1226 (home-page "https://lxqt.org/")
1227 (synopsis "Lightweight Qt-based terminal emulator")
1228 (description "QTerminal is a lightweight Qt terminal emulator based on
1229 QTermWidget.")
1230 (license license:gpl2+)))
1231
1232 (define-public screengrab
1233 (package
1234 (name "screengrab")
1235 (version "1.101")
1236 (source
1237 (origin
1238 (method url-fetch)
1239 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1240 version "/screengrab-" version ".tar.xz"))
1241 (sha256
1242 (base32 "05f81xjlmiykd7iwx5xns5vnynjq4js4x1bk8wd648frrksp44fa"))))
1243 (build-system cmake-build-system)
1244 (inputs
1245 `(("kwindowsystem" ,kwindowsystem)
1246 ("libqtxdg" ,libqtxdg)
1247 ("qtbase" ,qtbase)
1248 ("qtsvg" ,qtsvg)
1249 ("qtx11extras" ,qtx11extras)))
1250 (native-inputs
1251 `(("pkg-config" ,pkg-config)
1252 ("qttools" ,qttools)))
1253 (arguments
1254 '(#:tests? #f)) ; no tests
1255 (home-page "https://lxqt.org/")
1256 (synopsis "Crossplatform tool for fast making screenshots")
1257 (description "ScreenGrab is a program for fast creating screenshots, and
1258 easily publishing them on internet image hosting services.")
1259 (license license:gpl2+)))
1260
1261
1262 (define-public lxqt-archiver
1263 (package
1264 (name "lxqt-archiver")
1265 (version "0.0.96")
1266 (source
1267 (origin
1268 (method git-fetch)
1269 (uri (git-reference
1270 (url (string-append "https://github.com/lxqt/" name ".git"))
1271 (commit version)))
1272 (file-name (git-file-name name version))
1273 (sha256
1274 (base32 "09rw774vxj96wcpxxncz6nr9bmw7l4l0kwylmz1saq6rpa2yvn2i"))))
1275 (build-system cmake-build-system)
1276 (inputs
1277 `(("glib" ,glib)
1278 ("json-glib" ,json-glib)
1279 ("libfm-qt" ,libfm-qt)
1280 ("qtbase" ,qtbase)
1281 ("qtx11extras" ,qtx11extras)))
1282 (native-inputs
1283 `(("pkg-config" ,pkg-config)
1284 ("lxqt-build-tools" ,lxqt-build-tools)
1285 ("qttools" ,qttools)))
1286 (arguments
1287 '(#:tests? #f))
1288 (home-page "https://lxqt.org/")
1289 (synopsis "Simple & lightweight desktop-agnostic Qt file archiver")
1290 (description
1291 "This package provides a Qt graphical interface to archiving programs
1292 like @command{tar} and @command{zip}.")
1293 (license license:gpl2+)))
1294
1295 (define-public lxqt-connman-applet
1296 ;; since the main developers didn't release any version yet, their
1297 ;; latest commit on `master` branch at the moment used for this version.
1298 (let ((commit "3db374eebd8d851f68a50fc5d1ef5fa9478c275e")
1299 (revision "0"))
1300 (package
1301 (name "lxqt-connman-applet")
1302 (version (git-version "0.14.1" revision commit))
1303 (source
1304 (origin
1305 (method git-fetch)
1306 (uri (git-reference
1307 (url (string-append "https://github.com/lxqt/" name ".git"))
1308 (commit commit)))
1309 (file-name (git-file-name name version))
1310 (sha256 (base32 "1brkyzjmpa7hiv8p8rvmkcgagchh2zn71ry4pjiplga05as3jc11"))))
1311 (build-system cmake-build-system)
1312 (inputs
1313 `(("kwindowsystem" ,kwindowsystem)
1314 ("qtbase" ,qtbase)
1315 ("qtsvg" ,qtsvg)
1316 ("liblxqt" ,liblxqt)
1317 ("qtx11extras" ,qtx11extras)
1318 ("libqtxdg" ,libqtxdg)))
1319 (native-inputs
1320 `(("lxqt-build-tools" ,lxqt-build-tools)
1321 ("qtlinguist" ,qttools)))
1322 (arguments
1323 `(#:tests? #f ; no tests
1324 #:phases
1325 (modify-phases %standard-phases
1326 (add-after 'unpack 'patch-translations-dir
1327 (lambda* (#:key outputs #:allow-other-keys)
1328 (substitute* "CMakeLists.txt"
1329 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
1330 (string-append (assoc-ref outputs "out")
1331 "/share/lxqt/translations"))
1332 (("\\$\\{LXQT_ETC_XDG_DIR\\}") "etc/xdg"))
1333 #t)))))
1334 (home-page "https://github.com/lxqt/lxqt-connman-applet")
1335 (synopsis "System-tray applet for connman")
1336 (description "This package provides a Qt-based system-tray applet for
1337 the network management tool Connman, originally developed for the LXQT
1338 desktop.")
1339 (license license:lgpl2.1+))))
1340
1341 ;; The LXQt Desktop Environment
1342
1343 (define-public lxqt
1344 (package
1345 (name "lxqt")
1346 (version (package-version lxqt-session))
1347 (source #f)
1348 (build-system trivial-build-system)
1349 (arguments '(#:builder (begin (mkdir %output) #t)))
1350 (propagated-inputs
1351 `(;; XDG
1352 ("desktop-file-utils" ,desktop-file-utils)
1353 ("hicolor-icon-theme" ,hicolor-icon-theme)
1354 ("xdg-user-dirs" ,xdg-user-dirs)
1355 ("xdg-utils" ,xdg-utils)
1356 ;; Base
1357 ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
1358 ;; should be added to their propagated-inputs?
1359 ("qtsvg" ,qtsvg)
1360 ;; Core
1361 ("lxqt-about" ,lxqt-about)
1362 ("lxqt-admin" ,lxqt-admin)
1363 ("lxqt-config" ,lxqt-config)
1364 ("lxqt-notificationd" ,lxqt-notificationd)
1365 ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
1366 ("lxqt-panel" ,lxqt-panel)
1367 ("lxqt-policykit" ,lxqt-policykit)
1368 ("lxqt-powermanagement" ,lxqt-powermanagement)
1369 ("lxqt-qtplugin" ,lxqt-qtplugin)
1370 ("lxqt-runner" ,lxqt-runner)
1371 ("lxqt-session" ,lxqt-session)
1372 ("lxqt-sudo" ,lxqt-sudo)
1373 ("lxqt-themes" ,lxqt-themes)
1374 ("pcmanfm-qt" ,pcmanfm-qt)
1375 ;; Extra
1376 ("compton" ,compton)
1377 ("compton-conf" ,compton-conf)
1378 ("font-dejavu" ,font-dejavu)
1379 ("lximage-qt" ,lximage-qt)
1380 ("obconf-qt" ,obconf-qt)
1381 ("openbox" ,openbox)
1382 ("oxygen-icons" ,oxygen-icons)
1383 ("pavucontrol-qt" ,pavucontrol-qt)
1384 ("qps" ,qps)
1385 ("qterminal" ,qterminal)))
1386 (synopsis "The Lightweight Qt Desktop Environment")
1387 (description "LXQt is a lightweight Qt desktop environment.")
1388 (home-page "https://lxqt.org/")
1389 (license license:gpl2+)))