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 ng0 <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-before 'build 'setenv
293 (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
295 (add-after 'unpack 'patch-translations-dir
296 (lambda* (#:key outputs #:allow-other-keys)
297 (substitute* "CMakeLists.txt"
298 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
299 (string-append (assoc-ref outputs "out")
300 "/share/lxqt/translations")))
302 (home-page "https://lxqt.org")
303 (synopsis "Provides information about LXQt and the system")
304 (description "lxqt-about is a dialogue window providing information about
305 LXQt and the system it's running on.")
306 (license license:lgpl2.1+)))
308 (define-public lxqt-admin
315 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
316 version "/" name "-" version ".tar.xz"))
318 (base32 "0f0skkxqyhpidpd5phliax869v4n2whvglg8rahzia2zhw4ylzry"))))
319 (build-system cmake-build-system)
321 `(("kwindowsystem" ,kwindowsystem)
323 ("libqtxdg" ,libqtxdg)
324 ("polkit-qt" ,polkit-qt)
326 ("qtx11extras" ,qtx11extras)))
328 `(("lxqt-build-tools" ,lxqt-build-tools)
329 ("qttools" ,qttools)))
331 '(#:tests? #f ; no tests
333 (modify-phases %standard-phases
334 (add-after 'unpack 'patch-source
336 (substitute* "lxqt-admin-user/CMakeLists.txt"
337 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
338 "DESTINATION \"share/polkit-1/actions"))
340 (add-after 'unpack 'patch-translations-dir
341 (lambda* (#:key outputs #:allow-other-keys)
342 (substitute* '("lxqt-admin-time/CMakeLists.txt"
343 "lxqt-admin-user/CMakeLists.txt")
344 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
345 (string-append (assoc-ref outputs "out")
346 "/share/lxqt/translations")))
348 (home-page "https://lxqt.org")
349 (synopsis "LXQt system administration tool")
350 (description "lxqt-admin is providing two GUI tools to adjust settings of
351 the operating system LXQt is running on.")
352 (license license:lgpl2.1+)))
354 (define-public lxqt-config
361 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
362 version "/" name "-" version ".tar.xz"))
364 (base32 "16k36knv6d72gg8hp7423l3ic43y3l3zbaf3spqn2a354y30myrg"))))
365 (build-system cmake-build-system)
368 ("kwindowsystem" ,kwindowsystem)
369 ("libkscreen" ,libkscreen)
371 ("libqtxdg" ,libqtxdg)
372 ("libxcursor" ,libxcursor)
376 ("qtx11extras" ,qtx11extras)
378 ("xf86-input-libinput" ,xf86-input-libinput)
381 `(("pkg-config" ,pkg-config)
382 ("lxqt-build-tools" ,lxqt-build-tools)
383 ("qttools" ,qttools)))
385 '(#:tests? #f ; no tests
387 (modify-phases %standard-phases
388 (add-after 'unpack 'patch-source
390 (substitute* '("src/CMakeLists.txt")
391 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
392 "DESTINATION \"etc/xdg"))
394 (add-after 'unpack 'patch-translations-dir
395 (lambda* (#:key outputs #:allow-other-keys)
396 (substitute* '("lxqt-config-file-associations/CMakeLists.txt"
397 "lxqt-config-brightness/CMakeLists.txt"
398 "lxqt-config-appearance/CMakeLists.txt"
399 "lxqt-config-locale/CMakeLists.txt"
400 "lxqt-config-monitor/CMakeLists.txt"
401 "lxqt-config-input/CMakeLists.txt"
402 "liblxqt-config-cursor/CMakeLists.txt"
403 "src/CMakeLists.txt")
404 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
405 (string-append (assoc-ref outputs "out")
406 "/share/lxqt/translations")))
408 (home-page "https://lxqt.org")
409 (synopsis "Tools to configure LXQt and the underlying operating system")
410 (description "lxqt-config is providing several tools involved in the
411 configuration of both LXQt and the underlying operating system.")
412 (license license:lgpl2.1+)))
414 (define-public lxqt-globalkeys
416 (name "lxqt-globalkeys")
421 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
422 version "/" name "-" version ".tar.xz"))
424 (base32 "0m6svwy20bfy9d21g5l0qzjndph3rd8zqagmqgdjzjhh3lxwrsrk"))))
425 (build-system cmake-build-system)
427 `(("kwindowsystem" ,kwindowsystem)
429 ("libqtxdg" ,libqtxdg)
432 ("qtx11extras" ,qtx11extras)))
434 `(("pkg-config" ,pkg-config)
436 ("lxqt-build-tools" ,lxqt-build-tools)))
438 '(#:tests? #f ; no tests
440 (modify-phases %standard-phases
441 (add-after 'unpack 'patch-source
443 (substitute* '("autostart/CMakeLists.txt"
444 "xdg/CMakeLists.txt")
445 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
446 "DESTINATION \"etc/xdg"))
448 (add-after 'unpack 'patch-translations-dir
449 (lambda* (#:key outputs #:allow-other-keys)
450 (substitute* "config/CMakeLists.txt"
451 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
452 (string-append (assoc-ref outputs "out")
453 "/share/lxqt/translations")))
455 (home-page "https://lxqt.org/")
456 (synopsis "Daemon used to register global keyboard shortcuts")
457 (description "lxqt-globalkeys is providing tools to set global keyboard
458 shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
459 as a whole and are not limited to distinct applications.")
460 (license license:lgpl2.1+)))
462 (define-public lxqt-notificationd
464 (name "lxqt-notificationd")
469 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
470 version "/" name "-" version ".tar.xz"))
472 (base32 "1kiag3fcx12qmslln6x6lwvm4f1spymwf71389kdya3vwx7hkmcy"))))
473 (build-system cmake-build-system)
475 `(("kwindowsystem" ,kwindowsystem)
477 ("libqtxdg" ,libqtxdg)
480 ("qtx11extras" ,qtx11extras)))
482 `(("lxqt-build-tools" ,lxqt-build-tools)
483 ("qttools" ,qttools)))
485 '(#:tests? #f ; no test target
487 (modify-phases %standard-phases
488 (add-after 'unpack 'patch-source
490 (substitute* '("autostart/CMakeLists.txt")
491 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
492 "DESTINATION \"etc/xdg"))
494 (add-after 'unpack 'patch-translations-dir
495 (lambda* (#:key outputs #:allow-other-keys)
496 (substitute* '("config/CMakeLists.txt"
497 "src/CMakeLists.txt")
498 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
499 (string-append (assoc-ref outputs "out")
500 "/share/lxqt/translations")))
502 (home-page "https://lxqt.org/")
503 (synopsis "The LXQt notification daemon")
504 (description "lxqt-notificationd is LXQt's implementation of a daemon
505 according to the Desktop Notifications Specification.")
506 (license license:lgpl2.1+)))
508 (define-public lxqt-openssh-askpass
510 (name "lxqt-openssh-askpass")
515 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
516 version "/" name "-" version ".tar.xz"))
518 (base32 "1fvbgjidpifn420avh8n1gym49vcz6zgayz7xygg1x93s4awy1cs"))))
519 (build-system cmake-build-system)
521 `(("kwindowsystem" ,kwindowsystem)
523 ("libqtxdg" ,libqtxdg)
526 ("qtx11extras" ,qtx11extras)))
528 `(("lxqt-build-tools" ,lxqt-build-tools)
529 ("qttools" ,qttools)))
531 '(#:tests? #f ; no tests
533 (modify-phases %standard-phases
534 (add-after 'unpack 'patch-translations-dir
535 (lambda* (#:key outputs #:allow-other-keys)
536 (substitute* "CMakeLists.txt"
537 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
538 (string-append (assoc-ref outputs "out")
539 "/share/lxqt/translations")))
541 (home-page "https://lxqt.org/")
542 (synopsis "GUI to query passwords on behalf of SSH agents")
543 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
545 (license license:lgpl2.1+)))
547 (define-public lxqt-panel
554 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
555 version "/" name "-" version ".tar.xz"))
557 (base32 "1r3wx0v3jm7j41h7gxr49izc9xa1afvrzq4wcdm0qbj98qa1rgpq"))))
558 (build-system cmake-build-system)
560 `(("alsa-lib" ,alsa-lib)
561 ("kguiaddons" ,kguiaddons)
562 ("kwindowsystem" ,kwindowsystem)
563 ("libdbusmenu-qt" ,libdbusmenu-qt)
565 ("libqtxdg" ,libqtxdg)
566 ("libstatgrab" ,libstatgrab)
567 ("libsysstat" ,libsysstat)
568 ("libxcomposite" ,libxcomposite)
569 ("libxdamage" ,libxdamage)
570 ("libxkbcommon" ,libxkbcommon)
571 ("libxrender" ,libxrender)
572 ("lm-sensors" ,lm-sensors "lib")
573 ("lxqt-globalkeys" ,lxqt-globalkeys)
575 ("pulseaudio" ,pulseaudio)
578 ("qtx11extras" ,qtx11extras)
580 ("xcb-util" ,xcb-util)))
582 `(("pkg-config" ,pkg-config)
583 ("lxqt-build-tools" ,lxqt-build-tools)
584 ("qttools" ,qttools)))
586 '(#:tests? #f ; no tests
588 (modify-phases %standard-phases
589 (add-after 'unpack 'patch-source
591 (substitute* '("autostart/CMakeLists.txt"
592 "menu/CMakeLists.txt")
593 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
594 "DESTINATION \"etc/xdg"))
596 (add-after 'unpack 'patch-translations-dir
597 (lambda* (#:key outputs #:allow-other-keys)
598 (substitute* '("cmake/BuildPlugin.cmake"
599 "panel/CMakeLists.txt")
600 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
601 (string-append (assoc-ref outputs "out")
602 "/share/lxqt/translations")))
604 (home-page "https://lxqt.org/")
605 (synopsis "The LXQt desktop panel")
606 (description "lxqt-panel represents the taskbar of LXQt.")
607 (license license:lgpl2.1+)))
609 (define-public lxqt-policykit
611 (name "lxqt-policykit")
616 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
617 version "/" name "-" version ".tar.xz"))
619 (base32 "127rqb0nprybkc41lk0yq0r0dk5pbbw22gvrm4pwag71qh8wpk5i"))))
620 (build-system cmake-build-system)
622 `(("kwindowsystem" ,kwindowsystem)
624 ("libqtxdg" ,libqtxdg)
626 ("polkit-qt" ,polkit-qt)
629 ("qtx11extras" ,qtx11extras)))
631 `(("pkg-config" ,pkg-config)
633 ("lxqt-build-tools" ,lxqt-build-tools)
634 ("qttools" ,qttools)))
636 '(#:tests? #f ; no test target
638 (modify-phases %standard-phases
639 (add-after 'unpack 'patch-source
641 (substitute* '("autostart/CMakeLists.txt")
642 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
643 "DESTINATION \"etc/xdg"))
645 (add-after 'unpack 'patch-translations-dir
646 (lambda* (#:key outputs #:allow-other-keys)
647 (substitute* "CMakeLists.txt"
648 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
649 (string-append (assoc-ref outputs "out")
650 "/share/lxqt/translations")))
652 (home-page "https://lxqt.org/")
653 (synopsis "The LXQt PolicyKit agent")
654 (description "lxqt-policykit is the polkit authentification agent of
656 (license license:lgpl2.1+)))
658 (define-public lxqt-powermanagement
660 (name "lxqt-powermanagement")
665 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
666 version "/" name "-" version ".tar.xz"))
668 (base32 "06bvgbkbl9p9n8ba5cfsynqgmpb5c8yfnsvp7zqhflj8k9p9msip"))))
669 (build-system cmake-build-system)
671 `(("kidletime" ,kidletime)
672 ("kwindowsystem" ,kwindowsystem)
674 ("libqtxdg" ,libqtxdg)
677 ("qtx11extras" ,qtx11extras)
680 `(("lxqt-build-tools" ,lxqt-build-tools)
681 ("qttools" ,qttools)))
683 '(#:tests? #f ; no tests
685 (modify-phases %standard-phases
686 (add-after 'unpack 'patch-source
688 (substitute* '("autostart/CMakeLists.txt")
689 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
690 "DESTINATION \"etc/xdg"))
692 (add-after 'unpack 'patch-translations-dir
693 (lambda* (#:key outputs #:allow-other-keys)
694 (substitute* '("config/CMakeLists.txt"
695 "src/CMakeLists.txt")
696 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
697 (string-append (assoc-ref outputs "out")
698 "/share/lxqt/translations")))
700 (home-page "https://lxqt.org/")
701 (synopsis "Power management module for LXQt")
702 (description "lxqt-powermanagement is providing tools to monitor power
703 management events and optionally trigger actions like e. g. shut down a system
704 when laptop batteries are low on power.")
705 (license license:lgpl2.1+)))
707 (define-public lxqt-qtplugin
709 (name "lxqt-qtplugin")
714 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
715 version "/" name "-" version ".tar.xz"))
717 (base32 "18y7xfxwyismcycg70q6r8zrcygz1pdcvg6lqc6ba7azqb9806ds"))))
718 (build-system cmake-build-system)
720 `(("libdbusmenu-qt" ,libdbusmenu-qt)
721 ("libfm-qt" ,libfm-qt)
722 ("libqtxdg" ,libqtxdg)
725 ("qtx11extras" ,qtx11extras)))
727 `(("lxqt-build-tools" ,lxqt-build-tools)
728 ("qttools" ,qttools)))
730 '(#:tests? #f ; no tests
732 (modify-phases %standard-phases
733 (add-after 'unpack 'patch-source
735 (substitute* '("src/CMakeLists.txt")
736 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
737 "DESTINATION \"lib/qt5/plugins"))
739 (home-page "https://lxqt.org/")
740 (synopsis "LXQt Qt platform integration plugin")
741 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
743 (license license:lgpl2.1+)))
745 (define-public lxqt-runner
752 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
753 version "/" name "-" version ".tar.xz"))
755 (base32 "1c687shypivkhjrpzs1jcy5l2i8d7xzm31c4is1xx6x9nbkgm4bm"))))
756 (build-system cmake-build-system)
758 `(("kwindowsystem" ,kwindowsystem)
760 ("libqtxdg" ,libqtxdg)
761 ("lxqt-globalkeys" ,lxqt-globalkeys)
762 ("muparser" ,muparser)
766 ("qtx11extras" ,qtx11extras)))
768 `(("pkg-config" ,pkg-config)
770 ("lxqt-build-tools" ,lxqt-build-tools)))
772 '(#:tests? #f ; no tests
774 (modify-phases %standard-phases
775 (add-after 'unpack 'patch-source
777 (substitute* '("autostart/CMakeLists.txt")
778 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
779 "DESTINATION \"etc/xdg"))
781 (add-after 'unpack 'patch-translations-dir
782 (lambda* (#:key outputs #:allow-other-keys)
783 (substitute* "CMakeLists.txt"
784 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
785 (string-append (assoc-ref outputs "out")
786 "/share/lxqt/translations")))
788 (home-page "https://lxqt.org/")
789 (synopsis "Tool used to launch programs quickly by typing their names")
790 (description "lxqt-runner provides a GUI that comes up on the desktop and
791 allows for launching applications or shutting down the system.")
792 (license license:lgpl2.1+)))
794 (define-public lxqt-session
796 (name "lxqt-session")
801 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
802 version "/" name "-" version ".tar.xz"))
804 (base32 "11i2vimv3336dvvxb6y5csdybwjncr7cq3kwlj52vkpisnxslvgy"))))
805 (build-system cmake-build-system)
808 ("kwindowsystem" ,kwindowsystem)
810 ("libqtxdg" ,libqtxdg)
813 ("qtx11extras" ,qtx11extras)
814 ("xdg-user-dirs" ,xdg-user-dirs)))
816 `(("pkg-config" ,pkg-config)
817 ("lxqt-build-tools" ,lxqt-build-tools)
818 ("qttools" ,qttools)))
822 (modify-phases %standard-phases
823 (add-after 'unpack 'patch-source
825 (substitute* '("autostart/CMakeLists.txt"
826 "config/CMakeLists.txt")
827 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
828 "DESTINATION \"etc/xdg"))
830 (add-after 'unpack 'patch-translations-dir
831 (lambda* (#:key outputs #:allow-other-keys)
832 (substitute* '("lxqt-config-session/CMakeLists.txt"
833 "lxqt-leave/CMakeLists.txt"
834 "lxqt-session/CMakeLists.txt")
835 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
836 (string-append (assoc-ref outputs "out")
837 "/share/lxqt/translations")))
839 (home-page "https://lxqt.org/")
840 (synopsis "Session manager for LXQt")
841 (description "lxqt-session provides the standard session manager
842 for the LXQt desktop environment.")
843 (license license:lgpl2.1+)))
845 (define-public lxqt-sudo
852 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
853 version "/" name "-" version ".tar.xz"))
855 (base32 "0mbygp2kkppwk7sxvpnwavdwrx88mh7ldcg6xm3zw1ndp29danay"))))
856 (build-system cmake-build-system)
858 `(("kwindowsystem" ,kwindowsystem)
860 ("libqtxdg" ,libqtxdg)
863 ("qtx11extras" ,qtx11extras)
866 `(("pkg-config" ,pkg-config)
868 ("lxqt-build-tools" ,lxqt-build-tools)))
870 '(#:tests? #f ; no tests
872 (modify-phases %standard-phases
873 (add-after 'unpack 'patch-translations-dir
874 (lambda* (#:key outputs #:allow-other-keys)
875 (substitute* "CMakeLists.txt"
876 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
877 (string-append (assoc-ref outputs "out")
878 "/share/lxqt/translations")))
880 (home-page "https://lxqt.org/")
881 (synopsis "GUI frontend for sudo/su")
882 (description "lxqt-sudo is a graphical front-end of commands sudo and su
883 respectively. As such it enables regular users to launch applications with
884 permissions of other users including root.")
885 (license license:lgpl2.1+)))
887 (define-public lxqt-themes
894 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
895 version "/" name "-" version ".tar.xz"))
897 (base32 "0p7svdpp0z44hvgrp2aip6hym0gdhbanyxsz6iz8sjnn28c995ia"))))
898 (build-system cmake-build-system)
900 `(("lxqt-build-tools" ,lxqt-build-tools)))
902 `(#:tests? #f ; no tests
904 (modify-phases %standard-phases
905 (add-after 'unpack 'patch-source
907 (substitute* '("CMakeLists.txt")
908 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
909 "DESTINATION \"share/lxqt/graphics"))
910 (substitute* '("themes/CMakeLists.txt")
911 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
912 "DESTINATION \"share/lxqt"))
914 (home-page "https://lxqt.org/")
915 (synopsis "Themes, graphics and icons for LXQt")
916 (description "This package comprises a number of graphic files and themes
918 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
919 ;; licensed under CC-BY-SA 3.0.
920 (license license:lgpl2.1+)))
925 (define-public libfm-qt
932 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
933 version "/" name "-" version ".tar.xz"))
935 (base32 "06p3wqpc574v9f94wkq9hqmbbvb9q8phfpq301z55c5r939f4hrp"))))
936 (build-system cmake-build-system)
938 '(#:tests? #f)) ; no tests
944 ("menu-cache" ,menu-cache)
947 ("qtx11extras" ,qtx11extras)))
949 `(("pkg-config" ,pkg-config)
950 ("lxqt-build-tools" ,lxqt-build-tools)
951 ("qttools" ,qttools)))
952 (home-page "https://lxqt.org/")
953 (synopsis "Qt binding for libfm")
954 (description "libfm-qt is the Qt port of libfm, a library providing
955 components to build desktop file managers which belongs to LXDE.")
956 (license license:lgpl2.1+)))
958 (define-public pcmanfm-qt
965 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
966 version "/" name "-" version ".tar.xz"))
968 (base32 "0x3c25inlxll965xszx37mnl5gp3smm2h7x04f67z0qlh3vsbrjq"))))
969 (build-system cmake-build-system)
971 `(("libfm-qt" ,libfm-qt)
973 ("qtx11extras" ,qtx11extras)))
975 `(("pkg-config" ,pkg-config)
977 ("lxqt-build-tools" ,lxqt-build-tools)))
979 '(#:tests? #f ; no tests
981 (modify-phases %standard-phases
982 (add-after 'unpack 'patch-source
984 (substitute* '("autostart/CMakeLists.txt")
985 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
986 "DESTINATION \"etc/xdg"))
988 (home-page "https://lxqt.org/")
989 (synopsis "File manager and desktop icon manager")
990 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
992 (license license:gpl2+)))
997 (define-public compton-conf
999 (name "compton-conf")
1004 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1005 version "/" name "-" version ".tar.xz"))
1007 (base32 "11n8k59jd0q2x66cispc9dpk139mp6j99hq1yjccxvh21vhc7mbc"))))
1008 (build-system cmake-build-system)
1010 `(("libconfig" ,libconfig)
1011 ("qtbase" ,qtbase)))
1013 `(("lxqt-build-tools" ,lxqt-build-tools)
1014 ("pkg-config" ,pkg-config)
1015 ("qttools" ,qttools)))
1017 '(#:tests? #f ; no tests
1019 (modify-phases %standard-phases
1020 (add-after 'unpack 'patch-source
1022 (substitute* '("autostart/CMakeLists.txt")
1023 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
1024 "DESTINATION \"etc/xdg"))
1026 (home-page "https://lxqt.org/")
1027 (synopsis "GUI configuration tool for compton X composite manager")
1028 (description "@code{compton-conf} is a configuration tool for X composite
1030 (license license:lgpl2.1+)))
1032 (define-public lximage-qt
1039 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1040 version "/" name "-" version ".tar.xz"))
1042 (base32 "0iiq55rm4z2jp19q1pbd2whifwvxg052q324vrwp4p7nz0wh04za"))))
1043 (build-system cmake-build-system)
1045 `(("libexif" ,libexif)
1046 ("libfm-qt" ,libfm-qt)
1049 ("qtx11extras" ,qtx11extras)))
1051 `(("pkg-config" ,pkg-config)
1052 ("lxqt-build-tools" ,lxqt-build-tools)
1053 ("qttools" ,qttools)))
1055 '(#:tests? #f)) ; no tests
1056 (home-page "https://lxqt.org/")
1057 (synopsis "The image viewer and screenshot tool for lxqt")
1058 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
1060 (license license:gpl2+)))
1062 (define-public obconf-qt
1069 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1070 version "/" name "-" version ".tar.xz"))
1072 (base32 "1kzb7364150b60qd3wcgnw78b9ia5k3b16kq8w3p1y7pg6pddy8m"))))
1073 (build-system cmake-build-system)
1075 `(("imlib2" ,imlib2)
1077 ("librsvg" ,librsvg)
1079 ("libxml2" ,libxml2)
1080 ("openbox" ,openbox)
1084 ("qtx11extras" ,qtx11extras)))
1086 `(("lxqt-build-tools" ,lxqt-build-tools)
1087 ("pkg-config" ,pkg-config)
1088 ("qttools" ,qttools)))
1090 '(#:tests? #f)) ; no tests
1091 (home-page "https://lxqt.org/")
1092 (synopsis "Openbox configuration tool")
1093 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
1094 window manager OpenBox.")
1095 (license license:gpl2+)))
1097 (define-public pavucontrol-qt
1099 (name "pavucontrol-qt")
1104 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1105 version "/" name "-" version ".tar.xz"))
1107 (base32 "18mw5r8grfrf95vxjbqrr790kl5l59qdqcmlxmwa6rwbfgywj1fq"))))
1108 (build-system cmake-build-system)
1112 ("pulseaudio" ,pulseaudio)
1114 ("qtx11extras" ,qtx11extras)))
1116 `(("pkg-config" ,pkg-config)
1117 ("lxqt-build-tools" ,lxqt-build-tools)
1118 ("qttools" ,qttools)))
1120 '(#:tests? #f)) ; no tests
1121 (home-page "https://lxqt.org/")
1122 (synopsis "Pulseaudio mixer in Qt")
1123 (description "@code{pavucontrol-qt} is the Qt port of volume control
1124 @code{pavucontrol} of sound server @code{PulseAudio}.")
1125 (license license:gpl2+)))
1134 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1135 version "/" name "-" version ".tar.xz"))
1137 (base32 "0dz7ricxg2rrmdyca6mc2d4lyy5bpksjk751hvn95wssr76y2w0m"))))
1138 (build-system cmake-build-system)
1140 `(("libxrender" ,libxrender)
1142 ("qtx11extras" ,qtx11extras)))
1144 `(("lxqt-build-tools" ,lxqt-build-tools)
1145 ("qttools" ,qttools)))
1147 '(#:tests? #f)) ; no tests
1148 (home-page "https://lxqt.org/")
1149 (synopsis "Qt-based visual process status monitor")
1150 (description "@code{qps} is a monitor that displays the status of the
1151 processes currently in existence, much like code{top} or code{ps}.")
1152 (license license:gpl2+)))
1154 (define-public qtermwidget
1156 (name "qtermwidget")
1161 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1162 version "/" name "-" version ".tar.xz"))
1164 (base32 "0v1vvi8vf9y8nv8y0gzffaqji53s75ab5jypksih0ndcws8ryww4"))))
1165 (build-system cmake-build-system)
1167 `(("qtbase" ,qtbase)))
1169 `(("lxqt-build-tools" ,lxqt-build-tools)
1170 ("qttools" ,qttools)))
1172 '(#:tests? #f)) ; no tests
1173 (home-page "https://lxqt.org/")
1174 (synopsis "The terminal widget for QTerminal")
1175 (description "QTermWidget is a terminal emulator widget for Qt 5.")
1176 (license license:gpl2+)))
1178 (define-public qterminal
1185 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1186 version "/" name "-" version ".tar.xz"))
1188 (base32 "0cgyaskyqginmm85d11inbi0mmxrsrnvgyx6g4l4l4iqpphfq670"))))
1189 (build-system cmake-build-system)
1191 `(("qtbase" ,qtbase)
1192 ("qtx11extras" ,qtx11extras)
1193 ("qtermwidget" ,qtermwidget)))
1195 `(("lxqt-build-tools" ,lxqt-build-tools)
1196 ("qttools" ,qttools)))
1198 '(#:tests? #f)) ; no tests
1199 (home-page "https://lxqt.org/")
1200 (synopsis "Lightweight Qt-based terminal emulator")
1201 (description "QTerminal is a lightweight Qt terminal emulator based on
1203 (license license:gpl2+)))
1205 (define-public screengrab
1212 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1213 version "/screengrab-" version ".tar.xz"))
1215 (base32 "05f81xjlmiykd7iwx5xns5vnynjq4js4x1bk8wd648frrksp44fa"))))
1216 (build-system cmake-build-system)
1218 `(("kwindowsystem" ,kwindowsystem)
1219 ("libqtxdg" ,libqtxdg)
1222 ("qtx11extras" ,qtx11extras)))
1224 `(("pkg-config" ,pkg-config)
1225 ("qttools" ,qttools)))
1227 '(#:tests? #f)) ; no tests
1228 (home-page "https://lxqt.org/")
1229 (synopsis "Crossplatform tool for fast making screenshots")
1230 (description "ScreenGrab is a program for fast creating screenshots, and
1231 easily publishing them on internet image hosting services.")
1232 (license license:gpl2+)))
1235 ;; The LXQt Desktop Environment
1240 (version (package-version lxqt-session))
1242 (build-system trivial-build-system)
1243 (arguments '(#:builder (begin (mkdir %output) #t)))
1246 ("desktop-file-utils" ,desktop-file-utils)
1247 ("hicolor-icon-theme" ,hicolor-icon-theme)
1248 ("xdg-user-dirs" ,xdg-user-dirs)
1249 ("xdg-utils" ,xdg-utils)
1251 ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
1252 ;; should be added to their propagated-inputs?
1255 ("lxqt-about" ,lxqt-about)
1256 ("lxqt-admin" ,lxqt-admin)
1257 ("lxqt-config" ,lxqt-config)
1258 ("lxqt-notificationd" ,lxqt-notificationd)
1259 ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
1260 ("lxqt-panel" ,lxqt-panel)
1261 ("lxqt-policykit" ,lxqt-policykit)
1262 ("lxqt-powermanagement" ,lxqt-powermanagement)
1263 ("lxqt-qtplugin" ,lxqt-qtplugin)
1264 ("lxqt-runner" ,lxqt-runner)
1265 ("lxqt-session" ,lxqt-session)
1266 ("lxqt-sudo" ,lxqt-sudo)
1267 ("lxqt-themes" ,lxqt-themes)
1268 ("pcmanfm-qt" ,pcmanfm-qt)
1270 ("compton" ,compton)
1271 ("compton-conf" ,compton-conf)
1272 ("font-dejavu" ,font-dejavu)
1273 ("lximage-qt" ,lximage-qt)
1274 ("obconf-qt" ,obconf-qt)
1275 ("openbox" ,openbox)
1276 ("oxygen-icons" ,oxygen-icons)
1277 ("pavucontrol-qt" ,pavucontrol-qt)
1279 ("qterminal" ,qterminal)))
1280 (synopsis "The Lightweight Qt Desktop Environment")
1281 (description "LXQt is a lightweight Qt desktop environment.")
1282 (home-page "https://lxde.org")
1283 (license license:gpl2+)))