wok rev 8887

Oups... fix lxlauncher again!
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 27 05:13:11 2011 +0100 (2011-02-27)
parents 96d0de4a697c
children 3246894804ff d58fb04dc013
files lxlauncher/receipt
line diff
     1.1 --- a/lxlauncher/receipt	Sun Feb 27 05:12:32 2011 +0100
     1.2 +++ b/lxlauncher/receipt	Sun Feb 27 05:13:11 2011 +0100
     1.3 @@ -1,42 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6 -PACKAGE="lxrandr"
     1.7 -VERSION="0.1.1"
     1.8 -CATEGORY="utilities"
     1.9 -SHORT_DESC="LXDE screen manager."
    1.10 -MAINTAINER="gokhlayeh@slitaz.org"
    1.11 -DEPENDS="gtk+ xorg-xrandr"
    1.12 -BUILD_DEPENDS="gtk+-dev intltool xorg-libXrandr-dev"
    1.13 +PACKAGE="lxlauncher"
    1.14 +VERSION="0.2.1"
    1.15 +CATEGORY="x-window"
    1.16 +SHORT_DESC="LXDE desktop launcher."
    1.17 +DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage"
    1.18 +BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \
    1.19 +menu-cache-dev startup-notification-dev startup-notification libxcb-dev"
    1.20 +MAINTAINER="pankso@slitaz.org"
    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 -	
    1.31 -	#Fix sources.
    1.32 -	echo "Icon=video-display" >> data/lxrandr.desktop.in 
    1.33 -	touch po/stamp-it 
    1.34 -
    1.35 +	# Fix infinite loop.
    1.36 +	touch po/stamp-it
    1.37 +	# Default icons to 32
    1.38 +	sed -i s/'120'/'100'/ src/lxlauncher.c
    1.39 +	sed -i s/'48'/'32'/ src/lxlauncher.c
    1.40  	./configure \
    1.41  		--prefix=/usr \
    1.42 -		--infodir=/usr/share/info \
    1.43  		--mandir=/usr/share/man \
    1.44  		$CONFIGURE_ARGS &&
    1.45 -	make && make DESTDIR=$PWD/_pkg install
    1.46 +	make &&
    1.47 +	make DESTDIR=$PWD/_pkg install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53 -	mkdir -p $fs/usr
    1.54 +	mkdir -p $fs/usr/share/lxlauncher
    1.55  	cp -a $_pkg/usr/bin $fs/usr
    1.56 -	cp -a $_pkg/usr/share $fs/usr
    1.57 -
    1.58 -	# Remove man & locales
    1.59 -	rm -rf $fs/usr/share/man
    1.60 -	rm -rf $fs/usr/share/locale	
    1.61 +	# SliTaz home make config files
    1.62 +	cp stuff/gtkrc $fs/usr/share/lxlauncher
    1.63 +	#cp -a stuff/background $fs/usr/share/lxlauncher
    1.64 +	chown -R root.root $fs
    1.65  }
    1.66 -