Commit | Line | Data |
---|---|---|
e5e06930 AE |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> | |
3 | ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> | |
b042bdc8 | 4 | ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org> |
3282442b | 5 | ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> |
47956fa0 | 6 | ;;; Copyright © 2017 ng0 <ng0@n0.is> |
063bc5f8 | 7 | ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> |
5b7a354d | 8 | ;;; Copyright © 2018, 2019 Meiyo Peng <meiyo@riseup.net> |
86caf997 | 9 | ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> |
13efb248 | 10 | ;;; Copyright © 2019, 2020 Reza Alizadeh Majd <r.majd@pantherx.org> |
6cd07787 | 11 | ;;; Copyright © 2020 Fakhri Sajadi <f.sajadi@pantherx.org> |
e5e06930 AE |
12 | ;;; |
13 | ;;; This file is part of GNU Guix. | |
14 | ;;; | |
15 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
16 | ;;; under the terms of the GNU General Public License as published by | |
17 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
18 | ;;; your option) any later version. | |
19 | ;;; | |
20 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
21 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
22 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
23 | ;;; GNU General Public License for more details. | |
24 | ;;; | |
25 | ;;; You should have received a copy of the GNU General Public License | |
26 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
27 | ||
28 | (define-module (gnu packages lxqt) | |
29 | #:use-module (guix download) | |
86caf997 | 30 | #:use-module (guix git-download) |
a6b941dd | 31 | #:use-module ((guix licenses) #:prefix license:) |
e5e06930 AE |
32 | #:use-module (guix packages) |
33 | #:use-module (guix utils) | |
34 | #:use-module (guix build-system cmake) | |
bf076d8b | 35 | #:use-module (guix build-system gnu) |
1fdcee02 | 36 | #:use-module (guix build-system trivial) |
44a477e1 | 37 | #:use-module (gnu packages) |
dbb4f7d0 | 38 | #:use-module (gnu packages admin) |
35bfe41a | 39 | #:use-module (gnu packages compression) |
64fac507 | 40 | #:use-module (gnu packages documentation) |
1fdcee02 MP |
41 | #:use-module (gnu packages compton) |
42 | #:use-module (gnu packages fonts) | |
70c488f8 | 43 | #:use-module (gnu packages freedesktop) |
b36524c1 | 44 | #:use-module (gnu packages glib) |
31fd62c8 MP |
45 | #:use-module (gnu packages gnome) |
46 | #:use-module (gnu packages gtk) | |
47 | #:use-module (gnu packages image) | |
6bb5a8a1 | 48 | #:use-module (gnu packages kde-frameworks) |
df4b9dd1 | 49 | #:use-module (gnu packages kde-plasma) |
70c488f8 | 50 | #:use-module (gnu packages linux) |
bf076d8b | 51 | #:use-module (gnu packages perl) |
af291d1c | 52 | #:use-module (gnu packages lxde) |
cc7f4175 | 53 | #:use-module (gnu packages maths) |
31fd62c8 | 54 | #:use-module (gnu packages openbox) |
af291d1c | 55 | #:use-module (gnu packages pcre) |
79f9e4e0 | 56 | #:use-module (gnu packages photo) |
e5e06930 | 57 | #:use-module (gnu packages pkg-config) |
9861bcd1 | 58 | #:use-module (gnu packages polkit) |
af291d1c | 59 | #:use-module (gnu packages pulseaudio) |
9861bcd1 | 60 | #:use-module (gnu packages qt) |
32b74b70 | 61 | #:use-module (gnu packages textutils) |
af291d1c | 62 | #:use-module (gnu packages xdisorg) |
31fd62c8 | 63 | #:use-module (gnu packages xml) |
9861bcd1 | 64 | #:use-module (gnu packages xorg)) |
e5e06930 | 65 | |
26127ebb MP |
66 | |
67 | ;; Third party libraries | |
68 | ||
64fac507 MP |
69 | (define-public libdbusmenu-qt |
70 | (package | |
71 | (name "libdbusmenu-qt") | |
72 | (version "0.9.3+16.04.20160218-0ubuntu1") | |
73 | (source | |
74 | (origin | |
86caf997 RW |
75 | (method git-fetch) |
76 | ;; Download from github rather than launchpad because launchpad trunk | |
64fac507 | 77 | ;; tarball hash is not deterministic. |
86caf997 RW |
78 | (uri (git-reference |
79 | (url "https://github.com/unity8-team/libdbusmenu-qt.git") | |
80 | (commit version))) | |
81 | (file-name (git-file-name name version)) | |
64fac507 | 82 | (sha256 |
86caf997 | 83 | (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg")))) |
64fac507 MP |
84 | (build-system cmake-build-system) |
85 | (arguments | |
86 | ;; XXX: Tests require a dbus session and some icons. | |
87 | '(#:tests? #f)) | |
88 | (native-inputs | |
89 | `(("doxygen" ,doxygen))) | |
90 | (inputs | |
91 | `(("qtbase" ,qtbase))) | |
92 | (home-page "https://launchpad.net/libdbusmenu-qt") | |
93 | (synopsis "Qt implementation of the DBusMenu spec") | |
94 | (description "This library provides a Qt implementation of the DBusMenu | |
95 | protocol. The DBusMenu protocol makes it possible for applications to export | |
96 | and import their menus over DBus.") | |
a6b941dd | 97 | (license license:lgpl2.1+))) |
64fac507 | 98 | |
26127ebb | 99 | (define-public libstatgrab |
79f9e4e0 | 100 | (package |
26127ebb MP |
101 | (name "libstatgrab") |
102 | (version "0.91") | |
79f9e4e0 MP |
103 | (source |
104 | (origin | |
105 | (method url-fetch) | |
26127ebb MP |
106 | (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/" |
107 | name "-" version ".tar.gz")) | |
79f9e4e0 | 108 | (sha256 |
26127ebb MP |
109 | (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83")))) |
110 | (build-system gnu-build-system) | |
79f9e4e0 | 111 | (arguments |
26127ebb | 112 | '(#:configure-flags '("--enable-tests"))) |
79f9e4e0 | 113 | (native-inputs |
26127ebb MP |
114 | ;; For testing. |
115 | `(("perl" ,perl))) | |
116 | (home-page "https://www.i-scream.org/libstatgrab/") | |
117 | (synopsis "Provides access to statistics about the system") | |
118 | (description "libstatgrab is a library that provides cross platform access | |
119 | to statistics about the system on which it's run.") | |
120 | ;; Libraries are under LGPL2.1+, and programs under GPLv2+. | |
121 | (license license:gpl2+))) | |
79f9e4e0 | 122 | |
26127ebb MP |
123 | |
124 | ;; Base | |
125 | ||
126 | (define-public lxqt-build-tools | |
d58aefdf | 127 | (package |
26127ebb | 128 | (name "lxqt-build-tools") |
5b7a354d | 129 | (version "0.6.0") |
d58aefdf MP |
130 | (source |
131 | (origin | |
132 | (method url-fetch) | |
769921fe TGR |
133 | (uri (string-append "https://github.com/lxqt/lxqt-build-tools/releases" |
134 | "/download/" version | |
135 | "/lxqt-build-tools-" version ".tar.xz")) | |
d58aefdf | 136 | (sha256 |
5b7a354d | 137 | (base32 "0n0p0mf12n9f7zm2592779rpqrbcamfdz87nnjb8j058bc8g3214")))) |
d58aefdf MP |
138 | (build-system cmake-build-system) |
139 | (arguments | |
cbea1e8d MP |
140 | `(#:tests? #f ; no tests |
141 | #:configure-flags | |
142 | ;; 'startlxqt' will add LXQT_DATA_DIR to XDG_DATA_DIRS, | |
143 | ;; LXQT_ETC_XDG_DIR to XDG_CONFIG_DIRS, and 'lxqt-about' will report | |
144 | ;; LXQT_ETC_XDG_DIR in its "Technical Info". | |
145 | '("-DLXQT_DATA_DIR=/run/current-system/profile/share" | |
146 | "-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg"))) | |
d58aefdf | 147 | (native-inputs |
26127ebb MP |
148 | `(("pkg-config" ,pkg-config) |
149 | ("glib" ,glib))) | |
150 | (inputs | |
151 | `(("qtbase" ,qtbase))) | |
152 | (synopsis "LXQt Build tools") | |
153 | (description | |
154 | "Lxqt-build-tools is providing several tools needed to build LXQt | |
155 | itself as well as other components maintained by the LXQt project.") | |
156 | (home-page "https://lxqt.org") | |
a6b941dd | 157 | (license license:lgpl2.1+))) |
d58aefdf | 158 | |
e5e06930 AE |
159 | (define-public libqtxdg |
160 | (package | |
161 | (name "libqtxdg") | |
4a7f1322 | 162 | (version "3.4.0") |
e5e06930 AE |
163 | (source |
164 | (origin | |
165 | (method url-fetch) | |
50401c2a | 166 | (uri (string-append |
63b9834d TGR |
167 | "https://github.com/lxqt/libqtxdg/releases/download/" |
168 | version "/libqtxdg-" version ".tar.xz")) | |
e5e06930 | 169 | (sha256 |
4a7f1322 | 170 | (base32 "0vmn59653dmy79mnbnibhdq9jmh11091zkfx0y0qh58rj2xvpdbv")))) |
e5e06930 AE |
171 | (build-system cmake-build-system) |
172 | (arguments | |
a457e3f6 MP |
173 | '(#:configure-flags |
174 | '("-DBUILD_TESTS=ON" | |
175 | "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines") | |
50401c2a MP |
176 | #:phases |
177 | (modify-phases %standard-phases | |
178 | (add-before 'check 'pre-check | |
179 | (lambda _ | |
180 | ;; Run the tests offscreen. | |
181 | (setenv "QT_QPA_PLATFORM" "offscreen") | |
182 | #t))))) | |
02559739 | 183 | (propagated-inputs |
50401c2a | 184 | ;; required by Qt5XdgIconLoader.pc |
4a7f1322 TGR |
185 | `(("glib" ,glib) |
186 | ("qtbase" ,qtbase) | |
50401c2a | 187 | ("qtsvg" ,qtsvg))) |
c1105c4b | 188 | (native-inputs |
4a7f1322 TGR |
189 | `(("lxqt-build-tools" ,lxqt-build-tools) |
190 | ("pkg-config" ,pkg-config))) | |
50401c2a | 191 | (home-page "https://github.com/lxqt/libqtxdg") |
e5e06930 AE |
192 | (synopsis "Qt implementation of freedesktop.org xdg specifications") |
193 | (description "Libqtxdg implements the freedesktop.org xdg specifications | |
194 | in Qt.") | |
a6b941dd | 195 | (license license:lgpl2.1+))) |
6bb5a8a1 | 196 | |
26127ebb | 197 | (define-public liblxqt |
bf076d8b | 198 | (package |
26127ebb | 199 | (name "liblxqt") |
9f87e52f | 200 | (version "0.14.1") |
bf076d8b MP |
201 | (source |
202 | (origin | |
203 | (method url-fetch) | |
26127ebb MP |
204 | (uri (string-append |
205 | "https://github.com/lxqt/" name "/releases/download/" | |
206 | version "/" name "-" version ".tar.xz")) | |
bf076d8b | 207 | (sha256 |
9f87e52f | 208 | (base32 "1gb922npf6nw4w3nkvh4czk8xmdzzqkzq3zgl1h303fjaib359qs")))) |
26127ebb | 209 | (build-system cmake-build-system) |
bf076d8b | 210 | (arguments |
26127ebb | 211 | `(#:tests? #f ; no tests |
26127ebb MP |
212 | #:phases |
213 | (modify-phases %standard-phases | |
214 | (add-after 'unpack 'patch-source | |
215 | (lambda _ | |
216 | (substitute* "CMakeLists.txt" | |
217 | (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}") | |
097166df | 218 | "DESTINATION \"share/polkit-1/actions")) |
9f87e52f MP |
219 | #t)) |
220 | (add-after 'unpack 'patch-translations-dir | |
221 | (lambda* (#:key outputs #:allow-other-keys) | |
222 | (substitute* "CMakeLists.txt" | |
223 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
224 | (string-append (assoc-ref outputs "out") | |
225 | "/share/lxqt/translations"))) | |
26127ebb MP |
226 | #t))))) |
227 | (inputs | |
228 | `(("kwindowsystem" ,kwindowsystem) | |
229 | ("libqtxdg" ,libqtxdg) | |
230 | ("libxscrnsaver" ,libxscrnsaver) | |
231 | ("polkit-qt" ,polkit-qt) | |
232 | ("qtsvg" ,qtsvg) | |
233 | ("qtx11extras" ,qtx11extras))) | |
bf076d8b | 234 | (native-inputs |
26127ebb MP |
235 | `(("lxqt-build-tools" ,lxqt-build-tools) |
236 | ("qttools" ,qttools))) | |
237 | (home-page "https://lxqt.org/") | |
238 | (synopsis "Core utility library for all LXQt components") | |
239 | (description "liblxqt provides the basic libraries shared by the | |
240 | components of the LXQt desktop environment.") | |
241 | (license license:lgpl2.1+))) | |
bf076d8b | 242 | |
fbe645ea MP |
243 | (define-public libsysstat |
244 | (package | |
245 | (name "libsysstat") | |
4c3553ab | 246 | (version "0.4.2") |
fbe645ea MP |
247 | (source |
248 | (origin | |
249 | (method url-fetch) | |
250 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
251 | version "/" name "-" version ".tar.xz")) | |
252 | (sha256 | |
4c3553ab | 253 | (base32 "0rz9w49khra9kl91kfnd3wxkldy1fqf6755mvlgbsqxb1yv8597w")))) |
fbe645ea MP |
254 | (build-system cmake-build-system) |
255 | (arguments '(#:tests? #f)) ; no tests | |
256 | (inputs | |
257 | `(("qtbase" ,qtbase))) | |
258 | (native-inputs | |
259 | `(("lxqt-build-tools" ,lxqt-build-tools))) | |
260 | (home-page "https://lxqt.org/") | |
261 | (synopsis "Library used to query system info and statistics") | |
262 | (description "libsysstat is a library to query system information like CPU | |
263 | and memory usage or network traffic.") | |
a6b941dd | 264 | (license license:lgpl2.1+))) |
fbe645ea | 265 | |
26127ebb MP |
266 | |
267 | ;; Core | |
268 | ||
2bdab26f MP |
269 | (define-public lxqt-about |
270 | (package | |
271 | (name "lxqt-about") | |
f42b4080 | 272 | (version "0.14.1") |
2bdab26f MP |
273 | (source |
274 | (origin | |
275 | (method url-fetch) | |
276 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
277 | version "/" name "-" version ".tar.xz")) | |
278 | (sha256 | |
f42b4080 | 279 | (base32 "01xp5ddcxc9wvl7jm4179hjrirj07mpzm9z50936d1fqx34wfbis")))) |
2bdab26f MP |
280 | (build-system cmake-build-system) |
281 | (inputs | |
282 | `(("kwindowsystem" ,kwindowsystem) | |
283 | ("liblxqt" ,liblxqt) | |
284 | ("libqtxdg" ,libqtxdg) | |
285 | ("qtbase" ,qtbase) | |
286 | ("qtsvg" ,qtsvg) | |
287 | ("qtx11extras" ,qtx11extras))) | |
288 | (native-inputs | |
289 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
290 | ("qttools" ,qttools))) | |
291 | (arguments | |
292 | '(#:tests? #f ; no tests | |
f42b4080 MP |
293 | #:phases |
294 | (modify-phases %standard-phases | |
625697ea DM |
295 | (add-before 'build 'setenv |
296 | (lambda _ | |
297 | (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1") | |
298 | #t)) | |
f42b4080 MP |
299 | (add-after 'unpack 'patch-translations-dir |
300 | (lambda* (#:key outputs #:allow-other-keys) | |
301 | (substitute* "CMakeLists.txt" | |
302 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
303 | (string-append (assoc-ref outputs "out") | |
304 | "/share/lxqt/translations"))) | |
305 | #t))))) | |
2bdab26f MP |
306 | (home-page "https://lxqt.org") |
307 | (synopsis "Provides information about LXQt and the system") | |
308 | (description "lxqt-about is a dialogue window providing information about | |
309 | LXQt and the system it's running on.") | |
a6b941dd | 310 | (license license:lgpl2.1+))) |
34e08de3 MP |
311 | |
312 | (define-public lxqt-admin | |
313 | (package | |
314 | (name "lxqt-admin") | |
6a75a1a5 | 315 | (version "0.14.1") |
34e08de3 MP |
316 | (source |
317 | (origin | |
318 | (method url-fetch) | |
319 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
320 | version "/" name "-" version ".tar.xz")) | |
321 | (sha256 | |
6a75a1a5 | 322 | (base32 "0f0skkxqyhpidpd5phliax869v4n2whvglg8rahzia2zhw4ylzry")))) |
34e08de3 MP |
323 | (build-system cmake-build-system) |
324 | (inputs | |
325 | `(("kwindowsystem" ,kwindowsystem) | |
326 | ("liblxqt" ,liblxqt) | |
327 | ("libqtxdg" ,libqtxdg) | |
328 | ("polkit-qt" ,polkit-qt) | |
329 | ("qtsvg" ,qtsvg) | |
330 | ("qtx11extras" ,qtx11extras))) | |
331 | (native-inputs | |
332 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
333 | ("qttools" ,qttools))) | |
334 | (arguments | |
335 | '(#:tests? #f ; no tests | |
34e08de3 MP |
336 | #:phases |
337 | (modify-phases %standard-phases | |
338 | (add-after 'unpack 'patch-source | |
339 | (lambda _ | |
340 | (substitute* "lxqt-admin-user/CMakeLists.txt" | |
341 | (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}") | |
097166df | 342 | "DESTINATION \"share/polkit-1/actions")) |
6a75a1a5 MP |
343 | #t)) |
344 | (add-after 'unpack 'patch-translations-dir | |
345 | (lambda* (#:key outputs #:allow-other-keys) | |
346 | (substitute* '("lxqt-admin-time/CMakeLists.txt" | |
347 | "lxqt-admin-user/CMakeLists.txt") | |
348 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
349 | (string-append (assoc-ref outputs "out") | |
350 | "/share/lxqt/translations"))) | |
34e08de3 MP |
351 | #t))))) |
352 | (home-page "https://lxqt.org") | |
353 | (synopsis "LXQt system administration tool") | |
354 | (description "lxqt-admin is providing two GUI tools to adjust settings of | |
355 | the operating system LXQt is running on.") | |
a6b941dd | 356 | (license license:lgpl2.1+))) |
2bdab26f | 357 | |
35bfe41a MP |
358 | (define-public lxqt-config |
359 | (package | |
360 | (name "lxqt-config") | |
2493df44 | 361 | (version "0.14.1") |
35bfe41a MP |
362 | (source |
363 | (origin | |
364 | (method url-fetch) | |
365 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
366 | version "/" name "-" version ".tar.xz")) | |
367 | (sha256 | |
2493df44 | 368 | (base32 "16k36knv6d72gg8hp7423l3ic43y3l3zbaf3spqn2a354y30myrg")))) |
35bfe41a MP |
369 | (build-system cmake-build-system) |
370 | (inputs | |
2493df44 MP |
371 | `(("eudev" ,eudev) |
372 | ("kwindowsystem" ,kwindowsystem) | |
35bfe41a MP |
373 | ("libkscreen" ,libkscreen) |
374 | ("liblxqt" ,liblxqt) | |
375 | ("libqtxdg" ,libqtxdg) | |
376 | ("libxcursor" ,libxcursor) | |
2493df44 | 377 | ("libxi" ,libxi) |
35bfe41a MP |
378 | ("qtbase" ,qtbase) |
379 | ("qtsvg" ,qtsvg) | |
380 | ("qtx11extras" ,qtx11extras) | |
381 | ("solid" ,solid) | |
2493df44 | 382 | ("xf86-input-libinput" ,xf86-input-libinput) |
6cd07787 | 383 | ("xkeyboard-config" ,xkeyboard-config) |
35bfe41a MP |
384 | ("zlib" ,zlib))) |
385 | (native-inputs | |
386 | `(("pkg-config" ,pkg-config) | |
387 | ("lxqt-build-tools" ,lxqt-build-tools) | |
388 | ("qttools" ,qttools))) | |
389 | (arguments | |
390 | '(#:tests? #f ; no tests | |
35bfe41a MP |
391 | #:phases |
392 | (modify-phases %standard-phases | |
393 | (add-after 'unpack 'patch-source | |
394 | (lambda _ | |
395 | (substitute* '("src/CMakeLists.txt") | |
396 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 397 | "DESTINATION \"etc/xdg")) |
2493df44 | 398 | #t)) |
6cd07787 FS |
399 | (add-after 'unpack 'set-xkeyboard-config-file-name |
400 | (lambda* (#:key inputs #:allow-other-keys) | |
401 | ;; Set the file name to xkeyboard-config. | |
402 | (let ((xkb (assoc-ref inputs "xkeyboard-config"))) | |
403 | (substitute* "lxqt-config-input/keyboardlayoutconfig.h" | |
404 | (("/usr/share/X11/xkb/rules/base.lst") | |
405 | (string-append xkb "/share/X11/xkb/rules/base.lst"))) | |
406 | #t))) | |
2493df44 MP |
407 | (add-after 'unpack 'patch-translations-dir |
408 | (lambda* (#:key outputs #:allow-other-keys) | |
409 | (substitute* '("lxqt-config-file-associations/CMakeLists.txt" | |
410 | "lxqt-config-brightness/CMakeLists.txt" | |
411 | "lxqt-config-appearance/CMakeLists.txt" | |
412 | "lxqt-config-locale/CMakeLists.txt" | |
413 | "lxqt-config-monitor/CMakeLists.txt" | |
414 | "lxqt-config-input/CMakeLists.txt" | |
415 | "liblxqt-config-cursor/CMakeLists.txt" | |
416 | "src/CMakeLists.txt") | |
417 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
418 | (string-append (assoc-ref outputs "out") | |
419 | "/share/lxqt/translations"))) | |
35bfe41a MP |
420 | #t))))) |
421 | (home-page "https://lxqt.org") | |
422 | (synopsis "Tools to configure LXQt and the underlying operating system") | |
423 | (description "lxqt-config is providing several tools involved in the | |
424 | configuration of both LXQt and the underlying operating system.") | |
425 | (license license:lgpl2.1+))) | |
426 | ||
fab34846 MP |
427 | (define-public lxqt-globalkeys |
428 | (package | |
429 | (name "lxqt-globalkeys") | |
47de1caa | 430 | (version "0.14.3") |
fab34846 MP |
431 | (source |
432 | (origin | |
433 | (method url-fetch) | |
7bed07fc TGR |
434 | (uri (string-append "https://github.com/lxqt/lxqt-globalkeys/" |
435 | "releases/download/" version "/" | |
436 | "lxqt-globalkeys-" version ".tar.xz")) | |
fab34846 | 437 | (sha256 |
47de1caa | 438 | (base32 "0mgl05qxvq4pdqvcw34i2cbyy87x605wy3np62mrbbb1kdfjrfg6")))) |
fab34846 MP |
439 | (build-system cmake-build-system) |
440 | (inputs | |
441 | `(("kwindowsystem" ,kwindowsystem) | |
442 | ("liblxqt" ,liblxqt) | |
443 | ("libqtxdg" ,libqtxdg) | |
444 | ("qtbase" ,qtbase) | |
445 | ("qtsvg" ,qtsvg) | |
446 | ("qtx11extras" ,qtx11extras))) | |
447 | (native-inputs | |
448 | `(("pkg-config" ,pkg-config) | |
449 | ("qttools" ,qttools) | |
450 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
451 | (arguments | |
452 | '(#:tests? #f ; no tests | |
fab34846 MP |
453 | #:phases |
454 | (modify-phases %standard-phases | |
455 | (add-after 'unpack 'patch-source | |
456 | (lambda _ | |
457 | (substitute* '("autostart/CMakeLists.txt" | |
458 | "xdg/CMakeLists.txt") | |
459 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 460 | "DESTINATION \"etc/xdg")) |
39387425 MP |
461 | #t)) |
462 | (add-after 'unpack 'patch-translations-dir | |
463 | (lambda* (#:key outputs #:allow-other-keys) | |
464 | (substitute* "config/CMakeLists.txt" | |
465 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
466 | (string-append (assoc-ref outputs "out") | |
467 | "/share/lxqt/translations"))) | |
fab34846 MP |
468 | #t))))) |
469 | (home-page "https://lxqt.org/") | |
470 | (synopsis "Daemon used to register global keyboard shortcuts") | |
471 | (description "lxqt-globalkeys is providing tools to set global keyboard | |
472 | shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session | |
473 | as a whole and are not limited to distinct applications.") | |
a6b941dd | 474 | (license license:lgpl2.1+))) |
fab34846 | 475 | |
a98000a4 MP |
476 | (define-public lxqt-notificationd |
477 | (package | |
478 | (name "lxqt-notificationd") | |
4625cc66 | 479 | (version "0.14.1") |
a98000a4 MP |
480 | (source |
481 | (origin | |
482 | (method url-fetch) | |
483 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
484 | version "/" name "-" version ".tar.xz")) | |
485 | (sha256 | |
4625cc66 | 486 | (base32 "1kiag3fcx12qmslln6x6lwvm4f1spymwf71389kdya3vwx7hkmcy")))) |
a98000a4 MP |
487 | (build-system cmake-build-system) |
488 | (inputs | |
489 | `(("kwindowsystem" ,kwindowsystem) | |
490 | ("liblxqt" ,liblxqt) | |
491 | ("libqtxdg" ,libqtxdg) | |
492 | ("qtbase" ,qtbase) | |
493 | ("qtsvg" ,qtsvg) | |
494 | ("qtx11extras" ,qtx11extras))) | |
495 | (native-inputs | |
496 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
497 | ("qttools" ,qttools))) | |
498 | (arguments | |
499 | '(#:tests? #f ; no test target | |
a98000a4 MP |
500 | #:phases |
501 | (modify-phases %standard-phases | |
502 | (add-after 'unpack 'patch-source | |
503 | (lambda _ | |
504 | (substitute* '("autostart/CMakeLists.txt") | |
505 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 506 | "DESTINATION \"etc/xdg")) |
4625cc66 MP |
507 | #t)) |
508 | (add-after 'unpack 'patch-translations-dir | |
509 | (lambda* (#:key outputs #:allow-other-keys) | |
510 | (substitute* '("config/CMakeLists.txt" | |
511 | "src/CMakeLists.txt") | |
512 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
513 | (string-append (assoc-ref outputs "out") | |
514 | "/share/lxqt/translations"))) | |
a98000a4 MP |
515 | #t))))) |
516 | (home-page "https://lxqt.org/") | |
517 | (synopsis "The LXQt notification daemon") | |
518 | (description "lxqt-notificationd is LXQt's implementation of a daemon | |
519 | according to the Desktop Notifications Specification.") | |
520 | (license license:lgpl2.1+))) | |
ca302c3e MP |
521 | |
522 | (define-public lxqt-openssh-askpass | |
523 | (package | |
524 | (name "lxqt-openssh-askpass") | |
a728afb6 | 525 | (version "0.14.1") |
ca302c3e MP |
526 | (source |
527 | (origin | |
528 | (method url-fetch) | |
529 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
530 | version "/" name "-" version ".tar.xz")) | |
531 | (sha256 | |
a728afb6 | 532 | (base32 "1fvbgjidpifn420avh8n1gym49vcz6zgayz7xygg1x93s4awy1cs")))) |
ca302c3e MP |
533 | (build-system cmake-build-system) |
534 | (inputs | |
535 | `(("kwindowsystem" ,kwindowsystem) | |
536 | ("liblxqt" ,liblxqt) | |
537 | ("libqtxdg" ,libqtxdg) | |
538 | ("qtbase" ,qtbase) | |
539 | ("qtsvg" ,qtsvg) | |
540 | ("qtx11extras" ,qtx11extras))) | |
541 | (native-inputs | |
542 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
543 | ("qttools" ,qttools))) | |
544 | (arguments | |
545 | '(#:tests? #f ; no tests | |
a728afb6 MP |
546 | #:phases |
547 | (modify-phases %standard-phases | |
548 | (add-after 'unpack 'patch-translations-dir | |
549 | (lambda* (#:key outputs #:allow-other-keys) | |
550 | (substitute* "CMakeLists.txt" | |
551 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
552 | (string-append (assoc-ref outputs "out") | |
553 | "/share/lxqt/translations"))) | |
554 | #t))))) | |
ca302c3e MP |
555 | (home-page "https://lxqt.org/") |
556 | (synopsis "GUI to query passwords on behalf of SSH agents") | |
557 | (description "lxqt-openssh-askpass is a GUI to query credentials on behalf | |
558 | of other programs.") | |
559 | (license license:lgpl2.1+))) | |
a98000a4 | 560 | |
af291d1c MP |
561 | (define-public lxqt-panel |
562 | (package | |
563 | (name "lxqt-panel") | |
c4a17525 | 564 | (version "0.14.1") |
af291d1c MP |
565 | (source |
566 | (origin | |
567 | (method url-fetch) | |
568 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
569 | version "/" name "-" version ".tar.xz")) | |
570 | (sha256 | |
c4a17525 | 571 | (base32 "1r3wx0v3jm7j41h7gxr49izc9xa1afvrzq4wcdm0qbj98qa1rgpq")))) |
af291d1c MP |
572 | (build-system cmake-build-system) |
573 | (inputs | |
574 | `(("alsa-lib" ,alsa-lib) | |
575 | ("kguiaddons" ,kguiaddons) | |
af291d1c MP |
576 | ("libdbusmenu-qt" ,libdbusmenu-qt) |
577 | ("liblxqt" ,liblxqt) | |
578 | ("libqtxdg" ,libqtxdg) | |
579 | ("libstatgrab" ,libstatgrab) | |
b42b5afd | 580 | ("libsysstat" ,libsysstat) |
af291d1c MP |
581 | ("libxcomposite" ,libxcomposite) |
582 | ("libxdamage" ,libxdamage) | |
583 | ("libxkbcommon" ,libxkbcommon) | |
584 | ("libxrender" ,libxrender) | |
585 | ("lm-sensors" ,lm-sensors "lib") | |
586 | ("lxqt-globalkeys" ,lxqt-globalkeys) | |
587 | ("pcre" ,pcre) | |
588 | ("pulseaudio" ,pulseaudio) | |
589 | ("qtbase" ,qtbase) | |
590 | ("qtsvg" ,qtsvg) | |
591 | ("qtx11extras" ,qtx11extras) | |
592 | ("solid" ,solid) | |
593 | ("xcb-util" ,xcb-util))) | |
594 | (native-inputs | |
595 | `(("pkg-config" ,pkg-config) | |
596 | ("lxqt-build-tools" ,lxqt-build-tools) | |
597 | ("qttools" ,qttools))) | |
8f5371d0 RAM |
598 | (propagated-inputs |
599 | ;; Propagating KWINDOWSYSTEM so that the list of opened applications | |
600 | ;; shows up in lxqt-panel's taskbar plugin. | |
601 | `(("kwindowsystem" ,kwindowsystem))) | |
af291d1c MP |
602 | (arguments |
603 | '(#:tests? #f ; no tests | |
af291d1c MP |
604 | #:phases |
605 | (modify-phases %standard-phases | |
606 | (add-after 'unpack 'patch-source | |
607 | (lambda _ | |
608 | (substitute* '("autostart/CMakeLists.txt" | |
609 | "menu/CMakeLists.txt") | |
610 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 611 | "DESTINATION \"etc/xdg")) |
c4a17525 MP |
612 | #t)) |
613 | (add-after 'unpack 'patch-translations-dir | |
614 | (lambda* (#:key outputs #:allow-other-keys) | |
615 | (substitute* '("cmake/BuildPlugin.cmake" | |
616 | "panel/CMakeLists.txt") | |
617 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
618 | (string-append (assoc-ref outputs "out") | |
619 | "/share/lxqt/translations"))) | |
af291d1c MP |
620 | #t))))) |
621 | (home-page "https://lxqt.org/") | |
622 | (synopsis "The LXQt desktop panel") | |
623 | (description "lxqt-panel represents the taskbar of LXQt.") | |
a6b941dd | 624 | (license license:lgpl2.1+))) |
af291d1c | 625 | |
bf0da63a MP |
626 | (define-public lxqt-policykit |
627 | (package | |
628 | (name "lxqt-policykit") | |
45ef5374 | 629 | (version "0.14.1") |
bf0da63a MP |
630 | (source |
631 | (origin | |
632 | (method url-fetch) | |
633 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
634 | version "/" name "-" version ".tar.xz")) | |
635 | (sha256 | |
45ef5374 | 636 | (base32 "127rqb0nprybkc41lk0yq0r0dk5pbbw22gvrm4pwag71qh8wpk5i")))) |
bf0da63a MP |
637 | (build-system cmake-build-system) |
638 | (inputs | |
639 | `(("kwindowsystem" ,kwindowsystem) | |
640 | ("liblxqt" ,liblxqt) | |
641 | ("libqtxdg" ,libqtxdg) | |
642 | ("pcre" ,pcre) | |
643 | ("polkit-qt" ,polkit-qt) | |
644 | ("qtbase" ,qtbase) | |
645 | ("qtsvg" ,qtsvg) | |
646 | ("qtx11extras" ,qtx11extras))) | |
647 | (native-inputs | |
648 | `(("pkg-config" ,pkg-config) | |
649 | ("polkit" ,polkit) | |
650 | ("lxqt-build-tools" ,lxqt-build-tools) | |
651 | ("qttools" ,qttools))) | |
652 | (arguments | |
653 | '(#:tests? #f ; no test target | |
bf0da63a MP |
654 | #:phases |
655 | (modify-phases %standard-phases | |
656 | (add-after 'unpack 'patch-source | |
657 | (lambda _ | |
658 | (substitute* '("autostart/CMakeLists.txt") | |
659 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 660 | "DESTINATION \"etc/xdg")) |
45ef5374 MP |
661 | #t)) |
662 | (add-after 'unpack 'patch-translations-dir | |
663 | (lambda* (#:key outputs #:allow-other-keys) | |
664 | (substitute* "CMakeLists.txt" | |
665 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
666 | (string-append (assoc-ref outputs "out") | |
667 | "/share/lxqt/translations"))) | |
bf0da63a MP |
668 | #t))))) |
669 | (home-page "https://lxqt.org/") | |
670 | (synopsis "The LXQt PolicyKit agent") | |
245289f8 | 671 | (description "lxqt-policykit is the polkit authentication agent of |
bf0da63a MP |
672 | LXQt.") |
673 | (license license:lgpl2.1+))) | |
674 | ||
643961bb MP |
675 | (define-public lxqt-powermanagement |
676 | (package | |
677 | (name "lxqt-powermanagement") | |
84dea9bb | 678 | (version "0.14.1") |
643961bb MP |
679 | (source |
680 | (origin | |
681 | (method url-fetch) | |
682 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
683 | version "/" name "-" version ".tar.xz")) | |
684 | (sha256 | |
84dea9bb | 685 | (base32 "06bvgbkbl9p9n8ba5cfsynqgmpb5c8yfnsvp7zqhflj8k9p9msip")))) |
643961bb MP |
686 | (build-system cmake-build-system) |
687 | (inputs | |
688 | `(("kidletime" ,kidletime) | |
689 | ("kwindowsystem" ,kwindowsystem) | |
690 | ("liblxqt" ,liblxqt) | |
691 | ("libqtxdg" ,libqtxdg) | |
692 | ("qtbase" ,qtbase) | |
693 | ("qtsvg" ,qtsvg) | |
694 | ("qtx11extras" ,qtx11extras) | |
695 | ("solid" ,solid))) | |
696 | (native-inputs | |
697 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
698 | ("qttools" ,qttools))) | |
699 | (arguments | |
700 | '(#:tests? #f ; no tests | |
643961bb MP |
701 | #:phases |
702 | (modify-phases %standard-phases | |
703 | (add-after 'unpack 'patch-source | |
704 | (lambda _ | |
705 | (substitute* '("autostart/CMakeLists.txt") | |
706 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 707 | "DESTINATION \"etc/xdg")) |
84dea9bb MP |
708 | #t)) |
709 | (add-after 'unpack 'patch-translations-dir | |
710 | (lambda* (#:key outputs #:allow-other-keys) | |
711 | (substitute* '("config/CMakeLists.txt" | |
712 | "src/CMakeLists.txt") | |
713 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
714 | (string-append (assoc-ref outputs "out") | |
715 | "/share/lxqt/translations"))) | |
643961bb MP |
716 | #t))))) |
717 | (home-page "https://lxqt.org/") | |
718 | (synopsis "Power management module for LXQt") | |
719 | (description "lxqt-powermanagement is providing tools to monitor power | |
720 | management events and optionally trigger actions like e. g. shut down a system | |
721 | when laptop batteries are low on power.") | |
722 | (license license:lgpl2.1+))) | |
723 | ||
5663b5b0 MP |
724 | (define-public lxqt-qtplugin |
725 | (package | |
726 | (name "lxqt-qtplugin") | |
63c80bd7 | 727 | (version "0.14.0") |
5663b5b0 MP |
728 | (source |
729 | (origin | |
730 | (method url-fetch) | |
731 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
732 | version "/" name "-" version ".tar.xz")) | |
733 | (sha256 | |
63c80bd7 | 734 | (base32 "18y7xfxwyismcycg70q6r8zrcygz1pdcvg6lqc6ba7azqb9806ds")))) |
5663b5b0 MP |
735 | (build-system cmake-build-system) |
736 | (inputs | |
737 | `(("libdbusmenu-qt" ,libdbusmenu-qt) | |
738 | ("libfm-qt" ,libfm-qt) | |
739 | ("libqtxdg" ,libqtxdg) | |
740 | ("qtbase" ,qtbase) | |
741 | ("qtsvg" ,qtsvg) | |
742 | ("qtx11extras" ,qtx11extras))) | |
743 | (native-inputs | |
744 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
745 | ("qttools" ,qttools))) | |
746 | (arguments | |
747 | '(#:tests? #f ; no tests | |
748 | #:phases | |
749 | (modify-phases %standard-phases | |
750 | (add-after 'unpack 'patch-source | |
751 | (lambda _ | |
752 | (substitute* '("src/CMakeLists.txt") | |
753 | (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}") | |
097166df | 754 | "DESTINATION \"lib/qt5/plugins")) |
5663b5b0 MP |
755 | #t))))) |
756 | (home-page "https://lxqt.org/") | |
757 | (synopsis "LXQt Qt platform integration plugin") | |
758 | (description "lxqt-qtplugin is providing a library libqtlxqt to integrate | |
759 | Qt with LXQt.") | |
760 | (license license:lgpl2.1+))) | |
761 | ||
cc7f4175 MP |
762 | (define-public lxqt-runner |
763 | (package | |
764 | (name "lxqt-runner") | |
1b8daca2 | 765 | (version "0.14.1") |
cc7f4175 MP |
766 | (source |
767 | (origin | |
768 | (method url-fetch) | |
769 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
770 | version "/" name "-" version ".tar.xz")) | |
771 | (sha256 | |
1b8daca2 | 772 | (base32 "1c687shypivkhjrpzs1jcy5l2i8d7xzm31c4is1xx6x9nbkgm4bm")))) |
cc7f4175 MP |
773 | (build-system cmake-build-system) |
774 | (inputs | |
775 | `(("kwindowsystem" ,kwindowsystem) | |
776 | ("liblxqt" ,liblxqt) | |
777 | ("libqtxdg" ,libqtxdg) | |
778 | ("lxqt-globalkeys" ,lxqt-globalkeys) | |
779 | ("muparser" ,muparser) | |
780 | ("pcre" ,pcre) | |
781 | ("qtbase" ,qtbase) | |
782 | ("qtsvg" ,qtsvg) | |
783 | ("qtx11extras" ,qtx11extras))) | |
784 | (native-inputs | |
785 | `(("pkg-config" ,pkg-config) | |
b42b5afd | 786 | ("qttools" ,qttools) |
cc7f4175 MP |
787 | ("lxqt-build-tools" ,lxqt-build-tools))) |
788 | (arguments | |
789 | '(#:tests? #f ; no tests | |
cc7f4175 MP |
790 | #:phases |
791 | (modify-phases %standard-phases | |
792 | (add-after 'unpack 'patch-source | |
793 | (lambda _ | |
794 | (substitute* '("autostart/CMakeLists.txt") | |
795 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 796 | "DESTINATION \"etc/xdg")) |
1b8daca2 MP |
797 | #t)) |
798 | (add-after 'unpack 'patch-translations-dir | |
799 | (lambda* (#:key outputs #:allow-other-keys) | |
800 | (substitute* "CMakeLists.txt" | |
801 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
802 | (string-append (assoc-ref outputs "out") | |
803 | "/share/lxqt/translations"))) | |
cc7f4175 MP |
804 | #t))))) |
805 | (home-page "https://lxqt.org/") | |
806 | (synopsis "Tool used to launch programs quickly by typing their names") | |
807 | (description "lxqt-runner provides a GUI that comes up on the desktop and | |
808 | allows for launching applications or shutting down the system.") | |
a6b941dd | 809 | (license license:lgpl2.1+))) |
cc7f4175 | 810 | |
54033a4d AE |
811 | (define-public lxqt-session |
812 | (package | |
813 | (name "lxqt-session") | |
536afd9b | 814 | (version "0.14.1") |
54033a4d AE |
815 | (source |
816 | (origin | |
817 | (method url-fetch) | |
70c488f8 MP |
818 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" |
819 | version "/" name "-" version ".tar.xz")) | |
54033a4d | 820 | (sha256 |
536afd9b | 821 | (base32 "11i2vimv3336dvvxb6y5csdybwjncr7cq3kwlj52vkpisnxslvgy")))) |
54033a4d | 822 | (build-system cmake-build-system) |
54033a4d | 823 | (inputs |
70c488f8 MP |
824 | `(("eudev" ,eudev) |
825 | ("kwindowsystem" ,kwindowsystem) | |
54033a4d | 826 | ("liblxqt" ,liblxqt) |
e099d2a6 EF |
827 | ("libqtxdg" ,libqtxdg) |
828 | ("qtbase" ,qtbase) | |
70c488f8 | 829 | ("qtsvg" ,qtsvg) |
70c488f8 MP |
830 | ("qtx11extras" ,qtx11extras) |
831 | ("xdg-user-dirs" ,xdg-user-dirs))) | |
832 | (native-inputs | |
833 | `(("pkg-config" ,pkg-config) | |
f2b48558 MP |
834 | ("lxqt-build-tools" ,lxqt-build-tools) |
835 | ("qttools" ,qttools))) | |
54033a4d | 836 | (arguments |
70c488f8 | 837 | `(#:tests? #f |
54033a4d | 838 | #:phases |
70c488f8 MP |
839 | (modify-phases %standard-phases |
840 | (add-after 'unpack 'patch-source | |
54033a4d | 841 | (lambda _ |
70c488f8 MP |
842 | (substitute* '("autostart/CMakeLists.txt" |
843 | "config/CMakeLists.txt") | |
844 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 845 | "DESTINATION \"etc/xdg")) |
536afd9b | 846 | #t)) |
42f3eb2e RAM |
847 | ;; add write permission to lxqt-rc.xml file which is stored as read-only in store |
848 | (add-after 'unpack 'patch-openbox-permission | |
849 | (lambda _ | |
850 | (substitute* "startlxqt.in" | |
851 | (("cp \"\\$LXQT_DEFAULT_OPENBOX_CONFIG\" \"\\$XDG_CONFIG_HOME/openbox\"") | |
852 | (string-append "cp \"$LXQT_DEFAULT_OPENBOX_CONFIG\" \"$XDG_CONFIG_HOME/openbox\"\n" | |
853 | " # fix openbox permission issue\n" | |
854 | " chmod u+w \"$XDG_CONFIG_HOME/openbox\"/*"))) | |
855 | #t)) | |
536afd9b MP |
856 | (add-after 'unpack 'patch-translations-dir |
857 | (lambda* (#:key outputs #:allow-other-keys) | |
858 | (substitute* '("lxqt-config-session/CMakeLists.txt" | |
859 | "lxqt-leave/CMakeLists.txt" | |
860 | "lxqt-session/CMakeLists.txt") | |
861 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
862 | (string-append (assoc-ref outputs "out") | |
863 | "/share/lxqt/translations"))) | |
70c488f8 MP |
864 | #t))))) |
865 | (home-page "https://lxqt.org/") | |
54033a4d AE |
866 | (synopsis "Session manager for LXQt") |
867 | (description "lxqt-session provides the standard session manager | |
868 | for the LXQt desktop environment.") | |
a6b941dd | 869 | (license license:lgpl2.1+))) |
dbb4f7d0 MP |
870 | |
871 | (define-public lxqt-sudo | |
872 | (package | |
873 | (name "lxqt-sudo") | |
3b7348c4 | 874 | (version "0.14.1") |
dbb4f7d0 MP |
875 | (source |
876 | (origin | |
877 | (method url-fetch) | |
878 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
879 | version "/" name "-" version ".tar.xz")) | |
880 | (sha256 | |
3b7348c4 | 881 | (base32 "0mbygp2kkppwk7sxvpnwavdwrx88mh7ldcg6xm3zw1ndp29danay")))) |
dbb4f7d0 MP |
882 | (build-system cmake-build-system) |
883 | (inputs | |
884 | `(("kwindowsystem" ,kwindowsystem) | |
885 | ("liblxqt" ,liblxqt) | |
886 | ("libqtxdg" ,libqtxdg) | |
887 | ("qtbase" ,qtbase) | |
888 | ("qtsvg" ,qtsvg) | |
889 | ("qtx11extras" ,qtx11extras) | |
890 | ("sudo" ,sudo))) | |
891 | (native-inputs | |
892 | `(("pkg-config" ,pkg-config) | |
893 | ("qttools" ,qttools) | |
894 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
895 | (arguments | |
896 | '(#:tests? #f ; no tests | |
3b7348c4 MP |
897 | #:phases |
898 | (modify-phases %standard-phases | |
899 | (add-after 'unpack 'patch-translations-dir | |
900 | (lambda* (#:key outputs #:allow-other-keys) | |
901 | (substitute* "CMakeLists.txt" | |
902 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
903 | (string-append (assoc-ref outputs "out") | |
904 | "/share/lxqt/translations"))) | |
905 | #t))))) | |
dbb4f7d0 MP |
906 | (home-page "https://lxqt.org/") |
907 | (synopsis "GUI frontend for sudo/su") | |
908 | (description "lxqt-sudo is a graphical front-end of commands sudo and su | |
909 | respectively. As such it enables regular users to launch applications with | |
910 | permissions of other users including root.") | |
a6b941dd | 911 | (license license:lgpl2.1+))) |
d6fd4a76 | 912 | |
26127ebb | 913 | (define-public lxqt-themes |
84f6a990 | 914 | (package |
26127ebb | 915 | (name "lxqt-themes") |
3cc904ab | 916 | (version "0.14.0") |
84f6a990 MP |
917 | (source |
918 | (origin | |
919 | (method url-fetch) | |
920 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
921 | version "/" name "-" version ".tar.xz")) | |
922 | (sha256 | |
3cc904ab | 923 | (base32 "0p7svdpp0z44hvgrp2aip6hym0gdhbanyxsz6iz8sjnn28c995ia")))) |
26127ebb MP |
924 | (build-system cmake-build-system) |
925 | (native-inputs | |
926 | `(("lxqt-build-tools" ,lxqt-build-tools))) | |
927 | (arguments | |
928 | `(#:tests? #f ; no tests | |
929 | #:phases | |
930 | (modify-phases %standard-phases | |
931 | (add-after 'unpack 'patch-source | |
932 | (lambda _ | |
933 | (substitute* '("CMakeLists.txt") | |
934 | (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}") | |
097166df | 935 | "DESTINATION \"share/lxqt/graphics")) |
26127ebb MP |
936 | (substitute* '("themes/CMakeLists.txt") |
937 | (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}") | |
097166df | 938 | "DESTINATION \"share/lxqt")) |
26127ebb MP |
939 | #t))))) |
940 | (home-page "https://lxqt.org/") | |
941 | (synopsis "Themes, graphics and icons for LXQt") | |
942 | (description "This package comprises a number of graphic files and themes | |
943 | for LXQt.") | |
944 | ;; The whole package is released under LGPL 2.1+, while the LXQt logo is | |
945 | ;; licensed under CC-BY-SA 3.0. | |
946 | (license license:lgpl2.1+))) | |
947 | ||
948 | ||
949 | ;; File Manager | |
950 | ||
951 | (define-public libfm-qt | |
952 | (package | |
953 | (name "libfm-qt") | |
b3f56292 | 954 | (version "0.14.1") |
26127ebb MP |
955 | (source |
956 | (origin | |
957 | (method url-fetch) | |
958 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
959 | version "/" name "-" version ".tar.xz")) | |
960 | (sha256 | |
b3f56292 | 961 | (base32 "06p3wqpc574v9f94wkq9hqmbbvb9q8phfpq301z55c5r939f4hrp")))) |
84f6a990 | 962 | (build-system cmake-build-system) |
26127ebb | 963 | (arguments |
b3f56292 | 964 | '(#:tests? #f)) ; no tests |
84f6a990 MP |
965 | (inputs |
966 | `(("glib" ,glib) | |
26127ebb MP |
967 | ("libexif" ,libexif) |
968 | ("libfm" ,libfm) | |
969 | ("libxcb" ,libxcb) | |
970 | ("menu-cache" ,menu-cache) | |
84f6a990 | 971 | ("pcre" ,pcre) |
84f6a990 MP |
972 | ("qtbase" ,qtbase) |
973 | ("qtx11extras" ,qtx11extras))) | |
974 | (native-inputs | |
975 | `(("pkg-config" ,pkg-config) | |
976 | ("lxqt-build-tools" ,lxqt-build-tools) | |
977 | ("qttools" ,qttools))) | |
84f6a990 | 978 | (home-page "https://lxqt.org/") |
26127ebb MP |
979 | (synopsis "Qt binding for libfm") |
980 | (description "libfm-qt is the Qt port of libfm, a library providing | |
981 | components to build desktop file managers which belongs to LXDE.") | |
84f6a990 MP |
982 | (license license:lgpl2.1+))) |
983 | ||
d6fd4a76 MP |
984 | (define-public pcmanfm-qt |
985 | (package | |
986 | (name "pcmanfm-qt") | |
cd7248bb | 987 | (version "0.14.1") |
d6fd4a76 MP |
988 | (source |
989 | (origin | |
990 | (method url-fetch) | |
991 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
992 | version "/" name "-" version ".tar.xz")) | |
993 | (sha256 | |
cd7248bb | 994 | (base32 "0x3c25inlxll965xszx37mnl5gp3smm2h7x04f67z0qlh3vsbrjq")))) |
d6fd4a76 MP |
995 | (build-system cmake-build-system) |
996 | (inputs | |
13efb248 RAM |
997 | `(("glib:bin" ,glib "bin") |
998 | ("libfm-qt" ,libfm-qt) | |
d6fd4a76 MP |
999 | ("qtbase" ,qtbase) |
1000 | ("qtx11extras" ,qtx11extras))) | |
1001 | (native-inputs | |
1002 | `(("pkg-config" ,pkg-config) | |
1003 | ("qttools" ,qttools) | |
1004 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
1005 | (arguments | |
1006 | '(#:tests? #f ; no tests | |
d6fd4a76 MP |
1007 | #:phases |
1008 | (modify-phases %standard-phases | |
1009 | (add-after 'unpack 'patch-source | |
1010 | (lambda _ | |
1011 | (substitute* '("autostart/CMakeLists.txt") | |
1012 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 1013 | "DESTINATION \"etc/xdg")) |
13efb248 RAM |
1014 | #t)) |
1015 | (add-after 'install 'wrap-glib | |
1016 | (lambda* (#:key outputs inputs #:allow-other-keys) | |
1017 | (let* ((out (assoc-ref outputs "out")) | |
1018 | (glib (assoc-ref inputs "glib:bin")) | |
1019 | (gio-exe-path (string-append glib "/bin/gio-launch-desktop"))) | |
1020 | (if (file-exists? gio-exe-path) | |
1021 | (wrap-program (string-append out "/bin/pcmanfm-qt") | |
1022 | `("GIO_LAUNCH_DESKTOP" = (,gio-exe-path))) | |
1023 | (error "could not find gio-launch-desktop")) | |
1024 | #t)))))) | |
d6fd4a76 MP |
1025 | (home-page "https://lxqt.org/") |
1026 | (synopsis "File manager and desktop icon manager") | |
1027 | (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of | |
1028 | LXDE.") | |
6f00fb75 | 1029 | (license license:gpl2+))) |
0aab2349 | 1030 | |
26127ebb MP |
1031 | |
1032 | ;; Extra | |
1033 | ||
32b74b70 MP |
1034 | (define-public compton-conf |
1035 | (package | |
1036 | (name "compton-conf") | |
3f0294c1 | 1037 | (version "0.14.1") |
32b74b70 MP |
1038 | (source |
1039 | (origin | |
1040 | (method url-fetch) | |
1041 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1042 | version "/" name "-" version ".tar.xz")) | |
1043 | (sha256 | |
3f0294c1 | 1044 | (base32 "11n8k59jd0q2x66cispc9dpk139mp6j99hq1yjccxvh21vhc7mbc")))) |
32b74b70 MP |
1045 | (build-system cmake-build-system) |
1046 | (inputs | |
1047 | `(("libconfig" ,libconfig) | |
1048 | ("qtbase" ,qtbase))) | |
1049 | (native-inputs | |
1050 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
1051 | ("pkg-config" ,pkg-config) | |
1052 | ("qttools" ,qttools))) | |
1053 | (arguments | |
1054 | '(#:tests? #f ; no tests | |
32b74b70 MP |
1055 | #:phases |
1056 | (modify-phases %standard-phases | |
1057 | (add-after 'unpack 'patch-source | |
1058 | (lambda _ | |
1059 | (substitute* '("autostart/CMakeLists.txt") | |
1060 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 1061 | "DESTINATION \"etc/xdg")) |
32b74b70 MP |
1062 | #t))))) |
1063 | (home-page "https://lxqt.org/") | |
1064 | (synopsis "GUI configuration tool for compton X composite manager") | |
1065 | (description "@code{compton-conf} is a configuration tool for X composite | |
1066 | manager Compton.") | |
1067 | (license license:lgpl2.1+))) | |
1068 | ||
604bdae7 MP |
1069 | (define-public lximage-qt |
1070 | (package | |
1071 | (name "lximage-qt") | |
f2a8c02c | 1072 | (version "0.14.1") |
604bdae7 MP |
1073 | (source |
1074 | (origin | |
1075 | (method url-fetch) | |
1076 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1077 | version "/" name "-" version ".tar.xz")) | |
1078 | (sha256 | |
f2a8c02c | 1079 | (base32 "0iiq55rm4z2jp19q1pbd2whifwvxg052q324vrwp4p7nz0wh04za")))) |
604bdae7 MP |
1080 | (build-system cmake-build-system) |
1081 | (inputs | |
1082 | `(("libexif" ,libexif) | |
1083 | ("libfm-qt" ,libfm-qt) | |
1084 | ("qtbase" ,qtbase) | |
1085 | ("qtsvg" ,qtsvg) | |
1086 | ("qtx11extras" ,qtx11extras))) | |
1087 | (native-inputs | |
1088 | `(("pkg-config" ,pkg-config) | |
1089 | ("lxqt-build-tools" ,lxqt-build-tools) | |
1090 | ("qttools" ,qttools))) | |
1091 | (arguments | |
f2a8c02c | 1092 | '(#:tests? #f)) ; no tests |
604bdae7 MP |
1093 | (home-page "https://lxqt.org/") |
1094 | (synopsis "The image viewer and screenshot tool for lxqt") | |
1095 | (description "LXImage-Qt is the Qt port of LXImage, a simple and fast | |
1096 | image viewer.") | |
6f00fb75 | 1097 | (license license:gpl2+))) |
604bdae7 | 1098 | |
31fd62c8 MP |
1099 | (define-public obconf-qt |
1100 | (package | |
1101 | (name "obconf-qt") | |
b42bd22e | 1102 | (version "0.14.1") |
31fd62c8 MP |
1103 | (source |
1104 | (origin | |
1105 | (method url-fetch) | |
1106 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1107 | version "/" name "-" version ".tar.xz")) | |
1108 | (sha256 | |
b42bd22e | 1109 | (base32 "1kzb7364150b60qd3wcgnw78b9ia5k3b16kq8w3p1y7pg6pddy8m")))) |
31fd62c8 MP |
1110 | (build-system cmake-build-system) |
1111 | (inputs | |
1112 | `(("imlib2" ,imlib2) | |
1113 | ("libsm" ,libsm) | |
1114 | ("librsvg" ,librsvg) | |
1115 | ("libxft" ,libxft) | |
1116 | ("libxml2" ,libxml2) | |
1117 | ("openbox" ,openbox) | |
1118 | ("pango" ,pango) | |
1119 | ("pcre" ,pcre) | |
1120 | ("qtbase" ,qtbase) | |
1121 | ("qtx11extras" ,qtx11extras))) | |
1122 | (native-inputs | |
1123 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
1124 | ("pkg-config" ,pkg-config) | |
1125 | ("qttools" ,qttools))) | |
1126 | (arguments | |
b42bd22e | 1127 | '(#:tests? #f)) ; no tests |
31fd62c8 MP |
1128 | (home-page "https://lxqt.org/") |
1129 | (synopsis "Openbox configuration tool") | |
1130 | (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for | |
1131 | window manager OpenBox.") | |
1132 | (license license:gpl2+))) | |
1133 | ||
26127ebb MP |
1134 | (define-public pavucontrol-qt |
1135 | (package | |
1136 | (name "pavucontrol-qt") | |
f376b325 | 1137 | (version "0.14.1") |
26127ebb MP |
1138 | (source |
1139 | (origin | |
1140 | (method url-fetch) | |
1141 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1142 | version "/" name "-" version ".tar.xz")) | |
1143 | (sha256 | |
f376b325 | 1144 | (base32 "18mw5r8grfrf95vxjbqrr790kl5l59qdqcmlxmwa6rwbfgywj1fq")))) |
26127ebb MP |
1145 | (build-system cmake-build-system) |
1146 | (inputs | |
1147 | `(("glib" ,glib) | |
1148 | ("pcre" ,pcre) | |
1149 | ("pulseaudio" ,pulseaudio) | |
1150 | ("qtbase" ,qtbase) | |
1151 | ("qtx11extras" ,qtx11extras))) | |
1152 | (native-inputs | |
1153 | `(("pkg-config" ,pkg-config) | |
1154 | ("lxqt-build-tools" ,lxqt-build-tools) | |
1155 | ("qttools" ,qttools))) | |
1156 | (arguments | |
f376b325 | 1157 | '(#:tests? #f)) ; no tests |
26127ebb MP |
1158 | (home-page "https://lxqt.org/") |
1159 | (synopsis "Pulseaudio mixer in Qt") | |
1160 | (description "@code{pavucontrol-qt} is the Qt port of volume control | |
1161 | @code{pavucontrol} of sound server @code{PulseAudio}.") | |
6f00fb75 | 1162 | (license license:gpl2+))) |
26127ebb | 1163 | |
9886134c MP |
1164 | (define-public qps |
1165 | (package | |
1166 | (name "qps") | |
fc813163 | 1167 | (version "2.0.0") |
9886134c MP |
1168 | (source |
1169 | (origin | |
1170 | (method url-fetch) | |
1171 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1172 | version "/" name "-" version ".tar.xz")) | |
1173 | (sha256 | |
fc813163 | 1174 | (base32 "0ysnh918n9wz2vgjvyix32kx2j0v4lskjacgcychrpb8sch2dbsi")))) |
9886134c MP |
1175 | (build-system cmake-build-system) |
1176 | (inputs | |
1177 | `(("libxrender" ,libxrender) | |
1178 | ("qtbase" ,qtbase) | |
1179 | ("qtx11extras" ,qtx11extras))) | |
1180 | (native-inputs | |
6d3a2dbe MP |
1181 | `(("lxqt-build-tools" ,lxqt-build-tools) |
1182 | ("qttools" ,qttools))) | |
9886134c MP |
1183 | (arguments |
1184 | '(#:tests? #f)) ; no tests | |
1185 | (home-page "https://lxqt.org/") | |
1186 | (synopsis "Qt-based visual process status monitor") | |
1187 | (description "@code{qps} is a monitor that displays the status of the | |
1188 | processes currently in existence, much like code{top} or code{ps}.") | |
1189 | (license license:gpl2+))) | |
1190 | ||
0aab2349 MP |
1191 | (define-public qtermwidget |
1192 | (package | |
1193 | (name "qtermwidget") | |
238e42a3 | 1194 | (version "0.14.1") |
0aab2349 MP |
1195 | (source |
1196 | (origin | |
1197 | (method url-fetch) | |
1198 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1199 | version "/" name "-" version ".tar.xz")) | |
1200 | (sha256 | |
238e42a3 | 1201 | (base32 "0v1vvi8vf9y8nv8y0gzffaqji53s75ab5jypksih0ndcws8ryww4")))) |
0aab2349 MP |
1202 | (build-system cmake-build-system) |
1203 | (inputs | |
c3a7dae8 KK |
1204 | `(("qtbase" ,qtbase) |
1205 | ("utf8proc" ,utf8proc))) | |
0aab2349 MP |
1206 | (native-inputs |
1207 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
1208 | ("qttools" ,qttools))) | |
1209 | (arguments | |
238e42a3 | 1210 | '(#:tests? #f)) ; no tests |
0aab2349 MP |
1211 | (home-page "https://lxqt.org/") |
1212 | (synopsis "The terminal widget for QTerminal") | |
1213 | (description "QTermWidget is a terminal emulator widget for Qt 5.") | |
6f00fb75 | 1214 | (license license:gpl2+))) |
7e9e775f MP |
1215 | |
1216 | (define-public qterminal | |
1217 | (package | |
1218 | (name "qterminal") | |
d30cd1a5 | 1219 | (version "0.14.1") |
7e9e775f MP |
1220 | (source |
1221 | (origin | |
1222 | (method url-fetch) | |
1223 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1224 | version "/" name "-" version ".tar.xz")) | |
1225 | (sha256 | |
d30cd1a5 | 1226 | (base32 "0cgyaskyqginmm85d11inbi0mmxrsrnvgyx6g4l4l4iqpphfq670")))) |
7e9e775f MP |
1227 | (build-system cmake-build-system) |
1228 | (inputs | |
1229 | `(("qtbase" ,qtbase) | |
1230 | ("qtx11extras" ,qtx11extras) | |
1231 | ("qtermwidget" ,qtermwidget))) | |
1232 | (native-inputs | |
1233 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
1234 | ("qttools" ,qttools))) | |
1235 | (arguments | |
d30cd1a5 | 1236 | '(#:tests? #f)) ; no tests |
7e9e775f MP |
1237 | (home-page "https://lxqt.org/") |
1238 | (synopsis "Lightweight Qt-based terminal emulator") | |
1239 | (description "QTerminal is a lightweight Qt terminal emulator based on | |
1240 | QTermWidget.") | |
6f00fb75 | 1241 | (license license:gpl2+))) |
4b88ab55 MP |
1242 | |
1243 | (define-public screengrab | |
1244 | (package | |
1245 | (name "screengrab") | |
50bc1d01 | 1246 | (version "1.101") |
4b88ab55 MP |
1247 | (source |
1248 | (origin | |
1249 | (method url-fetch) | |
063bc5f8 TGR |
1250 | (uri (string-append "https://github.com/lxqt/screengrab/releases/download/" |
1251 | version "/screengrab-" version ".tar.xz")) | |
4b88ab55 | 1252 | (sha256 |
50bc1d01 | 1253 | (base32 "05f81xjlmiykd7iwx5xns5vnynjq4js4x1bk8wd648frrksp44fa")))) |
4b88ab55 MP |
1254 | (build-system cmake-build-system) |
1255 | (inputs | |
1256 | `(("kwindowsystem" ,kwindowsystem) | |
1257 | ("libqtxdg" ,libqtxdg) | |
1258 | ("qtbase" ,qtbase) | |
1259 | ("qtsvg" ,qtsvg) | |
1260 | ("qtx11extras" ,qtx11extras))) | |
1261 | (native-inputs | |
1262 | `(("pkg-config" ,pkg-config) | |
1263 | ("qttools" ,qttools))) | |
1264 | (arguments | |
1265 | '(#:tests? #f)) ; no tests | |
1266 | (home-page "https://lxqt.org/") | |
1267 | (synopsis "Crossplatform tool for fast making screenshots") | |
1268 | (description "ScreenGrab is a program for fast creating screenshots, and | |
1269 | easily publishing them on internet image hosting services.") | |
6f00fb75 | 1270 | (license license:gpl2+))) |
1fdcee02 MP |
1271 | |
1272 | ||
403b4e06 RAM |
1273 | (define-public lxqt-archiver |
1274 | (package | |
1275 | (name "lxqt-archiver") | |
1276 | (version "0.0.96") | |
1277 | (source | |
1278 | (origin | |
1279 | (method git-fetch) | |
1280 | (uri (git-reference | |
1281 | (url (string-append "https://github.com/lxqt/" name ".git")) | |
1282 | (commit version))) | |
1283 | (file-name (git-file-name name version)) | |
1284 | (sha256 | |
1285 | (base32 "09rw774vxj96wcpxxncz6nr9bmw7l4l0kwylmz1saq6rpa2yvn2i")))) | |
1286 | (build-system cmake-build-system) | |
1287 | (inputs | |
1288 | `(("glib" ,glib) | |
1289 | ("json-glib" ,json-glib) | |
1290 | ("libfm-qt" ,libfm-qt) | |
1291 | ("qtbase" ,qtbase) | |
1292 | ("qtx11extras" ,qtx11extras))) | |
1293 | (native-inputs | |
1294 | `(("pkg-config" ,pkg-config) | |
1295 | ("lxqt-build-tools" ,lxqt-build-tools) | |
1296 | ("qttools" ,qttools))) | |
1297 | (arguments | |
1298 | '(#:tests? #f)) | |
1299 | (home-page "https://lxqt.org/") | |
1300 | (synopsis "Simple & lightweight desktop-agnostic Qt file archiver") | |
1301 | (description | |
1302 | "This package provides a Qt graphical interface to archiving programs | |
1303 | like @command{tar} and @command{zip}.") | |
1304 | (license license:gpl2+))) | |
1305 | ||
c10c77a7 RAM |
1306 | (define-public lxqt-connman-applet |
1307 | ;; since the main developers didn't release any version yet, their | |
1308 | ;; latest commit on `master` branch at the moment used for this version. | |
1309 | (let ((commit "3db374eebd8d851f68a50fc5d1ef5fa9478c275e") | |
1310 | (revision "0")) | |
1311 | (package | |
1312 | (name "lxqt-connman-applet") | |
1313 | (version (git-version "0.14.1" revision commit)) | |
1314 | (source | |
1315 | (origin | |
1316 | (method git-fetch) | |
1317 | (uri (git-reference | |
1318 | (url (string-append "https://github.com/lxqt/" name ".git")) | |
1319 | (commit commit))) | |
1320 | (file-name (git-file-name name version)) | |
1321 | (sha256 (base32 "1brkyzjmpa7hiv8p8rvmkcgagchh2zn71ry4pjiplga05as3jc11")))) | |
1322 | (build-system cmake-build-system) | |
1323 | (inputs | |
1324 | `(("kwindowsystem" ,kwindowsystem) | |
1325 | ("qtbase" ,qtbase) | |
1326 | ("qtsvg" ,qtsvg) | |
1327 | ("liblxqt" ,liblxqt) | |
1328 | ("qtx11extras" ,qtx11extras) | |
1329 | ("libqtxdg" ,libqtxdg))) | |
1330 | (native-inputs | |
1331 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
1332 | ("qtlinguist" ,qttools))) | |
1333 | (arguments | |
1334 | `(#:tests? #f ; no tests | |
1335 | #:phases | |
1336 | (modify-phases %standard-phases | |
1337 | (add-after 'unpack 'patch-translations-dir | |
1338 | (lambda* (#:key outputs #:allow-other-keys) | |
1339 | (substitute* "CMakeLists.txt" | |
1340 | (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") | |
1341 | (string-append (assoc-ref outputs "out") | |
1342 | "/share/lxqt/translations")) | |
1343 | (("\\$\\{LXQT_ETC_XDG_DIR\\}") "etc/xdg")) | |
1344 | #t))))) | |
1345 | (home-page "https://github.com/lxqt/lxqt-connman-applet") | |
1346 | (synopsis "System-tray applet for connman") | |
1347 | (description "This package provides a Qt-based system-tray applet for | |
1348 | the network management tool Connman, originally developed for the LXQT | |
1349 | desktop.") | |
1350 | (license license:lgpl2.1+)))) | |
1351 | ||
1fdcee02 MP |
1352 | ;; The LXQt Desktop Environment |
1353 | ||
1354 | (define-public lxqt | |
1355 | (package | |
1356 | (name "lxqt") | |
1357 | (version (package-version lxqt-session)) | |
1358 | (source #f) | |
1359 | (build-system trivial-build-system) | |
1360 | (arguments '(#:builder (begin (mkdir %output) #t))) | |
1361 | (propagated-inputs | |
1362 | `(;; XDG | |
1363 | ("desktop-file-utils" ,desktop-file-utils) | |
1364 | ("hicolor-icon-theme" ,hicolor-icon-theme) | |
1365 | ("xdg-user-dirs" ,xdg-user-dirs) | |
1366 | ("xdg-utils" ,xdg-utils) | |
1367 | ;; Base | |
1368 | ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it | |
1369 | ;; should be added to their propagated-inputs? | |
1370 | ("qtsvg" ,qtsvg) | |
1371 | ;; Core | |
1372 | ("lxqt-about" ,lxqt-about) | |
1373 | ("lxqt-admin" ,lxqt-admin) | |
1374 | ("lxqt-config" ,lxqt-config) | |
1375 | ("lxqt-notificationd" ,lxqt-notificationd) | |
1376 | ("lxqt-openssh-askpass" ,lxqt-openssh-askpass) | |
1377 | ("lxqt-panel" ,lxqt-panel) | |
1378 | ("lxqt-policykit" ,lxqt-policykit) | |
1379 | ("lxqt-powermanagement" ,lxqt-powermanagement) | |
1380 | ("lxqt-qtplugin" ,lxqt-qtplugin) | |
1381 | ("lxqt-runner" ,lxqt-runner) | |
1382 | ("lxqt-session" ,lxqt-session) | |
1383 | ("lxqt-sudo" ,lxqt-sudo) | |
1384 | ("lxqt-themes" ,lxqt-themes) | |
1385 | ("pcmanfm-qt" ,pcmanfm-qt) | |
1386 | ;; Extra | |
1387 | ("compton" ,compton) | |
1388 | ("compton-conf" ,compton-conf) | |
1389 | ("font-dejavu" ,font-dejavu) | |
1390 | ("lximage-qt" ,lximage-qt) | |
1391 | ("obconf-qt" ,obconf-qt) | |
1392 | ("openbox" ,openbox) | |
1393 | ("oxygen-icons" ,oxygen-icons) | |
1394 | ("pavucontrol-qt" ,pavucontrol-qt) | |
1395 | ("qps" ,qps) | |
a46c00a3 | 1396 | ("qterminal" ,qterminal))) |
1fdcee02 MP |
1397 | (synopsis "The Lightweight Qt Desktop Environment") |
1398 | (description "LXQt is a lightweight Qt desktop environment.") | |
87146f31 | 1399 | (home-page "https://lxqt.org/") |
6f00fb75 | 1400 | (license license:gpl2+))) |