[cairo] [PATCH] cairo-gobject: Require at least glib 2.14

Uli Schlachter psychon at znc.in
Sat Sep 14 14:41:46 PDT 2013

cairo-gobject uses g_once_init_enter() and g_once_init_leave(). These functions
were added in glib 2.14 and thus cairo needs at least this version for its
gobject helper functions.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69239
Signed-off-by: Uli Schlachter <psychon at znc.in>

If no one complaints, I think I will push this soonish. So, complain!

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c5ed33b..959ae36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -704,7 +704,7 @@ dnl
 dnl Build gobject integration library

 CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [
-  gobject_REQUIRES="gobject-2.0 glib-2.0"
+  gobject_REQUIRES="gobject-2.0 glib-2.0 >= 2.14"
     [use_gobject="no (requires $gobject_REQUIRES
   gobject_NONPKGCONFIG_EXTRA_LIBS="-L\${libdir} -lcairo-gobject"

A normal person is just someone you don't know well enough yet.
 - Nettie Wiebe

More information about the cairo mailing list