[RFC] Use glib-2.0 exclusively

Tollef Fog Heen tfheen at err.no
Fri Jun 18 13:58:29 PDT 2010

]] 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 just came back from vacation, so sorry for the somewhat late reply.)

Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

More information about the pkg-config mailing list