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

[feature] MesonToolchain: DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config" #15190

Closed
1 task done
SpaceIm opened this issue Nov 29, 2023 · 1 comment · Fixed by #15369
Closed
1 task done
Milestone

Comments

@SpaceIm
Copy link
Contributor

SpaceIm commented Nov 29, 2023

What is your suggestion?

When you build a recipe based on meson with meson 1.3.0, there is a deprecation message:

DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config"

It comes from the file generated by MesonToolchain conan_meson_native.ini where there is for example pkgconfig = 'C:/Users/spaceim/.conan2/p/pkgco6062a3e090f7e/p/bin/pkgconf.exe' if pkgconf recipe is also in build requirements.

So MesonToolchain should be updated in order to handle old and new meson convention.

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@SpaceIm
Copy link
Contributor Author

SpaceIm commented Dec 31, 2023

@memsharded, did you see this issue? It will break soon or later. The workaround is to define both pkgconfig and pkg-config entries in machine file as explained in https://mesonbuild.com/Release-notes-for-1-3-0.html#machine-files-pkgconfig-field-deprecated-and-replaced-by-pkgconfig

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 a pull request may close this issue.

2 participants