[empathy: 2/3] Remove python bindings. (Closes bug #599039)



commit 6496713f0997ab90e7ee686819640b22b4911aea
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Tue Oct 20 12:59:15 2009 +0100

    Remove python bindings. (Closes bug #599039)
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 Makefile.am                               |    4 -
 configure.ac                              |   39 -
 m4/python.m4                              |   66 -
 python/.gitignore                         |    2 -
 python/Makefile.am                        |    2 -
 python/example.py                         |   32 -
 python/pyempathy.patch                    |   18 -
 python/pyempathy/Makefile.am              |   48 -
 python/pyempathy/pyempathy.defs           | 3767 -----------------------------
 python/pyempathy/pyempathy.override       |   71 -
 python/pyempathy/pyempathymodule.c        |   28 -
 python/pyempathygtk.patch                 |   18 -
 python/pyempathygtk/Makefile.am           |   49 -
 python/pyempathygtk/pyempathygtk.defs     | 2108 ----------------
 python/pyempathygtk/pyempathygtk.override |   87 -
 python/pyempathygtk/pyempathygtkmodule.c  |   27 -
 python/update-binding.sh                  |  114 -
 17 files changed, 0 insertions(+), 6480 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 2ffb7d6..2026895 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,10 +12,6 @@ if HAVE_NOTHERE
 SUBDIRS += nothere
 endif
 
-if HAVE_PYTHON
-SUBDIRS += python
-endif
-
 if HAVE_TESTS
 SUBDIRS += tests
 endif
diff --git a/configure.ac b/configure.ac
index f98d937..facdd7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -456,41 +456,6 @@ fi
 AM_CONDITIONAL(HAVE_TESTS, test "x$have_check" = "xyes")
 
 # -----------------------------------------------------------
-# Python Bindings
-# -----------------------------------------------------------
-AC_ARG_ENABLE(python,
-              AS_HELP_STRING([--enable-python=@<:@no/yes/auto@:>@],
-                             [build python bindings to libempathy and libempathy-gtk]), ,
-                             enable_python=auto)
-
-if test "x$enable_python" != "xno"; then
-   PKG_CHECK_MODULES(PYTHON_BINDING,
-   [
-      pygtk-2.0,
-      glib-2.0 >= $GLIB_REQUIRED
-      gobject-2.0
-      gconf-2.0 >= $GCONF_REQUIRED
-      libxml-2.0
-      gtk+-2.0 >= $GTK_REQUIRED
-      gstreamer-0.10
-      gstreamer-interfaces-0.10
-      telepathy-farsight
-   ], have_python="yes", have_python="no")
-   if test "x$have_python" = "xyes" ; then
-      AM_CHECK_PYTHON_HEADERS(,have_python="no")
-      AC_CHECK_PROGS([PYGOBJECTCODEGEN], [pygobject-codegen-2.0 pygtk-codegen-2.0])
-   fi
-else
-   have_python=no
-fi
-
-if test "x$enable_python" = "xyes" -a "x$have_python" != "xyes"; then
-   AC_MSG_ERROR([Couldn't find python.])
-fi
-
-AM_CONDITIONAL(HAVE_PYTHON, test "x$have_python" = "xyes")
-
-# -----------------------------------------------------------
 # Coding style checks
 # -----------------------------------------------------------
 AC_ARG_ENABLE(coding-style-checks,
@@ -528,9 +493,6 @@ AC_OUTPUT([
    docs/libempathy-gtk/Makefile
    docs/libempathy-gtk/version.xml
    help/Makefile
-   python/Makefile
-   python/pyempathy/Makefile
-   python/pyempathygtk/Makefile
    tests/Makefile
    tests/xml/Makefile
    tools/Makefile
@@ -561,7 +523,6 @@ Configure summary:
 
     Extras:
 	Documentation...............:  ${enable_gtk_doc}
-	Python bindings.............:  ${have_python}
 	Megaphone applet............:  ${have_megaphone}
 	Nothere applet..............:  ${have_nothere}
 	Nautilus-sendto plugin......:  ${have_nst}



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