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

theora: add package_type, simplify test_package, fix component name #25394

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Sep 24, 2024

Summary

Changes to recipe: theora/1.1.1

Motivation

Details


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 1 (e1d08d11a6f8e0d927d0d45ce2b5382bf6bb044c):

  • theora/1.1.1:
    Built 20 packages out of 22 (All logs)

Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 1 (e1d08d11a6f8e0d927d0d45ce2b5382bf6bb044c):

  • theora/1.1.1:
    All packages built successfully! (All logs)

@@ -73,9 +72,9 @@ def package(self):
def package_info(self):
self.cpp_info.set_property("pkg_config_name", "theora_full_package_do_not_use") # to avoid conflicts with theora component

self.cpp_info.components["theora"].set_property("pkg_config_name", "theora")
Copy link
Member

Choose a reason for hiding this comment

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

This might be a noobie question, but what's the insight behind this fix? Is it related to the global name in consumer requires clauses, in which using theora::theora would bring unexpected requirements? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's exactly the reason, yeah. There's no way to distinguish between the whole-package "component" and the subcomponent otherwise. Pango, Cairo and some other recipes use a similar naming scheme for the core component.

@AbrilRBS AbrilRBS self-assigned this Sep 25, 2024
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.

3 participants