summaryrefslogtreecommitdiffstats
path: root/package/opencv
Commit message (Collapse)AuthorAgeFilesLines
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-4/+0
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: add AVX/AVX2 support to ffmpeg/opencvSteven Noonan2015-04-091-0/+2
| | | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: all salute the passing of avr32Yann E. MORIN2015-02-141-1/+0
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: add missing indirect dependency on atomics for gtk supportArnout Vandecappelle2015-02-071-0/+1
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: Remove hash fileMaxime Hadjinlian2015-02-031-3/+0
| | | | | | | | | | | Since the tarball we download is generated from GitHub, there's no saying that the tarball won't differ in a month from now. So the hash has no value there. An update to the manual should be done. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: superres - Fix return value VideoFrameSource_GPUVicente Olivert Riera2014-11-081-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | superres module fails to compile with the following error messages: [100%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/super_resolution.cpp.o /opencv-2.4.10/modules/superres/src/frame_source.cpp: In function 'cv::Ptr<cv::superres::FrameSource> cv::superres::createFrameSource_Video_GPU(const string&)': /opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: expected type-specifier before 'VideoFrameSource' /opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: could not convert '(int*)operator new(4ul)' from 'int*' to 'cv::Ptr<cv::superres::FrameSource>' /opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: expected ';' before 'VideoFrameSource' /opencv-2.4.10/modules/superres/src/frame_source.cpp:263:41: error: 'VideoFrameSource' was not declared in this scope /opencv-2.4.10/modules/superres/src/frame_source.cpp:264:1: error: control reaches end of non-void function [-Werror=return-type] cc1plus: some warnings being treated as errors make[3]: *** [modules/superres/CMakeFiles/opencv_superres.dir/src/frame_source.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... This is caused because the return value of the createFrameSource_Video_GPU function should be a VideoFrameSource_GPU object. Backporting an upstream patch to fix this problem in Buildroot: https://github.com/Itseez/opencv/commit/2e393ab83362743ba1825ad4b31d4a2925c606b4 Fixes: http://autobuild.buildroot.net/results/b09/b0996267197a9016d29d6070804ebc0cb7853548/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: rename patches to follow the new name structureVicente Olivert Riera2014-11-081-0/+0
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/opencv: cleanup configure optionsSamuel Martin2014-10-261-2/+0
| | | | | | | | Disabling doc and example build is already done by the cmake-package infrastructure. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/opencv: fix build failure on x86Samuel Martin2014-10-121-0/+49
| | | | | | | | | | | | | | | | This change adds a patch fixing some opencv asm causing build failures on i*86 with PIC. This patch has been sent upstream [1]. Fixes: http://autobuild.buildroot.org/results/483/4838285b25d6293a5cf0bb9eadd5040a7c75d766/ http://autobuild.buildroot.org/?reason=opencv-2.4.10&&arch=i686 [1] https://github.com/Itseez/opencv/pull/3331 Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-36/+36
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: Bump version to 2.4.10Vicente Olivert Riera2014-10-022-4/+4
| | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: Bump version to 2.4.9.1Vicente Olivert Riera2014-09-292-2/+5
| | | | | | | And also add a hash file. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: highgui module is needed for ts moduleVicente Olivert Riera2014-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | OpenCV's highgui module needs to be auto-selected when the ts module is selected, because it depends on it. Otherwise it would fail with an error like this one: [ 96%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/gpu_perf.cpp.o In file included from /home/test/autobuild/instance-1/output/build/opencv-2.4.8/modules/ts/src/gpu_perf.cpp:43:0: /home/test/autobuild/instance-1/output/build/opencv-2.4.8/modules/ts/include/opencv2/ts/gpu_perf.hpp:47:39: fatal error: opencv2/highgui/highgui.hpp: No such file or directory compilation terminated. Fixes: http://autobuild.buildroot.net/results/31b/31b124ff1ec958a621863bfc80323847a6373135/ Issue reported upstream: http://code.opencv.org/issues/3923 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: rework V4L/libv4l supportSamuel Martin2014-09-212-9/+5
| | | | | | | | | | | | | | | | | | | | | Starting with the 2.4.7 release, for V4L support, OpenCV does not requires a libv4l dependency for its V4L support. So, it now provides 2 distincts knobs for this: WITH_V4L and a new one: WITH_LIBV4L. This patch takes advantage of this new knob and libv4l support is now automatically enabled only if the libv4l package is enabled. In OpenCV, the logic behind this is: - using libv4l if available, - otherwise, use v4l2 or v4l API from the kernel if available. [Thomas: remove gratuituous reformating, as suggested by Yann.] Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/opencv: fix dependencies for the Qt and GTK backendsYann E. MORIN2014-07-201-3/+4
| | | | | | | | | | | | | | | | | | | | | | | Only the highgui module can use Qt or GTK (as noticed by Thomas.) However, it is currently possible to select the Qt or the GTK backends support independently of highgui, thus breaking the configuration step of opencv. Just hide the Qt and GTK backends when highgui is not selected. Fixes: http://autobuild.buildroot.org/results/efc/efc9590a193235701fee535f4a1da7b39c426665/ http://autobuild.buildroot.org/results/b6a/b6acd983b8c78005feef6864af469bd348ab742a/ [Thomas: remove 'if BR2_PACKAGE_OPENCV_LIB_HIGHGUI' statements since BR2_PACKAGE_OPENCV_WITH_QT now depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: since 2.4.8 bump, requires NPTLThomas Petazzoni2014-07-181-3/+3
| | | | | | | | | | | | | | The core module of OpenCV is now using the pthread_spin_*() API, which is only available in the 'linuxthreads' and 'NPTL' thread implementations, but not in the 'linuxthreads.old' implementation. Therefore, this commit adds a dependency on OpenCV to NPTL threads. Fixes: http://autobuild.buildroot.org/results/75d/75db3827ec4be8a3805508a22b8b6a4d1a3b9ce3/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: add jasper supportSamuel Martin2014-07-162-0/+17
| | | | | | | [Thomas: adjust Config.in help text as suggested by Yann E. Morin.] Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: enable SSE4.1 SSE4.2 support when availableSamuel Martin2014-07-161-0/+2
| | | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: disable OpenMP supportSamuel Martin2014-07-161-0/+1
| | | | | | | | | | Since there is currently no easy way to know if the current Buildroot configuration has a toolchain supporting OpenMP (especially for external toolchains), then just disable it. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: disable opencl support/moduleSamuel Martin2014-07-161-0/+2
| | | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: disable apps moduleSamuel Martin2014-07-161-0/+1
| | | | | | | | This module is used to build programs for training classifiers. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: add superres module knobSamuel Martin2014-07-162-0/+8
| | | | | | | This new module has been introduced in opencv-2.4.8. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: sort and reorder SW support optionsSamuel Martin2014-07-161-22/+40
| | | | | | | | Sort SW features by category and disable them when not supported by Buildroot. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: sort and reorder HW support optionsSamuel Martin2014-07-161-7/+30
| | | | | | | | Sort per HW features and disable their support when it is not suppported by Buildroot. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: sort and reorder CMake configuration flagsSamuel Martin2014-07-161-14/+25
| | | | | | | To make easier future package update. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: bump to version 2.4.8Samuel Martin2014-07-162-7/+6
| | | | | | | | | | | | | | | | | | | | | This patch bumps OpenCV version and address the minimal set of change to get the new version building correctly: - update the download location; - force Qt version to Qt 4 when support is enabled; - naively fix the v4l support. However, it does not address a couple improvements, among these: - jasper support; - python/numpy support; - Qt4 and Qt5 support (since the 2.4.6 release), so only Qt4 support is supported in this patch; - optional libv4l dependency (since 2.4.7 release); - etc. These will be addressed in followup patches. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* opencv: add license informationGustavo Zacarias2014-07-081-2/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: do not override CMAKE_BUILD_TYPESamuel Martin2014-06-011-1/+0
| | | | | | | | This flag is already correctly set by the cmake-package infrastructure. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libv4l: needs mmuGustavo Zacarias2014-05-221-0/+2
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/989/989d32f3532283817e9439aa78cceff5983dc421/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: fix qt selection when highgui is enableSamuel Martin2014-05-031-1/+3
| | | | | | | | | | | | The OpenCV highgui module links against QtGui and QtTest. The latter is built by default but was never installed. Thanks to the previous patch on Qt, this can be rectified. So, update the OpenCV Config.in with the missing Qt module selection. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: add missing dependency on !MMU for gtk supportThomas Petazzoni2014-02-241-0/+1
| | | | | | | | libgtk2 depends on !MMU, so when OpenCV selects Gtk, it should propagate this dependency. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: needs MMU (fork)Thomas De Schampheleire2014-02-231-0/+1
| | | | | | | | Fixes http://autobuild.buildroot.net/results/4f7/4f744595efceba2d5a54151bf5f1802eb1268fac/ Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: add missing indirect dependency from gstreamerArnout Vandecappelle2014-02-201-0/+2
| | | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: always enable opencv_core module when opencv is enabledSamuel Martin2014-02-162-7/+1
| | | | | | | | | | | | | | | | It does not make much sense enabling opencv without its core module. This configuration leads to build nothing (since all modules depend on the core one), but install the configuration files (*.pc and *.cmake) anyway. This absurd situation may break the build-system of other packages that would correctly find the *.pc (but does not check for the modules they actually use), but would not build because of missing headers and libraries. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove support for documentation on targetThomas De Schampheleire2014-02-081-3/+1
| | | | | | | | This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "opencv: cleanup depends and comments"Peter Korsgaard2014-02-061-2/+10
| | | | | | | | | | | | This reverts commit 5f7cbb264ec21f75320ad8518d27f4c605c825f8. Buildroot policy is to keep the dependencies / comments for sub options in case the package in the future no longer has those dependencies. See http://lists.busybox.net/pipermail/buildroot/2014-February/088523.html for details. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: cleanup depends and commentsSamuel Martin2014-02-051-10/+2
| | | | | | | | | Since the opencv package globally depends on BR2_TOOLCHAIN_HAS_THREADS and BR2_USE_WCHAR, then cleanup these redundant (and useless) dependencies in the opencv's sub-options. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: need threads supportSamuel Martin2014-02-051-2/+3
| | | | | | | | | | | | Because the opencv_core module needs threads support, just globally disable the whole opencv package if the toolchain does not offer this support. Fixes: http://autobuild.buildroot.org/results/8dd/8dd1674674018a931ba09cc5b414c32360e51692/build-end.log Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: remove BUILD_SHARED_LIBS flagsSamuel Martin2014-01-221-1/+0
| | | | | | | This CMake flag is now handled by the cmake-package infrastructure. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-4/+4
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* opencv: gtk support doesn't work with directfbGustavo Zacarias2013-08-131-1/+1
| | | | | | | | | This was dropped on 4b3d949b8af240bda451b0a4e57d60153188c2e4 when libgkt2 was updated. Fixes: http://autobuild.buildroot.net/results/817/8173b7fd3d6af79a7f2c04bf36059a4429127516/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: needs threadsSpenser Gilliland2013-07-271-3/+7
| | | | | | | | | | | | | | This commit adds a dependency of the libglib2 package on thread support in the toolchain, since upstream libglib2 doesn't build without thread support. The commit is rather large as it involves propagating the dependency on thread support to all reverse dependencies of the libglib2 package. [Thomas: squash all patches into one, make a few minor fixes, the most important one being to not add comments about MMU requirement when a package doesn't work on !MMU platforms.] Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
* Remove BR2_HAVE_DEVFILESThomas Petazzoni2013-07-041-2/+0
| | | | | | | | | | | | This finally removes the BR2_HAVE_DEVFILES option, that was used to install/keep development files on target. With the recent migration of the internal backend to the package infrastructure, we had anyway lost the ability to build gcc for the target, and install the uClibc development files on the target. [Peter: also remove support/scripts/copy.sh] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: broken on avr32Gustavo Zacarias2013-06-271-0/+1
| | | | | | | | | Qt is broken for the avr32 architecture since it lacks TLS support. Fixes: http://autobuild.buildroot.net/results/56d/56d1d8f12a847f1ba49547a51d7a3605755a0bb8/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove description and url from headerAlexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headers to comply with coding styleAlexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libv4l: needs thread supportThomas Petazzoni2013-05-281-2/+3
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/c74/c741ca445a63ce9ab8b0e5b87f3126d7b6051009/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gstreamer: needs threads support in toolchainPeter Korsgaard2013-05-031-0/+1
| | | | | | Indirectly fixes http://autobuild.buildroot.net/results/453ac64daf384702512ac68f1779f375e337332d/build-end.log Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud