Bug#732301: json-glib: use dh-autoreconf for better new-port coverage

Colin Watson cjwatson at ubuntu.com
Mon Dec 16 14:08:38 UTC 2013


Package: json-glib
Version: 0.16.2-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty

Hi,

The ppc64el port requires a patch to libtool.m4.  I don't think that's
in Debian yet, but when it is it will require autoreconfing a bunch of
packages to pick it up.  json-glib could handle this quite easily by
using dh-autoreconf, which will update its copies of the libtool macros.

  * Use dh-autoreconf to update libtool.m4 for new ports.

diff -Nru json-glib-0.16.2/debian/control json-glib-0.16.2/debian/control
--- json-glib-0.16.2/debian/control	2013-09-24 17:45:02.000000000 +0100
+++ json-glib-0.16.2/debian/control	2013-12-16 13:54:55.000000000 +0000
@@ -16,7 +16,8 @@
                gtk-doc-tools,
                gir1.2-glib-2.0 (>= 0.9.12),
                libgirepository1.0-dev (>= 0.9.12),
-               gobject-introspection (>= 0.9.12-4~)
+               gobject-introspection (>= 0.9.12-4~),
+               dh-autoreconf
 Standards-Version: 3.9.4
 Homepage: https://wiki.gnome.org/JsonGlib
 Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/json-glib
diff -Nru json-glib-0.16.2/debian/control.in json-glib-0.16.2/debian/control.in
--- json-glib-0.16.2/debian/control.in	2013-07-28 05:25:53.000000000 +0100
+++ json-glib-0.16.2/debian/control.in	2013-12-16 13:54:50.000000000 +0000
@@ -11,7 +11,8 @@
                gtk-doc-tools,
                gir1.2-glib-2.0 (>= 0.9.12),
                libgirepository1.0-dev (>= 0.9.12),
-               gobject-introspection (>= 0.9.12-4~)
+               gobject-introspection (>= 0.9.12-4~),
+               dh-autoreconf
 Standards-Version: 3.9.4
 Homepage: https://wiki.gnome.org/JsonGlib
 Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/json-glib
diff -Nru json-glib-0.16.2/debian/rules json-glib-0.16.2/debian/rules
--- json-glib-0.16.2/debian/rules	2013-06-18 14:49:52.000000000 +0100
+++ json-glib-0.16.2/debian/rules	2013-12-16 13:54:17.000000000 +0000
@@ -3,6 +3,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the pkg-gnome-maintainers mailing list