On 04/30/2012 01:11 AM, Mike Frysinger wrote:
the canonical pkg-config is getting fat.  it requires glib-2.  it runs pkg-
config when building.  glib-2 requires pkg-config.  whee.

for our normal systems, this isn't a big deal.  but we'd like to enable a
lighter alternative for embedded/alternative systems.  as such, i'd like to
introduce a virtual/pkgconfig that allows for selection of simpler (but
compatible) implementations.

there are ones that try to be compatible, but are not. at this stage, the virtual would only include dev-util/pkgconfig.

summarizing:

+1 for creating the virtual and migrating the tree to use virtual/pkgconfig. although, on the otherhand, you could just use package.provided for thesetype of unsupported experiments (like i'm doing with pkgconfig-openbsd)

-1 for adding anything even slightly incompatible to the virtual

[1] pkgconf is not compatible as per Comment #5 of bug 413849. needs to follow same version scheme as f.d.o's pkg-config.

[2] pkg-config-lite should be punted from tree as per bug 414101, unnecessarily bundling glib code. there is no real problem with using external glib. not liking it doesn't make it a problem. it's perfectly bootstrappable and the bootstrapping is documented (plus ebuilds does this for users so it's nothing you should even be thinking about...)

[3] pkgconfig-openbsd is incompatible in many ways, for example, doesn't pass -pthread/-lpthread properly and breaks on -Wl,--as-needed systems. take a wild guess why I didn't add virtual for this in the first place...


Reply via email to