Source: gtkspell
Version: 2.0.16-1
Severity: normal
Tags: patch

Dear Maintainer,

Although the package gtkspell builds without failing in ppc64el, it does not 
work
properly when installed.

That is due to the linker being incorrectly identified among other things, which
prevents .so files from being generated and installed.

Including dh-autoreconf to the build fixes that problem so the package installed
works properly in addition to enabling the package to other new architectures.
The patch attached contains such modification.

Thanks!
Fernando


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: gtkspell-2.0.16/debian/control
===================================================================
--- gtkspell-2.0.16.orig/debian/control	2010-01-09 03:32:47.000000000 +0000
+++ gtkspell-2.0.16/debian/control	2014-07-02 19:54:19.780003187 +0000
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Ari Pollak <a...@debian.org>
-Build-Depends: debhelper (>= 7.0.0), libenchant-dev, libgtk2.0-dev (>= 2.4.0), libltdl3-dev, libxml-parser-perl, intltool (>= 0.35.0), autotools-dev
+Build-Depends: debhelper (>= 7.0.0), libenchant-dev, libgtk2.0-dev (>= 2.4.0), libltdl3-dev, libxml-parser-perl, intltool (>= 0.35.0), dh-autoreconf
 Standards-Version: 3.8.3
 
 Package: libgtkspell0
Index: gtkspell-2.0.16/debian/rules
===================================================================
--- gtkspell-2.0.16.orig/debian/rules	2010-01-09 03:30:05.000000000 +0000
+++ gtkspell-2.0.16/debian/rules	2014-07-02 19:54:51.630003191 +0000
@@ -17,12 +17,7 @@
 
 config.status: configure
 	dh_testdir
-	
-	-test -r /usr/share/misc/config.sub && \
-	  cp -f /usr/share/misc/config.sub config.sub
-	-test -r /usr/share/misc/config.guess && \
-	  cp -f /usr/share/misc/config.guess config.guess
-
+	dh_autoreconf
 	# Add here commands to configure the package.
 	./configure $(CROSS) CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-gtk-doc --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-gtk-doc
 
@@ -44,6 +39,7 @@
 	# Add here commands to clean up after the build process.
 	[ ! -f Makefile ] || $(MAKE) distclean
 
+	dh_autoreconf_clean
 	dh_clean
 
 install: build

Reply via email to