wok diff lxpanel/receipt @ rev 3093

lxpanel: Remove and add custom icon + use gtk calendar
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 17 00:38:37 2009 +0200 (2009-05-17)
parents b1bda6bf42c4
children ee420562a299
line diff
     1.1 --- a/lxpanel/receipt	Sun Mar 29 12:01:27 2009 +0000
     1.2 +++ b/lxpanel/receipt	Sun May 17 00:38:37 2009 +0200
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="Standard compliant desktop panel."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="gtk+ slitaz-menus alsa-lib xorg-libXdamage"
     1.8 +DEPENDS="gtk+ slitaz-menus alsa-lib xorg-libXdamage slitaz-icon"
     1.9  BUILD_DEPENDS="gtk+-dev gettext wireless_tools-dev wireless_tools"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://lxde.sourceforge.net/"
    1.12 @@ -37,39 +37,26 @@
    1.13  	cp -a $_pkg/usr/bin $fs/usr
    1.14  	cp -a $_pkg/usr/lib $fs/usr
    1.15  	cp -a $_pkg/usr/share/lxpanel $fs/usr/share
    1.16 -
    1.17  	# Remove a few "heavy" an unseful images (ns* goes in extra)
    1.18 -	rm $fs/usr/share/lxpanel/images/file-manager.png
    1.19 -	rm $fs/usr/share/lxpanel/images/stock_volume.png
    1.20 -	rm $fs/usr/share/lxpanel/images/gnome-[a-k]*.png
    1.21 -	rm $fs/usr/share/lxpanel/images/gnome-netstatus-[d-t]*.png
    1.22 -	rm $fs/usr/share/lxpanel/images/gnome-m*.png
    1.23 -	rm $fs/usr/share/lxpanel/images/gnome-[o-z]*.png
    1.24 -	rm $fs/usr/share/lxpanel/images/my-*
    1.25 -	rm $fs/usr/share/lxpanel/images/redhat*.png
    1.26 -	rm $fs/usr/share/lxpanel/images/ns-*.png
    1.27 -	rm $fs/usr/share/lxpanel/images/*lock-*.png
    1.28 -
    1.29 -	# Netstatus 24x24 resized icons in Tango theme path.
    1.30 -	cp -a stuff/icons $fs/usr/share
    1.31 -
    1.32 +	for i in file-manager* stock_volume* gnome-[a-k]*.png gnome-m*.png \
    1.33 +		gnome-netstatus-[d-t]*.png gnome-[o-z]*.png my-* redhat*.png \
    1.34 +		ns-*.png *lock-*.png gnome-logout.png
    1.35 +	do
    1.36 +		rm $fs/usr/share/lxpanel/images/$i
    1.37 +	done
    1.38 +	# Custom images to match SliTaz theme.
    1.39 +	cp -a stuff/images/* $fs/usr/share/lxpanel/images
    1.40  	# Remove plugins --> lxpanel-extra
    1.41  	rm $fs/usr/lib/lxpanel/plugins/netstat.so
    1.42  	rm $fs/usr/lib/lxpanel/plugins/kbled.so
    1.43 -
    1.44 -	# Move profile to /etc/lxpanel (/usr maybe read-only)
    1.45 +	# Move profile to /etc/lxpanel (/usr maybe read-only) and default config
    1.46  	mkdir $fs/etc
    1.47  	mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel
    1.48  	ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile
    1.49 -
    1.50 -	# Default config
    1.51  	mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original
    1.52  	cp -a stuff/default $fs/etc/lxpanel
    1.53 -
    1.54 -	# Declare lxsession-logout in files.list
    1.55 -	touch $fs/usr/bin/lxsession-logout
    1.56 -	if [ ! -s $fs/usr/bin/lxsession-logout ]; then
    1.57 -		cat > $fs/usr/bin/lxsession-logout << "EOT"
    1.58 +	# lxsession-logout fake
    1.59 +	cat > $fs/usr/bin/lxsession-logout << "EOT"
    1.60  #!/bin/sh
    1.61  # lxsession-logout fake.
    1.62  #
    1.63 @@ -78,6 +65,5 @@
    1.64  exit 0
    1.65  
    1.66  EOT
    1.67 -	fi
    1.68  	chmod +x $fs/usr/bin/lxsession-logout
    1.69  }