[SCM] gmtk/master: Regenerate configure with dh-autoreconf
sramacher-guest at users.alioth.debian.org
sramacher-guest at users.alioth.debian.org
Mon Jan 2 14:43:22 UTC 2012
The following commit has been merged in the master branch:
commit c7d0d6914cf2d0a15122feb28a644bbdaf5bd078
Author: Sebastian Ramacher <s.ramacher at gmx.at>
Date: Mon Jan 2 14:57:50 2012 +0100
Regenerate configure with dh-autoreconf
debian/rules: add --with autoreconf
debian/control: Build-Dep on autoreconf
diff --git a/debian/control b/debian/control
index fcc4fe7..d2fcfab 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,13 @@ Section: libs
Priority: optional
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
Uploaders: Brandon Snider <brandonjsnider at gmail.com>, Sebastian Ramacher <s.ramacher at gmx.at>
-Build-Depends: debhelper (>= 7.0.50~), autotools-dev, intltool,
- pkg-config, libgtk2.0-dev, libpulse-dev, libasound2-dev
+Build-Depends: debhelper (>= 7.0.50~),
+ dh-autoreconf,
+ intltool,
+ pkg-config,
+ libgtk2.0-dev,
+ libpulse-dev,
+ libasound2-dev
Standards-Version: 3.9.1
Homepage: http://code.google.com/p/gmtk/
Vcs-Git: git://anonscm.debian.org/pkg-multimedia/gmtk.git
diff --git a/debian/rules b/debian/rules
index a82996f..07729e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,61 +4,13 @@
#export DH_VERBOSE=1
%:
- dh $@
+ dh $@ --with autoreconf
+
+override_dh_autoreconf:
+ dh_autoreconf --as-needed
# Build debug packages.
-.PHONY: override_dh_strip
override_dh_strip:
dh_strip -plibgmtk0 --dbg-package=libgmtk0-dbg
dh_strip -plibgmlib0 --dbg-package=libgmlib0-dbg
-
-###############################################################################
-# Tarball (get-orig-source & get-current-source)
-
-DEB_REVISION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/^.*svn\(.*\)/\1/')
-DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: *\(.*\)$$/\1/ p')
-CCOMP_URL = http://gmtk.googlecode.com/svn/trunk
-CCOMP_REV = $(shell svn info $(CCOMP_URL) | grep ^Revision: | cut -d' ' -f2)
-TMP_DIR := $(DEB_SOURCE_PACKAGE)
-FILE = configure.ac
-CMD := sed '/^AC_INIT/{s/.*, //;s/)$$//;p;};d'
-
-get-orig-source: REVISION = $(CCOMP_REV)
-get-orig-source: TAG = $(NULL)
-ifneq (,$(DEBIAN_TAG))
-get-orig-source: TAG = $(DEBIAN_TAG)
-else
-ifneq (,$(DEBIAN_REV))
-get-orig-source: REVISION = $(DEBIAN_REV)
-endif
-endif
-get-orig-source: gos-all
-
-get-current-source: TAG = $(NULL)
-get-current-source: REVISION = $(DEB_REVISION)
-ifneq (,$(DEBIAN_REV))
-get-current-source: REVISION = $(DEBIAN_REV)
-endif
-get-current-source: gos-all
-gos-all: gos-co gos-pack
-gos-co:
- rm -rf $(TMP_DIR)
- mkdir -p $(TMP_DIR)
- cd $(TMP_DIR) && svn co $(CCOMP_URL)@$(REVISION)
-
-ifneq (,$(DEBIAN_TAG))
-gos-pack: VERSION = $(shell echo $(DEBIAN_TAG) | cut -d= -f2)
-else
-gos-pack: REVISION = $(shell cd $(TMP_DIR)/trunk && svn info | grep ^Revision: | cut -d' ' -f2)
-gos-pack: VERSION = $(shell cd $(TMP_DIR)/trunk && $(CMD) $(FILE))~svn$(REVISION)
-endif
-gos-pack:
- # Pack
- mv $(TMP_DIR)/trunk $(TMP_DIR)/$(DEB_SOURCE_PACKAGE)-$(VERSION)
- cd $(TMP_DIR) && tar zcf ../$(DEB_SOURCE_PACKAGE)_$(VERSION).orig.tar.gz --exclude=.svn $(DEB_SOURCE_PACKAGE)-$(VERSION)
- rm -rf $(TMP_DIR)
- @echo "# Done (created $(DEB_SOURCE_PACKAGE)_$(VERSION).orig.tar.gz)"
- @ls -l $(DEB_SOURCE_PACKAGE)_$(VERSION).orig.tar.gz
-
-.PHONY: get-orig-source gos-all
--
gmtk packaging
More information about the pkg-multimedia-commits
mailing list