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 "0ngz8v3bixsdg96d5ipcyxd6nsrg52974xdxy9rnimahlv1yaxn3"))))
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 "08imj7p77ifzfxnn8c482mhrvfx9gi0rb43ab5rw1rkmfvax2n5w"))))
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 ;; TODO: prefetch translations files from 'lxqt-l10n'.
291 '("-DPULL_TRANSLATIONS=NO")))
292 (home-page "https://lxqt.org")
293 (synopsis "Provides information about LXQt and the system")
294 (description "lxqt-about is a dialogue window providing information about
295 LXQt and the system it's running on.")
296 (license license:lgpl2.1+)))
298 (define-public lxqt-admin
305 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
306 version "/" name "-" version ".tar.xz"))
308 (base32 "0qvpv668ja83ydbdrlal1596xhag3xlkbd6qlh9xwdpb7nysvns1"))))
309 (build-system cmake-build-system)
311 `(("kwindowsystem" ,kwindowsystem)
313 ("libqtxdg" ,libqtxdg)
314 ("polkit-qt" ,polkit-qt)
316 ("qtx11extras" ,qtx11extras)))
318 `(("lxqt-build-tools" ,lxqt-build-tools)
319 ("qttools" ,qttools)))
321 '(#:tests? #f ; no tests
323 ;; TODO: prefetch translations files from 'lxqt-l10n'.
324 '("-DPULL_TRANSLATIONS=NO")
326 (modify-phases %standard-phases
327 (add-after 'unpack 'patch-source
329 (substitute* "lxqt-admin-user/CMakeLists.txt"
330 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
331 "DESTINATION \"share/polkit-1/actions"))
333 (home-page "https://lxqt.org")
334 (synopsis "LXQt system administration tool")
335 (description "lxqt-admin is providing two GUI tools to adjust settings of
336 the operating system LXQt is running on.")
337 (license license:lgpl2.1+)))
339 (define-public lxqt-config
346 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
347 version "/" name "-" version ".tar.xz"))
349 (base32 "0rizhl2v41kpgp57a61r6nmwcdw8nh9hprrrf33nfrdw8hpwxb95"))))
350 (build-system cmake-build-system)
352 `(("kwindowsystem" ,kwindowsystem)
353 ("libkscreen" ,libkscreen)
355 ("libqtxdg" ,libqtxdg)
356 ("libxcursor" ,libxcursor)
359 ("qtx11extras" ,qtx11extras)
363 `(("pkg-config" ,pkg-config)
364 ("lxqt-build-tools" ,lxqt-build-tools)
365 ("qttools" ,qttools)))
367 '(#:tests? #f ; no tests
369 ;; TODO: prefetch translations files from 'lxqt-l10n'.
370 '("-DPULL_TRANSLATIONS=NO")
372 (modify-phases %standard-phases
373 (add-after 'unpack 'patch-source
375 (substitute* '("src/CMakeLists.txt")
376 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
377 "DESTINATION \"etc/xdg"))
379 (home-page "https://lxqt.org")
380 (synopsis "Tools to configure LXQt and the underlying operating system")
381 (description "lxqt-config is providing several tools involved in the
382 configuration of both LXQt and the underlying operating system.")
383 (license license:lgpl2.1+)))
385 (define-public lxqt-globalkeys
387 (name "lxqt-globalkeys")
392 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
393 version "/" name "-" version ".tar.xz"))
395 (base32 "1gyvcjbhi7zpvgz1sf773dv9gc35hx5fz023njp9r4vl0dpcavgd"))))
396 (build-system cmake-build-system)
398 `(("kwindowsystem" ,kwindowsystem)
400 ("libqtxdg" ,libqtxdg)
403 ("qtx11extras" ,qtx11extras)))
405 `(("pkg-config" ,pkg-config)
407 ("lxqt-build-tools" ,lxqt-build-tools)))
409 '(#:tests? #f ; no tests
411 ;; TODO: prefetch translations files from 'lxqt-l10n'.
412 '("-DPULL_TRANSLATIONS=NO")
414 (modify-phases %standard-phases
415 (add-after 'unpack 'patch-source
417 (substitute* '("autostart/CMakeLists.txt"
418 "xdg/CMakeLists.txt")
419 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
420 "DESTINATION \"etc/xdg"))
422 (home-page "https://lxqt.org/")
423 (synopsis "Daemon used to register global keyboard shortcuts")
424 (description "lxqt-globalkeys is providing tools to set global keyboard
425 shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
426 as a whole and are not limited to distinct applications.")
427 (license license:lgpl2.1+)))
429 (define-public lxqt-notificationd
431 (name "lxqt-notificationd")
436 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
437 version "/" name "-" version ".tar.xz"))
439 (base32 "1l0hdbvghyhqgvy4pih7rvz26bc6yc8a3l1bdj11hnkw62h1i7d6"))))
440 (build-system cmake-build-system)
442 `(("kwindowsystem" ,kwindowsystem)
444 ("libqtxdg" ,libqtxdg)
447 ("qtx11extras" ,qtx11extras)))
449 `(("lxqt-build-tools" ,lxqt-build-tools)
450 ("qttools" ,qttools)))
452 '(#:tests? #f ; no test target
454 ;; TODO: prefetch translations files from 'lxqt-l10n'.
455 '("-DPULL_TRANSLATIONS=NO")
457 (modify-phases %standard-phases
458 (add-after 'unpack 'patch-source
460 (substitute* '("autostart/CMakeLists.txt")
461 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
462 "DESTINATION \"etc/xdg"))
464 (home-page "https://lxqt.org/")
465 (synopsis "The LXQt notification daemon")
466 (description "lxqt-notificationd is LXQt's implementation of a daemon
467 according to the Desktop Notifications Specification.")
468 (license license:lgpl2.1+)))
470 (define-public lxqt-openssh-askpass
472 (name "lxqt-openssh-askpass")
477 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
478 version "/" name "-" version ".tar.xz"))
480 (base32 "0l2272gya8jgv71bvg2hz37lnhiznv4ng3j0p6j79f99hwb5ygpk"))))
481 (build-system cmake-build-system)
483 `(("kwindowsystem" ,kwindowsystem)
485 ("libqtxdg" ,libqtxdg)
488 ("qtx11extras" ,qtx11extras)))
490 `(("lxqt-build-tools" ,lxqt-build-tools)
491 ("qttools" ,qttools)))
493 '(#:tests? #f ; no tests
495 ;; TODO: prefetch translations files from 'lxqt-l10n'.
496 '("-DPULL_TRANSLATIONS=NO")))
497 (home-page "https://lxqt.org/")
498 (synopsis "GUI to query passwords on behalf of SSH agents")
499 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
501 (license license:lgpl2.1+)))
503 (define-public lxqt-panel
510 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
511 version "/" name "-" version ".tar.xz"))
513 (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1"))))
514 (build-system cmake-build-system)
516 `(("alsa-lib" ,alsa-lib)
517 ("kguiaddons" ,kguiaddons)
518 ("kwindowsystem" ,kwindowsystem)
519 ("libdbusmenu-qt" ,libdbusmenu-qt)
521 ("libqtxdg" ,libqtxdg)
522 ("libstatgrab" ,libstatgrab)
523 ("libsysstat" ,libsysstat)
524 ("libxcomposite" ,libxcomposite)
525 ("libxdamage" ,libxdamage)
526 ("libxkbcommon" ,libxkbcommon)
527 ("libxrender" ,libxrender)
528 ("lm-sensors" ,lm-sensors "lib")
529 ("lxqt-globalkeys" ,lxqt-globalkeys)
531 ("pulseaudio" ,pulseaudio)
534 ("qtx11extras" ,qtx11extras)
536 ("xcb-util" ,xcb-util)))
538 `(("pkg-config" ,pkg-config)
539 ("lxqt-build-tools" ,lxqt-build-tools)
540 ("qttools" ,qttools)))
542 '(#:tests? #f ; no tests
544 ;; TODO: prefetch translations files from 'lxqt-l10n'.
545 '("-DPULL_TRANSLATIONS=NO")
547 (modify-phases %standard-phases
548 (add-after 'unpack 'patch-source
550 (substitute* '("autostart/CMakeLists.txt"
551 "menu/CMakeLists.txt")
552 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
553 "DESTINATION \"etc/xdg"))
555 (home-page "https://lxqt.org/")
556 (synopsis "The LXQt desktop panel")
557 (description "lxqt-panel represents the taskbar of LXQt.")
558 (license license:lgpl2.1+)))
560 (define-public lxqt-policykit
562 (name "lxqt-policykit")
567 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
568 version "/" name "-" version ".tar.xz"))
570 (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp"))))
571 (build-system cmake-build-system)
573 `(("kwindowsystem" ,kwindowsystem)
575 ("libqtxdg" ,libqtxdg)
577 ("polkit-qt" ,polkit-qt)
580 ("qtx11extras" ,qtx11extras)))
582 `(("pkg-config" ,pkg-config)
584 ("lxqt-build-tools" ,lxqt-build-tools)
585 ("qttools" ,qttools)))
587 '(#:tests? #f ; no test target
589 '("-DPULL_TRANSLATIONS=NO")
591 (modify-phases %standard-phases
592 (add-after 'unpack 'patch-source
594 (substitute* '("autostart/CMakeLists.txt")
595 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
596 "DESTINATION \"etc/xdg"))
598 (home-page "https://lxqt.org/")
599 (synopsis "The LXQt PolicyKit agent")
600 (description "lxqt-policykit is the polkit authentification agent of
602 (license license:lgpl2.1+)))
604 (define-public lxqt-powermanagement
606 (name "lxqt-powermanagement")
611 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
612 version "/" name "-" version ".tar.xz"))
614 (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613"))))
615 (build-system cmake-build-system)
617 `(("kidletime" ,kidletime)
618 ("kwindowsystem" ,kwindowsystem)
620 ("libqtxdg" ,libqtxdg)
623 ("qtx11extras" ,qtx11extras)
626 `(("lxqt-build-tools" ,lxqt-build-tools)
627 ("qttools" ,qttools)))
629 '(#:tests? #f ; no tests
631 ;; TODO: prefetch translations files from 'lxqt-l10n'.
632 '("-DPULL_TRANSLATIONS=NO")
634 (modify-phases %standard-phases
635 (add-after 'unpack 'patch-source
637 (substitute* '("autostart/CMakeLists.txt")
638 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
639 "DESTINATION \"etc/xdg"))
641 (home-page "https://lxqt.org/")
642 (synopsis "Power management module for LXQt")
643 (description "lxqt-powermanagement is providing tools to monitor power
644 management events and optionally trigger actions like e. g. shut down a system
645 when laptop batteries are low on power.")
646 (license license:lgpl2.1+)))
648 (define-public lxqt-qtplugin
650 (name "lxqt-qtplugin")
655 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
656 version "/" name "-" version ".tar.xz"))
658 (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56"))))
659 (build-system cmake-build-system)
661 `(("libdbusmenu-qt" ,libdbusmenu-qt)
662 ("libfm-qt" ,libfm-qt)
663 ("libqtxdg" ,libqtxdg)
666 ("qtx11extras" ,qtx11extras)))
668 `(("lxqt-build-tools" ,lxqt-build-tools)
669 ("qttools" ,qttools)))
671 '(#:tests? #f ; no tests
673 (modify-phases %standard-phases
674 (add-after 'unpack 'patch-source
676 (substitute* '("src/CMakeLists.txt")
677 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
678 "DESTINATION \"lib/qt5/plugins"))
680 (home-page "https://lxqt.org/")
681 (synopsis "LXQt Qt platform integration plugin")
682 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
684 (license license:lgpl2.1+)))
686 (define-public lxqt-runner
693 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
694 version "/" name "-" version ".tar.xz"))
696 (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali"))))
697 (build-system cmake-build-system)
699 `(("kwindowsystem" ,kwindowsystem)
701 ("libqtxdg" ,libqtxdg)
702 ("lxqt-globalkeys" ,lxqt-globalkeys)
703 ("muparser" ,muparser)
707 ("qtx11extras" ,qtx11extras)))
709 `(("pkg-config" ,pkg-config)
711 ("lxqt-build-tools" ,lxqt-build-tools)))
713 '(#:tests? #f ; no tests
715 ;; TODO: prefetch translations files from 'lxqt-l10n'.
716 '("-DPULL_TRANSLATIONS=NO")
718 (modify-phases %standard-phases
719 (add-after 'unpack 'patch-source
721 (substitute* '("autostart/CMakeLists.txt")
722 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
723 "DESTINATION \"etc/xdg"))
725 (home-page "https://lxqt.org/")
726 (synopsis "Tool used to launch programs quickly by typing their names")
727 (description "lxqt-runner provides a GUI that comes up on the desktop and
728 allows for launching applications or shutting down the system.")
729 (license license:lgpl2.1+)))
731 (define-public lxqt-session
733 (name "lxqt-session")
738 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
739 version "/" name "-" version ".tar.xz"))
741 (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
742 (build-system cmake-build-system)
745 ("kwindowsystem" ,kwindowsystem)
747 ("libqtxdg" ,libqtxdg)
750 ("qtx11extras" ,qtx11extras)
751 ("xdg-user-dirs" ,xdg-user-dirs)))
753 `(("pkg-config" ,pkg-config)
754 ("lxqt-build-tools" ,lxqt-build-tools)
755 ("qttools" ,qttools)))
759 `("-DPULL_TRANSLATIONS=NO")
761 (modify-phases %standard-phases
762 (add-after 'unpack 'patch-source
764 (substitute* '("autostart/CMakeLists.txt"
765 "config/CMakeLists.txt")
766 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
767 "DESTINATION \"etc/xdg"))
769 (home-page "https://lxqt.org/")
770 (synopsis "Session manager for LXQt")
771 (description "lxqt-session provides the standard session manager
772 for the LXQt desktop environment.")
773 (license license:lgpl2.1+)))
775 (define-public lxqt-sudo
782 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
783 version "/" name "-" version ".tar.xz"))
785 (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf"))))
786 (build-system cmake-build-system)
788 `(("kwindowsystem" ,kwindowsystem)
790 ("libqtxdg" ,libqtxdg)
793 ("qtx11extras" ,qtx11extras)
796 `(("pkg-config" ,pkg-config)
798 ("lxqt-build-tools" ,lxqt-build-tools)))
800 '(#:tests? #f ; no tests
802 ;; TODO: prefetch translations files from 'lxqt-l10n'.
803 '("-DPULL_TRANSLATIONS=NO")))
804 (home-page "https://lxqt.org/")
805 (synopsis "GUI frontend for sudo/su")
806 (description "lxqt-sudo is a graphical front-end of commands sudo and su
807 respectively. As such it enables regular users to launch applications with
808 permissions of other users including root.")
809 (license license:lgpl2.1+)))
811 (define-public lxqt-themes
818 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
819 version "/" name "-" version ".tar.xz"))
821 (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf"))))
822 (build-system cmake-build-system)
824 `(("lxqt-build-tools" ,lxqt-build-tools)))
826 `(#:tests? #f ; no tests
828 (modify-phases %standard-phases
829 (add-after 'unpack 'patch-source
831 (substitute* '("CMakeLists.txt")
832 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
833 "DESTINATION \"share/lxqt/graphics"))
834 (substitute* '("themes/CMakeLists.txt")
835 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
836 "DESTINATION \"share/lxqt"))
838 (home-page "https://lxqt.org/")
839 (synopsis "Themes, graphics and icons for LXQt")
840 (description "This package comprises a number of graphic files and themes
842 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
843 ;; licensed under CC-BY-SA 3.0.
844 (license license:lgpl2.1+)))
849 (define-public libfm-qt
856 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
857 version "/" name "-" version ".tar.xz"))
859 (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9"))))
860 (build-system cmake-build-system)
862 '(#:tests? #f ; no tests
864 ;; TODO : prefetch translations files from 'lxqt-l10n'.
865 '("-DPULL_TRANSLATIONS=NO")))
871 ("menu-cache" ,menu-cache)
874 ("qtx11extras" ,qtx11extras)))
876 `(("pkg-config" ,pkg-config)
877 ("lxqt-build-tools" ,lxqt-build-tools)
878 ("qttools" ,qttools)))
879 (home-page "https://lxqt.org/")
880 (synopsis "Qt binding for libfm")
881 (description "libfm-qt is the Qt port of libfm, a library providing
882 components to build desktop file managers which belongs to LXDE.")
883 (license license:lgpl2.1+)))
885 (define-public pcmanfm-qt
892 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
893 version "/" name "-" version ".tar.xz"))
895 (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz"))))
896 (build-system cmake-build-system)
898 `(("libfm-qt" ,libfm-qt)
900 ("qtx11extras" ,qtx11extras)))
902 `(("pkg-config" ,pkg-config)
904 ("lxqt-build-tools" ,lxqt-build-tools)))
906 '(#:tests? #f ; no tests
908 ;; TODO: prefetch translations files from 'lxqt-l10n'.
909 '("-DPULL_TRANSLATIONS=NO")
911 (modify-phases %standard-phases
912 (add-after 'unpack 'patch-source
914 (substitute* '("autostart/CMakeLists.txt")
915 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
916 "DESTINATION \"etc/xdg"))
918 (home-page "https://lxqt.org/")
919 (synopsis "File manager and desktop icon manager")
920 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
922 (license license:gpl2+)))
927 (define-public compton-conf
929 (name "compton-conf")
934 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
935 version "/" name "-" version ".tar.xz"))
937 (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci"))))
938 (build-system cmake-build-system)
940 `(("libconfig" ,libconfig)
943 `(("lxqt-build-tools" ,lxqt-build-tools)
944 ("pkg-config" ,pkg-config)
945 ("qttools" ,qttools)))
947 '(#:tests? #f ; no tests
949 ;; TODO: prefetch translations files from 'lxqt-l10n'.
950 '("-DPULL_TRANSLATIONS=NO")
952 (modify-phases %standard-phases
953 (add-after 'unpack 'patch-source
955 (substitute* '("autostart/CMakeLists.txt")
956 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
957 "DESTINATION \"etc/xdg"))
959 (home-page "https://lxqt.org/")
960 (synopsis "GUI configuration tool for compton X composite manager")
961 (description "@code{compton-conf} is a configuration tool for X composite
963 (license license:lgpl2.1+)))
965 (define-public lximage-qt
972 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
973 version "/" name "-" version ".tar.xz"))
975 (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w"))))
976 (build-system cmake-build-system)
978 `(("libexif" ,libexif)
979 ("libfm-qt" ,libfm-qt)
982 ("qtx11extras" ,qtx11extras)))
984 `(("pkg-config" ,pkg-config)
985 ("lxqt-build-tools" ,lxqt-build-tools)
986 ("qttools" ,qttools)))
988 '(#:tests? #f ; no tests
990 ;; TODO: prefetch translations files from 'lxqt-l10n'.
991 '("-DPULL_TRANSLATIONS=NO")))
992 (home-page "https://lxqt.org/")
993 (synopsis "The image viewer and screenshot tool for lxqt")
994 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
996 (license license:gpl2+)))
998 (define-public obconf-qt
1005 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1006 version "/" name "-" version ".tar.xz"))
1008 (base32 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf"))))
1009 (build-system cmake-build-system)
1011 `(("imlib2" ,imlib2)
1013 ("librsvg" ,librsvg)
1015 ("libxml2" ,libxml2)
1016 ("openbox" ,openbox)
1020 ("qtx11extras" ,qtx11extras)))
1022 `(("lxqt-build-tools" ,lxqt-build-tools)
1023 ("pkg-config" ,pkg-config)
1024 ("qttools" ,qttools)))
1026 '(#:tests? #f ; no tests
1028 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1029 '("-DPULL_TRANSLATIONS=NO")))
1030 (home-page "https://lxqt.org/")
1031 (synopsis "Openbox configuration tool")
1032 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
1033 window manager OpenBox.")
1034 (license license:gpl2+)))
1036 (define-public pavucontrol-qt
1038 (name "pavucontrol-qt")
1043 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1044 version "/" name "-" version ".tar.xz"))
1046 (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6"))))
1047 (build-system cmake-build-system)
1051 ("pulseaudio" ,pulseaudio)
1053 ("qtx11extras" ,qtx11extras)))
1055 `(("pkg-config" ,pkg-config)
1056 ("lxqt-build-tools" ,lxqt-build-tools)
1057 ("qttools" ,qttools)))
1059 '(#:tests? #f ; no tests
1061 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1062 '("-DPULL_TRANSLATIONS=NO")))
1063 (home-page "https://lxqt.org/")
1064 (synopsis "Pulseaudio mixer in Qt")
1065 (description "@code{pavucontrol-qt} is the Qt port of volume control
1066 @code{pavucontrol} of sound server @code{PulseAudio}.")
1067 (license license:gpl2+)))
1076 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1077 version "/" name "-" version ".tar.xz"))
1079 (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44"))))
1080 (build-system cmake-build-system)
1082 `(("libxrender" ,libxrender)
1084 ("qtx11extras" ,qtx11extras)))
1086 `(("qttools" ,qttools)))
1088 '(#:tests? #f)) ; no tests
1089 (home-page "https://lxqt.org/")
1090 (synopsis "Qt-based visual process status monitor")
1091 (description "@code{qps} is a monitor that displays the status of the
1092 processes currently in existence, much like code{top} or code{ps}.")
1093 (license license:gpl2+)))
1095 (define-public qtermwidget
1097 (name "qtermwidget")
1102 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1103 version "/" name "-" version ".tar.xz"))
1105 (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773"))))
1106 (build-system cmake-build-system)
1108 `(("qtbase" ,qtbase)))
1110 `(("lxqt-build-tools" ,lxqt-build-tools)
1111 ("qttools" ,qttools)))
1113 '(#:tests? #f ; no tests
1115 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1116 '("-DPULL_TRANSLATIONS=NO")))
1117 (home-page "https://lxqt.org/")
1118 (synopsis "The terminal widget for QTerminal")
1119 (description "QTermWidget is a terminal emulator widget for Qt 5.")
1120 (license license:gpl2+)))
1122 (define-public qterminal
1129 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1130 version "/" name "-" version ".tar.xz"))
1132 (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1"))))
1133 (build-system cmake-build-system)
1135 `(("qtbase" ,qtbase)
1136 ("qtx11extras" ,qtx11extras)
1137 ("qtermwidget" ,qtermwidget)))
1139 `(("lxqt-build-tools" ,lxqt-build-tools)
1140 ("qttools" ,qttools)))
1142 '(#:tests? #f ; no tests
1144 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1145 '("-DPULL_TRANSLATIONS=NO")))
1146 (home-page "https://lxqt.org/")
1147 (synopsis "Lightweight Qt-based terminal emulator")
1148 (description "QTerminal is a lightweight Qt terminal emulator based on
1150 (license license:gpl2+)))
1152 (define-public screengrab
1159 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1160 version "/screengrab-" version ".tar.xz"))
1162 (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3"))))
1163 (build-system cmake-build-system)
1165 `(("kwindowsystem" ,kwindowsystem)
1166 ("libqtxdg" ,libqtxdg)
1169 ("qtx11extras" ,qtx11extras)))
1171 `(("pkg-config" ,pkg-config)
1172 ("qttools" ,qttools)))
1174 '(#:tests? #f)) ; no tests
1175 (home-page "https://lxqt.org/")
1176 (synopsis "Crossplatform tool for fast making screenshots")
1177 (description "ScreenGrab is a program for fast creating screenshots, and
1178 easily publishing them on internet image hosting services.")
1179 (license license:gpl2+)))
1182 ;; The LXQt Desktop Environment
1187 (version (package-version lxqt-session))
1189 (build-system trivial-build-system)
1190 (arguments '(#:builder (begin (mkdir %output) #t)))
1193 ("desktop-file-utils" ,desktop-file-utils)
1194 ("hicolor-icon-theme" ,hicolor-icon-theme)
1195 ("xdg-user-dirs" ,xdg-user-dirs)
1196 ("xdg-utils" ,xdg-utils)
1198 ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
1199 ;; should be added to their propagated-inputs?
1202 ("lxqt-about" ,lxqt-about)
1203 ("lxqt-admin" ,lxqt-admin)
1204 ("lxqt-config" ,lxqt-config)
1205 ("lxqt-notificationd" ,lxqt-notificationd)
1206 ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
1207 ("lxqt-panel" ,lxqt-panel)
1208 ("lxqt-policykit" ,lxqt-policykit)
1209 ("lxqt-powermanagement" ,lxqt-powermanagement)
1210 ("lxqt-qtplugin" ,lxqt-qtplugin)
1211 ("lxqt-runner" ,lxqt-runner)
1212 ("lxqt-session" ,lxqt-session)
1213 ("lxqt-sudo" ,lxqt-sudo)
1214 ("lxqt-themes" ,lxqt-themes)
1215 ("pcmanfm-qt" ,pcmanfm-qt)
1217 ("compton" ,compton)
1218 ("compton-conf" ,compton-conf)
1219 ("font-dejavu" ,font-dejavu)
1220 ("lximage-qt" ,lximage-qt)
1221 ("obconf-qt" ,obconf-qt)
1222 ("openbox" ,openbox)
1223 ("oxygen-icons" ,oxygen-icons)
1224 ("pavucontrol-qt" ,pavucontrol-qt)
1226 ("qterminal" ,qterminal)))
1227 (synopsis "The Lightweight Qt Desktop Environment")
1228 (description "LXQt is a lightweight Qt desktop environment.")
1229 (home-page "https://lxde.org")
1230 (license license:gpl2+)))