diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-03-10 12:07:43 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-03-10 12:07:43 +0200 |
commit | 152f73df24df52aa43cad82d64dfe650e76cbe9f (patch) | |
tree | de44c8b51f262ff1cd12f1eb5ea5506844857941 /lxde-base | |
parent | 1538033bb36ad2fc1e427e8d8d68888321a17e7f (diff) |
Added lxpanel
Diffstat (limited to 'lxde-base')
-rw-r--r-- | lxde-base/lxpanel/Manifest | 2 | ||||
-rw-r--r-- | lxde-base/lxpanel/files/lxpanel-0.5.9-libwnck-check.patch | 13 | ||||
-rw-r--r-- | lxde-base/lxpanel/files/lxpanel-0.5.9-sandbox.patch | 29 | ||||
-rw-r--r-- | lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch | 25 | ||||
-rw-r--r-- | lxde-base/lxpanel/files/start-here.png | bin | 0 -> 12493 bytes | |||
-rw-r--r-- | lxde-base/lxpanel/lxpanel-0.6.1.ebuild | 75 | ||||
-rw-r--r-- | lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild | 78 |
7 files changed, 222 insertions, 0 deletions
diff --git a/lxde-base/lxpanel/Manifest b/lxde-base/lxpanel/Manifest new file mode 100644 index 00000000..ea6ed7fe --- /dev/null +++ b/lxde-base/lxpanel/Manifest @@ -0,0 +1,2 @@ +DIST lxpanel-0.6.1.tar.gz 2094946 SHA256 a16a21b2186218c70ed98dc7875c54d6bb12ae7271825ff5060feb8d2a4e86cb SHA512 a0a67cad6899c286d69bc2b10b41bc277217b0452fea4e4be3bb8d68f524c6f4b878594961ad3acd187e90b3e96ff0aa0c97018c7bd5b198df64761c8378daa3 WHIRLPOOL 4ce95825f4cd647e4abeb3852192a1373a42a68cd30d50bde5bd810a48bf574b371d763a3d3a6c91d4a4c945eeec668ec56b42c6c8db5c26a3721eb21193725b +DIST lxpanel-0.7.0.tar.xz 1479456 SHA256 bd010d13b1627335f45be1755f7f260dc439c2cfbce942bc36705fa2cffd0b53 SHA512 396147a24e852dd7288f99281116c797df4dbb1912925a6b4403ffe74bb8e3d821f7cd96965bedb2db9aff2d1ca3ae89be6e5712df04353a69a9cca5b03589aa WHIRLPOOL a5e4394e198b29bffa834b789bf34332e617837f0ebea0ea29bf595100c43aeb7d0a7698bbedb739dc058433462e1df661b41537f49904b77a4e7663360e45af diff --git a/lxde-base/lxpanel/files/lxpanel-0.5.9-libwnck-check.patch b/lxde-base/lxpanel/files/lxpanel-0.5.9-libwnck-check.patch new file mode 100644 index 00000000..29fb81a3 --- /dev/null +++ b/lxde-base/lxpanel/files/lxpanel-0.5.9-libwnck-check.patch @@ -0,0 +1,13 @@ +Index: lxpanel-0.5.9/configure.ac +=================================================================== +--- lxpanel-0.5.9.orig/configure.ac ++++ lxpanel-0.5.9/configure.ac +@@ -79,7 +79,7 @@ PKG_CHECK_MODULES(X11, [$pkg_modules]) + AC_SUBST(X11_LIBS) + + pkg_modules="libwnck-1.0" +-PKG_CHECK_MODULES(WNCK, [$pkg_modules]) ++PKG_CHECK_MODULES(WNCK, [$pkg_modules], [:], [:]) + AC_SUBST(WNCK_CFLAGS) + AC_SUBST(WNCK_LIBS) + diff --git a/lxde-base/lxpanel/files/lxpanel-0.5.9-sandbox.patch b/lxde-base/lxpanel/files/lxpanel-0.5.9-sandbox.patch new file mode 100644 index 00000000..0f40c185 --- /dev/null +++ b/lxde-base/lxpanel/files/lxpanel-0.5.9-sandbox.patch @@ -0,0 +1,29 @@ +Index: lxpanel-0.5.9/src/plugins/Makefile.am +=================================================================== +--- lxpanel-0.5.9.orig/src/plugins/Makefile.am ++++ lxpanel-0.5.9/src/plugins/Makefile.am +@@ -49,6 +49,3 @@ EXTRA_DIST = \ + icon.xpm + + install-exec-hook: +- rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.la +- rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.a +- rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*. +Index: lxpanel-0.5.9/src/plugins/netstat/Makefile.am +=================================================================== +--- lxpanel-0.5.9.orig/src/plugins/netstat/Makefile.am ++++ lxpanel-0.5.9/src/plugins/netstat/Makefile.am +@@ -33,4 +33,3 @@ netstat_la_LDFLAGS = \ + @LXPANEL_MODULE@ + + install-exec-hook: +- rm -f "$(moduledir)\*.la" *.a +Index: lxpanel-0.5.9/src/plugins/netstatus/Makefile.am +=================================================================== +--- lxpanel-0.5.9.orig/src/plugins/netstatus/Makefile.am ++++ lxpanel-0.5.9/src/plugins/netstatus/Makefile.am +@@ -34,4 +34,3 @@ netstatus_la_LDFLAGS = \ + $(LXPANEL_MODULE) + + install-exec-hook: +- rm -f "$(moduledir)\*.la" *.a diff --git a/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch b/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch new file mode 100644 index 00000000..f6325b6f --- /dev/null +++ b/lxde-base/lxpanel/files/lxpanel-0.7.0-right-click-fix.patch @@ -0,0 +1,25 @@ +From d4943c80cded6325284be8b58003fe63dd6e8255 Mon Sep 17 00:00:00 2001 +From: Raimar <no@email.de> +Date: Thu, 21 Aug 2014 23:21:28 +0200 +Subject: [PATCH 1/1] fix crash after click on empty part of panel + +--- + src/panel.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/panel.c b/src/panel.c +index 6b2ede6..87903d8 100644 +--- a/src/panel.c ++++ b/src/panel.c +@@ -233,7 +233,7 @@ static gboolean lxpanel_button_press(GtkWidget *widget, GdkEventButton *event) + gtk_menu_popup(popup, NULL, NULL, NULL, NULL, event->button, event->time); + return TRUE; + } +- return GTK_WIDGET_CLASS(lxpanel_parent_class)->button_press_event(widget, event); ++ return FALSE; + } + + static void lxpanel_class_init(PanelToplevelClass *klass) +-- +1.7.10.4 + diff --git a/lxde-base/lxpanel/files/start-here.png b/lxde-base/lxpanel/files/start-here.png Binary files differnew file mode 100644 index 00000000..0a7a28ab --- /dev/null +++ b/lxde-base/lxpanel/files/start-here.png diff --git a/lxde-base/lxpanel/lxpanel-0.6.1.ebuild b/lxde-base/lxpanel/lxpanel-0.6.1.ebuild new file mode 100644 index 00000000..8c7b0d91 --- /dev/null +++ b/lxde-base/lxpanel/lxpanel-0.6.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpanel/lxpanel-0.6.1.ebuild,v 1.1 2013/09/18 19:09:38 hwoarang Exp $ + +EAPI="4" + +inherit autotools eutils readme.gentoo + +DESCRIPTION="Lightweight X11 desktop panel for LXDE" +HOMEPAGE="http://lxde.org/" +SRC_URI="mirror://sourceforge/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux" +SLOT="0" +IUSE="+alsa wifi" +RESTRICT="test" # bug 249598 + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libXmu + x11-libs/libXpm + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/libX11 + lxde-base/lxmenu-data + lxde-base/menu-cache + alsa? ( media-libs/alsa-lib ) + wifi? ( net-wireless/wireless-tools )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext" + +DOC_CONTENTS="If you have problems with broken icons shown in the main panel, +you will have to configure panel settings via its menu. +This will not be an issue with first time installations." + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.5.9-sandbox.patch + #bug #415595 + epatch "${FILESDIR}"/${PN}-0.5.9-libwnck-check.patch + #bug #420583 + sed -i "s:-Werror::" configure.ac || die + eautoreconf +} + +src_configure() { + local plugins="netstatus,volume,cpu,deskno,batt, \ + kbled,xkb,thermal,cpufreq,monitors" + + # wnckpager disabled per bug #415519 + use wifi && plugins+=",netstat" + use alsa && plugins+=",volumealsa" + [[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb + + econf $(use_enable alsa) --with-x --with-plugins="${plugins}" + # the gtk+ dep already pulls in libX11, so we might as well hardcode with-x +} + +src_install () { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog README + + # Get rid of the .la files. + find "${D}" -name '*.la' -delete + + readme.gentoo_create_doc + + # Sabayon, add our computer icon + insinto /usr/share/lxpanel/images + newins "${FILESDIR}"/start-here.png my-computer.png +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild b/lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild new file mode 100644 index 00000000..14eced4e --- /dev/null +++ b/lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild,v 1.3 2015/03/03 08:06:53 dlan Exp $ + +EAPI="4" + +inherit autotools eutils readme.gentoo versionator + +MAJOR_VER="$(get_version_component_range 1-2)" + +DESCRIPTION="Lightweight X11 desktop panel for LXDE" +HOMEPAGE="http://lxde.org/" +SRC_URI="mirror://sourceforge/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${MAJOR_VER}.x/${P}.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux" +SLOT="0" +IUSE="+alsa wifi" +RESTRICT="test" # bug 249598 + +RDEPEND="x11-libs/gtk+:2 + >=x11-libs/libfm-1.2.0[gtk] + x11-libs/libwnck:1 + x11-libs/libXmu + x11-libs/libXpm + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/libX11 + lxde-base/lxmenu-data + lxde-base/menu-cache + alsa? ( media-libs/alsa-lib ) + wifi? ( net-wireless/wireless-tools )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext" + +DOC_CONTENTS="If you have problems with broken icons shown in the main panel, +you will have to configure panel settings via its menu. +This will not be an issue with first time installations." + +src_prepare() { + #bug #522404 + epatch "${FILESDIR}"/${PN}-0.7.0-right-click-fix.patch + epatch "${FILESDIR}"/${PN}-0.5.9-sandbox.patch + #bug #415595 + sed -i "s:-Werror::" configure.ac || die + eautoreconf +} + +src_configure() { + local plugins="netstatus,volume,cpu,deskno,batt, \ + kbled,xkb,thermal,cpufreq,monitors" + + use wifi && plugins+=",netstat" + use alsa && plugins+=",volumealsa" + [[ ${CHOST} == *-interix* ]] && plugins=deskno,kbled,xkb + + econf $(use_enable alsa) --with-x --with-plugins="${plugins}" + # the gtk+ dep already pulls in libX11, so we might as well hardcode with-x +} + +src_install () { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog README + + # Get rid of the .la files. + find "${D}" -name '*.la' -delete + + readme.gentoo_create_doc + + # Sabayon, add our computer icon + insinto /usr/share/lxpanel/images + newins "${FILESDIR}"/start-here.png my-computer.png +} + +pkg_postinst() { + readme.gentoo_print_elog +} |