# HG changeset patch # User Antoine Bodin # Date 1298767021 -3600 # Node ID 817385d8b34fc57e7a493dbcaa84b40255c9b58f # Parent 21b80c68de86fc681e8875e18b734b153cd2b392 Fix lxlauncher infinite loop. lxlauncher can be unblocked on tank bb after getting this commit. diff -r 21b80c68de86 -r 817385d8b34f lxlauncher/receipt --- a/lxlauncher/receipt Sun Feb 27 01:26:00 2011 +0100 +++ b/lxlauncher/receipt Sun Feb 27 01:37:01 2011 +0100 @@ -1,39 +1,42 @@ # SliTaz package receipt. -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" +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" 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 - # Default icons to 32 - sed -i s/'120'/'100'/ src/lxlauncher.c - sed -i s/'48'/'32'/ src/lxlauncher.c + + #Fix sources. + echo "Icon=video-display" >> data/lxrandr.desktop.in + touch po/stamp-it + ./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/share/lxlauncher + mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr - # 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 + cp -a $_pkg/usr/share $fs/usr + + # Remove man & locales + rm -rf $fs/usr/share/man + rm -rf $fs/usr/share/locale } +