r51025 - in /desktop/unstable/anjuta/debian: changelog control control.in rules

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Wed Sep 21 15:24:26 UTC 2016


Author: biebl
Date: Wed Sep 21 15:24:26 2016
New Revision: 51025

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=51025
Log:
Convert from cdbs to dh.

Modified:
    desktop/unstable/anjuta/debian/changelog
    desktop/unstable/anjuta/debian/control
    desktop/unstable/anjuta/debian/control.in
    desktop/unstable/anjuta/debian/rules

Modified: desktop/unstable/anjuta/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/anjuta/debian/changelog?rev=51025&op=diff
==============================================================================
--- desktop/unstable/anjuta/debian/changelog	[utf-8] (original)
+++ desktop/unstable/anjuta/debian/changelog	[utf-8] Wed Sep 21 15:24:26 2016
@@ -7,6 +7,7 @@
   * New upstream release.
   * Drop debian/patches/workaround_python_config_bug.patch, no longer needed.
   * Build against vala 0.34.
+  * Convert from cdbs to dh.
 
  -- Andreas Henriksson <andreas at fatal.se>  Sat, 26 Mar 2016 17:30:15 +0100
 

Modified: desktop/unstable/anjuta/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/anjuta/debian/control?rev=51025&op=diff
==============================================================================
--- desktop/unstable/anjuta/debian/control	[utf-8] (original)
+++ desktop/unstable/anjuta/debian/control	[utf-8] Wed Sep 21 15:24:26 2016
@@ -8,7 +8,6 @@
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
 Uploaders: Andreas Henriksson <andreas at fatal.se>, Emilio Pozuelo Monfort <pochu at debian.org>, Michael Biebl <biebl at debian.org>
 Build-Depends: debhelper (>= 9),
-               cdbs (>= 0.4.90),
                dh-autoreconf,
                flex,
                bison,

Modified: desktop/unstable/anjuta/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/anjuta/debian/control.in?rev=51025&op=diff
==============================================================================
--- desktop/unstable/anjuta/debian/control.in	[utf-8] (original)
+++ desktop/unstable/anjuta/debian/control.in	[utf-8] Wed Sep 21 15:24:26 2016
@@ -4,7 +4,6 @@
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
 Uploaders: @GNOME_TEAM@
 Build-Depends: debhelper (>= 9),
-               cdbs (>= 0.4.90),
                dh-autoreconf,
                flex,
                bison,

Modified: desktop/unstable/anjuta/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/anjuta/debian/rules?rev=51025&op=diff
==============================================================================
--- desktop/unstable/anjuta/debian/rules	[utf-8] (original)
+++ desktop/unstable/anjuta/debian/rules	[utf-8] Wed Sep 21 15:24:26 2016
@@ -1,29 +1,31 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/gnome.mk
-include /usr/share/cdbs/1/class/autotools-files.mk
-include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
-include /usr/share/cdbs/1/rules/autoreconf.mk
 
-DEB_DH_AUTORECONF_ARGS += --as-needed
-
-LDFLAGS += -Wl,-O1 -Wl,--as-needed
-
-DEB_CONFIGURE_EXTRA_FLAGS += --enable-glade-catalog
-
-DEB_MAKE_CHECK_TARGET := check
-
-DEB_DH_INSTALLMIME_ARGS += mime/anjuta.xml
-
-DEB_DH_MAKESHLIBS_ARGS_anjuta += --no-act
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed
 
 LIB_PKG := $(shell sed -nr 's/^Package:[[:space:]]*(libanjuta[-0-9]+)[[:space:]]*$$/\1/p' debian/control)
-SHVER = 2:3.2.0
-DEB_DH_MAKESHLIBS_ARGS_$(LIB_PKG) = -V '$(LIB_PKG) (>= $(SHVER))'
+SHVER := 2:3.2.0
 
-install/anjuta::
+%:
+	dh $@ --with autoreconf,gir,gnome
+
+override_dh_autoreconf:
+	dh_autoreconf --as-needed
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--libdir=\$${prefix}/lib \
+		--enable-glade-catalog
+
+override_dh_makeshlibs:
+	dh_makeshlibs -V '$(LIB_PKG) (>= $(SHVER))'
+
+override_dh_install:
 	rm -f debian/tmp/usr/share/doc/anjuta/INSTALL
 	rm -f debian/tmp/usr/share/doc/anjuta/COPYING
 	rm -f debian/tmp/usr/share/doc/anjuta/ChangeLog
+	dh_install -X.la --list-missing
+
+override_dh_strip:
+	dh_strip --dbg-package=anjuta-dbg




More information about the pkg-gnome-commits mailing list