Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
9565a07
Make gtk4.4 build.
Berrysoft Oct 11, 2021
36e72b7
Update baseline for gtk
Berrysoft Oct 11, 2021
6fd26a9
Fix vcpkg version.
Berrysoft Oct 11, 2021
c37d4b6
Fix vcpkg version.
Berrysoft Oct 11, 2021
04e7d33
[gtk] Fix macos build.
Berrysoft Oct 11, 2021
3225d58
[gtk] Fix linux build.
Berrysoft Oct 11, 2021
8d4afab
[gtk] Add patches.
Berrysoft Oct 11, 2021
fa00182
[gtk] Bump versions - again
Berrysoft Oct 11, 2021
d642a2b
Fix macos patch.
Berrysoft Oct 11, 2021
f2e1049
Bump versions.
Berrysoft Oct 11, 2021
2845377
[OpenCV] update to v4.5.4 and v3.4.16
cenit Oct 11, 2021
093abe5
fix patches
cenit Oct 11, 2021
2889943
[OpenCV] fix references
cenit Oct 11, 2021
60d3c2d
fix patches
cenit Oct 11, 2021
1eeaeb2
update references
cenit Oct 11, 2021
6082ee7
Merge remote-tracking branch 'berrysoft/gtk4.4' into dev/cenit/opencv454
cenit Oct 12, 2021
f1cc381
add gstreamer support
cenit Oct 12, 2021
d967e1d
fix references
cenit Oct 12, 2021
ee86dfd
Merge branch 'master' into dev/cenit/opencv454
cenit Oct 12, 2021
1c13a22
fixes
cenit Oct 12, 2021
647b607
update references
cenit Oct 12, 2021
93da5e1
Install xdamage.
Berrysoft Oct 13, 2021
edbe630
Bump versions.
Berrysoft Oct 13, 2021
f7ee539
[fontconfig] disable doc building which is failing on bare linux
cenit Oct 13, 2021
37bd8cf
fix references
cenit Oct 13, 2021
a6f646e
Merge branch 'master' into dev/cenit/opencv454
cenit Oct 14, 2021
2cba5f9
[opencv] use qt6
cenit Oct 15, 2021
ff42e00
[opencv2] use newer approach to downstream dependency handling
cenit Oct 15, 2021
984cf45
fix references
cenit Oct 15, 2021
8a6619c
Add merged patch from upstream.
Berrysoft Oct 19, 2021
d51e889
[gtk] Bump version.
Berrysoft Oct 19, 2021
2708f9e
Merge branch 'master' into dev/cenit/opencv454
cenit Oct 19, 2021
9c51665
[OpenCV] restore using qt5
cenit Oct 19, 2021
a93c4a0
Merge branch 'dev/cenit/opencv454' of https://github.com/cenit/vcpkg …
cenit Oct 19, 2021
0923eec
[opencv] force qt5
cenit Oct 19, 2021
60876cc
update references
cenit Oct 19, 2021
c80e18d
use a different strategy to find qt5 dependency for downstream projects
cenit Oct 19, 2021
97b0fd6
fix references
cenit Oct 19, 2021
a51d8da
use a different strategy to find qt5 dependency for downstream projec…
cenit Oct 19, 2021
c1f91c4
fix references
cenit Oct 19, 2021
a1ff1d6
[opencv2] fix patches
cenit Oct 19, 2021
63fb544
fix references
cenit Oct 19, 2021
642d5a8
Update ports/fontconfig/vcpkg.json
cenit Oct 20, 2021
19098f8
fix references
cenit Oct 20, 2021
f55d24f
fix references, again
cenit Oct 20, 2021
886c443
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Oct 21, 2021
a50285b
add gtk to linux default features
cenit Oct 24, 2021
d860499
Merge branch 'dev/cenit/opencv454' of https://github.com/cenit/vcpkg …
cenit Oct 24, 2021
716f7e2
fix references
cenit Oct 24, 2021
e0d4357
[OpenCV2] fix cuda patch for newer cuda versions
cenit Oct 27, 2021
9089ada
fix references
cenit Oct 27, 2021
6e4cf24
[OpenCV2] add GTK feature
cenit Oct 27, 2021
0f06df0
fix references
cenit Oct 27, 2021
605ada1
Merge branch 'master' into dev/cenit/opencv454
cenit Oct 27, 2021
031b0d5
Merge branch 'master' into dev/cenit/opencv454
cenit Oct 30, 2021
de3f1e2
Merge branch 'master' into dev/cenit/opencv454
cenit Nov 11, 2021
b728514
[opencv2] bump port version
cenit Nov 11, 2021
fbac9b2
[opencv2] fix references
cenit Nov 11, 2021
434cee5
Merge remote-tracking branch 'berry/gtk4.4' into dev/cenit/opencv454
cenit Nov 11, 2021
4fda2e8
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Nov 11, 2021
7add91e
Delete duplicate install of libxdamage-dev
BillyONeal Nov 11, 2021
b9c9fcf
Merge branch 'master' into dev/cenit/opencv454
cenit Nov 15, 2021
80af62e
Merge branch 'master' into dev/cenit/opencv454
cenit Nov 16, 2021
9ede31b
Merge branch 'master' into dev/cenit/opencv454
cenit Nov 19, 2021
3f86345
[fontconfig] bump version
cenit Nov 19, 2021
75b888b
fix references
cenit Nov 19, 2021
a57396b
Merge remote-tracking branch 'berry/gtk4.4' into dev/cenit/opencv454
cenit Nov 19, 2021
7aba10e
Merge branch 'master' into dev/cenit/opencv454
cenit Nov 28, 2021
1875206
[fontconfig] bump version
cenit Nov 28, 2021
fcc6358
fix references
cenit Nov 28, 2021
1929cfd
move vcpkg-ci-opencv to manifest
cenit Nov 29, 2021
57a0b61
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Nov 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion ports/opencv/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opencv",
"version": "4.5.3",
"version": "4.5.4",
"description": "Computer vision library",
"homepage": "https://github.com/opencv/opencv",
"dependencies": [
Expand Down Expand Up @@ -114,6 +114,18 @@
}
]
},
"gtk": {
"description": "GTK support for opencv",
"dependencies": [
{
"name": "opencv4",
"default-features": false,
"features": [
"gtk"
]
}
]
},
"halide": {
"description": "Halide support for opencv",
"dependencies": [
Expand Down
11 changes: 0 additions & 11 deletions ports/opencv3/0011-fix-caffe-io.patch

This file was deleted.

9 changes: 4 additions & 5 deletions ports/opencv3/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ if (EXISTS "${CURRENT_INSTALLED_DIR}/share/opencv4")
message(FATAL_ERROR "OpenCV 4 is installed, please uninstall and try again:\n vcpkg remove opencv4")
endif()

set(OPENCV_VERSION "3.4.15")
set(OPENCV_VERSION "3.4.16")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO opencv/opencv
REF ${OPENCV_VERSION}
SHA512 775149e56f0aa94d53eb024404866380d97ce423ef1c8343ee8f12c1377e454ae182b2528e86949b5f7250e551d464bd1a5de2e2d9f0d0e1dd3dc188a1db790d
SHA512 2fa9243625309a1c12c916737c94f0e2f9566f0828469b148cc1683dd1b8db8d1d58f90a36cfcaa72052964a718929451f04cda5361d8b546a63da69217d040a
HEAD_REF master
PATCHES
0001-disable-downloading.patch
Expand All @@ -24,7 +24,6 @@ vcpkg_from_github(
0008-devendor-quirc.patch
0009-fix-protobuf.patch
0010-fix-uwp-tiff-imgcodecs.patch
0011-fix-caffe-io.patch
)

if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
Expand All @@ -51,6 +50,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"ffmpeg" WITH_FFMPEG
"flann" BUILD_opencv_flann
"gdcm" WITH_GDCM
"gtk" WITH_GTK
"halide" WITH_HALIDE
"jasper" WITH_JASPER
"jpeg" WITH_JPEG
Expand Down Expand Up @@ -118,7 +118,7 @@ if("contrib" IN_LIST FEATURES)
OUT_SOURCE_PATH CONTRIB_SOURCE_PATH
REPO opencv/opencv_contrib
REF ${OPENCV_VERSION}
SHA512 639f5f869d68014fcc5041f5fe890c98635610d8b26c9964721e2fbe74ce8a12aef8f305364ff024fe0086bf2e7252c4fdd00a5de08854fdcd285c0f4916125a
SHA512 31bd55617d3a54fa020d4255e463c90caf41e10136c82a05c24ee19890f0cdc4fc049136874841dc84037dedb0562471ea0345ab1dcd5ad8a5b0218f24ae9a35
HEAD_REF master
PATCHES
0007-fix-hdf5.patch
Expand Down Expand Up @@ -328,7 +328,6 @@ vcpkg_cmake_configure(
${FEATURE_OPTIONS}
-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON
-DHALIDE_ROOT_DIR=${CURRENT_INSTALLED_DIR}
-DWITH_GTK=OFF
-DWITH_IPP=${WITH_IPP}
-DWITH_MATLAB=OFF
-DWITH_MSMF=${WITH_MSMF}
Expand Down
9 changes: 7 additions & 2 deletions ports/opencv3/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "opencv3",
"version": "3.4.15",
"port-version": 3,
"version": "3.4.16",
"description": "computer vision library",
"homepage": "https://github.com/opencv/opencv",
"dependencies": [
Expand Down Expand Up @@ -100,6 +99,12 @@
"gdcm"
]
},
"gtk": {
"description": "GTK support for opencv",
"dependencies": [
"gtk"
]
},
"halide": {
"description": "Halide support for opencv",
"dependencies": [
Expand Down
14 changes: 7 additions & 7 deletions ports/opencv4/0004-fix-policy-CMP0057.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--- a/modules/videoio/CMakeLists.txt
+++ b/modules/videoio/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 3.3)
set(VIDEOIO_PLUGIN_LIST "" CACHE STRING "List of videoio backends to be compiled as plugins (ffmpeg, gstreamer, mfx, msmf or special value 'all')")
set(VIDEOIO_ENABLE_PLUGINS "ON" CACHE BOOL "Allow building and using of videoio plugins")
mark_as_advanced(VIDEOIO_PLUGIN_LIST VIDEOIO_ENABLE_PLUGINS)
--- a/modules/videoio/CMakeLists.txt
+++ b/modules/videoio/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 3.3)
set(VIDEOIO_ENABLE_PLUGINS_DEFAULT ON)
if(EMSCRIPTEN OR IOS OR WINRT)
set(VIDEOIO_ENABLE_PLUGINS_DEFAULT OFF)
44 changes: 22 additions & 22 deletions ports/opencv4/0008-devendor-quirc.patch
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -803,7 +803,7 @@ if(WITH_OPENVX)
endif()

if(WITH_QUIRC)
- add_subdirectory(3rdparty/quirc)
+ find_package(quirc CONFIG REQUIRED)
set(HAVE_QUIRC TRUE)
endif()

--- a/modules/objdetect/CMakeLists.txt
+++ b/modules/objdetect/CMakeLists.txt
@@ -2,7 +2,5 @@ set(the_description "Object Detection")
ocv_define_module(objdetect opencv_core opencv_imgproc opencv_calib3d WRAP java objc python js)

if(HAVE_QUIRC)
- get_property(QUIRC_INCLUDE GLOBAL PROPERTY QUIRC_INCLUDE_DIR)
- ocv_include_directories(${QUIRC_INCLUDE})
- ocv_target_link_libraries(${the_module} quirc)
+ ocv_target_link_libraries(${the_module} quirc::quirc)
endif()
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -810,7 +810,7 @@ if(WITH_OPENVX)
endif()
if(WITH_QUIRC)
- add_subdirectory(3rdparty/quirc)
+ find_package(quirc CONFIG REQUIRED)
set(HAVE_QUIRC TRUE)
endif()
--- a/modules/objdetect/CMakeLists.txt
+++ b/modules/objdetect/CMakeLists.txt
@@ -2,7 +2,5 @@ set(the_description "Object Detection")
ocv_define_module(objdetect opencv_core opencv_imgproc opencv_calib3d opencv_dnn WRAP java objc python js)
if(HAVE_QUIRC)
- get_property(QUIRC_INCLUDE GLOBAL PROPERTY QUIRC_INCLUDE_DIR)
- ocv_include_directories(${QUIRC_INCLUDE})
- ocv_target_link_libraries(${the_module} quirc)
+ ocv_target_link_libraries(${the_module} quirc::quirc)
endif()
13 changes: 0 additions & 13 deletions ports/opencv4/0011-fix-caffe-io.patch

This file was deleted.

5 changes: 2 additions & 3 deletions ports/opencv4/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (EXISTS "${CURRENT_INSTALLED_DIR}/share/opencv3")
message(FATAL_ERROR "OpenCV 3 is installed, please uninstall and try again:\n vcpkg remove opencv3")
endif()

set(OPENCV_VERSION "4.5.3")
set(OPENCV_VERSION "4.5.4")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
Expand All @@ -24,7 +24,6 @@ vcpkg_from_github(
0008-devendor-quirc.patch
0009-fix-protobuf.patch
0010-fix-uwp-tiff-imgcodecs.patch
0011-fix-caffe-io.patch
)

if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
Expand Down Expand Up @@ -53,6 +52,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"eigen" WITH_EIGEN
"ffmpeg" WITH_FFMPEG
"gdcm" WITH_GDCM
"gtk" WITH_GTK
"halide" WITH_HALIDE
"jasper" WITH_JASPER
"jpeg" WITH_JPEG
Expand Down Expand Up @@ -385,7 +385,6 @@ vcpkg_cmake_configure(
${FEATURE_OPTIONS}
-DCMAKE_DISABLE_FIND_PACKAGE_Halide=ON
-DHALIDE_ROOT_DIR=${CURRENT_INSTALLED_DIR}
-DWITH_GTK=OFF
-DWITH_IPP=${WITH_IPP}
-DWITH_MATLAB=OFF
-DWITH_MSMF=${WITH_MSMF}
Expand Down
9 changes: 7 additions & 2 deletions ports/opencv4/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "opencv4",
"version": "4.5.3",
"port-version": 3,
"version": "4.5.4",
"description": "computer vision library",
"homepage": "https://github.com/opencv/opencv",
"dependencies": [
Expand Down Expand Up @@ -102,6 +101,12 @@
"gdcm"
]
},
"gtk": {
"description": "GDCM support for opencv",
"dependencies": [
"gtk"
]
},
"halide": {
"description": "Halide support for opencv",
"dependencies": [
Expand Down
10 changes: 5 additions & 5 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4809,20 +4809,20 @@
"port-version": 2
},
"opencv": {
"baseline": "4.5.3",
"baseline": "4.5.4",
"port-version": 0
},
"opencv2": {
"baseline": "2.4.13.7",
"port-version": 6
},
"opencv3": {
"baseline": "3.4.15",
"port-version": 3
"baseline": "3.4.16",
"port-version": 0
},
"opencv4": {
"baseline": "4.5.3",
"port-version": 3
"baseline": "4.5.4",
"port-version": 0
},
"opendnp3": {
"baseline": "3.1.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/opencv.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "fc004ca8177b867e3e7ebba23c9ed66cd7f2fb18",
"version": "4.5.4",
"port-version": 0
},
{
"git-tree": "5b13218917e1efe74e37b28a13cfc8cc7572241e",
"version": "4.5.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/opencv3.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d203df7d68c5dd4915832eb2f803c755f1ad529d",
"version": "3.4.16",
"port-version": 0
},
{
"git-tree": "dee8e4cb055e92ed1708903f73dcca96b0793fe5",
"version": "3.4.15",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/opencv4.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c4ab37c0ccd8fc8cc603c27a8d475f9caf129e19",
"version": "4.5.4",
"port-version": 0
},
{
"git-tree": "d48f3aabd1d417854360efb92874f3b533f83966",
"version": "4.5.3",
Expand Down