Source: limereg
Version: 1.4.0-2
Severity: important
Justification: fails to build from source
Tags: patch

Dear Maintainer,

I am scheduled to transition of opencv.
   https://release.debian.org/transitions/html/auto-opencv.html
This package is target to transition. I tested build with opencv 3.1.
As a result, this FTBFS with opencv 3.1.
Because from opencv 3.1, limereg libcv-dev and libhighgui-dev are removed,
we must specify the libopencv-dev instead.

Could you remove libcv-dev and libhighgui-dev  from B-D?

And cvLoadImage() has been made changes that are provided by the
libopencv_imgcodecs.
You need to update exe/Makefile.am and exe/Makefile.in.
I created a patch which reivce this problem.
Could you check and apply this patch?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
--- a/exe/Makefile.am	2016-10-20 01:27:17.365933014 +0900
+++ b/exe/Makefile.am	2016-10-20 01:27:07.265932878 +0900
@@ -22,7 +22,7 @@
 limereg_CPPFLAGS += @OPENCV_CFLAGS@
 #limereg_LDFLAGS += @OPENCV_LDFLAGS@
 #limereg_LDADD += @OPENCV_LIBS@
-limereg_LDADD += -lopencv_highgui -lopencv_core
+limereg_LDADD += -lopencv_highgui -lopencv_core -lopencv_imgcodecs
 
 #Manpages for the command-line utility
 if HAVE_HELP2MAN
--- a/exe/Makefile.in	2015-06-08 05:38:58.000000000 +0900
+++ b/exe/Makefile.in	2016-10-20 01:28:26.525933946 +0900
@@ -405,7 +405,8 @@
 @HAVE_BOOST_TRUE@@HAVE_OPENCV_TRUE@limereg_LDADD = $(top_builddir)/lib/liblimereg.la \
 @HAVE_BOOST_TRUE@@HAVE_OPENCV_TRUE@	@BOOST_PROGRAM_OPTIONS_LIBS@ \
 @HAVE_BOOST_TRUE@@HAVE_OPENCV_TRUE@	-lopencv_highgui \
-@HAVE_BOOST_TRUE@@HAVE_OPENCV_TRUE@	-lopencv_core
+@HAVE_BOOST_TRUE@@HAVE_OPENCV_TRUE@	-lopencv_core \
+@HAVE_BOOST_TRUE@@HAVE_OPENCV_TRUE@	-lopencv_imgcodecs
 
 #Manpages for the command-line utility
 @HAVE_BOOST_TRUE@@HAVE_HELP2MAN_TRUE@@HAVE_OPENCV_TRUE@man1_MANS = ../doc/limereg.1

Reply via email to