# HG changeset patch # User Christophe Lincoln # Date 1304802825 -7200 # Node ID 1011f515c5925a23e31914b0377ca122183a039a # Parent 6afc9676e6792e746c96e998b223c14ab7efdfe8 lxpanel: Fix to build with cookutils and clean-up diff -r 6afc9676e679 -r 1011f515c592 lxpanel/receipt --- a/lxpanel/receipt Sat May 07 11:36:11 2011 +0000 +++ b/lxpanel/receipt Sat May 07 23:13:45 2011 +0200 @@ -5,41 +5,38 @@ CATEGORY="x-window" SHORT_DESC="Standard compliant desktop panel." MAINTAINER="pankso@slitaz.org" -DEPENDS="glibc-base glib libgio expat zlib menu-cache slitaz-icon \ -gtk+ atk cairo fontconfig freetype pango pixman libpng alsa-lib \ -xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender" -BUILD_DEPENDS="$DEPENDS gtk+-dev gettext expat-dev intltool menu-cache-dev menu-cache \ -alsa-lib-dev wireless_tools-dev wireless_tools zlib-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.lxde.org/" WGET_URL="$SF_MIRROR/lxde/$TARBALL" CONFIG_FILES="/etc/lxpanel/default" +DEPENDS="glibc-base glib libgio expat zlib menu-cache slitaz-icon \ +gtk+ atk cairo fontconfig freetype pango pixman libpng alsa-lib \ +xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender" +BUILD_DEPENDS="$DEPENDS gtk+-dev gettext expat-dev intltool menu-cache-dev \ +menu-cache alsa-lib-dev wireless_tools-dev wireless_tools zlib-dev" + # Rules to configure and make the package. compile_rules() { cd $src #patch -p1 -i ../stuff/Fix-failure-to-react-to-keyboard-map-changes-initiat.patch # Devnote : this patch shouldn't be necessary in next release of lxpanel (current : 0.5.6). - patch -p1 -i ../stuff/battery-plugin.patch + patch -p1 -i $stuff/battery-plugin.patch # patch to fix 100% battery bug with battery plugin - patch -p1 -i ../stuff/battery.patch - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --with-plugins=all \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install + patch -p1 -i $stuff/battery.patch + ./configure --with-plugins=all && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share $fs/usr/lib - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib/lxpanel $fs/usr/lib - cp -a $_pkg/usr/share/lxpanel $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/lxpanel $fs/usr/lib + cp -a $install/usr/share/lxpanel $fs/usr/share # Remove a few "heavy" and unuseful images (ns* goes in extra) for i in file-manager* stock_volume* gnome-[a-m]*.png \