You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1398 lines
50 KiB

mailmap: Update entries for Nikita. * .mailmap: change email and name for Nikita. * Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
1 year ago
gnu: Remove ".git" from "https://github/…/….git". Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
1 year ago
  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 Nikita <nikita@n0.is>
  7. ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
  8. ;;; Copyright © 2018, 2019 Meiyo Peng <meiyo@riseup.net>
  9. ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
  10. ;;; Copyright © 2019, 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
  11. ;;; Copyright © 2020 Fakhri Sajadi <f.sajadi@pantherx.org>
  12. ;;; Copyright © 2020 André Batista <nandre@riseup.net>
  13. ;;;
  14. ;;; This file is part of GNU Guix.
  15. ;;;
  16. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  17. ;;; under the terms of the GNU General Public License as published by
  18. ;;; the Free Software Foundation; either version 3 of the License, or (at
  19. ;;; your option) any later version.
  20. ;;;
  21. ;;; GNU Guix is distributed in the hope that it will be useful, but
  22. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  23. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  24. ;;; GNU General Public License for more details.
  25. ;;;
  26. ;;; You should have received a copy of the GNU General Public License
  27. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  28. (define-module (gnu packages lxqt)
  29. #:use-module (guix download)
  30. #:use-module (guix git-download)
  31. #:use-module ((guix licenses) #:prefix license:)
  32. #:use-module (guix packages)
  33. #:use-module (guix utils)
  34. #:use-module (guix build-system cmake)
  35. #:use-module (guix build-system gnu)
  36. #:use-module (guix build-system trivial)
  37. #:use-module (gnu packages)
  38. #:use-module (gnu packages admin)
  39. #:use-module (gnu packages compression)
  40. #:use-module (gnu packages documentation)
  41. #:use-module (gnu packages compton)
  42. #:use-module (gnu packages fonts)
  43. #:use-module (gnu packages freedesktop)
  44. #:use-module (gnu packages glib)
  45. #:use-module (gnu packages gnome)
  46. #:use-module (gnu packages gtk)
  47. #:use-module (gnu packages image)
  48. #:use-module (gnu packages kde-frameworks)
  49. #:use-module (gnu packages kde-plasma)
  50. #:use-module (gnu packages linux)
  51. #:use-module (gnu packages perl)
  52. #:use-module (gnu packages lxde)
  53. #:use-module (gnu packages maths)
  54. #:use-module (gnu packages openbox)
  55. #:use-module (gnu packages pcre)
  56. #:use-module (gnu packages photo)
  57. #:use-module (gnu packages pkg-config)
  58. #:use-module (gnu packages polkit)
  59. #:use-module (gnu packages pulseaudio)
  60. #:use-module (gnu packages qt)
  61. #:use-module (gnu packages textutils)
  62. #:use-module (gnu packages xdisorg)
  63. #:use-module (gnu packages xml)
  64. #:use-module (gnu packages xorg))
  65. ;; Third party libraries
  66. (define-public libdbusmenu-qt
  67. (package
  68. (name "libdbusmenu-qt")
  69. (version "0.9.3+16.04.20160218-0ubuntu1")
  70. (source
  71. (origin
  72. (method git-fetch)
  73. ;; Download from github rather than launchpad because launchpad trunk
  74. ;; tarball hash is not deterministic.
  75. (uri (git-reference
  76. (url "https://github.com/unity8-team/libdbusmenu-qt")
  77. (commit version)))
  78. (file-name (git-file-name name version))
  79. (sha256
  80. (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg"))))
  81. (build-system cmake-build-system)
  82. (arguments
  83. ;; XXX: Tests require a dbus session and some icons.
  84. '(#:tests? #f))
  85. (native-inputs
  86. `(("doxygen" ,doxygen)))
  87. (inputs
  88. `(("qtbase" ,qtbase)))
  89. (home-page "https://launchpad.net/libdbusmenu-qt")
  90. (synopsis "Qt implementation of the DBusMenu spec")
  91. (description "This library provides a Qt implementation of the DBusMenu
  92. protocol. The DBusMenu protocol makes it possible for applications to export
  93. and import their menus over DBus.")
  94. (license license:lgpl2.1+)))
  95. (define-public libstatgrab
  96. (package
  97. (name "libstatgrab")
  98. (version "0.92")
  99. (source
  100. (origin
  101. (method url-fetch)
  102. (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/"
  103. name "-" version ".tar.gz"))
  104. (sha256
  105. (base32 "15m1sl990l85ijf8pnc6hdfha6fqyiq74mijrzm3xz4zzxm91wav"))))
  106. (build-system gnu-build-system)
  107. (arguments
  108. '(#:configure-flags '("--enable-tests")))
  109. (native-inputs
  110. ;; For testing.
  111. `(("perl" ,perl)))
  112. (home-page "https://www.i-scream.org/libstatgrab/")
  113. (synopsis "Provides access to statistics about the system")
  114. (description "libstatgrab is a library that provides cross platform access
  115. to statistics about the system on which it's run.")
  116. ;; Libraries are under LGPL2.1+, and programs under GPLv2+.
  117. (license license:gpl2+)))
  118. ;; Base
  119. (define-public lxqt-build-tools
  120. (package
  121. (name "lxqt-build-tools")
  122. (version "0.7.0")
  123. (source
  124. (origin
  125. (method url-fetch)
  126. (uri (string-append "https://github.com/lxqt/lxqt-build-tools/releases"
  127. "/download/" version
  128. "/lxqt-build-tools-" version ".tar.xz"))
  129. (sha256
  130. (base32 "147vdkc25mrlr0fy785yzwhm4gwjxa5xl3n3hljz4c97m531kzl5"))))
  131. (build-system cmake-build-system)
  132. (arguments
  133. `(#:tests? #f ; no tests
  134. #:configure-flags
  135. ;; 'startlxqt' will add LXQT_DATA_DIR to XDG_DATA_DIRS,
  136. ;; LXQT_ETC_XDG_DIR to XDG_CONFIG_DIRS, and 'lxqt-about' will report
  137. ;; LXQT_ETC_XDG_DIR in its "Technical Info".
  138. '("-DLXQT_DATA_DIR=/run/current-system/profile/share"
  139. "-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg")))
  140. (native-inputs
  141. `(("pkg-config" ,pkg-config)
  142. ("glib" ,glib)))
  143. (inputs
  144. `(("qtbase" ,qtbase)))
  145. (synopsis "LXQt Build tools")
  146. (description
  147. "Lxqt-build-tools is providing several tools needed to build LXQt
  148. itself as well as other components maintained by the LXQt project.")
  149. (home-page "https://lxqt.github.io")
  150. (license license:lgpl2.1+)))
  151. (define-public libqtxdg
  152. (package
  153. (name "libqtxdg")
  154. (version "3.5.0")
  155. (source
  156. (origin
  157. (method url-fetch)
  158. (uri (string-append
  159. "https://github.com/lxqt/libqtxdg/releases/download/"
  160. version "/libqtxdg-" version ".tar.xz"))
  161. (sha256
  162. (base32 "0g2mwipgl8737jhgqymjixvk745svh2rlini3qr92lrg60v9paa1"))))
  163. (build-system cmake-build-system)
  164. (arguments
  165. '(#:configure-flags
  166. '("-DBUILD_TESTS=ON"
  167. "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines")
  168. #:phases
  169. (modify-phases %standard-phases
  170. (add-before 'check 'pre-check
  171. (lambda _
  172. ;; Run the tests offscreen.
  173. (setenv "QT_QPA_PLATFORM" "offscreen")
  174. #t)))))
  175. (propagated-inputs
  176. ;; required by Qt5XdgIconLoader.pc
  177. `(("glib" ,glib)
  178. ("qtbase" ,qtbase)
  179. ("qtsvg" ,qtsvg)))
  180. (native-inputs
  181. `(("lxqt-build-tools" ,lxqt-build-tools)
  182. ("pkg-config" ,pkg-config)))
  183. (home-page "https://github.com/lxqt/libqtxdg")
  184. (synopsis "Qt implementation of freedesktop.org xdg specifications")
  185. (description "Libqtxdg implements the freedesktop.org xdg specifications
  186. in Qt.")
  187. (license license:lgpl2.1+)))
  188. (define-public liblxqt
  189. (package
  190. (name "liblxqt")
  191. (version "0.15.1")
  192. (source
  193. (origin
  194. (method url-fetch)
  195. (uri (string-append
  196. "https://github.com/lxqt/" name "/releases/download/"
  197. version "/" name "-" version ".tar.xz"))
  198. (sha256
  199. (base32 "0mg62gypjpmpjd3lr7rrvzmkkhli1vf5pri47hg76byz84vng4a9"))))
  200. (build-system cmake-build-system)
  201. (arguments
  202. `(#:tests? #f ; no tests
  203. #:phases
  204. (modify-phases %standard-phases
  205. (add-after 'unpack 'patch-source
  206. (lambda _
  207. (substitute* "CMakeLists.txt"
  208. (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
  209. "DESTINATION \"share/polkit-1/actions"))
  210. #t))
  211. (add-after 'unpack 'patch-translations-dir
  212. (lambda* (#:key outputs #:allow-other-keys)
  213. (substitute* "CMakeLists.txt"
  214. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  215. (string-append (assoc-ref outputs "out")
  216. "/share/lxqt/translations")))
  217. #t)))))
  218. (inputs
  219. `(("kwindowsystem" ,kwindowsystem)
  220. ("libqtxdg" ,libqtxdg)
  221. ("libxscrnsaver" ,libxscrnsaver)
  222. ("polkit-qt" ,polkit-qt)
  223. ("qtsvg" ,qtsvg)
  224. ("qtx11extras" ,qtx11extras)))
  225. (native-inputs
  226. `(("lxqt-build-tools" ,lxqt-build-tools)
  227. ("qttools" ,qttools)))
  228. (home-page "https://lxqt.github.io")
  229. (synopsis "Core utility library for all LXQt components")
  230. (description "liblxqt provides the basic libraries shared by the
  231. components of the LXQt desktop environment.")
  232. (license license:lgpl2.1+)))
  233. (define-public libsysstat
  234. (package
  235. (name "libsysstat")
  236. (version "0.4.3")
  237. (source
  238. (origin
  239. (method url-fetch)
  240. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  241. version "/" name "-" version ".tar.xz"))
  242. (sha256
  243. (base32 "1s5s7skzy3sh4rlnfy7r0cg3r1scvp35ldd28bhnqjya99m7ip37"))))
  244. (build-system cmake-build-system)
  245. (arguments '(#:tests? #f)) ; no tests
  246. (inputs
  247. `(("qtbase" ,qtbase)))
  248. (native-inputs
  249. `(("lxqt-build-tools" ,lxqt-build-tools)))
  250. (home-page "https://lxqt.github.io")
  251. (synopsis "Library used to query system info and statistics")
  252. (description "libsysstat is a library to query system information like CPU
  253. and memory usage or network traffic.")
  254. (license license:lgpl2.1+)))
  255. ;; Core
  256. (define-public lxqt-about
  257. (package
  258. (name "lxqt-about")
  259. (version "0.15.0")
  260. (source
  261. (origin
  262. (method url-fetch)
  263. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  264. version "/" name "-" version ".tar.xz"))
  265. (sha256
  266. (base32 "0p24z1vykyp8dkhwaxxi4hw5150yv9a2ncc55vbwx4c6bmmibmsh"))))
  267. (build-system cmake-build-system)
  268. (inputs
  269. `(("kwindowsystem" ,kwindowsystem)
  270. ("liblxqt" ,liblxqt)
  271. ("libqtxdg" ,libqtxdg)
  272. ("qtbase" ,qtbase)
  273. ("qtsvg" ,qtsvg)
  274. ("qtx11extras" ,qtx11extras)))
  275. (native-inputs
  276. `(("lxqt-build-tools" ,lxqt-build-tools)
  277. ("qttools" ,qttools)))
  278. (arguments
  279. '(#:tests? #f ; no tests
  280. #:phases
  281. (modify-phases %standard-phases
  282. (add-before 'build 'setenv
  283. (lambda _
  284. (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
  285. #t))
  286. (add-after 'unpack 'patch-translations-dir
  287. (lambda* (#:key outputs #:allow-other-keys)
  288. (substitute* "CMakeLists.txt"
  289. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  290. (string-append (assoc-ref outputs "out")
  291. "/share/lxqt/translations")))
  292. #t)))))
  293. (home-page "https://lxqt.github.io")
  294. (synopsis "Provides information about LXQt and the system")
  295. (description "lxqt-about is a dialogue window providing information about
  296. LXQt and the system it's running on.")
  297. (license license:lgpl2.1+)))
  298. (define-public lxqt-admin
  299. (package
  300. (name "lxqt-admin")
  301. (version "0.15.0")
  302. (source
  303. (origin
  304. (method url-fetch)
  305. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  306. version "/" name "-" version ".tar.xz"))
  307. (sha256
  308. (base32 "1zal37hyzqimwsymmi3w15n1iq78g53754s8abc9ylkzc236xpfc"))))
  309. (build-system cmake-build-system)
  310. (inputs
  311. `(("kwindowsystem" ,kwindowsystem)
  312. ("liblxqt" ,liblxqt)
  313. ("libqtxdg" ,libqtxdg)
  314. ("polkit-qt" ,polkit-qt)
  315. ("qtsvg" ,qtsvg)
  316. ("qtx11extras" ,qtx11extras)))
  317. (native-inputs
  318. `(("lxqt-build-tools" ,lxqt-build-tools)
  319. ("qttools" ,qttools)))
  320. (arguments
  321. '(#:tests? #f ; no tests
  322. #:phases
  323. (modify-phases %standard-phases
  324. (add-after 'unpack 'patch-source
  325. (lambda _
  326. (substitute* "lxqt-admin-user/CMakeLists.txt"
  327. (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
  328. "DESTINATION \"share/polkit-1/actions"))
  329. #t))
  330. (add-after 'unpack 'patch-translations-dir
  331. (lambda* (#:key outputs #:allow-other-keys)
  332. (substitute* '("lxqt-admin-time/CMakeLists.txt"
  333. "lxqt-admin-user/CMakeLists.txt")
  334. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  335. (string-append (assoc-ref outputs "out")
  336. "/share/lxqt/translations")))
  337. #t)))))
  338. (home-page "https://lxqt.github.io")
  339. (synopsis "LXQt system administration tool")
  340. (description "lxqt-admin is providing two GUI tools to adjust settings of
  341. the operating system LXQt is running on.")
  342. (license license:lgpl2.1+)))
  343. (define-public lxqt-config
  344. (package
  345. (name "lxqt-config")
  346. (version "0.15.0")
  347. (source
  348. (origin
  349. (method url-fetch)
  350. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  351. version "/" name "-" version ".tar.xz"))
  352. (sha256
  353. (base32 "18fagd6ynmx74qw0pjkkg2n3v6s18n6lcsbj7lvfd4lkbcfnzqpb"))))
  354. (build-system cmake-build-system)
  355. (inputs
  356. `(("eudev" ,eudev)
  357. ("kwindowsystem" ,kwindowsystem)
  358. ("libkscreen" ,libkscreen)
  359. ("liblxqt" ,liblxqt)
  360. ("libqtxdg" ,libqtxdg)
  361. ("libxcursor" ,libxcursor)
  362. ("libxi" ,libxi)
  363. ("qtbase" ,qtbase)
  364. ("qtsvg" ,qtsvg)
  365. ("qtx11extras" ,qtx11extras)
  366. ("solid" ,solid)
  367. ("xf86-input-libinput" ,xf86-input-libinput)
  368. ("xkeyboard-config" ,xkeyboard-config)
  369. ("zlib" ,zlib)))
  370. (native-inputs
  371. `(("pkg-config" ,pkg-config)
  372. ("lxqt-build-tools" ,lxqt-build-tools)
  373. ("qttools" ,qttools)))
  374. (arguments
  375. '(#:tests? #f ; no tests
  376. #:phases
  377. (modify-phases %standard-phases
  378. (add-after 'unpack 'patch-source
  379. (lambda _
  380. (substitute* '("src/CMakeLists.txt")
  381. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  382. "DESTINATION \"etc/xdg"))
  383. #t))
  384. (add-after 'unpack 'set-xkeyboard-config-file-name
  385. (lambda* (#:key inputs #:allow-other-keys)
  386. ;; Set the file name to xkeyboard-config.
  387. (let ((xkb (assoc-ref inputs "xkeyboard-config")))
  388. (substitute* "lxqt-config-input/keyboardlayoutconfig.h"
  389. (("/usr/share/X11/xkb/rules/base.lst")
  390. (string-append xkb "/share/X11/xkb/rules/base.lst")))
  391. #t)))
  392. (add-after 'unpack 'patch-translations-dir
  393. (lambda* (#:key outputs #:allow-other-keys)
  394. (substitute* '("lxqt-config-file-associations/CMakeLists.txt"
  395. "lxqt-config-brightness/CMakeLists.txt"
  396. "lxqt-config-appearance/CMakeLists.txt"
  397. "lxqt-config-locale/CMakeLists.txt"
  398. "lxqt-config-monitor/CMakeLists.txt"
  399. "lxqt-config-input/CMakeLists.txt"
  400. "liblxqt-config-cursor/CMakeLists.txt"
  401. "src/CMakeLists.txt")
  402. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  403. (string-append (assoc-ref outputs "out")
  404. "/share/lxqt/translations")))
  405. #t)))))
  406. (home-page "https://lxqt.github.io")
  407. (synopsis "Tools to configure LXQt and the underlying operating system")
  408. (description "lxqt-config is providing several tools involved in the
  409. configuration of both LXQt and the underlying operating system.")
  410. (license license:lgpl2.1+)))
  411. (define-public lxqt-globalkeys
  412. (package
  413. (name "lxqt-globalkeys")
  414. (version "0.15.0")
  415. (source
  416. (origin
  417. (method url-fetch)
  418. (uri (string-append "https://github.com/lxqt/lxqt-globalkeys/"
  419. "releases/download/" version "/"
  420. "lxqt-globalkeys-" version ".tar.xz"))
  421. (sha256
  422. (base32 "1wfvpvy32p60j7xibfa30skzxx2187qrsqxm1npabj1y5bva2m6f"))))
  423. (build-system cmake-build-system)
  424. (inputs
  425. `(("kwindowsystem" ,kwindowsystem)
  426. ("liblxqt" ,liblxqt)
  427. ("libqtxdg" ,libqtxdg)
  428. ("qtbase" ,qtbase)
  429. ("qtsvg" ,qtsvg)
  430. ("qtx11extras" ,qtx11extras)))
  431. (native-inputs
  432. `(("pkg-config" ,pkg-config)
  433. ("qttools" ,qttools)
  434. ("lxqt-build-tools" ,lxqt-build-tools)))
  435. (arguments
  436. '(#:tests? #f ; no tests
  437. #:phases
  438. (modify-phases %standard-phases
  439. (add-after 'unpack 'patch-source
  440. (lambda _
  441. (substitute* '("autostart/CMakeLists.txt"
  442. "xdg/CMakeLists.txt")
  443. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  444. "DESTINATION \"etc/xdg"))
  445. #t))
  446. (add-after 'unpack 'patch-translations-dir
  447. (lambda* (#:key outputs #:allow-other-keys)
  448. (substitute* "config/CMakeLists.txt"
  449. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  450. (string-append (assoc-ref outputs "out")
  451. "/share/lxqt/translations")))
  452. #t)))))
  453. (home-page "https://lxqt.github.io")
  454. (synopsis "Daemon used to register global keyboard shortcuts")
  455. (description "lxqt-globalkeys is providing tools to set global keyboard
  456. shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
  457. as a whole and are not limited to distinct applications.")
  458. (license license:lgpl2.1+)))
  459. (define-public lxqt-notificationd
  460. (package
  461. (name "lxqt-notificationd")
  462. (version "0.15.0")
  463. (source
  464. (origin
  465. (method url-fetch)
  466. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  467. version "/" name "-" version ".tar.xz"))
  468. (sha256
  469. (base32 "01fva6q2vb0aframxgm0jslvb3z0dcwmhz0yr239bskvdwpn885w"))))
  470. (build-system cmake-build-system)
  471. (inputs
  472. `(("kwindowsystem" ,kwindowsystem)
  473. ("liblxqt" ,liblxqt)
  474. ("libqtxdg" ,libqtxdg)
  475. ("qtbase" ,qtbase)
  476. ("qtsvg" ,qtsvg)
  477. ("qtx11extras" ,qtx11extras)))
  478. (native-inputs
  479. `(("lxqt-build-tools" ,lxqt-build-tools)
  480. ("qttools" ,qttools)))
  481. (arguments
  482. '(#:tests? #f ; no test target
  483. #:phases
  484. (modify-phases %standard-phases
  485. (add-after 'unpack 'patch-source
  486. (lambda _
  487. (substitute* '("autostart/CMakeLists.txt")
  488. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  489. "DESTINATION \"etc/xdg"))
  490. #t))
  491. (add-after 'unpack 'patch-translations-dir
  492. (lambda* (#:key outputs #:allow-other-keys)
  493. (substitute* '("config/CMakeLists.txt"
  494. "src/CMakeLists.txt")
  495. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  496. (string-append (assoc-ref outputs "out")
  497. "/share/lxqt/translations")))
  498. #t)))))
  499. (home-page "https://lxqt.github.io")
  500. (synopsis "The LXQt notification daemon")
  501. (description "lxqt-notificationd is LXQt's implementation of a daemon
  502. according to the Desktop Notifications Specification.")
  503. (license license:lgpl2.1+)))
  504. (define-public lxqt-openssh-askpass
  505. (package
  506. (name "lxqt-openssh-askpass")
  507. (version "0.15.0")
  508. (source
  509. (origin
  510. (method url-fetch)
  511. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  512. version "/" name "-" version ".tar.xz"))
  513. (sha256
  514. (base32 "1h8nhj4ig8419kfdqjsig16ayf2byrzgrk698aiym544n5ayjwak"))))
  515. (build-system cmake-build-system)
  516. (inputs
  517. `(("kwindowsystem" ,kwindowsystem)
  518. ("liblxqt" ,liblxqt)
  519. ("libqtxdg" ,libqtxdg)
  520. ("qtbase" ,qtbase)
  521. ("qtsvg" ,qtsvg)
  522. ("qtx11extras" ,qtx11extras)))
  523. (native-inputs
  524. `(("lxqt-build-tools" ,lxqt-build-tools)
  525. ("qttools" ,qttools)))
  526. (arguments
  527. '(#:tests? #f ; no tests
  528. #:phases
  529. (modify-phases %standard-phases
  530. (add-after 'unpack 'patch-translations-dir
  531. (lambda* (#:key outputs #:allow-other-keys)
  532. (substitute* "CMakeLists.txt"
  533. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  534. (string-append (assoc-ref outputs "out")
  535. "/share/lxqt/translations")))
  536. #t)))))
  537. (home-page "https://lxqt.github.io")
  538. (synopsis "GUI to query passwords on behalf of SSH agents")
  539. (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
  540. of other programs.")
  541. (license license:lgpl2.1+)))
  542. (define-public lxqt-panel
  543. (package
  544. (name "lxqt-panel")
  545. (version "0.15.1")
  546. (source
  547. (origin
  548. (method url-fetch)
  549. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  550. version "/" name "-" version ".tar.xz"))
  551. (sha256
  552. (base32 "1b40l9p31nz96q38vwgd1zj142xcwqnjwljsird4nnzs2smjn1c6"))))
  553. (build-system cmake-build-system)
  554. (inputs
  555. `(("alsa-lib" ,alsa-lib)
  556. ("kguiaddons" ,kguiaddons)
  557. ("libdbusmenu-qt" ,libdbusmenu-qt)
  558. ("liblxqt" ,liblxqt)
  559. ("libqtxdg" ,libqtxdg)
  560. ("libstatgrab" ,libstatgrab)
  561. ("libsysstat" ,libsysstat)
  562. ("libxcomposite" ,libxcomposite)
  563. ("libxdamage" ,libxdamage)
  564. ("libxkbcommon" ,libxkbcommon)
  565. ("libxrender" ,libxrender)
  566. ("lm-sensors" ,lm-sensors "lib")
  567. ("lxqt-globalkeys" ,lxqt-globalkeys)
  568. ("pcre" ,pcre)
  569. ("pulseaudio" ,pulseaudio)
  570. ("qtbase" ,qtbase)
  571. ("qtsvg" ,qtsvg)
  572. ("qtx11extras" ,qtx11extras)
  573. ("solid" ,solid)
  574. ("xcb-util" ,xcb-util)))
  575. (native-inputs
  576. `(("pkg-config" ,pkg-config)
  577. ("lxqt-build-tools" ,lxqt-build-tools)
  578. ("qttools" ,qttools)))
  579. (propagated-inputs
  580. ;; Propagating KWINDOWSYSTEM so that the list of opened applications
  581. ;; shows up in lxqt-panel's taskbar plugin.
  582. `(("kwindowsystem" ,kwindowsystem)))
  583. (arguments
  584. '(#:tests? #f ; no tests
  585. #:phases
  586. (modify-phases %standard-phases
  587. (add-after 'unpack 'patch-source
  588. (lambda _
  589. (substitute* '("autostart/CMakeLists.txt"
  590. "menu/CMakeLists.txt")
  591. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  592. "DESTINATION \"etc/xdg"))
  593. #t))
  594. (add-after 'unpack 'patch-translations-dir
  595. (lambda* (#:key outputs #:allow-other-keys)
  596. (substitute* '("cmake/BuildPlugin.cmake"
  597. "panel/CMakeLists.txt")
  598. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  599. (string-append (assoc-ref outputs "out")
  600. "/share/lxqt/translations")))
  601. #t)))))
  602. (home-page "https://lxqt.github.io")
  603. (synopsis "The LXQt desktop panel")
  604. (description "lxqt-panel represents the taskbar of LXQt.")
  605. (license license:lgpl2.1+)))
  606. (define-public lxqt-policykit
  607. (package
  608. (name "lxqt-policykit")
  609. (version "0.15.0")
  610. (source
  611. (origin
  612. (method url-fetch)
  613. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  614. version "/" name "-" version ".tar.xz"))
  615. (sha256
  616. (base32 "0kzc9mxl47bz6mifmk4xi9sxh7jl31d55j7cq8vijqg3w1yb5rp2"))))
  617. (build-system cmake-build-system)
  618. (inputs
  619. `(("kwindowsystem" ,kwindowsystem)
  620. ("liblxqt" ,liblxqt)
  621. ("libqtxdg" ,libqtxdg)
  622. ("pcre" ,pcre)
  623. ("polkit-qt" ,polkit-qt)
  624. ("qtbase" ,qtbase)
  625. ("qtsvg" ,qtsvg)
  626. ("qtx11extras" ,qtx11extras)))
  627. (native-inputs
  628. `(("pkg-config" ,pkg-config)
  629. ("polkit" ,polkit)
  630. ("lxqt-build-tools" ,lxqt-build-tools)
  631. ("qttools" ,qttools)))
  632. (arguments
  633. '(#:tests? #f ; no test target
  634. #:phases
  635. (modify-phases %standard-phases
  636. (add-after 'unpack 'patch-source
  637. (lambda _
  638. (substitute* '("autostart/CMakeLists.txt")
  639. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  640. "DESTINATION \"etc/xdg"))
  641. #t))
  642. (add-after 'unpack 'patch-translations-dir
  643. (lambda* (#:key outputs #:allow-other-keys)
  644. (substitute* "CMakeLists.txt"
  645. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  646. (string-append (assoc-ref outputs "out")
  647. "/share/lxqt/translations")))
  648. #t)))))
  649. (home-page "https://lxqt.github.io")
  650. (synopsis "The LXQt PolicyKit agent")
  651. (description "lxqt-policykit is the polkit authentication agent of
  652. LXQt.")
  653. (license license:lgpl2.1+)))
  654. (define-public lxqt-powermanagement
  655. (package
  656. (name "lxqt-powermanagement")
  657. (version "0.15.0")
  658. (source
  659. (origin
  660. (method url-fetch)
  661. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  662. version "/" name "-" version ".tar.xz"))
  663. (sha256
  664. (base32 "1kal7w6ngs9yrg309p4wacmabpynsrysmbpfkpphg158z548wwl0"))))
  665. (build-system cmake-build-system)
  666. (inputs
  667. `(("kidletime" ,kidletime)
  668. ("kwindowsystem" ,kwindowsystem)
  669. ("liblxqt" ,liblxqt)
  670. ("libqtxdg" ,libqtxdg)
  671. ("qtbase" ,qtbase)
  672. ("qtsvg" ,qtsvg)
  673. ("qtx11extras" ,qtx11extras)
  674. ("solid" ,solid)))
  675. (native-inputs
  676. `(("lxqt-build-tools" ,lxqt-build-tools)
  677. ("qttools" ,qttools)))
  678. (arguments
  679. '(#:tests? #f ; no tests
  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 \"etc/xdg"))
  687. #t))
  688. (add-after 'unpack 'patch-translations-dir
  689. (lambda* (#:key outputs #:allow-other-keys)
  690. (substitute* '("config/CMakeLists.txt"
  691. "src/CMakeLists.txt")
  692. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  693. (string-append (assoc-ref outputs "out")
  694. "/share/lxqt/translations")))
  695. #t)))))
  696. (home-page "https://lxqt.github.io")
  697. (synopsis "Power management module for LXQt")
  698. (description "lxqt-powermanagement is providing tools to monitor power
  699. management events and optionally trigger actions like e. g. shut down a system
  700. when laptop batteries are low on power.")
  701. (license license:lgpl2.1+)))
  702. (define-public lxqt-qtplugin
  703. (package
  704. (name "lxqt-qtplugin")
  705. (version "0.15.1")
  706. (source
  707. (origin
  708. (method url-fetch)
  709. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  710. version "/" name "-" version ".tar.xz"))
  711. (sha256
  712. (base32 "17kmpm3nn07xyxz21f86y3hqi6s0jvqyhsc703zy0463sc58vvys"))))
  713. (build-system cmake-build-system)
  714. (inputs
  715. `(("libdbusmenu-qt" ,libdbusmenu-qt)
  716. ("libfm-qt" ,libfm-qt)
  717. ("libqtxdg" ,libqtxdg)
  718. ("qtbase" ,qtbase)
  719. ("qtsvg" ,qtsvg)
  720. ("qtx11extras" ,qtx11extras)))
  721. (native-inputs
  722. `(("lxqt-build-tools" ,lxqt-build-tools)
  723. ("qttools" ,qttools)))
  724. (arguments
  725. '(#:tests? #f ; no tests
  726. #:phases
  727. (modify-phases %standard-phases
  728. (add-after 'unpack 'patch-source
  729. (lambda _
  730. (substitute* '("src/CMakeLists.txt")
  731. (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
  732. "DESTINATION \"lib/qt5/plugins"))
  733. #t)))))
  734. (home-page "https://lxqt.github.io")
  735. (synopsis "LXQt Qt platform integration plugin")
  736. (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
  737. Qt with LXQt.")
  738. (license license:lgpl2.1+)))
  739. (define-public lxqt-runner
  740. (package
  741. (name "lxqt-runner")
  742. (version "0.15.0")
  743. (source
  744. (origin
  745. (method url-fetch)
  746. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  747. version "/" name "-" version ".tar.xz"))
  748. (sha256
  749. (base32 "02xxpflhh6a8qpnjhl5mrl07ikzl5x21mf0rj8nmm0v28rpkqjk1"))))
  750. (build-system cmake-build-system)
  751. (inputs
  752. `(("kwindowsystem" ,kwindowsystem)
  753. ("liblxqt" ,liblxqt)
  754. ("libqtxdg" ,libqtxdg)
  755. ("lxqt-globalkeys" ,lxqt-globalkeys)
  756. ("muparser" ,muparser)
  757. ("pcre" ,pcre)
  758. ("qtbase" ,qtbase)
  759. ("qtsvg" ,qtsvg)
  760. ("qtx11extras" ,qtx11extras)))
  761. (native-inputs
  762. `(("pkg-config" ,pkg-config)
  763. ("qttools" ,qttools)
  764. ("lxqt-build-tools" ,lxqt-build-tools)))
  765. (arguments
  766. '(#:tests? #f ; no tests
  767. #:phases
  768. (modify-phases %standard-phases
  769. (add-after 'unpack 'patch-source
  770. (lambda _
  771. (substitute* '("autostart/CMakeLists.txt")
  772. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  773. "DESTINATION \"etc/xdg"))
  774. #t))
  775. (add-after 'unpack 'patch-translations-dir
  776. (lambda* (#:key outputs #:allow-other-keys)
  777. (substitute* "CMakeLists.txt"
  778. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  779. (string-append (assoc-ref outputs "out")
  780. "/share/lxqt/translations")))
  781. #t)))))
  782. (home-page "https://lxqt.github.io")
  783. (synopsis "Tool used to launch programs quickly by typing their names")
  784. (description "lxqt-runner provides a GUI that comes up on the desktop and
  785. allows for launching applications or shutting down the system.")
  786. (license license:lgpl2.1+)))
  787. (define-public lxqt-session
  788. (package
  789. (name "lxqt-session")
  790. (version "0.15.0")
  791. (source
  792. (origin
  793. (method url-fetch)
  794. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  795. version "/" name "-" version ".tar.xz"))
  796. (sha256
  797. (base32 "17y6l1l2m2hzxlzvr7wbixnldbr7waky97vj6lx72r81l45wqkz4"))))
  798. (build-system cmake-build-system)
  799. (inputs
  800. `(("eudev" ,eudev)
  801. ("kwindowsystem" ,kwindowsystem)
  802. ("liblxqt" ,liblxqt)
  803. ("libqtxdg" ,libqtxdg)
  804. ("qtbase" ,qtbase)
  805. ("qtsvg" ,qtsvg)
  806. ("qtx11extras" ,qtx11extras)
  807. ("xdg-user-dirs" ,xdg-user-dirs)))
  808. (native-inputs
  809. `(("pkg-config" ,pkg-config)
  810. ("lxqt-build-tools" ,lxqt-build-tools)
  811. ("qttools" ,qttools)))
  812. (arguments
  813. `(#:tests? #f
  814. #:phases
  815. (modify-phases %standard-phases
  816. (add-after 'unpack 'patch-source
  817. (lambda _
  818. (substitute* '("autostart/CMakeLists.txt"
  819. "config/CMakeLists.txt")
  820. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  821. "DESTINATION \"etc/xdg"))
  822. #t))
  823. ;; add write permission to lxqt-rc.xml file which is stored as read-only in store
  824. (add-after 'unpack 'patch-openbox-permission
  825. (lambda _
  826. (substitute* "startlxqt.in"
  827. (("cp \"\\$LXQT_DEFAULT_OPENBOX_CONFIG\" \"\\$XDG_CONFIG_HOME/openbox\"")
  828. (string-append "cp \"$LXQT_DEFAULT_OPENBOX_CONFIG\" \"$XDG_CONFIG_HOME/openbox\"\n"
  829. " # fix openbox permission issue\n"
  830. " chmod u+w \"$XDG_CONFIG_HOME/openbox\"/*")))
  831. #t))
  832. (add-after 'unpack 'patch-translations-dir
  833. (lambda* (#:key outputs #:allow-other-keys)
  834. (substitute* '("lxqt-config-session/CMakeLists.txt"
  835. "lxqt-leave/CMakeLists.txt"
  836. "lxqt-session/CMakeLists.txt")
  837. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  838. (string-append (assoc-ref outputs "out")
  839. "/share/lxqt/translations")))
  840. #t)))))
  841. (home-page "https://lxqt.github.io")
  842. (synopsis "Session manager for LXQt")
  843. (description "lxqt-session provides the standard session manager
  844. for the LXQt desktop environment.")
  845. (license license:lgpl2.1+)))
  846. (define-public lxqt-sudo
  847. (package
  848. (name "lxqt-sudo")
  849. (version "0.15.0")
  850. (source
  851. (origin
  852. (method url-fetch)
  853. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  854. version "/" name "-" version ".tar.xz"))
  855. (sha256
  856. (base32 "1v4gzmld3zqi3y9pdy3hb8lq81jwbgi4ia00lbzccg8cm0m8n55w"))))
  857. (build-system cmake-build-system)
  858. (inputs
  859. `(("kwindowsystem" ,kwindowsystem)
  860. ("liblxqt" ,liblxqt)
  861. ("libqtxdg" ,libqtxdg)
  862. ("qtbase" ,qtbase)
  863. ("qtsvg" ,qtsvg)
  864. ("qtx11extras" ,qtx11extras)
  865. ("sudo" ,sudo)))
  866. (native-inputs
  867. `(("pkg-config" ,pkg-config)
  868. ("qttools" ,qttools)
  869. ("lxqt-build-tools" ,lxqt-build-tools)))
  870. (arguments
  871. '(#:tests? #f ; no tests
  872. #:phases
  873. (modify-phases %standard-phases
  874. (add-after 'unpack 'patch-translations-dir
  875. (lambda* (#:key outputs #:allow-other-keys)
  876. (substitute* "CMakeLists.txt"
  877. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  878. (string-append (assoc-ref outputs "out")
  879. "/share/lxqt/translations")))
  880. #t)))))
  881. (home-page "https://lxqt.github.io")
  882. (synopsis "GUI frontend for sudo/su")
  883. (description "lxqt-sudo is a graphical front-end of commands sudo and su
  884. respectively. As such it enables regular users to launch applications with
  885. permissions of other users including root.")
  886. (license license:lgpl2.1+)))
  887. (define-public lxqt-themes
  888. (package
  889. (name "lxqt-themes")
  890. (version "0.15.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 "1dzv60q1dhi666ajh218smkp3ybh5vl2mxyvlbyc9zwvhgx3f0d1"))))
  898. (build-system cmake-build-system)
  899. (native-inputs
  900. `(("lxqt-build-tools" ,lxqt-build-tools)))
  901. (arguments
  902. `(#:tests? #f ; no tests
  903. #:phases
  904. (modify-phases %standard-phases
  905. (add-after 'unpack 'patch-source
  906. (lambda _
  907. (substitute* '("CMakeLists.txt")
  908. (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
  909. "DESTINATION \"share/lxqt/graphics"))
  910. (substitute* '("themes/CMakeLists.txt")
  911. (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
  912. "DESTINATION \"share/lxqt"))
  913. #t)))))
  914. (home-page "https://lxqt.github.io")
  915. (synopsis "Themes, graphics and icons for LXQt")
  916. (description "This package comprises a number of graphic files and themes
  917. for LXQt.")
  918. ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
  919. ;; licensed under CC-BY-SA 3.0.
  920. (license license:lgpl2.1+)))
  921. ;; File Manager
  922. (define-public libfm-qt
  923. (package
  924. (name "libfm-qt")
  925. (version "0.15.1")
  926. (source
  927. (origin
  928. (method url-fetch)
  929. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  930. version "/" name "-" version ".tar.xz"))
  931. (sha256
  932. (base32 "034kc8i571m31fksprih6iiykxj85j98fmm6nrkmlwql45kr6rvs"))))
  933. (build-system cmake-build-system)
  934. (arguments
  935. '(#:tests? #f)) ; no tests
  936. (inputs
  937. `(("glib" ,glib)
  938. ("libexif" ,libexif)
  939. ("libfm" ,libfm)
  940. ("libxcb" ,libxcb)
  941. ("menu-cache" ,menu-cache)
  942. ("pcre" ,pcre)
  943. ("qtbase" ,qtbase)
  944. ("qtx11extras" ,qtx11extras)))
  945. (native-inputs
  946. `(("pkg-config" ,pkg-config)
  947. ("lxqt-build-tools" ,lxqt-build-tools)
  948. ("qttools" ,qttools)))
  949. (home-page "https://lxqt.github.io")
  950. (synopsis "Qt binding for libfm")
  951. (description "libfm-qt is the Qt port of libfm, a library providing
  952. components to build desktop file managers which belongs to LXDE.")
  953. (license license:lgpl2.1+)))
  954. (define-public pcmanfm-qt
  955. (package
  956. (name "pcmanfm-qt")
  957. (version "0.15.1")
  958. (source
  959. (origin
  960. (method url-fetch)
  961. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  962. version "/" name "-" version ".tar.xz"))
  963. (sha256
  964. (base32 "1izc60hrc16sv2ig9psr3br9iq8nln6a2ycfspzycgpk8rh0f6jd"))))
  965. (build-system cmake-build-system)
  966. (inputs
  967. `(("libfm-qt" ,libfm-qt)
  968. ("qtbase" ,qtbase)
  969. ("qtx11extras" ,qtx11extras)))
  970. (native-inputs
  971. `(("pkg-config" ,pkg-config)
  972. ("qttools" ,qttools)
  973. ("lxqt-build-tools" ,lxqt-build-tools)))
  974. (arguments
  975. '(#:tests? #f ; no tests
  976. #:phases
  977. (modify-phases %standard-phases
  978. (add-after 'unpack 'patch-source
  979. (lambda _
  980. (substitute* '("autostart/CMakeLists.txt")
  981. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  982. "DESTINATION \"etc/xdg"))
  983. #t)))))
  984. (home-page "https://lxqt.github.io")
  985. (synopsis "File manager and desktop icon manager")
  986. (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
  987. LXDE.")
  988. (license license:gpl2+)))
  989. ;; Extra
  990. (define-public compton-conf
  991. (package
  992. (name "compton-conf")
  993. (version "0.15.0")
  994. (source
  995. (origin
  996. (method url-fetch)
  997. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  998. version "/" name "-" version ".tar.xz"))
  999. (sha256
  1000. (base32 "1ii1bans7wdafm9rmxvsdqp3ad4cj0pa8kf92plbmbm3nycpf1q9"))))
  1001. (build-system cmake-build-system)
  1002. (inputs
  1003. `(("libconfig" ,libconfig)
  1004. ("qtbase" ,qtbase)))
  1005. (native-inputs
  1006. `(("lxqt-build-tools" ,lxqt-build-tools)
  1007. ("pkg-config" ,pkg-config)
  1008. ("qttools" ,qttools)))
  1009. (arguments
  1010. '(#:tests? #f ; no tests
  1011. #:phases
  1012. (modify-phases %standard-phases
  1013. (add-after 'unpack 'patch-source
  1014. (lambda _
  1015. (substitute* '("autostart/CMakeLists.txt")
  1016. (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
  1017. "DESTINATION \"etc/xdg"))
  1018. #t)))))
  1019. (home-page "https://lxqt.github.io")
  1020. (synopsis "GUI configuration tool for compton X composite manager")
  1021. (description "@code{compton-conf} is a configuration tool for X composite
  1022. manager Compton.")
  1023. (license license:lgpl2.1+)))
  1024. (define-public lximage-qt
  1025. (package
  1026. (name "lximage-qt")
  1027. (version "0.15.0")
  1028. (source
  1029. (origin
  1030. (method url-fetch)
  1031. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  1032. version "/" name "-" version ".tar.xz"))
  1033. (sha256
  1034. (base32 "02iyymb8ywlzvv69lga5a86b7kh4v78zw6qzq5kcnjp1rpj2rjrk"))))
  1035. (build-system cmake-build-system)
  1036. (inputs
  1037. `(("libexif" ,libexif)
  1038. ("libfm-qt" ,libfm-qt)
  1039. ("qtbase" ,qtbase)
  1040. ("qtsvg" ,qtsvg)
  1041. ("qtx11extras" ,qtx11extras)))
  1042. (native-inputs
  1043. `(("pkg-config" ,pkg-config)
  1044. ("lxqt-build-tools" ,lxqt-build-tools)
  1045. ("qttools" ,qttools)))
  1046. (arguments
  1047. '(#:tests? #f)) ; no tests
  1048. (home-page "https://lxqt.github.io")
  1049. (synopsis "The image viewer and screenshot tool for lxqt")
  1050. (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
  1051. image viewer.")
  1052. (license license:gpl2+)))
  1053. (define-public obconf-qt
  1054. (package
  1055. (name "obconf-qt")
  1056. (version "0.15.0")
  1057. (source
  1058. (origin
  1059. (method url-fetch)
  1060. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  1061. version "/" name "-" version ".tar.xz"))
  1062. (sha256
  1063. (base32 "1vcv2y54hgxcf76cr775632kajmvz3v4x1q3r6p1lzs9s7lmrh6q"))))
  1064. (build-system cmake-build-system)
  1065. (inputs
  1066. `(("imlib2" ,imlib2)
  1067. ("libsm" ,libsm)
  1068. ("librsvg" ,librsvg)
  1069. ("libxft" ,libxft)
  1070. ("libxml2" ,libxml2)
  1071. ("openbox" ,openbox)
  1072. ("pango" ,pango)
  1073. ("pcre" ,pcre)
  1074. ("qtbase" ,qtbase)
  1075. ("qtx11extras" ,qtx11extras)))
  1076. (native-inputs
  1077. `(("lxqt-build-tools" ,lxqt-build-tools)
  1078. ("pkg-config" ,pkg-config)
  1079. ("qttools" ,qttools)))
  1080. (arguments
  1081. '(#:tests? #f)) ; no tests
  1082. (home-page "https://lxqt.github.io")
  1083. (synopsis "Openbox configuration tool")
  1084. (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
  1085. window manager OpenBox.")
  1086. (license license:gpl2+)))
  1087. (define-public pavucontrol-qt
  1088. (package
  1089. (name "pavucontrol-qt")
  1090. (version "0.15.0")
  1091. (source
  1092. (origin
  1093. (method url-fetch)
  1094. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  1095. version "/" name "-" version ".tar.xz"))
  1096. (sha256
  1097. (base32 "15wknwmb4640r5fm4wiq6xa70qa2djay2806wyvajh11xjmqy566"))))
  1098. (build-system cmake-build-system)
  1099. (inputs
  1100. `(("glib" ,glib)
  1101. ("pcre" ,pcre)
  1102. ("pulseaudio" ,pulseaudio)
  1103. ("qtbase" ,qtbase)
  1104. ("qtx11extras" ,qtx11extras)))
  1105. (native-inputs
  1106. `(("pkg-config" ,pkg-config)
  1107. ("lxqt-build-tools" ,lxqt-build-tools)
  1108. ("qttools" ,qttools)))
  1109. (arguments
  1110. '(#:tests? #f)) ; no tests
  1111. (home-page "https://lxqt.github.io")
  1112. (synopsis "Pulseaudio mixer in Qt")
  1113. (description "@code{pavucontrol-qt} is the Qt port of volume control
  1114. @code{pavucontrol} of sound server @code{PulseAudio}.")
  1115. (license license:gpl2+)))
  1116. (define-public qps
  1117. (package
  1118. (name "qps")
  1119. (version "2.1.0")
  1120. (source
  1121. (origin
  1122. (method url-fetch)
  1123. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  1124. version "/" name "-" version ".tar.xz"))
  1125. (sha256
  1126. (base32 "0yym1bpglz8vha28x7k21fxx1vlsq19m3fyhk2cq3pwq3nqijwp7"))))
  1127. (build-system cmake-build-system)
  1128. (inputs
  1129. `(("kwindowsystem" ,kwindowsystem)
  1130. ("libxrender" ,libxrender)
  1131. ("liblxqt" ,liblxqt)
  1132. ("libqtxdg" ,libqtxdg)
  1133. ("qtbase" ,qtbase)
  1134. ("qtx11extras" ,qtx11extras)))
  1135. (native-inputs
  1136. `(("lxqt-build-tools" ,lxqt-build-tools)
  1137. ("qttools" ,qttools)))
  1138. (arguments
  1139. '(#:tests? #f)) ; no tests
  1140. (home-page "https://lxqt.github.io")
  1141. (synopsis "Qt-based visual process status monitor")
  1142. (description "@code{qps} is a monitor that displays the status of the
  1143. processes currently in existence, much like code{top} or code{ps}.")
  1144. (license license:gpl2+)))
  1145. (define-public qtermwidget
  1146. (package
  1147. (name "qtermwidget")
  1148. (version "0.15.0")
  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 "1vn3bbc99py0ak7z9s6p71n9cacpckz57a1p97iwb0p23g4zgjkf"))))
  1156. (build-system cmake-build-system)
  1157. (inputs
  1158. `(("qtbase" ,qtbase)
  1159. ("utf8proc" ,utf8proc)))
  1160. (native-inputs
  1161. `(("lxqt-build-tools" ,lxqt-build-tools)
  1162. ("qttools" ,qttools)))
  1163. (arguments
  1164. '(#:tests? #f)) ; no tests
  1165. (home-page "https://lxqt.github.io")
  1166. (synopsis "The terminal widget for QTerminal")
  1167. (description "QTermWidget is a terminal emulator widget for Qt 5.")
  1168. (license license:gpl2+)))
  1169. (define-public qterminal
  1170. (package
  1171. (name "qterminal")
  1172. (version "0.15.0")
  1173. (source
  1174. (origin
  1175. (method url-fetch)
  1176. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  1177. version "/" name "-" version ".tar.xz"))
  1178. (sha256
  1179. (base32 "0r7xmwjpak47ayj7cj37bwrdlv1mx5nhqpccb5pbn2fh8slp8zsm"))))
  1180. (build-system cmake-build-system)
  1181. (inputs
  1182. `(("qtbase" ,qtbase)
  1183. ("qtx11extras" ,qtx11extras)
  1184. ("qtermwidget" ,qtermwidget)))
  1185. (native-inputs
  1186. `(("lxqt-build-tools" ,lxqt-build-tools)
  1187. ("qttools" ,qttools)))
  1188. (arguments
  1189. '(#:tests? #f)) ; no tests
  1190. (home-page "https://lxqt.github.io")
  1191. (synopsis "Lightweight Qt-based terminal emulator")
  1192. (description "QTerminal is a lightweight Qt terminal emulator based on
  1193. QTermWidget.")
  1194. (license license:gpl2+)))
  1195. (define-public screengrab
  1196. (package
  1197. (name "screengrab")
  1198. (version "2.0.1")
  1199. (source
  1200. (origin
  1201. (method url-fetch)
  1202. (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
  1203. version "/screengrab-" version ".tar.xz"))
  1204. (sha256
  1205. (base32 "14znjw3d3gw02fsmhrjcj86l173m2ypl1x8hhba9ld23icr1gqwf"))))
  1206. (build-system cmake-build-system)
  1207. (inputs
  1208. `(("kwindowsystem" ,kwindowsystem)
  1209. ("libqtxdg" ,libqtxdg)
  1210. ("qtbase" ,qtbase)
  1211. ("qtsvg" ,qtsvg)
  1212. ("qtx11extras" ,qtx11extras)))
  1213. (native-inputs
  1214. `(("pkg-config" ,pkg-config)
  1215. ("qttools" ,qttools)))
  1216. (arguments
  1217. '(#:tests? #f)) ; no tests
  1218. (home-page "https://lxqt.github.io")
  1219. (synopsis "Crossplatform tool for fast making screenshots")
  1220. (description "ScreenGrab is a program for fast creating screenshots, and
  1221. easily publishing them on internet image hosting services.")
  1222. (license license:gpl2+)))
  1223. (define-public lxqt-archiver
  1224. (package
  1225. (name "lxqt-archiver")
  1226. (version "0.2.0")
  1227. (source
  1228. (origin
  1229. (method url-fetch)
  1230. (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
  1231. version "/" name "-" version ".tar.xz"))
  1232. (sha256
  1233. (base32 "1i725zaah0wv18j5fchg6isbh4b601filx549cq2hkzf2sylh9ff"))))
  1234. (build-system cmake-build-system)
  1235. (inputs
  1236. `(("glib" ,glib)
  1237. ("json-glib" ,json-glib)
  1238. ("libfm-qt" ,libfm-qt)
  1239. ("qtbase" ,qtbase)
  1240. ("qtx11extras" ,qtx11extras)))
  1241. (native-inputs
  1242. `(("pkg-config" ,pkg-config)
  1243. ("lxqt-build-tools" ,lxqt-build-tools)
  1244. ("qttools" ,qttools)))
  1245. (arguments
  1246. '(#:tests? #f))
  1247. (home-page "https://lxqt.github.io")
  1248. (synopsis "Simple & lightweight desktop-agnostic Qt file archiver")
  1249. (description
  1250. "This package provides a Qt graphical interface to archiving programs
  1251. like @command{tar} and @command{zip}.")
  1252. (license license:gpl2+)))
  1253. (define-public lxqt-connman-applet
  1254. ;; since the main developers didn't release any version yet, their
  1255. ;; latest commit on `master` branch at the moment used for this version.
  1256. (let ((commit "8a6cc14371a2f18f963e6a2996446082bb60f17d")
  1257. (revision "0"))
  1258. (package
  1259. (name "lxqt-connman-applet")
  1260. (version (git-version "0.15.0" revision commit))
  1261. (source
  1262. (origin
  1263. (method git-fetch)
  1264. (uri (git-reference
  1265. (url (string-append "https://github.com/lxqt/" name ".git"))
  1266. (commit commit)))
  1267. (file-name (git-file-name name version))
  1268. (sha256 (base32 "0br4bxfrl8k7lq84aq4grznlk8xzzjgkmd19bf9mwjr0a87gg72v"))))
  1269. (build-system cmake-build-system)
  1270. (inputs
  1271. `(("kwindowsystem" ,kwindowsystem)
  1272. ("qtbase" ,qtbase)
  1273. ("qtsvg" ,qtsvg)
  1274. ("liblxqt" ,liblxqt)
  1275. ("qtx11extras" ,qtx11extras)
  1276. ("libqtxdg" ,libqtxdg)))
  1277. (native-inputs
  1278. `(("lxqt-build-tools" ,lxqt-build-tools)
  1279. ("qtlinguist" ,qttools)))
  1280. (arguments
  1281. `(#:tests? #f ; no tests
  1282. #:phases
  1283. (modify-phases %standard-phases
  1284. (add-after 'unpack 'patch-translations-dir
  1285. (lambda* (#:key outputs #:allow-other-keys)
  1286. (substitute* "CMakeLists.txt"
  1287. (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
  1288. (string-append (assoc-ref outputs "out")
  1289. "/share/lxqt/translations"))
  1290. (("\\$\\{LXQT_ETC_XDG_DIR\\}") "etc/xdg"))
  1291. #t))
  1292. (add-after 'unpack 'remove-definitions
  1293. (lambda _
  1294. (substitute* "CMakeLists.txt"
  1295. (("include\\(LXQtCompilerSettings NO_POLICY_SCOPE\\)")
  1296. "include(LXQtCompilerSettings NO_POLICY_SCOPE)
  1297. remove_definitions(-DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII)"))
  1298. #t)))))
  1299. (home-page "https://github.com/lxqt/lxqt-connman-applet")
  1300. (synopsis "System-tray applet for connman")
  1301. (description "This package provides a Qt-based system-tray applet for
  1302. the network management tool Connman, originally developed for the LXQT
  1303. desktop.")
  1304. (license license:lgpl2.1+))))
  1305. ;; The LXQt Desktop Environment
  1306. (define-public lxqt
  1307. (package
  1308. (name "lxqt")
  1309. (version (package-version lxqt-session))
  1310. (source #f)
  1311. (build-system trivial-build-system)
  1312. (arguments '(#:builder (begin (mkdir %output) #t)))
  1313. (propagated-inputs
  1314. `(;; XDG
  1315. ("desktop-file-utils" ,desktop-file-utils)
  1316. ("hicolor-icon-theme" ,hicolor-icon-theme)
  1317. ("xdg-user-dirs" ,xdg-user-dirs)
  1318. ("xdg-utils" ,xdg-utils)
  1319. ;; Base
  1320. ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
  1321. ;; should be added to their propagated-inputs?
  1322. ("qtsvg" ,qtsvg)
  1323. ;; Core
  1324. ("lxqt-about" ,lxqt-about)
  1325. ("lxqt-admin" ,lxqt-admin)
  1326. ("lxqt-config" ,lxqt-config)
  1327. ("lxqt-notificationd" ,lxqt-notificationd)
  1328. ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
  1329. ("lxqt-panel" ,lxqt-panel)
  1330. ("lxqt-policykit" ,lxqt-policykit)
  1331. ("lxqt-powermanagement" ,lxqt-powermanagement)
  1332. ("lxqt-qtplugin" ,lxqt-qtplugin)
  1333. ("lxqt-runner" ,lxqt-runner)
  1334. ("lxqt-session" ,lxqt-session)
  1335. ("lxqt-sudo" ,lxqt-sudo)
  1336. ("lxqt-themes" ,lxqt-themes)
  1337. ("pcmanfm-qt" ,pcmanfm-qt)
  1338. ;; Extra
  1339. ("compton" ,compton)
  1340. ("compton-conf" ,compton-conf)
  1341. ("font-dejavu" ,font-dejavu)
  1342. ("lximage-qt" ,lximage-qt)
  1343. ("obconf-qt" ,obconf-qt)
  1344. ("openbox" ,openbox)
  1345. ("oxygen-icons" ,oxygen-icons)
  1346. ("pavucontrol-qt" ,pavucontrol-qt)
  1347. ("qps" ,qps)
  1348. ("qterminal" ,qterminal)))
  1349. (synopsis "The Lightweight Qt Desktop Environment")
  1350. (description "LXQt is a lightweight Qt desktop environment.")
  1351. (home-page "https://lxqt.github.io")
  1352. (license license:gpl2+)))