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