[MacPorts] #32528: opencv @2.3.1a fixes and improvements: eigen, ffmpeg, docs, opengl, python, shared+static, tbb
MacPorts
noreply at macports.org
Tue Dec 13 13:20:26 PST 2011
#32528: opencv @2.3.1a fixes and improvements: eigen, ffmpeg, docs, opengl, python,
shared+static, tbb
-----------------------------------+----------------------------------------
Reporter: marin.saric@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: haspatch | Port: opencv
-----------------------------------+----------------------------------------
I probably left something out, but here's a list of fixes I can come up
with right now:
Fixes:
- Fix FFmpeg dependencies: (a hidden dependency on orc)
- Fix FFmpeg dependencies: rely on ffmpeg port to find the dependent
ports
- Fix the search for Thread Building Blocks: rely on proper CMake prefix
instead of hardcoding the TBB path
- Python: Python is run during CMake, make sure the correct version of
Python is run
- Python: Interfaces never built if the right version of numpy was not
present. Fixed.
- Remove hardcoding the MacPorts Python path through reinplace, use the
already available cache variables instead
- The C/C++ sample code was built: sample code executable only install on
Win32
- The C/C++ sample code never made it into destroot
- Fix uppercase/lowercase differences in path componets (breaks on non-
HFS volumes): ${prefix}/opencv and ${prefix}/OpenCV both used for path.
Use OpenCV (per CMake guidelines)
- Find the right version of Sphinx based on the version of python
installed (build-sphinx-python.ver)
- The Python code never made it into destroot
- The build_all.sh script to run/compile example code did not recognize
cpp files if listed as a paramter
- The build_all.sh script worked incorrectly if a directory contained
zero c files or zero cpp files
- The build_all.sh script wasn't present in the cpp directory
- The sample code permissions were wronged (read-only for user,
build_all.sh not executable)
- The documentation was never installed
- Remove hardcoding linker flags such as "-lbz2", etc. Rely on CMake to
do the right thing
- Remove JPEG2000 during static build (due to a collision with OpenJPEG
used by FFmpeg)
Enhancements:
- Link against Eigen2/Eigen3
- Build both the dynamic and static versions of OpenCV
- Allow the user to strip down OpenCV by removing dependencies on ffmpeg,
tbb, eigen, etc. etc. through more variants
- Enable OpenGL extensions if QT4 is on.
Tested with and without QT4, with and without full docs, with and without
tbb in static and dynamic builds, c, c++ and python sample code run,
tested building full docs.
--
Ticket URL: <https://trac.macports.org/ticket/32528>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list