/pidgin/main: b4ae2138155f: Bump glib requirement from 2.16.0 to...

Mark Doliner mark at kingant.net
Thu Jan 10 02:50:33 EST 2013


Changeset: b4ae2138155fbb1bf5a78738610a5a45584c0c29
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2013-01-09 23:50 -0800
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/b4ae2138155f

Description:

Bump glib requirement from 2.16.0 to 2.20.0.

Any objections?

My specific reason for doing this is that we use G_GOFFSET_FORMAT in a few
places and this only exists in 2.20 and newer according to
http://developer.gnome.org/glib/2.34/glib-Basic-Types.html#G-GOFFSET-FORMAT:CAPS
(Though it might not have been documented until later? It's not showing up
in my Devhelp--not sure why.)

I did a quick survey...
Scientific Linux 6.3 has glib2 2.22.5
Debian Stable (Squeeze) has glib2 2.24.2
10.04 LTS (Lucid Lynx) has glib2 2.24.1

So we should be good, right?  And I'm fine going to 2.22.0 if we want to,
but that doesn't gain us anything right now.

diffstat:

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

diffs (23 lines):

diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -332,16 +332,16 @@ fi #enable_i18n
 AM_CONDITIONAL(INSTALL_I18N, test "x$enable_i18n" = "xyes")
 
 dnl #######################################################################
-dnl # Check for GLib 2.16 (required)
+dnl # Check for GLib 2.20 (required)
 dnl #######################################################################
 # TODO: gmodule-2.0 is only needed if enable_plugins is 'yes'.  It
 #       might be nice to change this check so that it's not required
 #       if enable_plugins is 'no'.
-PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0 gthread-2.0], , [
+PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.20.0 gobject-2.0 gmodule-2.0 gthread-2.0], , [
 	AC_MSG_RESULT(no)
 	AC_MSG_ERROR([
 
-You must have GLib 2.16.0 or newer development headers installed to build.
+You must have GLib 2.20.0 or newer development headers installed to build.
 
 If you have these installed already you may need to install pkg-config so
 I can find them.



More information about the Commits mailing list