[hippo-canvas] Upgrade required PyGObject version, needed by the sinkfunc change



commit ae971a445c93acf6c5fedbfd7bb8d15911945c33
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Fri Jun 11 14:00:10 2010 +0200

    Upgrade required PyGObject version, needed by the sinkfunc change

 configure.ac |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8bc02a5..1761636 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,6 +145,7 @@ GTK2_REQUIRED=2.6.0
 LIBCROCO_REQUIRED=0.6.0
 PANGO_REQUIRED=1.14
 LIBRSVG_REQUIRED=2.16
+PYGOBJECT_REQUIRED=2.21.2
 
 # We define HAVE_LIBRSVG so we can do a Windows build without it, but there's
 # no point in supporting no-librsvg Linux builds, so we don't go ahead and
@@ -180,11 +181,11 @@ else
   else
     AM_CHECK_PYTHON_HEADERS([
       AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
-      PKG_CHECK_MODULES(PYTHON_BINDINGS, pygtk-2.0 pycairo, [
+      PKG_CHECK_MODULES(PYTHON_BINDINGS, pygobject-2.0 > $PYGOBJECT_REQUIRED pygtk-2.0 pycairo, [
         PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
         AC_SUBST(PYGTK_DEFSDIR)
         have_python=yes
-      ], [AC_MSG_WARN(could not find pygtk-2.0 or pycairo)])
+      ], [AC_MSG_WARN(could not find pygobject > $PYGOBJECT_REQUIRED, pygtk-2.0 or pycairo)])
     ],[AC_MSG_WARN(could not find Python headers)])
   fi
 fi



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