head	1.55;
access;
symbols
	pkgsrc-2026Q1:1.55.0.2
	pkgsrc-2026Q1-base:1.55
	pkgsrc-2025Q4:1.53.0.2
	pkgsrc-2025Q4-base:1.53
	pkgsrc-2025Q3:1.52.0.2
	pkgsrc-2025Q3-base:1.52
	pkgsrc-2025Q2:1.47.0.2
	pkgsrc-2025Q2-base:1.47
	pkgsrc-2025Q1:1.45.0.2
	pkgsrc-2025Q1-base:1.45
	pkgsrc-2024Q4:1.42.0.2
	pkgsrc-2024Q4-base:1.42
	pkgsrc-2024Q3:1.41.0.2
	pkgsrc-2024Q3-base:1.41
	pkgsrc-2024Q2:1.39.0.2
	pkgsrc-2024Q2-base:1.39
	pkgsrc-2024Q1:1.37.0.2
	pkgsrc-2024Q1-base:1.37
	pkgsrc-2023Q4:1.35.0.2
	pkgsrc-2023Q4-base:1.35
	pkgsrc-2023Q3:1.30.0.2
	pkgsrc-2023Q3-base:1.30
	pkgsrc-2023Q2:1.29.0.2
	pkgsrc-2023Q2-base:1.29
	pkgsrc-2023Q1:1.25.0.2
	pkgsrc-2023Q1-base:1.25
	pkgsrc-2022Q4:1.24.0.6
	pkgsrc-2022Q4-base:1.24
	pkgsrc-2022Q3:1.24.0.4
	pkgsrc-2022Q3-base:1.24
	pkgsrc-2022Q2:1.24.0.2
	pkgsrc-2022Q2-base:1.24
	pkgsrc-2022Q1:1.23.0.4
	pkgsrc-2022Q1-base:1.23
	pkgsrc-2021Q4:1.23.0.2
	pkgsrc-2021Q4-base:1.23
	pkgsrc-2021Q3:1.20.0.2
	pkgsrc-2021Q3-base:1.20
	pkgsrc-2021Q2:1.19.0.10
	pkgsrc-2021Q2-base:1.19
	pkgsrc-2021Q1:1.19.0.8
	pkgsrc-2021Q1-base:1.19
	pkgsrc-2020Q4:1.19.0.6
	pkgsrc-2020Q4-base:1.19
	pkgsrc-2020Q3:1.19.0.4
	pkgsrc-2020Q3-base:1.19
	pkgsrc-2020Q2:1.19.0.2
	pkgsrc-2020Q2-base:1.19
	pkgsrc-2020Q1:1.17.0.2
	pkgsrc-2020Q1-base:1.17
	pkgsrc-2019Q4:1.16.0.4
	pkgsrc-2019Q4-base:1.16
	pkgsrc-2019Q3:1.15.0.4
	pkgsrc-2019Q3-base:1.15
	pkgsrc-2019Q2:1.15.0.2
	pkgsrc-2019Q2-base:1.15
	pkgsrc-2019Q1:1.13.0.10
	pkgsrc-2019Q1-base:1.13
	pkgsrc-2018Q4:1.13.0.8
	pkgsrc-2018Q4-base:1.13
	pkgsrc-2018Q3:1.13.0.6
	pkgsrc-2018Q3-base:1.13
	pkgsrc-2018Q2:1.13.0.4
	pkgsrc-2018Q2-base:1.13
	pkgsrc-2018Q1:1.13.0.2
	pkgsrc-2018Q1-base:1.13
	pkgsrc-2017Q4:1.12.0.2
	pkgsrc-2017Q4-base:1.12
	pkgsrc-2017Q3:1.11.0.4
	pkgsrc-2017Q3-base:1.11
	pkgsrc-2017Q2:1.10.0.2
	pkgsrc-2017Q2-base:1.10
	pkgsrc-2017Q1:1.9.0.2
	pkgsrc-2017Q1-base:1.9
	pkgsrc-2016Q4:1.7.0.2
	pkgsrc-2016Q4-base:1.7
	pkgsrc-2016Q3:1.6.0.6
	pkgsrc-2016Q3-base:1.6
	pkgsrc-2016Q2:1.6.0.4
	pkgsrc-2016Q2-base:1.6
	pkgsrc-2016Q1:1.6.0.2
	pkgsrc-2016Q1-base:1.6
	pkgsrc-2015Q4:1.2.0.2
	pkgsrc-2015Q4-base:1.2;
locks; strict;
comment	@# @;


1.55
date	2026.01.14.12.57.34;	author wiz;	state Exp;
branches;
next	1.54;
commitid	mRVqLEyNYbwWpmqG;

1.54
date	2026.01.05.02.53.36;	author wiz;	state Exp;
branches;
next	1.53;
commitid	5a93QEKCNVKLm9pG;

1.53
date	2025.09.21.15.11.40;	author wiz;	state Exp;
branches;
next	1.52;
commitid	nPOz5pyNJXIbRAbG;

1.52
date	2025.08.30.22.45.29;	author wiz;	state Exp;
branches;
next	1.51;
commitid	2izPxU30rhec4O8G;

1.51
date	2025.08.24.16.36.17;	author wiz;	state Exp;
branches;
next	1.50;
commitid	wJOv3iyFVPY0e08G;

1.50
date	2025.08.10.10.38.56;	author wiz;	state Exp;
branches;
next	1.49;
commitid	xiob7RH0pFDiHa6G;

1.49
date	2025.07.07.05.15.26;	author wiz;	state Exp;
branches;
next	1.48;
commitid	wcVX5TfvRCX20M1G;

1.48
date	2025.07.03.06.28.32;	author wiz;	state Exp;
branches;
next	1.47;
commitid	SQRUjRfmpeq7xg1G;

1.47
date	2025.05.01.12.37.07;	author wiz;	state Exp;
branches;
next	1.46;
commitid	23uD7XAUhEhdBcTF;

1.46
date	2025.04.24.14.14.33;	author wiz;	state Exp;
branches;
next	1.45;
commitid	A3VBjL8Zdd4LljSF;

1.45
date	2025.02.09.14.44.06;	author wiz;	state Exp;
branches;
next	1.44;
commitid	SkMxSaWBdCZ6UNIF;

1.44
date	2025.02.07.21.57.08;	author wiz;	state Exp;
branches;
next	1.43;
commitid	uRbaTdeeqjiImAIF;

1.43
date	2024.12.26.23.57.21;	author adam;	state Exp;
branches;
next	1.42;
commitid	uSVIHBdlvVRFp4DF;

1.42
date	2024.10.19.11.55.08;	author wiz;	state Exp;
branches;
next	1.41;
commitid	U7Ps5dGfGVGnBguF;

1.41
date	2024.09.21.10.24.29;	author wiz;	state Exp;
branches;
next	1.40;
commitid	5cJzOpsKBnHZZEqF;

1.40
date	2024.08.25.06.18.52;	author wiz;	state Exp;
branches;
next	1.39;
commitid	BcrSL94SO85mvanF;

1.39
date	2024.05.29.16.35.18;	author adam;	state Exp;
branches;
next	1.38;
commitid	n8aFyEjEVZA0JUbF;

1.38
date	2024.04.05.14.00.59;	author wiz;	state Exp;
branches;
next	1.37;
commitid	rk5q0M3dc1N8DX4F;

1.37
date	2024.01.30.18.29.18;	author adam;	state Exp;
branches;
next	1.36;
commitid	DUcJwa4dE7UMevWE;

1.36
date	2024.01.16.19.23.05;	author adam;	state Exp;
branches;
next	1.35;
commitid	wwhWJYlVlfzLYHUE;

1.35
date	2023.12.22.07.35.07;	author thor;	state Exp;
branches;
next	1.34;
commitid	RcajIgvK2sg8QqRE;

1.34
date	2023.11.15.20.00.39;	author wiz;	state Exp;
branches;
next	1.33;
commitid	SUsjExXUjRIxbKME;

1.33
date	2023.11.15.18.14.42;	author wiz;	state Exp;
branches;
next	1.32;
commitid	NOhTqnl0gAaTAJME;

1.32
date	2023.11.02.12.20.03;	author wiz;	state Exp;
branches;
next	1.31;
commitid	N5p8aLMMDOdr32LE;

1.31
date	2023.10.21.17.10.37;	author gdt;	state Exp;
branches;
next	1.30;
commitid	Sr0Nb6aaZLDw2wJE;

1.30
date	2023.08.14.05.24.36;	author wiz;	state Exp;
branches;
next	1.29;
commitid	LOSB79OLVxvXjIAE;

1.29
date	2023.06.06.08.02.12;	author wiz;	state Exp;
branches;
next	1.28;
commitid	XoDsX6VOzb8TpRrE;

1.28
date	2023.05.28.17.04.36;	author wiz;	state Exp;
branches;
next	1.27;
commitid	4lMsv3raFn7THKqE;

1.27
date	2023.05.07.12.33.43;	author wiz;	state Exp;
branches;
next	1.26;
commitid	0GXlv8T3qSZLS1oE;

1.26
date	2023.04.11.06.10.54;	author adam;	state Exp;
branches;
next	1.25;
commitid	66tNzTCdfDZnBEkE;

1.25
date	2023.01.03.17.36.26;	author wiz;	state Exp;
branches;
next	1.24;
commitid	vvAqE6UmuqFFx78E;

1.24
date	2022.04.03.18.50.17;	author adam;	state Exp;
branches;
next	1.23;
commitid	pljGusxaRu0gNMyD;

1.23
date	2021.11.11.12.02.46;	author kim;	state Exp;
branches;
next	1.22;
commitid	AkwcDVBn53lh8ngD;

1.22
date	2021.10.21.20.33.05;	author kim;	state Exp;
branches;
next	1.21;
commitid	PFyrj58kRQYXCIdD;

1.21
date	2021.10.06.21.10.24;	author adam;	state Exp;
branches;
next	1.20;
commitid	BlBCA7RmhNqJjNbD;

1.20
date	2021.08.15.14.23.58;	author wiz;	state Exp;
branches;
next	1.19;
commitid	QGMJIECqmX7bK45D;

1.19
date	2020.05.24.14.17.33;	author mef;	state Exp;
branches;
next	1.18;
commitid	uUW6fqHcJjuS6v9C;

1.18
date	2020.05.21.20.53.37;	author ryoon;	state Exp;
branches;
next	1.17;
commitid	IGb1V1euc2Xuo99C;

1.17
date	2020.03.01.15.49.09;	author leot;	state Exp;
branches;
next	1.16;
commitid	5styvrjRhrGdjIYB;

1.16
date	2019.12.16.08.24.39;	author adam;	state Exp;
branches;
next	1.15;
commitid	QXHthrrxK9IwiUOB;

1.15
date	2019.04.25.07.32.59;	author maya;	state Exp;
branches;
next	1.14;
commitid	1FEMQBEPb9uTxHkB;

1.14
date	2019.04.24.19.34.45;	author adam;	state Exp;
branches;
next	1.13;
commitid	ufHYOOmjLekzADkB;

1.13
date	2018.03.02.16.26.21;	author fhajny;	state Exp;
branches;
next	1.12;
commitid	upamFpjXGPGaZTsA;

1.12
date	2017.09.30.07.46.40;	author wiz;	state Exp;
branches;
next	1.11;
commitid	UAOnhRSOQzAU1c9A;

1.11
date	2017.09.04.15.23.49;	author fhajny;	state Exp;
branches;
next	1.10;
commitid	UcVmQyjHJObcoT5A;

1.10
date	2017.05.03.08.38.43;	author jperkin;	state Exp;
branches;
next	1.9;
commitid	oXB1pxkPDlAs8VPz;

1.9
date	2017.03.28.11.29.50;	author markd;	state Exp;
branches;
next	1.8;
commitid	1CAVflLzVXM0fjLz;

1.8
date	2017.02.28.15.20.06;	author ryoon;	state Exp;
branches;
next	1.7;
commitid	VGStpD9ALmxKpJHz;

1.7
date	2016.12.24.00.00.06;	author markd;	state Exp;
branches;
next	1.6;
commitid	PHP5TI9MWRQOrazz;

1.6
date	2016.03.29.10.08.08;	author markd;	state Exp;
branches;
next	1.5;
commitid	9GWCjlzh6569uw0z;

1.5
date	2016.02.25.08.27.03;	author jperkin;	state Exp;
branches;
next	1.4;
commitid	YcxXXIgYfdTxZgWy;

1.4
date	2016.02.24.17.33.48;	author fhajny;	state Exp;
branches;
next	1.3;
commitid	aA0s0zQzMLpI2cWy;

1.3
date	2016.01.06.10.46.52;	author adam;	state Exp;
branches;
next	1.2;
commitid	c3f90E8y8DmdnRPy;

1.2
date	2015.11.08.20.05.35;	author markd;	state Exp;
branches;
next	1.1;
commitid	S2XO2hxdC0KXlkIy;

1.1
date	2015.11.03.20.08.06;	author markd;	state Exp;
branches;
next	;
commitid	lLEKePbnM9NRwGHy;


desc
@@


1.55
log
@*: recursive bump for abseil-20260107.0 shlib version bump
@
text
@# $NetBSD: Makefile,v 1.54 2026/01/05 02:53:36 wiz Exp $

# can't use ninja because we only want to install parts of it
CMAKE_GENERATORS_INCOMPATIBLE=	ninja
INSTALL_DIRS=		modules/face modules/plot modules/tracking

PKGREVISION= 1
.include "../../graphics/opencv/Makefile.common"

DISTNAME=	opencv_contrib-${OPENCV_VERSION}
PKGNAME=	${DISTNAME:S/_contrib/-contrib-face/}
GITHUB_PROJECT=	opencv_contrib

MAINTAINER=	markd@@NetBSD.org
COMMENT=	OpenCV face recognition contributed module

DISTFILES=	${DEFAULT_DISTFILES} opencv-${PKGVERSION_NOREV}${EXTRACT_SUFX} opencv-${PKGVERSION_NOREV}_face_landmark_model.dat
# use the hash from modules/face/CMakeLists.txt
SITES.opencv-4.13.0_face_landmark_model.dat=	-https://raw.githubusercontent.com/opencv/opencv_3rdparty/8afa57abc8229d611c4937165d20e2a2d9fc5a12/face_landmark_model.dat

WRKSRC=		${WRKDIR}/opencv-${PKGVERSION_NOREV}

post-extract:
	${CP} ${WRKDIR}/opencv-${PKGVERSION_NOREV}_face_landmark_model.dat ${WRKDIR}/opencv_contrib-${PKGVERSION_NOREV}/modules/face/face_landmark_model.dat

CMAKE_CONFIGURE_ARGS+=		-DBUILD_DOCS=OFF
CMAKE_CONFIGURE_ARGS+=		-DWITH_FFMPEG=OFF
CMAKE_CONFIGURE_ARGS+=		-DWITH_JASPER=OFF

CMAKE_CONFIGURE_ARGS+=		-DOPENCV_EXTRA_MODULES_PATH=${WRKDIR}/${DISTNAME}/modules
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_adas=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_aruco=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_bgsegm=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_bioinspired=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_ccalib=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_contrib_world=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_cvv=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_datasets=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_dnn_objdetect=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_dpm=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_fuzzy=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_hdf=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_hfs=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_imgcodecs=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_img_hash=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_intensity_transforms=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_latentsvm=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_line_descriptor=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_matlab=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_optflow=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_phase_unwrapping=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_rapid=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_reg=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_rgbd=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_saliency=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_shape=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_signal=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_stereo=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_structured_light=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_surface_matching=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_text=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_xfeatures2d=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_ximgproc=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_xobjdetect=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_xphoto=OFF

CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_dnn=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_highgui=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_ml=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_python2=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_python3=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_stitching=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_superres=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_ts=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_videoio=OFF
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_videostab=OFF

# needed by face
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_objdetect=ON
# needed by objdetect
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_calib3d=ON
# needed by calib3d
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_features2d=ON
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_flann=ON
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_imgproc=ON
# needed by flann and objdetect
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_core=ON

# needed by tracking
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_video=ON

BUILDLINK_API_DEPENDS.opencv+=	opencv>=${PKGVERSION_NOREV}
.include "../../graphics/opencv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.54
log
@opencv*: update to 4.13

New Year update for OpenCV 4.x has been released.

    Core module:
        Modified Input/OutputArray methods to handle 'std::vector' or 'std::vector<std::vector>' in more accurate way #28242
        Made cuda::GpuMatND compatible with InputArray/OutputArray #23913
        Forced output type for empty matrices where it's defined in API #27972
        Added std::vector length check Input/OutputArray #27817
        Added 16-bit LUT and corresponding HAL entrypoint #27890, #27911
        Add cv::Mat::copyAt for for ROI operation #27318
        Extended JSON support in cv::FileStorage: null parsing #27579 and
        Added support parsing null in JSON parser in cv::FileStorage #27579 and back slash "" support #27587
        Fixed cv::solveCubic numerical instability via coefficient normalization #28117
        Fixed tempfile race condition on Windows #28087
        Restore parallel framework name on failure attempt #27802
        Dropped OPENCV_FOR_OPENMP_DYNAMIC_DISABLE environment variable in favor of standard OMP_DYNAMIC #28122
        Enabled fp16 conversions, but disabled NEON FP16 arithmetics on Windows for ARM #27897
        Fixed dot product accumulation causing NORM test failures on Windows ARM64 #28211
        Added several performance optimizations for Windows on ARM: #27575, #27596
        Fixed missing vec_cvfo on IBM POWER9 due to unavailable VSX float64 conversion #27990
        Fix in-place flip in HAL for RISC-V RVV #28180
        Added inRange HAL entry point #27854
        Disabled IPP with AVX512 in cv::compare because of performance regression #28311

    Imgproc module:
        Added Iterative Phase Correlation #28146, paper
        Added cv::minEnclosingConvexPolygon #27369
        Improved near-zero convexity handling in cv::convexHull #28043
        Kept cv::convexHull output indices monotone if possible #28163
        Fixed overflow in connected components #27582
        Corrected cv::minAreaRect to follow documentation (force angle to range [-90, 0)) #28051
        Increased minAreaRect accuracy with doubles #28149
        Added cv::CLAHE::BitShift option #28014
        Fixed cv::minEnclosingCircle #27904, #27914
        Fixed standard cv::HoughLines output shift for rho. #27992
        Fixed LINE_4/LINE_8 swap in cv::drawContours #28088
        Fixed bug in approxPolyDP: calculate distance to a segment, not to a line #28119
        Various performance optimizations for Gaussian Blur, including AVX512 #27795 and blur #27822, bilateralFilter #27433.
        Added CV_SIMD_SCALABLE branch to pointSetBoundingRect #27479
        Added Canny, Scharr and Sobel for riscv-rvv hal #27378
        Optimized ThickLine() for distant points #27366
        Fixed heap-buffer-overflow in stackBlur #28233 #28250
        Fixed the out-of-bounds read in cv::bilateralFilter for 32f images #28259
        Fixed memory leak in ipp_warp function #27532
        Set limitation to IPP Bilateral Filter tiles number to avoid too small tiles #27720
        Fixed incorrect implementation of multi-threaded call for warp perspective in IPP HAL #27903
        Added stateless HAL for filters and morphology #28208

    Imgcodecs module:
        Extended metadata support in Jpeg (ICCP and XMP) #27583, PNG and WebP #27503, cICP field in PNG #27741, AVIF (XMP) #27506, #28072.
        Added OpenEXR multispectral read/write support #27485
        Added strict validation for encoding parameters #27621, #27769
        Relaxed decoding size limit to over 1 GiB for several formats #27811, #27976
        Added IMWRITE_PNG_ZLIBBUFFER_SIZE option support for PNG #27551, #27615
        Fixed memory leak in WebP backend #27849
        Added workaround for image flipping bug in older GDAL FITS drivers #27919
        Added support for 32bpp BMP with BI_BITFIELDS #27559
        Fixed several overflow and out-of-bound access issues in BMP #28040, #27847
        Fixed potential crashes in PNG found by fuzzer. Namely 429429085, 429645379, 430091585 #27529
        Fixed several potential overflows and error handling mistakes in PNG #28249, #28196, 27750
        Fixed alpha handling for blending in PNG format #27981
        Set matrixCoefficients to UNSPECIFIED for monochrome images in AVIF #28065
        Added safety checks for AVIF decoder and encoder #28200

    VideoIO module:
        Added option to open camera device by index through FFmpeg #27841, Added FFmpeg 8.0 support #27691, #27746
        Extended Orbbec SDK support: added timestamps #27610, options for custom fps and resolution #27629, camera distortion coefficients as API #27663
        Extended Aravis SDK support: allowed system-wide installation of SDK #28090, set default pixel format for cameras with unsupported format #28086
        Added macOS support for Orbbec Gemini330 camera #27930
        Fixed frame seeking with negative DTS values in FFMPEG backend #27878
        Fixed CvCapture_FFMPEG::setProperty(CAP_PROP_POS_*) followed by getProperty #27523
        Added Raspberry Pi 4 and 5 V4L2 Stateless HEVC Hardware Acceleration with FFmpeg #27453
        Optimized FFmpeg VideoCapture with swscale threads option #27755
        Fix return code from CvVideoWriter_FFMPEG::writeFrame() when encapsulating ##27737
        Added OPENCV_FFMPEG_SKIP_LOG_CALLBACK to preserve custom FFmpeg logging #27864
        Get code to compile without FFMPEG's libavdevice #27948
        catch _com_error exceptions to suppress debugger flooding #28073
        Fixed picture_sw object leak in ffmpeg backend with hardware codecs. #28283
        videoio(dshow): Fix incorrect mapping for White Balance Temperature (CAP_PROP_WB_TEMPERATURE) property #28202
        Fixes a crash on iOS when calling VideoWriter::release() in OpenCV 4.12.0 #28173.

    Features2D module:
        Fixed ORB inconsistency for masks with values differs from 255 #26366
        Fixed pointer arithmetic in BRISK corner traversal #28091
        Added heuristic to allocate buffer for FAST features depending on input image resolution #27657
        Optimized AGAST for Windows on ARM #27776
        Added FAST to RISC-V RVV HAL #27391

    Objdetect module:
        Added pixel-based confidence in ArUco marker detection #23190
        Improved multiple QR codes detection with QRCodeDetector::detectAndDecodeMulti #27787
        Fixed to prevent QR code decoding from throwing on degenerate source points #27837
        Fix QRCodeDetector::detectAndDecode crash in case of inconsistent detection #27877
        Remove floating point arithmetic from angle computation in QR codes #28157
        Speedup ChArUco by avoiding temporary copies #27820
        Fixed stack-use-after-scope errors in charuco detector #28285
        Used fast-path with INTER_LINEAR resize when ALGO_HINT_APPROX is used in HOG 27706

    DNN module:
        Added more layers support: ONNX randomNormalLike #28164, TFLite Minimum #28248, Maximum #28171
        Allowed protobuffer message to be compiled with LITE_RUNTIME #27960
        Fixed ONNX Convolution node parsing when kernel size is implicit #28282
        Fixed Windograd flag handling in convolution layer #28000
        Added NEON intrinsics implementation of fastGEMM1T function #27785
        Add SVE optimized fastGEMM1T function and SVE dispatch #28055
        Fixed heap-buffer-overflow in DNN NaryEltwiseLayer #28272
        Improved performance of softmax_3d with loop unrolling #27777

    Calib3d module:
        Added estimateTranslation2D() #27950
        Replaced Gao P3P with Ding P3P algorithm #27736
        Added QR decomposition option to stereoCalibrate #27920
        Improved fisheye::undistortPoints convergence #27993
        Fixed invalid memory access in USAC #27865
        Fixed out of bounds in calibrateAndNormalizePointsPnP #28009

    Stitching module:
        Fixed multiband blender memory leak 27333 #28085
        Pass warp parameters by value to avoid CUDA constant races #28118
        Optimized fast.cpp on Windows ARM with loop unrolling #27642

    HighGUI module:
        Fixed linking for HighGUI against Qt 6.9 and newer #27908
        Fixed Qt HighGUI lifecycle issue when external QApplication exists #28312
        Fixed memory leak in CvWindow Qt back-end #28102

    G-API module:
        Added G-API custom stream sources in Python #27276
        Implemented cfgEnsureNamedTensors option to OpenVINO Params #27549
        Implemented cfgClampOutputs option to OpenVINO Params #27600
        Renamed WorkloadType::notify() -> WorkloadType::set() #28299
        Added support to set workload type dynamically in both OpenVINO and ONNX OVEP #27460
        Fixed null pointer dereference in G-API stateful kernels #28137
        Updated deprecated ov::element::undefined #28127

    Video module:
        Added multichannel support for findTransformECC and computeECC #27524
        Add optional template mask for findTransformECC #27952
        Added optional Known Foreground Mask for Background Subtractors #27810
        Add setCoarsestScale to DISOpticalFlow #28217
        Fixed potential pointer overflow in Farnback optical flow #28226

    ML module:
        Fixed ml::KDTree::findNearest #27915

    Photo module:
        Added 16U and 32F support in merge functions in photo module #28168

    JavaScript bindings:
        Added option to wrap opencv_contrib into JS too #27828
        Fixed string property bindings in JS generator #27726
        Update helpers.js to include .delete #27613
        Added deep copy behavior for Mat.clone() #28216
        Removed deprecated DEMANGLE_SUPPORT option
        Tuned CONV_NR_FP32 size for WASM #27773
        Added large scalar kernel for fastconv #27723
        Fixed generation when returned class and function are in a namespace #27963
        Fixed JS bindings for namespaced Ptr factory return types #28143

    Python bindings:
        Tuned Python bindings for logging #27812
        Marked Feature2D.detectAndCompute mask as optional in Python type stubs #27544
        Marked distCoeffs/R/D as optional in calib3d functions #27564
        Added DLPACK support #27581, #27861
        Fixed memory leaks in pybindings #27738
        Add PathLike type hints for args annotated with CV_WRAP_FILE_PATH #27767
        Fixed memory leak in pyopencv_to for path-like objects #28047
        Tunned Python bindings: use export_name as resolved typename for AliasTypeNode #27997
        python: fix pytest-cov false warnings by using compile() with full file path in exec_file_wrapper #28093
        Fixed python scalar typing issues #27620
        Fixed bug in ifdef state machine in header parser for bindings #27393
        Wrap GridType field in cv::findCirclesGrid parameters structure #27689

    Java bindings:
        Introduced option to generate Java code with new Cleaners interface or old finalize() #28159
        Enabled Java wrapper generation for Vec4i #27567
        Added Java wrapper support for List<List> #27705, #27708

    Applications and Tools:
        Improved interactive calibration tool: added option to select camera backend #27546, extended calibration flags #27574, Improved preview for grayscale cameras #27628.
        Aligned calibration tools and samples output fields to make them reusable in further steps #27872
        Used calibration board imperfectness correction only for the cases where it's applicable #27571
        Added option to define Aruco index offset in pattern generator #27799
        Moved pattern generator to apps and rewrote tutorial #27833
        Fix charuco_board_pattern in generate_pattern.py #27876
        Updated Tutorial PSNR for identical images #27859

    Build:
        Integrated KleidiCV version 0.7 with Mac and Linux support (enabled by default) #28220, #27640, #27607.
        Integrated IPP ICV with AWX512 support.
        Fixed issues identified by PVS Studio #28167, #28185, #28198
        Added support MS Visual Studio 2026 support #28013
        Added CUDA 13.0 support #27636, #27668, #27537. Fixed compatibility issues with modern CUDA: #27522, #27734, #27889, #27949
        Fixed OpenBLAS detection #27778, #28052
        Added reproducible builds support by making host system version optional #27979
        Fixed build issue with some old GCC versions #27569
        Fixed unicode tracing symbols with QT #28128
        Fixed eigen diagnostics for versions after v3.4.0 #27536
        Added CMake define option to enforce IPP calls in IPP HAL #27925
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2025/09/21 15:11:40 wiz Exp $
d7 1
@


1.53
log
@*: recursive bump for openexr 3.4.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2025/08/30 22:45:29 wiz Exp $
a6 1
PKGREVISION= 4
d18 1
a18 1
SITES.opencv-4.12.0_face_landmark_model.dat=	-https://raw.githubusercontent.com/opencv/opencv_3rdparty/8afa57abc8229d611c4937165d20e2a2d9fc5a12/face_landmark_model.dat
@


1.52
log
@*: recursive bump for tiff growing lerc dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2025/08/24 16:36:17 wiz Exp $
d7 1
a7 1
PKGREVISION= 3
@


1.51
log
@*: recursive bump for abseil 20250814.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2025/08/10 10:38:56 wiz Exp $
d7 1
a7 1
PKGREVISION= 2
@


1.50
log
@*: recursive bump for imath 3.2.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2025/07/07 05:15:26 wiz Exp $
d7 1
a7 1
PKGREVISION= 1
@


1.49
log
@opencv*: update to 4.12.0

Summer update for OpenCV 4.x

    Core Module:
        Added user-defined logger callback #27154
        Added reinterpret() method to cv::Mat #25394
        Fixed empty ND-array construction #27362
        Fixed bug with int64 support for FileStorage #26846
        Fixed cv::meanStdDev overflow for large images #26867
        Useed HAL for cv::mean function too #26895
        Vectorized cv::normalize / cv::norm #26885
        Enabled SIMD_SCALABLE for exp and sqrt #26886
        vectorized normDiff with universal intrinsics #27042
        Refactored normDiff in hal_rvv and extended with support of more data types #27115
        Further vectorized copyTo with mask #27145
        Fix POWN OpenCL implementation #27274
        Restored legacy universal intrinsics operators in a separate header #27327
        Improved solveCubuc accuracy: #27331, #27347
        Deprecated copyData Parameter in cv::UMat construction from std::vector and always copy data #27408

    Imgproc Module:
        Optimized and reduced memory consumption in cv::findContours #26690, #26834
        Fixed integer overflow in cv::HoughLinesProbabilistic with very large input images #26744
        Fixed several potential overflows in image warping #26765, #26776
        Improved robustness for ellipse fitting #26773
        Added cv::THRESH_DRYRUN flag to get adaptive threshold values without input thresholding #26836
        Fixed cv::getPerspectiveTransform for singular case #26926
        Optimized bayer2Gray with universal intrinsics #26868
        Added optional mask to cv::threshold #26842
        Accelerated cv::remap calculation with multi-threading, when cv::WARP_INVERSE_MAP is used #27108
        Reworked HSV color conversion tables initialization in OpenCL branch to fix possible data raise #27287
        Fixed bilateral filter's sigma color and sigma space issue #27309
        Impoved performance of medianblur #27299
        Added cv::getClosestEllipsePoints function to get the closest point on an ellipse #26299
        Corrected IPP implementation for cv::distanceTransform results with single thread #27432
        Fixed cv::matchTemplate with mask crash #26703
        Added diamond structuring element to morphology operations #27441, #27492
        Improved cv::intersectConvexConvex accuracy in corner cases #26974

    Calib3d module:
        Fixed inliers updating in homography estimation #26742
        Added cv::solvePnPRansac implementation for the fisheye camera model #26669
        Fixed different marker ordering with cv::findChessboardCornersSBWithMeta and cv::CALIB_CB_LARGER flag.
        Fixed logical mistake in FilterSpecklesImpl #26996
        Optimized undistort points for the fisheye camera model #26988
        Optimized new camera matrix estimation and some related functions #27001
        Added warning if projected axes are out of camera frame in cv::drawAxes function #27311
        Added image dimension check to avoid StereoSGBM non-determinism #27305
        Fixed bugs in SQPNP orthogonalization and simplified column vectors copying #27437

    DNN Module:
        Added TFLite StridedSllice (without strides but just Slice) and enable strides for TF importers #27273
        Added fusion handler of conv+eltwise in case of multi-output node (i.e. Split) #27326
        Added new ops import in TFLite parser: SUB, SQRT, DIV, NEG, SQUARED_DIFFERENCE, SUM #27307
        Fxied scalars and 1d tensors support in TFLite parser #27307
        Reduced mumber of NHWC<->NCHW conversions in TFLite parser #27307
        Added checks before getting latest pin in Net::Impl::getLatestLayerPin #27353
        Added OpenVINO NPU support #27363
        Added more operations to CANN backend #24756

    Objdetect module:
        Extend ArUcoDetector to run multiple dictionaries in an efficient manner #26934.
        Fixed rotated aruco marker board generation #26753
        Fixed incorrect Aruco marker detection near image edge #26968
        Fixed invalid vector access in QR de/encoder #26532
        Fix QR code encoder with auto version #27244
        Aded QRCode ECI encoding support #24426, #27486
        Made ChAruco board consistency check optional #26824

    Photo Module:
        Added 16-bit support to cv::fastNlMeansDenoising and updated tests #26831
        Local decolor pipeline optimization #27041
        Fixed Triangle Weights used by Debevec algorithm being non zero at extremes #27270
        Fixed NaNs in HDR Triangle Weights and Tonemapping and Update LDR Ground Truth in tutorial #27396

    VideoIO Module:
        Fixed invalid custom FFmpeg options handling provided with environment variable #26793
        Fixed default cv::CAP_PROP_ORIENTATION_ATUO behaviour #26800
        Improved camera opening performance when with DShow backed, if custom options are provided #26601
        Added zoom support into Android native camera capture #26837
        Fixed V4L frame size for non-BGR output #27193
        Added Orbbec Gemini 330 camera support #27230
        Fixed cv::VideoWriter failure on writing colorless images #27153
        Fixed Android setCameraIndex issue #27419

    Imgcodecs:
        Extended image I/O API with metadata support #27499
        Added in-memory animation encoding and decoding #27013
        Added hidden frame support for Animated PNG #27127
        Added GIF decode and encode for imgcodecs #25691, #26971, #26859, #26738, #26930, #27081, #27138, #27296
        Added animated WebP Support #25608, #27457
        Added GDAL multi-channel support #27458
        Fixed AVIF linkage on Windows #26762
        Significantly improved PNG and Animated PNG files handing #26849, #26739, #26748, #26782, #26832, #26835, #26848, #26851, #26854, #26915, #27040, #27087, #27297
        Added several fixes for libspng integration #27314
        Fixed memory leak in JpegXL decoder #26787
        Added support for cv::IMREAD_UNCHANGED and other ImreadFlags into JpegXL implementation #26788
        Implemented imdecode() for JpegXL to directly read from memory #26844
        Added lossless compression support for JpegXL #27384
        Fixed cv::imread() implementation for 16-bit png with libspng back-end #27113

    Highgui Module:
        displayOverlay doesn't disappear after timeout #27082
        Fix closing of windows when using the Qt backend #27170
        Fixed QT window resize regression #27282

    G-API module:
        Workaround for successfull append of OpenVINO Execution Provider: Moved creation of 'Ort::Env' before it #26983
        Adding AddRgbFeature(), and improving robustness in ComputeRgbDistance #26682
        Added MS Media Foundation availability check in G-API too #27355

    Video Module:
        Added trackers factory with pre-loaded dnn models #26875

    HAL:
        Extracted HAL implementations as dedicated folder #27252.
        Implemented new HAL for RISC-V RVV 1.0 platforms, see all changes by query
        Refactored OpenVX implementation as HAL #26903, #26911, #26907.
        Partially refactored Intel IPP integration as HAL #26880, #27125, #27128, #27194, #27213, #27346. Further IPP conversion will be continued in the next releases
        Fixed HALs dependency from thre cv namespace #26878
        Updated KleidiCV HAL for ARM to version 0.5
        Extended FastCV HAL for Qualcomm platforms #27217, #27216, #27184, #27182, #27033
        Added new HAL entries for cv::sum #27346, copyTo with mask #27162, cv::DFT and cv::DCT variations #26865, convert with scale #26804, cv::norm variations #26804, minMaxIdx with step support #26789, cv::calcHist #27332, cv::pyrUp #26958, more variations for cv::remap #27119

    Python, Java and JavaScript bindings:
        Added conditional inclusion support to header parser #27325, #27393, #27478
        Updated predefined_types.py #26826
        Added bindings for animations #26813
        Fix wrong python type hints for cv::imread #26890
        Replaced tostring() and fromstring() call in tests and samples for compatibility with modern Python #26932, #26949
        Replaced ndarray.ptp() with np.ptp() for NumPy 2.0 Compatibility #27133
        Extended Java bindings generation in DNN #27228, #27260, Features2d #27245
        Fixed std::vector<Point3f> handling in JS wrappers #27291
        Added cv::VideoCapture buffered stream constructor into Java #27284, #27421
        Extended bindings for cv::HoughLinesWithAccumulator #27377
        Fixed Kotlin 2.0 internal error for unsafe coercions #26354

    Platforms support:
        Fixed OpenBLAS detection on Linux #27029
        Fixed compatibility with CMake 4 #27192
        Fixed Android build with Vulkan support #26765
        Fixed VSX intrinsics (Power) implementation #26750, #26786
        Added CMake checks for getauxval and elf_aux_info for POWER architecture #26798
        Fixed build for openBSD #26803
        Added initial support for Nvidia Blackwell GPU arch in CUDA #26820
        Fixed cv namespace dependency in Carotene HAL #26878
        Fixed _DEBUG/NDEBUG handling across modules #26151
        Fixed build for QNX 7.0 #26985
        Switched to statically linked FastCV #26917, #27340 fixed build issues on Android #27345
        Forced C++17 Standard for CUDA targets when CUDA Toolkit >=12.8 #27112 #27142
        Fixed build for Windows ARM64EC #27416
        Fixed filesystem support under Cygwin environment #27484
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2025/07/03 06:28:32 wiz Exp $
d7 1
@


1.48
log
@*: recursive bump for abseil shlib major change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2025/05/01 12:37:07 wiz Exp $
a6 1
PKGREVISION= 3
d18 1
a18 1
SITES.opencv-4.11.0_face_landmark_model.dat=	-https://raw.githubusercontent.com/opencv/opencv_3rdparty/8afa57abc8229d611c4937165d20e2a2d9fc5a12/face_landmark_model.dat
@


1.47
log
@*: use CMAKE_GENERATORS_INCOMPATIBLE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2025/04/24 14:14:33 wiz Exp $
d7 1
a7 1
PKGREVISION= 2
@


1.46
log
@*: recursive bump for jpeg -> libjpeg-turbo switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2025/02/09 14:44:06 wiz Exp $
d4 1
a4 1
CMAKE_GENERATOR=	make
@


1.45
log
@*: recursive bump for abseil 20250127.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2025/02/07 21:57:08 wiz Exp $
d7 1
a7 1
PKGREVISION= 1
@


1.44
log
@opencv-contrib-face: update to 4.11.0.

To match opencv.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2023/01/03 17:36:26 wiz Exp $
d7 1
@


1.43
log
@revbump after devel/protobuf update
@
text
@d1 5
a5 1
# $NetBSD: Makefile,v 1.42 2024/10/19 11:55:08 wiz Exp $
a6 1
PKGREVISION= 6
d16 3
a18 1
DISTFILES=	${DEFAULT_DISTFILES} opencv-${PKGVERSION_NOREV}${EXTRACT_SUFX}
d20 1
a20 1
INSTALL_DIRS=	build/modules/face build/modules/plot build/modules/tracking
d22 2
a23 1
WRKSRC=		${WRKDIR}/opencv-${PKGVERSION_NOREV}
d25 3
a27 3
CMAKE_CONFIGURE_ARGS+=	-DBUILD_DOCS=OFF
CMAKE_CONFIGURE_ARGS+=	-DWITH_FFMPEG=OFF
CMAKE_CONFIGURE_ARGS+=	-DWITH_JASPER=OFF
d31 1
d39 2
d43 1
d45 1
d50 2
d55 4
a66 1
CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_flann=OFF
d77 13
a89 14
# At least as of 3.4.6, these are dependencies of the 'face' module
# and need to be built and installed ('photo' and 'video' are
# part of the main opencv package already
#CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_calib3d=OFF
#CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_features2d=OFF
#CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_photo=OFF
#CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_plot=OFF
#CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_tracking=OFF
#CMAKE_CONFIGURE_ARGS+=		-DBUILD_opencv_video=OFF

# XXX: INSTALL_DIRS currently do not work as desired in cmake/build.mk.
USE_CMAKE=	yes
pre-configure:
	${MKDIR} ${WRKSRC}/build
@


1.42
log
@*: recursive bump for openexr shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2024/09/21 10:24:29 wiz Exp $
d3 1
a3 1
PKGREVISION= 5
@


1.41
log
@*: recursive bump for protobuf 28.2

two static library became shared libraries - bump to be on the safe side
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2024/08/25 06:18:52 wiz Exp $
d3 1
a3 1
PKGREVISION= 4
@


1.40
log
@*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2024/05/29 16:35:18 adam Exp $
d3 1
a3 1
PKGREVISION= 3
@


1.39
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2024/04/05 14:00:59 wiz Exp $
d19 41
a59 41
CMAKE_ARGS+=	-DBUILD_DOCS=OFF
CMAKE_ARGS+=	-DWITH_FFMPEG=OFF
CMAKE_ARGS+=	-DWITH_JASPER=OFF

CMAKE_ARGS+=		-DOPENCV_EXTRA_MODULES_PATH=${WRKDIR}/${DISTNAME}/modules
CMAKE_ARGS+=		-DBUILD_opencv_adas=OFF
CMAKE_ARGS+=		-DBUILD_opencv_bgsegm=OFF
CMAKE_ARGS+=		-DBUILD_opencv_bioinspired=OFF
CMAKE_ARGS+=		-DBUILD_opencv_ccalib=OFF
CMAKE_ARGS+=		-DBUILD_opencv_contrib_world=OFF
CMAKE_ARGS+=		-DBUILD_opencv_cvv=OFF
CMAKE_ARGS+=		-DBUILD_opencv_datasets=OFF
CMAKE_ARGS+=		-DBUILD_opencv_dnn_objdetect=OFF
CMAKE_ARGS+=		-DBUILD_opencv_hdf=OFF
CMAKE_ARGS+=		-DBUILD_opencv_hfs=OFF
CMAKE_ARGS+=		-DBUILD_opencv_img_hash=OFF
CMAKE_ARGS+=		-DBUILD_opencv_latentsvm=OFF
CMAKE_ARGS+=		-DBUILD_opencv_line_descriptor=OFF
CMAKE_ARGS+=		-DBUILD_opencv_matlab=OFF
CMAKE_ARGS+=		-DBUILD_opencv_optflow=OFF
CMAKE_ARGS+=		-DBUILD_opencv_reg=OFF
CMAKE_ARGS+=		-DBUILD_opencv_rgbd=OFF
CMAKE_ARGS+=		-DBUILD_opencv_saliency=OFF
CMAKE_ARGS+=		-DBUILD_opencv_surface_matching=OFF
CMAKE_ARGS+=		-DBUILD_opencv_text=OFF
CMAKE_ARGS+=		-DBUILD_opencv_xfeatures2d=OFF
CMAKE_ARGS+=		-DBUILD_opencv_ximgproc=OFF
CMAKE_ARGS+=		-DBUILD_opencv_xobjdetect=OFF
CMAKE_ARGS+=		-DBUILD_opencv_xphoto=OFF

CMAKE_ARGS+=		-DBUILD_opencv_dnn=OFF
CMAKE_ARGS+=		-DBUILD_opencv_flann=OFF
CMAKE_ARGS+=		-DBUILD_opencv_highgui=OFF
CMAKE_ARGS+=		-DBUILD_opencv_ml=OFF
CMAKE_ARGS+=		-DBUILD_opencv_python2=OFF
CMAKE_ARGS+=		-DBUILD_opencv_python3=OFF
CMAKE_ARGS+=		-DBUILD_opencv_stitching=OFF
CMAKE_ARGS+=		-DBUILD_opencv_superres=OFF
CMAKE_ARGS+=		-DBUILD_opencv_ts=OFF
CMAKE_ARGS+=		-DBUILD_opencv_videoio=OFF
CMAKE_ARGS+=		-DBUILD_opencv_videostab=OFF
d64 6
a69 6
#CMAKE_ARGS+=		-DBUILD_opencv_calib3d=OFF
#CMAKE_ARGS+=		-DBUILD_opencv_features2d=OFF
#CMAKE_ARGS+=		-DBUILD_opencv_photo=OFF
#CMAKE_ARGS+=		-DBUILD_opencv_plot=OFF
#CMAKE_ARGS+=		-DBUILD_opencv_tracking=OFF
#CMAKE_ARGS+=		-DBUILD_opencv_video=OFF
@


1.38
log
@*: recursive bump for protobuf 26.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2024/01/30 18:29:18 adam Exp $
d3 1
a3 1
PKGREVISION= 2
@


1.37
log
@revbump for devel/abseil
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2024/01/16 19:23:05 adam Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.36
log
@opencv opencv-contrib-face: updated to 3.4.20

3.4.20
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2023/12/22 07:35:07 thor Exp $
d3 1
@


1.35
log
@opencv: version 3.4.17 with proper explicit BLAS (CBLAS + LAPACKE) usage

This does the small bugfix update from 3.4.16 to 3.4.17 and adds proper usage
of BLAS stuff. There was linkage to BLAS before via numpy, but the internal
explicit BLAS-using code was not built, as the CMake machinery did not find it.

This commit drops an actually counterproductive patch and adds pkg-config
calls to find the BLAS-related libraries. Note that vor opencv-contrib-face,
the BLAS choice during its build doesn't really enter the result, apparently,
but the build process does use it and it would not help to confuse matters there.

I am not sure if the buildlink3.mk should also add blas.buildlink3.mk now. It
does not feature numpy right now. Should it?

Next step should be move towards 4.x at least.

Upstream:

December, 2021

OpenCV 3.4.17 has been released. Bug fixes, optimizations and other enhancements
are propagated into OpenCV 4.5.5.

Long-lived OpenCV 3.x release series is here since 2015. We are going to reduce
support of 3.x branch in the future to move forward to OpenCV 5.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2023/11/15 20:00:39 wiz Exp $
d70 5
@


1.34
log
@*: bump for openexr 3.2.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2023/11/15 18:14:42 wiz Exp $
a2 1
PKGREVISION= 13
@


1.33
log
@*: bump for protobuf 25
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2023/11/02 12:20:03 wiz Exp $
d3 1
a3 1
PKGREVISION= 12
@


1.32
log
@*: recursive bump for protobuf
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2023/10/21 17:10:37 gdt Exp $
d3 1
a3 1
PKGREVISION= 11
@


1.31
log
@recursive revbump for tiff update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2023/08/14 05:24:36 wiz Exp $
d3 1
a3 1
PKGREVISION= 10
@


1.30
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2023/06/06 08:02:12 wiz Exp $
d3 1
a3 1
PKGREVISION= 9
@


1.29
log
@*: recursive bump for math/imath shlib version change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2023/05/28 17:04:36 wiz Exp $
d3 1
a3 1
PKGREVISION= 8
@


1.28
log
@*: recursive bump for imath shared library major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2023/05/07 12:33:43 wiz Exp $
d3 1
a3 1
PKGREVISION= 7
@


1.27
log
@*: recursive bumpf ro math/imath shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2023/04/11 06:10:54 adam Exp $
d3 1
a3 1
PKGREVISION= 6
@


1.26
log
@revbump for jasper 4.0.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2023/01/03 17:36:26 wiz Exp $
d3 1
a3 1
PKGREVISION= 5
@


1.25
log
@*: recursive bump for tiff shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2022/04/03 18:50:17 adam Exp $
d3 1
a3 1
PKGREVISION= 4
@


1.24
log
@revbump for devel/protobuf
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2021/11/11 12:02:46 kim Exp $
d3 1
a3 1
PKGREVISION= 3
@


1.23
log
@*: Revbump for protobuf-3.19.0

Fix for: Shared object "libprotobuf.so.29" not found
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2021/10/21 20:33:05 kim Exp $
d3 1
a3 1
PKGREVISION= 2
@


1.22
log
@*: Revbump for protobuf-3.18.0

Fix for: Shared object "libprotobuf.so.28" not found
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2021/10/06 21:10:24 adam Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.21
log
@opencv opencv-contrib-face: updated to 3.4.15

OpenCV 3.4.15 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.5.3.

Long-lived OpenCV 3.x release series is here since 2015. We are going to reduce support of 3.x branch in the future to move forward to OpenCV 5.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2021/08/15 14:23:58 wiz Exp $
d3 1
@


1.20
log
@*: recursive bump for openexr 3.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2020/05/24 14:17:33 mef Exp $
a2 1
PKGREVISION= 2
@


1.19
log
@(graphics/opencv-contrib-face) Fix build: Remove non-effective SUBST block
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2020/05/21 20:53:37 ryoon Exp $
d3 1
a3 1
PKGREVISION= 1
@


1.18
log
@*: Recursive revbump from graphics/ilmbase
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2020/03/01 15:49:09 leot Exp $
a14 9
# This is ugly, but we shouldn't let optional code download
# at configure time. Especially when it needs to be patched
# because of lame coding.
SUBST_CLASSES+=		tnn
SUBST_FILES.tnn=	${WRKDIR}/${DISTNAME}/modules/dnn_modern/CMakeLists.txt
SUBST_MESSAGE.tnn=	Disabling build-time fetch
SUBST_STAGE.tnn=	pre-configure
SUBST_SED.tnn=		-e 's,3.2,999,'

@


1.17
log
@opencv-contrib-face: Fix possible build failure when jasper is installed

When jasper is installed the build fails because it is accidentally recognized.

Discussed on pkgsrc-changes@@:

 https://mail-index.NetBSD.org/pkgsrc-changes/2020/02/16/msg206681.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2019/12/16 08:24:39 adam Exp $
d3 1
@


1.16
log
@opencv: updated to 3.4.8

version:3.4.8
OpenCV 3.4.8 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.1.2.

version:3.4.7
OpenCV 3.4.7 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.1.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2019/04/25 07:32:59 maya Exp $
d29 1
@


1.15
log
@PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2019/04/24 19:34:45 adam Exp $
a6 1
PKGREVISION=	1
@


1.14
log
@opencv: updated to 3.4.6

version:3.4.6
OpenCV 3.4.6 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.1.0.

version:3.4.5
OpenCV 3.4.5 has been released. Bug fixes, optimizations and other enhancements are propagated into OpenCV 4.0.1.

version:3.4.4
OpenCV 3.4.4 has been released. This is a mantenance release. New features are landed in OpenCV 4.0.

version:3.4.3
OpenCV 3.4.3 has been released, with further extended dnn module, documentation improvements, some other new functionality and bug fixes.

version:3.4.2
OpenCV 3.4.2 has been released, with further extended dnn module, documentation improvements, some other new functionality and bug fixes.
OpenCV 3.4.x development is switched from "master" to "3.4" branch. "master" branch is used for development of upcoming OpenCV 4.x releases.
Bugfixes / optimizations / small improvemets should go into "3.4" branch. We will merge changes from "3.4" into "master" regularly (weekly/bi-weekly).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2018/03/02 16:26:21 fhajny Exp $
d7 1
@


1.13
log
@graphics/opencv-contrib-face: Update to 3.4.1 to match graphics/opencv.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2017/09/30 07:46:40 wiz Exp $
d3 3
a5 1
DISTNAME=	opencv_contrib-3.4.1
a6 3
CATEGORIES=	graphics devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=Itseez/}
EXTRACT_SUFX=	.zip
a9 1
HOMEPAGE=	https://github.com/opencv/opencv/wiki
a10 3
LICENSE=	modified-bsd

DISTFILES=	${DEFAULT_DISTFILES} opencv-${PKGVERSION_NOREV}.zip
d12 1
a12 5
USE_CMAKE=		yes
USE_LANGUAGES=		c c++11
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake pkg-config
d25 1
a25 6
WRKSRC=		${WRKDIR}/opencv-${PKGVERSION_NOREV}/

PATCHDIR=	${.CURDIR}/../../graphics/opencv/patches

CMAKE_ARGS+=	-D WITH_FFMPEG=OFF
CMAKE_ARGS+=	-D BUILD_DOCS=OFF
d27 2
a28 6
# jasper uses SIZE_MAX and friends in its headers.
CXXFLAGS+=		-D__STDC_LIMIT_MACROS

CMAKE_ARGS+=		-DZLIB_ROOT=${BUILDLINK_PREFIX.zlib}
CMAKE_ARGS.SunOS+=	-DENABLE_PRECOMPILED_HEADERS=NO
CMAKE_ARGS+=		-DWITH_EIGEN=NO
d38 1
d40 2
d56 1
a57 1
CMAKE_ARGS+=		-DBUILD_opencv_videoio=OFF
d59 4
d65 1
a65 3
CMAKE_ARGS+=		-DBUILD_opencv_features2d=OFF
CMAKE_ARGS+=		-DBUILD_opencv_calib3d=OFF
CMAKE_ARGS+=		-DBUILD_opencv_stitching=OFF
a66 1
CMAKE_ARGS+=		-DBUILD_opencv_python2=OFF
d68 1
a68 1
# At least as of 3.4.1, these are dependencies of the 'face' module
d71 2
a77 11
CONFIGURE_ENV+=		MACHINE_ARCH=${MACHINE_ARCH}

CONFIGURE_DIRS+=	build
CMAKE_ARG_PATH=		${WRKSRC}

pre-configure:
	${MKDIR} -p ${WRKSRC}/build

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
a79 4
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
@


1.12
log
@opencv-contrib-face: Update HOMEPAGE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2017/09/04 15:23:49 fhajny Exp $
d3 1
a3 1
DISTNAME=	opencv_contrib-3.3.0
d32 1
a32 1
INSTALL_DIRS=	build/modules/face
a65 1
CMAKE_ARGS+=		-DBUILD_opencv_tracking=OFF
a71 2
CMAKE_ARGS+=		-DBUILD_opencv_photo=OFF
CMAKE_ARGS+=		-DBUILD_opencv_video=OFF
d82 8
@


1.11
log
@Update graphics/opencv to 3.3.0.
Sync opencv-contrib-face too.

Main changes:

- DNN module from opencv_contrib was promoted to the main repository,
  improved and accelerated it a lot. An external BLAS implementation is
  not needed anymore. For GPU there is experimental DNN acceleration using
  Halide (http://halide-lang.org).
- OpenCV can now be built as C++ 11 library using the flag ENABLE_CXX11.
  Some cool features for C++ 11 programmers have been added.
- We've also enabled quite a few AVX/AVX2 and SSE4.x optimizations in
  the default build of OpenCV thanks to the feature called 'dynamic
  dispatching'. The DNN module also has some AVX/AVX2 optimizations.
- Intel Media SDK can now be utilized by our videoio module to do
  hardware-accelerated video encoding/decoding. MPEG1/2, as well as
  H.264 are supported.
- Embedded into OpenCV Intel IPP subset has been upgraded from 2015.12
  to 2017.2 version, resulting in ~15% speed improvement in our core &
  imgproc perf tests.

Full release notes:

  https://github.com/opencv/opencv/wiki/ChangeLog
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2017/05/03 08:38:43 jperkin Exp $
d11 1
a11 1
HOMEPAGE=	http://code.opencv.org/projects/OpenCV/wiki/WikiStart
@


1.10
log
@Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2017/03/28 11:29:50 markd Exp $
d3 1
a3 1
DISTNAME=	opencv_contrib-3.2.0
d23 10
a32 1
INSTALL_DIRS=	modules/face
d87 6
@


1.9
log
@Update to 3.2 to match the updated opencv.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2017/02/28 15:20:06 ryoon Exp $
d18 1
a18 1
USE_LANGUAGES=		c c++
a31 5
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+=		-std=c++11
.endif

@


1.8
log
@Recursive revbump from graphics/libwebp
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2016/12/24 00:00:06 markd Exp $
d3 1
a3 1
DISTNAME=	opencv_contrib-3.1.0
a4 1
PKGREVISION=	1
@


1.7
log
@jasper fallout.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2016/03/29 10:08:08 markd Exp $
d5 1
@


1.6
log
@Don't try to use eigen if happens to find it.
Don't try to build hdf module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2016/02/25 08:27:03 jperkin Exp $
d37 3
@


1.5
log
@Remove manual OPSYSVARS additions which are now part of the default set.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2016/02/24 17:33:48 fhajny Exp $
d39 1
d49 1
@


1.4
log
@Update graphics/opencv-contrib-face to 3.1.0.

No opencv_face related changes mentioned in the changelog.
Lock this package to track graphics/oepncv version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2016/01/06 10:46:52 adam Exp $
a36 1
OPSYSVARS+=		CMAKE_ARGS
@


1.3
log
@Revbump after updating graphics/libwebp
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2015/11/08 20:05:35 markd Exp $
d3 2
a4 3
PKGNAME=	opencv-contrib-face-3.0.0
PKGREVISION=	1
DISTNAME=	opencv_contrib-3.0.0
d15 1
a15 1
DISTFILES=      ${DEFAULT_DISTFILES} opencv-3.0.0.zip
d25 1
a25 1
WRKSRC=		${WRKDIR}/opencv-3.0.0/
d41 1
a41 1
CMAKE_ARGS+=		-DOPENCV_EXTRA_MODULES_PATH=${WRKDIR}/opencv_contrib-3.0.0/modules
a64 1
CMAKE_ARGS+=		-DBUILD_opencv_ml=OFF
a66 1
CMAKE_ARGS+=		-DBUILD_opencv_imgcodecs=OFF
a68 1
CMAKE_ARGS+=		-DBUILD_opencv_objdetect=OFF
d82 1
@


1.2
log
@Set GITHUB_PROJECT so that fetch works properly.

Thanks joerg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2015/11/03 20:08:06 markd Exp $
d4 1
@


1.1
log
@Add opencv-contrib-face 3.0.0

The contributed face recognition module for OpenCV.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2015/10/08 17:45:59 fhajny Exp $
d8 1
@

