Bug#276530: A patch for the intltool problem
Daniel Schepler
Daniel Schepler <schepler@math.berkeley.edu>, 276530@bugs.debian.org
Thu, 14 Oct 2004 11:00:30 -0700
--=-=-=
package libgnomedb
tags 276530 + patch
thanks
After a bit of investigation, I found this was caused by aclocal.m4
being out of date wrt the current intltool. Below is a patch which
fixes that. (The libtoolize is necessary on platforms where linking
non-PIC into a shared library is forbidden. Also, I realize that you
might possibly want to make the results of libtoolize etc. into a
patch instead, although I wouldn't.)
--
Daniel Schepler "Please don't disillusion me. I
schepler@math.berkeley.edu haven't had breakfast yet."
-- Orson Scott Card
--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=libgnomedb.diff
Content-Description: libgnomedb intltool fix
diff -urN libgnomedb-1.0.4.old/debian/patches/005_configure_update.patch libgnomedb-1.0.4/debian/patches/005_configure_update.patch
--- libgnomedb-1.0.4.old/debian/patches/005_configure_update.patch 1970-01-01 00:00:00.000000000 +0000
+++ libgnomedb-1.0.4/debian/patches/005_configure_update.patch 2004-10-14 17:50:05.533586027 +0000
@@ -0,0 +1,12 @@
+diff -urN libgnomedb-1.0.4.old/configure.in libgnomedb-1.0.4/configure.in
+--- libgnomedb-1.0.4.old/configure.in 2004-04-12 10:47:24.000000000 +0000
++++ libgnomedb-1.0.4/configure.in 2004-10-14 17:49:39.523482005 +0000
+@@ -33,8 +33,6 @@
+
+ AC_PROG_INTLTOOL
+
+-GNOME_PLATFORM_GNOME_2(yes, force)
+-
+ AC_DEFINE_UNQUOTED(GNOME_DB_EXPLICIT_TRANSLATION_DOMAIN, "libgnomedb-2")
+
+ dnl ******************************
diff -urN libgnomedb-1.0.4.old/debian/rules libgnomedb-1.0.4/debian/rules
--- libgnomedb-1.0.4.old/debian/rules 2004-10-14 17:46:51.786606000 +0000
+++ libgnomedb-1.0.4/debian/rules 2004-10-14 17:53:23.183980552 +0000
@@ -49,6 +49,7 @@
cp -f /usr/share/misc/config.guess $(BUILD_DIR)/config.guess
cd $(BUILD_DIR) && intltoolize --force
+ cd $(BUILD_DIR) && libtoolize --force && aclocal-1.7 && autoconf && automake-1.7
# Add here commands to configure the package.
cd $(BUILD_DIR) && \
--=-=-=--