lxqt.scm 42 KB

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