[SCM] mplayer packaging branch, master, updated. 23fdd8bc0ecf6a13222e4d3c8a1cd1826b39b01b

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Wed Mar 4 13:57:33 UTC 2009


The following commit has been merged in the master branch:
commit 3881e834b13b8181a557812abcab1c5dbed9e309
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Wed Mar 4 14:27:00 2009 +0100

    integrate ptardiff to verify debian/strip.sh
    
    in order to verify debian/strip.sh, ptardiff is used on the temporary
    directory after stripping to compare with the unstripped tarball. The
    result is saved in a textfile.
    
    This functionality requires the package libtext-diff-perl to work. The
    script will do as well without, only the comparison is skipped.

diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
index 1e1c5cd..df16bc8 100644
--- a/debian/get-orig-source.sh
+++ b/debian/get-orig-source.sh
@@ -67,8 +67,8 @@ if [ -z $SVNDATE ]; then
 fi
 
 CLEANUPSCRIPT=`pwd`/debian/strip.sh
-TARBALL=../mplayer_0.svn${SVNDATE}.orig.tar.gz
-TARBALL_UNSTRIPPED=../mplayer-non-DFSG_0.svn${SVNDATE}.orig.tar.gz
+TARBALL=`pwd`/../mplayer_0.svn${SVNDATE}.orig.tar.gz
+TARBALL_UNSTRIPPED=`pwd`/../mplayer-non-DFSG_0.svn${SVNDATE}.orig.tar.gz
 PACKAGENAME=mplayer
 
 TMPDIR=`mktemp -d`
@@ -103,3 +103,5 @@ tar czf ${TARBALL_UNSTRIPPED} -C ${TMPDIR} ${PACKAGENAME}
 
 tar czf ${TARBALL} -C ${TMPDIR} ${PACKAGENAME}
 
+# print diff
+( cd ${TMPDIR} && ptardiff ${TARBALL_UNSTRIPPED} ) | tee ${TARBALL}.diff

-- 
mplayer packaging



More information about the pkg-multimedia-commits mailing list