packages: psi-plus/generate-tarball.sh - show which patch is applied; exclu...

arekm arekm at pld-linux.org
Thu Sep 29 17:53:19 CEST 2011


Author: arekm                        Date: Thu Sep 29 15:53:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- show which patch is applied; exclude git/svn dirs

---- Files affected:
packages/psi-plus:
   generate-tarball.sh (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/psi-plus/generate-tarball.sh
diff -u packages/psi-plus/generate-tarball.sh:1.3 packages/psi-plus/generate-tarball.sh:1.4
--- packages/psi-plus/generate-tarball.sh:1.3	Fri Sep  9 20:17:43 2011
+++ packages/psi-plus/generate-tarball.sh	Thu Sep 29 17:53:14 2011
@@ -1,5 +1,6 @@
 #!/bin/sh
 
+rm -rf psi
 git clone git://git.psi-im.org/psi.git
 cd psi
 git submodule init
@@ -9,7 +10,10 @@
 svn co http://psi-dev.googlecode.com/svn/trunk/patches/
 # already applied
 rm patches/0005-psi-proxy-settings-in-opt.diff
-cat patches/*.diff | patch -p1
+for patch in patches/*.diff; do
+	echo "* PATCHING WITH $patch"
+	cat $patch | patch -p1
+done
 pkgrel=`svnversion "patches"`
 cd src
 sed "s/\(.xxx\)/.${pkgrel}/" -i "applicationinfo.cpp"
@@ -17,5 +21,5 @@
 svn co --force http://psi-dev.googlecode.com/svn/trunk/iconsets/ iconsets
 cd ..
 mv psi psi-plus-0.15.${pkgrel}
-tar -cvJf psi-plus-0.15.${pkgrel}.tar.xz psi-plus-0.15.${pkgrel}
+tar --exclude .svn --exclude .git -cvJf psi-plus-0.15.${pkgrel}.tar.xz psi-plus-0.15.${pkgrel}
 rm -rf psi-plus-0.15.${pkgrel}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/psi-plus/generate-tarball.sh?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list