pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/opencv-contrib-face/patches



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jan  5 02:54:19 UTC 2026

Added Files:
        pkgsrc/graphics/opencv-contrib-face/patches:
            patch-.._opencv__contrib-4.13.0_modules_face_CMakeLists.txt
Removed Files:
        pkgsrc/graphics/opencv-contrib-face/patches:
            patch-.._opencv__contrib-4.12.0_modules_face_CMakeLists.txt

Log Message:
opencv-contrib-face: rename patch after update


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/graphics/opencv-contrib-face/patches/patch-.._opencv__contrib-4.12.0_modules_face_CMakeLists.txt
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/opencv-contrib-face/patches/patch-.._opencv__contrib-4.13.0_modules_face_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/opencv-contrib-face/patches/patch-.._opencv__contrib-4.13.0_modules_face_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/opencv-contrib-face/patches/patch-.._opencv__contrib-4.13.0_modules_face_CMakeLists.txt:1.1
--- /dev/null   Mon Jan  5 02:54:19 2026
+++ pkgsrc/graphics/opencv-contrib-face/patches/patch-.._opencv__contrib-4.13.0_modules_face_CMakeLists.txt     Mon Jan  5 02:54:19 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-.._opencv__contrib-4.13.0_modules_face_CMakeLists.txt,v 1.1 2026/01/05 02:54:19 wiz Exp $
+
+Do not download files during build, let pkgsrc provide it.
+
+--- ../opencv_contrib-4.13.0/modules/face/CMakeLists.txt.orig  2025-02-07 17:04:23.284140051 +0000
++++ ../opencv_contrib-4.13.0/modules/face/CMakeLists.txt
+@@ -8,20 +8,6 @@ ocv_define_module(face opencv_core
+ )
+ # NOTE: objdetect module is needed for one of the samples
+ 
+-set(__commit_hash "8afa57abc8229d611c4937165d20e2a2d9fc5a12")
+-set(__file_hash "7505c44ca4eb54b4ab1e4777cb96ac05")
+-ocv_download(
+-    FILENAME face_landmark_model.dat
+-    HASH ${__file_hash}
+-    URL
+-      "${OPENCV_FACE_ALIGNMENT_URL}"
+-      "$ENV{OPENCV_FACE_ALIGNMENT_URL}"
+-      "https://raw.githubusercontent.com/opencv/opencv_3rdparty/${__commit_hash}/";
+-    DESTINATION_DIR "${CMAKE_BINARY_DIR}/${OPENCV_TEST_DATA_INSTALL_PATH}/cv/face/"
+-    ID "data"
+-    RELATIVE_URL
+-    STATUS res
++file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/face_landmark_model.dat
++        DESTINATION ${CMAKE_BINARY_DIR}/${OPENCV_TEST_DATA_INSTALL_PATH}/cv/face/input.txt
+ )
+-if(NOT res)
+-  message(WARNING "Face: Can't get model file for face alignment.")
+-endif()



Home | Main Index | Thread Index | Old Index