Hi.

I produced another patch for this bug. Instead of modifying shipped
configuration scripts (which would introduce tons of lines in the diff
for me), I just modified debian/rules to run autoreconf at each
compilation. This has the side effect of making debclean insufficient
(because it's not able to recover the previous versions of modified files).

Anyway, I think this is acceptable for a NMU, because it solves an RC
bug and keeps the patch short.

I'm going to NMU with a rather long delay (14 days), because of this
problem with debclean. Please, let me know if I should cancel the upload.

I'm attaching the patch.

Giovanni.
-- 
Giovanni Mascellani <mascell...@poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org
diff -Nru emerillon-0.1.1/debian/changelog emerillon-0.1.1/debian/changelog
--- emerillon-0.1.1/debian/changelog	2010-06-16 12:38:13.000000000 +0200
+++ emerillon-0.1.1/debian/changelog	2010-09-12 16:02:58.000000000 +0200
@@ -1,3 +1,10 @@
+emerillon (0.1.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fixing FTBFS because of updated library (closes: #594708).
+
+ -- Giovanni Mascellani <g...@debian.org>  Sun, 12 Sep 2010 15:30:10 +0200
+
 emerillon (0.1.1-2) unstable; urgency=low
 
   * Remove .la files
diff -Nru emerillon-0.1.1/debian/patches/ftbfs-594708 emerillon-0.1.1/debian/patches/ftbfs-594708
--- emerillon-0.1.1/debian/patches/ftbfs-594708	1970-01-01 01:00:00.000000000 +0100
+++ emerillon-0.1.1/debian/patches/ftbfs-594708	2010-09-12 16:02:58.000000000 +0200
@@ -0,0 +1,13 @@
+Index: emerillon/configure.ac
+===================================================================
+--- emerillon.orig/configure.ac	2010-09-12 16:01:59.000000000 +0200
++++ emerillon/configure.ac	2010-09-12 16:02:06.000000000 +0200
+@@ -103,7 +103,7 @@
+   AC_SUBST(SEARCH_DEPS_LIBS)
+   PKG_CHECK_MODULES(SEARCH_DEPS,
+     [
+-      rest-0.6 >= 0.6
++      rest-0.7 >= 0.6
+     ]
+   )
+ 
diff -Nru emerillon-0.1.1/debian/patches/series emerillon-0.1.1/debian/patches/series
--- emerillon-0.1.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ emerillon-0.1.1/debian/patches/series	2010-09-12 16:02:58.000000000 +0200
@@ -0,0 +1 @@
+ftbfs-594708
diff -Nru emerillon-0.1.1/debian/rules emerillon-0.1.1/debian/rules
--- emerillon-0.1.1/debian/rules	2010-06-16 12:07:12.000000000 +0200
+++ emerillon-0.1.1/debian/rules	2010-09-12 16:02:58.000000000 +0200
@@ -12,6 +12,11 @@
 DEB_CONFIGURE_EXTRA_FLAGS := --enable-deprecations=no
 DEB_DH_MAKESHLIBS_ARGS_ALL := -X/usr/lib/emerillon/plugins/
 
+# Recompile auto-anything scripts, thus making patch to NMU #594708 smaller
+# Warning: this action cannot be undone by debclean
+makebuilddir/emerillon::
+	autoreconf -v --install
+
 pre-build::
 	if [ "$(DEB_UPSTREAM_GIT_REV)" != "" ]; then \
 		NOCONFIGURE=true ./autogen.sh; \

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to