[gimp] configure: depend on GLib >= 2.30.2



commit 6cff213038ab9affc1e1bacfd8748438b142992a
Author: Michael Natterer <mitch gimp org>
Date:   Wed Nov 30 23:32:00 2011 +0100

    configure: depend on GLib >= 2.30.2
    
    For the reasons mentioned in the last version bump commit below.

 app/sanity.c |    4 ++--
 configure.ac |   14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/app/sanity.c b/app/sanity.c
index d4cc64a..5fa5cc8 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -130,8 +130,8 @@ static gchar *
 sanity_check_glib (void)
 {
 #define GLIB_REQUIRED_MAJOR 2
-#define GLIB_REQUIRED_MINOR 28
-#define GLIB_REQUIRED_MICRO 8
+#define GLIB_REQUIRED_MINOR 30
+#define GLIB_REQUIRED_MICRO 2
 
   const gchar *mismatch = glib_check_version (GLIB_REQUIRED_MAJOR,
                                               GLIB_REQUIRED_MINOR,
diff --git a/configure.ac b/configure.ac
index 8704273..f388cd0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@ m4_define([gimp_full_name], [GNU Image Manipulation Program])
 # required versions of other packages
 m4_define([babl_required_version], [0.1.6])
 m4_define([gegl_required_version], [0.1.8])
-m4_define([glib_required_version], [2.28.8])
+m4_define([glib_required_version], [2.30.2])
 m4_define([gtk_required_version], [2.24.7])
 m4_define([gdk_pixbuf_required_version], [2.24.0])
 m4_define([cairo_required_version], [1.10.2])
@@ -481,13 +481,13 @@ PKG_CHECK_MODULES(GMODULE_NO_EXPORT, gmodule-no-export-2.0)
 
 PKG_CHECK_MODULES(GIO, gio-2.0)
 
-AC_MSG_CHECKING([if GLib is version 2.30.0 or newer])
-if $PKG_CONFIG --atleast-version=2.30.0 glib-2.0; then
-  have_glib_2_30=yes
+AC_MSG_CHECKING([if GLib is version 2.31.0 or newer])
+if $PKG_CONFIG --atleast-version=2.31.0 glib-2.0; then
+  have_glib_2_31=yes
 else
-  have_glib_2_30=no
+  have_glib_2_31=no
 fi
-AC_MSG_RESULT($have_glib_2_30)
+AC_MSG_RESULT($have_glib_2_31)
 
 
 # Check for bind_textdomain_codeset, including -lintl if GLib brings it in.
@@ -1947,7 +1947,7 @@ CPPFLAGS="${CPPFLAGS} -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEA
 # We must build without problems with future releases of libraries
 # and disabling deprecated API risks breaking the build
 
-if test "x$have_glib_2_30" != "xyes"; then
+if test "x$have_glib_2_31" != "xyes"; then
   CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED"
 fi
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]