[RFC] Use glib-2.0 exclusively
dbn.lists at gmail.com
Fri Jun 18 14:15:51 PDT 2010
On Fri, Jun 18, 2010 at 1:58 PM, Tollef Fog Heen <tfheen at err.no> wrote:
> ]] Dan Nicholson
> | I've been working on a branch to make pkg-config use glib2 exclusively.
> | I posted it on fd.o if anyone wants to have a go.
> | git://anongit.freedesktop.org/~dbn/pkg-config glib2
> Thanks a lot for your work on this, it's very much appreciated.
> | There are two big features in this work:
> | * Bundle glib2 instead of glib1 since glib1 is dead and we can make use
> | of glib2 API.
> | * Replace popt usage with glib2 and drop popt from pkg-config.
> Do we really need to bundle glib any longer? Sure, removing it
> introduces a circular build-dependency, but one which is hardly hard to
> work around by setting two environment variables when building
> pkg-config (heck, we could make it a switch passed to configure, so
> you'd just go --with-glib=/usr and it'd use /usr/lib/glib.so and
> /usr/include/glib-2.0, defaults that'll work for almost everybody).
I could go either way with this. It's certainly easier not to have
bundled libraries, but I was just trying to keep the status quo for
At the very least I wouldn't suggest anyone use the bundled library
unless they're in a bootstrapping situation. To that end, I think we
should at least make the default --with-installed-glib.
Not a big deal to me. Let's see if anyone else feels strongly about it.
> (I just came back from vacation, so sorry for the somewhat late reply.)
No problem; I just sent it yesterday. :)
More information about the pkg-config