gnu: lxqt-notificationd: 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")
507 (version "0.13.0")
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
514 (base32 "0l2272gya8jgv71bvg2hz37lnhiznv4ng3j0p6j79f99hwb5ygpk"))))
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
528 #:configure-flags
529 ;; TODO: prefetch translations files from 'lxqt-l10n'.
530 '("-DPULL_TRANSLATIONS=NO")))
531 (home-page "https://lxqt.org/")
532 (synopsis "GUI to query passwords on behalf of SSH agents")
533 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
534of other programs.")
535 (license license:lgpl2.1+)))
a98000a4 536
af291d1c
MP
537(define-public lxqt-panel
538 (package
539 (name "lxqt-panel")
540 (version "0.13.0")
541 (source
542 (origin
543 (method url-fetch)
544 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
545 version "/" name "-" version ".tar.xz"))
546 (sha256
547 (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1"))))
548 (build-system cmake-build-system)
549 (inputs
550 `(("alsa-lib" ,alsa-lib)
551 ("kguiaddons" ,kguiaddons)
552 ("kwindowsystem" ,kwindowsystem)
553 ("libdbusmenu-qt" ,libdbusmenu-qt)
554 ("liblxqt" ,liblxqt)
555 ("libqtxdg" ,libqtxdg)
556 ("libstatgrab" ,libstatgrab)
b42b5afd 557 ("libsysstat" ,libsysstat)
af291d1c
MP
558 ("libxcomposite" ,libxcomposite)
559 ("libxdamage" ,libxdamage)
560 ("libxkbcommon" ,libxkbcommon)
561 ("libxrender" ,libxrender)
562 ("lm-sensors" ,lm-sensors "lib")
563 ("lxqt-globalkeys" ,lxqt-globalkeys)
564 ("pcre" ,pcre)
565 ("pulseaudio" ,pulseaudio)
566 ("qtbase" ,qtbase)
567 ("qtsvg" ,qtsvg)
568 ("qtx11extras" ,qtx11extras)
569 ("solid" ,solid)
570 ("xcb-util" ,xcb-util)))
571 (native-inputs
572 `(("pkg-config" ,pkg-config)
573 ("lxqt-build-tools" ,lxqt-build-tools)
574 ("qttools" ,qttools)))
575 (arguments
576 '(#:tests? #f ; no tests
577 #:configure-flags
578 ;; TODO: prefetch translations files from 'lxqt-l10n'.
579 '("-DPULL_TRANSLATIONS=NO")
580 #:phases
581 (modify-phases %standard-phases
582 (add-after 'unpack 'patch-source
583 (lambda _
584 (substitute* '("autostart/CMakeLists.txt"
585 "menu/CMakeLists.txt")
586 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
097166df 587 "DESTINATION \"etc/xdg"))
af291d1c
MP
588 #t)))))
589 (home-page "https://lxqt.org/")
590 (synopsis "The LXQt desktop panel")
591 (description "lxqt-panel represents the taskbar of LXQt.")
a6b941dd 592 (license license:lgpl2.1+)))
af291d1c 593
bf0da63a
MP
594(define-public lxqt-policykit
595 (package
596 (name "lxqt-policykit")
597 (version "0.13.0")
598 (source
599 (origin
600 (method url-fetch)
601 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
602 version "/" name "-" version ".tar.xz"))
603 (sha256
604 (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp"))))
605 (build-system cmake-build-system)
606 (inputs
607 `(("kwindowsystem" ,kwindowsystem)
608 ("liblxqt" ,liblxqt)
609 ("libqtxdg" ,libqtxdg)
610 ("pcre" ,pcre)
611 ("polkit-qt" ,polkit-qt)
612 ("qtbase" ,qtbase)
613 ("qtsvg" ,qtsvg)
614 ("qtx11extras" ,qtx11extras)))
615 (native-inputs
616 `(("pkg-config" ,pkg-config)
617 ("polkit" ,polkit)
618 ("lxqt-build-tools" ,lxqt-build-tools)
619 ("qttools" ,qttools)))
620 (arguments
621 '(#:tests? #f ; no test target
622 #:configure-flags
623 '("-DPULL_TRANSLATIONS=NO")
624 #:phases
625 (modify-phases %standard-phases
626 (add-after 'unpack 'patch-source
627 (lambda _
628 (substitute* '("autostart/CMakeLists.txt")
629 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
097166df 630 "DESTINATION \"etc/xdg"))
bf0da63a
MP
631 #t)))))
632 (home-page "https://lxqt.org/")
633 (synopsis "The LXQt PolicyKit agent")
634 (description "lxqt-policykit is the polkit authentification agent of
635LXQt.")
636 (license license:lgpl2.1+)))
637
643961bb
MP
638(define-public lxqt-powermanagement
639 (package
640 (name "lxqt-powermanagement")
641 (version "0.13.0")
642 (source
643 (origin
644 (method url-fetch)
645 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
646 version "/" name "-" version ".tar.xz"))
647 (sha256
648 (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613"))))
649 (build-system cmake-build-system)
650 (inputs
651 `(("kidletime" ,kidletime)
652 ("kwindowsystem" ,kwindowsystem)
653 ("liblxqt" ,liblxqt)
654 ("libqtxdg" ,libqtxdg)
655 ("qtbase" ,qtbase)
656 ("qtsvg" ,qtsvg)
657 ("qtx11extras" ,qtx11extras)
658 ("solid" ,solid)))
659 (native-inputs
660 `(("lxqt-build-tools" ,lxqt-build-tools)
661 ("qttools" ,qttools)))
662 (arguments
663 '(#:tests? #f ; no tests
664 #:configure-flags
665 ;; TODO: prefetch translations files from 'lxqt-l10n'.
666 '("-DPULL_TRANSLATIONS=NO")
667 #:phases
668 (modify-phases %standard-phases
669 (add-after 'unpack 'patch-source
670 (lambda _
671 (substitute* '("autostart/CMakeLists.txt")
672 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
097166df 673 "DESTINATION \"etc/xdg"))
643961bb
MP
674 #t)))))
675 (home-page "https://lxqt.org/")
676 (synopsis "Power management module for LXQt")
677 (description "lxqt-powermanagement is providing tools to monitor power
678management events and optionally trigger actions like e. g. shut down a system
679when laptop batteries are low on power.")
680 (license license:lgpl2.1+)))
681
5663b5b0
MP
682(define-public lxqt-qtplugin
683 (package
684 (name "lxqt-qtplugin")
685 (version "0.13.0")
686 (source
687 (origin
688 (method url-fetch)
689 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
690 version "/" name "-" version ".tar.xz"))
691 (sha256
692 (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56"))))
693 (build-system cmake-build-system)
694 (inputs
695 `(("libdbusmenu-qt" ,libdbusmenu-qt)
696 ("libfm-qt" ,libfm-qt)
697 ("libqtxdg" ,libqtxdg)
698 ("qtbase" ,qtbase)
699 ("qtsvg" ,qtsvg)
700 ("qtx11extras" ,qtx11extras)))
701 (native-inputs
702 `(("lxqt-build-tools" ,lxqt-build-tools)
703 ("qttools" ,qttools)))
704 (arguments
705 '(#:tests? #f ; no tests
706 #:phases
707 (modify-phases %standard-phases
708 (add-after 'unpack 'patch-source
709 (lambda _
710 (substitute* '("src/CMakeLists.txt")
711 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
097166df 712 "DESTINATION \"lib/qt5/plugins"))
5663b5b0
MP
713 #t)))))
714 (home-page "https://lxqt.org/")
715 (synopsis "LXQt Qt platform integration plugin")
716 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
717Qt with LXQt.")
718 (license license:lgpl2.1+)))
719
cc7f4175
MP
720(define-public lxqt-runner
721 (package
722 (name "lxqt-runner")
723 (version "0.13.0")
724 (source
725 (origin
726 (method url-fetch)
727 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
728 version "/" name "-" version ".tar.xz"))
729 (sha256
730 (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali"))))
731 (build-system cmake-build-system)
732 (inputs
733 `(("kwindowsystem" ,kwindowsystem)
734 ("liblxqt" ,liblxqt)
735 ("libqtxdg" ,libqtxdg)
736 ("lxqt-globalkeys" ,lxqt-globalkeys)
737 ("muparser" ,muparser)
738 ("pcre" ,pcre)
739 ("qtbase" ,qtbase)
740 ("qtsvg" ,qtsvg)
741 ("qtx11extras" ,qtx11extras)))
742 (native-inputs
743 `(("pkg-config" ,pkg-config)
b42b5afd 744 ("qttools" ,qttools)
cc7f4175
MP
745 ("lxqt-build-tools" ,lxqt-build-tools)))
746 (arguments
747 '(#:tests? #f ; no tests
748 #:configure-flags
749 ;; TODO: prefetch translations files from 'lxqt-l10n'.
750 '("-DPULL_TRANSLATIONS=NO")
751 #:phases
752 (modify-phases %standard-phases
753 (add-after 'unpack 'patch-source
754 (lambda _
755 (substitute* '("autostart/CMakeLists.txt")
756 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
097166df 757 "DESTINATION \"etc/xdg"))
cc7f4175
MP
758 #t)))))
759 (home-page "https://lxqt.org/")
760 (synopsis "Tool used to launch programs quickly by typing their names")
761 (description "lxqt-runner provides a GUI that comes up on the desktop and
762allows for launching applications or shutting down the system.")
a6b941dd 763 (license license:lgpl2.1+)))
cc7f4175 764
54033a4d
AE
765(define-public lxqt-session
766 (package
767 (name "lxqt-session")
70c488f8 768 (version "0.13.0")
54033a4d
AE
769 (source
770 (origin
771 (method url-fetch)
70c488f8
MP
772 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
773 version "/" name "-" version ".tar.xz"))
54033a4d 774 (sha256
70c488f8 775 (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
54033a4d 776 (build-system cmake-build-system)
54033a4d 777 (inputs
70c488f8
MP
778 `(("eudev" ,eudev)
779 ("kwindowsystem" ,kwindowsystem)
54033a4d 780 ("liblxqt" ,liblxqt)
e099d2a6
EF
781 ("libqtxdg" ,libqtxdg)
782 ("qtbase" ,qtbase)
70c488f8 783 ("qtsvg" ,qtsvg)
70c488f8
MP
784 ("qtx11extras" ,qtx11extras)
785 ("xdg-user-dirs" ,xdg-user-dirs)))
786 (native-inputs
787 `(("pkg-config" ,pkg-config)
f2b48558
MP
788 ("lxqt-build-tools" ,lxqt-build-tools)
789 ("qttools" ,qttools)))
54033a4d 790 (arguments
70c488f8
MP
791 `(#:tests? #f
792 #:configure-flags
793 `("-DPULL_TRANSLATIONS=NO")
54033a4d 794 #:phases
70c488f8
MP
795 (modify-phases %standard-phases
796 (add-after 'unpack 'patch-source
54033a4d 797 (lambda _
70c488f8
MP
798 (substitute* '("autostart/CMakeLists.txt"
799 "config/CMakeLists.txt")
800 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
097166df 801 "DESTINATION \"etc/xdg"))
70c488f8
MP
802 #t)))))
803 (home-page "https://lxqt.org/")
54033a4d
AE
804 (synopsis "Session manager for LXQt")
805 (description "lxqt-session provides the standard session manager
806for the LXQt desktop environment.")
a6b941dd 807 (license license:lgpl2.1+)))
dbb4f7d0
MP
808
809(define-public lxqt-sudo
810 (package
811 (name "lxqt-sudo")
812 (version "0.13.0")
813 (source
814 (origin
815 (method url-fetch)
816 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
817 version "/" name "-" version ".tar.xz"))
818 (sha256
819 (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf"))))
820 (build-system cmake-build-system)
821 (inputs
822 `(("kwindowsystem" ,kwindowsystem)
823 ("liblxqt" ,liblxqt)
824 ("libqtxdg" ,libqtxdg)
825 ("qtbase" ,qtbase)
826 ("qtsvg" ,qtsvg)
827 ("qtx11extras" ,qtx11extras)
828 ("sudo" ,sudo)))
829 (native-inputs
830 `(("pkg-config" ,pkg-config)
831 ("qttools" ,qttools)
832 ("lxqt-build-tools" ,lxqt-build-tools)))
833 (arguments
834 '(#:tests? #f ; no tests
835 #:configure-flags
836 ;; TODO: prefetch translations files from 'lxqt-l10n'.
837 '("-DPULL_TRANSLATIONS=NO")))
838 (home-page "https://lxqt.org/")
839 (synopsis "GUI frontend for sudo/su")
840 (description "lxqt-sudo is a graphical front-end of commands sudo and su
841respectively. As such it enables regular users to launch applications with
842permissions of other users including root.")
a6b941dd 843 (license license:lgpl2.1+)))
d6fd4a76 844
26127ebb 845(define-public lxqt-themes
84f6a990 846 (package
26127ebb
MP
847 (name "lxqt-themes")
848 (version "0.13.0")
84f6a990
MP
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
26127ebb
MP
855 (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf"))))
856 (build-system cmake-build-system)
857 (native-inputs
858 `(("lxqt-build-tools" ,lxqt-build-tools)))
859 (arguments
860 `(#:tests? #f ; no tests
861 #:phases
862 (modify-phases %standard-phases
863 (add-after 'unpack 'patch-source
864 (lambda _
865 (substitute* '("CMakeLists.txt")
866 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
097166df 867 "DESTINATION \"share/lxqt/graphics"))
26127ebb
MP
868 (substitute* '("themes/CMakeLists.txt")
869 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
097166df 870 "DESTINATION \"share/lxqt"))
26127ebb
MP
871 #t)))))
872 (home-page "https://lxqt.org/")
873 (synopsis "Themes, graphics and icons for LXQt")
874 (description "This package comprises a number of graphic files and themes
875for LXQt.")
876 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
877 ;; licensed under CC-BY-SA 3.0.
878 (license license:lgpl2.1+)))
879
880
881;; File Manager
882
883(define-public libfm-qt
884 (package
885 (name "libfm-qt")
886 (version "0.13.1")
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
893 (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9"))))
84f6a990 894 (build-system cmake-build-system)
26127ebb
MP
895 (arguments
896 '(#:tests? #f ; no tests
897 #:configure-flags
898 ;; TODO : prefetch translations files from 'lxqt-l10n'.
899 '("-DPULL_TRANSLATIONS=NO")))
84f6a990
MP
900 (inputs
901 `(("glib" ,glib)
26127ebb
MP
902 ("libexif" ,libexif)
903 ("libfm" ,libfm)
904 ("libxcb" ,libxcb)
905 ("menu-cache" ,menu-cache)
84f6a990 906 ("pcre" ,pcre)
84f6a990
MP
907 ("qtbase" ,qtbase)
908 ("qtx11extras" ,qtx11extras)))
909 (native-inputs
910 `(("pkg-config" ,pkg-config)
911 ("lxqt-build-tools" ,lxqt-build-tools)
912 ("qttools" ,qttools)))
84f6a990 913 (home-page "https://lxqt.org/")
26127ebb
MP
914 (synopsis "Qt binding for libfm")
915 (description "libfm-qt is the Qt port of libfm, a library providing
916components to build desktop file managers which belongs to LXDE.")
84f6a990
MP
917 (license license:lgpl2.1+)))
918
d6fd4a76
MP
919(define-public pcmanfm-qt
920 (package
921 (name "pcmanfm-qt")
922 (version "0.13.0")
923 (source
924 (origin
925 (method url-fetch)
926 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
927 version "/" name "-" version ".tar.xz"))
928 (sha256
929 (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz"))))
930 (build-system cmake-build-system)
931 (inputs
932 `(("libfm-qt" ,libfm-qt)
933 ("qtbase" ,qtbase)
934 ("qtx11extras" ,qtx11extras)))
935 (native-inputs
936 `(("pkg-config" ,pkg-config)
937 ("qttools" ,qttools)
938 ("lxqt-build-tools" ,lxqt-build-tools)))
939 (arguments
940 '(#:tests? #f ; no tests
941 #:configure-flags
942 ;; TODO: prefetch translations files from 'lxqt-l10n'.
943 '("-DPULL_TRANSLATIONS=NO")
944 #:phases
945 (modify-phases %standard-phases
946 (add-after 'unpack 'patch-source
947 (lambda _
948 (substitute* '("autostart/CMakeLists.txt")
949 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
097166df 950 "DESTINATION \"etc/xdg"))
d6fd4a76
MP
951 #t)))))
952 (home-page "https://lxqt.org/")
953 (synopsis "File manager and desktop icon manager")
954 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
955LXDE.")
6f00fb75 956 (license license:gpl2+)))
0aab2349 957
26127ebb
MP
958
959;; Extra
960
32b74b70
MP
961(define-public compton-conf
962 (package
963 (name "compton-conf")
964 (version "0.4.0")
965 (source
966 (origin
967 (method url-fetch)
968 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
969 version "/" name "-" version ".tar.xz"))
970 (sha256
971 (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci"))))
972 (build-system cmake-build-system)
973 (inputs
974 `(("libconfig" ,libconfig)
975 ("qtbase" ,qtbase)))
976 (native-inputs
977 `(("lxqt-build-tools" ,lxqt-build-tools)
978 ("pkg-config" ,pkg-config)
979 ("qttools" ,qttools)))
980 (arguments
981 '(#:tests? #f ; no tests
982 #:configure-flags
983 ;; TODO: prefetch translations files from 'lxqt-l10n'.
984 '("-DPULL_TRANSLATIONS=NO")
985 #:phases
986 (modify-phases %standard-phases
987 (add-after 'unpack 'patch-source
988 (lambda _
989 (substitute* '("autostart/CMakeLists.txt")
990 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
097166df 991 "DESTINATION \"etc/xdg"))
32b74b70
MP
992 #t)))))
993 (home-page "https://lxqt.org/")
994 (synopsis "GUI configuration tool for compton X composite manager")
995 (description "@code{compton-conf} is a configuration tool for X composite
996manager Compton.")
997 (license license:lgpl2.1+)))
998
604bdae7
MP
999(define-public lximage-qt
1000 (package
1001 (name "lximage-qt")
1002 (version "0.7.0")
1003 (source
1004 (origin
1005 (method url-fetch)
1006 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1007 version "/" name "-" version ".tar.xz"))
1008 (sha256
1009 (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w"))))
1010 (build-system cmake-build-system)
1011 (inputs
1012 `(("libexif" ,libexif)
1013 ("libfm-qt" ,libfm-qt)
1014 ("qtbase" ,qtbase)
1015 ("qtsvg" ,qtsvg)
1016 ("qtx11extras" ,qtx11extras)))
1017 (native-inputs
1018 `(("pkg-config" ,pkg-config)
1019 ("lxqt-build-tools" ,lxqt-build-tools)
1020 ("qttools" ,qttools)))
1021 (arguments
1022 '(#:tests? #f ; no tests
1023 #:configure-flags
1024 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1025 '("-DPULL_TRANSLATIONS=NO")))
1026 (home-page "https://lxqt.org/")
1027 (synopsis "The image viewer and screenshot tool for lxqt")
1028 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
1029image viewer.")
6f00fb75 1030 (license license:gpl2+)))
604bdae7 1031
31fd62c8
MP
1032(define-public obconf-qt
1033 (package
1034 (name "obconf-qt")
1035 (version "0.13.0")
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 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf"))))
1043 (build-system cmake-build-system)
1044 (inputs
1045 `(("imlib2" ,imlib2)
1046 ("libsm" ,libsm)
1047 ("librsvg" ,librsvg)
1048 ("libxft" ,libxft)
1049 ("libxml2" ,libxml2)
1050 ("openbox" ,openbox)
1051 ("pango" ,pango)
1052 ("pcre" ,pcre)
1053 ("qtbase" ,qtbase)
1054 ("qtx11extras" ,qtx11extras)))
1055 (native-inputs
1056 `(("lxqt-build-tools" ,lxqt-build-tools)
1057 ("pkg-config" ,pkg-config)
1058 ("qttools" ,qttools)))
1059 (arguments
1060 '(#:tests? #f ; no tests
1061 #:configure-flags
1062 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1063 '("-DPULL_TRANSLATIONS=NO")))
1064 (home-page "https://lxqt.org/")
1065 (synopsis "Openbox configuration tool")
1066 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
1067window manager OpenBox.")
1068 (license license:gpl2+)))
1069
26127ebb
MP
1070(define-public pavucontrol-qt
1071 (package
1072 (name "pavucontrol-qt")
1073 (version "0.4.0")
1074 (source
1075 (origin
1076 (method url-fetch)
1077 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1078 version "/" name "-" version ".tar.xz"))
1079 (sha256
1080 (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6"))))
1081 (build-system cmake-build-system)
1082 (inputs
1083 `(("glib" ,glib)
1084 ("pcre" ,pcre)
1085 ("pulseaudio" ,pulseaudio)
1086 ("qtbase" ,qtbase)
1087 ("qtx11extras" ,qtx11extras)))
1088 (native-inputs
1089 `(("pkg-config" ,pkg-config)
1090 ("lxqt-build-tools" ,lxqt-build-tools)
1091 ("qttools" ,qttools)))
1092 (arguments
1093 '(#:tests? #f ; no tests
1094 #:configure-flags
1095 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1096 '("-DPULL_TRANSLATIONS=NO")))
1097 (home-page "https://lxqt.org/")
1098 (synopsis "Pulseaudio mixer in Qt")
1099 (description "@code{pavucontrol-qt} is the Qt port of volume control
1100@code{pavucontrol} of sound server @code{PulseAudio}.")
6f00fb75 1101 (license license:gpl2+)))
26127ebb 1102
9886134c
MP
1103(define-public qps
1104 (package
1105 (name "qps")
1106 (version "1.10.18")
1107 (source
1108 (origin
1109 (method url-fetch)
1110 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1111 version "/" name "-" version ".tar.xz"))
1112 (sha256
1113 (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44"))))
1114 (build-system cmake-build-system)
1115 (inputs
1116 `(("libxrender" ,libxrender)
1117 ("qtbase" ,qtbase)
1118 ("qtx11extras" ,qtx11extras)))
1119 (native-inputs
1120 `(("qttools" ,qttools)))
1121 (arguments
1122 '(#:tests? #f)) ; no tests
1123 (home-page "https://lxqt.org/")
1124 (synopsis "Qt-based visual process status monitor")
1125 (description "@code{qps} is a monitor that displays the status of the
1126processes currently in existence, much like code{top} or code{ps}.")
1127 (license license:gpl2+)))
1128
0aab2349
MP
1129(define-public qtermwidget
1130 (package
1131 (name "qtermwidget")
1132 (version "0.9.0")
1133 (source
1134 (origin
1135 (method url-fetch)
1136 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1137 version "/" name "-" version ".tar.xz"))
1138 (sha256
1139 (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773"))))
1140 (build-system cmake-build-system)
1141 (inputs
1142 `(("qtbase" ,qtbase)))
1143 (native-inputs
1144 `(("lxqt-build-tools" ,lxqt-build-tools)
1145 ("qttools" ,qttools)))
1146 (arguments
1147 '(#:tests? #f ; no tests
1148 #:configure-flags
1149 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1150 '("-DPULL_TRANSLATIONS=NO")))
1151 (home-page "https://lxqt.org/")
1152 (synopsis "The terminal widget for QTerminal")
1153 (description "QTermWidget is a terminal emulator widget for Qt 5.")
6f00fb75 1154 (license license:gpl2+)))
7e9e775f
MP
1155
1156(define-public qterminal
1157 (package
1158 (name "qterminal")
1159 (version "0.9.0")
1160 (source
1161 (origin
1162 (method url-fetch)
1163 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1164 version "/" name "-" version ".tar.xz"))
1165 (sha256
1166 (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1"))))
1167 (build-system cmake-build-system)
1168 (inputs
1169 `(("qtbase" ,qtbase)
1170 ("qtx11extras" ,qtx11extras)
1171 ("qtermwidget" ,qtermwidget)))
1172 (native-inputs
1173 `(("lxqt-build-tools" ,lxqt-build-tools)
1174 ("qttools" ,qttools)))
1175 (arguments
1176 '(#:tests? #f ; no tests
1177 #:configure-flags
1178 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1179 '("-DPULL_TRANSLATIONS=NO")))
1180 (home-page "https://lxqt.org/")
1181 (synopsis "Lightweight Qt-based terminal emulator")
1182 (description "QTerminal is a lightweight Qt terminal emulator based on
1183QTermWidget.")
6f00fb75 1184 (license license:gpl2+)))
4b88ab55
MP
1185
1186(define-public screengrab
1187 (package
1188 (name "screengrab")
1189 (version "1.99")
1190 (source
1191 (origin
1192 (method url-fetch)
063bc5f8
TGR
1193 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1194 version "/screengrab-" version ".tar.xz"))
4b88ab55
MP
1195 (sha256
1196 (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3"))))
1197 (build-system cmake-build-system)
1198 (inputs
1199 `(("kwindowsystem" ,kwindowsystem)
1200 ("libqtxdg" ,libqtxdg)
1201 ("qtbase" ,qtbase)
1202 ("qtsvg" ,qtsvg)
1203 ("qtx11extras" ,qtx11extras)))
1204 (native-inputs
1205 `(("pkg-config" ,pkg-config)
1206 ("qttools" ,qttools)))
1207 (arguments
1208 '(#:tests? #f)) ; no tests
1209 (home-page "https://lxqt.org/")
1210 (synopsis "Crossplatform tool for fast making screenshots")
1211 (description "ScreenGrab is a program for fast creating screenshots, and
1212easily publishing them on internet image hosting services.")
6f00fb75 1213 (license license:gpl2+)))
1fdcee02
MP
1214
1215
1216;; The LXQt Desktop Environment
1217
1218(define-public lxqt
1219 (package
1220 (name "lxqt")
1221 (version (package-version lxqt-session))
1222 (source #f)
1223 (build-system trivial-build-system)
1224 (arguments '(#:builder (begin (mkdir %output) #t)))
1225 (propagated-inputs
1226 `(;; XDG
1227 ("desktop-file-utils" ,desktop-file-utils)
1228 ("hicolor-icon-theme" ,hicolor-icon-theme)
1229 ("xdg-user-dirs" ,xdg-user-dirs)
1230 ("xdg-utils" ,xdg-utils)
1231 ;; Base
1232 ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
1233 ;; should be added to their propagated-inputs?
1234 ("qtsvg" ,qtsvg)
1235 ;; Core
1236 ("lxqt-about" ,lxqt-about)
1237 ("lxqt-admin" ,lxqt-admin)
1238 ("lxqt-config" ,lxqt-config)
1239 ("lxqt-notificationd" ,lxqt-notificationd)
1240 ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
1241 ("lxqt-panel" ,lxqt-panel)
1242 ("lxqt-policykit" ,lxqt-policykit)
1243 ("lxqt-powermanagement" ,lxqt-powermanagement)
1244 ("lxqt-qtplugin" ,lxqt-qtplugin)
1245 ("lxqt-runner" ,lxqt-runner)
1246 ("lxqt-session" ,lxqt-session)
1247 ("lxqt-sudo" ,lxqt-sudo)
1248 ("lxqt-themes" ,lxqt-themes)
1249 ("pcmanfm-qt" ,pcmanfm-qt)
1250 ;; Extra
1251 ("compton" ,compton)
1252 ("compton-conf" ,compton-conf)
1253 ("font-dejavu" ,font-dejavu)
1254 ("lximage-qt" ,lximage-qt)
1255 ("obconf-qt" ,obconf-qt)
1256 ("openbox" ,openbox)
1257 ("oxygen-icons" ,oxygen-icons)
1258 ("pavucontrol-qt" ,pavucontrol-qt)
1259 ("qps" ,qps)
a46c00a3 1260 ("qterminal" ,qterminal)))
1fdcee02
MP
1261 (synopsis "The Lightweight Qt Desktop Environment")
1262 (description "LXQt is a lightweight Qt desktop environment.")
1263 (home-page "https://lxde.org")
6f00fb75 1264 (license license:gpl2+)))