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

yder: add yder/1.4.18 recipe #13614

Merged
merged 1 commit into from
Nov 2, 2022
Merged

Conversation

madebr
Copy link
Contributor

@madebr madebr commented Oct 19, 2022

Specify library name and version: yder/1.4.18

Depends on #13589


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

All green in build 4 (a2b7bb03f54edb3808217d21db698cecc9f6fc5f):

  • yder/1.4.18@:
    All packages built successfully! (All logs)

Copy link
Contributor

@jwillikers jwillikers left a comment

Choose a reason for hiding this comment

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

Would be nice to get some of the CMake-related patches upstreamed.


-target_link_libraries(yder ${LIBS} ${ORCANIA_LIBRARIES} ${SYSTEMD_LIBRARIES})
+if (BUILD_SHARED)
+ target_link_libraries(yder PRIVATE $<TARGET_NAME:Orcania::Orcania> ${SYSTEMD_LIBRARIES})
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this mean that a shared build of yder can't link to a static orcania package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not with the cmake script unmodified.
It is patched in _patch_sources().

Copy link
Contributor

Choose a reason for hiding this comment

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

Gotcha.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When/if conan-io/conan#12367 lands, the replace_in_file can be replaced with that.

+ NAMESPACE "Yder::"
+ FILE "YderTargets.cmake")
+
+configure_package_config_file(cmake-modules/YderConfig.cmake.in YderConfig.cmake
Copy link
Contributor

Choose a reason for hiding this comment

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

We should not be adding install or config names 😕 where does this come from?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A pr I created.
It's stalling because the maintainer wants to understand the goal of the xxConfig.cmake, xxConfig-targets.cmake and xxConfigVersion.cmake files (see orcania repo).

Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is not accepted upstream, I do think we should be adding them here 🙈

We should only expose official targets (its fine if they are added in a later release) but we should not be doing it here first

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. I'll mark this pr as draft until upstream makes a move.
The guy in charge is welcoming to the idea, so I have good feelings about this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The pr has been accepted. So please give this pr a final review.

@madebr madebr marked this pull request as draft October 24, 2022 20:53
@madebr madebr marked this pull request as ready for review November 2, 2022 18:01
@conan-center-bot conan-center-bot merged commit 3fd954f into conan-io:master Nov 2, 2022
@madebr madebr deleted the yder-recipe branch November 2, 2022 22:53
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.

4 participants