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> |
4a78fd46 | 6 | ;;; Copyright © 2017 Nils Gillmann <ng0@n0.is> |
063bc5f8 | 7 | ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> |
50401c2a | 8 | ;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com> |
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 MP |
126 | (name "lxqt-build-tools") |
127 | (version "0.5.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 |
26127ebb | 135 | (base32 "13b5x26p6ycnwzlgg1cgvlc88wjrjmlb3snrrmzh0xgh9h6hhvd6")))) |
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") | |
50401c2a | 160 | (version "3.2.0") |
e5e06930 AE |
161 | (source |
162 | (origin | |
163 | (method url-fetch) | |
50401c2a MP |
164 | (uri (string-append |
165 | "https://github.com/lxqt/" name "/releases/download/" | |
166 | version "/" name "-" version ".tar.xz")) | |
e5e06930 | 167 | (sha256 |
50401c2a | 168 | (base32 "0lq548pa69hfvnbj2ypba5ygm8n6v6g7bqqm8p5g538l1l3394cl")))) |
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))) | |
185 | (home-page "https://github.com/lxqt/libqtxdg") | |
e5e06930 AE |
186 | (synopsis "Qt implementation of freedesktop.org xdg specifications") |
187 | (description "Libqtxdg implements the freedesktop.org xdg specifications | |
188 | in Qt.") | |
a6b941dd | 189 | (license license:lgpl2.1+))) |
6bb5a8a1 | 190 | |
26127ebb | 191 | (define-public liblxqt |
bf076d8b | 192 | (package |
26127ebb MP |
193 | (name "liblxqt") |
194 | (version "0.13.0") | |
bf076d8b MP |
195 | (source |
196 | (origin | |
197 | (method url-fetch) | |
26127ebb MP |
198 | (uri (string-append |
199 | "https://github.com/lxqt/" name "/releases/download/" | |
200 | version "/" name "-" version ".tar.xz")) | |
bf076d8b | 201 | (sha256 |
26127ebb MP |
202 | (base32 "0fba0nq5b9fvvmklcikcd4nwhzlp5d6k1q1f80r34kncdzfvj7dl")))) |
203 | (build-system cmake-build-system) | |
bf076d8b | 204 | (arguments |
26127ebb MP |
205 | `(#:tests? #f ; no tests |
206 | #:configure-flags | |
207 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
208 | '("-DPULL_TRANSLATIONS=NO") | |
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")) |
26127ebb MP |
216 | #t))))) |
217 | (inputs | |
218 | `(("kwindowsystem" ,kwindowsystem) | |
219 | ("libqtxdg" ,libqtxdg) | |
220 | ("libxscrnsaver" ,libxscrnsaver) | |
221 | ("polkit-qt" ,polkit-qt) | |
222 | ("qtsvg" ,qtsvg) | |
223 | ("qtx11extras" ,qtx11extras))) | |
bf076d8b | 224 | (native-inputs |
26127ebb MP |
225 | `(("lxqt-build-tools" ,lxqt-build-tools) |
226 | ("qttools" ,qttools))) | |
227 | (home-page "https://lxqt.org/") | |
228 | (synopsis "Core utility library for all LXQt components") | |
229 | (description "liblxqt provides the basic libraries shared by the | |
230 | components of the LXQt desktop environment.") | |
231 | (license license:lgpl2.1+))) | |
bf076d8b | 232 | |
fbe645ea MP |
233 | (define-public libsysstat |
234 | (package | |
235 | (name "libsysstat") | |
236 | (version "0.4.1") | |
237 | (source | |
238 | (origin | |
239 | (method url-fetch) | |
240 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
241 | version "/" name "-" version ".tar.xz")) | |
242 | (sha256 | |
243 | (base32 "0ngz8v3bixsdg96d5ipcyxd6nsrg52974xdxy9rnimahlv1yaxn3")))) | |
244 | (build-system cmake-build-system) | |
245 | (arguments '(#:tests? #f)) ; no tests | |
246 | (inputs | |
247 | `(("qtbase" ,qtbase))) | |
248 | (native-inputs | |
249 | `(("lxqt-build-tools" ,lxqt-build-tools))) | |
250 | (home-page "https://lxqt.org/") | |
251 | (synopsis "Library used to query system info and statistics") | |
252 | (description "libsysstat is a library to query system information like CPU | |
253 | and memory usage or network traffic.") | |
a6b941dd | 254 | (license license:lgpl2.1+))) |
fbe645ea | 255 | |
26127ebb MP |
256 | |
257 | ;; Core | |
258 | ||
2bdab26f MP |
259 | (define-public lxqt-about |
260 | (package | |
261 | (name "lxqt-about") | |
262 | (version "0.13.0") | |
263 | (source | |
264 | (origin | |
265 | (method url-fetch) | |
266 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
267 | version "/" name "-" version ".tar.xz")) | |
268 | (sha256 | |
269 | (base32 "08imj7p77ifzfxnn8c482mhrvfx9gi0rb43ab5rw1rkmfvax2n5w")))) | |
270 | (build-system cmake-build-system) | |
271 | (inputs | |
272 | `(("kwindowsystem" ,kwindowsystem) | |
273 | ("liblxqt" ,liblxqt) | |
274 | ("libqtxdg" ,libqtxdg) | |
275 | ("qtbase" ,qtbase) | |
276 | ("qtsvg" ,qtsvg) | |
277 | ("qtx11extras" ,qtx11extras))) | |
278 | (native-inputs | |
279 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
280 | ("qttools" ,qttools))) | |
281 | (arguments | |
282 | '(#:tests? #f ; no tests | |
283 | #:configure-flags | |
284 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
285 | '("-DPULL_TRANSLATIONS=NO"))) | |
286 | (home-page "https://lxqt.org") | |
287 | (synopsis "Provides information about LXQt and the system") | |
288 | (description "lxqt-about is a dialogue window providing information about | |
289 | LXQt and the system it's running on.") | |
a6b941dd | 290 | (license license:lgpl2.1+))) |
34e08de3 MP |
291 | |
292 | (define-public lxqt-admin | |
293 | (package | |
294 | (name "lxqt-admin") | |
295 | (version "0.13.0") | |
296 | (source | |
297 | (origin | |
298 | (method url-fetch) | |
299 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
300 | version "/" name "-" version ".tar.xz")) | |
301 | (sha256 | |
302 | (base32 "0qvpv668ja83ydbdrlal1596xhag3xlkbd6qlh9xwdpb7nysvns1")))) | |
303 | (build-system cmake-build-system) | |
304 | (inputs | |
305 | `(("kwindowsystem" ,kwindowsystem) | |
306 | ("liblxqt" ,liblxqt) | |
307 | ("libqtxdg" ,libqtxdg) | |
308 | ("polkit-qt" ,polkit-qt) | |
309 | ("qtsvg" ,qtsvg) | |
310 | ("qtx11extras" ,qtx11extras))) | |
311 | (native-inputs | |
312 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
313 | ("qttools" ,qttools))) | |
314 | (arguments | |
315 | '(#:tests? #f ; no tests | |
316 | #:configure-flags | |
317 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
318 | '("-DPULL_TRANSLATIONS=NO") | |
319 | #:phases | |
320 | (modify-phases %standard-phases | |
321 | (add-after 'unpack 'patch-source | |
322 | (lambda _ | |
323 | (substitute* "lxqt-admin-user/CMakeLists.txt" | |
324 | (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}") | |
097166df | 325 | "DESTINATION \"share/polkit-1/actions")) |
34e08de3 MP |
326 | #t))))) |
327 | (home-page "https://lxqt.org") | |
328 | (synopsis "LXQt system administration tool") | |
329 | (description "lxqt-admin is providing two GUI tools to adjust settings of | |
330 | the operating system LXQt is running on.") | |
a6b941dd | 331 | (license license:lgpl2.1+))) |
2bdab26f | 332 | |
35bfe41a MP |
333 | (define-public lxqt-config |
334 | (package | |
335 | (name "lxqt-config") | |
336 | (version "0.13.0") | |
337 | (source | |
338 | (origin | |
339 | (method url-fetch) | |
340 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
341 | version "/" name "-" version ".tar.xz")) | |
342 | (sha256 | |
343 | (base32 "0rizhl2v41kpgp57a61r6nmwcdw8nh9hprrrf33nfrdw8hpwxb95")))) | |
344 | (build-system cmake-build-system) | |
345 | (inputs | |
346 | `(("kwindowsystem" ,kwindowsystem) | |
347 | ("libkscreen" ,libkscreen) | |
348 | ("liblxqt" ,liblxqt) | |
349 | ("libqtxdg" ,libqtxdg) | |
350 | ("libxcursor" ,libxcursor) | |
351 | ("qtbase" ,qtbase) | |
352 | ("qtsvg" ,qtsvg) | |
353 | ("qtx11extras" ,qtx11extras) | |
354 | ("solid" ,solid) | |
355 | ("zlib" ,zlib))) | |
356 | (native-inputs | |
357 | `(("pkg-config" ,pkg-config) | |
358 | ("lxqt-build-tools" ,lxqt-build-tools) | |
359 | ("qttools" ,qttools))) | |
360 | (arguments | |
361 | '(#:tests? #f ; no tests | |
362 | #:configure-flags | |
363 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
364 | '("-DPULL_TRANSLATIONS=NO") | |
365 | #:phases | |
366 | (modify-phases %standard-phases | |
367 | (add-after 'unpack 'patch-source | |
368 | (lambda _ | |
369 | (substitute* '("src/CMakeLists.txt") | |
370 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 371 | "DESTINATION \"etc/xdg")) |
35bfe41a MP |
372 | #t))))) |
373 | (home-page "https://lxqt.org") | |
374 | (synopsis "Tools to configure LXQt and the underlying operating system") | |
375 | (description "lxqt-config is providing several tools involved in the | |
376 | configuration of both LXQt and the underlying operating system.") | |
377 | (license license:lgpl2.1+))) | |
378 | ||
fab34846 MP |
379 | (define-public lxqt-globalkeys |
380 | (package | |
381 | (name "lxqt-globalkeys") | |
382 | (version "0.13.0") | |
383 | (source | |
384 | (origin | |
385 | (method url-fetch) | |
386 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
387 | version "/" name "-" version ".tar.xz")) | |
388 | (sha256 | |
389 | (base32 "1gyvcjbhi7zpvgz1sf773dv9gc35hx5fz023njp9r4vl0dpcavgd")))) | |
390 | (build-system cmake-build-system) | |
391 | (inputs | |
392 | `(("kwindowsystem" ,kwindowsystem) | |
393 | ("liblxqt" ,liblxqt) | |
394 | ("libqtxdg" ,libqtxdg) | |
395 | ("qtbase" ,qtbase) | |
396 | ("qtsvg" ,qtsvg) | |
397 | ("qtx11extras" ,qtx11extras))) | |
398 | (native-inputs | |
399 | `(("pkg-config" ,pkg-config) | |
400 | ("qttools" ,qttools) | |
401 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
402 | (arguments | |
403 | '(#:tests? #f ; no tests | |
404 | #:configure-flags | |
405 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
406 | '("-DPULL_TRANSLATIONS=NO") | |
407 | #:phases | |
408 | (modify-phases %standard-phases | |
409 | (add-after 'unpack 'patch-source | |
410 | (lambda _ | |
411 | (substitute* '("autostart/CMakeLists.txt" | |
412 | "xdg/CMakeLists.txt") | |
413 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 414 | "DESTINATION \"etc/xdg")) |
fab34846 MP |
415 | #t))))) |
416 | (home-page "https://lxqt.org/") | |
417 | (synopsis "Daemon used to register global keyboard shortcuts") | |
418 | (description "lxqt-globalkeys is providing tools to set global keyboard | |
419 | shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session | |
420 | as a whole and are not limited to distinct applications.") | |
a6b941dd | 421 | (license license:lgpl2.1+))) |
fab34846 | 422 | |
a98000a4 MP |
423 | (define-public lxqt-notificationd |
424 | (package | |
425 | (name "lxqt-notificationd") | |
426 | (version "0.13.0") | |
427 | (source | |
428 | (origin | |
429 | (method url-fetch) | |
430 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
431 | version "/" name "-" version ".tar.xz")) | |
432 | (sha256 | |
433 | (base32 "1l0hdbvghyhqgvy4pih7rvz26bc6yc8a3l1bdj11hnkw62h1i7d6")))) | |
434 | (build-system cmake-build-system) | |
435 | (inputs | |
436 | `(("kwindowsystem" ,kwindowsystem) | |
437 | ("liblxqt" ,liblxqt) | |
438 | ("libqtxdg" ,libqtxdg) | |
439 | ("qtbase" ,qtbase) | |
440 | ("qtsvg" ,qtsvg) | |
441 | ("qtx11extras" ,qtx11extras))) | |
442 | (native-inputs | |
443 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
444 | ("qttools" ,qttools))) | |
445 | (arguments | |
446 | '(#:tests? #f ; no test target | |
447 | #:configure-flags | |
448 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
449 | '("-DPULL_TRANSLATIONS=NO") | |
450 | #:phases | |
451 | (modify-phases %standard-phases | |
452 | (add-after 'unpack 'patch-source | |
453 | (lambda _ | |
454 | (substitute* '("autostart/CMakeLists.txt") | |
455 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 456 | "DESTINATION \"etc/xdg")) |
a98000a4 MP |
457 | #t))))) |
458 | (home-page "https://lxqt.org/") | |
459 | (synopsis "The LXQt notification daemon") | |
460 | (description "lxqt-notificationd is LXQt's implementation of a daemon | |
461 | according to the Desktop Notifications Specification.") | |
462 | (license license:lgpl2.1+))) | |
ca302c3e MP |
463 | |
464 | (define-public lxqt-openssh-askpass | |
465 | (package | |
466 | (name "lxqt-openssh-askpass") | |
467 | (version "0.13.0") | |
468 | (source | |
469 | (origin | |
470 | (method url-fetch) | |
471 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
472 | version "/" name "-" version ".tar.xz")) | |
473 | (sha256 | |
474 | (base32 "0l2272gya8jgv71bvg2hz37lnhiznv4ng3j0p6j79f99hwb5ygpk")))) | |
475 | (build-system cmake-build-system) | |
476 | (inputs | |
477 | `(("kwindowsystem" ,kwindowsystem) | |
478 | ("liblxqt" ,liblxqt) | |
479 | ("libqtxdg" ,libqtxdg) | |
480 | ("qtbase" ,qtbase) | |
481 | ("qtsvg" ,qtsvg) | |
482 | ("qtx11extras" ,qtx11extras))) | |
483 | (native-inputs | |
484 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
485 | ("qttools" ,qttools))) | |
486 | (arguments | |
487 | '(#:tests? #f ; no tests | |
488 | #:configure-flags | |
489 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
490 | '("-DPULL_TRANSLATIONS=NO"))) | |
491 | (home-page "https://lxqt.org/") | |
492 | (synopsis "GUI to query passwords on behalf of SSH agents") | |
493 | (description "lxqt-openssh-askpass is a GUI to query credentials on behalf | |
494 | of other programs.") | |
495 | (license license:lgpl2.1+))) | |
a98000a4 | 496 | |
af291d1c MP |
497 | (define-public lxqt-panel |
498 | (package | |
499 | (name "lxqt-panel") | |
500 | (version "0.13.0") | |
501 | (source | |
502 | (origin | |
503 | (method url-fetch) | |
504 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
505 | version "/" name "-" version ".tar.xz")) | |
506 | (sha256 | |
507 | (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1")))) | |
508 | (build-system cmake-build-system) | |
509 | (inputs | |
510 | `(("alsa-lib" ,alsa-lib) | |
511 | ("kguiaddons" ,kguiaddons) | |
512 | ("kwindowsystem" ,kwindowsystem) | |
513 | ("libdbusmenu-qt" ,libdbusmenu-qt) | |
514 | ("liblxqt" ,liblxqt) | |
515 | ("libqtxdg" ,libqtxdg) | |
516 | ("libstatgrab" ,libstatgrab) | |
b42b5afd | 517 | ("libsysstat" ,libsysstat) |
af291d1c MP |
518 | ("libxcomposite" ,libxcomposite) |
519 | ("libxdamage" ,libxdamage) | |
520 | ("libxkbcommon" ,libxkbcommon) | |
521 | ("libxrender" ,libxrender) | |
522 | ("lm-sensors" ,lm-sensors "lib") | |
523 | ("lxqt-globalkeys" ,lxqt-globalkeys) | |
524 | ("pcre" ,pcre) | |
525 | ("pulseaudio" ,pulseaudio) | |
526 | ("qtbase" ,qtbase) | |
527 | ("qtsvg" ,qtsvg) | |
528 | ("qtx11extras" ,qtx11extras) | |
529 | ("solid" ,solid) | |
530 | ("xcb-util" ,xcb-util))) | |
531 | (native-inputs | |
532 | `(("pkg-config" ,pkg-config) | |
533 | ("lxqt-build-tools" ,lxqt-build-tools) | |
534 | ("qttools" ,qttools))) | |
535 | (arguments | |
536 | '(#:tests? #f ; no tests | |
537 | #:configure-flags | |
538 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
539 | '("-DPULL_TRANSLATIONS=NO") | |
540 | #:phases | |
541 | (modify-phases %standard-phases | |
542 | (add-after 'unpack 'patch-source | |
543 | (lambda _ | |
544 | (substitute* '("autostart/CMakeLists.txt" | |
545 | "menu/CMakeLists.txt") | |
546 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 547 | "DESTINATION \"etc/xdg")) |
af291d1c MP |
548 | #t))))) |
549 | (home-page "https://lxqt.org/") | |
550 | (synopsis "The LXQt desktop panel") | |
551 | (description "lxqt-panel represents the taskbar of LXQt.") | |
a6b941dd | 552 | (license license:lgpl2.1+))) |
af291d1c | 553 | |
bf0da63a MP |
554 | (define-public lxqt-policykit |
555 | (package | |
556 | (name "lxqt-policykit") | |
557 | (version "0.13.0") | |
558 | (source | |
559 | (origin | |
560 | (method url-fetch) | |
561 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
562 | version "/" name "-" version ".tar.xz")) | |
563 | (sha256 | |
564 | (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp")))) | |
565 | (build-system cmake-build-system) | |
566 | (inputs | |
567 | `(("kwindowsystem" ,kwindowsystem) | |
568 | ("liblxqt" ,liblxqt) | |
569 | ("libqtxdg" ,libqtxdg) | |
570 | ("pcre" ,pcre) | |
571 | ("polkit-qt" ,polkit-qt) | |
572 | ("qtbase" ,qtbase) | |
573 | ("qtsvg" ,qtsvg) | |
574 | ("qtx11extras" ,qtx11extras))) | |
575 | (native-inputs | |
576 | `(("pkg-config" ,pkg-config) | |
577 | ("polkit" ,polkit) | |
578 | ("lxqt-build-tools" ,lxqt-build-tools) | |
579 | ("qttools" ,qttools))) | |
580 | (arguments | |
581 | '(#:tests? #f ; no test target | |
582 | #:configure-flags | |
583 | '("-DPULL_TRANSLATIONS=NO") | |
584 | #:phases | |
585 | (modify-phases %standard-phases | |
586 | (add-after 'unpack 'patch-source | |
587 | (lambda _ | |
588 | (substitute* '("autostart/CMakeLists.txt") | |
589 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 590 | "DESTINATION \"etc/xdg")) |
bf0da63a MP |
591 | #t))))) |
592 | (home-page "https://lxqt.org/") | |
593 | (synopsis "The LXQt PolicyKit agent") | |
594 | (description "lxqt-policykit is the polkit authentification agent of | |
595 | LXQt.") | |
596 | (license license:lgpl2.1+))) | |
597 | ||
643961bb MP |
598 | (define-public lxqt-powermanagement |
599 | (package | |
600 | (name "lxqt-powermanagement") | |
601 | (version "0.13.0") | |
602 | (source | |
603 | (origin | |
604 | (method url-fetch) | |
605 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
606 | version "/" name "-" version ".tar.xz")) | |
607 | (sha256 | |
608 | (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613")))) | |
609 | (build-system cmake-build-system) | |
610 | (inputs | |
611 | `(("kidletime" ,kidletime) | |
612 | ("kwindowsystem" ,kwindowsystem) | |
613 | ("liblxqt" ,liblxqt) | |
614 | ("libqtxdg" ,libqtxdg) | |
615 | ("qtbase" ,qtbase) | |
616 | ("qtsvg" ,qtsvg) | |
617 | ("qtx11extras" ,qtx11extras) | |
618 | ("solid" ,solid))) | |
619 | (native-inputs | |
620 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
621 | ("qttools" ,qttools))) | |
622 | (arguments | |
623 | '(#:tests? #f ; no tests | |
624 | #:configure-flags | |
625 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
626 | '("-DPULL_TRANSLATIONS=NO") | |
627 | #:phases | |
628 | (modify-phases %standard-phases | |
629 | (add-after 'unpack 'patch-source | |
630 | (lambda _ | |
631 | (substitute* '("autostart/CMakeLists.txt") | |
632 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 633 | "DESTINATION \"etc/xdg")) |
643961bb MP |
634 | #t))))) |
635 | (home-page "https://lxqt.org/") | |
636 | (synopsis "Power management module for LXQt") | |
637 | (description "lxqt-powermanagement is providing tools to monitor power | |
638 | management events and optionally trigger actions like e. g. shut down a system | |
639 | when laptop batteries are low on power.") | |
640 | (license license:lgpl2.1+))) | |
641 | ||
5663b5b0 MP |
642 | (define-public lxqt-qtplugin |
643 | (package | |
644 | (name "lxqt-qtplugin") | |
645 | (version "0.13.0") | |
646 | (source | |
647 | (origin | |
648 | (method url-fetch) | |
649 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
650 | version "/" name "-" version ".tar.xz")) | |
651 | (sha256 | |
652 | (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56")))) | |
653 | (build-system cmake-build-system) | |
654 | (inputs | |
655 | `(("libdbusmenu-qt" ,libdbusmenu-qt) | |
656 | ("libfm-qt" ,libfm-qt) | |
657 | ("libqtxdg" ,libqtxdg) | |
658 | ("qtbase" ,qtbase) | |
659 | ("qtsvg" ,qtsvg) | |
660 | ("qtx11extras" ,qtx11extras))) | |
661 | (native-inputs | |
662 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
663 | ("qttools" ,qttools))) | |
664 | (arguments | |
665 | '(#:tests? #f ; no tests | |
666 | #:phases | |
667 | (modify-phases %standard-phases | |
668 | (add-after 'unpack 'patch-source | |
669 | (lambda _ | |
670 | (substitute* '("src/CMakeLists.txt") | |
671 | (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}") | |
097166df | 672 | "DESTINATION \"lib/qt5/plugins")) |
5663b5b0 MP |
673 | #t))))) |
674 | (home-page "https://lxqt.org/") | |
675 | (synopsis "LXQt Qt platform integration plugin") | |
676 | (description "lxqt-qtplugin is providing a library libqtlxqt to integrate | |
677 | Qt with LXQt.") | |
678 | (license license:lgpl2.1+))) | |
679 | ||
cc7f4175 MP |
680 | (define-public lxqt-runner |
681 | (package | |
682 | (name "lxqt-runner") | |
683 | (version "0.13.0") | |
684 | (source | |
685 | (origin | |
686 | (method url-fetch) | |
687 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
688 | version "/" name "-" version ".tar.xz")) | |
689 | (sha256 | |
690 | (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali")))) | |
691 | (build-system cmake-build-system) | |
692 | (inputs | |
693 | `(("kwindowsystem" ,kwindowsystem) | |
694 | ("liblxqt" ,liblxqt) | |
695 | ("libqtxdg" ,libqtxdg) | |
696 | ("lxqt-globalkeys" ,lxqt-globalkeys) | |
697 | ("muparser" ,muparser) | |
698 | ("pcre" ,pcre) | |
699 | ("qtbase" ,qtbase) | |
700 | ("qtsvg" ,qtsvg) | |
701 | ("qtx11extras" ,qtx11extras))) | |
702 | (native-inputs | |
703 | `(("pkg-config" ,pkg-config) | |
b42b5afd | 704 | ("qttools" ,qttools) |
cc7f4175 MP |
705 | ("lxqt-build-tools" ,lxqt-build-tools))) |
706 | (arguments | |
707 | '(#:tests? #f ; no tests | |
708 | #:configure-flags | |
709 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
710 | '("-DPULL_TRANSLATIONS=NO") | |
711 | #:phases | |
712 | (modify-phases %standard-phases | |
713 | (add-after 'unpack 'patch-source | |
714 | (lambda _ | |
715 | (substitute* '("autostart/CMakeLists.txt") | |
716 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 717 | "DESTINATION \"etc/xdg")) |
cc7f4175 MP |
718 | #t))))) |
719 | (home-page "https://lxqt.org/") | |
720 | (synopsis "Tool used to launch programs quickly by typing their names") | |
721 | (description "lxqt-runner provides a GUI that comes up on the desktop and | |
722 | allows for launching applications or shutting down the system.") | |
a6b941dd | 723 | (license license:lgpl2.1+))) |
cc7f4175 | 724 | |
54033a4d AE |
725 | (define-public lxqt-session |
726 | (package | |
727 | (name "lxqt-session") | |
70c488f8 | 728 | (version "0.13.0") |
54033a4d AE |
729 | (source |
730 | (origin | |
731 | (method url-fetch) | |
70c488f8 MP |
732 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" |
733 | version "/" name "-" version ".tar.xz")) | |
54033a4d | 734 | (sha256 |
70c488f8 | 735 | (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z")))) |
54033a4d | 736 | (build-system cmake-build-system) |
54033a4d | 737 | (inputs |
70c488f8 MP |
738 | `(("eudev" ,eudev) |
739 | ("kwindowsystem" ,kwindowsystem) | |
54033a4d | 740 | ("liblxqt" ,liblxqt) |
e099d2a6 EF |
741 | ("libqtxdg" ,libqtxdg) |
742 | ("qtbase" ,qtbase) | |
70c488f8 | 743 | ("qtsvg" ,qtsvg) |
70c488f8 MP |
744 | ("qtx11extras" ,qtx11extras) |
745 | ("xdg-user-dirs" ,xdg-user-dirs))) | |
746 | (native-inputs | |
747 | `(("pkg-config" ,pkg-config) | |
f2b48558 MP |
748 | ("lxqt-build-tools" ,lxqt-build-tools) |
749 | ("qttools" ,qttools))) | |
54033a4d | 750 | (arguments |
70c488f8 MP |
751 | `(#:tests? #f |
752 | #:configure-flags | |
753 | `("-DPULL_TRANSLATIONS=NO") | |
54033a4d | 754 | #:phases |
70c488f8 MP |
755 | (modify-phases %standard-phases |
756 | (add-after 'unpack 'patch-source | |
54033a4d | 757 | (lambda _ |
70c488f8 MP |
758 | (substitute* '("autostart/CMakeLists.txt" |
759 | "config/CMakeLists.txt") | |
760 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 761 | "DESTINATION \"etc/xdg")) |
70c488f8 MP |
762 | #t))))) |
763 | (home-page "https://lxqt.org/") | |
54033a4d AE |
764 | (synopsis "Session manager for LXQt") |
765 | (description "lxqt-session provides the standard session manager | |
766 | for the LXQt desktop environment.") | |
a6b941dd | 767 | (license license:lgpl2.1+))) |
dbb4f7d0 MP |
768 | |
769 | (define-public lxqt-sudo | |
770 | (package | |
771 | (name "lxqt-sudo") | |
772 | (version "0.13.0") | |
773 | (source | |
774 | (origin | |
775 | (method url-fetch) | |
776 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
777 | version "/" name "-" version ".tar.xz")) | |
778 | (sha256 | |
779 | (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf")))) | |
780 | (build-system cmake-build-system) | |
781 | (inputs | |
782 | `(("kwindowsystem" ,kwindowsystem) | |
783 | ("liblxqt" ,liblxqt) | |
784 | ("libqtxdg" ,libqtxdg) | |
785 | ("qtbase" ,qtbase) | |
786 | ("qtsvg" ,qtsvg) | |
787 | ("qtx11extras" ,qtx11extras) | |
788 | ("sudo" ,sudo))) | |
789 | (native-inputs | |
790 | `(("pkg-config" ,pkg-config) | |
791 | ("qttools" ,qttools) | |
792 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
793 | (arguments | |
794 | '(#:tests? #f ; no tests | |
795 | #:configure-flags | |
796 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
797 | '("-DPULL_TRANSLATIONS=NO"))) | |
798 | (home-page "https://lxqt.org/") | |
799 | (synopsis "GUI frontend for sudo/su") | |
800 | (description "lxqt-sudo is a graphical front-end of commands sudo and su | |
801 | respectively. As such it enables regular users to launch applications with | |
802 | permissions of other users including root.") | |
a6b941dd | 803 | (license license:lgpl2.1+))) |
d6fd4a76 | 804 | |
26127ebb | 805 | (define-public lxqt-themes |
84f6a990 | 806 | (package |
26127ebb MP |
807 | (name "lxqt-themes") |
808 | (version "0.13.0") | |
84f6a990 MP |
809 | (source |
810 | (origin | |
811 | (method url-fetch) | |
812 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
813 | version "/" name "-" version ".tar.xz")) | |
814 | (sha256 | |
26127ebb MP |
815 | (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf")))) |
816 | (build-system cmake-build-system) | |
817 | (native-inputs | |
818 | `(("lxqt-build-tools" ,lxqt-build-tools))) | |
819 | (arguments | |
820 | `(#:tests? #f ; no tests | |
821 | #:phases | |
822 | (modify-phases %standard-phases | |
823 | (add-after 'unpack 'patch-source | |
824 | (lambda _ | |
825 | (substitute* '("CMakeLists.txt") | |
826 | (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}") | |
097166df | 827 | "DESTINATION \"share/lxqt/graphics")) |
26127ebb MP |
828 | (substitute* '("themes/CMakeLists.txt") |
829 | (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}") | |
097166df | 830 | "DESTINATION \"share/lxqt")) |
26127ebb MP |
831 | #t))))) |
832 | (home-page "https://lxqt.org/") | |
833 | (synopsis "Themes, graphics and icons for LXQt") | |
834 | (description "This package comprises a number of graphic files and themes | |
835 | for LXQt.") | |
836 | ;; The whole package is released under LGPL 2.1+, while the LXQt logo is | |
837 | ;; licensed under CC-BY-SA 3.0. | |
838 | (license license:lgpl2.1+))) | |
839 | ||
840 | ||
841 | ;; File Manager | |
842 | ||
843 | (define-public libfm-qt | |
844 | (package | |
845 | (name "libfm-qt") | |
846 | (version "0.13.1") | |
847 | (source | |
848 | (origin | |
849 | (method url-fetch) | |
850 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
851 | version "/" name "-" version ".tar.xz")) | |
852 | (sha256 | |
853 | (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9")))) | |
84f6a990 | 854 | (build-system cmake-build-system) |
26127ebb MP |
855 | (arguments |
856 | '(#:tests? #f ; no tests | |
857 | #:configure-flags | |
858 | ;; TODO : prefetch translations files from 'lxqt-l10n'. | |
859 | '("-DPULL_TRANSLATIONS=NO"))) | |
84f6a990 MP |
860 | (inputs |
861 | `(("glib" ,glib) | |
26127ebb MP |
862 | ("libexif" ,libexif) |
863 | ("libfm" ,libfm) | |
864 | ("libxcb" ,libxcb) | |
865 | ("menu-cache" ,menu-cache) | |
84f6a990 | 866 | ("pcre" ,pcre) |
84f6a990 MP |
867 | ("qtbase" ,qtbase) |
868 | ("qtx11extras" ,qtx11extras))) | |
869 | (native-inputs | |
870 | `(("pkg-config" ,pkg-config) | |
871 | ("lxqt-build-tools" ,lxqt-build-tools) | |
872 | ("qttools" ,qttools))) | |
84f6a990 | 873 | (home-page "https://lxqt.org/") |
26127ebb MP |
874 | (synopsis "Qt binding for libfm") |
875 | (description "libfm-qt is the Qt port of libfm, a library providing | |
876 | components to build desktop file managers which belongs to LXDE.") | |
84f6a990 MP |
877 | (license license:lgpl2.1+))) |
878 | ||
d6fd4a76 MP |
879 | (define-public pcmanfm-qt |
880 | (package | |
881 | (name "pcmanfm-qt") | |
882 | (version "0.13.0") | |
883 | (source | |
884 | (origin | |
885 | (method url-fetch) | |
886 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
887 | version "/" name "-" version ".tar.xz")) | |
888 | (sha256 | |
889 | (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz")))) | |
890 | (build-system cmake-build-system) | |
891 | (inputs | |
892 | `(("libfm-qt" ,libfm-qt) | |
893 | ("qtbase" ,qtbase) | |
894 | ("qtx11extras" ,qtx11extras))) | |
895 | (native-inputs | |
896 | `(("pkg-config" ,pkg-config) | |
897 | ("qttools" ,qttools) | |
898 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
899 | (arguments | |
900 | '(#:tests? #f ; no tests | |
901 | #:configure-flags | |
902 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
903 | '("-DPULL_TRANSLATIONS=NO") | |
904 | #:phases | |
905 | (modify-phases %standard-phases | |
906 | (add-after 'unpack 'patch-source | |
907 | (lambda _ | |
908 | (substitute* '("autostart/CMakeLists.txt") | |
909 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 910 | "DESTINATION \"etc/xdg")) |
d6fd4a76 MP |
911 | #t))))) |
912 | (home-page "https://lxqt.org/") | |
913 | (synopsis "File manager and desktop icon manager") | |
914 | (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of | |
915 | LXDE.") | |
6f00fb75 | 916 | (license license:gpl2+))) |
0aab2349 | 917 | |
26127ebb MP |
918 | |
919 | ;; Extra | |
920 | ||
32b74b70 MP |
921 | (define-public compton-conf |
922 | (package | |
923 | (name "compton-conf") | |
924 | (version "0.4.0") | |
925 | (source | |
926 | (origin | |
927 | (method url-fetch) | |
928 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
929 | version "/" name "-" version ".tar.xz")) | |
930 | (sha256 | |
931 | (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci")))) | |
932 | (build-system cmake-build-system) | |
933 | (inputs | |
934 | `(("libconfig" ,libconfig) | |
935 | ("qtbase" ,qtbase))) | |
936 | (native-inputs | |
937 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
938 | ("pkg-config" ,pkg-config) | |
939 | ("qttools" ,qttools))) | |
940 | (arguments | |
941 | '(#:tests? #f ; no tests | |
942 | #:configure-flags | |
943 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
944 | '("-DPULL_TRANSLATIONS=NO") | |
945 | #:phases | |
946 | (modify-phases %standard-phases | |
947 | (add-after 'unpack 'patch-source | |
948 | (lambda _ | |
949 | (substitute* '("autostart/CMakeLists.txt") | |
950 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
097166df | 951 | "DESTINATION \"etc/xdg")) |
32b74b70 MP |
952 | #t))))) |
953 | (home-page "https://lxqt.org/") | |
954 | (synopsis "GUI configuration tool for compton X composite manager") | |
955 | (description "@code{compton-conf} is a configuration tool for X composite | |
956 | manager Compton.") | |
957 | (license license:lgpl2.1+))) | |
958 | ||
604bdae7 MP |
959 | (define-public lximage-qt |
960 | (package | |
961 | (name "lximage-qt") | |
962 | (version "0.7.0") | |
963 | (source | |
964 | (origin | |
965 | (method url-fetch) | |
966 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
967 | version "/" name "-" version ".tar.xz")) | |
968 | (sha256 | |
969 | (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w")))) | |
970 | (build-system cmake-build-system) | |
971 | (inputs | |
972 | `(("libexif" ,libexif) | |
973 | ("libfm-qt" ,libfm-qt) | |
974 | ("qtbase" ,qtbase) | |
975 | ("qtsvg" ,qtsvg) | |
976 | ("qtx11extras" ,qtx11extras))) | |
977 | (native-inputs | |
978 | `(("pkg-config" ,pkg-config) | |
979 | ("lxqt-build-tools" ,lxqt-build-tools) | |
980 | ("qttools" ,qttools))) | |
981 | (arguments | |
982 | '(#:tests? #f ; no tests | |
983 | #:configure-flags | |
984 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
985 | '("-DPULL_TRANSLATIONS=NO"))) | |
986 | (home-page "https://lxqt.org/") | |
987 | (synopsis "The image viewer and screenshot tool for lxqt") | |
988 | (description "LXImage-Qt is the Qt port of LXImage, a simple and fast | |
989 | image viewer.") | |
6f00fb75 | 990 | (license license:gpl2+))) |
604bdae7 | 991 | |
31fd62c8 MP |
992 | (define-public obconf-qt |
993 | (package | |
994 | (name "obconf-qt") | |
995 | (version "0.13.0") | |
996 | (source | |
997 | (origin | |
998 | (method url-fetch) | |
999 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1000 | version "/" name "-" version ".tar.xz")) | |
1001 | (sha256 | |
1002 | (base32 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf")))) | |
1003 | (build-system cmake-build-system) | |
1004 | (inputs | |
1005 | `(("imlib2" ,imlib2) | |
1006 | ("libsm" ,libsm) | |
1007 | ("librsvg" ,librsvg) | |
1008 | ("libxft" ,libxft) | |
1009 | ("libxml2" ,libxml2) | |
1010 | ("openbox" ,openbox) | |
1011 | ("pango" ,pango) | |
1012 | ("pcre" ,pcre) | |
1013 | ("qtbase" ,qtbase) | |
1014 | ("qtx11extras" ,qtx11extras))) | |
1015 | (native-inputs | |
1016 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
1017 | ("pkg-config" ,pkg-config) | |
1018 | ("qttools" ,qttools))) | |
1019 | (arguments | |
1020 | '(#:tests? #f ; no tests | |
1021 | #:configure-flags | |
1022 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
1023 | '("-DPULL_TRANSLATIONS=NO"))) | |
1024 | (home-page "https://lxqt.org/") | |
1025 | (synopsis "Openbox configuration tool") | |
1026 | (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for | |
1027 | window manager OpenBox.") | |
1028 | (license license:gpl2+))) | |
1029 | ||
26127ebb MP |
1030 | (define-public pavucontrol-qt |
1031 | (package | |
1032 | (name "pavucontrol-qt") | |
1033 | (version "0.4.0") | |
1034 | (source | |
1035 | (origin | |
1036 | (method url-fetch) | |
1037 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1038 | version "/" name "-" version ".tar.xz")) | |
1039 | (sha256 | |
1040 | (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6")))) | |
1041 | (build-system cmake-build-system) | |
1042 | (inputs | |
1043 | `(("glib" ,glib) | |
1044 | ("pcre" ,pcre) | |
1045 | ("pulseaudio" ,pulseaudio) | |
1046 | ("qtbase" ,qtbase) | |
1047 | ("qtx11extras" ,qtx11extras))) | |
1048 | (native-inputs | |
1049 | `(("pkg-config" ,pkg-config) | |
1050 | ("lxqt-build-tools" ,lxqt-build-tools) | |
1051 | ("qttools" ,qttools))) | |
1052 | (arguments | |
1053 | '(#:tests? #f ; no tests | |
1054 | #:configure-flags | |
1055 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
1056 | '("-DPULL_TRANSLATIONS=NO"))) | |
1057 | (home-page "https://lxqt.org/") | |
1058 | (synopsis "Pulseaudio mixer in Qt") | |
1059 | (description "@code{pavucontrol-qt} is the Qt port of volume control | |
1060 | @code{pavucontrol} of sound server @code{PulseAudio}.") | |
6f00fb75 | 1061 | (license license:gpl2+))) |
26127ebb | 1062 | |
9886134c MP |
1063 | (define-public qps |
1064 | (package | |
1065 | (name "qps") | |
1066 | (version "1.10.18") | |
1067 | (source | |
1068 | (origin | |
1069 | (method url-fetch) | |
1070 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1071 | version "/" name "-" version ".tar.xz")) | |
1072 | (sha256 | |
1073 | (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44")))) | |
1074 | (build-system cmake-build-system) | |
1075 | (inputs | |
1076 | `(("libxrender" ,libxrender) | |
1077 | ("qtbase" ,qtbase) | |
1078 | ("qtx11extras" ,qtx11extras))) | |
1079 | (native-inputs | |
1080 | `(("qttools" ,qttools))) | |
1081 | (arguments | |
1082 | '(#:tests? #f)) ; no tests | |
1083 | (home-page "https://lxqt.org/") | |
1084 | (synopsis "Qt-based visual process status monitor") | |
1085 | (description "@code{qps} is a monitor that displays the status of the | |
1086 | processes currently in existence, much like code{top} or code{ps}.") | |
1087 | (license license:gpl2+))) | |
1088 | ||
0aab2349 MP |
1089 | (define-public qtermwidget |
1090 | (package | |
1091 | (name "qtermwidget") | |
1092 | (version "0.9.0") | |
1093 | (source | |
1094 | (origin | |
1095 | (method url-fetch) | |
1096 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1097 | version "/" name "-" version ".tar.xz")) | |
1098 | (sha256 | |
1099 | (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773")))) | |
1100 | (build-system cmake-build-system) | |
1101 | (inputs | |
1102 | `(("qtbase" ,qtbase))) | |
1103 | (native-inputs | |
1104 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
1105 | ("qttools" ,qttools))) | |
1106 | (arguments | |
1107 | '(#:tests? #f ; no tests | |
1108 | #:configure-flags | |
1109 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
1110 | '("-DPULL_TRANSLATIONS=NO"))) | |
1111 | (home-page "https://lxqt.org/") | |
1112 | (synopsis "The terminal widget for QTerminal") | |
1113 | (description "QTermWidget is a terminal emulator widget for Qt 5.") | |
6f00fb75 | 1114 | (license license:gpl2+))) |
7e9e775f MP |
1115 | |
1116 | (define-public qterminal | |
1117 | (package | |
1118 | (name "qterminal") | |
1119 | (version "0.9.0") | |
1120 | (source | |
1121 | (origin | |
1122 | (method url-fetch) | |
1123 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
1124 | version "/" name "-" version ".tar.xz")) | |
1125 | (sha256 | |
1126 | (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1")))) | |
1127 | (build-system cmake-build-system) | |
1128 | (inputs | |
1129 | `(("qtbase" ,qtbase) | |
1130 | ("qtx11extras" ,qtx11extras) | |
1131 | ("qtermwidget" ,qtermwidget))) | |
1132 | (native-inputs | |
1133 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
1134 | ("qttools" ,qttools))) | |
1135 | (arguments | |
1136 | '(#:tests? #f ; no tests | |
1137 | #:configure-flags | |
1138 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
1139 | '("-DPULL_TRANSLATIONS=NO"))) | |
1140 | (home-page "https://lxqt.org/") | |
1141 | (synopsis "Lightweight Qt-based terminal emulator") | |
1142 | (description "QTerminal is a lightweight Qt terminal emulator based on | |
1143 | QTermWidget.") | |
6f00fb75 | 1144 | (license license:gpl2+))) |
4b88ab55 MP |
1145 | |
1146 | (define-public screengrab | |
1147 | (package | |
1148 | (name "screengrab") | |
1149 | (version "1.99") | |
1150 | (source | |
1151 | (origin | |
1152 | (method url-fetch) | |
063bc5f8 TGR |
1153 | (uri (string-append "https://github.com/lxqt/screengrab/releases/download/" |
1154 | version "/screengrab-" version ".tar.xz")) | |
4b88ab55 MP |
1155 | (sha256 |
1156 | (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3")))) | |
1157 | (build-system cmake-build-system) | |
1158 | (inputs | |
1159 | `(("kwindowsystem" ,kwindowsystem) | |
1160 | ("libqtxdg" ,libqtxdg) | |
1161 | ("qtbase" ,qtbase) | |
1162 | ("qtsvg" ,qtsvg) | |
1163 | ("qtx11extras" ,qtx11extras))) | |
1164 | (native-inputs | |
1165 | `(("pkg-config" ,pkg-config) | |
1166 | ("qttools" ,qttools))) | |
1167 | (arguments | |
1168 | '(#:tests? #f)) ; no tests | |
1169 | (home-page "https://lxqt.org/") | |
1170 | (synopsis "Crossplatform tool for fast making screenshots") | |
1171 | (description "ScreenGrab is a program for fast creating screenshots, and | |
1172 | easily publishing them on internet image hosting services.") | |
6f00fb75 | 1173 | (license license:gpl2+))) |
1fdcee02 MP |
1174 | |
1175 | ||
1176 | ;; The LXQt Desktop Environment | |
1177 | ||
1178 | (define-public lxqt | |
1179 | (package | |
1180 | (name "lxqt") | |
1181 | (version (package-version lxqt-session)) | |
1182 | (source #f) | |
1183 | (build-system trivial-build-system) | |
1184 | (arguments '(#:builder (begin (mkdir %output) #t))) | |
1185 | (propagated-inputs | |
1186 | `(;; XDG | |
1187 | ("desktop-file-utils" ,desktop-file-utils) | |
1188 | ("hicolor-icon-theme" ,hicolor-icon-theme) | |
1189 | ("xdg-user-dirs" ,xdg-user-dirs) | |
1190 | ("xdg-utils" ,xdg-utils) | |
1191 | ;; Base | |
1192 | ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it | |
1193 | ;; should be added to their propagated-inputs? | |
1194 | ("qtsvg" ,qtsvg) | |
1195 | ;; Core | |
1196 | ("lxqt-about" ,lxqt-about) | |
1197 | ("lxqt-admin" ,lxqt-admin) | |
1198 | ("lxqt-config" ,lxqt-config) | |
1199 | ("lxqt-notificationd" ,lxqt-notificationd) | |
1200 | ("lxqt-openssh-askpass" ,lxqt-openssh-askpass) | |
1201 | ("lxqt-panel" ,lxqt-panel) | |
1202 | ("lxqt-policykit" ,lxqt-policykit) | |
1203 | ("lxqt-powermanagement" ,lxqt-powermanagement) | |
1204 | ("lxqt-qtplugin" ,lxqt-qtplugin) | |
1205 | ("lxqt-runner" ,lxqt-runner) | |
1206 | ("lxqt-session" ,lxqt-session) | |
1207 | ("lxqt-sudo" ,lxqt-sudo) | |
1208 | ("lxqt-themes" ,lxqt-themes) | |
1209 | ("pcmanfm-qt" ,pcmanfm-qt) | |
1210 | ;; Extra | |
1211 | ("compton" ,compton) | |
1212 | ("compton-conf" ,compton-conf) | |
1213 | ("font-dejavu" ,font-dejavu) | |
1214 | ("lximage-qt" ,lximage-qt) | |
1215 | ("obconf-qt" ,obconf-qt) | |
1216 | ("openbox" ,openbox) | |
1217 | ("oxygen-icons" ,oxygen-icons) | |
1218 | ("pavucontrol-qt" ,pavucontrol-qt) | |
1219 | ("qps" ,qps) | |
a46c00a3 | 1220 | ("qterminal" ,qterminal))) |
1fdcee02 MP |
1221 | (synopsis "The Lightweight Qt Desktop Environment") |
1222 | (description "LXQt is a lightweight Qt desktop environment.") | |
1223 | (home-page "https://lxde.org") | |
6f00fb75 | 1224 | (license license:gpl2+))) |