package/opencv: bump to version 3.0

This major version bump is in fact a bump from 2.4.10 to 2.4.11, then to
3.0.

OpenCV-2.4.11 improves a lot the Buildroot integration, including a
couple of patches that are no longer needed:
- x86 PIC code compilation fix in core module [1];
- return type fix in superes module [2];
- opencv.pc generation [3].

It also improves the gstreamer-0.10/1.x detection [4], that will be
needed in a follow-up patch.

OpenCV-3.0 still requires 2 patches (backported from upstream fixing
pthread support [5,6].

The OpenCV-3.0 does some major changes, for which a transition guide
has been published [7].

Among these changes coming with OpenCV-3.0, some new modules have been
introduced and others got removed; leading to a bunch of configure
option updates (to keep as much as possible an iso-functional-perimeter)
and the legacy menu has been updated too.
The worth noticing removals being:
- the opencv_legacy and opencv_nonfree modules no longer exist;
- the opencv_contrib module has moved out of the opencv base tree and
  now has its own repository [8].
  There is currently no plan to support it.

Some 3rd-party supports have been improved or added; their integrations
in Buildroot will be addressed in follow-up patches.

[1] ea50be0529
[2] 2e393ab833
[3] eceada586b
[4] 38bb0db9db
[5] 1f983ec39c
[6] a482dcce46
[7] http://docs.opencv.org/master/db/dfa/tutorial_transition_guide.html
[8] https://github.com/itseez/opencv_contrib

[Thomas:
  - address most contents made by Yann E. Morin on the Config.in file.]

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Samuel Martin
2015-06-25 21:59:43 +02:00
committed by Thomas Petazzoni
parent bf00b5a9ea
commit a9043951b9
8 changed files with 405 additions and 286 deletions

View File

@@ -113,6 +113,38 @@ config BR2_TARGET_UBOOT_NETWORK
help
U-Boot's custom network settings options have been removed.
config BR2_PACKAGE_OPENCV_LIB_CONTRIB
bool "opencv contrib module no longer exists"
select BR2_LEGACY
help
OpenCV >=3.0 does not come with in-tree contrib modules.
They have been moved out of the OpenCV base tree, into the opencv_contrib
repository:
https://github.com/Itseez/opencv_contrib
config BR2_PACKAGE_OPENCV_LIB_GPU
bool "opencv gpu module no longer exists"
select BR2_LEGACY
help
opencv_gpu module no longer exists as is in OpenCV >=3.0.
It has been split into several modules prefixed with "cuda" that require
Cuda programming toolkit, which is not available in Buildroot. So cuda
modules are forcibly disabled in Buildroot.
config BR2_PACKAGE_OPENCV_LIB_LEGACY
bool "opencv legacy module no longer exists"
select BR2_LEGACY
help
opencv_legacy module no longer exists in OpenCV >=3.0.
config BR2_PACKAGE_OPENCV_LIB_NONFREE
bool "opencv nonfree module no longer exists"
select BR2_LEGACY
help
opencv_nonfree module no longer exists in OpenCV >=3.0.
###############################################################################
comment "Legacy options removed in 2015.05"