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