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> |
e5e06930 AE |
9 | ;;; |
10 | ;;; This file is part of GNU Guix. | |
11 | ;;; | |
12 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
13 | ;;; under the terms of the GNU General Public License as published by | |
14 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
15 | ;;; your option) any later version. | |
16 | ;;; | |
17 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
18 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | ;;; GNU General Public License for more details. | |
21 | ;;; | |
22 | ;;; You should have received a copy of the GNU General Public License | |
23 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
24 | ||
25 | (define-module (gnu packages lxqt) | |
26 | #:use-module (guix download) | |
a6b941dd | 27 | #:use-module ((guix licenses) #:prefix license:) |
e5e06930 AE |
28 | #:use-module (guix packages) |
29 | #:use-module (guix utils) | |
30 | #:use-module (guix build-system cmake) | |
bf076d8b | 31 | #:use-module (guix build-system gnu) |
44a477e1 | 32 | #:use-module (gnu packages) |
dbb4f7d0 | 33 | #:use-module (gnu packages admin) |
35bfe41a | 34 | #:use-module (gnu packages compression) |
64fac507 | 35 | #:use-module (gnu packages documentation) |
70c488f8 | 36 | #:use-module (gnu packages freedesktop) |
b36524c1 | 37 | #:use-module (gnu packages glib) |
35bfe41a | 38 | #:use-module (gnu packages kde) |
6bb5a8a1 | 39 | #:use-module (gnu packages kde-frameworks) |
70c488f8 | 40 | #:use-module (gnu packages linux) |
bf076d8b | 41 | #:use-module (gnu packages perl) |
af291d1c | 42 | #:use-module (gnu packages lxde) |
cc7f4175 | 43 | #:use-module (gnu packages maths) |
af291d1c | 44 | #:use-module (gnu packages pcre) |
79f9e4e0 | 45 | #:use-module (gnu packages photo) |
e5e06930 | 46 | #:use-module (gnu packages pkg-config) |
9861bcd1 | 47 | #:use-module (gnu packages polkit) |
af291d1c | 48 | #:use-module (gnu packages pulseaudio) |
9861bcd1 | 49 | #:use-module (gnu packages qt) |
af291d1c | 50 | #:use-module (gnu packages xdisorg) |
9861bcd1 | 51 | #:use-module (gnu packages xorg)) |
e5e06930 | 52 | |
64fac507 MP |
53 | (define-public libdbusmenu-qt |
54 | (package | |
55 | (name "libdbusmenu-qt") | |
56 | (version "0.9.3+16.04.20160218-0ubuntu1") | |
57 | (source | |
58 | (origin | |
59 | (method url-fetch) | |
60 | ;; Download from github rather than launchpad beacuse launchpad trunk | |
61 | ;; tarball hash is not deterministic. | |
62 | (uri (string-append "https://github.com/unity8-team/" name | |
63 | "/archive/" version ".tar.gz")) | |
64 | (sha256 | |
65 | (base32 "0abwyggnpg50sa9cxphscp5zdkv9nxqnlav55vj21df6q1h3jb5w")) | |
66 | (file-name (string-append name "-" version ".tar.gz")))) | |
67 | (build-system cmake-build-system) | |
68 | (arguments | |
69 | ;; XXX: Tests require a dbus session and some icons. | |
70 | '(#:tests? #f)) | |
71 | (native-inputs | |
72 | `(("doxygen" ,doxygen))) | |
73 | (inputs | |
74 | `(("qtbase" ,qtbase))) | |
75 | (home-page "https://launchpad.net/libdbusmenu-qt") | |
76 | (synopsis "Qt implementation of the DBusMenu spec") | |
77 | (description "This library provides a Qt implementation of the DBusMenu | |
78 | protocol. The DBusMenu protocol makes it possible for applications to export | |
79 | and import their menus over DBus.") | |
a6b941dd | 80 | (license license:lgpl2.1+))) |
64fac507 | 81 | |
79f9e4e0 MP |
82 | (define-public libfm-qt |
83 | (package | |
84 | (name "libfm-qt") | |
85 | (version "0.13.1") | |
86 | (source | |
87 | (origin | |
88 | (method url-fetch) | |
89 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
90 | version "/" name "-" version ".tar.xz")) | |
91 | (sha256 | |
92 | (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9")))) | |
93 | (build-system cmake-build-system) | |
94 | (arguments | |
95 | '(#:tests? #f ; no tests | |
96 | #:configure-flags | |
97 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
98 | '("-DPULL_TRANSLATIONS=NO"))) | |
99 | (inputs | |
100 | `(("glib" ,glib) | |
101 | ("libexif" ,libexif) | |
102 | ("libfm" ,libfm) | |
103 | ("libxcb" ,libxcb) | |
104 | ("menu-cache" ,menu-cache) | |
105 | ("pcre" ,pcre) | |
106 | ("qtbase" ,qtbase) | |
79f9e4e0 MP |
107 | ("qtx11extras" ,qtx11extras))) |
108 | (native-inputs | |
109 | `(("pkg-config" ,pkg-config) | |
f2b48558 MP |
110 | ("lxqt-build-tools" ,lxqt-build-tools) |
111 | ("qttools" ,qttools))) | |
79f9e4e0 MP |
112 | (home-page "https://lxqt.org/") |
113 | (synopsis "Qt binding for libfm") | |
114 | (description "libfm-qt is the Qt port of libfm, a library providing | |
115 | components to build desktop file managers which belongs to LXDE.") | |
a6b941dd | 116 | (license license:lgpl2.1+))) |
79f9e4e0 | 117 | |
d58aefdf MP |
118 | (define-public liblxqt |
119 | (package | |
120 | (name "liblxqt") | |
121 | (version "0.13.0") | |
122 | (source | |
123 | (origin | |
124 | (method url-fetch) | |
125 | (uri (string-append | |
126 | "https://github.com/lxqt/" name "/releases/download/" | |
127 | version "/" name "-" version ".tar.xz")) | |
128 | (sha256 | |
129 | (base32 "0fba0nq5b9fvvmklcikcd4nwhzlp5d6k1q1f80r34kncdzfvj7dl")))) | |
130 | (build-system cmake-build-system) | |
131 | (arguments | |
132 | `(#:tests? #f ; no tests | |
133 | #:configure-flags | |
134 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
135 | '("-DPULL_TRANSLATIONS=NO") | |
136 | #:phases | |
137 | (modify-phases %standard-phases | |
138 | (add-after 'unpack 'patch-source | |
139 | (lambda _ | |
140 | (substitute* "CMakeLists.txt" | |
141 | (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}") | |
142 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions")) | |
143 | #t))))) | |
144 | (inputs | |
145 | `(("kwindowsystem" ,kwindowsystem) | |
146 | ("libqtxdg" ,libqtxdg) | |
147 | ("libxscrnsaver" ,libxscrnsaver) | |
148 | ("polkit-qt" ,polkit-qt) | |
149 | ("qtsvg" ,qtsvg) | |
d58aefdf MP |
150 | ("qtx11extras" ,qtx11extras))) |
151 | (native-inputs | |
f2b48558 MP |
152 | `(("lxqt-build-tools" ,lxqt-build-tools) |
153 | ("qttools" ,qttools))) | |
d58aefdf MP |
154 | (home-page "https://lxqt.org/") |
155 | (synopsis "Core utility library for all LXQt components") | |
156 | (description "liblxqt provides the basic libraries shared by the | |
157 | components of the LXQt desktop environment.") | |
a6b941dd | 158 | (license license:lgpl2.1+))) |
d58aefdf | 159 | |
e5e06930 AE |
160 | (define-public libqtxdg |
161 | (package | |
162 | (name "libqtxdg") | |
50401c2a | 163 | (version "3.2.0") |
e5e06930 AE |
164 | (source |
165 | (origin | |
166 | (method url-fetch) | |
50401c2a MP |
167 | (uri (string-append |
168 | "https://github.com/lxqt/" name "/releases/download/" | |
169 | version "/" name "-" version ".tar.xz")) | |
e5e06930 | 170 | (sha256 |
50401c2a | 171 | (base32 "0lq548pa69hfvnbj2ypba5ygm8n6v6g7bqqm8p5g538l1l3394cl")))) |
e5e06930 AE |
172 | (build-system cmake-build-system) |
173 | (arguments | |
50401c2a MP |
174 | `(#:configure-flags |
175 | `("-DBUILD_TESTS=ON" | |
176 | ,(string-append "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=" | |
177 | %output "/lib/qt5/plugins/iconengines")) | |
178 | #:phases | |
179 | (modify-phases %standard-phases | |
180 | (add-before 'check 'pre-check | |
181 | (lambda _ | |
182 | ;; Run the tests offscreen. | |
183 | (setenv "QT_QPA_PLATFORM" "offscreen") | |
184 | #t))))) | |
02559739 | 185 | (propagated-inputs |
50401c2a MP |
186 | ;; required by Qt5XdgIconLoader.pc |
187 | `(("qtbase" ,qtbase) | |
188 | ("qtsvg" ,qtsvg))) | |
189 | (home-page "https://github.com/lxqt/libqtxdg") | |
e5e06930 AE |
190 | (synopsis "Qt implementation of freedesktop.org xdg specifications") |
191 | (description "Libqtxdg implements the freedesktop.org xdg specifications | |
192 | in Qt.") | |
a6b941dd | 193 | (license license:lgpl2.1+))) |
6bb5a8a1 | 194 | |
bf076d8b MP |
195 | (define-public libstatgrab |
196 | (package | |
197 | (name "libstatgrab") | |
198 | (version "0.91") | |
199 | (source | |
200 | (origin | |
201 | (method url-fetch) | |
202 | (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/" | |
203 | name "-" version ".tar.gz")) | |
204 | (sha256 | |
205 | (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83")))) | |
206 | (build-system gnu-build-system) | |
207 | (arguments | |
208 | '(#:configure-flags '("--enable-tests"))) | |
209 | (native-inputs | |
210 | ;; For testing. | |
211 | `(("perl" ,perl))) | |
212 | (home-page "https://www.i-scream.org/libstatgrab/") | |
213 | (synopsis "Provides access to statistics about the system") | |
214 | (description "libstatgrab is a library that provides cross platform access | |
215 | to statistics about the system on which it's run.") | |
216 | ;; Libraries are under LGPL2.1+, and programs under GPLv2+. | |
a6b941dd | 217 | (license license:gpl2+))) |
bf076d8b | 218 | |
fbe645ea MP |
219 | (define-public libsysstat |
220 | (package | |
221 | (name "libsysstat") | |
222 | (version "0.4.1") | |
223 | (source | |
224 | (origin | |
225 | (method url-fetch) | |
226 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
227 | version "/" name "-" version ".tar.xz")) | |
228 | (sha256 | |
229 | (base32 "0ngz8v3bixsdg96d5ipcyxd6nsrg52974xdxy9rnimahlv1yaxn3")))) | |
230 | (build-system cmake-build-system) | |
231 | (arguments '(#:tests? #f)) ; no tests | |
232 | (inputs | |
233 | `(("qtbase" ,qtbase))) | |
234 | (native-inputs | |
235 | `(("lxqt-build-tools" ,lxqt-build-tools))) | |
236 | (home-page "https://lxqt.org/") | |
237 | (synopsis "Library used to query system info and statistics") | |
238 | (description "libsysstat is a library to query system information like CPU | |
239 | and memory usage or network traffic.") | |
a6b941dd | 240 | (license license:lgpl2.1+))) |
fbe645ea | 241 | |
2bdab26f MP |
242 | (define-public lxqt-about |
243 | (package | |
244 | (name "lxqt-about") | |
245 | (version "0.13.0") | |
246 | (source | |
247 | (origin | |
248 | (method url-fetch) | |
249 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
250 | version "/" name "-" version ".tar.xz")) | |
251 | (sha256 | |
252 | (base32 "08imj7p77ifzfxnn8c482mhrvfx9gi0rb43ab5rw1rkmfvax2n5w")))) | |
253 | (build-system cmake-build-system) | |
254 | (inputs | |
255 | `(("kwindowsystem" ,kwindowsystem) | |
256 | ("liblxqt" ,liblxqt) | |
257 | ("libqtxdg" ,libqtxdg) | |
258 | ("qtbase" ,qtbase) | |
259 | ("qtsvg" ,qtsvg) | |
260 | ("qtx11extras" ,qtx11extras))) | |
261 | (native-inputs | |
262 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
263 | ("qttools" ,qttools))) | |
264 | (arguments | |
265 | '(#:tests? #f ; no tests | |
266 | #:configure-flags | |
267 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
268 | '("-DPULL_TRANSLATIONS=NO"))) | |
269 | (home-page "https://lxqt.org") | |
270 | (synopsis "Provides information about LXQt and the system") | |
271 | (description "lxqt-about is a dialogue window providing information about | |
272 | LXQt and the system it's running on.") | |
a6b941dd | 273 | (license license:lgpl2.1+))) |
34e08de3 MP |
274 | |
275 | (define-public lxqt-admin | |
276 | (package | |
277 | (name "lxqt-admin") | |
278 | (version "0.13.0") | |
279 | (source | |
280 | (origin | |
281 | (method url-fetch) | |
282 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
283 | version "/" name "-" version ".tar.xz")) | |
284 | (sha256 | |
285 | (base32 "0qvpv668ja83ydbdrlal1596xhag3xlkbd6qlh9xwdpb7nysvns1")))) | |
286 | (build-system cmake-build-system) | |
287 | (inputs | |
288 | `(("kwindowsystem" ,kwindowsystem) | |
289 | ("liblxqt" ,liblxqt) | |
290 | ("libqtxdg" ,libqtxdg) | |
291 | ("polkit-qt" ,polkit-qt) | |
292 | ("qtsvg" ,qtsvg) | |
293 | ("qtx11extras" ,qtx11extras))) | |
294 | (native-inputs | |
295 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
296 | ("qttools" ,qttools))) | |
297 | (arguments | |
298 | '(#:tests? #f ; no tests | |
299 | #:configure-flags | |
300 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
301 | '("-DPULL_TRANSLATIONS=NO") | |
302 | #:phases | |
303 | (modify-phases %standard-phases | |
304 | (add-after 'unpack 'patch-source | |
305 | (lambda _ | |
306 | (substitute* "lxqt-admin-user/CMakeLists.txt" | |
307 | (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}") | |
308 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions")) | |
309 | #t))))) | |
310 | (home-page "https://lxqt.org") | |
311 | (synopsis "LXQt system administration tool") | |
312 | (description "lxqt-admin is providing two GUI tools to adjust settings of | |
313 | the operating system LXQt is running on.") | |
a6b941dd | 314 | (license license:lgpl2.1+))) |
2bdab26f | 315 | |
d58aefdf | 316 | (define-public lxqt-build-tools |
6bb5a8a1 | 317 | (package |
d58aefdf MP |
318 | (name "lxqt-build-tools") |
319 | (version "0.5.0") | |
6bb5a8a1 AE |
320 | (source |
321 | (origin | |
322 | (method url-fetch) | |
d58aefdf MP |
323 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" |
324 | version "/" name "-" version ".tar.xz")) | |
44a477e1 | 325 | (sha256 |
d58aefdf | 326 | (base32 "13b5x26p6ycnwzlgg1cgvlc88wjrjmlb3snrrmzh0xgh9h6hhvd6")))) |
6bb5a8a1 AE |
327 | (build-system cmake-build-system) |
328 | (arguments | |
d58aefdf | 329 | `(#:tests? #f)) ; no tests |
9861bcd1 | 330 | (native-inputs |
d58aefdf MP |
331 | `(("pkg-config" ,pkg-config) |
332 | ("glib" ,glib))) | |
333 | (inputs | |
334 | `(("qtbase" ,qtbase))) | |
335 | (synopsis "LXQt Build tools") | |
336 | (description | |
337 | "Lxqt-build-tools is providing several tools needed to build LXQt | |
338 | itself as well as other components maintained by the LXQt project.") | |
339 | (home-page "https://lxqt.org") | |
a6b941dd | 340 | (license license:lgpl2.1+))) |
cfa2e4ad | 341 | |
35bfe41a MP |
342 | (define-public lxqt-config |
343 | (package | |
344 | (name "lxqt-config") | |
345 | (version "0.13.0") | |
346 | (source | |
347 | (origin | |
348 | (method url-fetch) | |
349 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
350 | version "/" name "-" version ".tar.xz")) | |
351 | (sha256 | |
352 | (base32 "0rizhl2v41kpgp57a61r6nmwcdw8nh9hprrrf33nfrdw8hpwxb95")))) | |
353 | (build-system cmake-build-system) | |
354 | (inputs | |
355 | `(("kwindowsystem" ,kwindowsystem) | |
356 | ("libkscreen" ,libkscreen) | |
357 | ("liblxqt" ,liblxqt) | |
358 | ("libqtxdg" ,libqtxdg) | |
359 | ("libxcursor" ,libxcursor) | |
360 | ("qtbase" ,qtbase) | |
361 | ("qtsvg" ,qtsvg) | |
362 | ("qtx11extras" ,qtx11extras) | |
363 | ("solid" ,solid) | |
364 | ("zlib" ,zlib))) | |
365 | (native-inputs | |
366 | `(("pkg-config" ,pkg-config) | |
367 | ("lxqt-build-tools" ,lxqt-build-tools) | |
368 | ("qttools" ,qttools))) | |
369 | (arguments | |
370 | '(#:tests? #f ; no tests | |
371 | #:configure-flags | |
372 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
373 | '("-DPULL_TRANSLATIONS=NO") | |
374 | #:phases | |
375 | (modify-phases %standard-phases | |
376 | (add-after 'unpack 'patch-source | |
377 | (lambda _ | |
378 | (substitute* '("src/CMakeLists.txt") | |
379 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
380 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg")) | |
381 | #t))))) | |
382 | (home-page "https://lxqt.org") | |
383 | (synopsis "Tools to configure LXQt and the underlying operating system") | |
384 | (description "lxqt-config is providing several tools involved in the | |
385 | configuration of both LXQt and the underlying operating system.") | |
386 | (license license:lgpl2.1+))) | |
387 | ||
fab34846 MP |
388 | (define-public lxqt-globalkeys |
389 | (package | |
390 | (name "lxqt-globalkeys") | |
391 | (version "0.13.0") | |
392 | (source | |
393 | (origin | |
394 | (method url-fetch) | |
395 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
396 | version "/" name "-" version ".tar.xz")) | |
397 | (sha256 | |
398 | (base32 "1gyvcjbhi7zpvgz1sf773dv9gc35hx5fz023njp9r4vl0dpcavgd")))) | |
399 | (build-system cmake-build-system) | |
400 | (inputs | |
401 | `(("kwindowsystem" ,kwindowsystem) | |
402 | ("liblxqt" ,liblxqt) | |
403 | ("libqtxdg" ,libqtxdg) | |
404 | ("qtbase" ,qtbase) | |
405 | ("qtsvg" ,qtsvg) | |
406 | ("qtx11extras" ,qtx11extras))) | |
407 | (native-inputs | |
408 | `(("pkg-config" ,pkg-config) | |
409 | ("qttools" ,qttools) | |
410 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
411 | (arguments | |
412 | '(#:tests? #f ; no tests | |
413 | #:configure-flags | |
414 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
415 | '("-DPULL_TRANSLATIONS=NO") | |
416 | #:phases | |
417 | (modify-phases %standard-phases | |
418 | (add-after 'unpack 'patch-source | |
419 | (lambda _ | |
420 | (substitute* '("autostart/CMakeLists.txt" | |
421 | "xdg/CMakeLists.txt") | |
422 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
423 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg")) | |
424 | #t))))) | |
425 | (home-page "https://lxqt.org/") | |
426 | (synopsis "Daemon used to register global keyboard shortcuts") | |
427 | (description "lxqt-globalkeys is providing tools to set global keyboard | |
428 | shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session | |
429 | as a whole and are not limited to distinct applications.") | |
a6b941dd | 430 | (license license:lgpl2.1+))) |
fab34846 | 431 | |
a98000a4 MP |
432 | (define-public lxqt-notificationd |
433 | (package | |
434 | (name "lxqt-notificationd") | |
435 | (version "0.13.0") | |
436 | (source | |
437 | (origin | |
438 | (method url-fetch) | |
439 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
440 | version "/" name "-" version ".tar.xz")) | |
441 | (sha256 | |
442 | (base32 "1l0hdbvghyhqgvy4pih7rvz26bc6yc8a3l1bdj11hnkw62h1i7d6")))) | |
443 | (build-system cmake-build-system) | |
444 | (inputs | |
445 | `(("kwindowsystem" ,kwindowsystem) | |
446 | ("liblxqt" ,liblxqt) | |
447 | ("libqtxdg" ,libqtxdg) | |
448 | ("qtbase" ,qtbase) | |
449 | ("qtsvg" ,qtsvg) | |
450 | ("qtx11extras" ,qtx11extras))) | |
451 | (native-inputs | |
452 | `(("lxqt-build-tools" ,lxqt-build-tools) | |
453 | ("qttools" ,qttools))) | |
454 | (arguments | |
455 | '(#:tests? #f ; no test target | |
456 | #:configure-flags | |
457 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
458 | '("-DPULL_TRANSLATIONS=NO") | |
459 | #:phases | |
460 | (modify-phases %standard-phases | |
461 | (add-after 'unpack 'patch-source | |
462 | (lambda _ | |
463 | (substitute* '("autostart/CMakeLists.txt") | |
464 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
465 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg")) | |
466 | #t))))) | |
467 | (home-page "https://lxqt.org/") | |
468 | (synopsis "The LXQt notification daemon") | |
469 | (description "lxqt-notificationd is LXQt's implementation of a daemon | |
470 | according to the Desktop Notifications Specification.") | |
471 | (license license:lgpl2.1+))) | |
472 | ||
af291d1c MP |
473 | (define-public lxqt-panel |
474 | (package | |
475 | (name "lxqt-panel") | |
476 | (version "0.13.0") | |
477 | (source | |
478 | (origin | |
479 | (method url-fetch) | |
480 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
481 | version "/" name "-" version ".tar.xz")) | |
482 | (sha256 | |
483 | (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1")))) | |
484 | (build-system cmake-build-system) | |
485 | (inputs | |
486 | `(("alsa-lib" ,alsa-lib) | |
487 | ("kguiaddons" ,kguiaddons) | |
488 | ("kwindowsystem" ,kwindowsystem) | |
489 | ("libdbusmenu-qt" ,libdbusmenu-qt) | |
490 | ("liblxqt" ,liblxqt) | |
491 | ("libqtxdg" ,libqtxdg) | |
492 | ("libstatgrab" ,libstatgrab) | |
493 | ("libsysstat", libsysstat) | |
494 | ("libxcomposite" ,libxcomposite) | |
495 | ("libxdamage" ,libxdamage) | |
496 | ("libxkbcommon" ,libxkbcommon) | |
497 | ("libxrender" ,libxrender) | |
498 | ("lm-sensors" ,lm-sensors "lib") | |
499 | ("lxqt-globalkeys" ,lxqt-globalkeys) | |
500 | ("pcre" ,pcre) | |
501 | ("pulseaudio" ,pulseaudio) | |
502 | ("qtbase" ,qtbase) | |
503 | ("qtsvg" ,qtsvg) | |
504 | ("qtx11extras" ,qtx11extras) | |
505 | ("solid" ,solid) | |
506 | ("xcb-util" ,xcb-util))) | |
507 | (native-inputs | |
508 | `(("pkg-config" ,pkg-config) | |
509 | ("lxqt-build-tools" ,lxqt-build-tools) | |
510 | ("qttools" ,qttools))) | |
511 | (arguments | |
512 | '(#:tests? #f ; no tests | |
513 | #:configure-flags | |
514 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
515 | '("-DPULL_TRANSLATIONS=NO") | |
516 | #:phases | |
517 | (modify-phases %standard-phases | |
518 | (add-after 'unpack 'patch-source | |
519 | (lambda _ | |
520 | (substitute* '("autostart/CMakeLists.txt" | |
521 | "menu/CMakeLists.txt") | |
522 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
523 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg")) | |
524 | #t))))) | |
525 | (home-page "https://lxqt.org/") | |
526 | (synopsis "The LXQt desktop panel") | |
527 | (description "lxqt-panel represents the taskbar of LXQt.") | |
a6b941dd | 528 | (license license:lgpl2.1+))) |
af291d1c | 529 | |
cc7f4175 MP |
530 | (define-public lxqt-runner |
531 | (package | |
532 | (name "lxqt-runner") | |
533 | (version "0.13.0") | |
534 | (source | |
535 | (origin | |
536 | (method url-fetch) | |
537 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
538 | version "/" name "-" version ".tar.xz")) | |
539 | (sha256 | |
540 | (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali")))) | |
541 | (build-system cmake-build-system) | |
542 | (inputs | |
543 | `(("kwindowsystem" ,kwindowsystem) | |
544 | ("liblxqt" ,liblxqt) | |
545 | ("libqtxdg" ,libqtxdg) | |
546 | ("lxqt-globalkeys" ,lxqt-globalkeys) | |
547 | ("muparser" ,muparser) | |
548 | ("pcre" ,pcre) | |
549 | ("qtbase" ,qtbase) | |
550 | ("qtsvg" ,qtsvg) | |
551 | ("qtx11extras" ,qtx11extras))) | |
552 | (native-inputs | |
553 | `(("pkg-config" ,pkg-config) | |
554 | ("qttools", qttools) | |
555 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
556 | (arguments | |
557 | '(#:tests? #f ; no tests | |
558 | #:configure-flags | |
559 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
560 | '("-DPULL_TRANSLATIONS=NO") | |
561 | #:phases | |
562 | (modify-phases %standard-phases | |
563 | (add-after 'unpack 'patch-source | |
564 | (lambda _ | |
565 | (substitute* '("autostart/CMakeLists.txt") | |
566 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
567 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg")) | |
568 | #t))))) | |
569 | (home-page "https://lxqt.org/") | |
570 | (synopsis "Tool used to launch programs quickly by typing their names") | |
571 | (description "lxqt-runner provides a GUI that comes up on the desktop and | |
572 | allows for launching applications or shutting down the system.") | |
a6b941dd | 573 | (license license:lgpl2.1+))) |
cc7f4175 | 574 | |
54033a4d AE |
575 | (define-public lxqt-session |
576 | (package | |
577 | (name "lxqt-session") | |
70c488f8 | 578 | (version "0.13.0") |
54033a4d AE |
579 | (source |
580 | (origin | |
581 | (method url-fetch) | |
70c488f8 MP |
582 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" |
583 | version "/" name "-" version ".tar.xz")) | |
54033a4d | 584 | (sha256 |
70c488f8 | 585 | (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z")))) |
54033a4d | 586 | (build-system cmake-build-system) |
54033a4d | 587 | (inputs |
70c488f8 MP |
588 | `(("eudev" ,eudev) |
589 | ("kwindowsystem" ,kwindowsystem) | |
54033a4d | 590 | ("liblxqt" ,liblxqt) |
e099d2a6 EF |
591 | ("libqtxdg" ,libqtxdg) |
592 | ("qtbase" ,qtbase) | |
70c488f8 | 593 | ("qtsvg" ,qtsvg) |
70c488f8 MP |
594 | ("qtx11extras" ,qtx11extras) |
595 | ("xdg-user-dirs" ,xdg-user-dirs))) | |
596 | (native-inputs | |
597 | `(("pkg-config" ,pkg-config) | |
f2b48558 MP |
598 | ("lxqt-build-tools" ,lxqt-build-tools) |
599 | ("qttools" ,qttools))) | |
54033a4d | 600 | (arguments |
70c488f8 MP |
601 | `(#:tests? #f |
602 | #:configure-flags | |
603 | `("-DPULL_TRANSLATIONS=NO") | |
54033a4d | 604 | #:phases |
70c488f8 MP |
605 | (modify-phases %standard-phases |
606 | (add-after 'unpack 'patch-source | |
54033a4d | 607 | (lambda _ |
70c488f8 MP |
608 | (substitute* '("autostart/CMakeLists.txt" |
609 | "config/CMakeLists.txt") | |
610 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
611 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg")) | |
612 | #t))))) | |
613 | (home-page "https://lxqt.org/") | |
54033a4d AE |
614 | (synopsis "Session manager for LXQt") |
615 | (description "lxqt-session provides the standard session manager | |
616 | for the LXQt desktop environment.") | |
a6b941dd | 617 | (license license:lgpl2.1+))) |
dbb4f7d0 MP |
618 | |
619 | (define-public lxqt-sudo | |
620 | (package | |
621 | (name "lxqt-sudo") | |
622 | (version "0.13.0") | |
623 | (source | |
624 | (origin | |
625 | (method url-fetch) | |
626 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
627 | version "/" name "-" version ".tar.xz")) | |
628 | (sha256 | |
629 | (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf")))) | |
630 | (build-system cmake-build-system) | |
631 | (inputs | |
632 | `(("kwindowsystem" ,kwindowsystem) | |
633 | ("liblxqt" ,liblxqt) | |
634 | ("libqtxdg" ,libqtxdg) | |
635 | ("qtbase" ,qtbase) | |
636 | ("qtsvg" ,qtsvg) | |
637 | ("qtx11extras" ,qtx11extras) | |
638 | ("sudo" ,sudo))) | |
639 | (native-inputs | |
640 | `(("pkg-config" ,pkg-config) | |
641 | ("qttools" ,qttools) | |
642 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
643 | (arguments | |
644 | '(#:tests? #f ; no tests | |
645 | #:configure-flags | |
646 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
647 | '("-DPULL_TRANSLATIONS=NO"))) | |
648 | (home-page "https://lxqt.org/") | |
649 | (synopsis "GUI frontend for sudo/su") | |
650 | (description "lxqt-sudo is a graphical front-end of commands sudo and su | |
651 | respectively. As such it enables regular users to launch applications with | |
652 | permissions of other users including root.") | |
a6b941dd | 653 | (license license:lgpl2.1+))) |
d6fd4a76 MP |
654 | |
655 | (define-public pcmanfm-qt | |
656 | (package | |
657 | (name "pcmanfm-qt") | |
658 | (version "0.13.0") | |
659 | (source | |
660 | (origin | |
661 | (method url-fetch) | |
662 | (uri (string-append "https://github.com/lxqt/" name "/releases/download/" | |
663 | version "/" name "-" version ".tar.xz")) | |
664 | (sha256 | |
665 | (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz")))) | |
666 | (build-system cmake-build-system) | |
667 | (inputs | |
668 | `(("libfm-qt" ,libfm-qt) | |
669 | ("qtbase" ,qtbase) | |
670 | ("qtx11extras" ,qtx11extras))) | |
671 | (native-inputs | |
672 | `(("pkg-config" ,pkg-config) | |
673 | ("qttools" ,qttools) | |
674 | ("lxqt-build-tools" ,lxqt-build-tools))) | |
675 | (arguments | |
676 | '(#:tests? #f ; no tests | |
677 | #:configure-flags | |
678 | ;; TODO: prefetch translations files from 'lxqt-l10n'. | |
679 | '("-DPULL_TRANSLATIONS=NO") | |
680 | #:phases | |
681 | (modify-phases %standard-phases | |
682 | (add-after 'unpack 'patch-source | |
683 | (lambda _ | |
684 | (substitute* '("autostart/CMakeLists.txt") | |
685 | (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") | |
686 | "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg")) | |
687 | #t))))) | |
688 | (home-page "https://lxqt.org/") | |
689 | (synopsis "File manager and desktop icon manager") | |
690 | (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of | |
691 | LXDE.") | |
a6b941dd | 692 | (license license:lgpl2.1+))) |