ports/78473: New port: graphics/opencv (Open Source Computer Vision Library from Intel)

Marc Abramowitz msabramo at yahoo.com
Sun Mar 6 00:20:17 UTC 2005


>Number:         78473
>Category:       ports
>Synopsis:       New port: graphics/opencv (Open Source Computer Vision Library from Intel)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 06 00:20:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marc Abramowitz
>Release:        4.10
>Organization:
Yahoo, Inc.
>Environment:
FreeBSD shifter.corp.yahoo.com 4.10-YAHOO-20040603 FreeBSD 4.10-YAHOO-20040603 #0: Thu Feb 17 17:03:06 PST 2005     root at shifter.corp.yahoo.com:/home/src/sys/compile/DESKTOP  i386     
>Description:
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
 
>How-To-Repeat:
      
>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 at 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 at 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 at dirrm share/opencv/haarcascades
Xshare/opencv/doc/papers/algo_tracking.pdf
Xshare/opencv/doc/papers/avbpa99.ps
Xshare/opencv/doc/papers/camshift.pdf
X at 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 at dirrm share/opencv/samples/c
X at 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 at dirrm share/opencv/doc/ref/pics
X at dirrm share/opencv/doc/ref
X at dirrm share/opencv/doc
X at 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

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list