# HG changeset patch # User Antoine Bodin # Date 1298779991 -3600 # Node ID 6764e22b39a63742a079a8a10491b7eee787ce18 # Parent 96d0de4a697c6cb2667789998487788c5e9330fb Oups... fix lxlauncher again! diff -r 96d0de4a697c -r 6764e22b39a6 lxlauncher/receipt --- a/lxlauncher/receipt Sun Feb 27 05:12:32 2011 +0100 +++ b/lxlauncher/receipt Sun Feb 27 05:13:11 2011 +0100 @@ -1,42 +1,41 @@ # SliTaz package receipt. -PACKAGE="lxrandr" -VERSION="0.1.1" -CATEGORY="utilities" -SHORT_DESC="LXDE screen manager." -MAINTAINER="gokhlayeh@slitaz.org" -DEPENDS="gtk+ xorg-xrandr" -BUILD_DEPENDS="gtk+-dev intltool xorg-libXrandr-dev" +PACKAGE="lxlauncher" +VERSION="0.2.1" +CATEGORY="x-window" +SHORT_DESC="LXDE desktop launcher." +DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage" +BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \ +menu-cache-dev startup-notification-dev startup-notification libxcb-dev" +MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://lxde.org" +WEB_SITE="http://lxde.org/" WGET_URL="$SF_MIRROR/lxde/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src - - #Fix sources. - echo "Icon=video-display" >> data/lxrandr.desktop.in - touch po/stamp-it - + # Fix infinite loop. + touch po/stamp-it + # Default icons to 32 + sed -i s/'120'/'100'/ src/lxlauncher.c + sed -i s/'48'/'32'/ src/lxlauncher.c ./configure \ --prefix=/usr \ - --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && - make && make DESTDIR=$PWD/_pkg install + make && + make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr + mkdir -p $fs/usr/share/lxlauncher cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/share $fs/usr - - # Remove man & locales - rm -rf $fs/usr/share/man - rm -rf $fs/usr/share/locale + # SliTaz home make config files + cp stuff/gtkrc $fs/usr/share/lxlauncher + #cp -a stuff/background $fs/usr/share/lxlauncher + chown -R root.root $fs } -