[med-svn] r3817 - trunk/packages/libgenome/trunk/debian

Andreas Tille tille at alioth.debian.org
Tue Aug 25 07:28:26 UTC 2009


Author: tille
Date: 2009-08-25 07:28:25 +0000 (Tue, 25 Aug 2009)
New Revision: 3817

Added:
   trunk/packages/libgenome/trunk/debian/get-orig-source
Modified:
   trunk/packages/libgenome/trunk/debian/changelog
   trunk/packages/libgenome/trunk/debian/compat
   trunk/packages/libgenome/trunk/debian/control
Log:
Debhelper 7, readded get-orig-source


Modified: trunk/packages/libgenome/trunk/debian/changelog
===================================================================
--- trunk/packages/libgenome/trunk/debian/changelog	2009-08-25 07:26:26 UTC (rev 3816)
+++ trunk/packages/libgenome/trunk/debian/changelog	2009-08-25 07:28:25 UTC (rev 3817)
@@ -9,6 +9,7 @@
     http://lists.debian.org/debian-devel/2009/08/msg00783.html
     This has to be done manually until d-shlibmove stops moving this
     file (bug against d-shlibs just filed)
+  * Debhelper 7
 
  -- Andreas Tille <tille at debian.org>  Thu, 26 Jun 2008 09:36:06 +0200
 

Modified: trunk/packages/libgenome/trunk/debian/compat
===================================================================
--- trunk/packages/libgenome/trunk/debian/compat	2009-08-25 07:26:26 UTC (rev 3816)
+++ trunk/packages/libgenome/trunk/debian/compat	2009-08-25 07:28:25 UTC (rev 3817)
@@ -1 +1 @@
-6
+7

Modified: trunk/packages/libgenome/trunk/debian/control
===================================================================
--- trunk/packages/libgenome/trunk/debian/control	2009-08-25 07:26:26 UTC (rev 3816)
+++ trunk/packages/libgenome/trunk/debian/control	2009-08-25 07:28:25 UTC (rev 3817)
@@ -3,7 +3,7 @@
 Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 6), autotools-dev, d-shlibs (>= 0.38), cdbs, doxygen
+Build-Depends: debhelper (>= 7), autotools-dev, d-shlibs (>= 0.40), cdbs, doxygen
 Standards-Version: 3.8.3
 Section: libs
 Homepage: http://asap.ahabs.wisc.edu/software/software-development-libraries/libgenome.html

Added: trunk/packages/libgenome/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/libgenome/trunk/debian/get-orig-source	                        (rev 0)
+++ trunk/packages/libgenome/trunk/debian/get-orig-source	2009-08-25 07:28:25 UTC (rev 3817)
@@ -0,0 +1,52 @@
+#!/bin/sh -e
+
+echo "For snapshot releases use the code below.  Real releases work with uscan."
+uscan --verbose
+
+exit 0
+URL="http://gel.ahabs.wisc.edu/mauve/source/snapshots/"
+NAME=libgenome
+UVERSION=snapshot
+DVERSION=1.3.0
+UPSTREAMTAR="$NAME"-"$UVERSION".tar.gz
+UPSTREAMDIR=libGenome
+
+# To rebuild the new upstream tarball you need these
+# packages installed.  This will be checked later on.
+# The rationale behind this dependency is that the
+# script should work for later upstream releases as well
+# and thus a simple patch for Makefile.am and
+# configure.in would not work
+BUILDTARBALLDEPENDS="autoconf automake libtool"
+# Also these build-dependencies are needed to be installed to
+# run ./configure which is a precondition for "make dist"
+BUILDDEPS=""
+missingdepends=`dpkg -l ${BUILDTARBALLDEPENDS} ${BUILDDEPS} | \
+    grep -v -e "^ii" -e "^|" -e "^++" -e "^ " -e "^..[^[:space:]]" | \
+    sed 's/^[a-z][a-z][[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+.*/\1/'`
+
+if [ "$missingdepends" != "" ] ; then
+    echo "Please install the following packages to rebuild the upstream source tarball:"
+    echo $missingdepends
+    exit -1
+fi
+
+mkdir -p ../tarballs
+cd ../tarballs
+
+if [ ! -f "$UPSTREAMTAR" ] ; then
+    wget "$URL"/"$UPSTREAMTAR"
+fi
+tar -xzf "$UPSTREAMTAR"
+
+cd "$UPSTREAMDIR"
+
+autogen.sh
+./configure
+make dist
+
+DISTTAR="$UPSTREAMDIR"-"${DVERSION}".tar.gz
+DVERSION="${DVERSION}."`date +%Y%m%d`
+mv "$DISTTAR" ../"$NAME"_"$DVERSION".orig.tar.gz
+cd ..
+rm -rf "$UPSTREAMDIR"




More information about the debian-med-commit mailing list