Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6969

Added Files:
        opencv2.4-shlibs.info 
Log Message:
new pkg opencv 2.4.6.1

--- NEW FILE: opencv2.4-shlibs.info ---
Package: opencv2.4-shlibs
Version: 2.4.6.1
Revision: 1
Description: Open Source Computer Vision Library
License: GPL
Maintainer: Hanspeter Niederstrasser <nie...@users.sourceforge.net>
Depends: <<
        bzip2-shlibs,
        ilmbase-shlibs,
        libavcodec54-1.2-shlibs,
        libavformat54-1.2-shlibs,
        libavutil52-1.2-shlibs,
        libjasper.1-shlibs,
        libjpeg9-shlibs,
        libopenexr6-shlibs,
        libpng16-shlibs,
        libswscale2-1.2-shlibs,
        libtiff5-shlibs,
        macosx (>= 10.7),
        numpy-py27,
        python27-shlibs
<<
BuildDepends: <<
        bzip2-dev,
        cmake (>= 2.6),
        eigen2,
        fink (>= 0.28),
        fink-package-precedence,
        ilmbase,
        libavcodec54-1.2-dev,
        libavformat54-1.2-dev,
        libavutil52-1.2-dev,
        libjasper.1,
        libjpeg9,
        libopenexr6,
        libpng16,
        libswscale2-1.2-dev,
        libtiff5,
        pkgconfig (>= 0.23),
        python27
<<
Source: mirror:sourceforge:opencvlibrary/opencv-unix/%v/opencv-%v.tar.gz
Source-MD5: d756bfa460891697571d5c90050e1cfe
Source-Checksum: SHA1(e015bd67218844b38daf3cea8aab505b592a66c0)
PatchScript: <<
        ### The python module should be a dlopen bundle, not a dylib
        perl -pi -e 's,SHARED src2/cv2.cpp,MODULE src2/cv2.cpp,g' 
modules/python/CMakeLists.txt
        ### give a proper install_name to the libraries
        ### fixed: https://code.ros.org/trac/opencv/changeset/3298
        ### unfixed later: https://code.ros.org/trac/opencv/changeset/5262
        perl -pi -e 's,INSTALL_NAME_DIR lib,INSTALL_NAME_DIR 
\"\$\{CMAKE_INSTALL_PREFIX\}\/lib\",g' cmake/OpenCVModule.cmake 
modules/gpu/CMakeLists.txt modules/highgui/CMakeLists.txt
        ### On case sensitive systems, some things get put into share/OpenCV 
and 
        ### others into share/opencv
        perl -pi -e 's|share/opencv|share/OpenCV|g' modules/python/test/test.py 
samples/{c,cpp,gpu,gpu/performance}/CMakeLists.txt
        ### Brain dead ffmpeg detection
        ### More than just /opt
        ### APPLE assumes static, so make it follow not-Apple decision tree
        perl -pi -e 's|/usr/local|%p/lib/ffmpeg-1.2|g; s|/opt||g' 
cmake/OpenCVFindLibsVideo.cmake
        perl -pi -e 's|APPLE|BADAPPLE|g' cmake/OpenCVFindLibsVideo.cmake
<<
SetCFLAGS: -MD
GCC: 4.0
CompileScript: <<
        #!/bin/sh -ev
        mkdir -p finkbuild
        cd finkbuild
        export PKG_CONFIG_PATH=%p/lib/ffmpeg-1.2/lib/pkgconfig:$PKG_CONFIG_PATH
        cmake \
        -DCMAKE_INSTALL_PREFIX=%p \
        -DCMAKE_BUILD_TYPE=RELEASE \
        -DCMAKE_VERBOSE_MAKEFILE=ON \
        -DBUILD_EXAMPLES=ON \
        -DINSTALL_C_EXAMPLES=ON \
        -DBUILD_NEW_PYTHON_SUPPORT=ON \
        -DINSTALL_PYTHON_EXAMPLES=ON \
        -DPYTHON_EXECUTABLE=%p/bin/python2.7 \
        -DPYTHON_LIBRARY=%p/lib/python2.7/config/libpython2.7.dylib \
        -DPYTHON_INCLUDE_DIR=%p/include/python2.7 \
        -DPYTHON_PACKAGES_PATH=%p/lib/python2.7/site-packages \
        -DCMAKE_INSTALL_NAME_DIR=%p/lib/python2.7/site-packages \
        -DWITH_EIGEN=ON \
        -DEIGEN_INCLUDE_PATH=%p/include/eigen2 \
        -DWITH_CUDA=OFF \
        -DWITH_1394=OFF \
        -DWITH_FFMPEG=ON \
        -DWITH_OPENEXR=ON \
        -DWITH_QT=OFF \
        -DBUILD_DOCS=OFF \
        -DBUILD_EXAMPLES=ON \
        -DBUILD_JASPER=OFF \
        -DBUILD_JPEG=OFF \
        -DWITH_OPENCL=ON \
        -DBUILD_OPENEXR=OFF \
        -DBUILD_PNG=OFF \
        -DBUILD_TIFF=OFF \
        -DBUILD_ZLIB=OFF \
        -DBUILD_opencv_java=OFF \
        ..
        make
        fink-package-precedence --depfile-ext='\.internal' ..
<<
InstallScript: <<
        #!/bin/sh -ev
        cd finkbuild
        make -j1 install DESTDIR=%d
        ### the .pc file is broken and uses full paths rather than -lFOO
        ### https://bugzilla.gnome.org/show_bug.cgi?id=698627
        ### The .pc generation code is very complex, so easier to patch 
afterwards
        perl -pi -e 's|\$\{exec_prefix\}/lib/lib|-l|g; s|.dylib||g; s|^Libs: 
|Libs: -L\$\{libdir}|g' %i/lib/pkgconfig/opencv.pc
<<
Shlibs: <<
        %p/lib/libopencv_calib3d.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_contrib.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_core.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_features2d.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_flann.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_gpu.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_highgui.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_imgproc.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_legacy.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_ml.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_nonfree.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_objdetect.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_ocl.2.4.dylib 2.4.0 %n (>= 2.4.4a-1)
        %p/lib/libopencv_photo.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_stitching.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_superres.2.4.dylib 2.4.0 %n (>= 2.4.5-1)
        %p/lib/libopencv_ts.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_video.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
        %p/lib/libopencv_videostab.2.4.dylib 2.4.0 %n (>= 2.4.2-1)
<<
DocFiles: README
Splitoff: <<
        Package: opencv
        Depends: <<
                opencv2.4-shlibs (= %v-%r)
        <<
        Description: Executables for opencv
        Replaces: opencv-shlibs (<= 2.3.1-3)
        DocFiles: README
        Files: <<
                bin
                lib/python2.7/site-packages/{cv.py,cv2.so}
        <<
<<
SplitOff2: <<
        Package: opencv2.4-dev
        Depends: <<
                opencv2.4-shlibs (= %v-%r)
        <<
        Conflicts: opencv-dev, opencv2.4-dev, opencv2.5-dev
        Replaces: opencv-dev, opencv2.4-dev, opencv2.5-dev
        BuildDependsOnly: true
        Description: Development files for opencv
        DocFiles: README
        Files: <<
                include
                
lib/libopencv_{calib3d,contrib,core,features2d,flann,gpu,highgui,imgproc,legacy,ml,nonfree,objdetect,ocl,photo,stitching,superres,ts,video,videostab}.dylib
                lib/pkgconfig
                share/OpenCV
        <<
<<
Homepage: http://opencv.org/
DescDetail: <<
OpenCV (Open Source Computer Vision) is a library of programming 
functions for real time computer vision.

OpenCV has C++, C, Python and soon Java interfaces running on 
Windows, Linux, Android and Mac. The library has >2500 optimized 
algorithms (see figure below). It is used around the world, has 
>2.5M downloads and >40K people in the user group. Uses range from 
interactive art, to mine inspection, stitching maps on the web on 
through advanced robotics.
<<
DescPort: <<
CMAKE_INSTALL_NAME_DIR only gets applied to the python bindings. It
has no effect on the main dylib files, so we don't use it.

.pc file generation is broken by using full paths to dylibs. Patch to use
-lFOO nomenclature.
https://bugzilla.gnome.org/show_bug.cgi?id=698627

Turn off Java bindings because it generates dylib with the full version
in the file name: libopencv_java244.dylib
Also, doesn't use either -install_name or -c_v correctly. Can reactivate
when those are working.

FFmpeg support turned on as of version 2.4.3. Detection on OS X is brain
dead and assumes static only, so make it think not-Apple.

Explicitly turn off rebuilding docs since it requires TexLive.

10.7+ only. Uses VideoDecodeAcceleration and OpenCL
<<


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to