-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
pkg-config: split out pkg.m4
#182175
pkg-config: split out pkg.m4
#182175
Conversation
Why not just:
? |
To (at least temporarily) remove conflict with `pkgconf` so that it allows for migration. `pkgconf` has replaced `pkg-config` in major repositories like Debian and Fedora.
5c65123
to
2ee32e5
Compare
That actually was my first idea (the commented out symlink was what I was planning). Only wasn't sure about impact on users. If there is no major concern, then may be easier to go that route. |
I've thought about this for a while now. Homebrew's
Whatever we do here, I suspect it won't align with what we "normally" do, in one way or another. |
Are there significant bugs in |
My opinion is there are enough advantages of switching, e.g.
The main problem is how to switch. Some options I see:
It sounds like keg-only approach will be bad. Same with this PR approach as we won't be able to handle |
Bug wise: I'm not sure. There is an unfixed upstream compile issue we're already working around (and looks like will remain unfixed upstream) but I'm not an expert on outstanding runtime bugs. Feature wise there is a difference, e.g. There is definitely not an immediate urgent need to switch and I don't think anything will happen before e.g. Sequoia bottling. We are however becoming the minority of those who are sticking around with |
Yeah the one thing we can agree on is that we should not break This is also why |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I'd be game to 🗑️ |
Proof of concept for now to try to align with major repositories and switch from
pkg-config
topkgconf
.Fedora's explanation on switch back in Fedora 26: https://fedoraproject.org/wiki/Changes/pkgconf_as_system_pkg-config_implementation
Debian introduced transitional package in Bookworm https://packages.debian.org/bookworm/pkg-config
Due to conflict and limited conflict handling, it is a little tricky to change the default in Homebrew (while keeping
pkg-config
formula as opposed to removing it like Debian/Fedora)One idea here is to temporarily remove the conflict and then make use of our shims to help out (given we have one on macOS already so cannot directly use
PKG_CONFIG
environment variable).