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