Author: ceros-guest Date: 2008-01-06 04:25:10 +0000 (Sun, 06 Jan 2008) New Revision: 5236
Added: packages/trunk/ogre/debian/ogre-get-orig-source Removed: packages/trunk/ogre/debian/extras/ogre-tarball.sh Modified: packages/trunk/ogre/debian/ packages/trunk/ogre/debian/changelog Log: Moved debian/extras/ogre-tarball.sh to debian/ogre-get-orig-source. Updated changelog. Property changes on: packages/trunk/ogre/debian ___________________________________________________________________ Name: svn-bp:origUrl - http://ftp.debian.org/debian/pool/main/o/ogre/ogre_1.4.5.orig.tar.gz Modified: packages/trunk/ogre/debian/changelog =================================================================== --- packages/trunk/ogre/debian/changelog 2008-01-05 06:37:57 UTC (rev 5235) +++ packages/trunk/ogre/debian/changelog 2008-01-06 04:25:10 UTC (rev 5236) @@ -1,21 +1,22 @@ -ogre (1.4.6-1~unreleased1) unstable; urgency=low +ogre (1.4.6-1~unreleased1) gutsy; urgency=low * New upstream release. (Closes: 458902) * Modified ogre-tarball.sh script to make it easier to maintain. + Use exit status 1 for errors + Remove extracted orig directory. + + Moved debian/extras/ogre-tarball.sh to debian/ogre-get-orig-source. * Bumped Standards-Version to 3.7.3. * Making all *-dbg packages Priority: extra. + Addresses some lintian warnings. * New releases have been introducing ABI changes for ogre. Reverting back - to using -release versioning for sonames. + to using -release versioning scheme for sonames. + Updated README.Debian files * Making *-dev packages binary-independent. * Making library package name match sonames. - + Addresses lintian warning. + + Addresses lintian warnings. * Fixed bad Vcs-SVN link. Also removing '+ssh' part. - -- Andres Mejia <[EMAIL PROTECTED]> Sun, 30 Dec 2007 09:32:23 -0500 + -- Andres Mejia <[EMAIL PROTECTED]> Sat, 05 Jan 2008 23:15:33 -0500 ogre (1.4.5-3) unstable; urgency=low Deleted: packages/trunk/ogre/debian/extras/ogre-tarball.sh =================================================================== --- packages/trunk/ogre/debian/extras/ogre-tarball.sh 2008-01-05 06:37:57 UTC (rev 5235) +++ packages/trunk/ogre/debian/extras/ogre-tarball.sh 2008-01-06 04:25:10 UTC (rev 5236) @@ -1,104 +0,0 @@ -#! /bin/sh - -# This script is used to generate the ogre orig tarball that can be -# distributed through Debian. - -# Some variables to make maintaining this script easier -OGRE_VERSION=1.4.6 -OGRE_TARBALL=ogre-linux_osx-v1-4-6.tar.bz2 -OGRE_TARBALL_CHECKSUM=ef1cf73106e0387624bfdd539cdf9de6 - -if [ ! -f $OGRE_TARBALL ] ; then -# Download the tarball -wget http://downloads.sourceforge.net/ogre/$OGRE_TARBALL -fi - -# Verify the checksum -COMPUTED_CHECKSUM=`md5sum $OGRE_TARBALL | cut -d ' ' -f 1` - -if [ $OGRE_TARBALL_CHECKSUM != $COMPUTED_CHECKSUM ] ; then - echo "Checksum verification failed. Checksum was $COMPUTED_CHECKSUM -Expected checksum $OGRE_TARBALL_CHECKSUM" - exit 1 -else - echo "Checksum verified. Checksum is $COMPUTED_CHECKSUM." -fi - -# Prepare the ogre orig tarball -if [ ! -d ogrenew ]; then - echo "Extracting $OGRE_TARBALL" - tar -xjf $OGRE_TARBALL -else - echo "Already found extracted ogrenew directory. Please remove -or move ogrenew and ogre-$OGRE_VERSION directories and also ogre_$OGRE_VERSION.orig.tar.gz." - exit 1 -fi -if [ ! -d ogre-$OGRE_VERSION ]; then - echo "Renaming extracted ogrenew directory to ogre-$OGRE_VERSION" - mv ogrenew ogre-$OGRE_VERSION -else - echo "Already found ogre-$OGRE_VERSION directory. Please remove or move -ogrenew and ogre-$OGRE_VERSION directories and also ogre_$OGRE_VERSION.orig.tar.gz." - exit 1 -fi - -# Remove all CVS directories -echo "Removing all CVS directories" -for REMOVE_CVS in `find ogre-$OGRE_VERSION -name CVS`; do - rm -rf "$REMOVE_CVS" -done - -# Remove non-distributable samples -echo "Removing all non-distributable demos." -rm -r ogre-$OGRE_VERSION/Samples/BezierPatch -rm -r ogre-$OGRE_VERSION/Samples/BSP -rm -r ogre-$OGRE_VERSION/Samples/CameraTrack -rm -r ogre-$OGRE_VERSION/Samples/CelShading -rm -r ogre-$OGRE_VERSION/Samples/Compositor -rm -r ogre-$OGRE_VERSION/Samples/CubeMapping -rm -r ogre-$OGRE_VERSION/Samples/DeferredShading -rm -r ogre-$OGRE_VERSION/Samples/Dot3Bump -rm -r ogre-$OGRE_VERSION/Samples/DynTex -rm -r ogre-$OGRE_VERSION/Samples/EnvMapping -rm -r ogre-$OGRE_VERSION/Samples/FacialAnimation -rm -r ogre-$OGRE_VERSION/Samples/Fresnel -rm -r ogre-$OGRE_VERSION/Samples/Grass -rm -r ogre-$OGRE_VERSION/Samples/Gui -rm -r ogre-$OGRE_VERSION/Samples/Instancing -rm -r ogre-$OGRE_VERSION/Samples/Lighting -rm -r ogre-$OGRE_VERSION/Samples/Media -rm -r ogre-$OGRE_VERSION/Samples/OceanDemo -rm -r ogre-$OGRE_VERSION/Samples/ParticleFX -rm -r ogre-$OGRE_VERSION/Samples/RenderToTexture -rm -r ogre-$OGRE_VERSION/Samples/Shadows -rm -r ogre-$OGRE_VERSION/Samples/SkeletalAnimation -rm -r ogre-$OGRE_VERSION/Samples/SkyBox -rm -r ogre-$OGRE_VERSION/Samples/SkyDome -rm -r ogre-$OGRE_VERSION/Samples/SkyPlane -rm -r ogre-$OGRE_VERSION/Samples/Smoke -rm -r ogre-$OGRE_VERSION/Samples/Terrain -rm -r ogre-$OGRE_VERSION/Samples/TextureFX -rm -r ogre-$OGRE_VERSION/Samples/Transpacency -rm -r ogre-$OGRE_VERSION/Samples/VolumeTex -rm -r ogre-$OGRE_VERSION/Samples/Water -rm -r ogre-$OGRE_VERSION/Samples/Common/bin -rm -r ogre-$OGRE_VERSION/Samples/Common/include -rm -r ogre-$OGRE_VERSION/Samples/Common/setup -rm -r ogre-$OGRE_VERSION/Samples/ReadMe.html - -# Remove autom4te.cache directories -echo "Removing generated directories from autotools." -rm -r ogre-$OGRE_VERSION/autom4te.cache -rm -r ogre-$OGRE_VERSION/ReferenceApplication/autom4te.cache - -# Create the tarball -if [ ! -f ogre_$OGRE_VERSION.orig.tar.gz ]; then - echo "Creating orig tarball." - tar -czf ogre_$OGRE_VERSION.orig.tar.gz ogre-$OGRE_VERSION/ - echo "Removing extracted directory." - rm -rf ogre-$OGRE_VERSION/ -else - echo "Already found orig tarball. Please remove or move ogrenew -and ogre-$OGRE_VERSION directories and also ogre_$OGRE_VERSION.orig.tar.gz." - exit 1 -fi Copied: packages/trunk/ogre/debian/ogre-get-orig-source (from rev 5235, packages/trunk/ogre/debian/extras/ogre-tarball.sh) =================================================================== --- packages/trunk/ogre/debian/ogre-get-orig-source (rev 0) +++ packages/trunk/ogre/debian/ogre-get-orig-source 2008-01-06 04:25:10 UTC (rev 5236) @@ -0,0 +1,104 @@ +#! /bin/sh + +# This script is used to generate the ogre orig tarball that can be +# distributed through Debian. + +# Some variables to make maintaining this script easier +OGRE_VERSION=1.4.6 +OGRE_TARBALL=ogre-linux_osx-v1-4-6.tar.bz2 +OGRE_TARBALL_CHECKSUM=ef1cf73106e0387624bfdd539cdf9de6 + +if [ ! -f $OGRE_TARBALL ] ; then +# Download the tarball +wget http://downloads.sourceforge.net/ogre/$OGRE_TARBALL +fi + +# Verify the checksum +COMPUTED_CHECKSUM=`md5sum $OGRE_TARBALL | cut -d ' ' -f 1` + +if [ $OGRE_TARBALL_CHECKSUM != $COMPUTED_CHECKSUM ] ; then + echo "Checksum verification failed. Checksum was $COMPUTED_CHECKSUM +Expected checksum $OGRE_TARBALL_CHECKSUM" + exit 1 +else + echo "Checksum verified. Checksum is $COMPUTED_CHECKSUM." +fi + +# Prepare the ogre orig tarball +if [ ! -d ogrenew ]; then + echo "Extracting $OGRE_TARBALL" + tar -xjf $OGRE_TARBALL +else + echo "Already found extracted ogrenew directory. Please remove +or move ogrenew and ogre-$OGRE_VERSION directories and also ogre_$OGRE_VERSION.orig.tar.gz." + exit 1 +fi +if [ ! -d ogre-$OGRE_VERSION ]; then + echo "Renaming extracted ogrenew directory to ogre-$OGRE_VERSION" + mv ogrenew ogre-$OGRE_VERSION +else + echo "Already found ogre-$OGRE_VERSION directory. Please remove or move +ogrenew and ogre-$OGRE_VERSION directories and also ogre_$OGRE_VERSION.orig.tar.gz." + exit 1 +fi + +# Remove all CVS directories +echo "Removing all CVS directories" +for REMOVE_CVS in `find ogre-$OGRE_VERSION -name CVS`; do + rm -rf "$REMOVE_CVS" +done + +# Remove non-distributable samples +echo "Removing all non-distributable demos." +rm -r ogre-$OGRE_VERSION/Samples/BezierPatch +rm -r ogre-$OGRE_VERSION/Samples/BSP +rm -r ogre-$OGRE_VERSION/Samples/CameraTrack +rm -r ogre-$OGRE_VERSION/Samples/CelShading +rm -r ogre-$OGRE_VERSION/Samples/Compositor +rm -r ogre-$OGRE_VERSION/Samples/CubeMapping +rm -r ogre-$OGRE_VERSION/Samples/DeferredShading +rm -r ogre-$OGRE_VERSION/Samples/Dot3Bump +rm -r ogre-$OGRE_VERSION/Samples/DynTex +rm -r ogre-$OGRE_VERSION/Samples/EnvMapping +rm -r ogre-$OGRE_VERSION/Samples/FacialAnimation +rm -r ogre-$OGRE_VERSION/Samples/Fresnel +rm -r ogre-$OGRE_VERSION/Samples/Grass +rm -r ogre-$OGRE_VERSION/Samples/Gui +rm -r ogre-$OGRE_VERSION/Samples/Instancing +rm -r ogre-$OGRE_VERSION/Samples/Lighting +rm -r ogre-$OGRE_VERSION/Samples/Media +rm -r ogre-$OGRE_VERSION/Samples/OceanDemo +rm -r ogre-$OGRE_VERSION/Samples/ParticleFX +rm -r ogre-$OGRE_VERSION/Samples/RenderToTexture +rm -r ogre-$OGRE_VERSION/Samples/Shadows +rm -r ogre-$OGRE_VERSION/Samples/SkeletalAnimation +rm -r ogre-$OGRE_VERSION/Samples/SkyBox +rm -r ogre-$OGRE_VERSION/Samples/SkyDome +rm -r ogre-$OGRE_VERSION/Samples/SkyPlane +rm -r ogre-$OGRE_VERSION/Samples/Smoke +rm -r ogre-$OGRE_VERSION/Samples/Terrain +rm -r ogre-$OGRE_VERSION/Samples/TextureFX +rm -r ogre-$OGRE_VERSION/Samples/Transpacency +rm -r ogre-$OGRE_VERSION/Samples/VolumeTex +rm -r ogre-$OGRE_VERSION/Samples/Water +rm -r ogre-$OGRE_VERSION/Samples/Common/bin +rm -r ogre-$OGRE_VERSION/Samples/Common/include +rm -r ogre-$OGRE_VERSION/Samples/Common/setup +rm -r ogre-$OGRE_VERSION/Samples/ReadMe.html + +# Remove autom4te.cache directories +echo "Removing generated directories from autotools." +rm -r ogre-$OGRE_VERSION/autom4te.cache +rm -r ogre-$OGRE_VERSION/ReferenceApplication/autom4te.cache + +# Create the tarball +if [ ! -f ogre_$OGRE_VERSION.orig.tar.gz ]; then + echo "Creating orig tarball." + tar -czf ogre_$OGRE_VERSION.orig.tar.gz ogre-$OGRE_VERSION/ + echo "Removing extracted directory." + rm -rf ogre-$OGRE_VERSION/ +else + echo "Already found orig tarball. Please remove or move ogrenew +and ogre-$OGRE_VERSION directories and also ogre_$OGRE_VERSION.orig.tar.gz." + exit 1 +fi _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

