Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] new virtual/pkgconfig to support lighter alternatives
Date: Mon, 30 Apr 2012 18:31:06
Message-Id: 4F9ED991.3010002@gentoo.org
In Reply to: [gentoo-dev] new virtual/pkgconfig to support lighter alternatives by Mike Frysinger
1 On 04/30/2012 01:11 AM, Mike Frysinger wrote:
2 > the canonical pkg-config is getting fat. it requires glib-2. it runs pkg-
3 > config when building. glib-2 requires pkg-config. whee.
4 >
5 > for our normal systems, this isn't a big deal. but we'd like to enable a
6 > lighter alternative for embedded/alternative systems. as such, i'd like to
7 > introduce a virtual/pkgconfig that allows for selection of simpler (but
8 > compatible) implementations.
9
10 there are ones that try to be compatible, but are not. at this stage,
11 the virtual would only include dev-util/pkgconfig.
12
13 summarizing:
14
15 +1 for creating the virtual and migrating the tree to use
16 virtual/pkgconfig. although, on the otherhand, you could just use
17 package.provided for thesetype of unsupported experiments (like i'm
18 doing with pkgconfig-openbsd)
19
20 -1 for adding anything even slightly incompatible to the virtual
21
22 [1] pkgconf is not compatible as per Comment #5 of bug 413849. needs to
23 follow same version scheme as f.d.o's pkg-config.
24
25 [2] pkg-config-lite should be punted from tree as per bug 414101,
26 unnecessarily bundling glib code. there is no real problem with using
27 external glib. not liking it doesn't make it a problem. it's perfectly
28 bootstrappable and the bootstrapping is documented (plus ebuilds does
29 this for users so it's nothing you should even be thinking about...)
30
31 [3] pkgconfig-openbsd is incompatible in many ways, for example, doesn't
32 pass -pthread/-lpthread properly and breaks on -Wl,--as-needed systems.
33 take a wild guess why I didn't add virtual for this in the first place...

Replies