# HG changeset patch # User Pascal Bellard # Date 1299060380 -3600 # Node ID 940b5937e496d052fd473afd54d8b75d522795a9 # Parent b075b3e8a2760e7f49a8c8f5ad1218652ec2b9d6 [q-z]*: use veriable diff -r b075b3e8a276 -r 940b5937e496 qt4/receipt --- a/qt4/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/qt4/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -29,8 +29,8 @@ cd $src # Already fixed upstream - patch -Np1 -i ../stuff/fix-qtbug-15857.patch - patch -Np1 -i ../stuff/add-postgresql9.patch + patch -Np1 -i $stuff/fix-qtbug-15857.patch + patch -Np1 -i $stuff/add-postgresql9.patch ./configure -v \ -prefix /usr \ diff -r b075b3e8a276 -r 940b5937e496 rarian/receipt --- a/rarian/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/rarian/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -15,7 +15,7 @@ compile_rules() { cd $src - patch -p0 -i ../stuff/user-segfault.patch + patch -p0 -i $stuff/user-segfault.patch ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ diff -r b075b3e8a276 -r 940b5937e496 rawstudio/receipt --- a/rawstudio/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/rawstudio/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -16,7 +16,7 @@ { cd $src export PKG_CONFIG_PATH="/usr/lib/pkgconfig" - patch -p1 -i ../stuff/rawstudio-const.patch + patch -p1 -i $stuff/rawstudio-const.patch ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ diff -r b075b3e8a276 -r 940b5937e496 recorder/receipt --- a/recorder/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/recorder/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -15,7 +15,7 @@ compile_rules() { cd $src - cp ../stuff/Makefile Makefile + cp $stuff/Makefile Makefile make DESTDIR=$PWD/_pkg install } diff -r b075b3e8a276 -r 940b5937e496 ruby/receipt --- a/ruby/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/ruby/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -16,7 +16,7 @@ compile_rules() { cd $src - patch -Np1 < ../stuff/openssl-1.0.patch + patch -Np1 < $stuff/openssl-1.0.patch ./configure --prefix=/usr --enable-shared --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS && make -j 4 && make DESTDIR=$PWD/_pkg install diff -r b075b3e8a276 -r 940b5937e496 sc/receipt --- a/sc/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/sc/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -15,7 +15,7 @@ compile_rules() { cd $src - patch -p1 < ../stuff/7.16.patch || return 1 + patch -p1 < $stuff/7.16.patch || return 1 make } diff -r b075b3e8a276 -r 940b5937e496 scim-pinyin/receipt --- a/scim-pinyin/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/scim-pinyin/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -19,7 +19,7 @@ while read file; do [ -f done.$file ] && continue echo "Apply $file..." - patch -p1 < ../stuff/$file || return 1 + patch -p1 < $stuff/$file || return 1 touch done.$file done </dev/null || exit 1 mv comm-1.9.1 $PACKAGE-$VERSION 2>/dev/null - cp -a stuff/seamonkey.mozconfig $src/.mozconfig + cp -a $stuff/seamonkey.mozconfig $src/.mozconfig cd $src - #patch -p1 -i ../stuff/google-breakpad.u || exit 1 + #patch -p1 -i $stuff/google-breakpad.u || exit 1 cat >> mozilla/layout/build/Makefile.in << "EOF" ifdef MOZ_ENABLE_CANVAS EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender @@ -39,10 +39,10 @@ cp -a $_pkg/usr/bin/seamonkey $fs/usr/bin cp -a $_pkg/usr/lib/seamonkey-* $fs/usr/lib # Home page, bookmarks file and branding. - cp -a stuff/bookmarks.html \ + cp -a $stuff/bookmarks.html \ $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile # User preference. - cp -a stuff/userChrome.css \ + cp -a $stuff/userChrome.css \ $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome # Move default config to /etc/seamonkey (/usr maybe read-only) mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE @@ -52,7 +52,7 @@ chown -R root.root $fs/etc # Create default user preference file - cp stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js + cp $stuff/prefs.js $fs/etc/seamonkey/profile/prefs.js } diff -r b075b3e8a276 -r 940b5937e496 setserial/receipt --- a/setserial/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/setserial/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -17,7 +17,7 @@ # http://bugs.gentoo.org/309883 # & remove warnings - patch -p1 < ../stuff/setserial-2.17.u || return 1 + patch -p1 < $stuff/setserial-2.17.u || return 1 ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man $CONFIGURE_ARGS && diff -r b075b3e8a276 -r 940b5937e496 sheerdns/receipt --- a/sheerdns/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/sheerdns/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -15,9 +15,9 @@ { mv $PACKAGE $src 2> /dev/null cd $src - for i in $( cd ../stuff ; ls *.u); do + for i in $( cd $stuff ; ls *.u); do [ -f done.$i ] && continue - patch -p0 < ../stuff/$i + patch -p0 < $stuff/$i touch done.$i done make diff -r b075b3e8a276 -r 940b5937e496 slim/receipt --- a/slim/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/slim/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -19,7 +19,7 @@ compile_rules() { cd $src - patch -p1 < ../stuff/NoPwdForCmd.patch || return 1 + patch -p1 < $stuff/NoPwdForCmd.patch || return 1 make && make DESTDIR=$src/_pkg install } @@ -28,11 +28,11 @@ genpkg_rules() { mkdir -p $fs/usr/share/slim - cp -a stuff/themes $fs/usr/share/slim + cp -a $stuff/themes $fs/usr/share/slim cp -a $_pkg/usr/bin $fs/usr # Config file and rc script. - cp -a stuff/etc $fs + cp -a $stuff/etc $fs chown -R root.root $fs } diff -r b075b3e8a276 -r 940b5937e496 speedtouch/receipt --- a/speedtouch/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/speedtouch/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -18,7 +18,7 @@ while read file; do [ -f done.$file ] && continue echo "Apply $file..." - patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1 + patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1 touch done.$file done < /dev/null cd $src - patch -Np1 -i ../stuff/xz.patch + patch -Np1 -i $stuff/xz.patch cd $src/squashfs-tools #sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile mkdir -p ../_pkg/usr/sbin ../_pkg/sbin diff -r b075b3e8a276 -r 940b5937e496 squidguard/receipt --- a/squidguard/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/squidguard/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -20,7 +20,7 @@ # Security patches while read patch_file; do echo "Apply $patch_file" - tar xvzf ../stuff/$patch_file || return 1 + tar xvzf $stuff/$patch_file || return 1 cp -a $(basename $patch_file .tar.gz)/* src done <> 8)) + n=$(($n >> 8)) done | xargs echo -en | ddq bs=1 conv=notrunc of=$iso seek=$(($1)) } @@ -99,7 +102,7 @@ abort() { echo "$iso: $1" - exit 1 + [ $always -eq 0 ] && exit 1 } [ "$(readiso 17 7 23)" == "EL TORITO SPECIFICATION" ] || diff -r b075b3e8a276 -r 940b5937e496 tcc/receipt --- a/tcc/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/tcc/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -17,7 +17,7 @@ { cd $src if [ ! -f done.Makefile.u ]; then - patch < ../stuff/Makefile.u || return 1 + patch < $stuff/Makefile.u || return 1 touch done.Makefile.u fi sed -i 's/cp -u/cp/' tests/Makefile diff -r b075b3e8a276 -r 940b5937e496 tiff/receipt --- a/tiff/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/tiff/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -20,7 +20,7 @@ # allows context-dependent attackers to cause a denial of service # (crash) via a crafted TIFF imag. - patch -p1 -i ../stuff/libtiff-CVE-2009-2285.patch + patch -p1 -i $stuff/libtiff-CVE-2009-2285.patch ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && diff -r b075b3e8a276 -r 940b5937e496 tinyproxy/receipt --- a/tinyproxy/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/tinyproxy/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -14,7 +14,7 @@ compile_rules() { cd $src - patch -Np1 -i ../stuff/no-docs-and-tests.diff + patch -Np1 -i $stuff/no-docs-and-tests.diff ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ @@ -35,6 +35,6 @@ cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/share/tinyproxy $fs/usr/share cp -a $_pkg/etc/tinyproxy $fs/etc - cp -a stuff/tinyproxy $fs/etc/init.d + cp -a $stuff/tinyproxy $fs/etc/init.d } diff -r b075b3e8a276 -r 940b5937e496 tuxmath/receipt --- a/tuxmath/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/tuxmath/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -19,7 +19,7 @@ compile_rules() { cd $src - patch -p1 -i ../stuff/SDL_extras.c.patch + patch -p1 -i $stuff/SDL_extras.c.patch ./configure \ --prefix=/usr \ --without-sdlpango \ diff -r b075b3e8a276 -r 940b5937e496 urxvt/receipt --- a/urxvt/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/urxvt/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -16,7 +16,7 @@ compile_rules() { cd $src - busybox patch -p0 -i ../stuff/gcc.u + busybox patch -p0 -i $stuff/gcc.u ./configure --prefix=/usr --infodir=/usr/share/info \ --disable-perl --with-codesets='eu' \ --mandir=/usr/share/man $CONFIGURE_ARGS && \ diff -r b075b3e8a276 -r 940b5937e496 util-linux-ng/receipt --- a/util-linux-ng/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/util-linux-ng/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -19,9 +19,9 @@ { cd $src # fix findmnt - patch -p1 -i ../stuff/fix-findmnt.patch + patch -p1 -i $stuff/fix-findmnt.patch # fix cfdisk partition changing, included in next upstream release - patch -p1 -i ../stuff/util-linux-ng-cfdisk.patch + patch -p1 -i $stuff/util-linux-ng-cfdisk.patch if ! grep 'tty:x:4:' /etc/group; then addgroup -g 4 tty diff -r b075b3e8a276 -r 940b5937e496 visualboyadvance/receipt --- a/visualboyadvance/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/visualboyadvance/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -17,7 +17,7 @@ compile_rules() { cd $src - for i in ../stuff/$VERSION-*.patch; do + for i in $stuff/$VERSION-*.patch; do patch -Np0 < $i done ./configure \ diff -r b075b3e8a276 -r 940b5937e496 vym/receipt --- a/vym/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/vym/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -20,7 +20,7 @@ make && make INSTALL_ROOT=$PWD/_pkg install mkdir -p $PWD/_pkg/usr/share/applications - cp -f ../stuff/vym.desktop $PWD/_pkg/usr/share/applications + cp -f $stuff/vym.desktop $PWD/_pkg/usr/share/applications } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r b075b3e8a276 -r 940b5937e496 vzctl/receipt --- a/vzctl/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/vzctl/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -23,7 +23,7 @@ continue fi echo "Apply $patch_file" - patch -p1 < ../stuff/$patch_file || return 1 + patch -p1 < $stuff/$patch_file || return 1 touch done.$patch_file done <|#define u8 __u8\n&|' \ src/input/vcd/libcdio/_cdio_linux.c - patch -p0 < ../stuff/xine-lib-1.1.19-xvmc.patch + patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ diff -r b075b3e8a276 -r 940b5937e496 xorg-xf86-input-evdev/receipt --- a/xorg-xf86-input-evdev/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/xorg-xf86-input-evdev/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -34,6 +34,6 @@ cp -a $_pkg/usr/lib/X11/modules/input/*.so \ $fs/usr/lib/X11/modules/input/ mkdir -p $fs/etc/X11/xorg.conf.d - cp -a stuff/*evdev.conf $fs/etc/X11/xorg.conf.d + cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d } diff -r b075b3e8a276 -r 940b5937e496 xorg-xf86-input-evtouch/receipt --- a/xorg-xf86-input-evtouch/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/xorg-xf86-input-evtouch/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -16,7 +16,7 @@ compile_rules() { cd $src - grep -qs dummy evtouch.c && patch -p1 < ../stuff/evtouch.u + grep -qs dummy evtouch.c && patch -p1 < $stuff/evtouch.u ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff -r b075b3e8a276 -r 940b5937e496 xorg-xf86-input-microtouch/receipt --- a/xorg-xf86-input-microtouch/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/xorg-xf86-input-microtouch/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -16,7 +16,7 @@ compile_rules() { cd $src - grep -qs axis_labels src/microtouch.c || patch -p0 < ../stuff/microtouch.u + grep -qs axis_labels src/microtouch.c || patch -p0 < $stuff/microtouch.u ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff -r b075b3e8a276 -r 940b5937e496 xorg-xf86-input-mutouch/receipt --- a/xorg-xf86-input-mutouch/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/xorg-xf86-input-mutouch/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -16,7 +16,7 @@ compile_rules() { cd $src - patch -p1 -i ../stuff/mutouch-1.2.1-abi.patch + patch -p1 -i $stuff/mutouch-1.2.1-abi.patch ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff -r b075b3e8a276 -r 940b5937e496 xorg-xf86-input-synaptics/receipt --- a/xorg-xf86-input-synaptics/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/xorg-xf86-input-synaptics/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -35,6 +35,6 @@ cp -a $_pkg/usr/lib/X11/modules/input/*.so \ $fs/usr/lib/X11/modules/input/ mkdir -p $fs/etc/X11/xorg.conf.d - cp -a stuff/*.conf $fs/etc/X11/xorg.conf.d + cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d } diff -r b075b3e8a276 -r 940b5937e496 xorg-xinit/receipt --- a/xorg-xinit/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/xorg-xinit/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -17,7 +17,7 @@ compile_rules() { cd $src - patch -Np1 -i ../stuff/06_move_serverauthfile_into_tmp.diff + patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ @@ -31,7 +31,7 @@ { mkdir -p $fs/usr $fs/etc/X11/xinit cp -a $_pkg/usr/bin $fs/usr - cp -a stuff/xserverrc $fs/etc/X11/xinit/xserverrc + cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc } pre_install() diff -r b075b3e8a276 -r 940b5937e496 xpat2/receipt --- a/xpat2/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/xpat2/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -16,11 +16,11 @@ cd $src for i in xpat2.patch layout.patch ; do [ -f done.$i ] && continue - patch -p1 < ../stuff/$i + patch -p1 < $stuff/$i touch done.$i done cd src - cp ../../stuff/Makefile . + cp $stuff/Makefile . make && make DESTDIR=../_pkg install } @@ -31,7 +31,7 @@ mkdir -p $fs/var/games/xpat2 cp -a $_pkg/usr $fs mkdir -p $fs/usr/share/X11/app-defaults/ - cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat + cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat touch $fs/var/games/xpat2/xpat.log chmod 666 $fs/var/games/xpat2/xpat.log } diff -r b075b3e8a276 -r 940b5937e496 xtrkcad/receipt --- a/xtrkcad/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/xtrkcad/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -22,7 +22,7 @@ # Rules to configure and make the package. compile_rules() { - XTRKCAD_STUFF=$PWD/stuff + XTRKCAD_STUFF=$stuff [ -d $PACKAGE-source-$VERSION ] && mv $PACKAGE-source-$VERSION $PACKAGE-$VERSION cd $src diff -r b075b3e8a276 -r 940b5937e496 yasr/receipt --- a/yasr/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/yasr/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -14,7 +14,7 @@ compile_rules() { cd $src/yasr - patch -p0 < ../../stuff/yasr.patch || return 1 + patch -p0 < $stuff/yasr.patch || return 1 cd ../ ./configure \ --prefix=/usr diff -r b075b3e8a276 -r 940b5937e496 zsnes/receipt --- a/zsnes/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/zsnes/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -16,7 +16,7 @@ compile_rules() { cd $src - patch -p1 -i ../stuff/zsnes.patch + patch -p1 -i $stuff/zsnes.patch cd $src/src ./configure --prefix=/usr \ --x-libraries=/usr/lib \ diff -r b075b3e8a276 -r 940b5937e496 zvbi/receipt --- a/zvbi/receipt Wed Mar 02 10:41:40 2011 +0100 +++ b/zvbi/receipt Wed Mar 02 11:06:20 2011 +0100 @@ -15,7 +15,7 @@ compile_rules() { cd $src - patch -Np1 -i ../stuff/fix-includes.patch + patch -Np1 -i $stuff/fix-includes.patch ./configure \ --prefix=/usr \ --infodir=/usr/share/info \