[libpeas/proxys: 18/25] [Python] Drop existing bindings.



commit 58edc3a4fe107d280e9a33cb610183c3a46a521b
Author: Steve Frécinaux <code istique net>
Date:   Thu May 20 16:58:25 2010 +0200

    [Python] Drop existing bindings.
    
    We will use PyGI instead.

 configure.ac                                 |   32 --------
 loaders/python/Makefile.am                   |    2 -
 loaders/python/bindings/Makefile.am          |  106 --------------------------
 loaders/python/bindings/libpeas.defs.extra   |   31 --------
 loaders/python/bindings/libpeas.override     |   15 ----
 loaders/python/bindings/libpeasmodule.c      |   52 -------------
 loaders/python/bindings/libpeasui.defs.extra |    9 --
 loaders/python/bindings/libpeasui.override   |   21 -----
 loaders/python/bindings/libpeasuimodule.c    |   97 -----------------------
 9 files changed, 0 insertions(+), 365 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index efec0f4..a52045f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -222,37 +222,6 @@ if test "x$have_python" != "xno"; then
 		])
 fi
 
-if test "x$have_python" != "xno"; then
-	AC_MSG_CHECKING([for pygtk defs])
-	PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
-	AC_MSG_RESULT([$PYGTK_DEFSDIR])
-
-	AC_MSG_CHECKING([for pygtk codegen])
-	PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
-	AC_MSG_RESULT([$PYGTK_CODEGEN])
-
-	AC_MSG_CHECKING([for pygtk h2def])
-	PYGTK_H2DEF="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/h2def.py"
-	AC_MSG_RESULT([$PYGTK_H2DEF])
-
-	AC_SUBST([PYGTK_DEFSDIR])
-	AC_SUBST([PYGTK_CODEGEN])
-	AC_SUBST([PYGTK_H2DEF])
-
-	dnl Check for -fno-strict-aliasing
-	FLAGS="-fno-strict-aliasing"
-	save_CFLAGS="$CFLAGS"
-	CFLAGS="$CFLAGS $FLAGS"
-	AC_MSG_CHECKING([whether [$]CC understands $FLAGS])
-	AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[compiler_has_option=yes],[compiler_has_option=no])
-	CFLAGS="$save_CFLAGS"
-	AC_MSG_RESULT($compiler_has_option)
-	if test $compiler_has_option = yes; then
-		NO_STRICT_ALIASING_CFLAGS="$FLAGS"
-	fi
-	AC_SUBST([NO_STRICT_ALIASING_CFLAGS])
-fi
-
 if test "x$have_python" != "xno" -a "x$enable_python" != "xno"; then
 	enable_python=yes
 	AC_DEFINE([ENABLE_PYTHON],[1],[Define to compile with python support])
@@ -303,7 +272,6 @@ libpeasui/Makefile
 loaders/Makefile
 loaders/c/Makefile
 loaders/python/Makefile
-loaders/python/bindings/Makefile
 loaders/seed/Makefile
 data/Makefile
 data/libpeas-2.0.pc
diff --git a/loaders/python/Makefile.am b/loaders/python/Makefile.am
index ae8e187..d64fc07 100644
--- a/loaders/python/Makefile.am
+++ b/loaders/python/Makefile.am
@@ -1,7 +1,5 @@
 # C plugin loader
 
-SUBDIRS=bindings
-
 loaderdir = $(libdir)/libpeas-2.0/loaders
 
 INCLUDES = \



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