Source: auto-multiple-choice
Version: 0.468-1
Severity: important
Tags: patch

Hi,

I am checking the package that depends to upload opencv 2.3  to unstable.
opencv 2.3 already uploaded to experimental.

I noticed  that auto-multiple-choice FTBFS with opencv 2.3.

-----
gcc -o AMC-traitement-image AMC-traitement-image.c -g -O2  -lnetpbm
gcc -o AMC-mepdirect AMC-mepdirect.cc -g -O2  -lstdc++ -lm -I
/usr/include/poppler -lpoppler -lstdc++ -lm
gcc -o AMC-detect AMC-detect.cc -g -O2  -lstdc++ -lm -lstdc++ -lm -I
/usr/include/opencv -lcv -lhighgui -lcxcore
/usr/bin/ld: cannot find -lcv
/usr/bin/ld: cannot find -lhighgui
/usr/bin/ld: cannot find -lcxcore
collect2: ld returned 1 exit status
-----

I created a patch which revise this problem.
Could you check and apply this patch?

Best regards,
 Nobuhiro
-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff -Nru auto-multiple-choice-0.468/debian/changelog auto-multiple-choice-0.468/debian/changelog
--- auto-multiple-choice-0.468/debian/changelog	2011-06-19 22:45:38.000000000 +0900
+++ auto-multiple-choice-0.468/debian/changelog	2011-07-20 08:05:45.000000000 +0900
@@ -1,3 +1,10 @@
+auto-multiple-choice (0.468-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with opencv 2.3.
+
+ -- Nobuhiro Iwamatsu <iwama...@nigauri.org>  Wed, 20 Jul 2011 08:05:36 +0900
+
 auto-multiple-choice (0.468-1) unstable; urgency=low
 
   * upgraded to the newest upstream version
diff -Nru auto-multiple-choice-0.468/debian/patches/99-opencv2.3.patch auto-multiple-choice-0.468/debian/patches/99-opencv2.3.patch
--- auto-multiple-choice-0.468/debian/patches/99-opencv2.3.patch	1970-01-01 09:00:00.000000000 +0900
+++ auto-multiple-choice-0.468/debian/patches/99-opencv2.3.patch	2011-07-20 08:09:35.000000000 +0900
@@ -0,0 +1,11 @@
+--- a/Makefile.conf	2011-07-20 08:02:31.000000000 +0900
++++ b/Makefile.conf	2011-07-20 08:04:08.000000000 +0900
+@@ -66,7 +66,7 @@
+ 
+ GCC_NETPBM=-lnetpbm
+ 
+-GCC_OPENCV=-I /usr/include/opencv -lcv -lhighgui -lcxcore
++GCC_OPENCV=-I /usr/include/opencv -lopencv_core -lopencv_highgui -lopencv_imgproc
+ 
+ # INFO IN DESKTOP FILE
+ 
diff -Nru auto-multiple-choice-0.468/debian/patches/series auto-multiple-choice-0.468/debian/patches/series
--- auto-multiple-choice-0.468/debian/patches/series	2011-06-19 22:42:16.000000000 +0900
+++ auto-multiple-choice-0.468/debian/patches/series	2011-07-20 08:13:30.000000000 +0900
@@ -1,3 +1,4 @@
 05-Makefile.patch
 20-en.po.patch
 30-gcc4.6.path
+99-opencv2.3.patch

Reply via email to