summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-12-20 00:22:53 +0100
committerinfirit <[email protected]>2013-12-20 12:02:49 +0100
commit8d48cee0bf82a6fb2d6f2775fbc10f9df24f9a2c (patch)
treed51cce5e2e093a441caf7020409fa541875b6548
parent4b57357700feb16de8df90b72a420b4f9b3cf267 (diff)
downloadmate-applets-8d48cee0bf82a6fb2d6f2775fbc10f9df24f9a2c.tar.bz2
mate-applets-8d48cee0bf82a6fb2d6f2775fbc10f9df24f9a2c.tar.xz
Require pygobject 3 now that it was ported to gi
Commit 540e2e460c8155a22b10c1712eec71c9bf25aea9 ported to gobject introspection but this never reflected in configure.ac.
-rw-r--r--configure.ac13
1 files changed, 2 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 954b9c60..65e4da0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,8 +24,6 @@ HAL_REQUIRED=0.5.3
UPOWER_REQUIRED=0.9.4
DBUS_REQUIRED=1.1.2
DBUS_GLIB_REQUIRED=0.74
-PYGTK_REQUIRED=2.6
-PYGOBJECT_REQUIRED=2.6
MATE_ICON_THEME_REQUIRED=1.1.0
LIBXML_REQUIRED=2.5.0
MUCHARMAP2_REQUIRED=1.5.0
@@ -261,14 +259,7 @@ AC_SUBST(MUCHARMAP_CFLAGS)
AC_SUBST(MUCHARMAP_LIBS)
dnl -- check for Python modules (optional) ------------------------------
-PYGTK_CFLAGS=
-PYGTK_LIBS=
-PKG_CHECK_MODULES(PYGTK,
- pygtk-2.0 >= $PYGTK_REQUIRED
- pygobject-2.0 >= $PYGOBJECT_REQUIRED,
- HAVE_PYGTK="yes", HAVE_PYGTK="no")
-AC_SUBST(PYGTK_LIBS)
-AC_SUBST(PYGTK_CFLAGS)
+PKG_CHECK_MODULES(PYGOBJECT, pygobject-3.0, HAVE_PYGOBJECT="yes", HAVE_PYGOBJECT="no")
dnl -- check for libxml2 (required) ------------------------------------------
PKG_CHECK_MODULES(XML2, libxml-2.0 >= $LIBXML_REQUIRED)
@@ -536,7 +527,7 @@ dnl ***************************************************************************
dnl *** invest-applet specific checks ***
dnl ***************************************************************************
-AM_CONDITIONAL(BUILD_INVEST_APPLET, test "x$HAVE_PYGTK" = "xyes")
+AM_CONDITIONAL(BUILD_INVEST_APPLET, test "x$HAVE_PYGOBJECT" = "xyes")
dnl ***************************************************************************
dnl *** Check if IPv6 is available ***