X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/a728afb63b93a690f415c73235acbf85698b13b7..refs/heads/wip-bees:/gnu/packages/lxqt.scm diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index 43eaf23634..20efba17b7 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -3,10 +3,13 @@ ;;; Copyright © 2015 Sou Bunnbu ;;; Copyright © 2016 Mark H Weaver ;;; Copyright © 2016 Efraim Flashner -;;; Copyright © 2017 Nils Gillmann +;;; Copyright © 2017 Nikita ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018, 2019 Meiyo Peng ;;; Copyright © 2018 Ricardo Wurmus +;;; Copyright © 2019, 2020 Reza Alizadeh Majd +;;; Copyright © 2020 Fakhri Sajadi +;;; Copyright © 2020 André Batista ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,7 +77,7 @@ ;; Download from github rather than launchpad because launchpad trunk ;; tarball hash is not deterministic. (uri (git-reference - (url "https://github.com/unity8-team/libdbusmenu-qt.git") + (url "https://github.com/unity8-team/libdbusmenu-qt") (commit version))) (file-name (git-file-name name version)) (sha256 @@ -97,14 +100,14 @@ and import their menus over DBus.") (define-public libstatgrab (package (name "libstatgrab") - (version "0.91") + (version "0.92") (source (origin (method url-fetch) (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/" name "-" version ".tar.gz")) (sha256 - (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83")))) + (base32 "15m1sl990l85ijf8pnc6hdfha6fqyiq74mijrzm3xz4zzxm91wav")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--enable-tests"))) @@ -124,7 +127,7 @@ to statistics about the system on which it's run.") (define-public lxqt-build-tools (package (name "lxqt-build-tools") - (version "0.6.0") + (version "0.7.0") (source (origin (method url-fetch) @@ -132,7 +135,7 @@ to statistics about the system on which it's run.") "/download/" version "/lxqt-build-tools-" version ".tar.xz")) (sha256 - (base32 "0n0p0mf12n9f7zm2592779rpqrbcamfdz87nnjb8j058bc8g3214")))) + (base32 "147vdkc25mrlr0fy785yzwhm4gwjxa5xl3n3hljz4c97m531kzl5")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; no tests @@ -151,13 +154,13 @@ to statistics about the system on which it's run.") (description "Lxqt-build-tools is providing several tools needed to build LXQt itself as well as other components maintained by the LXQt project.") - (home-page "https://lxqt.org") + (home-page "https://lxqt.github.io") (license license:lgpl2.1+))) (define-public libqtxdg (package (name "libqtxdg") - (version "3.3.1") + (version "3.5.0") (source (origin (method url-fetch) @@ -165,7 +168,7 @@ itself as well as other components maintained by the LXQt project.") "https://github.com/lxqt/libqtxdg/releases/download/" version "/libqtxdg-" version ".tar.xz")) (sha256 - (base32 "1mnnq8vbf5xjlrzajzfkay0yzzxri0zz0xi8x8rmxpw38xmglq8h")))) + (base32 "0g2mwipgl8737jhgqymjixvk745svh2rlini3qr92lrg60v9paa1")))) (build-system cmake-build-system) (arguments '(#:configure-flags @@ -180,10 +183,12 @@ itself as well as other components maintained by the LXQt project.") #t))))) (propagated-inputs ;; required by Qt5XdgIconLoader.pc - `(("qtbase" ,qtbase) + `(("glib" ,glib) + ("qtbase" ,qtbase) ("qtsvg" ,qtsvg))) (native-inputs - `(("lxqt-build-tools" ,lxqt-build-tools))) + `(("lxqt-build-tools" ,lxqt-build-tools) + ("pkg-config" ,pkg-config))) (home-page "https://github.com/lxqt/libqtxdg") (synopsis "Qt implementation of freedesktop.org xdg specifications") (description "Libqtxdg implements the freedesktop.org xdg specifications @@ -193,7 +198,7 @@ in Qt.") (define-public liblxqt (package (name "liblxqt") - (version "0.14.1") + (version "0.15.1") (source (origin (method url-fetch) @@ -201,7 +206,7 @@ in Qt.") "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1gb922npf6nw4w3nkvh4czk8xmdzzqkzq3zgl1h303fjaib359qs")))) + (base32 "0mg62gypjpmpjd3lr7rrvzmkkhli1vf5pri47hg76byz84vng4a9")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; no tests @@ -230,7 +235,7 @@ in Qt.") (native-inputs `(("lxqt-build-tools" ,lxqt-build-tools) ("qttools" ,qttools))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Core utility library for all LXQt components") (description "liblxqt provides the basic libraries shared by the components of the LXQt desktop environment.") @@ -239,21 +244,21 @@ components of the LXQt desktop environment.") (define-public libsysstat (package (name "libsysstat") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "0rz9w49khra9kl91kfnd3wxkldy1fqf6755mvlgbsqxb1yv8597w")))) + (base32 "1s5s7skzy3sh4rlnfy7r0cg3r1scvp35ldd28bhnqjya99m7ip37")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; no tests (inputs `(("qtbase" ,qtbase))) (native-inputs `(("lxqt-build-tools" ,lxqt-build-tools))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Library used to query system info and statistics") (description "libsysstat is a library to query system information like CPU and memory usage or network traffic.") @@ -265,14 +270,14 @@ and memory usage or network traffic.") (define-public lxqt-about (package (name "lxqt-about") - (version "0.14.1") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "01xp5ddcxc9wvl7jm4179hjrirj07mpzm9z50936d1fqx34wfbis")))) + (base32 "0p24z1vykyp8dkhwaxxi4hw5150yv9a2ncc55vbwx4c6bmmibmsh")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -288,6 +293,10 @@ and memory usage or network traffic.") '(#:tests? #f ; no tests #:phases (modify-phases %standard-phases + (add-before 'build 'setenv + (lambda _ + (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1") + #t)) (add-after 'unpack 'patch-translations-dir (lambda* (#:key outputs #:allow-other-keys) (substitute* "CMakeLists.txt" @@ -295,7 +304,7 @@ and memory usage or network traffic.") (string-append (assoc-ref outputs "out") "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org") + (home-page "https://lxqt.github.io") (synopsis "Provides information about LXQt and the system") (description "lxqt-about is a dialogue window providing information about LXQt and the system it's running on.") @@ -304,14 +313,14 @@ LXQt and the system it's running on.") (define-public lxqt-admin (package (name "lxqt-admin") - (version "0.14.1") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "0f0skkxqyhpidpd5phliax869v4n2whvglg8rahzia2zhw4ylzry")))) + (base32 "1zal37hyzqimwsymmi3w15n1iq78g53754s8abc9ylkzc236xpfc")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -341,7 +350,7 @@ LXQt and the system it's running on.") (string-append (assoc-ref outputs "out") "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org") + (home-page "https://lxqt.github.io") (synopsis "LXQt system administration tool") (description "lxqt-admin is providing two GUI tools to adjust settings of the operating system LXQt is running on.") @@ -350,14 +359,14 @@ the operating system LXQt is running on.") (define-public lxqt-config (package (name "lxqt-config") - (version "0.14.1") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "16k36knv6d72gg8hp7423l3ic43y3l3zbaf3spqn2a354y30myrg")))) + (base32 "18fagd6ynmx74qw0pjkkg2n3v6s18n6lcsbj7lvfd4lkbcfnzqpb")))) (build-system cmake-build-system) (inputs `(("eudev" ,eudev) @@ -372,6 +381,7 @@ the operating system LXQt is running on.") ("qtx11extras" ,qtx11extras) ("solid" ,solid) ("xf86-input-libinput" ,xf86-input-libinput) + ("xkeyboard-config" ,xkeyboard-config) ("zlib" ,zlib))) (native-inputs `(("pkg-config" ,pkg-config) @@ -387,6 +397,14 @@ the operating system LXQt is running on.") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) #t)) + (add-after 'unpack 'set-xkeyboard-config-file-name + (lambda* (#:key inputs #:allow-other-keys) + ;; Set the file name to xkeyboard-config. + (let ((xkb (assoc-ref inputs "xkeyboard-config"))) + (substitute* "lxqt-config-input/keyboardlayoutconfig.h" + (("/usr/share/X11/xkb/rules/base.lst") + (string-append xkb "/share/X11/xkb/rules/base.lst"))) + #t))) (add-after 'unpack 'patch-translations-dir (lambda* (#:key outputs #:allow-other-keys) (substitute* '("lxqt-config-file-associations/CMakeLists.txt" @@ -401,7 +419,7 @@ the operating system LXQt is running on.") (string-append (assoc-ref outputs "out") "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org") + (home-page "https://lxqt.github.io") (synopsis "Tools to configure LXQt and the underlying operating system") (description "lxqt-config is providing several tools involved in the configuration of both LXQt and the underlying operating system.") @@ -410,14 +428,15 @@ configuration of both LXQt and the underlying operating system.") (define-public lxqt-globalkeys (package (name "lxqt-globalkeys") - (version "0.14.1") + (version "0.15.0") (source (origin (method url-fetch) - (uri (string-append "https://github.com/lxqt/" name "/releases/download/" - version "/" name "-" version ".tar.xz")) + (uri (string-append "https://github.com/lxqt/lxqt-globalkeys/" + "releases/download/" version "/" + "lxqt-globalkeys-" version ".tar.xz")) (sha256 - (base32 "0m6svwy20bfy9d21g5l0qzjndph3rd8zqagmqgdjzjhh3lxwrsrk")))) + (base32 "1wfvpvy32p60j7xibfa30skzxx2187qrsqxm1npabj1y5bva2m6f")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -448,7 +467,7 @@ configuration of both LXQt and the underlying operating system.") (string-append (assoc-ref outputs "out") "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Daemon used to register global keyboard shortcuts") (description "lxqt-globalkeys is providing tools to set global keyboard shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session @@ -458,14 +477,14 @@ as a whole and are not limited to distinct applications.") (define-public lxqt-notificationd (package (name "lxqt-notificationd") - (version "0.14.1") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1kiag3fcx12qmslln6x6lwvm4f1spymwf71389kdya3vwx7hkmcy")))) + (base32 "01fva6q2vb0aframxgm0jslvb3z0dcwmhz0yr239bskvdwpn885w")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -495,7 +514,7 @@ as a whole and are not limited to distinct applications.") (string-append (assoc-ref outputs "out") "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "The LXQt notification daemon") (description "lxqt-notificationd is LXQt's implementation of a daemon according to the Desktop Notifications Specification.") @@ -504,14 +523,14 @@ according to the Desktop Notifications Specification.") (define-public lxqt-openssh-askpass (package (name "lxqt-openssh-askpass") - (version "0.14.1") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1fvbgjidpifn420avh8n1gym49vcz6zgayz7xygg1x93s4awy1cs")))) + (base32 "1h8nhj4ig8419kfdqjsig16ayf2byrzgrk698aiym544n5ayjwak")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -534,7 +553,7 @@ according to the Desktop Notifications Specification.") (string-append (assoc-ref outputs "out") "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "GUI to query passwords on behalf of SSH agents") (description "lxqt-openssh-askpass is a GUI to query credentials on behalf of other programs.") @@ -543,19 +562,18 @@ of other programs.") (define-public lxqt-panel (package (name "lxqt-panel") - (version "0.13.0") + (version "0.15.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1")))) + (base32 "1b40l9p31nz96q38vwgd1zj142xcwqnjwljsird4nnzs2smjn1c6")))) (build-system cmake-build-system) (inputs `(("alsa-lib" ,alsa-lib) ("kguiaddons" ,kguiaddons) - ("kwindowsystem" ,kwindowsystem) ("libdbusmenu-qt" ,libdbusmenu-qt) ("liblxqt" ,liblxqt) ("libqtxdg" ,libqtxdg) @@ -573,16 +591,19 @@ of other programs.") ("qtsvg" ,qtsvg) ("qtx11extras" ,qtx11extras) ("solid" ,solid) - ("xcb-util" ,xcb-util))) + ("xcb-util" ,xcb-util) + ("xkeyboard-config" ,xkeyboard-config))) (native-inputs `(("pkg-config" ,pkg-config) ("lxqt-build-tools" ,lxqt-build-tools) ("qttools" ,qttools))) + (propagated-inputs + ;; Propagating KWINDOWSYSTEM so that the list of opened applications + ;; shows up in lxqt-panel's taskbar plugin. + `(("kwindowsystem" ,kwindowsystem) + ("lxmenu-data" ,lxmenu-data))) (arguments '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-source @@ -591,8 +612,24 @@ of other programs.") "menu/CMakeLists.txt") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) - #t))))) - (home-page "https://lxqt.org/") + #t)) + (add-after 'unpack 'patch-translations-dir + (lambda* (#:key outputs #:allow-other-keys) + (substitute* '("cmake/BuildPlugin.cmake" + "panel/CMakeLists.txt") + (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") + (string-append (assoc-ref outputs "out") + "/share/lxqt/translations"))) + #t)) + (add-after 'unpack 'set-xkeyboard-config-file-path + (lambda* (#:key inputs #:allow-other-keys) + ;; Set the path to xkeyboard-config. + (let ((xkb (assoc-ref inputs "xkeyboard-config"))) + (substitute* "plugin-kbindicator/src/x11/kbdlayout.cpp" + (("/usr/share/X11/xkb/rules/evdev.xml") + (string-append xkb "/share/X11/xkb/rules/evdev.xml"))) + #t)))))) + (home-page "https://lxqt.github.io") (synopsis "The LXQt desktop panel") (description "lxqt-panel represents the taskbar of LXQt.") (license license:lgpl2.1+))) @@ -600,14 +637,14 @@ of other programs.") (define-public lxqt-policykit (package (name "lxqt-policykit") - (version "0.13.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp")))) + (base32 "0kzc9mxl47bz6mifmk4xi9sxh7jl31d55j7cq8vijqg3w1yb5rp2")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -625,8 +662,6 @@ of other programs.") ("qttools" ,qttools))) (arguments '(#:tests? #f ; no test target - #:configure-flags - '("-DPULL_TRANSLATIONS=NO") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-source @@ -634,24 +669,31 @@ of other programs.") (substitute* '("autostart/CMakeLists.txt") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) + #t)) + (add-after 'unpack 'patch-translations-dir + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "CMakeLists.txt" + (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") + (string-append (assoc-ref outputs "out") + "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "The LXQt PolicyKit agent") - (description "lxqt-policykit is the polkit authentification agent of + (description "lxqt-policykit is the polkit authentication agent of LXQt.") (license license:lgpl2.1+))) (define-public lxqt-powermanagement (package (name "lxqt-powermanagement") - (version "0.13.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613")))) + (base32 "1kal7w6ngs9yrg309p4wacmabpynsrysmbpfkpphg158z548wwl0")))) (build-system cmake-build-system) (inputs `(("kidletime" ,kidletime) @@ -667,9 +709,6 @@ LXQt.") ("qttools" ,qttools))) (arguments '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-source @@ -677,8 +716,16 @@ LXQt.") (substitute* '("autostart/CMakeLists.txt") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) + #t)) + (add-after 'unpack 'patch-translations-dir + (lambda* (#:key outputs #:allow-other-keys) + (substitute* '("config/CMakeLists.txt" + "src/CMakeLists.txt") + (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") + (string-append (assoc-ref outputs "out") + "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Power management module for LXQt") (description "lxqt-powermanagement is providing tools to monitor power management events and optionally trigger actions like e. g. shut down a system @@ -688,14 +735,14 @@ when laptop batteries are low on power.") (define-public lxqt-qtplugin (package (name "lxqt-qtplugin") - (version "0.13.0") + (version "0.15.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56")))) + (base32 "17kmpm3nn07xyxz21f86y3hqi6s0jvqyhsc703zy0463sc58vvys")))) (build-system cmake-build-system) (inputs `(("libdbusmenu-qt" ,libdbusmenu-qt) @@ -717,7 +764,7 @@ when laptop batteries are low on power.") (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}") "DESTINATION \"lib/qt5/plugins")) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "LXQt Qt platform integration plugin") (description "lxqt-qtplugin is providing a library libqtlxqt to integrate Qt with LXQt.") @@ -726,14 +773,14 @@ Qt with LXQt.") (define-public lxqt-runner (package (name "lxqt-runner") - (version "0.13.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali")))) + (base32 "02xxpflhh6a8qpnjhl5mrl07ikzl5x21mf0rj8nmm0v28rpkqjk1")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -751,9 +798,6 @@ Qt with LXQt.") ("lxqt-build-tools" ,lxqt-build-tools))) (arguments '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-source @@ -761,8 +805,15 @@ Qt with LXQt.") (substitute* '("autostart/CMakeLists.txt") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) + #t)) + (add-after 'unpack 'patch-translations-dir + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "CMakeLists.txt" + (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") + (string-append (assoc-ref outputs "out") + "/share/lxqt/translations"))) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Tool used to launch programs quickly by typing their names") (description "lxqt-runner provides a GUI that comes up on the desktop and allows for launching applications or shutting down the system.") @@ -771,14 +822,14 @@ allows for launching applications or shutting down the system.") (define-public lxqt-session (package (name "lxqt-session") - (version "0.13.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z")))) + (base32 "17y6l1l2m2hzxlzvr7wbixnldbr7waky97vj6lx72r81l45wqkz4")))) (build-system cmake-build-system) (inputs `(("eudev" ,eudev) @@ -795,18 +846,45 @@ allows for launching applications or shutting down the system.") ("qttools" ,qttools))) (arguments `(#:tests? #f - #:configure-flags - `("-DPULL_TRANSLATIONS=NO") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-source - (lambda _ + (lambda* (#:key outputs #:allow-other-keys) (substitute* '("autostart/CMakeLists.txt" "config/CMakeLists.txt") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) - #t))))) - (home-page "https://lxqt.org/") + (let ((out (assoc-ref outputs "out"))) + (substitute* '("xsession/lxqt.desktop.in") + (("Exec=startlxqt") (string-append "Exec=" out "/bin/startlxqt")) + (("TryExec=lxqt-session") (string-append "TryExec=" out "/bin/startlxqt"))) + #t))) + ;; add write permission to lxqt-rc.xml file which is stored as read-only in store + (add-after 'unpack 'patch-openbox-permission + (lambda _ + (substitute* "startlxqt.in" + (("cp \"\\$LXQT_DEFAULT_OPENBOX_CONFIG\" \"\\$XDG_CONFIG_HOME/openbox\"") + (string-append "cp \"$LXQT_DEFAULT_OPENBOX_CONFIG\" \"$XDG_CONFIG_HOME/openbox\"\n" + " # fix openbox permission issue\n" + " chmod u+w \"$XDG_CONFIG_HOME/openbox\"/*"))) + #t)) + (add-after 'unpack 'patch-translations-dir + (lambda* (#:key outputs #:allow-other-keys) + (substitute* '("lxqt-config-session/CMakeLists.txt" + "lxqt-leave/CMakeLists.txt" + "lxqt-session/CMakeLists.txt") + (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") + (string-append (assoc-ref outputs "out") + "/share/lxqt/translations"))) + #t)) + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/startlxqt") + `("XDG_CONFIG_DIRS" ":" suffix ("/run/current-system/profile/share" + "/run/current-system/profile/share/pcmanfm-qt"))) + #t)))))) + (home-page "https://lxqt.github.io") (synopsis "Session manager for LXQt") (description "lxqt-session provides the standard session manager for the LXQt desktop environment.") @@ -815,14 +893,14 @@ for the LXQt desktop environment.") (define-public lxqt-sudo (package (name "lxqt-sudo") - (version "0.13.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf")))) + (base32 "1v4gzmld3zqi3y9pdy3hb8lq81jwbgi4ia00lbzccg8cm0m8n55w")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -838,10 +916,16 @@ for the LXQt desktop environment.") ("lxqt-build-tools" ,lxqt-build-tools))) (arguments '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO"))) - (home-page "https://lxqt.org/") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-translations-dir + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "CMakeLists.txt" + (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") + (string-append (assoc-ref outputs "out") + "/share/lxqt/translations"))) + #t))))) + (home-page "https://lxqt.github.io") (synopsis "GUI frontend for sudo/su") (description "lxqt-sudo is a graphical front-end of commands sudo and su respectively. As such it enables regular users to launch applications with @@ -851,14 +935,14 @@ permissions of other users including root.") (define-public lxqt-themes (package (name "lxqt-themes") - (version "0.13.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf")))) + (base32 "1dzv60q1dhi666ajh218smkp3ybh5vl2mxyvlbyc9zwvhgx3f0d1")))) (build-system cmake-build-system) (native-inputs `(("lxqt-build-tools" ,lxqt-build-tools))) @@ -875,7 +959,7 @@ permissions of other users including root.") (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}") "DESTINATION \"share/lxqt")) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Themes, graphics and icons for LXQt") (description "This package comprises a number of graphic files and themes for LXQt.") @@ -889,20 +973,17 @@ for LXQt.") (define-public libfm-qt (package (name "libfm-qt") - (version "0.13.1") + (version "0.15.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9")))) + (base32 "034kc8i571m31fksprih6iiykxj85j98fmm6nrkmlwql45kr6rvs")))) (build-system cmake-build-system) (arguments - '(#:tests? #f ; no tests - #:configure-flags - ;; TODO : prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO"))) + '(#:tests? #f)) ; no tests (inputs `(("glib" ,glib) ("libexif" ,libexif) @@ -916,7 +997,7 @@ for LXQt.") `(("pkg-config" ,pkg-config) ("lxqt-build-tools" ,lxqt-build-tools) ("qttools" ,qttools))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Qt binding for libfm") (description "libfm-qt is the Qt port of libfm, a library providing components to build desktop file managers which belongs to LXDE.") @@ -925,14 +1006,14 @@ components to build desktop file managers which belongs to LXDE.") (define-public pcmanfm-qt (package (name "pcmanfm-qt") - (version "0.13.0") + (version "0.15.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz")))) + (base32 "1izc60hrc16sv2ig9psr3br9iq8nln6a2ycfspzycgpk8rh0f6jd")))) (build-system cmake-build-system) (inputs `(("libfm-qt" ,libfm-qt) @@ -944,9 +1025,6 @@ components to build desktop file managers which belongs to LXDE.") ("lxqt-build-tools" ,lxqt-build-tools))) (arguments '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-source @@ -954,8 +1032,11 @@ components to build desktop file managers which belongs to LXDE.") (substitute* '("autostart/CMakeLists.txt") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) + (substitute* '("config/pcmanfm-qt/lxqt/settings.conf.in") + (("@LXQT_SHARE_DIR@") + "/run/current-system/profile/share/lxqt" )) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "File manager and desktop icon manager") (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of LXDE.") @@ -967,14 +1048,14 @@ LXDE.") (define-public compton-conf (package (name "compton-conf") - (version "0.4.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci")))) + (base32 "1ii1bans7wdafm9rmxvsdqp3ad4cj0pa8kf92plbmbm3nycpf1q9")))) (build-system cmake-build-system) (inputs `(("libconfig" ,libconfig) @@ -985,9 +1066,6 @@ LXDE.") ("qttools" ,qttools))) (arguments '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-source @@ -996,7 +1074,7 @@ LXDE.") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) #t))))) - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "GUI configuration tool for compton X composite manager") (description "@code{compton-conf} is a configuration tool for X composite manager Compton.") @@ -1005,14 +1083,14 @@ manager Compton.") (define-public lximage-qt (package (name "lximage-qt") - (version "0.7.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w")))) + (base32 "02iyymb8ywlzvv69lga5a86b7kh4v78zw6qzq5kcnjp1rpj2rjrk")))) (build-system cmake-build-system) (inputs `(("libexif" ,libexif) @@ -1025,11 +1103,8 @@ manager Compton.") ("lxqt-build-tools" ,lxqt-build-tools) ("qttools" ,qttools))) (arguments - '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO"))) - (home-page "https://lxqt.org/") + '(#:tests? #f)) ; no tests + (home-page "https://lxqt.github.io") (synopsis "The image viewer and screenshot tool for lxqt") (description "LXImage-Qt is the Qt port of LXImage, a simple and fast image viewer.") @@ -1038,14 +1113,14 @@ image viewer.") (define-public obconf-qt (package (name "obconf-qt") - (version "0.13.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf")))) + (base32 "1vcv2y54hgxcf76cr775632kajmvz3v4x1q3r6p1lzs9s7lmrh6q")))) (build-system cmake-build-system) (inputs `(("imlib2" ,imlib2) @@ -1063,11 +1138,8 @@ image viewer.") ("pkg-config" ,pkg-config) ("qttools" ,qttools))) (arguments - '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO"))) - (home-page "https://lxqt.org/") + '(#:tests? #f)) ; no tests + (home-page "https://lxqt.github.io") (synopsis "Openbox configuration tool") (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for window manager OpenBox.") @@ -1076,14 +1148,14 @@ window manager OpenBox.") (define-public pavucontrol-qt (package (name "pavucontrol-qt") - (version "0.4.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6")))) + (base32 "15wknwmb4640r5fm4wiq6xa70qa2djay2806wyvajh11xjmqy566")))) (build-system cmake-build-system) (inputs `(("glib" ,glib) @@ -1096,11 +1168,8 @@ window manager OpenBox.") ("lxqt-build-tools" ,lxqt-build-tools) ("qttools" ,qttools))) (arguments - '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO"))) - (home-page "https://lxqt.org/") + '(#:tests? #f)) ; no tests + (home-page "https://lxqt.github.io") (synopsis "Pulseaudio mixer in Qt") (description "@code{pavucontrol-qt} is the Qt port of volume control @code{pavucontrol} of sound server @code{PulseAudio}.") @@ -1109,24 +1178,28 @@ window manager OpenBox.") (define-public qps (package (name "qps") - (version "1.10.18") + (version "2.1.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44")))) + (base32 "0yym1bpglz8vha28x7k21fxx1vlsq19m3fyhk2cq3pwq3nqijwp7")))) (build-system cmake-build-system) (inputs - `(("libxrender" ,libxrender) + `(("kwindowsystem" ,kwindowsystem) + ("libxrender" ,libxrender) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) ("qtbase" ,qtbase) ("qtx11extras" ,qtx11extras))) (native-inputs - `(("qttools" ,qttools))) + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) (arguments '(#:tests? #f)) ; no tests - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Qt-based visual process status monitor") (description "@code{qps} is a monitor that displays the status of the processes currently in existence, much like code{top} or code{ps}.") @@ -1135,26 +1208,24 @@ processes currently in existence, much like code{top} or code{ps}.") (define-public qtermwidget (package (name "qtermwidget") - (version "0.9.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773")))) + (base32 "1vn3bbc99py0ak7z9s6p71n9cacpckz57a1p97iwb0p23g4zgjkf")))) (build-system cmake-build-system) (inputs - `(("qtbase" ,qtbase))) + `(("qtbase" ,qtbase) + ("utf8proc" ,utf8proc))) (native-inputs `(("lxqt-build-tools" ,lxqt-build-tools) ("qttools" ,qttools))) (arguments - '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO"))) - (home-page "https://lxqt.org/") + '(#:tests? #f)) ; no tests + (home-page "https://lxqt.github.io") (synopsis "The terminal widget for QTerminal") (description "QTermWidget is a terminal emulator widget for Qt 5.") (license license:gpl2+))) @@ -1162,14 +1233,14 @@ processes currently in existence, much like code{top} or code{ps}.") (define-public qterminal (package (name "qterminal") - (version "0.9.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/" name "/releases/download/" version "/" name "-" version ".tar.xz")) (sha256 - (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1")))) + (base32 "0r7xmwjpak47ayj7cj37bwrdlv1mx5nhqpccb5pbn2fh8slp8zsm")))) (build-system cmake-build-system) (inputs `(("qtbase" ,qtbase) @@ -1179,11 +1250,8 @@ processes currently in existence, much like code{top} or code{ps}.") `(("lxqt-build-tools" ,lxqt-build-tools) ("qttools" ,qttools))) (arguments - '(#:tests? #f ; no tests - #:configure-flags - ;; TODO: prefetch translations files from 'lxqt-l10n'. - '("-DPULL_TRANSLATIONS=NO"))) - (home-page "https://lxqt.org/") + '(#:tests? #f)) ; no tests + (home-page "https://lxqt.github.io") (synopsis "Lightweight Qt-based terminal emulator") (description "QTerminal is a lightweight Qt terminal emulator based on QTermWidget.") @@ -1192,14 +1260,14 @@ QTermWidget.") (define-public screengrab (package (name "screengrab") - (version "1.99") + (version "2.0.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/lxqt/screengrab/releases/download/" version "/screengrab-" version ".tar.xz")) (sha256 - (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3")))) + (base32 "14znjw3d3gw02fsmhrjcj86l173m2ypl1x8hhba9ld23icr1gqwf")))) (build-system cmake-build-system) (inputs `(("kwindowsystem" ,kwindowsystem) @@ -1212,13 +1280,97 @@ QTermWidget.") ("qttools" ,qttools))) (arguments '(#:tests? #f)) ; no tests - (home-page "https://lxqt.org/") + (home-page "https://lxqt.github.io") (synopsis "Crossplatform tool for fast making screenshots") (description "ScreenGrab is a program for fast creating screenshots, and easily publishing them on internet image hosting services.") (license license:gpl2+))) +(define-public lxqt-archiver + (package + (name "lxqt-archiver") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1i725zaah0wv18j5fchg6isbh4b601filx549cq2hkzf2sylh9ff")))) + (build-system cmake-build-system) + (inputs + `(("glib" ,glib) + ("json-glib" ,json-glib) + ("libfm-qt" ,libfm-qt) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f)) + (home-page "https://lxqt.github.io") + (synopsis "Simple & lightweight desktop-agnostic Qt file archiver") + (description + "This package provides a Qt graphical interface to archiving programs +like @command{tar} and @command{zip}.") + (license license:gpl2+))) + +(define-public lxqt-connman-applet + ;; since the main developers didn't release any version yet, their + ;; latest commit on `master` branch at the moment used for this version. + (let ((commit "8a6cc14371a2f18f963e6a2996446082bb60f17d") + (revision "0")) + (package + (name "lxqt-connman-applet") + (version (git-version "0.15.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://github.com/lxqt/" name)) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 (base32 "0br4bxfrl8k7lq84aq4grznlk8xzzjgkmd19bf9mwjr0a87gg72v")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("liblxqt" ,liblxqt) + ("qtx11extras" ,qtx11extras) + ("libqtxdg" ,libqtxdg))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qtlinguist" ,qttools))) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-translations-dir + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "CMakeLists.txt" + (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") + (string-append (assoc-ref outputs "out") + "/share/lxqt/translations")) + (("\\$\\{LXQT_ETC_XDG_DIR\\}") "etc/xdg")) + #t)) + (add-after 'unpack 'remove-definitions + (lambda _ + (substitute* "CMakeLists.txt" + (("include\\(LXQtCompilerSettings NO_POLICY_SCOPE\\)") + "include(LXQtCompilerSettings NO_POLICY_SCOPE) +remove_definitions(-DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII)")) + #t))))) + (home-page "https://github.com/lxqt/lxqt-connman-applet") + (synopsis "System-tray applet for connman") + (description "This package provides a Qt-based system-tray applet for +the network management tool Connman, originally developed for the LXQT +desktop.") + (license license:lgpl2.1+)))) + ;; The LXQt Desktop Environment (define-public lxqt @@ -1242,6 +1394,7 @@ easily publishing them on internet image hosting services.") ("lxqt-about" ,lxqt-about) ("lxqt-admin" ,lxqt-admin) ("lxqt-config" ,lxqt-config) + ("lxqt-globalkeys" ,lxqt-globalkeys) ("lxqt-notificationd" ,lxqt-notificationd) ("lxqt-openssh-askpass" ,lxqt-openssh-askpass) ("lxqt-panel" ,lxqt-panel) @@ -1266,5 +1419,5 @@ easily publishing them on internet image hosting services.") ("qterminal" ,qterminal))) (synopsis "The Lightweight Qt Desktop Environment") (description "LXQt is a lightweight Qt desktop environment.") - (home-page "https://lxde.org") + (home-page "https://lxqt.github.io") (license license:gpl2+)))