1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
4 ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
6 ;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
7 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
8 ;;; Copyright © 2018, 2019 Meiyo Peng <meiyo@riseup.net>
9 ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
11 ;;; This file is part of GNU Guix.
13 ;;; GNU Guix is free software; you can redistribute it and/or modify it
14 ;;; under the terms of the GNU General Public License as published by
15 ;;; the Free Software Foundation; either version 3 of the License, or (at
16 ;;; your option) any later version.
18 ;;; GNU Guix is distributed in the hope that it will be useful, but
19 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;;; GNU General Public License for more details.
23 ;;; You should have received a copy of the GNU General Public License
24 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
26 (define-module (gnu packages lxqt)
27 #:use-module (guix download)
28 #:use-module (guix git-download)
29 #:use-module ((guix licenses) #:prefix license:)
30 #:use-module (guix packages)
31 #:use-module (guix utils)
32 #:use-module (guix build-system cmake)
33 #:use-module (guix build-system gnu)
34 #:use-module (guix build-system trivial)
35 #:use-module (gnu packages)
36 #:use-module (gnu packages admin)
37 #:use-module (gnu packages compression)
38 #:use-module (gnu packages documentation)
39 #:use-module (gnu packages compton)
40 #:use-module (gnu packages fonts)
41 #:use-module (gnu packages freedesktop)
42 #:use-module (gnu packages glib)
43 #:use-module (gnu packages gnome)
44 #:use-module (gnu packages gtk)
45 #:use-module (gnu packages image)
46 #:use-module (gnu packages kde-frameworks)
47 #:use-module (gnu packages kde-plasma)
48 #:use-module (gnu packages linux)
49 #:use-module (gnu packages perl)
50 #:use-module (gnu packages lxde)
51 #:use-module (gnu packages maths)
52 #:use-module (gnu packages openbox)
53 #:use-module (gnu packages pcre)
54 #:use-module (gnu packages photo)
55 #:use-module (gnu packages pkg-config)
56 #:use-module (gnu packages polkit)
57 #:use-module (gnu packages pulseaudio)
58 #:use-module (gnu packages qt)
59 #:use-module (gnu packages textutils)
60 #:use-module (gnu packages xdisorg)
61 #:use-module (gnu packages xml)
62 #:use-module (gnu packages xorg))
65 ;; Third party libraries
67 (define-public libdbusmenu-qt
69 (name "libdbusmenu-qt")
70 (version "0.9.3+16.04.20160218-0ubuntu1")
74 ;; Download from github rather than launchpad because launchpad trunk
75 ;; tarball hash is not deterministic.
77 (url "https://github.com/unity8-team/libdbusmenu-qt.git")
79 (file-name (git-file-name name version))
81 (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg"))))
82 (build-system cmake-build-system)
84 ;; XXX: Tests require a dbus session and some icons.
87 `(("doxygen" ,doxygen)))
89 `(("qtbase" ,qtbase)))
90 (home-page "https://launchpad.net/libdbusmenu-qt")
91 (synopsis "Qt implementation of the DBusMenu spec")
92 (description "This library provides a Qt implementation of the DBusMenu
93 protocol. The DBusMenu protocol makes it possible for applications to export
94 and import their menus over DBus.")
95 (license license:lgpl2.1+)))
97 (define-public libstatgrab
104 (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/"
105 name "-" version ".tar.gz"))
107 (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83"))))
108 (build-system gnu-build-system)
110 '(#:configure-flags '("--enable-tests")))
114 (home-page "https://www.i-scream.org/libstatgrab/")
115 (synopsis "Provides access to statistics about the system")
116 (description "libstatgrab is a library that provides cross platform access
117 to statistics about the system on which it's run.")
118 ;; Libraries are under LGPL2.1+, and programs under GPLv2+.
119 (license license:gpl2+)))
124 (define-public lxqt-build-tools
126 (name "lxqt-build-tools")
131 (uri (string-append "https://github.com/lxqt/lxqt-build-tools/releases"
133 "/lxqt-build-tools-" version ".tar.xz"))
135 (base32 "0n0p0mf12n9f7zm2592779rpqrbcamfdz87nnjb8j058bc8g3214"))))
136 (build-system cmake-build-system)
138 `(#:tests? #f ; no tests
140 ;; 'startlxqt' will add LXQT_DATA_DIR to XDG_DATA_DIRS,
141 ;; LXQT_ETC_XDG_DIR to XDG_CONFIG_DIRS, and 'lxqt-about' will report
142 ;; LXQT_ETC_XDG_DIR in its "Technical Info".
143 '("-DLXQT_DATA_DIR=/run/current-system/profile/share"
144 "-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg")))
146 `(("pkg-config" ,pkg-config)
149 `(("qtbase" ,qtbase)))
150 (synopsis "LXQt Build tools")
152 "Lxqt-build-tools is providing several tools needed to build LXQt
153 itself as well as other components maintained by the LXQt project.")
154 (home-page "https://lxqt.org")
155 (license license:lgpl2.1+)))
157 (define-public libqtxdg
165 "https://github.com/lxqt/libqtxdg/releases/download/"
166 version "/libqtxdg-" version ".tar.xz"))
168 (base32 "1mnnq8vbf5xjlrzajzfkay0yzzxri0zz0xi8x8rmxpw38xmglq8h"))))
169 (build-system cmake-build-system)
173 "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines")
175 (modify-phases %standard-phases
176 (add-before 'check 'pre-check
178 ;; Run the tests offscreen.
179 (setenv "QT_QPA_PLATFORM" "offscreen")
182 ;; required by Qt5XdgIconLoader.pc
186 `(("lxqt-build-tools" ,lxqt-build-tools)))
187 (home-page "https://github.com/lxqt/libqtxdg")
188 (synopsis "Qt implementation of freedesktop.org xdg specifications")
189 (description "Libqtxdg implements the freedesktop.org xdg specifications
191 (license license:lgpl2.1+)))
193 (define-public liblxqt
201 "https://github.com/lxqt/" name "/releases/download/"
202 version "/" name "-" version ".tar.xz"))
204 (base32 "1gb922npf6nw4w3nkvh4czk8xmdzzqkzq3zgl1h303fjaib359qs"))))
205 (build-system cmake-build-system)
207 `(#:tests? #f ; no tests
209 (modify-phases %standard-phases
210 (add-after 'unpack 'patch-source
212 (substitute* "CMakeLists.txt"
213 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
214 "DESTINATION \"share/polkit-1/actions"))
216 (add-after 'unpack 'patch-translations-dir
217 (lambda* (#:key outputs #:allow-other-keys)
218 (substitute* "CMakeLists.txt"
219 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
220 (string-append (assoc-ref outputs "out")
221 "/share/lxqt/translations")))
224 `(("kwindowsystem" ,kwindowsystem)
225 ("libqtxdg" ,libqtxdg)
226 ("libxscrnsaver" ,libxscrnsaver)
227 ("polkit-qt" ,polkit-qt)
229 ("qtx11extras" ,qtx11extras)))
231 `(("lxqt-build-tools" ,lxqt-build-tools)
232 ("qttools" ,qttools)))
233 (home-page "https://lxqt.org/")
234 (synopsis "Core utility library for all LXQt components")
235 (description "liblxqt provides the basic libraries shared by the
236 components of the LXQt desktop environment.")
237 (license license:lgpl2.1+)))
239 (define-public libsysstat
246 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
247 version "/" name "-" version ".tar.xz"))
249 (base32 "0rz9w49khra9kl91kfnd3wxkldy1fqf6755mvlgbsqxb1yv8597w"))))
250 (build-system cmake-build-system)
251 (arguments '(#:tests? #f)) ; no tests
253 `(("qtbase" ,qtbase)))
255 `(("lxqt-build-tools" ,lxqt-build-tools)))
256 (home-page "https://lxqt.org/")
257 (synopsis "Library used to query system info and statistics")
258 (description "libsysstat is a library to query system information like CPU
259 and memory usage or network traffic.")
260 (license license:lgpl2.1+)))
265 (define-public lxqt-about
272 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
273 version "/" name "-" version ".tar.xz"))
275 (base32 "01xp5ddcxc9wvl7jm4179hjrirj07mpzm9z50936d1fqx34wfbis"))))
276 (build-system cmake-build-system)
278 `(("kwindowsystem" ,kwindowsystem)
280 ("libqtxdg" ,libqtxdg)
283 ("qtx11extras" ,qtx11extras)))
285 `(("lxqt-build-tools" ,lxqt-build-tools)
286 ("qttools" ,qttools)))
288 '(#:tests? #f ; no tests
290 (modify-phases %standard-phases
291 (add-after 'unpack 'patch-translations-dir
292 (lambda* (#:key outputs #:allow-other-keys)
293 (substitute* "CMakeLists.txt"
294 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
295 (string-append (assoc-ref outputs "out")
296 "/share/lxqt/translations")))
298 (home-page "https://lxqt.org")
299 (synopsis "Provides information about LXQt and the system")
300 (description "lxqt-about is a dialogue window providing information about
301 LXQt and the system it's running on.")
302 (license license:lgpl2.1+)))
304 (define-public lxqt-admin
311 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
312 version "/" name "-" version ".tar.xz"))
314 (base32 "0f0skkxqyhpidpd5phliax869v4n2whvglg8rahzia2zhw4ylzry"))))
315 (build-system cmake-build-system)
317 `(("kwindowsystem" ,kwindowsystem)
319 ("libqtxdg" ,libqtxdg)
320 ("polkit-qt" ,polkit-qt)
322 ("qtx11extras" ,qtx11extras)))
324 `(("lxqt-build-tools" ,lxqt-build-tools)
325 ("qttools" ,qttools)))
327 '(#:tests? #f ; no tests
329 (modify-phases %standard-phases
330 (add-after 'unpack 'patch-source
332 (substitute* "lxqt-admin-user/CMakeLists.txt"
333 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
334 "DESTINATION \"share/polkit-1/actions"))
336 (add-after 'unpack 'patch-translations-dir
337 (lambda* (#:key outputs #:allow-other-keys)
338 (substitute* '("lxqt-admin-time/CMakeLists.txt"
339 "lxqt-admin-user/CMakeLists.txt")
340 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
341 (string-append (assoc-ref outputs "out")
342 "/share/lxqt/translations")))
344 (home-page "https://lxqt.org")
345 (synopsis "LXQt system administration tool")
346 (description "lxqt-admin is providing two GUI tools to adjust settings of
347 the operating system LXQt is running on.")
348 (license license:lgpl2.1+)))
350 (define-public lxqt-config
357 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
358 version "/" name "-" version ".tar.xz"))
360 (base32 "16k36knv6d72gg8hp7423l3ic43y3l3zbaf3spqn2a354y30myrg"))))
361 (build-system cmake-build-system)
364 ("kwindowsystem" ,kwindowsystem)
365 ("libkscreen" ,libkscreen)
367 ("libqtxdg" ,libqtxdg)
368 ("libxcursor" ,libxcursor)
372 ("qtx11extras" ,qtx11extras)
374 ("xf86-input-libinput" ,xf86-input-libinput)
377 `(("pkg-config" ,pkg-config)
378 ("lxqt-build-tools" ,lxqt-build-tools)
379 ("qttools" ,qttools)))
381 '(#:tests? #f ; no tests
383 (modify-phases %standard-phases
384 (add-after 'unpack 'patch-source
386 (substitute* '("src/CMakeLists.txt")
387 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
388 "DESTINATION \"etc/xdg"))
390 (add-after 'unpack 'patch-translations-dir
391 (lambda* (#:key outputs #:allow-other-keys)
392 (substitute* '("lxqt-config-file-associations/CMakeLists.txt"
393 "lxqt-config-brightness/CMakeLists.txt"
394 "lxqt-config-appearance/CMakeLists.txt"
395 "lxqt-config-locale/CMakeLists.txt"
396 "lxqt-config-monitor/CMakeLists.txt"
397 "lxqt-config-input/CMakeLists.txt"
398 "liblxqt-config-cursor/CMakeLists.txt"
399 "src/CMakeLists.txt")
400 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
401 (string-append (assoc-ref outputs "out")
402 "/share/lxqt/translations")))
404 (home-page "https://lxqt.org")
405 (synopsis "Tools to configure LXQt and the underlying operating system")
406 (description "lxqt-config is providing several tools involved in the
407 configuration of both LXQt and the underlying operating system.")
408 (license license:lgpl2.1+)))
410 (define-public lxqt-globalkeys
412 (name "lxqt-globalkeys")
417 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
418 version "/" name "-" version ".tar.xz"))
420 (base32 "0m6svwy20bfy9d21g5l0qzjndph3rd8zqagmqgdjzjhh3lxwrsrk"))))
421 (build-system cmake-build-system)
423 `(("kwindowsystem" ,kwindowsystem)
425 ("libqtxdg" ,libqtxdg)
428 ("qtx11extras" ,qtx11extras)))
430 `(("pkg-config" ,pkg-config)
432 ("lxqt-build-tools" ,lxqt-build-tools)))
434 '(#:tests? #f ; no tests
436 (modify-phases %standard-phases
437 (add-after 'unpack 'patch-source
439 (substitute* '("autostart/CMakeLists.txt"
440 "xdg/CMakeLists.txt")
441 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
442 "DESTINATION \"etc/xdg"))
444 (add-after 'unpack 'patch-translations-dir
445 (lambda* (#:key outputs #:allow-other-keys)
446 (substitute* "config/CMakeLists.txt"
447 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
448 (string-append (assoc-ref outputs "out")
449 "/share/lxqt/translations")))
451 (home-page "https://lxqt.org/")
452 (synopsis "Daemon used to register global keyboard shortcuts")
453 (description "lxqt-globalkeys is providing tools to set global keyboard
454 shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
455 as a whole and are not limited to distinct applications.")
456 (license license:lgpl2.1+)))
458 (define-public lxqt-notificationd
460 (name "lxqt-notificationd")
465 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
466 version "/" name "-" version ".tar.xz"))
468 (base32 "1kiag3fcx12qmslln6x6lwvm4f1spymwf71389kdya3vwx7hkmcy"))))
469 (build-system cmake-build-system)
471 `(("kwindowsystem" ,kwindowsystem)
473 ("libqtxdg" ,libqtxdg)
476 ("qtx11extras" ,qtx11extras)))
478 `(("lxqt-build-tools" ,lxqt-build-tools)
479 ("qttools" ,qttools)))
481 '(#:tests? #f ; no test target
483 (modify-phases %standard-phases
484 (add-after 'unpack 'patch-source
486 (substitute* '("autostart/CMakeLists.txt")
487 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
488 "DESTINATION \"etc/xdg"))
490 (add-after 'unpack 'patch-translations-dir
491 (lambda* (#:key outputs #:allow-other-keys)
492 (substitute* '("config/CMakeLists.txt"
493 "src/CMakeLists.txt")
494 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
495 (string-append (assoc-ref outputs "out")
496 "/share/lxqt/translations")))
498 (home-page "https://lxqt.org/")
499 (synopsis "The LXQt notification daemon")
500 (description "lxqt-notificationd is LXQt's implementation of a daemon
501 according to the Desktop Notifications Specification.")
502 (license license:lgpl2.1+)))
504 (define-public lxqt-openssh-askpass
506 (name "lxqt-openssh-askpass")
511 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
512 version "/" name "-" version ".tar.xz"))
514 (base32 "1fvbgjidpifn420avh8n1gym49vcz6zgayz7xygg1x93s4awy1cs"))))
515 (build-system cmake-build-system)
517 `(("kwindowsystem" ,kwindowsystem)
519 ("libqtxdg" ,libqtxdg)
522 ("qtx11extras" ,qtx11extras)))
524 `(("lxqt-build-tools" ,lxqt-build-tools)
525 ("qttools" ,qttools)))
527 '(#:tests? #f ; no tests
529 (modify-phases %standard-phases
530 (add-after 'unpack 'patch-translations-dir
531 (lambda* (#:key outputs #:allow-other-keys)
532 (substitute* "CMakeLists.txt"
533 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
534 (string-append (assoc-ref outputs "out")
535 "/share/lxqt/translations")))
537 (home-page "https://lxqt.org/")
538 (synopsis "GUI to query passwords on behalf of SSH agents")
539 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
541 (license license:lgpl2.1+)))
543 (define-public lxqt-panel
550 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
551 version "/" name "-" version ".tar.xz"))
553 (base32 "1r3wx0v3jm7j41h7gxr49izc9xa1afvrzq4wcdm0qbj98qa1rgpq"))))
554 (build-system cmake-build-system)
556 `(("alsa-lib" ,alsa-lib)
557 ("kguiaddons" ,kguiaddons)
558 ("kwindowsystem" ,kwindowsystem)
559 ("libdbusmenu-qt" ,libdbusmenu-qt)
561 ("libqtxdg" ,libqtxdg)
562 ("libstatgrab" ,libstatgrab)
563 ("libsysstat" ,libsysstat)
564 ("libxcomposite" ,libxcomposite)
565 ("libxdamage" ,libxdamage)
566 ("libxkbcommon" ,libxkbcommon)
567 ("libxrender" ,libxrender)
568 ("lm-sensors" ,lm-sensors "lib")
569 ("lxqt-globalkeys" ,lxqt-globalkeys)
571 ("pulseaudio" ,pulseaudio)
574 ("qtx11extras" ,qtx11extras)
576 ("xcb-util" ,xcb-util)))
578 `(("pkg-config" ,pkg-config)
579 ("lxqt-build-tools" ,lxqt-build-tools)
580 ("qttools" ,qttools)))
582 '(#:tests? #f ; no tests
584 (modify-phases %standard-phases
585 (add-after 'unpack 'patch-source
587 (substitute* '("autostart/CMakeLists.txt"
588 "menu/CMakeLists.txt")
589 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
590 "DESTINATION \"etc/xdg"))
592 (add-after 'unpack 'patch-translations-dir
593 (lambda* (#:key outputs #:allow-other-keys)
594 (substitute* '("cmake/BuildPlugin.cmake"
595 "panel/CMakeLists.txt")
596 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
597 (string-append (assoc-ref outputs "out")
598 "/share/lxqt/translations")))
600 (home-page "https://lxqt.org/")
601 (synopsis "The LXQt desktop panel")
602 (description "lxqt-panel represents the taskbar of LXQt.")
603 (license license:lgpl2.1+)))
605 (define-public lxqt-policykit
607 (name "lxqt-policykit")
612 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
613 version "/" name "-" version ".tar.xz"))
615 (base32 "127rqb0nprybkc41lk0yq0r0dk5pbbw22gvrm4pwag71qh8wpk5i"))))
616 (build-system cmake-build-system)
618 `(("kwindowsystem" ,kwindowsystem)
620 ("libqtxdg" ,libqtxdg)
622 ("polkit-qt" ,polkit-qt)
625 ("qtx11extras" ,qtx11extras)))
627 `(("pkg-config" ,pkg-config)
629 ("lxqt-build-tools" ,lxqt-build-tools)
630 ("qttools" ,qttools)))
632 '(#:tests? #f ; no test target
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 (add-after 'unpack 'patch-translations-dir
642 (lambda* (#:key outputs #:allow-other-keys)
643 (substitute* "CMakeLists.txt"
644 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
645 (string-append (assoc-ref outputs "out")
646 "/share/lxqt/translations")))
648 (home-page "https://lxqt.org/")
649 (synopsis "The LXQt PolicyKit agent")
650 (description "lxqt-policykit is the polkit authentification agent of
652 (license license:lgpl2.1+)))
654 (define-public lxqt-powermanagement
656 (name "lxqt-powermanagement")
661 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
662 version "/" name "-" version ".tar.xz"))
664 (base32 "06bvgbkbl9p9n8ba5cfsynqgmpb5c8yfnsvp7zqhflj8k9p9msip"))))
665 (build-system cmake-build-system)
667 `(("kidletime" ,kidletime)
668 ("kwindowsystem" ,kwindowsystem)
670 ("libqtxdg" ,libqtxdg)
673 ("qtx11extras" ,qtx11extras)
676 `(("lxqt-build-tools" ,lxqt-build-tools)
677 ("qttools" ,qttools)))
679 '(#:tests? #f ; no tests
681 (modify-phases %standard-phases
682 (add-after 'unpack 'patch-source
684 (substitute* '("autostart/CMakeLists.txt")
685 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
686 "DESTINATION \"etc/xdg"))
688 (add-after 'unpack 'patch-translations-dir
689 (lambda* (#:key outputs #:allow-other-keys)
690 (substitute* '("config/CMakeLists.txt"
691 "src/CMakeLists.txt")
692 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
693 (string-append (assoc-ref outputs "out")
694 "/share/lxqt/translations")))
696 (home-page "https://lxqt.org/")
697 (synopsis "Power management module for LXQt")
698 (description "lxqt-powermanagement is providing tools to monitor power
699 management events and optionally trigger actions like e. g. shut down a system
700 when laptop batteries are low on power.")
701 (license license:lgpl2.1+)))
703 (define-public lxqt-qtplugin
705 (name "lxqt-qtplugin")
710 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
711 version "/" name "-" version ".tar.xz"))
713 (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56"))))
714 (build-system cmake-build-system)
716 `(("libdbusmenu-qt" ,libdbusmenu-qt)
717 ("libfm-qt" ,libfm-qt)
718 ("libqtxdg" ,libqtxdg)
721 ("qtx11extras" ,qtx11extras)))
723 `(("lxqt-build-tools" ,lxqt-build-tools)
724 ("qttools" ,qttools)))
726 '(#:tests? #f ; no tests
728 (modify-phases %standard-phases
729 (add-after 'unpack 'patch-source
731 (substitute* '("src/CMakeLists.txt")
732 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
733 "DESTINATION \"lib/qt5/plugins"))
735 (home-page "https://lxqt.org/")
736 (synopsis "LXQt Qt platform integration plugin")
737 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
739 (license license:lgpl2.1+)))
741 (define-public lxqt-runner
748 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
749 version "/" name "-" version ".tar.xz"))
751 (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali"))))
752 (build-system cmake-build-system)
754 `(("kwindowsystem" ,kwindowsystem)
756 ("libqtxdg" ,libqtxdg)
757 ("lxqt-globalkeys" ,lxqt-globalkeys)
758 ("muparser" ,muparser)
762 ("qtx11extras" ,qtx11extras)))
764 `(("pkg-config" ,pkg-config)
766 ("lxqt-build-tools" ,lxqt-build-tools)))
768 '(#:tests? #f ; no tests
770 ;; TODO: prefetch translations files from 'lxqt-l10n'.
771 '("-DPULL_TRANSLATIONS=NO")
773 (modify-phases %standard-phases
774 (add-after 'unpack 'patch-source
776 (substitute* '("autostart/CMakeLists.txt")
777 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
778 "DESTINATION \"etc/xdg"))
780 (home-page "https://lxqt.org/")
781 (synopsis "Tool used to launch programs quickly by typing their names")
782 (description "lxqt-runner provides a GUI that comes up on the desktop and
783 allows for launching applications or shutting down the system.")
784 (license license:lgpl2.1+)))
786 (define-public lxqt-session
788 (name "lxqt-session")
793 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
794 version "/" name "-" version ".tar.xz"))
796 (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
797 (build-system cmake-build-system)
800 ("kwindowsystem" ,kwindowsystem)
802 ("libqtxdg" ,libqtxdg)
805 ("qtx11extras" ,qtx11extras)
806 ("xdg-user-dirs" ,xdg-user-dirs)))
808 `(("pkg-config" ,pkg-config)
809 ("lxqt-build-tools" ,lxqt-build-tools)
810 ("qttools" ,qttools)))
814 `("-DPULL_TRANSLATIONS=NO")
816 (modify-phases %standard-phases
817 (add-after 'unpack 'patch-source
819 (substitute* '("autostart/CMakeLists.txt"
820 "config/CMakeLists.txt")
821 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
822 "DESTINATION \"etc/xdg"))
824 (home-page "https://lxqt.org/")
825 (synopsis "Session manager for LXQt")
826 (description "lxqt-session provides the standard session manager
827 for the LXQt desktop environment.")
828 (license license:lgpl2.1+)))
830 (define-public lxqt-sudo
837 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
838 version "/" name "-" version ".tar.xz"))
840 (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf"))))
841 (build-system cmake-build-system)
843 `(("kwindowsystem" ,kwindowsystem)
845 ("libqtxdg" ,libqtxdg)
848 ("qtx11extras" ,qtx11extras)
851 `(("pkg-config" ,pkg-config)
853 ("lxqt-build-tools" ,lxqt-build-tools)))
855 '(#:tests? #f ; no tests
857 ;; TODO: prefetch translations files from 'lxqt-l10n'.
858 '("-DPULL_TRANSLATIONS=NO")))
859 (home-page "https://lxqt.org/")
860 (synopsis "GUI frontend for sudo/su")
861 (description "lxqt-sudo is a graphical front-end of commands sudo and su
862 respectively. As such it enables regular users to launch applications with
863 permissions of other users including root.")
864 (license license:lgpl2.1+)))
866 (define-public lxqt-themes
873 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
874 version "/" name "-" version ".tar.xz"))
876 (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf"))))
877 (build-system cmake-build-system)
879 `(("lxqt-build-tools" ,lxqt-build-tools)))
881 `(#:tests? #f ; no tests
883 (modify-phases %standard-phases
884 (add-after 'unpack 'patch-source
886 (substitute* '("CMakeLists.txt")
887 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
888 "DESTINATION \"share/lxqt/graphics"))
889 (substitute* '("themes/CMakeLists.txt")
890 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
891 "DESTINATION \"share/lxqt"))
893 (home-page "https://lxqt.org/")
894 (synopsis "Themes, graphics and icons for LXQt")
895 (description "This package comprises a number of graphic files and themes
897 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
898 ;; licensed under CC-BY-SA 3.0.
899 (license license:lgpl2.1+)))
904 (define-public libfm-qt
911 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
912 version "/" name "-" version ".tar.xz"))
914 (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9"))))
915 (build-system cmake-build-system)
917 '(#:tests? #f ; no tests
919 ;; TODO : prefetch translations files from 'lxqt-l10n'.
920 '("-DPULL_TRANSLATIONS=NO")))
926 ("menu-cache" ,menu-cache)
929 ("qtx11extras" ,qtx11extras)))
931 `(("pkg-config" ,pkg-config)
932 ("lxqt-build-tools" ,lxqt-build-tools)
933 ("qttools" ,qttools)))
934 (home-page "https://lxqt.org/")
935 (synopsis "Qt binding for libfm")
936 (description "libfm-qt is the Qt port of libfm, a library providing
937 components to build desktop file managers which belongs to LXDE.")
938 (license license:lgpl2.1+)))
940 (define-public pcmanfm-qt
947 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
948 version "/" name "-" version ".tar.xz"))
950 (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz"))))
951 (build-system cmake-build-system)
953 `(("libfm-qt" ,libfm-qt)
955 ("qtx11extras" ,qtx11extras)))
957 `(("pkg-config" ,pkg-config)
959 ("lxqt-build-tools" ,lxqt-build-tools)))
961 '(#:tests? #f ; no tests
963 ;; TODO: prefetch translations files from 'lxqt-l10n'.
964 '("-DPULL_TRANSLATIONS=NO")
966 (modify-phases %standard-phases
967 (add-after 'unpack 'patch-source
969 (substitute* '("autostart/CMakeLists.txt")
970 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
971 "DESTINATION \"etc/xdg"))
973 (home-page "https://lxqt.org/")
974 (synopsis "File manager and desktop icon manager")
975 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
977 (license license:gpl2+)))
982 (define-public compton-conf
984 (name "compton-conf")
989 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
990 version "/" name "-" version ".tar.xz"))
992 (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci"))))
993 (build-system cmake-build-system)
995 `(("libconfig" ,libconfig)
998 `(("lxqt-build-tools" ,lxqt-build-tools)
999 ("pkg-config" ,pkg-config)
1000 ("qttools" ,qttools)))
1002 '(#:tests? #f ; no tests
1004 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1005 '("-DPULL_TRANSLATIONS=NO")
1007 (modify-phases %standard-phases
1008 (add-after 'unpack 'patch-source
1010 (substitute* '("autostart/CMakeLists.txt")
1011 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
1012 "DESTINATION \"etc/xdg"))
1014 (home-page "https://lxqt.org/")
1015 (synopsis "GUI configuration tool for compton X composite manager")
1016 (description "@code{compton-conf} is a configuration tool for X composite
1018 (license license:lgpl2.1+)))
1020 (define-public lximage-qt
1027 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1028 version "/" name "-" version ".tar.xz"))
1030 (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w"))))
1031 (build-system cmake-build-system)
1033 `(("libexif" ,libexif)
1034 ("libfm-qt" ,libfm-qt)
1037 ("qtx11extras" ,qtx11extras)))
1039 `(("pkg-config" ,pkg-config)
1040 ("lxqt-build-tools" ,lxqt-build-tools)
1041 ("qttools" ,qttools)))
1043 '(#:tests? #f ; no tests
1045 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1046 '("-DPULL_TRANSLATIONS=NO")))
1047 (home-page "https://lxqt.org/")
1048 (synopsis "The image viewer and screenshot tool for lxqt")
1049 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
1051 (license license:gpl2+)))
1053 (define-public obconf-qt
1060 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1061 version "/" name "-" version ".tar.xz"))
1063 (base32 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf"))))
1064 (build-system cmake-build-system)
1066 `(("imlib2" ,imlib2)
1068 ("librsvg" ,librsvg)
1070 ("libxml2" ,libxml2)
1071 ("openbox" ,openbox)
1075 ("qtx11extras" ,qtx11extras)))
1077 `(("lxqt-build-tools" ,lxqt-build-tools)
1078 ("pkg-config" ,pkg-config)
1079 ("qttools" ,qttools)))
1081 '(#:tests? #f ; no tests
1083 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1084 '("-DPULL_TRANSLATIONS=NO")))
1085 (home-page "https://lxqt.org/")
1086 (synopsis "Openbox configuration tool")
1087 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
1088 window manager OpenBox.")
1089 (license license:gpl2+)))
1091 (define-public pavucontrol-qt
1093 (name "pavucontrol-qt")
1098 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1099 version "/" name "-" version ".tar.xz"))
1101 (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6"))))
1102 (build-system cmake-build-system)
1106 ("pulseaudio" ,pulseaudio)
1108 ("qtx11extras" ,qtx11extras)))
1110 `(("pkg-config" ,pkg-config)
1111 ("lxqt-build-tools" ,lxqt-build-tools)
1112 ("qttools" ,qttools)))
1114 '(#:tests? #f ; no tests
1116 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1117 '("-DPULL_TRANSLATIONS=NO")))
1118 (home-page "https://lxqt.org/")
1119 (synopsis "Pulseaudio mixer in Qt")
1120 (description "@code{pavucontrol-qt} is the Qt port of volume control
1121 @code{pavucontrol} of sound server @code{PulseAudio}.")
1122 (license license:gpl2+)))
1131 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1132 version "/" name "-" version ".tar.xz"))
1134 (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44"))))
1135 (build-system cmake-build-system)
1137 `(("libxrender" ,libxrender)
1139 ("qtx11extras" ,qtx11extras)))
1141 `(("qttools" ,qttools)))
1143 '(#:tests? #f)) ; no tests
1144 (home-page "https://lxqt.org/")
1145 (synopsis "Qt-based visual process status monitor")
1146 (description "@code{qps} is a monitor that displays the status of the
1147 processes currently in existence, much like code{top} or code{ps}.")
1148 (license license:gpl2+)))
1150 (define-public qtermwidget
1152 (name "qtermwidget")
1157 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1158 version "/" name "-" version ".tar.xz"))
1160 (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773"))))
1161 (build-system cmake-build-system)
1163 `(("qtbase" ,qtbase)))
1165 `(("lxqt-build-tools" ,lxqt-build-tools)
1166 ("qttools" ,qttools)))
1168 '(#:tests? #f ; no tests
1170 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1171 '("-DPULL_TRANSLATIONS=NO")))
1172 (home-page "https://lxqt.org/")
1173 (synopsis "The terminal widget for QTerminal")
1174 (description "QTermWidget is a terminal emulator widget for Qt 5.")
1175 (license license:gpl2+)))
1177 (define-public qterminal
1184 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1185 version "/" name "-" version ".tar.xz"))
1187 (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1"))))
1188 (build-system cmake-build-system)
1190 `(("qtbase" ,qtbase)
1191 ("qtx11extras" ,qtx11extras)
1192 ("qtermwidget" ,qtermwidget)))
1194 `(("lxqt-build-tools" ,lxqt-build-tools)
1195 ("qttools" ,qttools)))
1197 '(#:tests? #f ; no tests
1199 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1200 '("-DPULL_TRANSLATIONS=NO")))
1201 (home-page "https://lxqt.org/")
1202 (synopsis "Lightweight Qt-based terminal emulator")
1203 (description "QTerminal is a lightweight Qt terminal emulator based on
1205 (license license:gpl2+)))
1207 (define-public screengrab
1214 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1215 version "/screengrab-" version ".tar.xz"))
1217 (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3"))))
1218 (build-system cmake-build-system)
1220 `(("kwindowsystem" ,kwindowsystem)
1221 ("libqtxdg" ,libqtxdg)
1224 ("qtx11extras" ,qtx11extras)))
1226 `(("pkg-config" ,pkg-config)
1227 ("qttools" ,qttools)))
1229 '(#:tests? #f)) ; no tests
1230 (home-page "https://lxqt.org/")
1231 (synopsis "Crossplatform tool for fast making screenshots")
1232 (description "ScreenGrab is a program for fast creating screenshots, and
1233 easily publishing them on internet image hosting services.")
1234 (license license:gpl2+)))
1237 ;; The LXQt Desktop Environment
1242 (version (package-version lxqt-session))
1244 (build-system trivial-build-system)
1245 (arguments '(#:builder (begin (mkdir %output) #t)))
1248 ("desktop-file-utils" ,desktop-file-utils)
1249 ("hicolor-icon-theme" ,hicolor-icon-theme)
1250 ("xdg-user-dirs" ,xdg-user-dirs)
1251 ("xdg-utils" ,xdg-utils)
1253 ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
1254 ;; should be added to their propagated-inputs?
1257 ("lxqt-about" ,lxqt-about)
1258 ("lxqt-admin" ,lxqt-admin)
1259 ("lxqt-config" ,lxqt-config)
1260 ("lxqt-notificationd" ,lxqt-notificationd)
1261 ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
1262 ("lxqt-panel" ,lxqt-panel)
1263 ("lxqt-policykit" ,lxqt-policykit)
1264 ("lxqt-powermanagement" ,lxqt-powermanagement)
1265 ("lxqt-qtplugin" ,lxqt-qtplugin)
1266 ("lxqt-runner" ,lxqt-runner)
1267 ("lxqt-session" ,lxqt-session)
1268 ("lxqt-sudo" ,lxqt-sudo)
1269 ("lxqt-themes" ,lxqt-themes)
1270 ("pcmanfm-qt" ,pcmanfm-qt)
1272 ("compton" ,compton)
1273 ("compton-conf" ,compton-conf)
1274 ("font-dejavu" ,font-dejavu)
1275 ("lximage-qt" ,lximage-qt)
1276 ("obconf-qt" ,obconf-qt)
1277 ("openbox" ,openbox)
1278 ("oxygen-icons" ,oxygen-icons)
1279 ("pavucontrol-qt" ,pavucontrol-qt)
1281 ("qterminal" ,qterminal)))
1282 (synopsis "The Lightweight Qt Desktop Environment")
1283 (description "LXQt is a lightweight Qt desktop environment.")
1284 (home-page "https://lxde.org")
1285 (license license:gpl2+)))