[libjpeg-turbo] Upgraded to 2.1.0#18742
[libjpeg-turbo] Upgraded to 2.1.0#18742bobuc-havok wants to merge 32 commits intomicrosoft:masterfrom
Conversation
|
@bucurb ,Thanks for your pr ,could you please take a look: |
|
Related PR #15178 |
Update to latest
|
Thanks for your pr. |
|
| message(STATUS "CMAKE_BUILD_TYPE = ${CMAKE_BUILD_TYPE}") | ||
|
|
||
| message(STATUS "VERSION = ${VERSION}, BUILD = ${BUILD}") | ||
| +set(CMAKE_DEBUG_POSTFIX d) |
There was a problem hiding this comment.
There was a problem hiding this comment.
@PhoebeHui This rename was also done in the original port, I just made it a bit nicer and cross-platform. The original port file was just renaming on windows builds. If you look at the previous changes in this PR, I think sha tbcc7d5296af2cd3ff20ef6f894f4952da30e0c97 still has the original renames and is so much uglier :). Let me know how you want to proceed, happy to revert to what I had a few weeks ago.
There was a problem hiding this comment.
We'd like to remove it since the Upstream doesn't have it, and they refused to add 'set(CMAKE_DEBUG_POSTFIX "d") to their CMakeLists.txt', see libjpeg-turbo/libjpeg-turbo#293.
However we noticed the FindJPEG.cmake requires 'd' in debug library. We would confirm it with CMake team. See https://gitlab.kitware.com/cmake/cmake/-/merge_requests/1974
There was a problem hiding this comment.
No renames whatsoever. If required install a vcpkg-cmake-wrapper.cmake to fix the CMake search behavior
There was a problem hiding this comment.
This may also breaks the behavior of other configurators.
There was a problem hiding this comment.
See the progress in new CMake issue https://gitlab.kitware.com/cmake/cmake/-/issues/22481
There was a problem hiding this comment.
The following changes should be made in vcpkg:
- Remove patch fix-output-names.patch
- Remove the code to fix the name in libturbojpeg.pc in portfile.cmake
- Update the vcpkg-cmake-wrapper.cmake to find the libjpeg-turbo via cmake config.
There was a problem hiding this comment.
PR #19319 would fix this issue, and we would continue this PR when the PR#19319 merged.
|
@bucurb ,Can you please resolve the conflicts against master? |
|
@JonLiu1993 done. |
|
Depends on #19319. |
|
2.1.1 is out which fixes regression bugs, might be best to pick up that patch release here? https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.1.1 |
|
Shouldn't |
|
@bucurb,Could you please resolve the conflicts against master? |
|
@bucurb ,Is this PR being worked on? |
|
@JonLiu1993 sorry I won't have time to look after this PR for a while. |
|
If some PR depends on this, I asked the author for permission to modify. @bucurb |
|
@JackBoosY please go ahead and make changes if you need to - unfortunately I won't be able to work on this PR for a while |
|
@bucurb ,Could you please resolve the conflicts against master? |
|
@bucurb ,I temporarily close your pr, I will resubmit pr to update libjpeg-turbo |
Describe the pull request
What does your PR fix?
Fixes [libjpeg-turbo] update to 2.1.0 #18731
Which triplets are supported/not supported? Have you updated the CI baseline?
all previously supported, No
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
Yes./vcpkg x-add-version --alland committed the result?If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/