wok-4.x rev 8877

Fix lxlauncher infinite loop. lxlauncher can be unblocked on tank bb after getting this commit.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 27 01:37:01 2011 +0100 (2011-02-27)
parents 21b80c68de86
children 2ad34d8fdfe7
files lxlauncher/receipt
line diff
     1.1 --- a/lxlauncher/receipt	Sun Feb 27 01:26:00 2011 +0100
     1.2 +++ b/lxlauncher/receipt	Sun Feb 27 01:37:01 2011 +0100
     1.3 @@ -1,39 +1,42 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6 -PACKAGE="lxlauncher"
     1.7 -VERSION="0.2.1"
     1.8 -CATEGORY="x-window"
     1.9 -SHORT_DESC="LXDE desktop launcher."
    1.10 -DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage"
    1.11 -BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \
    1.12 -menu-cache-dev startup-notification-dev startup-notification libxcb-dev"
    1.13 -MAINTAINER="pankso@slitaz.org"
    1.14 +PACKAGE="lxrandr"
    1.15 +VERSION="0.1.1"
    1.16 +CATEGORY="utilities"
    1.17 +SHORT_DESC="LXDE screen manager."
    1.18 +MAINTAINER="gokhlayeh@slitaz.org"
    1.19 +DEPENDS="gtk+ xorg-xrandr"
    1.20 +BUILD_DEPENDS="gtk+-dev intltool xorg-libXrandr-dev"
    1.21  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 -WEB_SITE="http://lxde.org/"
    1.23 +WEB_SITE="http://lxde.org"
    1.24  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	cd $src
    1.30 -	# Default icons to 32
    1.31 -	sed -i s/'120'/'100'/ src/lxlauncher.c
    1.32 -	sed -i s/'48'/'32'/ src/lxlauncher.c
    1.33 +	
    1.34 +	#Fix sources.
    1.35 +	echo "Icon=video-display" >> data/lxrandr.desktop.in 
    1.36 +	touch po/stamp-it 
    1.37 +
    1.38  	./configure \
    1.39  		--prefix=/usr \
    1.40 +		--infodir=/usr/share/info \
    1.41  		--mandir=/usr/share/man \
    1.42  		$CONFIGURE_ARGS &&
    1.43 -	make &&
    1.44 -	make DESTDIR=$PWD/_pkg install
    1.45 +	make && make DESTDIR=$PWD/_pkg install
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51 -	mkdir -p $fs/usr/share/lxlauncher
    1.52 +	mkdir -p $fs/usr
    1.53  	cp -a $_pkg/usr/bin $fs/usr
    1.54 -	# SliTaz home make config files
    1.55 -	cp stuff/gtkrc $fs/usr/share/lxlauncher
    1.56 -	#cp -a stuff/background $fs/usr/share/lxlauncher
    1.57 -	chown -R root.root $fs
    1.58 +	cp -a $_pkg/usr/share $fs/usr
    1.59 +
    1.60 +	# Remove man & locales
    1.61 +	rm -rf $fs/usr/share/man
    1.62 +	rm -rf $fs/usr/share/locale	
    1.63  }
    1.64 +