r6413 - packages/trunk/vegastrike/debian

Vincent Fourmond fourmond at alioth.debian.org
Thu Apr 3 22:15:19 UTC 2008


Author: fourmond
Date: 2008-04-03 22:15:19 +0000 (Thu, 03 Apr 2008)
New Revision: 6413

Added:
   packages/trunk/vegastrike/debian/get_upstream_svn
Modified:
   packages/trunk/vegastrike/debian/changelog
   packages/trunk/vegastrike/debian/control
Log:
[vegastrike] First steps into packaging a new upstream SVN revision

Modified: packages/trunk/vegastrike/debian/changelog
===================================================================
--- packages/trunk/vegastrike/debian/changelog	2008-04-03 15:40:27 UTC (rev 6412)
+++ packages/trunk/vegastrike/debian/changelog	2008-04-03 22:15:19 UTC (rev 6413)
@@ -12,8 +12,12 @@
   [ Ansgar Burchardt ]
   * Remove deprecated Encoding key from .desktop file
 
- -- Ansgar Burchardt <ansgar at 43-1.org>  Fri, 29 Feb 2008 01:21:26 +0100
+  [ Vincent Fourmond ]
+  * A get_upstream_svn script to retrieve an upstream SVN snapshot
+  * Bumped to standards 3.7.3 with no changes.
 
+ -- Vincent Fourmond <fourmond at debian.org>  Fri, 04 Apr 2008 00:14:00 +0200
+
 vegastrike (0.4.3.debian1-1) unstable; urgency=low
 
   * Repackage upstream source to get rid of two useless copies of the

Modified: packages/trunk/vegastrike/debian/control
===================================================================
--- packages/trunk/vegastrike/debian/control	2008-04-03 15:40:27 UTC (rev 6412)
+++ packages/trunk/vegastrike/debian/control	2008-04-03 22:15:19 UTC (rev 6413)
@@ -4,8 +4,8 @@
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Andres Mejia <mcitadel at gmail.com>, Sam Hocevar (Debian packages) <sam+deb at zoy.org>, Gonéri Le Bouder <goneri at rulezlan.org>,
  Vincent Fourmond <fourmond at debian.org>
-Build-Depends: debhelper (>= 5), quilt, automake, autoconf, libboost-python-dev, libgtk2.0-dev, libopenal-dev, libalut-dev, libgl1-mesa-dev, libexpat1-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, libpng12-dev, libjpeg62-dev, freeglut3-dev, libxmu-dev
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), quilt, automake, autoconf, libboost-python-dev, libgtk2.0-dev, libopenal-dev, libalut-dev, libgl1-mesa-dev | libgl-dev, libexpat1-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, libpng12-dev, libjpeg62-dev, freeglut3-dev, libxmu-dev, python-dev
+Standards-Version: 3.7.3
 Homepage:  http://vegastrike.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/vegastrike/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/vegastrike/?op=log
@@ -18,5 +18,3 @@
  project, at version 1.0, is to be a generic space simulator. Current
  features include split-screen play, trading, exploration and plenty of
  shoot'em up action.
- .
- Homepage:  http://vegastrike.sourceforge.net/

Added: packages/trunk/vegastrike/debian/get_upstream_svn
===================================================================
--- packages/trunk/vegastrike/debian/get_upstream_svn	                        (rev 0)
+++ packages/trunk/vegastrike/debian/get_upstream_svn	2008-04-03 22:15:19 UTC (rev 6413)
@@ -0,0 +1,38 @@
+#! /bin/sh
+
+# get_upstream_svn: make a tarball from upstream svn repository
+# Copyright 2008 by Vincent Fourmond 
+# Can be distributed under the same terms as Vegastrike itself.
+
+# depends on subversion, automake/autoconf
+#
+# should be called as debian/get_upstream_svn
+
+rep="http://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike"
+
+# First, we get information about the latest upstream revision:
+rev=`svn info "$rep" | grep Revision | egrep -o '[0-9]+`
+
+# The target dirname
+dirname=vegastrike-0.5\~$rev
+
+# Current directory
+curdir=`pwd`
+
+# Then, we create a temporary directory
+tmpdir=`mktemp -d`
+cd $tmpdir
+svn export $rep $dirname
+# We remove the boost libs, completely unnecessary:
+rm -rf $dirname/boost
+
+# # We bootstrap autoconf:
+# cd $dirname
+# ./bootstrap-sh
+# cd ..
+tar cvzf $dirname.tar.gz $dirname
+
+# We come back and move the tarball to the parent directory
+cd - # $curdir			
+mv $tmpdir/$dirname.tar.gz .. 
+mr -rf $tmpdir
\ No newline at end of file




More information about the Pkg-games-commits mailing list