[vte/vte-0-30] Remove gtk2 python bindings



commit 9d9c902e3e1ad4da1fcddf554988c49a4a03b6c8
Author: Christian Persch <chpe gnome org>
Date:   Wed Aug 17 19:10:23 2011 +0200

    Remove gtk2 python bindings

 acinclude.m4        |   32 --
 configure.in        |   87 ------
 python/Makefile.am  |   43 ---
 python/cat.py       |   57 ----
 python/pyvte.pc.in  |   11 -
 python/unrealize.py |   51 ----
 python/vte-demo.py  |   98 ------
 python/vte.defs     |  818 ---------------------------------------------------
 python/vte.override |  657 -----------------------------------------
 python/vtemodule.c  |   50 ---
 10 files changed, 0 insertions(+), 1904 deletions(-)
---
diff --git a/configure.in b/configure.in
index 6e9ea73..e89106d 100644
--- a/configure.in
+++ b/configure.in
@@ -208,12 +208,6 @@ WARN_CFLAGS=$vte_cv_warn_cflags
 AC_SUBST(WARN_CFLAGS)
 CFLAGS="$CFLAGS $WARN_CFLAGS"
 
-PYTHON_LDFLAGS=""
-for W in "-Wl,--warn-unresolved-symbols"; do
-	VTE_LD_TRY_FLAG([$W], [PYTHON_LDFLAGS="$PYTHON_LDFLAGS $W"])
-done
-AC_SUBST(PYTHON_LDFLAGS)
-
 # Enable debugging messages and additional run-time checks.
 AC_ARG_ENABLE(debug,
 	      [AS_HELP_STRING([--enable-debug],
@@ -414,85 +408,6 @@ wcs_funcs_includes="
 
 AC_CHECK_TYPES(wint_t, AC_DEFINE(HAVE_WINT_T, , [Defined when the wint_t type is supported]), ,$wcs_funcs_includes)
 
-
-################################################################################
-# Auxillary modules
-################################################################################
-
-if test "$with_gtk" = "2.0"; then
-
-# Search for Python.
-BUILD_PYTHON=true
-AC_ARG_ENABLE(python, [AS_HELP_STRING(--enable-python,Build python bindings [default=yes])],[
-if test x"$enableval" != xno ; then
-	BUILD_PYTHON=true
-else
-	BUILD_PYTHON=false
-fi],BUILD_PYTHON=true)
-
-if $BUILD_PYTHON ; then
-	AM_PATH_PYTHON
-	if test -z "$PYTHON" ; then
-		BUILD_PYTHON=false
-	fi
-fi
-
-if $BUILD_PYTHON ; then
-	AC_MSG_CHECKING(for python >= 2.2)
-	prog="
-import sys, string
-minver = (2,2,0,'final',0)
-if sys.version_info < minver:
-	sys.exit(1)
-sys.exit(0)
-"
-	if $PYTHON -c "$prog" 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
-	then
-		AC_MSG_RESULT([okay])
-	else
-		BUILD_PYTHON=false
-		AC_MSG_RESULT([too old])
-	fi
-fi
-
-if $BUILD_PYTHON ; then
-	AM_CHECK_PYTHON_HEADERS(,BUILD_PYTHON=false)
-fi
-
-if $BUILD_PYTHON ; then
-	AC_MSG_CHECKING([for pygtk-2.0])
-	if pkg-config --exists pygtk-2.0 ; then
-		AC_MSG_RESULT([found])
-		PKG_CHECK_MODULES(PYGTK,[pygtk-2.0])
-
-		AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
-		if test "x$PYGTK_CODEGEN" = xno; then
-		  AC_MSG_ERROR(could not find pygtk-codegen-2.0 script)
-		fi
-
-		AC_MSG_CHECKING(for pygtk defs)
-		PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
-		AC_SUBST(PYGTK_DEFSDIR)
-		AC_MSG_RESULT($PYGTK_DEFSDIR)
-	else
-		AC_MSG_RESULT([not found])
-		BUILD_PYTHON=false
-	fi
-fi
-
-if ! $BUILD_PYTHON ; then
-	AC_MSG_RESULT([Python bindings disabled.])
-fi
-
-AC_SUBST(PYTHONREV)
-AC_SUBST(PYTHONMODULES)
-
-else # with_gtk = 3.0
-  BUILD_PYTHON=false
-fi # with_gtk = 2.0
-
-AM_CONDITIONAL(BUILD_PYTHON_MODULES, $BUILD_PYTHON)
-
 ################################################################################
 # GNOME PTY Helper
 ################################################################################
@@ -562,8 +477,6 @@ src/Makefile
 src/vteversion.h
 termcaps/Makefile
 perf/Makefile
-python/Makefile
-python/pyvte.pc
 po/Makefile.in
 doc/Makefile
 doc/openi18n/Makefile



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