summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opencv
Commit message (Collapse)AuthorAgeFilesLines
...
* opencv: disable broken Intel FP16 detectionRandy MacLeod2017-04-283-0/+274
| | | | | | | | | | | | | With opencv-3.2, the configuration detects if the target supports half-precision floating-point format. This fails to compile for some Intel targets such as skylake with an error such as: error: '_mm_cvtph_ps' was not declared in this scope The configuration worked in opencv-3.1 so revert two commits to drop the FP16 detection even though it may make opencv slower. The only change in the configure log is: Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: correct subpackage name for multilibKai Kang2017-04-181-2/+2
| | | | | | | | | | Subpackage python3-${PN} is not right for multilib and it will be extended to such as lib32-python3-lib32-opencv. Replace PN with BPN to fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: do not depend on swig.Ismo Puustinen2017-04-061-1/+1
| | | | | | | Since swig is a code generator, just depend on swig-native. Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: add removal date to PNBLACKLIST messagesMartin Jansa2017-04-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * based on discussion in pndeprecated thread: https://patchwork.openembedded.org/patch/137573/ update the messages to warn possible users that the recipe will be removed before the end of the next development cycle (before Yocto 2.4 is released). * updated with: sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs` * then noticed couple recipes being blacklisted only based on DISTRO_FEATURES, so removed those: meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb meta-oe/recipes-navigation/gypsy/gypsy.inc meta-oe/recipes-navigation/navit/navit.inc meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb * if it isn't fixed by this date, it's fair game to be removed whenever someone gets around to i Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: remove redundant build dependency on python2Dmitry Rozhkov2017-04-051-1/+1
| | | | | | | | | | | | | | | The recipe opencv_3.2.bb inherits to either distutils-base or distutils3-base classes or both which do add appropriate build dependency on python or python3 respectively. There's no need to have python in DEPENDS explicitly. It can even make things needlessly complicated in case a user wants to build python3-only images. The redundant build dependency on python is removed from DEPENDS. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Configure freetype via PACKAGECONFIGRicardo Ribalda Delgado2017-02-131-0/+1
| | | | | | | | | | | Since: http://errors.yoctoproject.org/Errors/Details/117456/ opencv freetype module fails to build. This patch disables that module by default via PACKAGECONFIG until we find out a better way to do it. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Remove extra spaceRicardo Ribalda Delgado2017-01-101-1/+1
| | | | | | | No functional change, it just looked ugly. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Update to version 3.2Ricardo Ribalda Delgado2017-01-105-41/+43
| | | | | | | | | -Only enable protobuf as dependency if dnn module is enabled -Download manually xfeatures from 3rd party repo -Remove uneeded fixgcc60patch Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Add new PACKAGECONFIG textRicardo Ribalda Delgado2017-01-101-0/+1
| | | | | | | | | | | Fixes dangling dependency on text contrib module WARNING: opencv-3.1+gitAUTOINC+92387b1ef8-r0 do_package_qa: QA Issue: libopencv-text rdepends on tesseract, but it isn't a build dependency, missing tesseract in DEPENDS or PACKAGECONFIG? [build-deps] Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Merge dbg packages and Fix QA IssuesRicardo Ribalda Delgado2016-12-261-10/+9
| | | | | | | | | | | | | The presence of more than on -dbg file made completely unusable the rest, and there is no big win by having more than one. Also this qa issue is fixed: QA Issue: opencv-samples-dbg: found library in wrong location: /usr/share/OpenCV/java/.debug/libopencv_java310.so [libdir] Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Add new PACKAGECONFIG dnnRicardo Ribalda Delgado2016-12-261-0/+1
| | | | | | | The dnn module depends on a linear algebra libray such as lapack. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Add missing DEPEND for opencl PKGCFGRicardo Ribalda Delgado2016-12-261-1/+1
| | | | | | | OpenCL headers are not enough, we also require a valid icd (.so) Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Add support for python3Ricardo Ribalda Delgado2016-12-261-7/+17
| | | | | | | | New PACKAGECONFIG options: python2 and python3. Python3 selectec by default, because it is almost 2017 ;). Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Add support for OpenJDKRicardo Ribalda Delgado2016-12-261-2/+5
| | | | | | | Add support for OpenJDK8 and Oracle-java Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Add missing dependsRicardo Ribalda Delgado2016-12-261-1/+1
| | | | | | | | contrib/modules/sfm depends on glog, gflags and libeigen. The CmakeList does not seem to provide a way to disable/enable its build. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Metapkg should not rdepend on -staticdevRicardo Ribalda Delgado2016-12-261-1/+1
| | | | | | | Otherwise the running dependencies will grow considerably. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Update repository locationRicardo Ribalda Delgado2016-12-261-3/+3
| | | | | | | All opencv repos are now on github.com/opencv Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* remove True option to getVar callsJoshua Lock2016-12-022-4/+4
| | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
* nis, opencv: Update getVar/setVar syntaxRichard Purdie2016-11-261-1/+1
| | | | | | | | The deprecated APIs are removed from bitbake, update two old style references in meta-oe/meta-networking. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: remove DEFAULT_PREFERENCE = "-1" for 3.1Wenzong Fan2016-11-231-2/+0
| | | | | | | | The opencv 2.4 has been blacklisted, 3.1 should be the default choice for both opencv and lib32-opencv. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: checking existence of /usr/libWenzong Fan2016-11-231-1/+1
| | | | | | | | | | Remove install errors: mv: cannot stat '.../tmp/work/mips64-wrs-linux/opencv/3.1+gitAUTOINC +92387b1ef8-r0/image/usr/lib/*': No such file or directory Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: fix QA issueWenzong Fan2016-11-231-1/+1
| | | | | | | | | | | | Replace '/lib' with '${baselib}' to fix QA issue: ERROR: do_package_qa: QA Issue: non -staticdev package contains \ static .a library: opencv-apps path \ '.../opencv-apps/usr/share/OpenCV/3rdparty/lib64/libippicv.a' \ [staticdev] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: fix packaging and installRoss Burton2016-10-211-5/+6
| | | | | | | | | | | | | | The OpenCV*.cmake files and the static library should be in the opencv-dev package, not opencv-apps. There is no need to specify files for PN-dbg as they're automatically found, so remove the FILES_PN-dbg assignment. Conditionalise the installation of the example and tutorial binaries so it doesn't abort if samples are disabled. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: remove trailing spacesMartin Jansa2016-08-222-2/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: fix indentationMartin Jansa2016-08-221-18/+19
| | | | | | | | * 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>
* opencv: Fix build with gcc 6.0Ricardo Ribalda Delgado2016-08-152-3/+31
| | | | | | | | 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>
* abiword, fbreader, tvheadend, glmark2, libqmi, modemmanager, thrift, wvdial, ↵Martin Jansa2016-06-131-0/+2
| | | | | | 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>
* opencv: Reorder PACKAGES variableRicardo Ribalda Delgado2016-06-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* opencv: Make gphoto2 dep optional via PACKAGECONFIGRicardo Ribalda Delgado2016-06-081-2/+3
| | | | | | | | 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>
* Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipesAlexander Kanavin2016-06-082-4/+0
| | | | | | | 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>
* opencv: Fix metapkg dependencies for opencv-java and opencv-localesOtavio Salvador2016-05-061-2/+3
| | | | | | | | | 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>
* opencv: Remove blacklistRicardo Ribalda Delgado2016-04-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* opencv: Fix build on x86 platformRicardo Ribalda Delgado2016-04-121-0/+1
| | | | | | | | | | 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>
* opencv: Use pre-downloaded ippRicardo Ribalda Delgado2016-04-122-0/+40
| | | | | | | 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>
* opencv: Add missing dependenciesRicardo Ribalda Delgado2016-04-121-1/+1
| | | | | | | | | | | | | | | | 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>
* opencv: Fix pkg-config file.Ricardo Ribalda Delgado2016-04-122-1/+31
| | | | | | | | | 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>
* opencv: Update to version 3.1Ricardo Ribalda Delgado2016-04-121-4/+4
| | | | | | | 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>
* opencv: Fix use before set error on meta packageRicardo Ribalda Delgado2016-04-121-1/+1
| | | | | | | | 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>
* opencv: blacklist, not compatible with currently used ffmpeg 3Martin Jansa2016-03-043-0/+8
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: support machines based on oe-core tune-corei7.incAndre McCurdy2016-01-042-0/+4
| | | | | | | | | | 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>
* opencv: limit ARM_INSTRUCTION_SET = "arm" over-ride to armv4/armv5Andre McCurdy2016-01-042-2/+4
| | | | | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: sort PACKAGECONFIG optionsAndre McCurdy2016-01-042-9/+11
| | | | | | | Recipe cleanup only, no functional changes. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: backport commit to compile with ppcLukas Bulwahn2015-10-132-1/+51
| | | | | | | | | | | | | 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>
* Opencv: Add OpenCV 3.0Ricardo Ribalda Delgado2015-08-311-0/+129
| | | | | | | | | | | | -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>
* opencv_2.4: Update HOMEPAGERicardo Ribalda Delgado2015-08-311-1/+1
| | | | | | | | | | | | | | | | 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>
* opencv_2.4: Remove unused INSANE_SKIP lineRicardo Ribalda Delgado2015-08-311-1/+0
| | | | | | 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>
* opencv_2.4: Update LICENSERicardo Ribalda Delgado2015-08-311-1/+1
| | | | | | | | | | | | 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>
* opencv: Add 'libv4l' PACKAGECONFIGOtavio Salvador2015-07-301-1/+2
| | | | | | | | | 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>
* opencv: Only enable 'libav' support if commercial license is whitelistedOtavio Salvador2015-07-301-2/+3
| | | | | | | | | 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>
* opencv: Upgrade to 2.4.11mike.looijmans@topic.nl2015-03-062-50/+5
| | | | | | | | | | | | 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>