Package: src:aiksaurus
Version: 1.2.1+dev-0.12-6.1
Severity: normal
Tags: patch
Dear Maintainer,
While trying to build exo on ppc64el, it failed, due to libtool and
configuration files not being updated.
Please consider this patch, which uses dh-autoreconf to fulfill that need.
Thanks in advance,
Erwan.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (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 -Naur a/configure.ac b/configure.ac
--- a/configure.ac 2014-07-25 15:43:54.488971497 +0200
+++ b/configure.ac 2014-07-25 16:13:50.396876046 +0200
@@ -50,6 +50,9 @@
LT_CURRENT=`expr $AIK_MICRO_VERSION - $AIK_INTERFACE_AGE`
LT_REVISION=$AIK_INTERFACE_AGE
LT_AGE=`expr $AIK_BINARY_AGE - $AIK_INTERFACE_AGE`
+m4_pattern_allow([LT_CURRENT])
+m4_pattern_allow([LT_REVISION])
+m4_pattern_allow([LT_AGE])
LT_AIK_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
diff -Naur a/debian/compat b/debian/compat
--- a/debian/compat 2014-07-25 15:43:54.756971483 +0200
+++ b/debian/compat 2014-07-25 16:19:26.368858189 +0200
@@ -1 +1 @@
-4
+9
diff -Naur a/debian/control b/debian/control
--- a/debian/control 2014-07-25 15:43:54.740971483 +0200
+++ b/debian/control 2014-07-25 15:44:22.064970031 +0200
@@ -2,7 +2,7 @@
Section: devel
Priority: optional
Maintainer: Masayuki Hatta (mhatta) <[email protected]>
-Build-Depends: debhelper (>> 4.2.21), libgtk2.0-dev
+Build-Depends: debhelper (>> 4.2.21), libgtk2.0-dev, dh-autoreconf
Standards-Version: 3.8.0
Package: libaiksaurus-1.2-dev
diff -Naur a/debian/rules b/debian/rules
--- a/debian/rules 2014-07-25 15:43:54.752971483 +0200
+++ b/debian/rules 2014-07-25 16:14:55.152872604 +0200
@@ -31,8 +31,9 @@
#major=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-config.status: configure
+config.status:
dh_testdir
+ AUTOMAKE="automake --foreign" dh_autoreconf
# Add here commands to configure the package.
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
--enable-static
@@ -54,12 +55,7 @@
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
+ dh_autoreconf_clean
dh_clean
diff -Naur a/gtk/src/Makefile.am b/gtk/src/Makefile.am
--- a/gtk/src/Makefile.am 2014-07-25 15:43:54.668971487 +0200
+++ b/gtk/src/Makefile.am 2014-07-25 16:13:50.400876046 +0200
@@ -44,6 +44,6 @@
bin_PROGRAMS = gaiksaurus
gaiksaurus_SOURCES = gtkAiksaur.t.cpp
-gaiksaurus_LDADD = libAiksaurusGTK.la
+gaiksaurus_LDADD = libAiksaurusGTK.la $(GTK_LIBS)
EXTRA_DIST = $(OTHERHEADERS)