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

Install/build pkg-config if it's not available on the system #103

Open
sdroege opened this issue Jul 5, 2020 · 6 comments
Open

Install/build pkg-config if it's not available on the system #103

sdroege opened this issue Jul 5, 2020 · 6 comments

Comments

@sdroege
Copy link
Collaborator

sdroege commented Jul 5, 2020

Shouldn't be too hard via the cc crate and downloading it in build.rs.

@lu-zero
Copy link
Contributor

lu-zero commented Sep 13, 2022

Potentially libpkgconf could be wrapped in a -sys crate but even that is a bit large even if self-contained.

@Be-ing
Copy link
Contributor

Be-ing commented Oct 21, 2022

Potentially libpkgconf could be wrapped in a -sys crate but even that is a bit large even if self-contained.

I had the same idea.

@nirbheek
Copy link

There's also a meson port for the original pkg-config now, which is lighter than pkgconf.

@lu-zero
Copy link
Contributor

lu-zero commented Aug 30, 2023

the meson port removed glib from the codebase? IIRC that's one of the issues with the original pkg-config.

@nirbheek
Copy link

the meson port removed glib from the codebase? IIRC that's one of the issues with the original pkg-config.

No, that was Jussi's meson port. This one by @tp-m uses glib as a subproject, with all unnecessary things patched out in the build system, see https://gitlab.freedesktop.org/tpm/pkg-config/-/tree/meson/subprojects/packagefiles/glib-2.74.4. That makes it equivalent to how the Autotools build works, except with newer glib.

@lu-zero
Copy link
Contributor

lu-zero commented Aug 30, 2023

Then there is lots of room for making it light :) I wish enough of us has time to come up with a pure rust impl.

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

No branches or pull requests

4 participants