summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opencv/opencv
Commit message (Collapse)AuthorAgeFilesLines
* opencv: upgrade 4.8.0 -> 4.9.0Beniamin Sandu2024-02-101-203/+0
| | | | | | | | | | | Full changelogs: https://github.com/opencv/opencv/wiki/ChangeLog#version481 https://github.com/opencv/opencv/wiki/ChangeLog#version490 Also drop python2 support. Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: refresh protobuf-v22 compatibility patch with backported versionMartin Jansa2023-10-191-297/+88
| | | | | | | | * as a bonus it fixes building with tests PACKAGECONFIG enabled as reported in: https://github.com/openembedded/meta-openembedded/commit/225ce6a14a8110ab6b573b4dc9f5297a03d17e0f#r129831882 Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Fix build with protobuf v22 and dnn enabledMartin Jansa2023-10-101-0/+412
| | | | | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: 4.8.0Zoltán Böszörményi2023-07-071-88/+0
| | | | | Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-212-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Fix for CVE-2023-2617Soumya2023-06-151-0/+88
| | | | | | | | | | | | | | A vulnerability classified as problematic was found in OpenCV wechat_qrcode Module up to 4.7.0. Affected by this vulnerability is the function DecodedBitStreamParser::decodeByteSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation leads to null pointer dereference. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-228547. Signed-off-by: Soumya <soumya.sambu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: remove unused patch fileMartin Jansa2023-05-241-36/+0
| | | | | | | | * it was removed from SRC_URI in: https://git.openembedded.org/meta-openembedded/commit/?id=d0e72f07d3f6362a8d3f070ca00c153aae718cb7 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Upgrade to 4.7.0Mingli Yu2023-03-071-26/+0
| | | | | | | | | Upgrade opencv to 4.7.0 [1] and remove backported patch. [1] https://github.com/opencv/opencv/wiki/ChangeLog#version470 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: fix reproducible buildsChee Yang Lee2023-01-091-0/+138
| | | | | Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Fix build with ffmpeg 5.1+Khem Raj2022-12-031-0/+26
| | | | | | Backport a relevant patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Upgrade to version 4.6.0Zoltán Böszörményi2022-06-301-28/+0
| | | | | | | | Re-enable automatic ffmpeg PACKAGECONFIG. Drop an upstream patch. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Fix build with gcc-12 on ppc64Khem Raj2022-04-201-0/+28
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: update 4.5.2 -> 4.5.5Alexander Kanavin2022-01-252-85/+0
| | | | | | | | | Drop backports. Disable ffmpeg, as opencv is not yet compatible with ffmpeg 5.0. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: fix build with protobuf-3.18 when dnn PACKAGECONFIG is enabledMartin Jansa2021-09-291-0/+41
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: link sfm module with GlogMartin Jansa2021-04-151-0/+44
| | | | | | | * fixes build issue when dnn PACKAGECONFIG is enabled and ld-is-gold in DISTRO_FEATURES Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Upgrade to 5.4.2Khem Raj2021-04-081-28/+0
| | | | | | Drop patch which is already in 5.4.2 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Remove duplicate patchKhem Raj2021-03-041-28/+0
| | | | | | <thread> include is already taken care with 0001-Fix-building-opencv-using-gcc-11.x-19244.patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Upgrade to 4.5.1Khem Raj2021-03-033-28/+56
| | | | | | | | Drop upstreamed patch Add patches to support gcc 11 while here Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jose Quaresma <quaresma.jose@gmail.com>
* opencv: Update 4.4.0 -> 4.5.0Jose Quaresma2020-11-151-0/+28
| | | | | | | | | | OpenCV licence has been changed to Apache 2 * 0001-samples-cmake-digits-needs-opencv_dnn-module-to-buil.patch Upstream-Status: Backport [https://github.com/opencv/opencv/commit/79a82013ad2af04269891ce15281c9fdc31d3f66] Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Upgrade to 4.4.0Khem Raj2020-08-181-0/+31
| | | | | | Add a patch to workaround a gcc bug on rv64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: make ts module externalMingli Yu2020-06-182-24/+42
| | | | | | | | | | | | | | | | | * Remove the patch which used to create ts module as shared library as the logic is covered in the new added patch which makes ts module external * Add a patch to make ts module external to fix the below broken link: # ls -l /usr/lib64/libopencv_ts.so lrwxrwxrwx 1 root root 19 Jun 14 19:13 /usr/lib64/libopencv_ts.so -> libopencv_ts.so.4.3 # rpm -qf /usr/lib64/libopencv_ts.so libopencv-ts-dev-4.3.0-r0.corei7_64 # readlink -e /usr/lib64/libopencv_ts.so # echo $? 1 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: 4.1.0 -> 4.3.0Gregory Vimont2020-05-057-75/+29
| | | | | Signed-off-by: Gregory Vimont <gregory.vimont@softbankrobotics.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Tend for the compiler --param option rename in gcc10Khem Raj2020-01-161-0/+55
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: abort configure if we need to downloadRoss Burton2020-01-101-0/+32
| | | | | | | | | OpenCV's habit of downloading files during do_configure is bad form (as it becomes impossible to do offline builds), so add an option to error out if a download would be needed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: 3.4.5 -> 4.1.0Chin Huat Ang2019-07-107-90/+33
| | | | | | | | | | | | | | Update both opencv and opencv_contrib to 4.1.0 and refresh all patches. Remove tiny-dnn from SRC_URI as it is not picked up by opencv cmake build system. This also fixes a QA warning about using unstable github archive. Also update FILES_* to capture new paths which uses new directory name "opencv4" instead of "OpenCV". Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Upgrade to 3.4.5Khem Raj2019-02-042-68/+0
| | | | | | | Drop adding git revs to PV, its not needed since we are on release tag Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Fix build with clangKhem Raj2018-09-112-0/+62
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Fix build on big-endian systemsKhem Raj2018-09-091-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Update to 3.4.3Khem Raj2018-09-0913-4067/+30
| | | | | | | * Drop backported patches * Update versions of external submodules Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Work around deprecated ffmpeg functionsJason Wessel2018-05-261-0/+33
| | | | | | | | | | | The ffmpeg no longer makes use of the AVFMT_RAWPICTURE format, but opencv still has code in it for dealing with this type of exported format. For now it is easier to work around it and allow the code to compile and it will just not get used. A future version of OpenCV will remove the AVFMT_RAWPICTURE handler. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Fix error when dynamic linkRicardo Ribalda Delgado2017-11-301-0/+394
| | | | | | | | | | | | | | | | | If opencv was imported in python or dynamic linked in gstreamer it was producing this output and dying: [libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in database: caffe.proto [libprotobuf FATAL google/protobuf/descriptor.cc:1315] CHECK failed: generated_database_->Add(encoded_file_descriptor, size): terminate called after throwing an instance of 'google::protobuf::FatalException' This patch backports a patch that fixes this issue. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* opencv: Fix java wrapper generationRicardo Ribalda Delgado2017-11-191-0/+16
| | | | | | | | | | | | | During configuration the java wrappers are generated (if java is enabled via PACKAGECOFIG). Unfortunately, the script that generates the .java files do not handle properly paths with special symbols, such as +. This is just a workaround for that. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* opencv: Download tinydnn manuallyRicardo Ribalda Delgado2017-11-191-0/+34
| | | | | | | | OpenCV was downloading tinydnn during configuration via a script. This patch downloads and unpacks tinydnn manually. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* opencv: Use OE built ProtobufRicardo Ribalda Delgado2017-11-191-0/+57
| | | | | | | | | | When dnn is enabled via PACKAGECONFIG it requires protobuf and protobuf-native. This patch modifies cmake files to detect properly protobuf. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* opencv: fix CVE-2017-14136Kai Kang2017-09-221-0/+288
| | | | | | | Backport patch to fix CVE-2017-14136 for opencv. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Fix build on aarch64Khem Raj2017-09-222-0/+2243
| | | | | | | Enable intrinsics on arm/neon with clang while here Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Fix build with clangKhem Raj2017-09-131-0/+26
| | | | | | | -isystem is not needed even with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: remove blacklisted recipesMartin Jansa2017-08-311-49/+0
| | | | | | | | * as PNBLACKLIST message says, these recipes are blacklisted for long time and nobody showed any interest to fix them * remove all unused .patch and .inc files as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: fix CVEsKai Kang2017-08-313-0/+969
| | | | | | | | | | | | | | | | | | | | | | | | | Fix CVEs for opencv 3.3: * CVE-2017-12597 * CVE-2017-12598 * CVE-2017-12599 * CVE-2017-12600 * CVE-2017-12601 * CVE-2017-12602 * CVE-2017-12603 * CVE-2017-12604 * CVE-2017-12605 * CVE-2017-12606 * CVE-2017-12862 * CVE-2017-12863 * CVE-2017-12864 Refs: 1 https://github.com/opencv/opencv/pull/9376 2 https://security-tracker.debian.org/tracker/CVE-2017-12601 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: update to version 3.3.Ismo Puustinen2017-08-138-571/+61
| | | | | | | | | | | Update OpenCV recipe from version 3.2 to 3.3. Rebase patches and drop those which are no longer relevant or already contained in upstream OpenCV. Fix changed build options, such as UPDATE_PROTO_FILES to PROTOBUF_UPDATE_FILES. Update also subcomponents (opencv-contrib and opencv-3rdparty) to match with 3.3. Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: fix compilation error when OpenCL is enabled.Ismo Puustinen2017-06-121-7/+34
| | | | | | | | The patch which changes test module function visilibility was missing some OpenCL symbols. Export also those. Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: fix building with PACKAGECONFIG "dnn" enabled.Ismo Puustinen2017-06-051-0/+243
| | | | | | | | | Dependency "lapack" isn't available in meta-openembedded and it doesn't cause a build error, so drop it. Fix buidling dnn module by backporting a patch from opencv-contrib. Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: Make opencv-ts create share library intead of staticHuang Qiyu2017-06-052-0/+79
| | | | | | | Refer to other distro,make opencv-ts create share library intead of static. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: disable broken Intel FP16 detectionRandy MacLeod2017-05-092-0/+272
| | | | | | | | | | | | | | | | | | | | 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 used to work 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: - FP16: Compiler support is available + FP16: Compiler support is not available The patch should be dropped when a newer version of opencv that includes commit: https://github.com/opencv/opencv/commit/e5d9b608c47d54e43496041595025fa282fa9de5 is available. Backporting that fix was complicated. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "opencv: disable broken Intel FP16 detection"Randy MacLeod2017-05-092-272/+0
| | | | | | | | | This reverts commit 51fbd3cf7db14399bc1c69c4a5fd63f157fd209d. The long log was truncated due to a formatting error. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: disable broken Intel FP16 detectionRandy MacLeod2017-04-282-0/+272
| | | | | | | | | | | | | 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: Update to version 3.2Ricardo Ribalda Delgado2017-01-104-31/+26
| | | | | | | | | -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: Fix build with gcc 6.0Ricardo Ribalda Delgado2016-08-151-0/+30
| | | | | | | | 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>
* opencv: Use pre-downloaded ippRicardo Ribalda Delgado2016-04-121-0/+28
| | | | | | | 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: Fix pkg-config file.Ricardo Ribalda Delgado2016-04-121-0/+29
| | | | | | | | | 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>