[CentOS-devel] cockpit-ws should require GLib 2.37.4 or later

Fri Dec 12 15:37:40 UTC 2014
Stef Walter <stefw at redhat.com>

Packagers of Cockpit might be interested in this pull request. We'll
start to describe our dependency on GLib more accurately. Since versions
of GLib before 2.37.4 crash with cockpit-ws, we'll refuse to build on
those versions.

https://github.com/cockpit-project/cockpit/pull/1586

This is the bug in question:

https://bugzilla.gnome.org/show_bug.cgi?id=701283
https://bugzilla.redhat.com/show_bug.cgi?id=1143943

However if your distro has patched GLib to fix this bug (I think CentOS
has done this), you can use the mechanism provided by pkg-config to
override the check in question. This is described in the failure output
of configure when this dependency are not met:

> Alternatively, you may set the environment variables GLIB_TLS_CFLAGS
> and GLIB_TLS_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.

Cheers,

Stef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20141212/e11b3b58/attachment-0007.sig>