diff options
author | ng0 <ng0@libertad.pw> | 2017-01-23 17:29:29 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-28 22:15:45 +0200 |
commit | 50042505db06b7b8a8708702d0ce6621d8a98f07 (patch) | |
tree | 5c800758e5e3e2ffe765bdde0efe253f9dbc5e4c /gnu | |
parent | dbf544f9ecf9bc9d6edb507dc5ba8ab6ba497f68 (diff) | |
download | guix-50042505db06b7b8a8708702d0ce6621d8a98f07.tar.gz |
gnu: Add lxpanel.
* gnu/packages/lxde.scm (lxpanel): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lxde.scm | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm index 87f96493cb..08fafa2372 100644 --- a/gnu/packages/lxde.scm +++ b/gnu/packages/lxde.scm @@ -22,11 +22,15 @@ #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages docbook) + #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) + #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) + #:use-module (gnu packages wm) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -354,4 +358,55 @@ in LXDE.") (home-page "http://lxde.org") (license license:gpl2+))) +(define-public lxpanel + (package + (name "lxpanel") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://downloads.sourceforge.net/lxde/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1ccgv7jgl3y865cpb6w7baaz7468fxncm83bqxlwyni5bwhglb1l")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (menu (assoc-ref inputs "lxmenu-data"))) + (wrap-program (string-append out "/bin/lxpanel") + `("XDG_DATA_DIRS" ":" prefix + (,(string-append menu "/share")))) + #t)))))) + (inputs + ;; TODO: libindicator-0.3.0 + `(("gtk+-2" ,gtk+-2) + ("alsa-lib" ,alsa-lib) + ("libwnck-2" ,libwnck-2) + ("keybinder" ,keybinder) + ("libxmu" ,libxmu) + ("libxpm" ,libxpm) + ("libxml2" ,libxml2) + ("cairo" ,cairo) + ("libx11" ,libx11) + ("wireless-tools" ,wireless-tools))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("docbook-xml" ,docbook-xml) + ("gettext-minimal" ,gettext-minimal))) + (propagated-inputs + `(("lxmenu-data" ,lxmenu-data) + ("libfm" ,libfm) + ("menu-cache" ,menu-cache))) + (synopsis "X11 Desktop panel for LXDE") + (description + "Lxpanel provides an X11 desktop panel for LXDE.") + (home-page "http://lxde.org") + (license license:gpl2+))) + ;;; lxde.scm ends here |