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