Package: ghex
Version: 3.8.1-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary. This is because we need new libtool macros for
ppc64el.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf to get new libtool macros for ppc64el.
  * Build-depend on gnome-common to fix missing macro after autoreconf.
  * Remove gettext macros so that only libtoolize creates po/Makefile.in.in.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-5-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru ghex-3.8.1/debian/control.in ghex-3.8.1/debian/control.in
--- ghex-3.8.1/debian/control.in	2013-06-13 18:01:48.000000000 -0400
+++ ghex-3.8.1/debian/control.in	2014-01-25 22:02:23.000000000 -0500
@@ -13,7 +13,9 @@
                gettext,
                intltool (>= 0.41.1),
                scrollkeeper,
-               yelp-tools
+               yelp-tools,
+               dh-autoreconf,
+               gnome-common
 Standards-Version: 3.9.4
 Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/packages/unstable/ghex
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/ghex
diff -Nru ghex-3.8.1/debian/patches/remove-gettext-macros.patch ghex-3.8.1/debian/patches/remove-gettext-macros.patch
--- ghex-3.8.1/debian/patches/remove-gettext-macros.patch	1969-12-31 19:00:00.000000000 -0500
+++ ghex-3.8.1/debian/patches/remove-gettext-macros.patch	2014-01-25 01:58:47.000000000 -0500
@@ -0,0 +1,12 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -62,9 +62,6 @@
+ dnl =================================================================
+ IT_PROG_INTLTOOL([0.41.1])
+ 
+-AM_GNU_GETTEXT([external])
+-AM_GNU_GETTEXT_VERSION([0.17])
+-
+ GETTEXT_PACKAGE=ghex-3.0
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package name.])
diff -Nru ghex-3.8.1/debian/patches/series ghex-3.8.1/debian/patches/series
--- ghex-3.8.1/debian/patches/series	2011-10-06 20:16:36.000000000 -0400
+++ ghex-3.8.1/debian/patches/series	2014-01-25 01:58:32.000000000 -0500
@@ -0,0 +1 @@
+remove-gettext-macros.patch
diff -Nru ghex-3.8.1/debian/rules ghex-3.8.1/debian/rules
--- ghex-3.8.1/debian/rules	2012-04-19 10:51:49.000000000 -0400
+++ ghex-3.8.1/debian/rules	2014-01-25 01:48:16.000000000 -0500
@@ -4,6 +4,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

Reply via email to