wok diff lxpanel/receipt @ rev 12340

libv4l: Needs jpeg-dev to compile.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 09:41:34 2012 +0000 (2012-04-19)
parents 1134cd1d9d3c
children 15c8aa308268
line diff
     1.1 --- a/lxpanel/receipt	Mon Mar 26 00:34:43 2012 +0000
     1.2 +++ b/lxpanel/receipt	Thu Apr 19 09:41:34 2012 +0000
     1.3 @@ -1,27 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lxpanel"
     1.7 -VERSION="0.5.8"
     1.8 +VERSION="0.5.9"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Standard compliant desktop panel."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13  WEB_SITE="http://www.lxde.org/"
    1.14 -WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    1.15 +#WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    1.16 +WGET_URL="http://l10n.bsnet.se/~brother/lxde_releases/$TARBALL"
    1.17  CONFIG_FILES="/etc/lxpanel/default"
    1.18  
    1.19  DEPENDS="glibc-base glib libgio expat zlib menu-cache slitaz-icon \
    1.20 -gtk+ alsa-lib wireless_tools"
    1.21 +gtk+ alsa-lib wireless_tools libwnck"
    1.22  BUILD_DEPENDS="gtk+-dev gettext expat-dev intltool menu-cache-dev \
    1.23 -lxmenu-data alsa-lib-dev wireless_tools-dev"
    1.24 +lxmenu-data alsa-lib-dev wireless_tools-dev libwnck-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	cd $src
    1.30 -        patch -p1 -i $stuff/batt.chg.level.patch
    1.31 -	patch -p1 -i $stuff/configure_desktop_number.patch
    1.32 -	patch -p1 -i $stuff/fix_position.patch
    1.33 +	#patch -p1 -i $stuff/batt.chg.level.patch
    1.34 +	#patch -p1 -i $stuff/configure_desktop_number.patch
    1.35 +	#patch -p1 -i $stuff/fix_position.patch
    1.36  	patch -p0 -i $stuff/cpu-size-color.patch || exit 1
    1.37  	./configure --with-plugins=all $CONFIGURE_ARGS &&
    1.38  	make && make install
    1.39 @@ -37,14 +38,15 @@
    1.40  	cp -a $install/usr/share/lxpanel $fs/usr/share
    1.41  
    1.42  	# Remove a few "heavy" and unuseful images (ns* goes in extra)
    1.43 -	for i in file-manager* stock_volume* gnome-[a-m]*.png \
    1.44 -		gnome-netstatus-[d-t]*.png my-* ns-*.png *lock-*.png
    1.45 +	for i in file-manager* *volume* mute.png gnome-[a-m]*.png \
    1.46 +		gnome-netstatus-*.png my-* ns-*.png *lock-*.png \
    1.47 +		background.png window-manager.png
    1.48  	do
    1.49  		rm $fs/usr/share/lxpanel/images/$i
    1.50  	done
    1.51  
    1.52  	# Custom images to match SliTaz theme.
    1.53 -	cp -a stuff/images/* $fs/usr/share/lxpanel/images
    1.54 +	#cp -a stuff/images/* $fs/usr/share/lxpanel/images
    1.55  
    1.56  	# Remove plugins --> lxpanel-extra
    1.57  	rm $fs/usr/lib/lxpanel/plugins/kbled.so
    1.58 @@ -55,7 +57,8 @@
    1.59  	mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel
    1.60  	ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile
    1.61  	mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original
    1.62 -	cp -a stuff/default $fs/etc/lxpanel
    1.63 +	cp -a $stuff/default $fs/etc/lxpanel
    1.64 +	rm -rf $fs/etc/lxpanel/two_panels
    1.65  
    1.66  	# lxsession-logout fake
    1.67  	cat > $fs/usr/bin/lxsession-logout << "EOT"
    1.68 @@ -66,4 +69,13 @@
    1.69  exit 0
    1.70  EOT
    1.71  	chmod +x $fs/usr/bin/lxsession-logout
    1.72 +	
    1.73 +	# Make images symlinks so it feet SliTaz theme
    1.74 +	cd $fs/usr/share/lxpanel/images
    1.75 +	ln -s /usr/share/icons/SliTaz/status/32/network-idle.png ns-connected.png
    1.76 +	ln -s /usr/share/icons/SliTaz/status/32/network-offline.png ns-disconnect.png
    1.77 +	ln -s /usr/share/icons/SliTaz/status/32/network-receive.png ns-recvdata.png
    1.78 +	ln -s /usr/share/icons/SliTaz/status/32/network-receive.png ns-senddata.png
    1.79 +	ln -s /usr/share/icons/SliTaz/status/32/nm-adhoc.png ns-bothrs.png
    1.80 +	ln -s /usr/share/icons/SliTaz/status/32/network-error.png ns-problem.png
    1.81  }