getsolus / packages

Solus Package Monorepo & Issue Tracker
66 stars 78 forks source link

Replace pkg-config with pkgconf (T4112) #130

Closed celticmagic closed 5 months ago

celticmagic commented 1 year ago
Ben (#ben), 2017-07-19 00:07:50 UTC

[pkgconf](http://pkgconf.org/) is a maintained version of pkg-config that has better support for .pc files and a library for app use. We can symlink /usr/bin/pkg-config to /usr/bin/pkgconf to maintain compatability
celticmagic commented 1 year ago
Beatrice T. Meyers (#DataDrake), 2017-07-19 01:24:34 UTC

Not sure where you got the impression that pkg-conf is unmaintained. It just saw a release on March 20th. At any rate, if we //were// to consider this (not saying we are), you would replace the existing package with a new one, not overwrite the old one.
celticmagic commented 1 year ago
Ben (#ben), 2017-07-19 01:36:24 UTC

pkgconf claims to have various advantages: http://pkgconf.org/features.html
celticmagic commented 1 year ago
Beatrice T. Meyers (#DataDrake), 2017-07-19 01:46:20 UTC

Considering that we are running 0.29.2 which is newer than the git version in that chart, it looks like most of that isn't really a problem. Given how widespread the impact this potentially has, however, I'll leave it up to #ikey to make the final call.
celticmagic commented 1 year ago
Ikey Doherty (#ikey), 2017-07-19 13:46:15 UTC

What purpose would this actually serve? `pkg-config` isn't broken is it?
celticmagic commented 1 year ago
Joey Riches (#joebonrichie), 2022-04-16 19:50:13 UTC

We should reconsider this. Noted during the gnome42 stack upgrade it was noted that pkgconfig was accepting libs from /usr/lib64 for emul32 builds which was causing some issues. With pkgconf personality files we should be able to resolve this. pkgconf is seeing active development and releases now whilst pkgconfig is not. All major distros have moved to pkgconf now, this may cause us some issues if we stay on pkgconfig. Likely, a few changes in ypkg will be needed to accommodate this.
celticmagic commented 1 year ago
Joey Riches (#joebonrichie), 2022-07-12 10:48:25 UTC

Wasn't too difficult to get working locally, just safe upgrade paths to worry about.