Skip to content
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

sdl_ttf: and 2.20.2, bump dep sdl, conan v2 fixes #18366

Merged
merged 6 commits into from
Jul 10, 2023

Conversation

prince-chrismc
Copy link
Contributor

Specify library name and version: lib/1.0


@conan-center-bot

This comment has been minimized.

@prince-chrismc
Copy link
Contributor Author

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@prince-chrismc prince-chrismc self-assigned this Jul 6, 2023
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

Hooks produced the following warnings for commit c0b8b37
sdl_ttf/2.0.15
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
sdl_ttf/2.0.18
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

Hooks produced the following warnings for commit 5ec9cd1
sdl_ttf/2.0.18
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
sdl_ttf/2.0.15
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.

@prince-chrismc
Copy link
Contributor Author

This never built with v2 #15560 (comment)

And v2 is not required 🙄

@prince-chrismc prince-chrismc changed the title sdl_ttf: bump dep sdl sdl_ttf: and 2.20.2, bump dep sdl, conan v2 fixes Jul 8, 2023
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2023

Hooks produced the following warnings for commit 79d3824
sdl_ttf/2.0.18
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
sdl_ttf/2.0.15
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'AppKit' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreGraphics' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreFoundation' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 7 (632e464c56d2cd56edb7d16e504d2a12463082de):

  • sdl_ttf/2.20.1@:
    All packages built successfully! (All logs)

  • sdl_ttf/2.0.18@:
    All packages built successfully! (All logs)

  • sdl_ttf/2.20.2@:
    All packages built successfully! (All logs)

  • sdl_ttf/2.0.15@:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds may be required once they are on the v2 ready list

All green in build 6 (632e464c56d2cd56edb7d16e504d2a12463082de):

  • sdl_ttf/2.20.2@:
    All packages built successfully! (All logs)

  • sdl_ttf/2.0.18@:
    All packages built successfully! (All logs)

  • sdl_ttf/2.0.15@:
    All packages built successfully! (All logs)

  • sdl_ttf/2.20.1@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit 80aa2a3 into conan-io:master Jul 10, 2023
28 checks passed
amrox pushed a commit to exyntech/conan-center-index that referenced this pull request Jul 12, 2023
* sdl_ttf: bump dep sdl

* patch 3.17 requirements to keep in line with Conan's min supported 3.15 + add support for 2.20.2 :)

* Update recipes/sdl_ttf/all/conandata.yml

* Update recipes/sdl_ttf/all/conanfile.py

* Update recipes/sdl_ttf/all/conanfile.py

* Add missing ios frameworks

---------

Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
pezy pushed a commit to pezy/conan-center-index that referenced this pull request Jul 15, 2023
* sdl_ttf: bump dep sdl

* patch 3.17 requirements to keep in line with Conan's min supported 3.15 + add support for 2.20.2 :)

* Update recipes/sdl_ttf/all/conandata.yml

* Update recipes/sdl_ttf/all/conanfile.py

* Update recipes/sdl_ttf/all/conanfile.py

* Add missing ios frameworks

---------

Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
Comment on lines +126 to +129
if Version(self.version) <= "2.0.18" and is_apple_os(self) and self.options.shared:
self.cpp_info.components["_sdl2_ttf"].frameworks = [
"AppKit", "CoreGraphics", "CoreFoundation", "CoreServices"
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes no sense, it should be for static only, not shared.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please open an issue with more information :) If the hooks are incorrect #18366 (comment) please open an issue there so we can track it 🙏

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hook is correct, but your interpretation of its result is incorrect.

Copy link
Contributor

@SpaceIm SpaceIm Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hook just says that shared lib links to some system libs or frameworks, so it means that these system libs/frameworks must be added if static. This hook has always been an indirect way to find system libs or frameworks to add if static (for shared it doesn't matter since it's already linked obviously).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd argue the hooks are bad for providing misleading information

Library './lib/libSDL2_ttf.dylib' links to system library

implies the shared one needs it, if that incorrect -- then the messages are unclear -- it should have included the settings and options to be more concise :)

Copy link
Contributor

@SpaceIm SpaceIm Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to update message hook if you think it's misleading.

Instead of:

post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices' but it is not in cpp_info.frameworks.

it could be:

post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libSDL2_ttf.dylib' links to system library 'CoreServices', therefore 'CoreServices' should be in cpp_info.frameworks if static, but it's missing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants