-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[ffmpeg/opencv4] Update opencv4 feature dependency and remove ffmpeg feature 'postproc' from default feature #19358
Conversation
…feature 'postproc' from default feature
why not also to opencv2? |
@cenit, thanks for your review! The opencv2 has been updated. |
opecv4:x64-uwp and opencv4:arm-uwp failed with following failures, same bug reported by #19313, and this could be reproed on master locally.
|
@PhoebeHui is this valid also for #18827? if so, it might be a tiff recent update which broke downstream ports using it, because it was not a problem when that pr was completed |
Tiff changed its type system with 4.3.0 (to standard types!). I explicitly stated this in the update (#18187). That PR also include a fix to the single port which had the same issue: https://github.com/microsoft/vcpkg/pull/18187/files#diff-9693267cc3a0c0a25b5e19b706db8f4eee2ad2758d8645e5f3e3438ca98105bd Summary:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout be456649fd835f6d2d676b81886fb6a58d5b52da -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/o-/opencv2.json b/versions/o-/opencv2.json
index 36121fb..d983d36 100644
--- a/versions/o-/opencv2.json
+++ b/versions/o-/opencv2.json
@@ -5,11 +5,6 @@
"version": "2.4.13.7",
"port-version": 6
},
- {
- "git-tree": "425a3fc01ea3038e0ecea76415545ce30c75453f",
- "version": "2.4.13.4",
- "port-version": 6
- },
{
"git-tree": "50a5602ecab15fd1c36f0619a5fdbd4792eb1b23",
"version-string": "2.4.13.7",
again, just to be sure, isn't the same patch for tiff required also by opencv2 and not just opencv3 and opencv4? |
opencv2 doesn't support uwp, so I think we don't need to add that patch as well, @cenit, what do you think? |
yes, sorry you're right. This is a problem specific to uwp (which i still have to investigate because it looks suspicious it is found only on uwp). |
Yes. from https://github.com/microsoft/vcpkg/blob/master/ports/opencv2/portfile.cmake#L9, it looks opencv2 has other problems. |
i was referring to the tiff uwp patch, but yes, opencv2 has other problems too on uwp, so no reason to patch it for now (and also, i don't know anyone using opencv2 on uwp, so no need to make it work in future too) |
@BillyONeal, could you help merge this PR? |
can you please add the fix in this comment to this PR? @PhoebeHui |
# Conflicts: # versions/f-/ffmpeg.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout d306ab43c77c28d2f1d002093db6d4386cd7b333 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/f-/ffmpeg.json b/versions/f-/ffmpeg.json
index 83fe529..4fb6cbd 100644
--- a/versions/f-/ffmpeg.json
+++ b/versions/f-/ffmpeg.json
@@ -6,7 +6,7 @@
"port-version": 14
},
{
- "git-tree": "64bd86208925adf6521e3cf926734be757e2737d",
+ "git-tree": "26e3d87d6b3049b45355f36a34402b938d5b486d",
"version": "4.4",
"port-version": 13
},
I'm not sure I understand, that comment seems to indicate that there's a broken hash somewhere but I tried this locally without asset caching and it passed (as in the download succeeded and hash check passed) @cenit Do you want to block this change until that is applied? Thanks! |
cuda feature had a hash change, it would be nice to archive opencv 4.5.2 with a proper hash before going to 4.5.3 |
Updated! thanks @BillyONeal @dg0yt @cenit for your review! |
Thanks for your help folks! |
Fixes #19334
Changes: