1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
4 ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
6 ;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
7 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
8 ;;; Copyright © 2018, 2019 Meiyo Peng <meiyo@riseup.net>
9 ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
11 ;;; This file is part of GNU Guix.
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.
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.
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/>.
26 (define-module (gnu packages lxqt)
27 #:use-module (guix download)
28 #:use-module (guix git-download)
29 #:use-module ((guix licenses) #:prefix license:)
30 #:use-module (guix packages)
31 #:use-module (guix utils)
32 #:use-module (guix build-system cmake)
33 #:use-module (guix build-system gnu)
34 #:use-module (guix build-system trivial)
35 #:use-module (gnu packages)
36 #:use-module (gnu packages admin)
37 #:use-module (gnu packages compression)
38 #:use-module (gnu packages documentation)
39 #:use-module (gnu packages compton)
40 #:use-module (gnu packages fonts)
41 #:use-module (gnu packages freedesktop)
42 #:use-module (gnu packages glib)
43 #:use-module (gnu packages gnome)
44 #:use-module (gnu packages gtk)
45 #:use-module (gnu packages image)
46 #:use-module (gnu packages kde-frameworks)
47 #:use-module (gnu packages kde-plasma)
48 #:use-module (gnu packages linux)
49 #:use-module (gnu packages perl)
50 #:use-module (gnu packages lxde)
51 #:use-module (gnu packages maths)
52 #:use-module (gnu packages openbox)
53 #:use-module (gnu packages pcre)
54 #:use-module (gnu packages photo)
55 #:use-module (gnu packages pkg-config)
56 #:use-module (gnu packages polkit)
57 #:use-module (gnu packages pulseaudio)
58 #:use-module (gnu packages qt)
59 #:use-module (gnu packages textutils)
60 #:use-module (gnu packages xdisorg)
61 #:use-module (gnu packages xml)
62 #:use-module (gnu packages xorg))
65 ;; Third party libraries
67 (define-public libdbusmenu-qt
69 (name "libdbusmenu-qt")
70 (version "0.9.3+16.04.20160218-0ubuntu1")
74 ;; Download from github rather than launchpad because launchpad trunk
75 ;; tarball hash is not deterministic.
77 (url "https://github.com/unity8-team/libdbusmenu-qt.git")
79 (file-name (git-file-name name version))
81 (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg"))))
82 (build-system cmake-build-system)
84 ;; XXX: Tests require a dbus session and some icons.
87 `(("doxygen" ,doxygen)))
89 `(("qtbase" ,qtbase)))
90 (home-page "https://launchpad.net/libdbusmenu-qt")
91 (synopsis "Qt implementation of the DBusMenu spec")
92 (description "This library provides a Qt implementation of the DBusMenu
93 protocol. The DBusMenu protocol makes it possible for applications to export
94 and import their menus over DBus.")
95 (license license:lgpl2.1+)))
97 (define-public libstatgrab
104 (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/"
105 name "-" version ".tar.gz"))
107 (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83"))))
108 (build-system gnu-build-system)
110 '(#:configure-flags '("--enable-tests")))
114 (home-page "https://www.i-scream.org/libstatgrab/")
115 (synopsis "Provides access to statistics about the system")
116 (description "libstatgrab is a library that provides cross platform access
117 to statistics about the system on which it's run.")
118 ;; Libraries are under LGPL2.1+, and programs under GPLv2+.
119 (license license:gpl2+)))
124 (define-public lxqt-build-tools
126 (name "lxqt-build-tools")
131 (uri (string-append "https://github.com/lxqt/lxqt-build-tools/releases"
133 "/lxqt-build-tools-" version ".tar.xz"))
135 (base32 "0n0p0mf12n9f7zm2592779rpqrbcamfdz87nnjb8j058bc8g3214"))))
136 (build-system cmake-build-system)
138 `(#:tests? #f ; no tests
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")))
146 `(("pkg-config" ,pkg-config)
149 `(("qtbase" ,qtbase)))
150 (synopsis "LXQt Build tools")
152 "Lxqt-build-tools is providing several tools needed to build LXQt
153 itself as well as other components maintained by the LXQt project.")
154 (home-page "https://lxqt.org")
155 (license license:lgpl2.1+)))
157 (define-public libqtxdg
165 "https://github.com/lxqt/libqtxdg/releases/download/"
166 version "/libqtxdg-" version ".tar.xz"))
168 (base32 "1mnnq8vbf5xjlrzajzfkay0yzzxri0zz0xi8x8rmxpw38xmglq8h"))))
169 (build-system cmake-build-system)
173 "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines")
175 (modify-phases %standard-phases
176 (add-before 'check 'pre-check
178 ;; Run the tests offscreen.
179 (setenv "QT_QPA_PLATFORM" "offscreen")
182 ;; required by Qt5XdgIconLoader.pc
186 `(("lxqt-build-tools" ,lxqt-build-tools)))
187 (home-page "https://github.com/lxqt/libqtxdg")
188 (synopsis "Qt implementation of freedesktop.org xdg specifications")
189 (description "Libqtxdg implements the freedesktop.org xdg specifications
191 (license license:lgpl2.1+)))
193 (define-public liblxqt
201 "https://github.com/lxqt/" name "/releases/download/"
202 version "/" name "-" version ".tar.xz"))
204 (base32 "1gb922npf6nw4w3nkvh4czk8xmdzzqkzq3zgl1h303fjaib359qs"))))
205 (build-system cmake-build-system)
207 `(#:tests? #f ; no tests
209 (modify-phases %standard-phases
210 (add-after 'unpack 'patch-source
212 (substitute* "CMakeLists.txt"
213 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
214 "DESTINATION \"share/polkit-1/actions"))
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")))
224 `(("kwindowsystem" ,kwindowsystem)
225 ("libqtxdg" ,libqtxdg)
226 ("libxscrnsaver" ,libxscrnsaver)
227 ("polkit-qt" ,polkit-qt)
229 ("qtx11extras" ,qtx11extras)))
231 `(("lxqt-build-tools" ,lxqt-build-tools)
232 ("qttools" ,qttools)))
233 (home-page "https://lxqt.org/")
234 (synopsis "Core utility library for all LXQt components")
235 (description "liblxqt provides the basic libraries shared by the
236 components of the LXQt desktop environment.")
237 (license license:lgpl2.1+)))
239 (define-public libsysstat
246 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
247 version "/" name "-" version ".tar.xz"))
249 (base32 "0rz9w49khra9kl91kfnd3wxkldy1fqf6755mvlgbsqxb1yv8597w"))))
250 (build-system cmake-build-system)
251 (arguments '(#:tests? #f)) ; no tests
253 `(("qtbase" ,qtbase)))
255 `(("lxqt-build-tools" ,lxqt-build-tools)))
256 (home-page "https://lxqt.org/")
257 (synopsis "Library used to query system info and statistics")
258 (description "libsysstat is a library to query system information like CPU
259 and memory usage or network traffic.")
260 (license license:lgpl2.1+)))
265 (define-public lxqt-about
272 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
273 version "/" name "-" version ".tar.xz"))
275 (base32 "01xp5ddcxc9wvl7jm4179hjrirj07mpzm9z50936d1fqx34wfbis"))))
276 (build-system cmake-build-system)
278 `(("kwindowsystem" ,kwindowsystem)
280 ("libqtxdg" ,libqtxdg)
283 ("qtx11extras" ,qtx11extras)))
285 `(("lxqt-build-tools" ,lxqt-build-tools)
286 ("qttools" ,qttools)))
288 '(#:tests? #f ; no tests
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")))
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
301 LXQt and the system it's running on.")
302 (license license:lgpl2.1+)))
304 (define-public lxqt-admin
311 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
312 version "/" name "-" version ".tar.xz"))
314 (base32 "0qvpv668ja83ydbdrlal1596xhag3xlkbd6qlh9xwdpb7nysvns1"))))
315 (build-system cmake-build-system)
317 `(("kwindowsystem" ,kwindowsystem)
319 ("libqtxdg" ,libqtxdg)
320 ("polkit-qt" ,polkit-qt)
322 ("qtx11extras" ,qtx11extras)))
324 `(("lxqt-build-tools" ,lxqt-build-tools)
325 ("qttools" ,qttools)))
327 '(#:tests? #f ; no tests
329 ;; TODO: prefetch translations files from 'lxqt-l10n'.
330 '("-DPULL_TRANSLATIONS=NO")
332 (modify-phases %standard-phases
333 (add-after 'unpack 'patch-source
335 (substitute* "lxqt-admin-user/CMakeLists.txt"
336 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
337 "DESTINATION \"share/polkit-1/actions"))
339 (home-page "https://lxqt.org")
340 (synopsis "LXQt system administration tool")
341 (description "lxqt-admin is providing two GUI tools to adjust settings of
342 the operating system LXQt is running on.")
343 (license license:lgpl2.1+)))
345 (define-public lxqt-config
352 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
353 version "/" name "-" version ".tar.xz"))
355 (base32 "0rizhl2v41kpgp57a61r6nmwcdw8nh9hprrrf33nfrdw8hpwxb95"))))
356 (build-system cmake-build-system)
358 `(("kwindowsystem" ,kwindowsystem)
359 ("libkscreen" ,libkscreen)
361 ("libqtxdg" ,libqtxdg)
362 ("libxcursor" ,libxcursor)
365 ("qtx11extras" ,qtx11extras)
369 `(("pkg-config" ,pkg-config)
370 ("lxqt-build-tools" ,lxqt-build-tools)
371 ("qttools" ,qttools)))
373 '(#:tests? #f ; no tests
375 ;; TODO: prefetch translations files from 'lxqt-l10n'.
376 '("-DPULL_TRANSLATIONS=NO")
378 (modify-phases %standard-phases
379 (add-after 'unpack 'patch-source
381 (substitute* '("src/CMakeLists.txt")
382 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
383 "DESTINATION \"etc/xdg"))
385 (home-page "https://lxqt.org")
386 (synopsis "Tools to configure LXQt and the underlying operating system")
387 (description "lxqt-config is providing several tools involved in the
388 configuration of both LXQt and the underlying operating system.")
389 (license license:lgpl2.1+)))
391 (define-public lxqt-globalkeys
393 (name "lxqt-globalkeys")
398 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
399 version "/" name "-" version ".tar.xz"))
401 (base32 "1gyvcjbhi7zpvgz1sf773dv9gc35hx5fz023njp9r4vl0dpcavgd"))))
402 (build-system cmake-build-system)
404 `(("kwindowsystem" ,kwindowsystem)
406 ("libqtxdg" ,libqtxdg)
409 ("qtx11extras" ,qtx11extras)))
411 `(("pkg-config" ,pkg-config)
413 ("lxqt-build-tools" ,lxqt-build-tools)))
415 '(#:tests? #f ; no tests
417 ;; TODO: prefetch translations files from 'lxqt-l10n'.
418 '("-DPULL_TRANSLATIONS=NO")
420 (modify-phases %standard-phases
421 (add-after 'unpack 'patch-source
423 (substitute* '("autostart/CMakeLists.txt"
424 "xdg/CMakeLists.txt")
425 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
426 "DESTINATION \"etc/xdg"))
428 (home-page "https://lxqt.org/")
429 (synopsis "Daemon used to register global keyboard shortcuts")
430 (description "lxqt-globalkeys is providing tools to set global keyboard
431 shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
432 as a whole and are not limited to distinct applications.")
433 (license license:lgpl2.1+)))
435 (define-public lxqt-notificationd
437 (name "lxqt-notificationd")
442 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
443 version "/" name "-" version ".tar.xz"))
445 (base32 "1l0hdbvghyhqgvy4pih7rvz26bc6yc8a3l1bdj11hnkw62h1i7d6"))))
446 (build-system cmake-build-system)
448 `(("kwindowsystem" ,kwindowsystem)
450 ("libqtxdg" ,libqtxdg)
453 ("qtx11extras" ,qtx11extras)))
455 `(("lxqt-build-tools" ,lxqt-build-tools)
456 ("qttools" ,qttools)))
458 '(#:tests? #f ; no test target
460 ;; TODO: prefetch translations files from 'lxqt-l10n'.
461 '("-DPULL_TRANSLATIONS=NO")
463 (modify-phases %standard-phases
464 (add-after 'unpack 'patch-source
466 (substitute* '("autostart/CMakeLists.txt")
467 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
468 "DESTINATION \"etc/xdg"))
470 (home-page "https://lxqt.org/")
471 (synopsis "The LXQt notification daemon")
472 (description "lxqt-notificationd is LXQt's implementation of a daemon
473 according to the Desktop Notifications Specification.")
474 (license license:lgpl2.1+)))
476 (define-public lxqt-openssh-askpass
478 (name "lxqt-openssh-askpass")
483 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
484 version "/" name "-" version ".tar.xz"))
486 (base32 "0l2272gya8jgv71bvg2hz37lnhiznv4ng3j0p6j79f99hwb5ygpk"))))
487 (build-system cmake-build-system)
489 `(("kwindowsystem" ,kwindowsystem)
491 ("libqtxdg" ,libqtxdg)
494 ("qtx11extras" ,qtx11extras)))
496 `(("lxqt-build-tools" ,lxqt-build-tools)
497 ("qttools" ,qttools)))
499 '(#:tests? #f ; no tests
501 ;; TODO: prefetch translations files from 'lxqt-l10n'.
502 '("-DPULL_TRANSLATIONS=NO")))
503 (home-page "https://lxqt.org/")
504 (synopsis "GUI to query passwords on behalf of SSH agents")
505 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
507 (license license:lgpl2.1+)))
509 (define-public lxqt-panel
516 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
517 version "/" name "-" version ".tar.xz"))
519 (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1"))))
520 (build-system cmake-build-system)
522 `(("alsa-lib" ,alsa-lib)
523 ("kguiaddons" ,kguiaddons)
524 ("kwindowsystem" ,kwindowsystem)
525 ("libdbusmenu-qt" ,libdbusmenu-qt)
527 ("libqtxdg" ,libqtxdg)
528 ("libstatgrab" ,libstatgrab)
529 ("libsysstat" ,libsysstat)
530 ("libxcomposite" ,libxcomposite)
531 ("libxdamage" ,libxdamage)
532 ("libxkbcommon" ,libxkbcommon)
533 ("libxrender" ,libxrender)
534 ("lm-sensors" ,lm-sensors "lib")
535 ("lxqt-globalkeys" ,lxqt-globalkeys)
537 ("pulseaudio" ,pulseaudio)
540 ("qtx11extras" ,qtx11extras)
542 ("xcb-util" ,xcb-util)))
544 `(("pkg-config" ,pkg-config)
545 ("lxqt-build-tools" ,lxqt-build-tools)
546 ("qttools" ,qttools)))
548 '(#:tests? #f ; no tests
550 ;; TODO: prefetch translations files from 'lxqt-l10n'.
551 '("-DPULL_TRANSLATIONS=NO")
553 (modify-phases %standard-phases
554 (add-after 'unpack 'patch-source
556 (substitute* '("autostart/CMakeLists.txt"
557 "menu/CMakeLists.txt")
558 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
559 "DESTINATION \"etc/xdg"))
561 (home-page "https://lxqt.org/")
562 (synopsis "The LXQt desktop panel")
563 (description "lxqt-panel represents the taskbar of LXQt.")
564 (license license:lgpl2.1+)))
566 (define-public lxqt-policykit
568 (name "lxqt-policykit")
573 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
574 version "/" name "-" version ".tar.xz"))
576 (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp"))))
577 (build-system cmake-build-system)
579 `(("kwindowsystem" ,kwindowsystem)
581 ("libqtxdg" ,libqtxdg)
583 ("polkit-qt" ,polkit-qt)
586 ("qtx11extras" ,qtx11extras)))
588 `(("pkg-config" ,pkg-config)
590 ("lxqt-build-tools" ,lxqt-build-tools)
591 ("qttools" ,qttools)))
593 '(#:tests? #f ; no test target
595 '("-DPULL_TRANSLATIONS=NO")
597 (modify-phases %standard-phases
598 (add-after 'unpack 'patch-source
600 (substitute* '("autostart/CMakeLists.txt")
601 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
602 "DESTINATION \"etc/xdg"))
604 (home-page "https://lxqt.org/")
605 (synopsis "The LXQt PolicyKit agent")
606 (description "lxqt-policykit is the polkit authentification agent of
608 (license license:lgpl2.1+)))
610 (define-public lxqt-powermanagement
612 (name "lxqt-powermanagement")
617 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
618 version "/" name "-" version ".tar.xz"))
620 (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613"))))
621 (build-system cmake-build-system)
623 `(("kidletime" ,kidletime)
624 ("kwindowsystem" ,kwindowsystem)
626 ("libqtxdg" ,libqtxdg)
629 ("qtx11extras" ,qtx11extras)
632 `(("lxqt-build-tools" ,lxqt-build-tools)
633 ("qttools" ,qttools)))
635 '(#:tests? #f ; no tests
637 ;; TODO: prefetch translations files from 'lxqt-l10n'.
638 '("-DPULL_TRANSLATIONS=NO")
640 (modify-phases %standard-phases
641 (add-after 'unpack 'patch-source
643 (substitute* '("autostart/CMakeLists.txt")
644 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
645 "DESTINATION \"etc/xdg"))
647 (home-page "https://lxqt.org/")
648 (synopsis "Power management module for LXQt")
649 (description "lxqt-powermanagement is providing tools to monitor power
650 management events and optionally trigger actions like e. g. shut down a system
651 when laptop batteries are low on power.")
652 (license license:lgpl2.1+)))
654 (define-public lxqt-qtplugin
656 (name "lxqt-qtplugin")
661 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
662 version "/" name "-" version ".tar.xz"))
664 (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56"))))
665 (build-system cmake-build-system)
667 `(("libdbusmenu-qt" ,libdbusmenu-qt)
668 ("libfm-qt" ,libfm-qt)
669 ("libqtxdg" ,libqtxdg)
672 ("qtx11extras" ,qtx11extras)))
674 `(("lxqt-build-tools" ,lxqt-build-tools)
675 ("qttools" ,qttools)))
677 '(#:tests? #f ; no tests
679 (modify-phases %standard-phases
680 (add-after 'unpack 'patch-source
682 (substitute* '("src/CMakeLists.txt")
683 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
684 "DESTINATION \"lib/qt5/plugins"))
686 (home-page "https://lxqt.org/")
687 (synopsis "LXQt Qt platform integration plugin")
688 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
690 (license license:lgpl2.1+)))
692 (define-public lxqt-runner
699 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
700 version "/" name "-" version ".tar.xz"))
702 (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali"))))
703 (build-system cmake-build-system)
705 `(("kwindowsystem" ,kwindowsystem)
707 ("libqtxdg" ,libqtxdg)
708 ("lxqt-globalkeys" ,lxqt-globalkeys)
709 ("muparser" ,muparser)
713 ("qtx11extras" ,qtx11extras)))
715 `(("pkg-config" ,pkg-config)
717 ("lxqt-build-tools" ,lxqt-build-tools)))
719 '(#:tests? #f ; no tests
721 ;; TODO: prefetch translations files from 'lxqt-l10n'.
722 '("-DPULL_TRANSLATIONS=NO")
724 (modify-phases %standard-phases
725 (add-after 'unpack 'patch-source
727 (substitute* '("autostart/CMakeLists.txt")
728 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
729 "DESTINATION \"etc/xdg"))
731 (home-page "https://lxqt.org/")
732 (synopsis "Tool used to launch programs quickly by typing their names")
733 (description "lxqt-runner provides a GUI that comes up on the desktop and
734 allows for launching applications or shutting down the system.")
735 (license license:lgpl2.1+)))
737 (define-public lxqt-session
739 (name "lxqt-session")
744 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
745 version "/" name "-" version ".tar.xz"))
747 (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
748 (build-system cmake-build-system)
751 ("kwindowsystem" ,kwindowsystem)
753 ("libqtxdg" ,libqtxdg)
756 ("qtx11extras" ,qtx11extras)
757 ("xdg-user-dirs" ,xdg-user-dirs)))
759 `(("pkg-config" ,pkg-config)
760 ("lxqt-build-tools" ,lxqt-build-tools)
761 ("qttools" ,qttools)))
765 `("-DPULL_TRANSLATIONS=NO")
767 (modify-phases %standard-phases
768 (add-after 'unpack 'patch-source
770 (substitute* '("autostart/CMakeLists.txt"
771 "config/CMakeLists.txt")
772 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
773 "DESTINATION \"etc/xdg"))
775 (home-page "https://lxqt.org/")
776 (synopsis "Session manager for LXQt")
777 (description "lxqt-session provides the standard session manager
778 for the LXQt desktop environment.")
779 (license license:lgpl2.1+)))
781 (define-public lxqt-sudo
788 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
789 version "/" name "-" version ".tar.xz"))
791 (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf"))))
792 (build-system cmake-build-system)
794 `(("kwindowsystem" ,kwindowsystem)
796 ("libqtxdg" ,libqtxdg)
799 ("qtx11extras" ,qtx11extras)
802 `(("pkg-config" ,pkg-config)
804 ("lxqt-build-tools" ,lxqt-build-tools)))
806 '(#:tests? #f ; no tests
808 ;; TODO: prefetch translations files from 'lxqt-l10n'.
809 '("-DPULL_TRANSLATIONS=NO")))
810 (home-page "https://lxqt.org/")
811 (synopsis "GUI frontend for sudo/su")
812 (description "lxqt-sudo is a graphical front-end of commands sudo and su
813 respectively. As such it enables regular users to launch applications with
814 permissions of other users including root.")
815 (license license:lgpl2.1+)))
817 (define-public lxqt-themes
824 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
825 version "/" name "-" version ".tar.xz"))
827 (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf"))))
828 (build-system cmake-build-system)
830 `(("lxqt-build-tools" ,lxqt-build-tools)))
832 `(#:tests? #f ; no tests
834 (modify-phases %standard-phases
835 (add-after 'unpack 'patch-source
837 (substitute* '("CMakeLists.txt")
838 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
839 "DESTINATION \"share/lxqt/graphics"))
840 (substitute* '("themes/CMakeLists.txt")
841 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
842 "DESTINATION \"share/lxqt"))
844 (home-page "https://lxqt.org/")
845 (synopsis "Themes, graphics and icons for LXQt")
846 (description "This package comprises a number of graphic files and themes
848 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
849 ;; licensed under CC-BY-SA 3.0.
850 (license license:lgpl2.1+)))
855 (define-public libfm-qt
862 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
863 version "/" name "-" version ".tar.xz"))
865 (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9"))))
866 (build-system cmake-build-system)
868 '(#:tests? #f ; no tests
870 ;; TODO : prefetch translations files from 'lxqt-l10n'.
871 '("-DPULL_TRANSLATIONS=NO")))
877 ("menu-cache" ,menu-cache)
880 ("qtx11extras" ,qtx11extras)))
882 `(("pkg-config" ,pkg-config)
883 ("lxqt-build-tools" ,lxqt-build-tools)
884 ("qttools" ,qttools)))
885 (home-page "https://lxqt.org/")
886 (synopsis "Qt binding for libfm")
887 (description "libfm-qt is the Qt port of libfm, a library providing
888 components to build desktop file managers which belongs to LXDE.")
889 (license license:lgpl2.1+)))
891 (define-public pcmanfm-qt
898 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
899 version "/" name "-" version ".tar.xz"))
901 (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz"))))
902 (build-system cmake-build-system)
904 `(("libfm-qt" ,libfm-qt)
906 ("qtx11extras" ,qtx11extras)))
908 `(("pkg-config" ,pkg-config)
910 ("lxqt-build-tools" ,lxqt-build-tools)))
912 '(#:tests? #f ; no tests
914 ;; TODO: prefetch translations files from 'lxqt-l10n'.
915 '("-DPULL_TRANSLATIONS=NO")
917 (modify-phases %standard-phases
918 (add-after 'unpack 'patch-source
920 (substitute* '("autostart/CMakeLists.txt")
921 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
922 "DESTINATION \"etc/xdg"))
924 (home-page "https://lxqt.org/")
925 (synopsis "File manager and desktop icon manager")
926 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
928 (license license:gpl2+)))
933 (define-public compton-conf
935 (name "compton-conf")
940 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
941 version "/" name "-" version ".tar.xz"))
943 (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci"))))
944 (build-system cmake-build-system)
946 `(("libconfig" ,libconfig)
949 `(("lxqt-build-tools" ,lxqt-build-tools)
950 ("pkg-config" ,pkg-config)
951 ("qttools" ,qttools)))
953 '(#:tests? #f ; no tests
955 ;; TODO: prefetch translations files from 'lxqt-l10n'.
956 '("-DPULL_TRANSLATIONS=NO")
958 (modify-phases %standard-phases
959 (add-after 'unpack 'patch-source
961 (substitute* '("autostart/CMakeLists.txt")
962 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
963 "DESTINATION \"etc/xdg"))
965 (home-page "https://lxqt.org/")
966 (synopsis "GUI configuration tool for compton X composite manager")
967 (description "@code{compton-conf} is a configuration tool for X composite
969 (license license:lgpl2.1+)))
971 (define-public lximage-qt
978 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
979 version "/" name "-" version ".tar.xz"))
981 (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w"))))
982 (build-system cmake-build-system)
984 `(("libexif" ,libexif)
985 ("libfm-qt" ,libfm-qt)
988 ("qtx11extras" ,qtx11extras)))
990 `(("pkg-config" ,pkg-config)
991 ("lxqt-build-tools" ,lxqt-build-tools)
992 ("qttools" ,qttools)))
994 '(#:tests? #f ; no tests
996 ;; TODO: prefetch translations files from 'lxqt-l10n'.
997 '("-DPULL_TRANSLATIONS=NO")))
998 (home-page "https://lxqt.org/")
999 (synopsis "The image viewer and screenshot tool for lxqt")
1000 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
1002 (license license:gpl2+)))
1004 (define-public obconf-qt
1011 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1012 version "/" name "-" version ".tar.xz"))
1014 (base32 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf"))))
1015 (build-system cmake-build-system)
1017 `(("imlib2" ,imlib2)
1019 ("librsvg" ,librsvg)
1021 ("libxml2" ,libxml2)
1022 ("openbox" ,openbox)
1026 ("qtx11extras" ,qtx11extras)))
1028 `(("lxqt-build-tools" ,lxqt-build-tools)
1029 ("pkg-config" ,pkg-config)
1030 ("qttools" ,qttools)))
1032 '(#:tests? #f ; no tests
1034 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1035 '("-DPULL_TRANSLATIONS=NO")))
1036 (home-page "https://lxqt.org/")
1037 (synopsis "Openbox configuration tool")
1038 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
1039 window manager OpenBox.")
1040 (license license:gpl2+)))
1042 (define-public pavucontrol-qt
1044 (name "pavucontrol-qt")
1049 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1050 version "/" name "-" version ".tar.xz"))
1052 (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6"))))
1053 (build-system cmake-build-system)
1057 ("pulseaudio" ,pulseaudio)
1059 ("qtx11extras" ,qtx11extras)))
1061 `(("pkg-config" ,pkg-config)
1062 ("lxqt-build-tools" ,lxqt-build-tools)
1063 ("qttools" ,qttools)))
1065 '(#:tests? #f ; no tests
1067 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1068 '("-DPULL_TRANSLATIONS=NO")))
1069 (home-page "https://lxqt.org/")
1070 (synopsis "Pulseaudio mixer in Qt")
1071 (description "@code{pavucontrol-qt} is the Qt port of volume control
1072 @code{pavucontrol} of sound server @code{PulseAudio}.")
1073 (license license:gpl2+)))
1082 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1083 version "/" name "-" version ".tar.xz"))
1085 (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44"))))
1086 (build-system cmake-build-system)
1088 `(("libxrender" ,libxrender)
1090 ("qtx11extras" ,qtx11extras)))
1092 `(("qttools" ,qttools)))
1094 '(#:tests? #f)) ; no tests
1095 (home-page "https://lxqt.org/")
1096 (synopsis "Qt-based visual process status monitor")
1097 (description "@code{qps} is a monitor that displays the status of the
1098 processes currently in existence, much like code{top} or code{ps}.")
1099 (license license:gpl2+)))
1101 (define-public qtermwidget
1103 (name "qtermwidget")
1108 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1109 version "/" name "-" version ".tar.xz"))
1111 (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773"))))
1112 (build-system cmake-build-system)
1114 `(("qtbase" ,qtbase)))
1116 `(("lxqt-build-tools" ,lxqt-build-tools)
1117 ("qttools" ,qttools)))
1119 '(#:tests? #f ; no tests
1121 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1122 '("-DPULL_TRANSLATIONS=NO")))
1123 (home-page "https://lxqt.org/")
1124 (synopsis "The terminal widget for QTerminal")
1125 (description "QTermWidget is a terminal emulator widget for Qt 5.")
1126 (license license:gpl2+)))
1128 (define-public qterminal
1135 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1136 version "/" name "-" version ".tar.xz"))
1138 (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1"))))
1139 (build-system cmake-build-system)
1141 `(("qtbase" ,qtbase)
1142 ("qtx11extras" ,qtx11extras)
1143 ("qtermwidget" ,qtermwidget)))
1145 `(("lxqt-build-tools" ,lxqt-build-tools)
1146 ("qttools" ,qttools)))
1148 '(#:tests? #f ; no tests
1150 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1151 '("-DPULL_TRANSLATIONS=NO")))
1152 (home-page "https://lxqt.org/")
1153 (synopsis "Lightweight Qt-based terminal emulator")
1154 (description "QTerminal is a lightweight Qt terminal emulator based on
1156 (license license:gpl2+)))
1158 (define-public screengrab
1165 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1166 version "/screengrab-" version ".tar.xz"))
1168 (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3"))))
1169 (build-system cmake-build-system)
1171 `(("kwindowsystem" ,kwindowsystem)
1172 ("libqtxdg" ,libqtxdg)
1175 ("qtx11extras" ,qtx11extras)))
1177 `(("pkg-config" ,pkg-config)
1178 ("qttools" ,qttools)))
1180 '(#:tests? #f)) ; no tests
1181 (home-page "https://lxqt.org/")
1182 (synopsis "Crossplatform tool for fast making screenshots")
1183 (description "ScreenGrab is a program for fast creating screenshots, and
1184 easily publishing them on internet image hosting services.")
1185 (license license:gpl2+)))
1188 ;; The LXQt Desktop Environment
1193 (version (package-version lxqt-session))
1195 (build-system trivial-build-system)
1196 (arguments '(#:builder (begin (mkdir %output) #t)))
1199 ("desktop-file-utils" ,desktop-file-utils)
1200 ("hicolor-icon-theme" ,hicolor-icon-theme)
1201 ("xdg-user-dirs" ,xdg-user-dirs)
1202 ("xdg-utils" ,xdg-utils)
1204 ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
1205 ;; should be added to their propagated-inputs?
1208 ("lxqt-about" ,lxqt-about)
1209 ("lxqt-admin" ,lxqt-admin)
1210 ("lxqt-config" ,lxqt-config)
1211 ("lxqt-notificationd" ,lxqt-notificationd)
1212 ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
1213 ("lxqt-panel" ,lxqt-panel)
1214 ("lxqt-policykit" ,lxqt-policykit)
1215 ("lxqt-powermanagement" ,lxqt-powermanagement)
1216 ("lxqt-qtplugin" ,lxqt-qtplugin)
1217 ("lxqt-runner" ,lxqt-runner)
1218 ("lxqt-session" ,lxqt-session)
1219 ("lxqt-sudo" ,lxqt-sudo)
1220 ("lxqt-themes" ,lxqt-themes)
1221 ("pcmanfm-qt" ,pcmanfm-qt)
1223 ("compton" ,compton)
1224 ("compton-conf" ,compton-conf)
1225 ("font-dejavu" ,font-dejavu)
1226 ("lximage-qt" ,lximage-qt)
1227 ("obconf-qt" ,obconf-qt)
1228 ("openbox" ,openbox)
1229 ("oxygen-icons" ,oxygen-icons)
1230 ("pavucontrol-qt" ,pavucontrol-qt)
1232 ("qterminal" ,qterminal)))
1233 (synopsis "The Lightweight Qt Desktop Environment")
1234 (description "LXQt is a lightweight Qt desktop environment.")
1235 (home-page "https://lxde.org")
1236 (license license:gpl2+)))