Update OpenCV to 4.7.0

This commit is contained in:
rsadowski 2023-01-07 11:19:53 +00:00
parent 63afbf0f66
commit af794471d4
6 changed files with 16 additions and 11 deletions

View File

@ -4,11 +4,10 @@ CATEGORIES = graphics devel
COMMENT-main = library for computer vision real-time processing
COMMENT-java = Java bindings for OpenCV
V = 4.6.0
V = 4.7.0
GH_ACCOUNT = opencv
GH_PROJECT = opencv
GH_TAGNAME = ${V}
REVISION-main = 0
PKGNAME-main = opencv-${V}
PKGNAME-java = opencv-java-${V}
@ -21,7 +20,7 @@ MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
opencv_flann opencv_highgui opencv_imgproc opencv_ml opencv_objdetect \
opencv_photo opencv_stitching opencv_video opencv_imgcodecs \
opencv_videoio opencv_dnn
SHARED_LIBS += $i 10.0
SHARED_LIBS += $i 11.0
.endfor
WANTLIB-main += ${COMPILER_LIBCXX} avcodec avformat avutil OpenEXR-3_1

View File

@ -1,2 +1,2 @@
SHA256 (opencv-4.6.0.tar.gz) = HsHLpl+fIP5aQf2hWG4Bxw6gyabXtnyeE+3wz+Ijknc=
SIZE (opencv-4.6.0.tar.gz) = 90208971
SHA256 (opencv-4.7.0.tar.gz) = jfAHnNvheXSKGNRHMa9iokWkXr9QhSI9wDEzlUxmKXM=
SIZE (opencv-4.7.0.tar.gz) = 91027497

View File

@ -1,7 +1,7 @@
Index: cmake/OpenCVFindLibsGrfmt.cmake
--- cmake/OpenCVFindLibsGrfmt.cmake.orig
+++ cmake/OpenCVFindLibsGrfmt.cmake
@@ -230,12 +230,7 @@ if(WITH_PNG)
@@ -243,12 +243,7 @@ if(NOT HAVE_SPNG AND WITH_PNG)
include(FindPNG)
if(PNG_FOUND)
include(CheckIncludeFile)

View File

@ -11,7 +11,7 @@ Index: modules/core/src/system.cpp
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
@@ -557,7 +557,7 @@ struct HWFeatures
@@ -563,7 +563,7 @@ struct HWFeatures
}
#endif // CV_CPUID_X86
@ -20,7 +20,7 @@ Index: modules/core/src/system.cpp
#ifdef __aarch64__
have[CV_CPU_NEON] = true;
have[CV_CPU_FP16] = true;
@@ -583,7 +583,7 @@ struct HWFeatures
@@ -607,7 +607,7 @@ struct HWFeatures
CV_LOG_INFO(NULL, "- FP16 instructions is NOT enabled via build flags");
#endif
#endif

View File

@ -1,4 +1,4 @@
share/java/
share/java/opencv4/
@so share/java/opencv4/libopencv_java460.so
share/java/opencv4/opencv-460.jar
@so share/java/opencv4/libopencv_java470.so
share/java/opencv4/opencv-470.jar

View File

@ -79,10 +79,12 @@ include/opencv4/opencv2/core/hal/intrin_avx.hpp
include/opencv4/opencv2/core/hal/intrin_avx512.hpp
include/opencv4/opencv2/core/hal/intrin_cpp.hpp
include/opencv4/opencv2/core/hal/intrin_forward.hpp
include/opencv4/opencv2/core/hal/intrin_lasx.hpp
include/opencv4/opencv2/core/hal/intrin_msa.hpp
include/opencv4/opencv2/core/hal/intrin_neon.hpp
include/opencv4/opencv2/core/hal/intrin_rvv.hpp
include/opencv4/opencv2/core/hal/intrin_rvv071.hpp
include/opencv4/opencv2/core/hal/intrin_rvv_scalable.hpp
include/opencv4/opencv2/core/hal/intrin_sse.hpp
include/opencv4/opencv2/core/hal/intrin_sse_em.hpp
include/opencv4/opencv2/core/hal/intrin_vsx.hpp
@ -237,6 +239,10 @@ include/opencv4/opencv2/ml/ml.hpp
include/opencv4/opencv2/ml/ml.inl.hpp
include/opencv4/opencv2/objdetect/
include/opencv4/opencv2/objdetect.hpp
include/opencv4/opencv2/objdetect/aruco_board.hpp
include/opencv4/opencv2/objdetect/aruco_detector.hpp
include/opencv4/opencv2/objdetect/aruco_dictionary.hpp
include/opencv4/opencv2/objdetect/charuco_detector.hpp
include/opencv4/opencv2/objdetect/detection_based_tracker.hpp
include/opencv4/opencv2/objdetect/face.hpp
include/opencv4/opencv2/objdetect/objdetect.hpp
@ -347,7 +353,7 @@ share/opencv4/haarcascades/haarcascade_frontalface_alt_tree.xml
share/opencv4/haarcascades/haarcascade_frontalface_default.xml
share/opencv4/haarcascades/haarcascade_fullbody.xml
share/opencv4/haarcascades/haarcascade_lefteye_2splits.xml
share/opencv4/haarcascades/haarcascade_licence_plate_rus_16stages.xml
share/opencv4/haarcascades/haarcascade_license_plate_rus_16stages.xml
share/opencv4/haarcascades/haarcascade_lowerbody.xml
share/opencv4/haarcascades/haarcascade_profileface.xml
share/opencv4/haarcascades/haarcascade_righteye_2splits.xml