telepathy-salut: bump GLib dependency to 2.32

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Tue Sep 10 05:13:36 PDT 2013


Module: telepathy-salut
Branch: master
Commit: ec0afde8a70ce1a771ebdfc85feb95ea936cf35a
URL:    http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=ec0afde8a70ce1a771ebdfc85feb95ea936cf35a

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue Sep 10 14:04:54 2013 +0200

bump GLib dependency to 2.32

That's the same version as telepathy-glib.

Also use GLib's versioning macros.

---

 configure.ac |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index a1ac366..cc96472 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,7 +163,11 @@ GTK_DOC_CHECK
 
 dnl Check for Glib
 PKG_CHECK_MODULES(GLIB,
-    [glib-2.0 >= 2.24, gobject-2.0 >= 2.16, gthread-2.0 >= 2.4, gio-2.0])
+    [glib-2.0 >= 2.32.0, gobject-2.0 >= 2.32.0, gthread-2.0 >= 2.32.0, gio-2.0 >= 2.32.0])
+
+dnl MIN_REQUIRED must stay to 2.30 because of GValueArray
+AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_30], [Ignore post 2.32 deprecations])
+AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_32], [Prevent post 2.32 APIs])
 
 AC_SUBST(GLIB_CFLAGS)
 AC_SUBST(GLIB_LIBS)



More information about the telepathy-commits mailing list