1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2015, 2022 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 Nikita <nikita@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>
10 ;;; Copyright © 2019, 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
11 ;;; Copyright © 2020 Fakhri Sajadi <f.sajadi@pantherx.org>
12 ;;; Copyright © 2020 André Batista <nandre@riseup.net>
13 ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
15 ;;; This file is part of GNU Guix.
17 ;;; GNU Guix is free software; you can redistribute it and/or modify it
18 ;;; under the terms of the GNU General Public License as published by
19 ;;; the Free Software Foundation; either version 3 of the License, or (at
20 ;;; your option) any later version.
22 ;;; GNU Guix is distributed in the hope that it will be useful, but
23 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
24 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 ;;; GNU General Public License for more details.
27 ;;; You should have received a copy of the GNU General Public License
28 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
30 (define-module (gnu packages lxqt)
31 #:use-module (guix download)
32 #:use-module (guix git-download)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix gexp)
35 #:use-module (guix packages)
36 #:use-module (guix utils)
37 #:use-module (guix build-system cmake)
38 #:use-module (guix build-system gnu)
39 #:use-module (guix build-system trivial)
40 #:use-module (gnu packages)
41 #:use-module (gnu packages admin)
42 #:use-module (gnu packages compression)
43 #:use-module (gnu packages documentation)
44 #:use-module (gnu packages compton)
45 #:use-module (gnu packages fonts)
46 #:use-module (gnu packages freedesktop)
47 #:use-module (gnu packages glib)
48 #:use-module (gnu packages gnome)
49 #:use-module (gnu packages gtk)
50 #:use-module (gnu packages image)
51 #:use-module (gnu packages kde-frameworks)
52 #:use-module (gnu packages kde-plasma)
53 #:use-module (gnu packages linux)
54 #:use-module (gnu packages perl)
55 #:use-module (gnu packages lxde)
56 #:use-module (gnu packages maths)
57 #:use-module (gnu packages openbox)
58 #:use-module (gnu packages pcre)
59 #:use-module (gnu packages photo)
60 #:use-module (gnu packages pkg-config)
61 #:use-module (gnu packages polkit)
62 #:use-module (gnu packages pulseaudio)
63 #:use-module (gnu packages qt)
64 #:use-module (gnu packages textutils)
65 #:use-module (gnu packages xdisorg)
66 #:use-module (gnu packages xml)
67 #:use-module (gnu packages xorg))
70 ;; Third party libraries
72 (define-public libdbusmenu-qt
74 (name "libdbusmenu-qt")
75 (version "0.9.3+16.04.20160218-0ubuntu1")
79 ;; Download from github rather than launchpad because launchpad trunk
80 ;; tarball hash is not deterministic.
82 (url "https://github.com/unity8-team/libdbusmenu-qt")
84 (file-name (git-file-name name version))
86 (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg"))))
87 (build-system cmake-build-system)
89 ;; XXX: Tests require a dbus session and some icons.
95 (home-page "https://launchpad.net/libdbusmenu-qt")
96 (synopsis "Qt implementation of the DBusMenu spec")
97 (description "This library provides a Qt implementation of the DBusMenu
98 protocol. The DBusMenu protocol makes it possible for applications to export
99 and import their menus over DBus.")
100 (license license:lgpl2.1+)))
102 (define-public libstatgrab
109 (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/"
110 name "-" version ".tar.gz"))
112 (base32 "04bcbln3qlilxsyh5hrwdrv7x4pfv2lkwdwa98bxfismd15am22n"))))
113 (build-system gnu-build-system)
115 '(#:configure-flags '("--enable-tests"
116 "--disable-static")))
120 (home-page "https://www.i-scream.org/libstatgrab/")
121 (synopsis "Provides access to statistics about the system")
122 (description "libstatgrab is a library that provides cross platform access
123 to statistics about the system on which it's run.")
124 ;; Libraries are under LGPL2.1+, and programs under GPLv2+.
125 (license license:gpl2+)))
130 (define-public lxqt-build-tools
132 (name "lxqt-build-tools")
137 (uri (string-append "https://github.com/lxqt/lxqt-build-tools/releases"
139 "/lxqt-build-tools-" version ".tar.xz"))
141 (base32 "1ff1pkrlxd8h0j8v49p6wrfhnqrz8s5b53hi835m41cvkzjljpfx"))))
142 (build-system cmake-build-system)
145 #:tests? #f ; no tests
146 #:modules `((ice-9 regex)
147 (guix build cmake-build-system)
149 ;; In phases and configure-flags: Set LXQT_TRANSLATIONS_DIR,
150 ;; LXQT_DATA_DIR, etc. to relative paths, so that packages using
151 ;; LXQtConfigVars.cmake from lxqt-build-tools will install translations
152 ;; and data files into their outputs, remove the need to patch their
155 #~(modify-phases %standard-phases
156 (add-after 'install 'patch-LXQtConfigVars.cmake
158 (substitute* (string-append #$output
159 "/share/cmake/lxqt-build-tools"
160 "/modules/LXQtConfigVars.cmake")
161 (((regexp-quote (string-append #$output "/"))) "")))))
163 #~(list "-DLXQT_ETC_XDG_DIR=etc/xdg")))
165 (list pkg-config glib))
169 ;; Dependent projects require Perl via the CMake files.
171 (synopsis "LXQt Build tools")
173 "Lxqt-build-tools is providing several tools needed to build LXQt
174 itself as well as other components maintained by the LXQt project.")
175 (home-page "https://lxqt-project.org")
176 (license license:lgpl2.1+)))
178 (define-public libqtxdg
186 "https://github.com/lxqt/libqtxdg/releases/download/"
187 version "/libqtxdg-" version ".tar.xz"))
189 (base32 "1kh4hv59bkjifq20ksh1mizf9mp7x30v6fpwccr45mi7hasqvvfi"))))
190 (build-system cmake-build-system)
194 "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines")
196 (modify-phases %standard-phases
197 (add-before 'check 'pre-check
199 ;; Run the tests offscreen.
200 (setenv "QT_QPA_PLATFORM" "offscreen")
203 ;; required by Qt5XdgIconLoader.pc
204 (list glib qtbase-5 qtsvg-5))
206 (list lxqt-build-tools pkg-config))
207 (home-page "https://github.com/lxqt/libqtxdg")
208 (synopsis "Qt implementation of freedesktop.org xdg specifications")
209 (description "Libqtxdg implements the freedesktop.org xdg specifications
211 (license license:lgpl2.1+)))
213 (define-public qtxdg-tools
221 "https://github.com/lxqt/qtxdg-tools/releases/download/"
222 version "/qtxdg-tools-" version ".tar.xz"))
224 (base32 "0qn35v4dv71g0a4cqkbikppwmihxmfa560q9kw5pwk2y0xiwpncr"))))
225 (build-system cmake-build-system)
226 (arguments '(#:tests? #f)) ; no tests
227 (propagated-inputs (list libqtxdg))
228 (native-inputs (list lxqt-build-tools))
229 (home-page "https://github.com/lxqt/qtxdg-tools")
230 (synopsis "User tools for libqtxdg")
231 (description "This package contains a CLI MIME tool, @command{qtxdg-mat},
232 for handling file associations and opening files with their default
234 (license license:lgpl2.1+)))
236 (define-public liblxqt
244 "https://github.com/lxqt/" name "/releases/download/"
245 version "/" name "-" version ".tar.xz"))
247 (base32 "1fickg1q54pcb8bv3x0ydg4xx02cqykibnjcq09as2kws6xbhk9n"))))
248 (build-system cmake-build-system)
250 `(#:tests? #f ; no tests
252 (modify-phases %standard-phases
253 (add-after 'unpack 'patch-source
255 (substitute* "CMakeLists.txt"
256 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
257 "DESTINATION \"share/polkit-1/actions"))
267 (list lxqt-build-tools qttools-5))
268 (home-page "https://lxqt-project.org")
269 (synopsis "Core utility library for all LXQt components")
270 (description "liblxqt provides the basic libraries shared by the
271 components of the LXQt desktop environment.")
272 (license license:lgpl2.1+)))
274 (define-public libsysstat
281 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
282 version "/" name "-" version ".tar.xz"))
284 (base32 "1ghkzgz3ypjii08f00g26pnmw0s5naf344p83dwnf3kfdlykiip6"))))
285 (build-system cmake-build-system)
286 (arguments '(#:tests? #f)) ; no tests
290 (list lxqt-build-tools))
291 (home-page "https://lxqt-project.org")
292 (synopsis "Library used to query system info and statistics")
293 (description "libsysstat is a library to query system information like CPU
294 and memory usage or network traffic.")
295 (license license:lgpl2.1+)))
300 (define-public lxqt-about
307 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
308 version "/" name "-" version ".tar.xz"))
310 (base32 "03bqhbpdnfpan3l4snzzz6j0054m4r9zcgygcg21znslwicbqnw3"))))
311 (build-system cmake-build-system)
320 (list lxqt-build-tools qttools-5))
322 '(#:tests? #f ; no tests
324 (modify-phases %standard-phases
325 (add-before 'build 'setenv
327 (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
329 (home-page "https://lxqt-project.org")
330 (synopsis "Provides information about LXQt and the system")
331 (description "lxqt-about is a dialogue window providing information about
332 LXQt and the system it's running on.")
333 (license license:lgpl2.1+)))
335 (define-public lxqt-admin
342 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
343 version "/" name "-" version ".tar.xz"))
345 (base32 "1zah3xdnif9miaq52mmfbbzvqjhca7w7h81ngrn25j9pvd2bflm8"))))
346 (build-system cmake-build-system)
355 (list lxqt-build-tools qttools-5))
357 '(#:tests? #f ; no tests
359 (modify-phases %standard-phases
360 (add-after 'unpack 'patch-source
362 (substitute* '("lxqt-admin-user/CMakeLists.txt"
363 "lxqt-admin-time/CMakeLists.txt")
364 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
365 "DESTINATION \"share/polkit-1/actions"))
367 (home-page "https://lxqt-project.org")
368 (synopsis "LXQt system administration tool")
369 (description "lxqt-admin is providing two GUI tools to adjust settings of
370 the operating system LXQt is running on.")
371 (license license:lgpl2.1+)))
373 (define-public lxqt-config
380 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
381 version "/" name "-" version ".tar.xz"))
383 (base32 "0f0x82qma86kjdvn08qlg0ydxh9fnqikijfhnicynxdqfnp50ia5"))))
384 (build-system cmake-build-system)
400 (list pkg-config lxqt-build-tools qttools-5))
401 ;; XXX: This is a workaround so libkscreen can find the backends as we
402 ;; dont have a way specify them. We may want to patch like Nix does.
406 '(#:tests? #f ; no tests
408 (modify-phases %standard-phases
409 (add-after 'unpack 'set-xkeyboard-config-file-name
410 (lambda* (#:key inputs #:allow-other-keys)
411 ;; Set the file name to xkeyboard-config.
412 (let ((xkb (assoc-ref inputs "xkeyboard-config")))
413 (substitute* "lxqt-config-input/keyboardlayoutconfig.h"
414 (("/usr/share/X11/xkb/rules/base.lst")
415 (string-append xkb "/share/X11/xkb/rules/base.lst")))
417 (home-page "https://lxqt-project.org")
418 (synopsis "Tools to configure LXQt and the underlying operating system")
419 (description "lxqt-config is providing several tools involved in the
420 configuration of both LXQt and the underlying operating system.")
421 (license license:lgpl2.1+)))
423 (define-public lxqt-globalkeys
425 (name "lxqt-globalkeys")
430 (uri (string-append "https://github.com/lxqt/lxqt-globalkeys/"
431 "releases/download/" version "/"
432 "lxqt-globalkeys-" version ".tar.xz"))
434 (base32 "0bbw85aa59w0qnvkdggm3hbacps6yfcvcrs32d34mvvhc7d6g04l"))))
435 (build-system cmake-build-system)
444 (list pkg-config qttools-5 lxqt-build-tools))
445 (arguments '(#:tests? #f)) ; no tests
446 (home-page "https://lxqt-project.org")
447 (synopsis "Daemon used to register global keyboard shortcuts")
448 (description "lxqt-globalkeys is providing tools to set global keyboard
449 shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
450 as a whole and are not limited to distinct applications.")
451 (license license:lgpl2.1+)))
453 (define-public lxqt-notificationd
455 (name "lxqt-notificationd")
460 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
461 version "/" name "-" version ".tar.xz"))
463 (base32 "0bz3qdvv591zvpkxqzqqmh1yq5icc3iinmjr13qzws3ajlj19z44"))))
464 (build-system cmake-build-system)
473 (list lxqt-build-tools qttools-5))
474 (arguments '(#:tests? #f)) ; no test target
475 (home-page "https://lxqt-project.org")
476 (synopsis "The LXQt notification daemon")
477 (description "lxqt-notificationd is LXQt's implementation of a daemon
478 according to the Desktop Notifications Specification.")
479 (license license:lgpl2.1+)))
481 (define-public lxqt-openssh-askpass
483 (name "lxqt-openssh-askpass")
488 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
489 version "/" name "-" version ".tar.xz"))
491 (base32 "1hxix513z2sanmygfzq1fgx30kaxw5rjmmklbyyzl8bv1xzjcwk7"))))
492 (build-system cmake-build-system)
501 (list lxqt-build-tools qttools-5))
502 (arguments '(#:tests? #f)) ; no tests
503 (home-page "https://lxqt-project.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 "11dg18ac6kj8qkkrg940bzpykjih6nnw8y3hfww3wiyg6dka9gd7"))))
520 (build-system cmake-build-system)
546 (list pkg-config lxqt-build-tools qttools-5))
548 ;; Propagating KWINDOWSYSTEM so that the list of opened applications
549 ;; shows up in lxqt-panel's taskbar plugin.
550 (list kwindowsystem lxmenu-data))
552 '(#:tests? #f ; no tests
554 (modify-phases %standard-phases
555 (add-after 'unpack 'set-xkeyboard-config-file-path
556 (lambda* (#:key inputs #:allow-other-keys)
557 ;; Set the path to xkeyboard-config.
558 (let ((xkb (assoc-ref inputs "xkeyboard-config")))
559 (substitute* "plugin-kbindicator/src/x11/kbdlayout.cpp"
560 (("/usr/share/X11/xkb/rules/evdev.xml")
561 (string-append xkb "/share/X11/xkb/rules/evdev.xml")))
563 (home-page "https://lxqt-project.org")
564 (synopsis "The LXQt desktop panel")
565 (description "lxqt-panel represents the taskbar of LXQt.")
566 (license license:lgpl2.1+)))
568 (define-public lxqt-policykit
570 (name "lxqt-policykit")
575 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
576 version "/" name "-" version ".tar.xz"))
578 (base32 "150ggcfprascnwgsz721vnmay9cbar9annlhp6h2yzkl69iyc49r"))))
579 (build-system cmake-build-system)
590 (list pkg-config polkit lxqt-build-tools qttools-5))
591 (arguments '(#:tests? #f)) ; no test target
592 (home-page "https://lxqt-project.org")
593 (synopsis "The LXQt PolicyKit agent")
594 (description "lxqt-policykit is the polkit authentication agent of
596 (license license:lgpl2.1+)))
598 (define-public lxqt-powermanagement
600 (name "lxqt-powermanagement")
605 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
606 version "/" name "-" version ".tar.xz"))
608 (base32 "0zy6abbf3iwrxsr18gbxidb4m5spsigpa2778xg7y9r7fwgmqqkk"))))
609 (build-system cmake-build-system)
621 (list lxqt-build-tools qttools-5))
622 (arguments '(#:tests? #f)) ; no tests
623 (home-page "https://lxqt-project.org")
624 (synopsis "Power management module for LXQt")
625 (description "lxqt-powermanagement is providing tools to monitor power
626 management events and optionally trigger actions like e. g. shut down a system
627 when laptop batteries are low on power.")
628 (license license:lgpl2.1+)))
630 (define-public lxqt-qtplugin
632 (name "lxqt-qtplugin")
637 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
638 version "/" name "-" version ".tar.xz"))
640 (base32 "1zw79lnm35gj3dyd4vlnk08n1lnr8391n36nbn81d0fgmvs21yx4"))))
641 (build-system cmake-build-system)
650 (list lxqt-build-tools qttools-5))
652 '(#:tests? #f ; no tests
654 (modify-phases %standard-phases
655 (add-after 'unpack 'patch-source
657 (substitute* '("src/CMakeLists.txt")
658 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
659 "DESTINATION \"lib/qt5/plugins"))
661 (home-page "https://lxqt-project.org")
662 (synopsis "LXQt Qt platform integration plugin")
663 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
665 (license license:lgpl2.1+)))
667 (define-public lxqt-runner
674 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
675 version "/" name "-" version ".tar.xz"))
677 (base32 "1wfng8g28mq97ibrgpfbj353i15vdimmjp83pfqrmkddx0yvzcdv"))))
678 (build-system cmake-build-system)
690 (list pkg-config qttools-5 lxqt-build-tools))
691 (arguments '(#:tests? #f)) ; no tests
692 (home-page "https://lxqt-project.org")
693 (synopsis "Tool used to launch programs quickly by typing their names")
694 (description "lxqt-runner provides a GUI that comes up on the desktop and
695 allows for launching applications or shutting down the system.")
696 (license license:lgpl2.1+)))
698 (define-public lxqt-session
700 (name "lxqt-session")
705 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
706 version "/" name "-" version ".tar.xz"))
708 (base32 "0j8q5jfpb2l0vvji3xs8y0jcr792z6sxzj111qqvmdrbpxrkwxnw"))))
709 (build-system cmake-build-system)
721 (list pkg-config lxqt-build-tools qttools-5))
725 (modify-phases %standard-phases
726 (add-after 'unpack 'patch-source
727 (lambda* (#:key outputs #:allow-other-keys)
728 (let ((out (assoc-ref outputs "out")))
729 (substitute* '("xsession/lxqt.desktop.in")
730 (("Exec=startlxqt") (string-append "Exec=" out "/bin/startlxqt"))
731 (("TryExec=lxqt-session") (string-append "TryExec=" out "/bin/startlxqt"))))))
733 (add-after 'unpack 'patch-openbox-permission
735 (substitute* "startlxqt.in"
736 ;; Don't add 'etc/xdg' to XDG_CONFIG_DIRS, and 'share' to XDG_DATA_DIRS.
737 (("! contains .*;") "false;")
738 ;; Add write permission to lxqt-rc.xml file which is stored as
739 ;; read-only in store.
740 (("cp \"\\$LXQT_DEFAULT_OPENBOX_CONFIG\" \"\\$XDG_CONFIG_HOME/openbox\"")
741 (string-append "cp \"$LXQT_DEFAULT_OPENBOX_CONFIG\" \"$XDG_CONFIG_HOME/openbox\"\n"
742 " # fix openbox permission issue\n"
743 " chmod u+w \"$XDG_CONFIG_HOME/openbox\"/*"))))))))
745 (list (search-path-specification
746 ;; LXQt applications install their default config files into
747 ;; 'share/lxqt' and search them from XDG_CONFIG_DIRS/lxqt.
748 (variable "XDG_CONFIG_DIRS")
749 (files '("share")))))
750 (home-page "https://lxqt-project.org")
751 (synopsis "Session manager for LXQt")
752 (description "lxqt-session provides the standard session manager
753 for the LXQt desktop environment.")
754 (license license:lgpl2.1+)))
756 (define-public lxqt-sudo
763 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
764 version "/" name "-" version ".tar.xz"))
766 (base32 "064w40v43m91y9aywxxf2pj5rpcl4gbsgj7dv97pg4vhj9s790b8"))))
767 (build-system cmake-build-system)
777 (list pkg-config qttools-5 lxqt-build-tools))
778 (arguments '(#:tests? #f)) ; no tests
779 (home-page "https://lxqt-project.org")
780 (synopsis "GUI frontend for sudo/su")
781 (description "lxqt-sudo is a graphical front-end of commands sudo and su
782 respectively. As such it enables regular users to launch applications with
783 permissions of other users including root.")
784 (license license:lgpl2.1+)))
786 (define-public lxqt-themes
793 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
794 version "/" name "-" version ".tar.xz"))
796 (base32 "18zrp2j0xpsrzy6m2dw8k55zczcc9jzavncasrp5j1dxscnzwrcr"))))
797 (build-system cmake-build-system)
799 (list lxqt-build-tools))
800 (arguments '(#:tests? #f)) ; no tests
801 (home-page "https://lxqt-project.org")
802 (synopsis "Themes, graphics and icons for LXQt")
803 (description "This package comprises a number of graphic files and themes
805 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
806 ;; licensed under CC-BY-SA 3.0.
807 (license license:lgpl2.1+)))
812 (define-public libfm-qt
819 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
820 version "/" name "-" version ".tar.xz"))
822 (base32 "1991lm1gnw9s5wwn1yf3vba63bfmrrgsxc70h3nhdl9mh16qygxa"))))
823 (build-system cmake-build-system)
825 '(#:tests? #f)) ; no tests
836 (list pkg-config lxqt-build-tools qttools-5))
837 (home-page "https://lxqt-project.org")
838 (synopsis "Qt binding for libfm")
839 (description "libfm-qt is the Qt port of libfm, a library providing
840 components to build desktop file managers which belongs to LXDE.")
841 (license license:lgpl2.1+)))
843 (define-public pcmanfm-qt
850 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
851 version "/" name "-" version ".tar.xz"))
853 (base32 "1axs7dnh2z08ygy28iipfbgfck15k2i2pwlf0v8d8axjrmavzb3l"))))
854 (build-system cmake-build-system)
856 (list libfm-qt qtbase-5 qtx11extras))
858 (list pkg-config qttools-5 lxqt-build-tools))
860 '(#:tests? #f ; no tests
862 (modify-phases %standard-phases
863 (add-after 'unpack 'patch-source
865 (substitute* '("autostart/CMakeLists.txt")
866 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
867 "DESTINATION \"etc/xdg"))
868 (substitute* '("config/pcmanfm-qt/lxqt/settings.conf.in")
869 (("@LXQT_SHARE_DIR@")
870 "/run/current-system/profile/share/lxqt" ))
872 (home-page "https://lxqt-project.org")
873 (synopsis "File manager and desktop icon manager")
874 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
876 (license license:gpl2+)))
881 (define-public compton-conf
883 (name "compton-conf")
888 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
889 version "/" name "-" version ".tar.xz"))
891 (base32 "0haarzhndjp0wndfhcdy6zl2whpdn3w0qzr3rr137kfqibc58lvx"))))
892 (build-system cmake-build-system)
894 (list libconfig qtbase-5))
896 (list lxqt-build-tools pkg-config qttools-5))
898 '(#:tests? #f ; no tests
900 (modify-phases %standard-phases
901 (add-after 'unpack 'patch-source
903 (substitute* '("autostart/CMakeLists.txt")
904 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
905 "DESTINATION \"etc/xdg"))
907 (home-page "https://lxqt-project.org")
908 (synopsis "GUI configuration tool for compton X composite manager")
909 (description "@code{compton-conf} is a configuration tool for X composite
911 (license license:lgpl2.1+)))
913 (define-public lximage-qt
920 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
921 version "/" name "-" version ".tar.xz"))
923 (base32 "0g6hs41xfw2ghhwpj0rqr2ciri0x9v984689yrnmnvah88zlya1f"))))
924 (build-system cmake-build-system)
926 (list libexif libfm-qt qtbase-5 qtsvg-5 qtx11extras))
928 (list pkg-config lxqt-build-tools qttools-5))
930 '(#:tests? #f)) ; no tests
931 (home-page "https://lxqt-project.org")
932 (synopsis "The image viewer and screenshot tool for lxqt")
933 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
935 (license license:gpl2+)))
937 (define-public obconf-qt
944 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
945 version "/" name "-" version ".tar.xz"))
947 (base32 "0hlbivdbiw7wjhwrp8qfmq50ks19v0q21m3pyjj0k2na7nv9d3a5"))))
948 (build-system cmake-build-system)
961 (list lxqt-build-tools pkg-config qttools-5))
963 '(#:tests? #f)) ; no tests
964 (home-page "https://lxqt-project.org")
965 (synopsis "Openbox configuration tool")
966 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
967 window manager OpenBox.")
968 (license license:gpl2+)))
970 (define-public pavucontrol-qt
972 (name "pavucontrol-qt")
977 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
978 version "/" name "-" version ".tar.xz"))
980 (base32 "0w51dpjayav78lmhw966fz3gvypkmv64xgsd7x5rqs8am39lq9vc"))))
981 (build-system cmake-build-system)
983 (list glib pcre pulseaudio qtbase-5 qtx11extras))
985 (list pkg-config lxqt-build-tools qttools-5))
987 '(#:tests? #f)) ; no tests
988 (home-page "https://lxqt-project.org")
989 (synopsis "Pulseaudio mixer in Qt")
990 (description "@code{pavucontrol-qt} is the Qt port of volume control
991 @code{pavucontrol} of sound server @code{PulseAudio}.")
992 (license license:gpl2+)))
1001 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1002 version "/" name "-" version ".tar.xz"))
1004 (base32 "0zg0czrh3dlbnl5smxamhkdbj1g0szm47w1c0fwpaplgc1vv5lfq"))))
1005 (build-system cmake-build-system)
1014 (list lxqt-build-tools qttools-5))
1016 '(#:tests? #f)) ; no tests
1017 (home-page "https://lxqt-project.org")
1018 (synopsis "Qt-based visual process status monitor")
1019 (description "@code{qps} is a monitor that displays the status of the
1020 processes currently in existence, much like code{top} or code{ps}.")
1021 (license license:gpl2+)))
1023 (define-public qtermwidget
1025 (name "qtermwidget")
1030 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1031 version "/" name "-" version ".tar.xz"))
1033 (base32 "10lv475qj0x3c3vl4yhjyr6y10qj5pq8n5pal5k24f6pf7xv412f"))))
1034 (build-system cmake-build-system)
1036 (list qtbase-5 utf8proc))
1038 (list lxqt-build-tools qttools-5))
1040 '(#:tests? #f)) ; no tests
1041 (home-page "https://lxqt-project.org")
1042 (synopsis "The terminal widget for QTerminal")
1043 (description "QTermWidget is a terminal emulator widget for Qt 5.")
1044 (license license:gpl2+)))
1046 (define-public qterminal
1053 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1054 version "/" name "-" version ".tar.xz"))
1056 (base32 "0rfv7a6ncm8fs8aicinh9l29w4636gxzcqz735jmch2r41v9i1d9"))))
1057 (build-system cmake-build-system)
1059 (list qtbase-5 qtx11extras qtermwidget))
1061 (list lxqt-build-tools qttools-5))
1063 '(#:tests? #f)) ; no tests
1064 (home-page "https://lxqt-project.org")
1065 (synopsis "Lightweight Qt-based terminal emulator")
1066 (description "QTerminal is a lightweight Qt terminal emulator based on
1068 (license license:gpl2+)))
1070 (define-public screengrab
1077 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1078 version "/screengrab-" version ".tar.xz"))
1080 (base32 "0cilzw7rz5m2klzpax7rrs5rr6whfda2svwzsn2jvmrirmh5by7r"))))
1081 (build-system cmake-build-system)
1083 (list kwindowsystem libqtxdg qtbase-5 qtsvg-5 qtx11extras))
1085 (list pkg-config perl qttools-5))
1087 '(#:tests? #f)) ; no tests
1088 (home-page "https://lxqt-project.org")
1089 (synopsis "Crossplatform tool for fast making screenshots")
1090 (description "ScreenGrab is a program for fast creating screenshots, and
1091 easily publishing them on internet image hosting services.")
1092 (license license:gpl2+)))
1095 (define-public lxqt-archiver
1097 (name "lxqt-archiver")
1102 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1103 version "/" name "-" version ".tar.xz"))
1105 (base32 "0fzgq7cyr7hx8qmq84xfgbsdx04mc1r7vzq5mz79j7bp2ysh134z"))))
1106 (build-system cmake-build-system)
1108 (list glib json-glib libfm-qt qtbase-5 qtx11extras))
1110 (list pkg-config lxqt-build-tools qttools-5))
1113 (home-page "https://lxqt-project.org")
1114 (synopsis "Simple & lightweight desktop-agnostic Qt file archiver")
1116 "This package provides a Qt graphical interface to archiving programs
1117 like @command{tar} and @command{zip}.")
1118 (license license:gpl2+)))
1120 (define-public lxqt-connman-applet
1121 ;; since the main developers didn't release any version yet, their
1122 ;; latest commit on `master` branch at the moment used for this version.
1123 (let ((commit "db1618d58fd3439142c4e44b24cba0dbb68b7141")
1126 (name "lxqt-connman-applet")
1127 (version (git-version "0.15.0" revision commit))
1132 (url (string-append "https://github.com/lxqt/" name))
1134 (file-name (git-file-name name version))
1136 (base32 "087641idpg7n8yhh5biis4wv52ayw3rddirwqb34bf5fwj664pw9"))))
1137 (build-system cmake-build-system)
1146 `(("lxqt-build-tools" ,lxqt-build-tools)
1147 ("qtlinguist" ,qttools-5)))
1149 `(#:tests? #f ; no tests
1151 (modify-phases %standard-phases
1152 (add-after 'unpack 'patch-translations-dir
1153 (lambda* (#:key outputs #:allow-other-keys)
1154 (substitute* "CMakeLists.txt"
1155 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
1156 (string-append (assoc-ref outputs "out")
1157 "/share/lxqt/translations"))
1158 (("\\$\\{LXQT_ETC_XDG_DIR\\}") "etc/xdg"))
1160 (add-after 'unpack 'remove-definitions
1162 (substitute* "CMakeLists.txt"
1163 (("include\\(LXQtCompilerSettings NO_POLICY_SCOPE\\)")
1164 "include(LXQtCompilerSettings NO_POLICY_SCOPE)
1165 remove_definitions(-DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII)"))
1167 (home-page "https://github.com/lxqt/lxqt-connman-applet")
1168 (synopsis "System-tray applet for connman")
1169 (description "This package provides a Qt-based system-tray applet for
1170 the network management tool Connman, originally developed for the LXQT
1172 (license license:lgpl2.1+))))
1174 ;; The LXQt Desktop Environment
1181 (build-system trivial-build-system)
1182 (arguments '(#:builder (begin (mkdir %output) #t)))
1190 ;; TODO: qtsvg-5 is needed for lxqt apps to display icons. Maybe it
1191 ;; should be added to their propagated-inputs?
1199 lxqt-openssh-askpass
1202 lxqt-powermanagement
1219 (synopsis "The Lightweight Qt Desktop Environment")
1220 (description "LXQt is a lightweight Qt desktop environment.")
1221 (home-page "https://lxqt-project.org")
1222 (license license:gpl2+)))