-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[sdl2-ttf] Update to 2.20.0 #25803
[sdl2-ttf] Update to 2.20.0 #25803
Conversation
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.
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/sdl2pp/vcpkg.json
Valid values for the license field can be found in the documentation
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.
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/sdl2pp/vcpkg.json
Valid values for the license field can be found in the documentation
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!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for sdl2pp have changed but the version was not updated
version: 0.16.1#3
old SHA: 968a4398351ee7c92eff8c7faa589a29bc37c29c
new SHA: 08d7511a09215e789ecc2089da277064d8856c75
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/sdl2pp/vcpkg.json
Valid values for the license field can be found in the documentation
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!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for tgui have changed but the version was not updated
version: 2021-04-19#4
old SHA: 736c8cb50817d42dcc0c89e48500a0d0a4e324db
new SHA: 358a25ecf600e7c91b8f485bff5316c66687ff84
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for sdl2pp have changed but the version was not updated
version: 0.16.1#3
old SHA: 968a4398351ee7c92eff8c7faa589a29bc37c29c
new SHA: 10d63d562dd2ab5cb84b83032eaf46c678a158e5
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/sdl2pp/vcpkg.json
Valid values for the license field can be found in the documentation
@dg0yt Is tgui CMake suggestion wrong? I don't think the
|
Welcome to vcpkg known issues: #20190. |
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!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for tgui have changed but the version was not updated
version: 2021-04-19#4
old SHA: 736c8cb50817d42dcc0c89e48500a0d0a4e324db
new SHA: 358a25ecf600e7c91b8f485bff5316c66687ff84
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for sdl2pp have changed but the version was not updated
version: 0.16.1#3
old SHA: 968a4398351ee7c92eff8c7faa589a29bc37c29c
new SHA: 612a3062d45a1aeefdbb00018590e3feb0e7d49b
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/sdl2pp/vcpkg.json
Valid values for the license field can be found in the documentation
@dg0yt I need some help with how to correctly import sdl2pp
tgui
|
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!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for tgui have changed but the version was not updated
version: 2021-04-19#4
old SHA: 736c8cb50817d42dcc0c89e48500a0d0a4e324db
new SHA: 358a25ecf600e7c91b8f485bff5316c66687ff84
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for sdl2pp have changed but the version was not updated
version: 0.16.1#3
old SHA: 968a4398351ee7c92eff8c7faa589a29bc37c29c
new SHA: c873c58d9affb77b15ee26fc08aef6a614d8e8ef
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/sdl2pp/vcpkg.json
Valid values for the license field can be found in the documentation
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!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for tgui have changed but the version was not updated
version: 2021-04-19#4
old SHA: 736c8cb50817d42dcc0c89e48500a0d0a4e324db
new SHA: 358a25ecf600e7c91b8f485bff5316c66687ff84
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for sdl2pp have changed but the version was not updated
version: 0.16.1#3
old SHA: 968a4398351ee7c92eff8c7faa589a29bc37c29c
new SHA: 59937851b307aed4705edc50749539566cbbc51b
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/sdl2pp/vcpkg.json
Valid values for the license field can be found in the documentation
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.
I still think the PR needs to be improved.
My comments are just hidden in "resolved" conversations... but not resolved IMO.
fda587d
Hi! First of all thank you for updating SDL TTF to 2.20.0. I don't see in new port files any dependency on HarfBuzz. SDL TTF has optional support for HarfBuzz since 2.0.18 but while this version wasn't ported in vcpkg it's easy to miss it. Can you add it as a feature in vcpkg port? |
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!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for sdl2pp have changed but the version was not updated
version: 0.16.1#4
old SHA: 0d0efed99dd39ca3bbf35b1b601b7aec4a82b55b
new SHA: 6ce1ada2f6c7eb64cfc6307884abaa1456f5ccaa
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
Please take |
@@ -164,6 +164,7 @@ set(PC_REQUIRES) | ||
set(BUILD_SHARED_LIBS OFF) | ||
|
||
if(SDL2TTF_HARFBUZZ) | ||
+ if(0) | ||
if(SDL2TTF_HARFBUZZ_VENDORED) | ||
message(STATUS "${PROJECT_NAME}: Using vendored harfbuzz library") | ||
# HB_BUILD_UTILS variable is used by harfbuzz | ||
@@ -190,11 +191,14 @@ if(SDL2TTF_HARFBUZZ) | ||
find_package(harfbuzz REQUIRED) | ||
list(APPEND PC_REQUIRES harfbuzz) | ||
endif() | ||
+ endif() | ||
+ find_package(harfbuzz REQUIRED) | ||
target_compile_definitions(SDL2_ttf PRIVATE TTF_USE_HARFBUZZ=1) | ||
target_link_libraries(SDL2_ttf PRIVATE harfbuzz::harfbuzz) | ||
endif() | ||
|
||
if(SDL2TTF_FREETYPE) | ||
+ if(0) | ||
if(SDL2TTF_FREETYPE_VENDORED) | ||
message(STATUS "${PROJECT_NAME}: Using vendored freetype library") | ||
# FT_DISABLE_ZLIB variable is used by freetype | ||
@@ -232,7 +236,11 @@ if(SDL2TTF_FREETYPE) | ||
find_package(Freetype REQUIRED) | ||
list(APPEND PC_REQUIRES freetype2) | ||
endif() | ||
+ endif() | ||
+ list(APPEND PC_REQUIRES freetype2) | ||
+ find_package(Freetype REQUIRED) | ||
target_link_libraries(SDL2_ttf PRIVATE Freetype::Freetype) | ||
+ | ||
endif() | ||
|
||
# Restore BUILD_SHARED_LIBS variable |
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.
The patching can be reduced to the pkg-config stuff by passing SDL2TTF_VENDORED=OFF
via OPTIONS
.
I close this PR because due to misleading/ incomplete code review and avoidable merge conflicts I'm no longer willing to work on this. Maybe @FrankXie05 can take over this PR again. |
I pick this up. |
Describe the pull request
What does your PR fix?
Fixes [sdl2-ttf] update to 2.20.0 #25661Based on @FrankXie05 's PR [sdl2-ttf] update to 2.20.0 #25713.
I fixed
pkgconf
filessdl2-ttf
I took over this PR because the old version of
sdl2-ttf
included a CVE.