aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opencv
AgeCommit message (Collapse)Author
2016-08-22meta-oe: fix indentationMartin Jansa
* remove tabs which sneaked in since last cleanup * meta-oe layers are using consistent indentation with 4 spaces, see http://www.openembedded.org/wiki/Styleguide Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15opencv: Fix build with gcc 6.0Ricardo Ribalda Delgado
It seems like gcc 6.0 does not have the same behaviour as previous 5.x with regards isystem flag. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13abiword, fbreader, tvheadend, glmark2, libqmi, modemmanager, thrift, wvdial, ↵Martin Jansa
wvstreams, dt, collectd, gtkmathview, tcsh, glcompbench, geos, libspatialite, geis, grail, opencv, openwbem, fwts: blacklist, fails to build with gcc-6 or glibc-2.24 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08opencv: Reorder PACKAGES variableRicardo Ribalda Delgado
PACKAGES content order is important, because it determines the destination of the files, when the folders overlaps. Without this patch: NOTE: Executing RunQueue Tasks ERROR: QA Issue: non debug package contains .debug directory: opencv-apps path packages-split/opencv-apps/usr/share/OpenCV/java/.debug/libopencv_java310.so [debug-files] WARNING: QA Issue: opencv-apps: found library in wrong location: /usr/share/OpenCV/java/libopencv_java310.so opencv-apps: found library in wrong location: /usr/share/OpenCV/java/.debug/libopencv_java310.so [libdir] ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa Fixes: 3132af1d1d15 ("opencv: Fix metapkg dependencies for opencv-java ... ") Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08opencv: Make gphoto2 dep optional via PACKAGECONFIGRicardo Ribalda Delgado
Opencv can be built without support for gphoto2 if needed. Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipesAlexander Kanavin
They are no longer required to build python software. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06opencv: Fix metapkg dependencies for opencv-java and opencv-localesOtavio Salvador
The opencv-java is not always generated so we ought to include it, only if it is available. The opencv-locales is not available and ought to be skipped. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12opencv: Remove blacklistRicardo Ribalda Delgado
Opencv 3.1 builds fine with ffmpeg. ricardo@neopili:~/curro/qt5022/oe/openembedded-core/build$ bitbake opencv Loading cache: 100% |############################################################################| ETA: 00:00:00 Loaded 2018 entries from dependency cache. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.29.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Debian-testing" TARGET_SYS = "i586-oe-linux" MACHINE = "qemux86" DISTRO = "nodistro" DISTRO_VERSION = "nodistro.0" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta = "master:300f858ba07c938427ccd05a3d7220027a03d461" meta-oe = "master:29462f7161b346dbc2ea00830da869a0a1c35fb9" NOTE: Preparing RunQueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 1242 tasks of which 1228 didn't need to be rerun and all succeeded. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12opencv: Fix build on x86 platformRicardo Ribalda Delgado
OpenCV wrongly assumes that the X86 variable would be set on Intel 32 bit architectures. This patch adds the missing definition on those cases. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12opencv: Use pre-downloaded ippRicardo Ribalda Delgado
We should not rely on cmake downloading ipp at configure time. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12opencv: Add missing dependenciesRicardo Ribalda Delgado
opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on libgphotoport, but it isn't a build dependency, missing libgphoto2 in DEPENDS or PACKAGECONFIG? [build-deps] opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-videoio rdepends on libgphoto2, but it isn't a build dependency, missing libgphoto2 in DEPENDS or PACKAGECONFIG? [build-deps] opencv-3.1+gitAUTOINC+92387b1ef8: libopencv-dnn rdepends on protobuf, but it isn't a build dependency, missing protobuf in DEPENDS or PACKAGECONFIG? [build-deps] Credit-to: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12opencv: Fix pkg-config file.Ricardo Ribalda Delgado
Libdir was pointing to the wrong location also fix for QA Issue: opencv.pc failed sanity test (tmpdir) in path Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12opencv: Update to version 3.1Ricardo Ribalda Delgado
The first major update in 3.0 release series Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12opencv: Fix use before set error on meta packageRicardo Ribalda Delgado
This bug was introducing a loop dependency of opencv->opencv that was confusing dpkg. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04opencv: blacklist, not compatible with currently used ffmpeg 3Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04opencv: support machines based on oe-core tune-corei7.incAndre McCurdy
oe-core tune-corei7.inc enables -msse4.2 (rather than -msse3, which is only enabled by tune-core2.inc). Add test for -msse4.2 to ensure that SSE is enabled for machines based on tune-corei7.inc (also add a test for -msse4.1 for completeness). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04opencv: limit ARM_INSTRUCTION_SET = "arm" over-ride to armv4/armv5Andre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04opencv: sort PACKAGECONFIG optionsAndre McCurdy
Recipe cleanup only, no functional changes. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13opencv: backport commit to compile with ppcLukas Bulwahn
During the testing of the meta-ros layer, I discovered that opencv does not cross-compile for the ppc architecture. The error is reported in the meta-ros issue tracker #355 [1]. To address this error, this commit applies a patch that is already provided upstream in the opencv version 3.0. [1] https://github.com/bmwcarit/meta-ros/issues/355 Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31Opencv: Add OpenCV 3.0Ricardo Ribalda Delgado
-Support for new PACKAGECONFIGS -Merge with opencv-samples Since it is not backward compatible with 2.x and cannot be installed in parallel it has a DEFAULT_PREFERENCE of -1. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31opencv_2.4: Update HOMEPAGERicardo Ribalda Delgado
Old link is dead ricardo@neopili:~$ wget http://opencv.willowgarage.com/wiki/ --2015-08-19 17:12:44-- http://opencv.willowgarage.com/wiki/ Resolving opencv.willowgarage.com (opencv.willowgarage.com)... 70.35.54.199 Connecting to opencv.willowgarage.com (opencv.willowgarage.com)|70.35.54.199|:80... failed: Connection timed out. Retrying. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31opencv_2.4: Remove unused INSANE_SKIP lineRicardo Ribalda Delgado
Credits-to: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31opencv_2.4: Update LICENSERicardo Ribalda Delgado
LICENSE file at the root of the opencv repo says: License Agreement For Open Source Computer Vision Library (3-clause BSD License) Credits-to: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30opencv: Add 'libv4l' PACKAGECONFIGOtavio Salvador
The i.MX SoCs need to allow the removal of libv4l support so a new PACKAGECONFIG option has been included. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30opencv: Only enable 'libav' support if commercial license is whitelistedOtavio Salvador
The libav support requires the commercial license to be whitelist. This makes opencv to work in non-commercial setups without needing to change the PACKAGECONFIG settings manually. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-06opencv: Upgrade to 2.4.11mike.looijmans@topic.nl
Upgrade OpenCV to the 2.4.11 release. Remove the opencv-fix-pkgconfig-generation patch which has been integrated upstream, be it in modified form. Disable 1394 support by default to get a deterministic build. Fix "jasper" dependency, the BUILD_JASPER parameter served only to build an internal library, while WITH_JASPER actually controls whether jpeg2000 support was desired. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10opencv: Bump SRCREV to 2.4.9 release tag, PV is now 2.4.9+git.Nick D'Ademo
Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10opencv: Disable 'gtk' backend if X11 is not availableOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET
Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-01opencv: Bump SRCREV, PV is now 2.4.8+gitNick D'Ademo
Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-05opencv: bump SRCREV and make recipe multilib build compatibleNick D'Ademo
Pass LIB_SUFFIX to CMake during a multilib build so that the generated library folder has the correct suffix. Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-17opencv: Upgrade to latest on 2.4 branchKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05opencv: Add PACKAGECONFIG for jasperMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05opencv: Update SRC_URI to use gitKhem Raj
opencv now has moved to using git. Lets use the git version to fetch SRCs Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05opencv: Add PACKAGECONFIG for eigen gtk jpeg libav png tiff v4lLukas Bulwahn
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05opencv: Add libeigen dependencyLukas Bulwahn
In the opencv's CMakeLists.txt under Optional 3rd party components, the option "WITH_EIGEN" is by default ON. Hence, this commit adds the libeigen dependency to opencv. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-03-21opencv: switch to out-of-tree buildsKoen Kooi
This eliminates a few warnings from the configure step and makes sense in general. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-21opencv: enable SSE1/2/3 and SSSE3 when finding '-msse3' in TARGET_CC_ARCHKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-19opencv: fix pkg-config file generationStefan Herbrechtsmeier
Replace absolute library path with library name spec and library search path option in pkg-config file. Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-27opencv: update to 2.4.3 and fix some issuesStefan Herbrechtsmeier
* Update opencv and opencv-samples to 2.4.3 * Use tar instead of no longer available SVN repository * Remove numpy detection patch and update related CMAKE variable * Fix QA Issues: contains probably-redundant RPATH * Add PACKAGES_DYNAMIC for split library packages Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-28Replace bb.data.* with d.*Paul Eggleton
Used sed expression given here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html Plus an additional expression for .expand. Full expression is: sed \ -e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Some minor correction in systemd.bbclass was needed for some expressions that didn't quite match the regex in the desired way; additionally a few instances were manually changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-05opencv: bump PR due libav updateOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19recipes: convert tabs to 4 spaces in populate_packagesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-16various: update ; proto= to ; protocol= in SRC_URIKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-13opencv, opencv-samples: drop 2.3.1Koen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-13opencv, opencv-samples: add 2.4.2Koen Kooi
Libav is easier to get right than gstreamer, so switch back. Also enable libv4l for better v4l(2) support Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09bzip2: bump PR of all recipes depending on bzip2Andreas Oberritter
* Commit e27af1f273e9a7348dd8f5542df9206acd9210f3 of OE-core split bzip2 into binary and library packages. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-29More quotting fixesOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-26Quoting fixesMartin Jansa
* We have various variables which are either not quoted at all or are * half quoted. This patch fixes the bad exmaples so everything is consistent. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>