Bug 78473 - New port: graphics/opencv (Open Source Computer Vision Library from Intel)
Summary: New port: graphics/opencv (Open Source Computer Vision Library from Intel)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-06 00:20 UTC by Marc Abramowitz
Modified: 2005-12-29 03:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Abramowitz 2005-03-06 00:20:15 UTC
The Open Computer Vision Library is a collection of algorithms and sample
code for various computer vision problems. The library is compatible with
IPL and utilizes Intel Integrated Performance Primitives for better
performance.

WWW: http://sourceforge.net/projects/opencvlibrary/
     http://www.intel.com/research/mrl/research/opencv/

- Marc
http://marc.abramowitz.info

Fix: 

echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-aa
sed 's/^X//' >./files/patch-aa << 'END-of-./files/patch-aa'
X--- cxcore/src/cxswitcher.cpp   Mon Feb 28 16:34:30 2005
X+++ cxcore/src/cxswitcher.cpp.freebsd   Mon Feb 28 16:34:17 2005
X@@ -593,8 +593,8 @@
X         QueryPerformanceCounter( &counter );
X         return (int64)counter.QuadPart;
X #else
X-        timeval tv;
X-        timezone tz;
X+        struct timeval tv; // patch for FreeBSD: add "struct"
X+        struct timezone tz; // patch for FreeBSD: add "struct"
X         gettimeofday( &tv, &tz );
X         return (int64)tv.tv_sec*1000000 + tv.tv_usec;
X #endif
X
X--- cxcore/src/Makefile.in.orig    Mon Feb 28 16:40:06 2005
X+++ cxcore/src/Makefile.in Mon Feb 28 16:40:18 2005
X@@ -137,7 +137,7 @@
X INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
X LDFLAGS = @LDFLAGS@
X LIBOBJS = @LIBOBJS@
X-LIBS = -ldl -lpthread -lm
X+LIBS = @LIBS@
X LIBTOOL = @LIBTOOL@
X LN_S = @LN_S@
X LTLIBOBJS = @LTLIBOBJS@
X
X--- cv/src/Makefile.in.orig     Mon Feb 28 16:41:54 2005
X+++ cv/src/Makefile.in  Mon Feb 28 16:42:14 2005
X@@ -177,7 +177,7 @@
X INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
X LDFLAGS = @LDFLAGS@
X LIBOBJS = @LIBOBJS@
X-LIBS = -ldl -lpthread -lm
X+LIBS = @LIBS@
X LIBTOOL = @LIBTOOL@
X LN_S = @LN_S@
X LTLIBOBJS = @LTLIBOBJS@
X
X--- otherlibs/highgui/Makefile.in.orig Mon Feb 28 18:02:19 2005
X+++ otherlibs/highgui/Makefile.in      Mon Feb 28 18:02:40 2005
X@@ -54,7 +54,7 @@
X libhighgui_la_DEPENDENCIES =
X am_libhighgui_la_OBJECTS = bitstrm.lo cvcap.lo cvcap_dc1394.lo \
X       cvcap_v4l.lo grfmt_base.lo grfmt_bmp.lo grfmt_jpeg.lo \
X-      grfmt_png.lo grfmt_pxm.lo grfmt_sunras.lo grfmt_tiff.lo \
X+      grfmt_png.lo grfmt_pxm.lo grfmt_sunras.lo \
X       image.lo loadsave.lo precomp.lo utils.lo window_lnx.lo \
X       window_w32.lo
X libhighgui_la_OBJECTS = $(am_libhighgui_la_OBJECTS)
X@@ -201,7 +201,7 @@
X lib_LTLIBRARIES = libhighgui.la
X libhighgui_la_SOURCES = bitstrm.cpp cvcap.cpp cvcap_dc1394.cpp \
X     cvcap_v4l.cpp grfmt_base.cpp grfmt_bmp.cpp grfmt_jpeg.cpp \
X-    grfmt_png.cpp grfmt_pxm.cpp grfmt_sunras.cpp grfmt_tiff.cpp \
X+    grfmt_png.cpp grfmt_pxm.cpp grfmt_sunras.cpp \
X     image.cpp loadsave.cpp precomp.cpp utils.cpp window_lnx.cpp \
X     window_w32.cpp
X
X--- otherlibs/highgui/grfmts.h.orig     Mon Feb 28 17:10:41 2005
X+++ otherlibs/highgui/grfmts.h  Mon Feb 28 17:10:45 2005
X@@ -47,7 +47,6 @@
X #include "grfmt_sunras.h"
X #include "grfmt_jpeg.h"
X #include "grfmt_pxm.h"
X-#include "grfmt_tiff.h"
X #include "grfmt_png.h"
X
X #endif/*_GRFMTS_H_*/
X
X--- otherlibs/highgui/loadsave.cpp.orig Mon Feb 28 17:12:05 2005
X+++ otherlibs/highgui/loadsave.cpp      Mon Feb 28 17:12:09 2005
X@@ -299,7 +299,6 @@
X     m_factories->AddFactory( new GrFmtJpeg() );
X     m_factories->AddFactory( new GrFmtSunRaster() );
X     m_factories->AddFactory( new GrFmtPxM() );
X-    m_factories->AddFactory( new GrFmtTiff() );
X #ifdef HAVE_PNG
X     m_factories->AddFactory( new GrFmtPng() );
X #endif
X
X--- configure.orig      Thu Aug 19 03:46:49 2004
X+++ configure   Mon Feb 28 17:16:51 2005
X@@ -21218,7 +21218,7 @@
X
X
X have_v4l=no
X-if test x$os_name=xLinux; then
X+if test x$os_name = xLinux; then
X
X cat >>confdefs.h <<\_ACEOF
X #define HAVE_CAMV4L
X
X--- tests/cxcore/src/Makefile.in.orig   Mon Feb 28 17:32:29 2005
X+++ tests/cxcore/src/Makefile.in        Mon Feb 28 17:32:57 2005
X@@ -189,6 +189,7 @@
X EXTRA_DIST = precomp.cpp cxcoretest.dsp cxcoretest.vcproj
X INCLUDES = -I. -I../../../cxcore/include -I../../cxts -I../../..
X cxcoretest_LDADD = -L../../../cxcore/src -lcxcore -L../../cxts -lcxts
X+cxcoretest_LDFLAGS = -pthread
X all: all-am
X
X .SUFFIXES:
X
END-of-./files/patch-aa
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (opencv-0.9.6.tar.gz) = 00fe80e9b82bc29e9dd00934f7fd86db
XSIZE (opencv-0.9.6.tar.gz) = 10017084
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   opencv - open source computer vision
X# library from Intel
X# Date created:                05 March 2005
X# Whom:                        Marc Abramowitz (http://marc.abramowitz.info)
X#
X# $FreeBSD: ports/graphics/opencv/Makefile,v 1.37 2005/01/29 16:13:53 thierry Exp $
X#
X
XPORTNAME=      opencv
XPORTVERSION=   0.9.6
XPORTREVISION=  0
XCATEGORIES=    graphics
XMASTER_SITES=   $(MASTER_SITE_SOURCEFORGE)
XMASTER_SITE_SUBDIR=   opencvlibrary
XDISTNAME=      opencv-${PORTVERSION}
X
XMAINTAINER=     OpenCV@yahoogroups.com
XCOMMENT=        Open Source Computer Vision Library from Intel
X
XHAS_CONFIGURE=  yes
XGNU_CONFIGURE=  yes
XUSE_GMAKE=     yes
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xlib/libcv.la
Xlib/libcv.so
Xlib/libcv.so.9
Xlib/libcvaux.la
Xlib/libcvaux.so
Xlib/libcvaux.so.9
Xlib/libcvhaartraining.a
Xlib/libhighgui.la
Xlib/libhighgui.so
Xlib/libhighgui.so.9
Xinclude/opencv/cv.h
Xinclude/opencv/cv.hpp
Xinclude/opencv/cvaux.h
Xinclude/opencv/cvaux.hpp
Xinclude/opencv/cvcompat.h
Xinclude/opencv/cvhaartraining.h
Xinclude/opencv/cvmat.hpp
Xinclude/opencv/cvtypes.h
Xinclude/opencv/cxcore.h
Xinclude/opencv/cxerror.h
Xinclude/opencv/cxmisc.h
Xinclude/opencv/cxtypes.h
Xinclude/opencv/highgui.h
X@dirrm include/opencv
Xshare/opencv/readme.txt
Xshare/opencv/doc/cvcam.rtf
Xshare/opencv/doc/faq.htm
Xshare/opencv/doc/index.htm
Xshare/opencv/doc/license.txt
Xshare/opencv/doc/opencv.jpg
Xshare/opencv/doc/opencvman_old.pdf
Xshare/opencv/haarcascades/haarcascade_frontalface_alt.xml
Xshare/opencv/haarcascades/haarcascade_frontalface_alt2.xml
Xshare/opencv/haarcascades/haarcascade_frontalface_alt_tree.xml
Xshare/opencv/haarcascades/haarcascade_frontalface_default.xml
Xshare/opencv/haarcascades/haarcascade_fullbody.xml
Xshare/opencv/haarcascades/haarcascade_lowerbody.xml
Xshare/opencv/haarcascades/haarcascade_profileface.xml
Xshare/opencv/haarcascades/haarcascade_upperbody.xml
X@dirrm share/opencv/haarcascades
Xshare/opencv/doc/papers/algo_tracking.pdf
Xshare/opencv/doc/papers/avbpa99.ps
Xshare/opencv/doc/papers/camshift.pdf
X@dirrm share/opencv/doc/papers
Xshare/opencv/doc/ref/opencvref.css
Xshare/opencv/doc/ref/opencvref_cv.htm
Xshare/opencv/doc/ref/opencvref_cvaux.htm
Xshare/opencv/doc/ref/opencvref_cxcore.htm
Xshare/opencv/doc/ref/opencvref_highgui.htm
Xshare/opencv/samples/c/airplane.jpg
Xshare/opencv/samples/c/baboon.jpg
Xshare/opencv/samples/c/build_all.sh
Xshare/opencv/samples/c/camshiftdemo.c
Xshare/opencv/samples/c/contours.c
Xshare/opencv/samples/c/convexhull.c
Xshare/opencv/samples/c/cvsample.dsp
Xshare/opencv/samples/c/cvsample.vcproj
Xshare/opencv/samples/c/delaunay.c
Xshare/opencv/samples/c/demhist.c
Xshare/opencv/samples/c/distrans.c
Xshare/opencv/samples/c/drawing.c
Xshare/opencv/samples/c/edge.c
Xshare/opencv/samples/c/facedetect.c
Xshare/opencv/samples/c/facedetect.cmd
Xshare/opencv/samples/c/ffilldemo.c
Xshare/opencv/samples/c/fitellipse.c
Xshare/opencv/samples/c/fruits.jpg
Xshare/opencv/samples/c/kalman.c
Xshare/opencv/samples/c/kmeans.c
Xshare/opencv/samples/c/laplace.c
Xshare/opencv/samples/c/lena.jpg
Xshare/opencv/samples/c/lkdemo.c
Xshare/opencv/samples/c/makefile.gcc
Xshare/opencv/samples/c/makefile.gen
Xshare/opencv/samples/c/minarea.c
Xshare/opencv/samples/c/morphology.c
Xshare/opencv/samples/c/motempl.c
Xshare/opencv/samples/c/pic1.png
Xshare/opencv/samples/c/pic2.png
Xshare/opencv/samples/c/pic3.png
Xshare/opencv/samples/c/pic4.png
Xshare/opencv/samples/c/pic5.png
Xshare/opencv/samples/c/pic6.png
Xshare/opencv/samples/c/pyramid_segmentation.c
Xshare/opencv/samples/c/squares.c
Xshare/opencv/samples/c/stuff.jpg
X@dirrm share/opencv/samples/c
X@dirrm share/opencv/samples
Xshare/opencv/doc/ref/pics/backprojectpatch.png
Xshare/opencv/doc/ref/pics/boundingrect.png
Xshare/opencv/doc/ref/pics/building.jpg
Xshare/opencv/doc/ref/pics/contoursecarea.png
Xshare/opencv/doc/ref/pics/cornersubpix.png
Xshare/opencv/doc/ref/pics/defects.png
Xshare/opencv/doc/ref/pics/ellipse.png
Xshare/opencv/doc/ref/pics/errmsg.png
Xshare/opencv/doc/ref/pics/face.png
Xshare/opencv/doc/ref/pics/haarfeatures.png
Xshare/opencv/doc/ref/pics/houghp.png
Xshare/opencv/doc/ref/pics/left.jpg
Xshare/opencv/doc/ref/pics/maxrect.png
Xshare/opencv/doc/ref/pics/memstorage1.png
Xshare/opencv/doc/ref/pics/memstorage2.png
Xshare/opencv/doc/ref/pics/minareabox.png
Xshare/opencv/doc/ref/pics/quadedge.png
Xshare/opencv/doc/ref/pics/right.jpg
Xshare/opencv/doc/ref/pics/subdiv.png
Xshare/opencv/doc/ref/pics/threshold.png
X@dirrm share/opencv/doc/ref/pics
X@dirrm share/opencv/doc/ref
X@dirrm share/opencv/doc
X@dirrm share/opencv
END-of-./pkg-plist
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XThe Open Computer Vision Library is a collection of algorithms and sample
Xcode for various computer vision problems. The library is compatible with
XIPL and utilizes Intel Integrated Performance Primitives for better
Xperformance.
X
XWWW: http://sourceforge.net/projects/opencvlibrary/
X     http://www.intel.com/research/mrl/research/opencv/
X
X- Marc
Xhttp://marc.abramowitz.info
END-of-./pkg-descr
exit
Comment 1 Michael Johnson freebsd_committer freebsd_triage 2005-03-06 13:42:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ahze

Grab
Comment 2 Michael Johnson freebsd_committer freebsd_triage 2005-03-06 13:52:49 UTC
State Changed
From-To: open->feedback

Ask submitter for feedback. 

this needs a good bit of work 

1) patch-aa does not apply clean 
2) plist changes if gtk or ffmpeg is instaled 
3) Doesn't build on 5.3 

c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cxcore/include -I../../cv/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include -g -fomit-frame-pointer -O3 -DNDEBUG -Wall -fno-rtti -pipe -MT cvcap_v4l.lo -MD -MP -MF .deps/cvcap_v4l.Tpo -c cvcap_v4l.cpp  -fPIC -DPIC -o .libs/cvcap_v4l.o 
cvcap_v4l.cpp:98:22: linux/fs.h: No such file or directory 
cvcap_v4l.cpp:99:26: linux/kernel.h: No such file or directory 
cvcap_v4l.cpp:100:28: linux/videodev.h: No such file or directory 
cvcap_v4l.cpp:110: error: field `vcap' has incomplete type 
cvcap_v4l.cpp:111: error: field `vwin' has incomplete type
Comment 3 Marc Abramowitz 2005-03-30 07:09:41 UTC
I'd love to get this port working. Comments below.

>this needs a good bit of work 
>
>1) patch-aa does not apply clean 
>  
>

How is the patch failing? It works fine on my FreeBSD 4.10 system. If 
you send me the errors, I can attempt to fix the patch.

20:06 marca@shifter:~/tmp/opencv-0.9.6$ patch --version
Patch version 2.1

20:07 marca@shifter:~/tmp/opencv-0.9.6$ patch < patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- cxcore/src/cxswitcher.cpp   Mon Feb 28 16:34:30 2005
|+++ cxcore/src/cxswitcher.cpp.freebsd   Mon Feb 28 16:34:17 2005
--------------------------
Patching file cxcore/src/cxswitcher.cpp using Plan A...
Hunk #1 succeeded at 593.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- cxcore/src/Makefile.in.orig    Mon Feb 28 16:40:06 2005
|+++ cxcore/src/Makefile.in Mon Feb 28 16:40:18 2005
--------------------------
Patching file cxcore/src/Makefile.in using Plan A...
Hunk #1 succeeded at 137.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- cv/src/Makefile.in.orig     Mon Feb 28 16:41:54 2005
|+++ cv/src/Makefile.in  Mon Feb 28 16:42:14 2005
--------------------------
Patching file cv/src/Makefile.in using Plan A...
Hunk #1 succeeded at 177.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- otherlibs/highgui/Makefile.in.orig Mon Feb 28 18:02:19 2005
|+++ otherlibs/highgui/Makefile.in      Mon Feb 28 18:02:40 2005
--------------------------
Patching file otherlibs/highgui/Makefile.in using Plan A...
Hunk #1 succeeded at 54.
Hunk #2 succeeded at 201.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- otherlibs/highgui/grfmts.h.orig     Mon Feb 28 17:10:41 2005
|+++ otherlibs/highgui/grfmts.h  Mon Feb 28 17:10:45 2005
--------------------------
Patching file otherlibs/highgui/grfmts.h using Plan A...
Hunk #1 succeeded at 47.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- otherlibs/highgui/loadsave.cpp.orig Mon Feb 28 17:12:05 2005
|+++ otherlibs/highgui/loadsave.cpp      Mon Feb 28 17:12:09 2005
--------------------------
Patching file otherlibs/highgui/loadsave.cpp using Plan A...
Hunk #1 succeeded at 299.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- configure.orig      Thu Aug 19 03:46:49 2004
|+++ configure   Mon Feb 28 17:16:51 2005
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 21218.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- tests/cxcore/src/Makefile.in.orig   Mon Feb 28 17:32:29 2005
|+++ tests/cxcore/src/Makefile.in        Mon Feb 28 17:32:57 2005
--------------------------
Patching file tests/cxcore/src/Makefile.in using Plan A...
Hunk #1 succeeded at 189.
Hmm...  Ignoring the trailing garbage.
done

>2) plist changes if gtk or ffmpeg is instaled 
>  
>
How? I just installed multimedia/ffmpeg - no problems. I looked at the 
two plists for conflicts and don't see anything. The opencv port 
installs into the following top-level directories:

lib/
include/opencv
share/opencv

The last two are package-specific, only the first one is not qualified 
with the package name and has the potential for conflicts. However, 
these are the files:

lib/libcv.la
lib/libcv.so
lib/libcv.so.9
lib/libcvaux.la
lib/libcvaux.so
lib/libcvaux.so.9
lib/libcvhaartraining.a
lib/libhighgui.la
lib/libhighgui.so
lib/libhighgui.so.9

whereas ffmpeg has these:

lib/libavcodec.a
lib/libavcodec.so
lib/libavcodec.so.%%SHLIB_VERSION%%
lib/libavformat.a
lib/libavformat.so
lib/libavformat.so.%%SHLIB_VERSION%%

I see no conflict?

>3) Doesn't build on 5.3 
>

This may be true. I only have a 4.10 machine. How does it fail? Or 
alternatively can you give me login access to a 5.3 machine to play with?

...or ...

I just found out on the OpenCV Yahoo Group that
another guy did his own FreeBSD port but apparently
didn't submit it:

http://www.dh.aist.go.jp/~kimura/opencv/opencv-0.9.6.html.en <http://www.dh.aist.go.jp/%7Ekimura/opencv/opencv-0.9.6.html.en>

so maybe you can use his if his works better.
Comment 4 Marc Abramowitz 2005-03-30 07:10:11 UTC
I'd love to get this port working. Comments below.

>this needs a good bit of work 
>
>1) patch-aa does not apply clean 
>  
>

How is the patch failing? It works fine on my FreeBSD 4.10 system. If 
you send me the errors, I can attempt to fix the patch.

20:06 marca@shifter:~/tmp/opencv-0.9.6$ patch --version
Patch version 2.1

20:07 marca@shifter:~/tmp/opencv-0.9.6$ patch < patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- cxcore/src/cxswitcher.cpp   Mon Feb 28 16:34:30 2005
|+++ cxcore/src/cxswitcher.cpp.freebsd   Mon Feb 28 16:34:17 2005
--------------------------
Patching file cxcore/src/cxswitcher.cpp using Plan A...
Hunk #1 succeeded at 593.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- cxcore/src/Makefile.in.orig    Mon Feb 28 16:40:06 2005
|+++ cxcore/src/Makefile.in Mon Feb 28 16:40:18 2005
--------------------------
Patching file cxcore/src/Makefile.in using Plan A...
Hunk #1 succeeded at 137.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- cv/src/Makefile.in.orig     Mon Feb 28 16:41:54 2005
|+++ cv/src/Makefile.in  Mon Feb 28 16:42:14 2005
--------------------------
Patching file cv/src/Makefile.in using Plan A...
Hunk #1 succeeded at 177.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- otherlibs/highgui/Makefile.in.orig Mon Feb 28 18:02:19 2005
|+++ otherlibs/highgui/Makefile.in      Mon Feb 28 18:02:40 2005
--------------------------
Patching file otherlibs/highgui/Makefile.in using Plan A...
Hunk #1 succeeded at 54.
Hunk #2 succeeded at 201.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- otherlibs/highgui/grfmts.h.orig     Mon Feb 28 17:10:41 2005
|+++ otherlibs/highgui/grfmts.h  Mon Feb 28 17:10:45 2005
--------------------------
Patching file otherlibs/highgui/grfmts.h using Plan A...
Hunk #1 succeeded at 47.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- otherlibs/highgui/loadsave.cpp.orig Mon Feb 28 17:12:05 2005
|+++ otherlibs/highgui/loadsave.cpp      Mon Feb 28 17:12:09 2005
--------------------------
Patching file otherlibs/highgui/loadsave.cpp using Plan A...
Hunk #1 succeeded at 299.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- configure.orig      Thu Aug 19 03:46:49 2004
|+++ configure   Mon Feb 28 17:16:51 2005
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 21218.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|--- tests/cxcore/src/Makefile.in.orig   Mon Feb 28 17:32:29 2005
|+++ tests/cxcore/src/Makefile.in        Mon Feb 28 17:32:57 2005
--------------------------
Patching file tests/cxcore/src/Makefile.in using Plan A...
Hunk #1 succeeded at 189.
Hmm...  Ignoring the trailing garbage.
done

>2) plist changes if gtk or ffmpeg is instaled 
>  
>
How? I just installed multimedia/ffmpeg - no problems. I looked at the 
two plists for conflicts and don't see anything. The opencv port 
installs into the following top-level directories:

lib/
include/opencv
share/opencv

The last two are package-specific, only the first one is not qualified 
with the package name and has the potential for conflicts. However, 
these are the files:

lib/libcv.la
lib/libcv.so
lib/libcv.so.9
lib/libcvaux.la
lib/libcvaux.so
lib/libcvaux.so.9
lib/libcvhaartraining.a
lib/libhighgui.la
lib/libhighgui.so
lib/libhighgui.so.9

whereas ffmpeg has these:

lib/libavcodec.a
lib/libavcodec.so
lib/libavcodec.so.%%SHLIB_VERSION%%
lib/libavformat.a
lib/libavformat.so
lib/libavformat.so.%%SHLIB_VERSION%%

I see no conflict?

>3) Doesn't build on 5.3 
>

This may be true. I only have a 4.10 machine. How does it fail? Or 
alternatively can you give me login access to a 5.3 machine to play with?

...or ...

I just found out on the OpenCV Yahoo Group that
another guy did his own FreeBSD port but apparently
didn't submit it:

http://www.dh.aist.go.jp/~kimura/opencv/opencv-0.9.6.html.en <http://www.dh.aist.go.jp/%7Ekimura/opencv/opencv-0.9.6.html.en>

so maybe you can use his if his works better.
Comment 5 Michael Johnson freebsd_committer freebsd_triage 2005-04-02 21:45:46 UTC
Responsible Changed
From-To: ahze->freebsd-ports-bugs

Turn back over to freebsd-ports-bugs, submitter clains it works but I can't get it to work.
Comment 6 Alexey Dokuchaev freebsd_committer freebsd_triage 2005-05-27 04:05:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

I'll handle it.
Comment 7 Edwin Groothuis freebsd_committer freebsd_triage 2005-12-29 03:38:31 UTC
State Changed
From-To: feedback->closed

Committed, thanks!