diff options
author | msglm <msglm@techchud.xyz> | 2024-03-13 04:27:36 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2024-03-13 04:27:36 -0500 |
commit | 970b740b4569d984f49f45dc950d3f71a8869fdd (patch) | |
tree | 04d9f8f3f18169448956f77f748a768d17db1dd6 /lxpanel-gtk2.scm | |
parent | a075e7f4a67148c89100c2cc884ae5f3fc10ca10 (diff) | |
download | guix-msglm-970b740b4569d984f49f45dc950d3f71a8869fdd.tar.gz guix-msglm-970b740b4569d984f49f45dc950d3f71a8869fdd.tar.bz2 guix-msglm-970b740b4569d984f49f45dc950d3f71a8869fdd.zip |
lxpanel-gtk2 re-added to fix bugged task bar
Diffstat (limited to 'lxpanel-gtk2.scm')
-rw-r--r-- | lxpanel-gtk2.scm | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/lxpanel-gtk2.scm b/lxpanel-gtk2.scm new file mode 100644 index 0000000..2f4d70f --- /dev/null +++ b/lxpanel-gtk2.scm @@ -0,0 +1,66 @@ +(define-module (lxpanel-gtk2) + #:use-module (gnu packages) + #:use-module (gnu packages lxde) + #:use-module (gnu packages gtk) + #:use-module (gnu packages gnome) + #:use-module (gnu packages wm) + #:use-module (gnu packages glib) + #:use-module (gnu packages python) + #:use-module (gnu packages autotools) + #:use-module (gnu packages pkg-config) + #:use-module ((guix licenses) :prefix license:) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module (guix gexp) + ) + +(define-public keybinder-legacy + (package + (name "keybinder-legacy") + (version "0.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kupferlauncher/keybinder.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0r9l8k85mqmwns065cz4ffsblrh24gyn1691lcnh02vkkc6zllks")))) + (build-system gnu-build-system) + (arguments (list #:configure-flags #~(list "--disable-python"))) + (inputs + (list gtk+-2)) + (native-inputs + (list gtk-doc pkg-config gnome-common automake autoconf libtool)) + (synopsis "Library for registering global keyboard shortcuts") + (description + "Keybinder is a library for registering global keyboard shortcuts. +Keybinder works with GTK-based applications using the X Window System.") + (home-page "https://github.com/kupferlauncher/keybinder") + (license license:gpl2+))) + +(define-public libfm-gtk2 +(package (inherit libfm) + (name "libfm-gtk2") + (arguments (list #:configure-flags #~(list "--with-gtk=2"))) + (inputs (modify-inputs (package-inputs libfm) + (prepend gtk+-2))) +)) + +(define-public lxpanel-gtk2 + (package (inherit lxpanel) + (name "lxpanel-gtk2") + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (search-input-file outputs "bin/lxpanel") + `("XDG_DATA_DIRS" ":" prefix + (,(string-append #$(this-package-input "lxmenu-data") + "/share"))))))))) + (inputs (modify-inputs (package-inputs lxpanel) + (prepend gtk+-2 libfm-gtk2 libwnck-2 keybinder-legacy))) + )) |