Bug 202239 - graphics/opencv: Upgrade to 3.0.0
Summary: graphics/opencv: Upgrade to 3.0.0
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: VK
URL:
Keywords: feature, patch
Depends on:
Blocks:
 
Reported: 2015-08-11 07:08 UTC by you.akira.noda
Modified: 2016-10-19 10:00 UTC (History)
1 user (show)

See Also:


Attachments
ports of opencv , opencv-core , opencv-java (11.50 KB, application/x-gzip)
2015-08-11 07:08 UTC, you.akira.noda
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description you.akira.noda 2015-08-11 07:08:54 UTC
Created attachment 159752 [details]
ports of opencv , opencv-core , opencv-java

I wanna upgrade opencv to 3.0.0
Here is port for opencv 3.0.0(attachment), but this version have a problem.

legacy module is not supported in 3.0.0.
(See http://docs.opencv.org/master/db/dfa/tutorial_transition_guide.html)

opencv legacy module affects following ports.


graphics/openimageio 
graphics/kipi-plugin-removeredeyes 
graphics/frei0r
graphics/rubygem-objectdetect
graphics/libkface 
graphics/cimg
math/scilab-toolbox-sivp 


Some ports of these are already not use legacy module.
such as opneimageio.
In case of this, just replace string "legacy" with "core"(or some module's name) in Makefile.
It's easy.

But,kipi-plugin-removeredeyes 's configure script uses legacy module.
There is no workaround.


So you have to upgrade kipi-plugin-removeredeyes ,or make new ports for opencv version 3-series.
But I don't know which is better solution.Please help.
Comment 1 Shane 2015-08-19 10:21:26 UTC
Pending update to graphics/openimageio v1.5.18 includes adjustment to opencv dependency. bug #202442

On configs that opencv builds openimageio also builds. I have not been able to build opencv on 9.3 using gcc. Poudriere with a 9.3 jail uses gcc42 from base system. Maybe need USES= compiler:c11 to use gcc46
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2016-09-19 22:57:54 UTC
Return to pool.
Comment 3 VK 2016-10-04 08:41:45 UTC
Thanks for the report. The opencv port has been renamed to opencv2 in order to make room for multiple versions:

https://svnweb.freebsd.org/ports?view=revision&revision=423216

Please file a NEW PORT request for opencv3.