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