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