Skip to content

Added PkgConfigDeps generator - #2133

Merged
czoido merged 6 commits into
conan-io:developfrom
franramirez688:feature/pkg_config_deps
Jun 30, 2021
Merged

czoido merged 6 commits into
conan-io:developfrom
franramirez688:feature/pkg_config_deps

Conversation

@franramirez688

Copy link
Copy Markdown
Contributor

Added documentation related to new conan/feature: conan-io/conan#9152

Added new PkgConfigDeps generator in conan.tools.gnu.pkgconfigdeps.py

Comment thread reference/conanfile/tools/gnu/pkgconfigdeps.rst
@czoido czoido added this to the 1.38 milestone Jun 29, 2021
Comment thread reference/conanfile/tools/gnu/pkgconfigdeps.rst Outdated
Comment thread reference/conanfile/tools/gnu/pkgconfigdeps.rst Outdated
@czoido czoido self-assigned this Jun 29, 2021
@czoido czoido assigned memsharded and unassigned czoido Jun 29, 2021

@memsharded memsharded left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good enough to be merged for the release, but a couple of notes to take into account (can be addressed later)

Comment thread reference/conanfile/tools/gnu/pkgconfigdeps.rst
Comment thread reference/conanfile/tools/gnu/pkgconfigdeps.rst Outdated
Components
++++++++++

If a recipe uses :ref:`components<package_information_components>`, the files generated will be *<COMP-NAME>.pc* with their corresponding

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Isn't the name PKG-NAME_COMP-NAME.pc? I think it could be better this way, to avoid potential conflicts with components of different packages. Or is not possible?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The thing is that I got this doc-lines about the Components from this one https://docs.conan.io/en/latest/reference/generators/pkg_config.html Anyway, I'm gonna check it 😉

@lasote lasote left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably we want to change the pc file names when components using the @memsharded suggestion for the next release.

@czoido
czoido merged commit fc3edcb into conan-io:develop Jun 30, 2021
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