r5445 - packages/trunk/openal/debian
Andres Mejia
ceros-guest at alioth.debian.org
Fri Jan 18 00:20:55 UTC 2008
Author: ceros-guest
Date: 2008-01-18 00:20:55 +0000 (Fri, 18 Jan 2008)
New Revision: 5445
Added:
packages/trunk/openal/debian/openal-get-orig-source
Modified:
packages/trunk/openal/debian/changelog
Log:
Begin working on packaging latest openal SVN build. Added get-orig-source script.
Modified: packages/trunk/openal/debian/changelog
===================================================================
--- packages/trunk/openal/debian/changelog 2008-01-17 23:24:17 UTC (rev 5444)
+++ packages/trunk/openal/debian/changelog 2008-01-18 00:20:55 UTC (rev 5445)
@@ -1,4 +1,4 @@
-openal (1:0.0.8+svn~r1464-1) UNRELEASED; urgency=low
+openal (1.0~svn20080117.r1469-1~unreleased0) experimental; urgency=low
[ Cyril Brulebois ]
* New upstream snapshot.
@@ -51,8 +51,11 @@
[ Jon Dowland ]
* Add Homepage: control field to source stanza
- -- Jon Dowland <jon at alcopop.org> Mon, 03 Dec 2007 17:37:46 +0000
+ [ Andres Mejia ]
+ * Add script to generate orig tarball.
+ -- Andres Mejia <mcitadel at gmail.com> Thu, 17 Jan 2008 19:15:00 -0500
+
openal (1:0.0.8-6) unstable; urgency=low
* Continue the switch to quilt by moving all source modifications from the
Added: packages/trunk/openal/debian/openal-get-orig-source
===================================================================
--- packages/trunk/openal/debian/openal-get-orig-source (rev 0)
+++ packages/trunk/openal/debian/openal-get-orig-source 2008-01-18 00:20:55 UTC (rev 5445)
@@ -0,0 +1,32 @@
+#! /bin/sh
+
+# This script is used to generate the openal orig tarball that can be
+# distributed through Debian.
+
+# Currently only available through SVN
+UPSTREAM_SVN="http://www.openal.org/repos/openal/trunk/OpenAL-Sample/"
+ORIGINAL_DATE="20080117"
+REVISION="1469"
+#OPENAL_TARBALL=""
+OPENAL_VERSION="1.0~svn$ORIGINAL_DATE.r$REVISION"
+
+if [ ! -d openal-$OPENAL_VERSION ]; then
+# Checkout from SVN
+ svn co -r $REVISION $UPSTREAM_SVN openal-$OPENAL_VERSION
+ echo "Checked out openal revision $REVISION from SVN"
+fi
+
+# Remove all SVN directories
+echo "Removing all .svn directories"
+for REMOVE_SVN in `find openal-$OPENAL_VERSION -type d -name .svn`; do
+ rm -rf "$REMOVE_SVN"
+done
+
+# Create the tarball
+if [ ! -f openal_$OPENAL_VERSION.orig.tar.gz ]; then
+ echo "Creating orig tarball."
+ tar -czf openal_$OPENAL_VERSION.orig.tar.gz openal-$OPENAL_VERSION/
+else
+ echo -e "Already found orig tarball. Please remove or move openal_$OPENAL_VERSION.tar.gz."
+ exit 1
+fi
Property changes on: packages/trunk/openal/debian/openal-get-orig-source
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-games-commits
mailing list