[Pkg-telepathy-commits] [telepathy-farstream] 04/05: Switch from cdbs to dh 9

Simon McVittie smcv at debian.org
Tue Sep 16 18:09:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-farstream.

commit 01c6444e3ffdbe764a1216e0517e28c7a06ff7e3
Author: Simon McVittie <smcv at debian.org>
Date:   Tue Sep 16 19:01:57 2014 +0100

    Switch from cdbs to dh 9
---
 debian/changelog |  1 +
 debian/control   |  3 +--
 debian/rules     | 40 +++++++++++++++++++++++++++-------------
 3 files changed, 29 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3b0d08e..e4687bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ telepathy-farstream (0.6.2-1) UNRELEASED; urgency=medium
 
   * Team upload
   * New upstream release
+  * Switch from cdbs to dh 9
 
  -- Simon McVittie <smcv at debian.org>  Tue, 16 Sep 2014 18:50:46 +0100
 
diff --git a/debian/control b/debian/control
index 3ed79ff..0af1805 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,7 @@ Section: libs
 Priority: optional
 Maintainer: Debian Telepathy maintainers <pkg-telepathy-maintainers at lists.alioth.debian.org>
 Uploaders: Sjoerd Simons <sjoerd at debian.org>, Laurent Bigonville <bigon at debian.org>
-Build-Depends: cdbs (>= 0.4.93~),
-               debhelper (>= 9),
+Build-Depends: debhelper (>= 9),
                dh-autoreconf,
                libglib2.0-dev (>= 2.30),
                libdbus-1-dev (>= 0.60),
diff --git a/debian/rules b/debian/rules
index b0993a4..145e92d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,20 +1,34 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/cdbs/1/rules/utils.mk
-
-common-binary-post-install-arch:: list-missing
-
 export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
 
-DEB_CONFIGURE_EXTRA_FLAGS = --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
-                            --enable-gtk-doc \
-                            --disable-python
-
+configure =
 ifneq (,$(findstring coverage,$(DEB_BUILD_OPTIONS)))
-       DEB_CONFIGURE_EXTRA_FLAGS += --enable-coverage
+configure += --enable-coverage
 endif
 
-include $(CURDIR)/debian/update-patches.mk
+%:
+	dh $@ --with=autoreconf
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		$(configure) \
+		--disable-Werror \
+		--enable-gtk-doc \
+		--disable-python \
+		--disable-silent-rules \
+		$(NULL)
+
+override_dh_install:
+	dh_install --list-missing
+
+override_dh_strip:
+	dh_strip --dbg-package=libtelepathy-farstream3-dbg
+
+override_dh_shlibdeps:
+	dh_shlibdeps
+	dh_girepository
+
+# commands not to run
+override_dh_auto_test:
+	:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-farstream.git



More information about the Pkg-telepathy-commits mailing list