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