-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[OpenCV] upgrade to v4.5.5 #22801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[OpenCV] upgrade to v4.5.5 #22801
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
c332e63
[OpenCV4] update to v4.5.5
cenit b204659
[OpenCV] bump version
cenit d885118
[gstreamer] fix build for opencv
cenit a7c30af
fix references
cenit 0250b18
[vcpkg-tool-meson] fix nuget packaging
cenit 5044c26
fix references
cenit 21e8708
Merge branch 'master' into dev/cenit/opencv455
cenit 0016991
[gstreamer] fix references
cenit 59e6fc3
[ogre] update vcpkg tools
cenit da30ffd
fix references
cenit 4d989fc
[OpenCV4] fixes from CI runs
cenit 2278dc1
fix references
cenit 413baa5
[OpenCV4] force python module also in debug builds
cenit 9040a9c
fix references
cenit 0325a00
[harfbuzz] fix cmake config
cenit e8631a7
harfbuzz fixes
cenit bafeff7
fix references
cenit af48227
[OpenCV4] remove unnecessary lines from patches
cenit 1aa6f6d
fix references
cenit b1866d5
fix references
cenit fb2e629
Merge branch 'master' into dev/cenit/opencv455
cenit 8e95e3c
[harfbuzz] bump version
cenit e2a2d38
[harfbuzz] fix for single config builds
cenit bbfb1ca
fix references
cenit 2fac3f8
freetype fixes
cenit f4bd5e6
fix references
cenit f3adaa3
merge with master
cenit dc7c66f
fix ogre references
cenit 87bde55
fix references, again
cenit 952144d
Merge branch 'master' into dev/cenit/opencv455
cenit c8b1002
python when building static windows opencv libraries is unsupported
cenit 13c15a5
fix references
cenit 9c944f5
fix
cenit b8ddb09
refs
cenit ed4dfbb
use required when necessary
cenit 25f4af0
Merge branch 'master' into dev/cenit/opencv455
cenit 51014f4
fix references
cenit 0fc913a
do not use config for hdf5, use internal module
cenit f43bb49
fix references
cenit 2290d8e
use proper spelling for freetype config cmake
cenit b7be1ea
fix references
cenit ad9320c
Merge branch 'master' into dev/cenit/opencv455
cenit 22017aa
Merge branch 'master' into dev/cenit/opencv455
cenit af12572
[OpenCV] restore versions after merge
cenit 739f167
fix references
cenit 8656761
[leptonica] fix building
cenit 4e8b2aa
fix references
cenit 017a5ad
Merge branch 'master' into dev/cenit/opencv455
cenit 1dbff25
Merge branch 'master' into dev/cenit/opencv455
cenit 26b7704
do not require package in optional features
cenit f122fa9
£fix references
cenit 520cf16
Merge branch 'master' into dev/cenit/opencv455
cenit 3ab5bd2
fix python feat
cenit 4428c15
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/…
abe9e93
update version
e3fe1cf
update version
73d388e
[ffmpeg] remove opengl feat on arm64-windows
cenit 72e2042
format manifest
cenit 6c8cda1
fix references
cenit 7701e12
Merge branch 'master' into dev/cenit/opencv455
cenit 03d0cc2
fix cuda/nvidia features compatibility matrix
cenit 1e9a1e5
fix manifest
cenit 1d65522
fix
cenit 133e2eb
fix
cenit 9e22496
fix references
cenit bca0f99
fix references, again
cenit 9d6b3f2
move CONTROL to manifest
cenit 30c2583
Merge branch 'master' into dev/cenit/opencv455
cenit 57670da
Merge branch 'master' into dev/cenit/opencv455
cenit ac78ec8
[gstreamer] bump versions
cenit a25c71e
fix references
cenit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| { | ||
| "name": "cuda", | ||
| "version-string": "10.1", | ||
| "port-version": 8, | ||
| "port-version": 9, | ||
| "description": "A parallel computing platform and programming model", | ||
| "homepage": "https://developer.nvidia.com/cuda-toolkit" | ||
| "homepage": "https://developer.nvidia.com/cuda-toolkit", | ||
| "supports": "linux | (!osx & !uwp & !(arm64 & windows))" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| { | ||
| "name": "ffnvcodec", | ||
| "version": "11.1.5.0", | ||
| "port-version": 1, | ||
| "description": "FFmpeg version of Nvidia Codec SDK headers.", | ||
| "homepage": "https://github.com/FFmpeg/nv-codec-headers", | ||
| "supports": "(windows | linux) & !uwp" | ||
| "supports": "linux | (!osx & !uwp & !(arm64 & windows))" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,39 @@ | ||
| diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
| index e474463..d2b999d 100644 | ||
| --- a/src/CMakeLists.txt | ||
| +++ b/src/CMakeLists.txt | ||
| @@ -14,7 +14,6 @@ if (MSVC) | ||
| set_source_files_properties(${src} PROPERTIES LANGUAGE CXX) | ||
| endif() | ||
|
|
||
| -string(REPLACE "-O3" "-O2" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}") | ||
|
|
||
| add_library (leptonica ${src} ${hdr}) | ||
| set_target_properties (leptonica PROPERTIES VERSION ${VERSION_PLAIN}) | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -58,20 +58,19 @@ if(UNIX) | ||
| endif() | ||
|
|
||
| if(NOT SW_BUILD) | ||
| - find_package(GIF) | ||
| - find_package(JPEG) | ||
| - find_package(PNG) | ||
| - find_package(TIFF) | ||
| - find_package(ZLIB) | ||
| + find_package(GIF REQUIRED) | ||
| + find_package(JPEG REQUIRED) | ||
| + find_package(PNG REQUIRED) | ||
| + find_package(TIFF REQUIRED) | ||
| + find_package(ZLIB REQUIRED) | ||
| find_package(PkgConfig) | ||
| + find_package(OpenJPEG REQUIRED) | ||
| if (PKG_CONFIG_FOUND) | ||
| pkg_check_modules(WEBP libwebp QUIET) | ||
| pkg_check_modules(WEBPMUX libwebpmux>=${MINIMUM_WEBPMUX_VERSION} QUIET) | ||
| - pkg_check_modules(JP2K libopenjp2>=2.0 QUIET) | ||
| endif() | ||
| if(NOT WEBP) | ||
| - find_path(WEBP_INCLUDE_DIR /webp/decode.h) | ||
| - find_library(WEBP_LIBRARY NAMES webp) | ||
| + find_package(WebP CONFIG REQUIRED) | ||
| if (WEBP_INCLUDE_DIR AND WEBP_LIBRARY) | ||
| set(WEBP 1) | ||
| set(WEBP_FOUND TRUE) | ||
| @@ -213,7 +212,7 @@ include(Configure) | ||
|
|
||
| configure_file(${AUTOCONFIG_SRC} ${AUTOCONFIG} @ONLY) | ||
|
|
||
| -set(INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/include" "${CMAKE_INSTALL_PREFIX}/include/leptonica") | ||
| +set(INCLUDE_DIR "\${CMAKE_CURRENT_LIST_DIR}/../../include" "\${CMAKE_CURRENT_LIST_DIR}/../../include/leptonica") | ||
|
|
||
| ############################################################################### | ||
| # |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- a/src/CMakeLists.txt | ||
| +++ b/src/CMakeLists.txt | ||
| @@ -14,7 +14,6 @@ if (MSVC) | ||
| set_source_files_properties(${src} PROPERTIES LANGUAGE CXX) | ||
| endif() | ||
|
|
||
| -string(REPLACE "-O3" "-O2" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}") | ||
|
|
||
| add_library (leptonica ${src} ${hdr}) | ||
| set_target_properties (leptonica PROPERTIES VERSION ${VERSION_PLAIN}) | ||
| @@ -52,7 +52,7 @@ if (TIFF_LIBRARIES) | ||
| endif() | ||
| if (WEBP_FOUND) | ||
| target_include_directories (leptonica PUBLIC ${WEBP_INCLUDE_DIRS}) | ||
| - target_link_libraries (leptonica ${WEBP_LIBRARIES}) | ||
| + target_link_libraries (leptonica WebP::webp WebP::libwebpmux) | ||
| endif() | ||
| if (ZLIB_LIBRARIES) | ||
| target_include_directories (leptonica PUBLIC ${ZLIB_INCLUDE_DIRS}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.