gnu: Add screengrab.
[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>
e1345dec 7;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
50401c2a 8;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
e5e06930
AE
9;;;
10;;; This file is part of GNU Guix.
11;;;
12;;; GNU Guix is free software; you can redistribute it and/or modify it
13;;; under the terms of the GNU General Public License as published by
14;;; the Free Software Foundation; either version 3 of the License, or (at
15;;; your option) any later version.
16;;;
17;;; GNU Guix is distributed in the hope that it will be useful, but
18;;; WITHOUT ANY WARRANTY; without even the implied warranty of
19;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20;;; GNU General Public License for more details.
21;;;
22;;; You should have received a copy of the GNU General Public License
23;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
24
25(define-module (gnu packages lxqt)
26 #:use-module (guix download)
a6b941dd 27 #:use-module ((guix licenses) #:prefix license:)
e5e06930
AE
28 #:use-module (guix packages)
29 #:use-module (guix utils)
30 #:use-module (guix build-system cmake)
bf076d8b 31 #:use-module (guix build-system gnu)
44a477e1 32 #:use-module (gnu packages)
dbb4f7d0 33 #:use-module (gnu packages admin)
35bfe41a 34 #:use-module (gnu packages compression)
64fac507 35 #:use-module (gnu packages documentation)
70c488f8 36 #:use-module (gnu packages freedesktop)
b36524c1 37 #:use-module (gnu packages glib)
35bfe41a 38 #:use-module (gnu packages kde)
6bb5a8a1 39 #:use-module (gnu packages kde-frameworks)
70c488f8 40 #:use-module (gnu packages linux)
bf076d8b 41 #:use-module (gnu packages perl)
af291d1c 42 #:use-module (gnu packages lxde)
cc7f4175 43 #:use-module (gnu packages maths)
af291d1c 44 #:use-module (gnu packages pcre)
79f9e4e0 45 #:use-module (gnu packages photo)
e5e06930 46 #:use-module (gnu packages pkg-config)
9861bcd1 47 #:use-module (gnu packages polkit)
af291d1c 48 #:use-module (gnu packages pulseaudio)
9861bcd1 49 #:use-module (gnu packages qt)
af291d1c 50 #:use-module (gnu packages xdisorg)
9861bcd1 51 #:use-module (gnu packages xorg))
e5e06930 52
26127ebb
MP
53
54;; Third party libraries
55
64fac507
MP
56(define-public libdbusmenu-qt
57 (package
58 (name "libdbusmenu-qt")
59 (version "0.9.3+16.04.20160218-0ubuntu1")
60 (source
61 (origin
62 (method url-fetch)
63 ;; Download from github rather than launchpad beacuse launchpad trunk
64 ;; tarball hash is not deterministic.
65 (uri (string-append "https://github.com/unity8-team/" name
66 "/archive/" version ".tar.gz"))
67 (sha256
68 (base32 "0abwyggnpg50sa9cxphscp5zdkv9nxqnlav55vj21df6q1h3jb5w"))
69 (file-name (string-append name "-" version ".tar.gz"))))
70 (build-system cmake-build-system)
71 (arguments
72 ;; XXX: Tests require a dbus session and some icons.
73 '(#:tests? #f))
74 (native-inputs
75 `(("doxygen" ,doxygen)))
76 (inputs
77 `(("qtbase" ,qtbase)))
78 (home-page "https://launchpad.net/libdbusmenu-qt")
79 (synopsis "Qt implementation of the DBusMenu spec")
80 (description "This library provides a Qt implementation of the DBusMenu
81protocol. The DBusMenu protocol makes it possible for applications to export
82and import their menus over DBus.")
a6b941dd 83 (license license:lgpl2.1+)))
64fac507 84
26127ebb 85(define-public libstatgrab
79f9e4e0 86 (package
26127ebb
MP
87 (name "libstatgrab")
88 (version "0.91")
79f9e4e0
MP
89 (source
90 (origin
91 (method url-fetch)
26127ebb
MP
92 (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/"
93 name "-" version ".tar.gz"))
79f9e4e0 94 (sha256
26127ebb
MP
95 (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83"))))
96 (build-system gnu-build-system)
79f9e4e0 97 (arguments
26127ebb 98 '(#:configure-flags '("--enable-tests")))
79f9e4e0 99 (native-inputs
26127ebb
MP
100 ;; For testing.
101 `(("perl" ,perl)))
102 (home-page "https://www.i-scream.org/libstatgrab/")
103 (synopsis "Provides access to statistics about the system")
104 (description "libstatgrab is a library that provides cross platform access
105to statistics about the system on which it's run.")
106 ;; Libraries are under LGPL2.1+, and programs under GPLv2+.
107 (license license:gpl2+)))
79f9e4e0 108
26127ebb
MP
109
110;; Base
111
112(define-public lxqt-build-tools
d58aefdf 113 (package
26127ebb
MP
114 (name "lxqt-build-tools")
115 (version "0.5.0")
d58aefdf
MP
116 (source
117 (origin
118 (method url-fetch)
26127ebb
MP
119 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
120 version "/" name "-" version ".tar.xz"))
d58aefdf 121 (sha256
26127ebb 122 (base32 "13b5x26p6ycnwzlgg1cgvlc88wjrjmlb3snrrmzh0xgh9h6hhvd6"))))
d58aefdf
MP
123 (build-system cmake-build-system)
124 (arguments
26127ebb 125 `(#:tests? #f)) ; no tests
d58aefdf 126 (native-inputs
26127ebb
MP
127 `(("pkg-config" ,pkg-config)
128 ("glib" ,glib)))
129 (inputs
130 `(("qtbase" ,qtbase)))
131 (synopsis "LXQt Build tools")
132 (description
133 "Lxqt-build-tools is providing several tools needed to build LXQt
134itself as well as other components maintained by the LXQt project.")
135 (home-page "https://lxqt.org")
a6b941dd 136 (license license:lgpl2.1+)))
d58aefdf 137
e5e06930
AE
138(define-public libqtxdg
139 (package
140 (name "libqtxdg")
50401c2a 141 (version "3.2.0")
e5e06930
AE
142 (source
143 (origin
144 (method url-fetch)
50401c2a
MP
145 (uri (string-append
146 "https://github.com/lxqt/" name "/releases/download/"
147 version "/" name "-" version ".tar.xz"))
e5e06930 148 (sha256
50401c2a 149 (base32 "0lq548pa69hfvnbj2ypba5ygm8n6v6g7bqqm8p5g538l1l3394cl"))))
e5e06930
AE
150 (build-system cmake-build-system)
151 (arguments
50401c2a
MP
152 `(#:configure-flags
153 `("-DBUILD_TESTS=ON"
154 ,(string-append "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH="
155 %output "/lib/qt5/plugins/iconengines"))
156 #:phases
157 (modify-phases %standard-phases
158 (add-before 'check 'pre-check
159 (lambda _
160 ;; Run the tests offscreen.
161 (setenv "QT_QPA_PLATFORM" "offscreen")
162 #t)))))
02559739 163 (propagated-inputs
50401c2a
MP
164 ;; required by Qt5XdgIconLoader.pc
165 `(("qtbase" ,qtbase)
166 ("qtsvg" ,qtsvg)))
167 (home-page "https://github.com/lxqt/libqtxdg")
e5e06930
AE
168 (synopsis "Qt implementation of freedesktop.org xdg specifications")
169 (description "Libqtxdg implements the freedesktop.org xdg specifications
170in Qt.")
a6b941dd 171 (license license:lgpl2.1+)))
6bb5a8a1 172
26127ebb 173(define-public liblxqt
bf076d8b 174 (package
26127ebb
MP
175 (name "liblxqt")
176 (version "0.13.0")
bf076d8b
MP
177 (source
178 (origin
179 (method url-fetch)
26127ebb
MP
180 (uri (string-append
181 "https://github.com/lxqt/" name "/releases/download/"
182 version "/" name "-" version ".tar.xz"))
bf076d8b 183 (sha256
26127ebb
MP
184 (base32 "0fba0nq5b9fvvmklcikcd4nwhzlp5d6k1q1f80r34kncdzfvj7dl"))))
185 (build-system cmake-build-system)
bf076d8b 186 (arguments
26127ebb
MP
187 `(#:tests? #f ; no tests
188 #:configure-flags
189 ;; TODO: prefetch translations files from 'lxqt-l10n'.
190 '("-DPULL_TRANSLATIONS=NO")
191 #:phases
192 (modify-phases %standard-phases
193 (add-after 'unpack 'patch-source
194 (lambda _
195 (substitute* "CMakeLists.txt"
196 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
197 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions"))
198 #t)))))
199 (inputs
200 `(("kwindowsystem" ,kwindowsystem)
201 ("libqtxdg" ,libqtxdg)
202 ("libxscrnsaver" ,libxscrnsaver)
203 ("polkit-qt" ,polkit-qt)
204 ("qtsvg" ,qtsvg)
205 ("qtx11extras" ,qtx11extras)))
bf076d8b 206 (native-inputs
26127ebb
MP
207 `(("lxqt-build-tools" ,lxqt-build-tools)
208 ("qttools" ,qttools)))
209 (home-page "https://lxqt.org/")
210 (synopsis "Core utility library for all LXQt components")
211 (description "liblxqt provides the basic libraries shared by the
212components of the LXQt desktop environment.")
213 (license license:lgpl2.1+)))
bf076d8b 214
fbe645ea
MP
215(define-public libsysstat
216 (package
217 (name "libsysstat")
218 (version "0.4.1")
219 (source
220 (origin
221 (method url-fetch)
222 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
223 version "/" name "-" version ".tar.xz"))
224 (sha256
225 (base32 "0ngz8v3bixsdg96d5ipcyxd6nsrg52974xdxy9rnimahlv1yaxn3"))))
226 (build-system cmake-build-system)
227 (arguments '(#:tests? #f)) ; no tests
228 (inputs
229 `(("qtbase" ,qtbase)))
230 (native-inputs
231 `(("lxqt-build-tools" ,lxqt-build-tools)))
232 (home-page "https://lxqt.org/")
233 (synopsis "Library used to query system info and statistics")
234 (description "libsysstat is a library to query system information like CPU
235and memory usage or network traffic.")
a6b941dd 236 (license license:lgpl2.1+)))
fbe645ea 237
26127ebb
MP
238
239;; Core
240
2bdab26f
MP
241(define-public lxqt-about
242 (package
243 (name "lxqt-about")
244 (version "0.13.0")
245 (source
246 (origin
247 (method url-fetch)
248 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
249 version "/" name "-" version ".tar.xz"))
250 (sha256
251 (base32 "08imj7p77ifzfxnn8c482mhrvfx9gi0rb43ab5rw1rkmfvax2n5w"))))
252 (build-system cmake-build-system)
253 (inputs
254 `(("kwindowsystem" ,kwindowsystem)
255 ("liblxqt" ,liblxqt)
256 ("libqtxdg" ,libqtxdg)
257 ("qtbase" ,qtbase)
258 ("qtsvg" ,qtsvg)
259 ("qtx11extras" ,qtx11extras)))
260 (native-inputs
261 `(("lxqt-build-tools" ,lxqt-build-tools)
262 ("qttools" ,qttools)))
263 (arguments
264 '(#:tests? #f ; no tests
265 #:configure-flags
266 ;; TODO: prefetch translations files from 'lxqt-l10n'.
267 '("-DPULL_TRANSLATIONS=NO")))
268 (home-page "https://lxqt.org")
269 (synopsis "Provides information about LXQt and the system")
270 (description "lxqt-about is a dialogue window providing information about
271LXQt and the system it's running on.")
a6b941dd 272 (license license:lgpl2.1+)))
34e08de3
MP
273
274(define-public lxqt-admin
275 (package
276 (name "lxqt-admin")
277 (version "0.13.0")
278 (source
279 (origin
280 (method url-fetch)
281 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
282 version "/" name "-" version ".tar.xz"))
283 (sha256
284 (base32 "0qvpv668ja83ydbdrlal1596xhag3xlkbd6qlh9xwdpb7nysvns1"))))
285 (build-system cmake-build-system)
286 (inputs
287 `(("kwindowsystem" ,kwindowsystem)
288 ("liblxqt" ,liblxqt)
289 ("libqtxdg" ,libqtxdg)
290 ("polkit-qt" ,polkit-qt)
291 ("qtsvg" ,qtsvg)
292 ("qtx11extras" ,qtx11extras)))
293 (native-inputs
294 `(("lxqt-build-tools" ,lxqt-build-tools)
295 ("qttools" ,qttools)))
296 (arguments
297 '(#:tests? #f ; no tests
298 #:configure-flags
299 ;; TODO: prefetch translations files from 'lxqt-l10n'.
300 '("-DPULL_TRANSLATIONS=NO")
301 #:phases
302 (modify-phases %standard-phases
303 (add-after 'unpack 'patch-source
304 (lambda _
305 (substitute* "lxqt-admin-user/CMakeLists.txt"
306 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
307 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions"))
308 #t)))))
309 (home-page "https://lxqt.org")
310 (synopsis "LXQt system administration tool")
311 (description "lxqt-admin is providing two GUI tools to adjust settings of
312the operating system LXQt is running on.")
a6b941dd 313 (license license:lgpl2.1+)))
2bdab26f 314
35bfe41a
MP
315(define-public lxqt-config
316 (package
317 (name "lxqt-config")
318 (version "0.13.0")
319 (source
320 (origin
321 (method url-fetch)
322 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
323 version "/" name "-" version ".tar.xz"))
324 (sha256
325 (base32 "0rizhl2v41kpgp57a61r6nmwcdw8nh9hprrrf33nfrdw8hpwxb95"))))
326 (build-system cmake-build-system)
327 (inputs
328 `(("kwindowsystem" ,kwindowsystem)
329 ("libkscreen" ,libkscreen)
330 ("liblxqt" ,liblxqt)
331 ("libqtxdg" ,libqtxdg)
332 ("libxcursor" ,libxcursor)
333 ("qtbase" ,qtbase)
334 ("qtsvg" ,qtsvg)
335 ("qtx11extras" ,qtx11extras)
336 ("solid" ,solid)
337 ("zlib" ,zlib)))
338 (native-inputs
339 `(("pkg-config" ,pkg-config)
340 ("lxqt-build-tools" ,lxqt-build-tools)
341 ("qttools" ,qttools)))
342 (arguments
343 '(#:tests? #f ; no tests
344 #:configure-flags
345 ;; TODO: prefetch translations files from 'lxqt-l10n'.
346 '("-DPULL_TRANSLATIONS=NO")
347 #:phases
348 (modify-phases %standard-phases
349 (add-after 'unpack 'patch-source
350 (lambda _
351 (substitute* '("src/CMakeLists.txt")
352 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
353 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
354 #t)))))
355 (home-page "https://lxqt.org")
356 (synopsis "Tools to configure LXQt and the underlying operating system")
357 (description "lxqt-config is providing several tools involved in the
358configuration of both LXQt and the underlying operating system.")
359 (license license:lgpl2.1+)))
360
fab34846
MP
361(define-public lxqt-globalkeys
362 (package
363 (name "lxqt-globalkeys")
364 (version "0.13.0")
365 (source
366 (origin
367 (method url-fetch)
368 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
369 version "/" name "-" version ".tar.xz"))
370 (sha256
371 (base32 "1gyvcjbhi7zpvgz1sf773dv9gc35hx5fz023njp9r4vl0dpcavgd"))))
372 (build-system cmake-build-system)
373 (inputs
374 `(("kwindowsystem" ,kwindowsystem)
375 ("liblxqt" ,liblxqt)
376 ("libqtxdg" ,libqtxdg)
377 ("qtbase" ,qtbase)
378 ("qtsvg" ,qtsvg)
379 ("qtx11extras" ,qtx11extras)))
380 (native-inputs
381 `(("pkg-config" ,pkg-config)
382 ("qttools" ,qttools)
383 ("lxqt-build-tools" ,lxqt-build-tools)))
384 (arguments
385 '(#:tests? #f ; no tests
386 #:configure-flags
387 ;; TODO: prefetch translations files from 'lxqt-l10n'.
388 '("-DPULL_TRANSLATIONS=NO")
389 #:phases
390 (modify-phases %standard-phases
391 (add-after 'unpack 'patch-source
392 (lambda _
393 (substitute* '("autostart/CMakeLists.txt"
394 "xdg/CMakeLists.txt")
395 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
396 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
397 #t)))))
398 (home-page "https://lxqt.org/")
399 (synopsis "Daemon used to register global keyboard shortcuts")
400 (description "lxqt-globalkeys is providing tools to set global keyboard
401shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
402as a whole and are not limited to distinct applications.")
a6b941dd 403 (license license:lgpl2.1+)))
fab34846 404
a98000a4
MP
405(define-public lxqt-notificationd
406 (package
407 (name "lxqt-notificationd")
408 (version "0.13.0")
409 (source
410 (origin
411 (method url-fetch)
412 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
413 version "/" name "-" version ".tar.xz"))
414 (sha256
415 (base32 "1l0hdbvghyhqgvy4pih7rvz26bc6yc8a3l1bdj11hnkw62h1i7d6"))))
416 (build-system cmake-build-system)
417 (inputs
418 `(("kwindowsystem" ,kwindowsystem)
419 ("liblxqt" ,liblxqt)
420 ("libqtxdg" ,libqtxdg)
421 ("qtbase" ,qtbase)
422 ("qtsvg" ,qtsvg)
423 ("qtx11extras" ,qtx11extras)))
424 (native-inputs
425 `(("lxqt-build-tools" ,lxqt-build-tools)
426 ("qttools" ,qttools)))
427 (arguments
428 '(#:tests? #f ; no test target
429 #:configure-flags
430 ;; TODO: prefetch translations files from 'lxqt-l10n'.
431 '("-DPULL_TRANSLATIONS=NO")
432 #:phases
433 (modify-phases %standard-phases
434 (add-after 'unpack 'patch-source
435 (lambda _
436 (substitute* '("autostart/CMakeLists.txt")
437 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
438 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
439 #t)))))
440 (home-page "https://lxqt.org/")
441 (synopsis "The LXQt notification daemon")
442 (description "lxqt-notificationd is LXQt's implementation of a daemon
443according to the Desktop Notifications Specification.")
444 (license license:lgpl2.1+)))
ca302c3e
MP
445
446(define-public lxqt-openssh-askpass
447 (package
448 (name "lxqt-openssh-askpass")
449 (version "0.13.0")
450 (source
451 (origin
452 (method url-fetch)
453 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
454 version "/" name "-" version ".tar.xz"))
455 (sha256
456 (base32 "0l2272gya8jgv71bvg2hz37lnhiznv4ng3j0p6j79f99hwb5ygpk"))))
457 (build-system cmake-build-system)
458 (inputs
459 `(("kwindowsystem" ,kwindowsystem)
460 ("liblxqt" ,liblxqt)
461 ("libqtxdg" ,libqtxdg)
462 ("qtbase" ,qtbase)
463 ("qtsvg" ,qtsvg)
464 ("qtx11extras" ,qtx11extras)))
465 (native-inputs
466 `(("lxqt-build-tools" ,lxqt-build-tools)
467 ("qttools" ,qttools)))
468 (arguments
469 '(#:tests? #f ; no tests
470 #:configure-flags
471 ;; TODO: prefetch translations files from 'lxqt-l10n'.
472 '("-DPULL_TRANSLATIONS=NO")))
473 (home-page "https://lxqt.org/")
474 (synopsis "GUI to query passwords on behalf of SSH agents")
475 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
476of other programs.")
477 (license license:lgpl2.1+)))
a98000a4 478
af291d1c
MP
479(define-public lxqt-panel
480 (package
481 (name "lxqt-panel")
482 (version "0.13.0")
483 (source
484 (origin
485 (method url-fetch)
486 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
487 version "/" name "-" version ".tar.xz"))
488 (sha256
489 (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1"))))
490 (build-system cmake-build-system)
491 (inputs
492 `(("alsa-lib" ,alsa-lib)
493 ("kguiaddons" ,kguiaddons)
494 ("kwindowsystem" ,kwindowsystem)
495 ("libdbusmenu-qt" ,libdbusmenu-qt)
496 ("liblxqt" ,liblxqt)
497 ("libqtxdg" ,libqtxdg)
498 ("libstatgrab" ,libstatgrab)
499 ("libsysstat", libsysstat)
500 ("libxcomposite" ,libxcomposite)
501 ("libxdamage" ,libxdamage)
502 ("libxkbcommon" ,libxkbcommon)
503 ("libxrender" ,libxrender)
504 ("lm-sensors" ,lm-sensors "lib")
505 ("lxqt-globalkeys" ,lxqt-globalkeys)
506 ("pcre" ,pcre)
507 ("pulseaudio" ,pulseaudio)
508 ("qtbase" ,qtbase)
509 ("qtsvg" ,qtsvg)
510 ("qtx11extras" ,qtx11extras)
511 ("solid" ,solid)
512 ("xcb-util" ,xcb-util)))
513 (native-inputs
514 `(("pkg-config" ,pkg-config)
515 ("lxqt-build-tools" ,lxqt-build-tools)
516 ("qttools" ,qttools)))
517 (arguments
518 '(#:tests? #f ; no tests
519 #:configure-flags
520 ;; TODO: prefetch translations files from 'lxqt-l10n'.
521 '("-DPULL_TRANSLATIONS=NO")
522 #:phases
523 (modify-phases %standard-phases
524 (add-after 'unpack 'patch-source
525 (lambda _
526 (substitute* '("autostart/CMakeLists.txt"
527 "menu/CMakeLists.txt")
528 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
529 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
530 #t)))))
531 (home-page "https://lxqt.org/")
532 (synopsis "The LXQt desktop panel")
533 (description "lxqt-panel represents the taskbar of LXQt.")
a6b941dd 534 (license license:lgpl2.1+)))
af291d1c 535
bf0da63a
MP
536(define-public lxqt-policykit
537 (package
538 (name "lxqt-policykit")
539 (version "0.13.0")
540 (source
541 (origin
542 (method url-fetch)
543 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
544 version "/" name "-" version ".tar.xz"))
545 (sha256
546 (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp"))))
547 (build-system cmake-build-system)
548 (inputs
549 `(("kwindowsystem" ,kwindowsystem)
550 ("liblxqt" ,liblxqt)
551 ("libqtxdg" ,libqtxdg)
552 ("pcre" ,pcre)
553 ("polkit-qt" ,polkit-qt)
554 ("qtbase" ,qtbase)
555 ("qtsvg" ,qtsvg)
556 ("qtx11extras" ,qtx11extras)))
557 (native-inputs
558 `(("pkg-config" ,pkg-config)
559 ("polkit" ,polkit)
560 ("lxqt-build-tools" ,lxqt-build-tools)
561 ("qttools" ,qttools)))
562 (arguments
563 '(#:tests? #f ; no test target
564 #:configure-flags
565 '("-DPULL_TRANSLATIONS=NO")
566 #:phases
567 (modify-phases %standard-phases
568 (add-after 'unpack 'patch-source
569 (lambda _
570 (substitute* '("autostart/CMakeLists.txt")
571 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
572 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
573 #t)))))
574 (home-page "https://lxqt.org/")
575 (synopsis "The LXQt PolicyKit agent")
576 (description "lxqt-policykit is the polkit authentification agent of
577LXQt.")
578 (license license:lgpl2.1+)))
579
643961bb
MP
580(define-public lxqt-powermanagement
581 (package
582 (name "lxqt-powermanagement")
583 (version "0.13.0")
584 (source
585 (origin
586 (method url-fetch)
587 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
588 version "/" name "-" version ".tar.xz"))
589 (sha256
590 (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613"))))
591 (build-system cmake-build-system)
592 (inputs
593 `(("kidletime" ,kidletime)
594 ("kwindowsystem" ,kwindowsystem)
595 ("liblxqt" ,liblxqt)
596 ("libqtxdg" ,libqtxdg)
597 ("qtbase" ,qtbase)
598 ("qtsvg" ,qtsvg)
599 ("qtx11extras" ,qtx11extras)
600 ("solid" ,solid)))
601 (native-inputs
602 `(("lxqt-build-tools" ,lxqt-build-tools)
603 ("qttools" ,qttools)))
604 (arguments
605 '(#:tests? #f ; no tests
606 #:configure-flags
607 ;; TODO: prefetch translations files from 'lxqt-l10n'.
608 '("-DPULL_TRANSLATIONS=NO")
609 #:phases
610 (modify-phases %standard-phases
611 (add-after 'unpack 'patch-source
612 (lambda _
613 (substitute* '("autostart/CMakeLists.txt")
614 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
615 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
616 #t)))))
617 (home-page "https://lxqt.org/")
618 (synopsis "Power management module for LXQt")
619 (description "lxqt-powermanagement is providing tools to monitor power
620management events and optionally trigger actions like e. g. shut down a system
621when laptop batteries are low on power.")
622 (license license:lgpl2.1+)))
623
5663b5b0
MP
624(define-public lxqt-qtplugin
625 (package
626 (name "lxqt-qtplugin")
627 (version "0.13.0")
628 (source
629 (origin
630 (method url-fetch)
631 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
632 version "/" name "-" version ".tar.xz"))
633 (sha256
634 (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56"))))
635 (build-system cmake-build-system)
636 (inputs
637 `(("libdbusmenu-qt" ,libdbusmenu-qt)
638 ("libfm-qt" ,libfm-qt)
639 ("libqtxdg" ,libqtxdg)
640 ("qtbase" ,qtbase)
641 ("qtsvg" ,qtsvg)
642 ("qtx11extras" ,qtx11extras)))
643 (native-inputs
644 `(("lxqt-build-tools" ,lxqt-build-tools)
645 ("qttools" ,qttools)))
646 (arguments
647 '(#:tests? #f ; no tests
648 #:phases
649 (modify-phases %standard-phases
650 (add-after 'unpack 'patch-source
651 (lambda _
652 (substitute* '("src/CMakeLists.txt")
653 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
654 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/lib/qt5/plugins"))
655 #t)))))
656 (home-page "https://lxqt.org/")
657 (synopsis "LXQt Qt platform integration plugin")
658 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
659Qt with LXQt.")
660 (license license:lgpl2.1+)))
661
cc7f4175
MP
662(define-public lxqt-runner
663 (package
664 (name "lxqt-runner")
665 (version "0.13.0")
666 (source
667 (origin
668 (method url-fetch)
669 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
670 version "/" name "-" version ".tar.xz"))
671 (sha256
672 (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali"))))
673 (build-system cmake-build-system)
674 (inputs
675 `(("kwindowsystem" ,kwindowsystem)
676 ("liblxqt" ,liblxqt)
677 ("libqtxdg" ,libqtxdg)
678 ("lxqt-globalkeys" ,lxqt-globalkeys)
679 ("muparser" ,muparser)
680 ("pcre" ,pcre)
681 ("qtbase" ,qtbase)
682 ("qtsvg" ,qtsvg)
683 ("qtx11extras" ,qtx11extras)))
684 (native-inputs
685 `(("pkg-config" ,pkg-config)
686 ("qttools", qttools)
687 ("lxqt-build-tools" ,lxqt-build-tools)))
688 (arguments
689 '(#:tests? #f ; no tests
690 #:configure-flags
691 ;; TODO: prefetch translations files from 'lxqt-l10n'.
692 '("-DPULL_TRANSLATIONS=NO")
693 #:phases
694 (modify-phases %standard-phases
695 (add-after 'unpack 'patch-source
696 (lambda _
697 (substitute* '("autostart/CMakeLists.txt")
698 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
699 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
700 #t)))))
701 (home-page "https://lxqt.org/")
702 (synopsis "Tool used to launch programs quickly by typing their names")
703 (description "lxqt-runner provides a GUI that comes up on the desktop and
704allows for launching applications or shutting down the system.")
a6b941dd 705 (license license:lgpl2.1+)))
cc7f4175 706
54033a4d
AE
707(define-public lxqt-session
708 (package
709 (name "lxqt-session")
70c488f8 710 (version "0.13.0")
54033a4d
AE
711 (source
712 (origin
713 (method url-fetch)
70c488f8
MP
714 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
715 version "/" name "-" version ".tar.xz"))
54033a4d 716 (sha256
70c488f8 717 (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
54033a4d 718 (build-system cmake-build-system)
54033a4d 719 (inputs
70c488f8
MP
720 `(("eudev" ,eudev)
721 ("kwindowsystem" ,kwindowsystem)
54033a4d 722 ("liblxqt" ,liblxqt)
e099d2a6
EF
723 ("libqtxdg" ,libqtxdg)
724 ("qtbase" ,qtbase)
70c488f8 725 ("qtsvg" ,qtsvg)
70c488f8
MP
726 ("qtx11extras" ,qtx11extras)
727 ("xdg-user-dirs" ,xdg-user-dirs)))
728 (native-inputs
729 `(("pkg-config" ,pkg-config)
f2b48558
MP
730 ("lxqt-build-tools" ,lxqt-build-tools)
731 ("qttools" ,qttools)))
54033a4d 732 (arguments
70c488f8
MP
733 `(#:tests? #f
734 #:configure-flags
735 `("-DPULL_TRANSLATIONS=NO")
54033a4d 736 #:phases
70c488f8
MP
737 (modify-phases %standard-phases
738 (add-after 'unpack 'patch-source
54033a4d 739 (lambda _
70c488f8
MP
740 (substitute* '("autostart/CMakeLists.txt"
741 "config/CMakeLists.txt")
742 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
743 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
744 #t)))))
745 (home-page "https://lxqt.org/")
54033a4d
AE
746 (synopsis "Session manager for LXQt")
747 (description "lxqt-session provides the standard session manager
748for the LXQt desktop environment.")
a6b941dd 749 (license license:lgpl2.1+)))
dbb4f7d0
MP
750
751(define-public lxqt-sudo
752 (package
753 (name "lxqt-sudo")
754 (version "0.13.0")
755 (source
756 (origin
757 (method url-fetch)
758 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
759 version "/" name "-" version ".tar.xz"))
760 (sha256
761 (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf"))))
762 (build-system cmake-build-system)
763 (inputs
764 `(("kwindowsystem" ,kwindowsystem)
765 ("liblxqt" ,liblxqt)
766 ("libqtxdg" ,libqtxdg)
767 ("qtbase" ,qtbase)
768 ("qtsvg" ,qtsvg)
769 ("qtx11extras" ,qtx11extras)
770 ("sudo" ,sudo)))
771 (native-inputs
772 `(("pkg-config" ,pkg-config)
773 ("qttools" ,qttools)
774 ("lxqt-build-tools" ,lxqt-build-tools)))
775 (arguments
776 '(#:tests? #f ; no tests
777 #:configure-flags
778 ;; TODO: prefetch translations files from 'lxqt-l10n'.
779 '("-DPULL_TRANSLATIONS=NO")))
780 (home-page "https://lxqt.org/")
781 (synopsis "GUI frontend for sudo/su")
782 (description "lxqt-sudo is a graphical front-end of commands sudo and su
783respectively. As such it enables regular users to launch applications with
784permissions of other users including root.")
a6b941dd 785 (license license:lgpl2.1+)))
d6fd4a76 786
26127ebb 787(define-public lxqt-themes
84f6a990 788 (package
26127ebb
MP
789 (name "lxqt-themes")
790 (version "0.13.0")
84f6a990
MP
791 (source
792 (origin
793 (method url-fetch)
794 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
795 version "/" name "-" version ".tar.xz"))
796 (sha256
26127ebb
MP
797 (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf"))))
798 (build-system cmake-build-system)
799 (native-inputs
800 `(("lxqt-build-tools" ,lxqt-build-tools)))
801 (arguments
802 `(#:tests? #f ; no tests
803 #:phases
804 (modify-phases %standard-phases
805 (add-after 'unpack 'patch-source
806 (lambda _
807 (substitute* '("CMakeLists.txt")
808 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
809 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/share/lxqt/graphics"))
810 (substitute* '("themes/CMakeLists.txt")
811 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
812 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/share/lxqt"))
813 #t)))))
814 (home-page "https://lxqt.org/")
815 (synopsis "Themes, graphics and icons for LXQt")
816 (description "This package comprises a number of graphic files and themes
817for LXQt.")
818 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
819 ;; licensed under CC-BY-SA 3.0.
820 (license license:lgpl2.1+)))
821
822
823;; File Manager
824
825(define-public libfm-qt
826 (package
827 (name "libfm-qt")
828 (version "0.13.1")
829 (source
830 (origin
831 (method url-fetch)
832 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
833 version "/" name "-" version ".tar.xz"))
834 (sha256
835 (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9"))))
84f6a990 836 (build-system cmake-build-system)
26127ebb
MP
837 (arguments
838 '(#:tests? #f ; no tests
839 #:configure-flags
840 ;; TODO : prefetch translations files from 'lxqt-l10n'.
841 '("-DPULL_TRANSLATIONS=NO")))
84f6a990
MP
842 (inputs
843 `(("glib" ,glib)
26127ebb
MP
844 ("libexif" ,libexif)
845 ("libfm" ,libfm)
846 ("libxcb" ,libxcb)
847 ("menu-cache" ,menu-cache)
84f6a990 848 ("pcre" ,pcre)
84f6a990
MP
849 ("qtbase" ,qtbase)
850 ("qtx11extras" ,qtx11extras)))
851 (native-inputs
852 `(("pkg-config" ,pkg-config)
853 ("lxqt-build-tools" ,lxqt-build-tools)
854 ("qttools" ,qttools)))
84f6a990 855 (home-page "https://lxqt.org/")
26127ebb
MP
856 (synopsis "Qt binding for libfm")
857 (description "libfm-qt is the Qt port of libfm, a library providing
858components to build desktop file managers which belongs to LXDE.")
84f6a990
MP
859 (license license:lgpl2.1+)))
860
d6fd4a76
MP
861(define-public pcmanfm-qt
862 (package
863 (name "pcmanfm-qt")
864 (version "0.13.0")
865 (source
866 (origin
867 (method url-fetch)
868 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
869 version "/" name "-" version ".tar.xz"))
870 (sha256
871 (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz"))))
872 (build-system cmake-build-system)
873 (inputs
874 `(("libfm-qt" ,libfm-qt)
875 ("qtbase" ,qtbase)
876 ("qtx11extras" ,qtx11extras)))
877 (native-inputs
878 `(("pkg-config" ,pkg-config)
879 ("qttools" ,qttools)
880 ("lxqt-build-tools" ,lxqt-build-tools)))
881 (arguments
882 '(#:tests? #f ; no tests
883 #:configure-flags
884 ;; TODO: prefetch translations files from 'lxqt-l10n'.
885 '("-DPULL_TRANSLATIONS=NO")
886 #:phases
887 (modify-phases %standard-phases
888 (add-after 'unpack 'patch-source
889 (lambda _
890 (substitute* '("autostart/CMakeLists.txt")
891 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
892 "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
893 #t)))))
894 (home-page "https://lxqt.org/")
895 (synopsis "File manager and desktop icon manager")
896 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
897LXDE.")
a6b941dd 898 (license license:lgpl2.1+)))
0aab2349 899
26127ebb
MP
900
901;; Extra
902
604bdae7
MP
903(define-public lximage-qt
904 (package
905 (name "lximage-qt")
906 (version "0.7.0")
907 (source
908 (origin
909 (method url-fetch)
910 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
911 version "/" name "-" version ".tar.xz"))
912 (sha256
913 (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w"))))
914 (build-system cmake-build-system)
915 (inputs
916 `(("libexif" ,libexif)
917 ("libfm-qt" ,libfm-qt)
918 ("qtbase" ,qtbase)
919 ("qtsvg" ,qtsvg)
920 ("qtx11extras" ,qtx11extras)))
921 (native-inputs
922 `(("pkg-config" ,pkg-config)
923 ("lxqt-build-tools" ,lxqt-build-tools)
924 ("qttools" ,qttools)))
925 (arguments
926 '(#:tests? #f ; no tests
927 #:configure-flags
928 ;; TODO: prefetch translations files from 'lxqt-l10n'.
929 '("-DPULL_TRANSLATIONS=NO")))
930 (home-page "https://lxqt.org/")
931 (synopsis "The image viewer and screenshot tool for lxqt")
932 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
933image viewer.")
934 (license license:lgpl2.1+)))
935
26127ebb
MP
936(define-public pavucontrol-qt
937 (package
938 (name "pavucontrol-qt")
939 (version "0.4.0")
940 (source
941 (origin
942 (method url-fetch)
943 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
944 version "/" name "-" version ".tar.xz"))
945 (sha256
946 (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6"))))
947 (build-system cmake-build-system)
948 (inputs
949 `(("glib" ,glib)
950 ("pcre" ,pcre)
951 ("pulseaudio" ,pulseaudio)
952 ("qtbase" ,qtbase)
953 ("qtx11extras" ,qtx11extras)))
954 (native-inputs
955 `(("pkg-config" ,pkg-config)
956 ("lxqt-build-tools" ,lxqt-build-tools)
957 ("qttools" ,qttools)))
958 (arguments
959 '(#:tests? #f ; no tests
960 #:configure-flags
961 ;; TODO: prefetch translations files from 'lxqt-l10n'.
962 '("-DPULL_TRANSLATIONS=NO")))
963 (home-page "https://lxqt.org/")
964 (synopsis "Pulseaudio mixer in Qt")
965 (description "@code{pavucontrol-qt} is the Qt port of volume control
966@code{pavucontrol} of sound server @code{PulseAudio}.")
967 (license license:lgpl2.1+)))
968
0aab2349
MP
969(define-public qtermwidget
970 (package
971 (name "qtermwidget")
972 (version "0.9.0")
973 (source
974 (origin
975 (method url-fetch)
976 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
977 version "/" name "-" version ".tar.xz"))
978 (sha256
979 (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773"))))
980 (build-system cmake-build-system)
981 (inputs
982 `(("qtbase" ,qtbase)))
983 (native-inputs
984 `(("lxqt-build-tools" ,lxqt-build-tools)
985 ("qttools" ,qttools)))
986 (arguments
987 '(#:tests? #f ; no tests
988 #:configure-flags
989 ;; TODO: prefetch translations files from 'lxqt-l10n'.
990 '("-DPULL_TRANSLATIONS=NO")))
991 (home-page "https://lxqt.org/")
992 (synopsis "The terminal widget for QTerminal")
993 (description "QTermWidget is a terminal emulator widget for Qt 5.")
994 (license license:lgpl2.1+)))
4b88ab55
MP
995
996(define-public screengrab
997 (package
998 (name "screengrab")
999 (version "1.99")
1000 (source
1001 (origin
1002 (method url-fetch)
1003 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1004 version "/" name "-" version ".tar.xz"))
1005 (sha256
1006 (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3"))))
1007 (build-system cmake-build-system)
1008 (inputs
1009 `(("kwindowsystem" ,kwindowsystem)
1010 ("libqtxdg" ,libqtxdg)
1011 ("qtbase" ,qtbase)
1012 ("qtsvg" ,qtsvg)
1013 ("qtx11extras" ,qtx11extras)))
1014 (native-inputs
1015 `(("pkg-config" ,pkg-config)
1016 ("qttools" ,qttools)))
1017 (arguments
1018 '(#:tests? #f)) ; no tests
1019 (home-page "https://lxqt.org/")
1020 (synopsis "Crossplatform tool for fast making screenshots")
1021 (description "ScreenGrab is a program for fast creating screenshots, and
1022easily publishing them on internet image hosting services.")
1023 (license license:lgpl2.1+)))