Hi,

I took liberty to prepare a proposed NMU (see the attached diff).

Source package is available from

        http://mentors.debian.net/debian/pool/main/i/italc/italc_1.0.13-1.4.dsc

Please consider sponsoring it.

Thanks,
Dmitry.
From 265f0e8d239926ad0476d15db5d890ebf20355db Mon Sep 17 00:00:00 2001
From: Dmitry Smirnov <only...@member.fsf.org>
Date: Thu, 8 Nov 2012 15:22:15 +1100
Subject: [PATCH] fixing FTBFS due to wrong path to QT libs. (Closes:
 #671489).

---
 debian/changelog            |   11 +++++++++++
 debian/control              |    2 +-
 debian/patches/qtpath.patch |   20 ++++++++++++++++++++
 debian/rules                |    1 +
 4 files changed, 33 insertions(+), 1 deletion(-)
 create mode 100644 debian/patches/qtpath.patch

diff --git a/debian/changelog b/debian/changelog
index c6dced2..9a12d7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+italc (1:1.0.13-1.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * fixed FTBFS (Closes: #671489).
+    + added new "qtpath.patch" to avoid fatal error for wrong path
+      to libraries.
+    + introduced dh-autoreconf to regenerate "configure" script using
+      corrected "acinclude.m4" file.
+
+ -- Dmitry Smirnov <only...@member.fsf.org>  Thu, 08 Nov 2012 15:08:19 +1100
+
 italc (1:1.0.13-1.3) unstable; urgency=low
 
   * Non maintainer upload.
diff --git a/debian/control b/debian/control
index fdd63ce..8ad39b6 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: italc
 Section: x11
 Priority: optional
 Maintainer: Patrick Winnertz <win...@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0), libqt4-dev, zlib1g-dev, libjpeg-dev, libssl-dev, imagemagick, libxtst-dev
+Build-Depends: cdbs, debhelper (>= 5.0), dh-autoreconf, libqt4-dev, zlib1g-dev, libjpeg-dev, libssl-dev, imagemagick, libxtst-dev
 Standards-Version: 3.9.1
 Homepage: http://italc.sourceforge.net/home.php
 
diff --git a/debian/patches/qtpath.patch b/debian/patches/qtpath.patch
new file mode 100644
index 0000000..9b61bff
--- /dev/null
+++ b/debian/patches/qtpath.patch
@@ -0,0 +1,20 @@
+Last-Update: 2012-11-08
+Author: Dmitry Smirnov <only...@member.fsf.org>
+Forwarded: not-needed
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671489
+Description: fix FTBFS due to incorrect location of QT libraries
+
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -129,11 +129,8 @@
+     *)
+        	QT_LIBS=`ls $QTDIR/lib64/libQt*.so 2> /dev/null` 
+         if test "x$QT_LIBS" = x;  then
+         	QT_LIBS=`ls $QTDIR/lib/libQt*.so 2> /dev/null` 
+-            	if test "x$QT_LIBS" = x;  then
+-			AC_MSG_ERROR([*** Couldn't find any Qt4 libraries])
+-            	fi
+ 		QT_LIB="-L$QTDIR/lib -L$QTDIR/lib/qt4"
+ 	else
+ 		QT_LIB="-L$QTDIR/lib64 -L$QTDIR/lib64/qt4"
+         fi
diff --git a/debian/rules b/debian/rules
index d2f7894..1ee127a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
   
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_DH_INSTALL_SOURCEDIR = debian/tmp
-- 
1.7.10.4

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to