wok-next diff lxpanel/receipt @ rev 3588

linux: add sound snd_hada_intel is in-kernel too
author Rohit Joshi <jozee@slitaz.org>
date Sat Jun 27 15:30:51 2009 +0000 (2009-06-27)
parents c440f0b24bb4
children f8d9b6cee57b
line diff
     1.1 --- a/lxpanel/receipt	Sun May 17 00:38:37 2009 +0200
     1.2 +++ b/lxpanel/receipt	Sat Jun 27 15:30:51 2009 +0000
     1.3 @@ -37,6 +37,7 @@
     1.4  	cp -a $_pkg/usr/bin $fs/usr
     1.5  	cp -a $_pkg/usr/lib $fs/usr
     1.6  	cp -a $_pkg/usr/share/lxpanel $fs/usr/share
     1.7 +	
     1.8  	# Remove a few "heavy" an unseful images (ns* goes in extra)
     1.9  	for i in file-manager* stock_volume* gnome-[a-k]*.png gnome-m*.png \
    1.10  		gnome-netstatus-[d-t]*.png gnome-[o-z]*.png my-* redhat*.png \
    1.11 @@ -44,26 +45,28 @@
    1.12  	do
    1.13  		rm $fs/usr/share/lxpanel/images/$i
    1.14  	done
    1.15 +	
    1.16  	# Custom images to match SliTaz theme.
    1.17  	cp -a stuff/images/* $fs/usr/share/lxpanel/images
    1.18 +	
    1.19  	# Remove plugins --> lxpanel-extra
    1.20  	rm $fs/usr/lib/lxpanel/plugins/netstat.so
    1.21  	rm $fs/usr/lib/lxpanel/plugins/kbled.so
    1.22 +	
    1.23  	# Move profile to /etc/lxpanel (/usr maybe read-only) and default config
    1.24  	mkdir $fs/etc
    1.25  	mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel
    1.26  	ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile
    1.27  	mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original
    1.28  	cp -a stuff/default $fs/etc/lxpanel
    1.29 +	
    1.30  	# lxsession-logout fake
    1.31  	cat > $fs/usr/bin/lxsession-logout << "EOT"
    1.32  #!/bin/sh
    1.33  # lxsession-logout fake.
    1.34  #
    1.35 -
    1.36  desktopbox logout &
    1.37  exit 0
    1.38 -
    1.39  EOT
    1.40  	chmod +x $fs/usr/bin/lxsession-logout
    1.41  }