[gimp] Depend on GLib >= 2.24.0 and GTK+ 2.20.0
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Depend on GLib >= 2.24.0 and GTK+ 2.20.0
- Date: Mon, 19 Apr 2010 17:03:53 +0000 (UTC)
commit a0358f7c6455e5ded04bd7cd0018ba147becd77e
Author: Michael Natterer <mitch gimp org>
Date: Mon Apr 19 19:03:08 2010 +0200
Depend on GLib >= 2.24.0 and GTK+ 2.20.0
app/gui/gui.c | 4 ++--
app/sanity.c | 2 +-
configure.ac | 28 ++++++++++++++--------------
3 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/app/gui/gui.c b/app/gui/gui.c
index 64edc01..eb2856a 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -257,8 +257,8 @@ static gchar *
gui_sanity_check (void)
{
#define GTK_REQUIRED_MAJOR 2
-#define GTK_REQUIRED_MINOR 18
-#define GTK_REQUIRED_MICRO 1
+#define GTK_REQUIRED_MINOR 20
+#define GTK_REQUIRED_MICRO 0
const gchar *mismatch = gtk_check_version (GTK_REQUIRED_MAJOR,
GTK_REQUIRED_MINOR,
diff --git a/app/sanity.c b/app/sanity.c
index 78e39bf..9220ffc 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -120,7 +120,7 @@ static gchar *
sanity_check_glib (void)
{
#define GLIB_REQUIRED_MAJOR 2
-#define GLIB_REQUIRED_MINOR 22
+#define GLIB_REQUIRED_MINOR 24
#define GLIB_REQUIRED_MICRO 0
const gchar *mismatch = glib_check_version (GLIB_REQUIRED_MAJOR,
diff --git a/configure.ac b/configure.ac
index 215b87a..77a965c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,8 +42,8 @@ m4_define([gimp_full_name], [GNU Image Manipulation Program])
# required versions of other packages
m4_define([babl_required_version], [0.1.2])
m4_define([gegl_required_version], [0.1.2])
-m4_define([glib_required_version], [2.22.0])
-m4_define([gtk_required_version], [2.18.1])
+m4_define([glib_required_version], [2.24.0])
+m4_define([gtk_required_version], [2.20.0])
m4_define([gdk_pixbuf_required_version], [gtk_required_version])
m4_define([cairo_required_version], [1.6.0])
m4_define([pangocairo_required_version], [1.20.1])
@@ -466,13 +466,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.24.0 or newer])
-if $PKG_CONFIG --atleast-version=2.24.0 glib-2.0; then
- have_glib_2_24=yes
+AC_MSG_CHECKING([if GLib is version 2.26.0 or newer])
+if $PKG_CONFIG --atleast-version=2.26.0 glib-2.0; then
+ have_glib_2_26=yes
else
- have_glib_2_24=no
+ have_glib_2_26=no
fi
-AC_MSG_RESULT($have_glib_2_24)
+AC_MSG_RESULT($have_glib_2_26)
# Check for bind_textdomain_codeset, including -lintl if GLib brings it in.
@@ -491,13 +491,13 @@ AM_PATH_GTK_2_0(gtk_required_version, :,
AC_MSG_ERROR(Test for GTK+ failed. See the file 'INSTALL' for help.),
gthread)
-AC_MSG_CHECKING([if GTK+ is version 2.20.0 or newer])
-if $PKG_CONFIG --atleast-version=2.20.0 gtk+-2.0; then
- have_gtk_2_20=yes
+AC_MSG_CHECKING([if GTK+ is version 2.22.0 or newer])
+if $PKG_CONFIG --atleast-version=2.22.0 gtk+-2.0; then
+ have_gtk_2_22=yes
else
- have_gtk_2_20=no
+ have_gtk_2_22=no
fi
-AC_MSG_RESULT($have_gtk_2_20)
+AC_MSG_RESULT($have_gtk_2_22)
PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= gdk_pixbuf_required_version)
@@ -1872,11 +1872,11 @@ CPPFLAGS="${CPPFLAGS} -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEA
# must build without problems with future releases of libraries and
# disabling deprecated API risks breaking the build
-if test "x$have_glib_2_24" != "xyes"; then
+if test "x$have_glib_2_26" != "xyes"; then
CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED"
fi
-if test "x$have_gtk_2_20" != "xyes"; then
+if test "x$have_gtk_2_22" != "xyes"; then
CPPFLAGS="${CPPFLAGS} -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]