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

idna: add recipe #22891

Merged
merged 10 commits into from
Mar 7, 2024
Merged

idna: add recipe #22891

merged 10 commits into from
Mar 7, 2024

Conversation

toge
Copy link
Contributor

@toge toge commented Feb 25, 2024

Specify library name and version: idna/*


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@AbrilRBS AbrilRBS self-assigned this Feb 26, 2024
Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

One question about the target name, other than that seems good!

recipes/idna/all/conanfile.py Outdated Show resolved Hide resolved
cmake = CMake(self)
cmake.install()

def package_info(self):
Copy link
Member

Choose a reason for hiding this comment

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

Ran out of time to look into this specificly, but it seems like upstream expects different naming than idna::idna for the link target? Could you please double chec that for me? 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.

@RubenRBS
Thank you for your comments.
I don't know the exact target since there is no install target, but it looks like ada-idna in CMakeLists.txt in benchmark is the official target.
https://github.com/ada-url/idna/blob/main/benchmarks/CMakeLists.txt#L3

toge and others added 2 commits February 27, 2024 23:28
Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
@conan-center-bot

This comment has been minimized.

toge and others added 2 commits February 28, 2024 14:24
Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

I just opened a PR to the upstream adding these cmake install steps: ada-url/idna#41

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

Looking, only small details.

recipes/idna/all/conanfile.py Outdated Show resolved Hide resolved
recipes/idna/all/conanfile.py Show resolved Hide resolved
@conan-center-bot

This comment has been minimized.

toge and others added 2 commits February 28, 2024 22:26
Co-authored-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.


include(GNUInstallDirs)

install(
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be probably nicer to apply this as a patch to the current version, then it can be easily dropped in future versions

Copy link
Member

Choose a reason for hiding this comment

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

They indeed dropped: ada-url/idna#41

Copy link
Member

Choose a reason for hiding this comment

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

Agree, we can simplify here if we package the latest commit @toge :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RubenRBS
Thanks a lot!
I will update this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 8 (c33982d0a10f4f9a3b757537b36f66021e2ddcd7):

  • idna/cci.20240228:
    All packages built successfully! (All logs)

Conan v2 pipeline ✔️

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

All green in build 8 (c33982d0a10f4f9a3b757537b36f66021e2ddcd7):

  • idna/cci.20240228:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit c4308b4 into conan-io:master Mar 7, 2024
13 checks passed
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.

6 participants