[libgsf] Python: excise old bit-rotted python support.



commit 6030233f5a83a521566e6e3e1ece0dcb6dd3ccee
Author: Morten Welinder <terra gnome org>
Date:   Sun Feb 24 11:47:52 2013 -0500

    Python: excise old bit-rotted python support.
    
    Use introspection instead.

 Makefile.am             |    4 -
 configure.ac            |   41 ----
 python/.gitignore       |   13 --
 python/ChangeLog        |  391 ---------------------------------
 python/Makefile.am      |   32 ---
 python/README-python    |   42 ----
 python/__init__.py      |    8 -
 python/ex-1.py          |   21 --
 python/ex-out-zip.py    |   35 ---
 python/gsf-arg-types.py |   11 -
 python/gsf.defs         |  550 -----------------------------------------------
 python/gsf.override     |  272 -----------------------
 python/gsfmodule.c      |   47 ----
 13 files changed, 0 insertions(+), 1467 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 55797c5..1e11a90 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,10 +9,6 @@ endif
 
 SUBDIRS = po gsf gsf-win32 doc tools tests m4 thumbnailer
 
-if WITH_PYTHON
-  SUBDIRS += python
-endif
-
 EXTRA_DIST = BUGS HACKING      \
        intltool-extract.in     \
        intltool-merge.in       \
diff --git a/configure.ac b/configure.ac
index f19ff00..566ab1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -379,46 +379,6 @@ LDFLAGS=${_ldflags}
 
 dnl ***********************************************************************************
 
-test_python=false
-AC_ARG_WITH(python,
-       [--{with,without}-python   Build with the python support],
-       if test "x$withval" = xyes; then
-               test_python=true
-       fi
-)
-
-if test "x$test_python" = xtrue ; then
-    pygobject_msg=test
-    AM_PATH_PYTHON
-
-    AM_CHECK_PYTHON_HEADERS(,[pygobject_msg="NO.  Missing python headers"])
-
-    dnl check for pygtk
-    if test "$pygobject_msg" = test; then
-       PKG_CHECK_MODULES(PYGTK, pygobject-2.0 >= 2.10.0,
-                 [],
-                 [pygobject_msg="NO.  pygtk problem"])
-       AC_SUBST(PYGTK_CFLAGS)
-    fi
-    if test "$pygobject_msg" = test; then
-       AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
-       if test "$PYGTK_CODEGEN" = no; then
-           pygobject_msg="NO.  Missing pygtk-codegen-2.0"
-       fi
-    fi
-
-    if test "$pygobject_msg" = test; then
-       pygobject_msg=yes
-    fi
-    AC_MSG_RESULT($pygobject_msg)
-else
-    pygobject_msg=no
-fi
-
-AM_CONDITIONAL(WITH_PYTHON, [test "$pygobject_msg" = yes])
-
-dnl ***********************************************************************************
-
 dnl bz2
 dnl
 BZ2_LIBS=
@@ -509,7 +469,6 @@ gsf/Makefile
 gsf-win32/Makefile
 tests/Makefile
 tools/Makefile
-python/Makefile
 thumbnailer/Makefile
 po/Makefile.in
 gsf/version.c


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