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

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


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

Removed:
   trunk/packages/libgenome/trunk/debian/d-devlibdeps
   trunk/packages/libgenome/trunk/debian/d-shlibmove
   trunk/packages/libgenome/trunk/debian/get-orig-source
Modified:
   trunk/packages/libgenome/trunk/debian/changelog
   trunk/packages/libgenome/trunk/debian/control
   trunk/packages/libgenome/trunk/debian/rules
Log:
Several updates, main issue is droping *.la file from devel package to meet release goal


Modified: trunk/packages/libgenome/trunk/debian/changelog
===================================================================
--- trunk/packages/libgenome/trunk/debian/changelog	2009-08-25 06:31:07 UTC (rev 3815)
+++ trunk/packages/libgenome/trunk/debian/changelog	2009-08-25 07:26:26 UTC (rev 3816)
@@ -1,3 +1,17 @@
+libgenome (1.3.1-2) unstable; urgency=low
+
+  * Removed d-shlibs hack to prevent dependency from g++-4.1 lib which
+    seems to be not necessary any more
+  * Standards-Version: 3.8.3 (no changes needed)
+  * Removed quilt Build-Depends
+  * Added missing ${misc:Depends}
+  * Remove *.la file according to
+    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)
+
+ -- Andreas Tille <tille at debian.org>  Thu, 26 Jun 2008 09:36:06 +0200
+
 libgenome (1.3.1-1) unstable; urgency=low
 
   * New upstream version

Modified: trunk/packages/libgenome/trunk/debian/control
===================================================================
--- trunk/packages/libgenome/trunk/debian/control	2009-08-25 06:31:07 UTC (rev 3815)
+++ trunk/packages/libgenome/trunk/debian/control	2009-08-25 07:26:26 UTC (rev 3816)
@@ -3,8 +3,8 @@
 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, quilt, doxygen
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 6), autotools-dev, d-shlibs (>= 0.38), cdbs, doxygen
+Standards-Version: 3.8.3
 Section: libs
 Homepage: http://asap.ahabs.wisc.edu/software/software-development-libraries/libgenome.html
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libgenome/?rev=0&sc=0
@@ -13,7 +13,7 @@
 Package: libgenome-1.3-0-dev
 Section: libdevel
 Architecture: any
-Depends: libgenome-1.3-0 (= ${binary:Version}), ${devlibs:Depends}
+Depends: libgenome-1.3-0 (= ${binary:Version}), ${misc:Depends}, ${devlibs:Depends}
 Provides: libgenome-1.3-dev
 Conflicts: libgenome-1.3-dev
 Description: toolkit for developing bioinformatic related software

Deleted: trunk/packages/libgenome/trunk/debian/d-devlibdeps
===================================================================
--- trunk/packages/libgenome/trunk/debian/d-devlibdeps	2009-08-25 06:31:07 UTC (rev 3815)
+++ trunk/packages/libgenome/trunk/debian/d-devlibdeps	2009-08-25 07:26:26 UTC (rev 3816)
@@ -1,199 +0,0 @@
-#!/bin/bash
-#   d-devlibdeps -- get list of build-time dependencies
-#   Copyright (C) 2002-2005 Junichi Uekawa
-#
-#   This program is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   This program is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with this program; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-# 2002 May 3. Created.
-#   automatic depends line generator.
-
-set -e
-set -o pipefail
-
-function getname () {
-    local SONAMELIBNAME
-    local SONAMEVERSION
-    local SONAME
-    SONAME="$1"
-    SONAMELIBNAME=$(echo $SONAME | sed 's/\.so\..*$//')
-    SONAMEVERSION=$(echo $SONAME | sed 's/^.*\.so\.//')
-    case "$SONAMELIBNAME" in
-	*[0-9])
-	    RETURN="$SONAMELIBNAME-$SONAMEVERSION"
-	    ;;
-	*)
-	    RETURN="$SONAMELIBNAME$SONAMEVERSION"
-	    ;;
-    esac
-}
-
-function overridedevlibdeps () {
-    # overrides necessary until the scheme is adopted.
-    sed \
-	-e 's/libX11-6-dev/libx11-dev | xlibs-dev (<< 4.3.0)/' \
-	-e 's/libXext6-dev/libxext-dev | xlibs-dev (<< 4.3.0)/' \
-	-e 's/libXi6-dev/libxi-dev | xlibs-dev (<< 4.3.0)/' \
-	-e 's/libXpm4-dev/libxpm-dev | xlibs-dev (<< 4.3.0)/' \
-	-e 's/libICE6-dev/libice-dev | xlibs-dev (<< 4.3.0)/' \
-	-e 's/libSM6-dev/libsm-dev | xlibs-dev (<< 4.3.0)/' \
-	-e 's/libGL1-dev/xlibmesa-gl-dev | xlibs-dev (<< 4.3.0)/' \
-	-e 's/libGLU1-dev/xlibmesa-glu-dev | xlibs-dev (<< 4.3.0)/' \
-	-e 's/libcrypt1-dev//' \
-	-e 's/libcrypt1\.1-dev//' \
-	-e 's/libdl2-dev//' \
-	-e 's/libdl2.1-dev//' \
-	-e 's/libm6-dev//' \
-	-e 's/libm6.1-dev//' \
-	-e 's/libm1-dev//' \
-	-e 's/libnsl1-dev//' \
-	-e 's/libnsl1\.1-dev//' \
-	-e 's/libpthread0-dev//' \
-	-e 's/libpthread0\.3-dev//' \
-	-e 's/libpthread.*-dev/libpthread-dev/' \
-	-e 's/libresolv2-dev//' \
-	-e 's/libglib-1.2-0-dev/libglib1.2-dev/' \
-	-e 's/libgthread-1.2-0-dev/libglib1.2-dev/' \
-	-e 's/libgmodule-1.2-0-dev/libglib1.2-dev/' \
-	-e 's/libgtk-1.2-0-dev/libgtk1.2-dev/' \
-	-e 's/libpam0-dev/libpam0g-dev/' \
-	-e 's/libgdk-1.2-0-dev/libgtk1.2-dev/' \
-	-e 's/libz1-dev/zlib1g-dev/' \
-	-e 's/libgcc_s.*-dev//' \
-        -e 's/libcrypto.*-dev/libssl-dev/' \
-        -e 's/libssl.*-dev/libssl-dev/' \
-	-e 's/libcomerr2//' \
-	-e 's/libcom_err2-dev/comerr-dev/' \
-	-e 's/libgssapi_krb5-2-dev/libkrb5-dev/' \
-	-e 's/libk5crypto3-dev/libkrb5-dev/' \
-	-e 's/libkrb5-3-dev/libkrb5-dev/' \
-	-e 's/libparted-1.6-0-dev/libparted1.6-dev/' \
-	-e 's/libSDL-1.2-0-dev/libsdl1.2-dev/' \
-	-e 's/libvorbis0-dev/libvorbis-dev/' \
-	-e 's/libcrack2-dev/cracklib2-dev/' \
-	-e 's/libkrb1-dev/kerberos4kth-dev/' \
-	-e 's/libtheora0-dev/libtheora-dev/' \
-	-e 's/libvorbisenc2-dev/libvorbis-dev/' \
-	-e 's/libogg0-dev/libogg-dev/' \
-	-e 's/librt1-dev//' \
-	-e 's/libspeex1-dev/libspeex-dev/' \
-	-e 's/libX\(.*\)[0-9]-dev/libx\1-dev/' \
-	-e 's/libgdk-x11-2.0-0-dev/libgtk2.0-dev/' \
-	-e 's/libgdk-x11-2.0-0-dev/libgtk2.0-dev/' \
-	-e 's/libgtk-x11-2.0-0-dev/libgtk2.0-dev/' \
-	-e 's/libgdk_pixbuf-2.0-0-dev/libgtk2.0-dev/' \
-	-e 's/libgd2-dev/libgd-dev/' \
-	-e 's/libgmodule-2.0-0-dev/libglib2.0-dev/' \
-	-e 's/libgobject-2.0-0-dev/libglib2.0-dev/' \
-	-e 's/libglib-2.0-0-dev/libglib2.0-dev/' \
-	-e 's/libpango-1.0-0-dev/libpango1.0-dev/' \
-	-e 's/libpangocairo-1.0-0-dev/libpango1.0-dev/' \
-	-e 's/libatk-1.0-0-dev/libatk1.0-dev/' \
-	-e 's/libxml2-2-dev/libxml2-dev/' \
-	-e 's/libgthread-2.0-0-dev/libglib2.0-dev/' \
-	-e 's/libstdc++6-dev/libstdc++6-4.2-dev/' \
-	"${OVERRIDE[@]/#/-e}" \
-
-
-}
-
-
-function validate_package () {
-# validate if package foo exists, this relies on apt.
-    if [ -z "$1" ]; then 
-	# ignore empty.
-	return;
-    fi
-    if grep "^Package: $1\$" debian/control > /dev/null 2> /dev/null ; then
-	# ignore package that is going to be created.
-	echo " --> $1 package from same source package." >&2 
-	return
-    fi
-    case $(echo $(apt-cache show $1 2> /dev/null| wc -l ) ) in
-	0)
-	    case $(echo $(apt-cache showpkg $1 2> /dev/null | awk ' /^Reverse Provides: $/,/^$/ {if ($0 !~ /:/) {print $0}}' | wc -l) ) in
-		0) 
-		    echo "devlibs error: There is no package matching [$1] and noone provides it, please report bug to d-shlibs maintainer" >&2
-		    return 1;;
-		*) echo " --> $1 is provided by a package." >&2 ;;
-	    esac;;
-	*) echo " --> $1 package exists." >&2 ;;
-    esac
-    return 0;
-}
-
-while true; do
-    case $1 in
-	--override=*)
-	    OVERRIDE[${#OVERRIDE[@]}]="${1/--override=/}"
-	    shift; 
-	    ;;
-	--override)
-	    OVERRIDE[${#OVERRIDE[@]}]="$2"
-	    shift; shift;
-	    ;;
-	--*)
-	    #error
-	    ;;
-	--|*)
-	    break;
-	    ;;
-    esac
-done
-
-if [ -z "$2" ]; then
-    echo "$0: Please read manpage for help, not enough options given"
-    exit 1
-fi
-
-OUTPUTFILE="$1"
-shift;
-
-DEPENDS=""
-for A in $*; do
-    # let shell do the delimiting of objdump output./
-    DEPENDS="$DEPENDS $(set -o pipefail; objdump -p ${A} |sed -n 's/^.*NEEDED *//p')"
-done
-
-outputtmp=$(tempfile)
-(
-    set -e
-    if [ -f "$OUTPUTFILE" ] ; then
-	if grep -v "^devlibs:Depends=" "$OUTPUTFILE"; then
-	    :
-	fi
-    fi
-    printf "devlibs:Depends="
-    for A in $DEPENDS; do #DEPENDS is a space-delimited thing.
-	getname "$A"
-	echo $RETURN-dev | overridedevlibdeps
-    done | \
-	sort | \
-	uniq | \
-	while read B; do
-	    # abuse that only first part of multi-entry overrides is considered
-	    if validate_package $B ; then
-		printf "%s " $B ;
-	    else
-		echo "ERROR_DEVLIB "
-	    fi
-    done | sed -e 's/\([a-z0-9)]\) \+\([a-z]\)/\1, \2/g' -e 's/ \+/ /g' -e 's/^ //' -e 's/ $//'
-    printf "\n"
-) > "${outputtmp}"
-
-if grep "ERROR_DEVLIB" "$outputtmp" > /dev/null; then
-    exit 1
-fi
-
-mv "${outputtmp}" $OUTPUTFILE

Deleted: trunk/packages/libgenome/trunk/debian/d-shlibmove
===================================================================
--- trunk/packages/libgenome/trunk/debian/d-shlibmove	2009-08-25 06:31:07 UTC (rev 3815)
+++ trunk/packages/libgenome/trunk/debian/d-shlibmove	2009-08-25 07:26:26 UTC (rev 3816)
@@ -1,228 +0,0 @@
-#!/bin/bash
-#   d-shlibmove -- move shared library files around for Debian packaging
-#   Copyright (C) 2002, 2005 Junichi Uekawa
-#
-#   This program is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   This program is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with this program; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-# 2002 Apr 23. Created.
-#   automatic packaging of libtool-created library packages.
-
-# from d-shlibs package
-
-set -e
-set -o pipefail
-
-function getname () {
-    local SONAMELIBNAME
-    local SONAMEVERSION
-    local SONAME
-    SONAME="$1"
-    SONAMELIBNAME=$(echo $SONAME | sed 's/\.so\..*$//')
-    SONAMEVERSION=$(echo $SONAME | sed 's/^.*\.so\.//')
-    case "$SONAMELIBNAME" in
-	*[0-9])
-	    RETURN="$SONAMELIBNAME-$SONAMEVERSION"
-	    ;;
-	*)
-	    RETURN="$SONAMELIBNAME$SONAMEVERSION"
-	    ;;
-    esac
-}
-
-function readlibnameinfo () {
-    LIBNAME="$1"
-    
-    if  [ -z "$1" ] || ! echo "$1" | grep ".so$" > /dev/null ; then 
-	echo "$0: [$1] is not a valid shared library file name " >&2 
-	exit 1;	
-    fi
-    
-    if [ ! -h "$1" ]; then
-	echo "$0: expected [$1] to be a symlink, but it is not" >&2
-	exit 1;
-    fi
-    
-    SONAME=$(set -o pipefail; objdump -p ${LIBNAME} |sed -n 's/^.*SONAME *//p' )
-    getname "$SONAME"
-    SONAMEPKGNAME=$(echo "$RETURN" | tr '[A-Z]' '[a-z]')
-    PK=$(basename "$1" | sed 's/\.so$//')
-    PK_LOWER=$(echo ${PK} | tr '[A-Z]' '[a-z]')
-    REALSO=$(readlink -f "${LIBNAME}")
-}
-
-function check_line () {
- # check line
-    local PKGNAME="$1"
-    local ENTRYLINE="$2"
-    
-    if ! awk '/^Package:.*'"$PKGNAME"'/,/^$/{print}' "$CONTROL" | \
-	grep "$ENTRYLINE"  > /dev/null; then
-	echo "E: line [$ENTRYLINE] not found in $CONTROL section for $PKGNAME"
-	# set this error signifier to true
-	CHECK_ERROR=true
-    fi
-}
-
-
-echo "Library package automatic movement utility"
-
-CONTROL=debian/control
-
-execscript=$(tempfile)
-INSTALLFILE_SHLPKG=$(tempfile)
-INSTALLFILE_DEVPKG=$(tempfile)
-cat > ${execscript} <<EOF
-set -e
-EOF
-
-DEVLIB_TO_CHECK=
-SUFFIX=
-DEVSUFFIX=
-TRANSITIONSUFFIX=
-
-DOIT=no
-while [ -n "$1" ]; do
-    case $1 in
-	--moveshl)
-	    echo "$2 $3" >> "${INSTALLFILE_SHLPKG}"
-	    shift; shift; shift;
-	    ;;
-	--movedev)
-	    echo "$2 $3" >> "${INSTALLFILE_DEVPKG}"
-	    shift; shift; shift;
-	    ;;
-	--movedevdoc)
-	    echo "$2 usr/share/doc/\${PKGDEV}" >> "${INSTALLFILE_DEVPKG}"
-	    shift; shift;
-	    ;;
-	--commit)
-	    DOIT=yes
-	    shift;
-	    ;;
-	--extralib)
-	    readlibnameinfo "$2"
-	    DEVLIB_TO_CHECK="${DEVLIB_TO_CHECK} $2"
-	    echo "$(dirname $2)/${PK}.a usr/lib"  >> "${INSTALLFILE_DEVPKG}"
-	    echo "$(dirname $2)/${PK}.la usr/lib || true"  >> "${INSTALLFILE_DEVPKG}"
-	    echo "$(dirname $2)/${PK}.so usr/lib"  >> "${INSTALLFILE_DEVPKG}"
-	    echo "$(dirname ${REALSO})/${SONAME}  usr/lib"  >> "${INSTALLFILE_SHLPKG}"
-	    echo "${REALSO} usr/lib" >> "${INSTALLFILE_SHLPKG}"
-	    
-	    shift; shift;
-	    ;;
-	--shlibs-local)
-	    shift;
-	    SHLIBSLOCALVER="$1";
-	    shift;
-	    ;;
-	--suffix)
-	    shift;
-	    SUFFIX="$1";
-	    shift;
-	    ;;
-	--devsuffix)
-	    shift;
-	    DEVSUFFIX="$1";
-	    shift;
-	    ;;
-	--c102)
-	    TRANSITIONSUFFIX="c102"
-	    shift;;
-	--ldbl)
-	    TRANSITIONSUFFIX="ldbl"
-	    shift;;
-	--override)
-	    OVERRIDE[${#OVERRIDE[@]}]="$2"
-	    shift; shift;;
-	--|*)
-	    break;
-	    ;;
-    esac
-done
-
-# path/libxxxx.so.yyy.zz.zz
-# ------------------------- REALSO (actual .so filename that is linked to)
-#      -------------- SONAME
-#      -------    --- SONAMEPKGNAME (lowercased for package name)
-# --------------- $1
-#      ---------- PK
-#      ---------- PK_LOWER (lowercased for package name)
-
-DEVLIB_TO_CHECK="${DEVLIB_TO_CHECK} $1"
-readlibnameinfo "$1"
-PKGDEV="${SONAMEPKGNAME}${DEVSUFFIX}-dev"
-PKGSHL="${SONAMEPKGNAME}${SUFFIX}${TRANSITIONSUFFIX}"
-
-INSTALLDIR="install -d -m 755 "
-echo "${INSTALLDIR} debian/${PKGDEV}/usr/lib" >> "$execscript"
-echo "${INSTALLDIR} debian/${PKGSHL}/usr/lib"  >> "$execscript"
-echo "mv $(dirname $1)/${PK}.a debian/${PKGDEV}/usr/lib"  >> "$execscript"
-echo "mv $(dirname $1)/${PK}.la debian/${PKGDEV}/usr/lib || true"  >> "$execscript"
-echo "mv $(dirname $1)/${PK}.so debian/${PKGDEV}/usr/lib"  >> "$execscript"
-echo "mv $(dirname ${REALSO})/${SONAME} debian/${PKGSHL}/usr/lib"  >> "$execscript"
-echo "mv ${REALSO} debian/${PKGSHL}/usr/lib"  >> "$execscript"
-
-if [ -n "${SHLIBSLOCALVER}" ]; then 
-    echo "echo \"${SONAMELIBNAME} ${SONAMEVERSION} ${PKGSHL} (>= ${SHLIBSLOCALVER})\" >> debian/shlibs.local" >> "$execscript"
-fi
-
-/bin/bash debian/d-devlibdeps "${OVERRIDE[@]/#/--override=}"  debian/"${PKGDEV}".substvars "${DEVLIB_TO_CHECK}"
-
-#do some definition for the file.
-echo "PKGDEV=${PKGDEV}" >> "${execscript}"
-echo "PKGSHL=${PKGSHL}" >> "${execscript}"
-
-#do the extra files
-cat "${INSTALLFILE_SHLPKG}" | while read A B; do
-    echo "${INSTALLDIR} debian/${PKGSHL}/${B}" >> "${execscript}"
-    echo "mv ${A} debian/${PKGSHL}/${B}" >> "${execscript}"
-done
-cat "${INSTALLFILE_DEVPKG}" | while read A B; do
-    echo "${INSTALLDIR} debian/${PKGDEV}/${B}" >> "${execscript}"
-    echo "mv ${A} debian/${PKGDEV}/${B}" >> "${execscript}"
-done
-
-cat "${execscript}"
-
-# check the syntax of the control file.
-CHECK_ERROR=false
-
-check_line "${PKGDEV}" "Provides:.*${PK_LOWER}-dev"
-check_line "${PKGDEV}" "Conflicts:.*${PK_LOWER}-dev"
-check_line "${PKGSHL}" "Section: libs" 
-if [ -n "${SUFFIX}" ]; then
-    check_line "${PKGSHL}" "Conflicts: ${SONAMEPKGNAME}" 
-fi
-if [ -n "${TRANSITIONSUFFIX}" ]; then
-    check_line "${PKGSHL}" "Conflicts: ${SONAMEPKGNAME}${SUFFIX}"
-fi
-check_line "${PKGDEV}" "Section: \(devel\|libdevel\)" 
-check_line "${PKGDEV}" "Depends:.*${PKGSHL}" 
-check_line "${PKGSHL}" "Depends:.*[$]{shlibs:Depends}"
-
-if [ "${CHECK_ERROR}" = "true" ]; then
-    echo "Error occurred, aborting" >&2
-    exit 1
-fi
-
-if [ "${DOIT}" = "yes" ]; then
-    sh "${execscript}"
-else
-    echo "Dry-run. If you are satisfied, run with --commit"
-    exit 2
-fi
-rm -f "${execscript}" "${INSTALLFILE_DEVPKG}"" ${INSTALLFILE_SHLPKG}"
-
-exit 0

Deleted: trunk/packages/libgenome/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/libgenome/trunk/debian/get-orig-source	2009-08-25 06:31:07 UTC (rev 3815)
+++ trunk/packages/libgenome/trunk/debian/get-orig-source	2009-08-25 07:26:26 UTC (rev 3816)
@@ -1,52 +0,0 @@
-#!/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"

Modified: trunk/packages/libgenome/trunk/debian/rules
===================================================================
--- trunk/packages/libgenome/trunk/debian/rules	2009-08-25 06:31:07 UTC (rev 3815)
+++ trunk/packages/libgenome/trunk/debian/rules	2009-08-25 07:26:26 UTC (rev 3816)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+# include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
@@ -16,13 +16,17 @@
 	# /bin/sh debian/debug/
 	mv debian/tmp/usr/include/*/* debian/tmp/usr/include/
 	# cp -a doc/html/* debian/tmp/usr/share/doc/html
-	/bin/bash debian/d-shlibmove \
+	d-shlibmove \
 	            --commit \
 		    --movedev "debian/tmp/usr/include/$(name)" usr/include/$(name)-$(version) \
 		    --movedev "$(name)-$(version).pc" usr/share/pkgconfig \
 		    debian/tmp/usr/lib/$(name)-$(version).so
 
 #		    --movedevdoc "debian/tmp/usr/share/doc/html/*" \
+	# Remove unneeded *.la files according to
+	# http://lists.debian.org/debian-devel/2009/08/msg00783.html
+	# Release goal: Getting rid of unneeded *.la / emptying dependency_libs
+	find debian -name "*.la" -exec rm -f \{\} \;
 
 get-orig-source:
 	. debian/get-orig-source




More information about the debian-med-commit mailing list