[evolution] Remove Mono and Python EPlugin bindings.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove Mono and Python EPlugin bindings.
- Date: Tue, 19 Jun 2012 00:48:37 +0000 (UTC)
commit e9c96b8b790130deadc0fe88c1c18ba6355104e2
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jun 18 16:08:35 2012 -0400
Remove Mono and Python EPlugin bindings.
EPlugin is deprecated. These bindings have never been used for anything
and they're never going to be used at this point. Remove the dead weight.
configure.ac | 62 -----
modules/Makefile.am | 10 -
modules/plugin-mono/Makefile.am | 23 --
modules/plugin-mono/e-plugin-mono.c | 275 --------------------
modules/plugin-mono/e-plugin-mono.h | 69 -----
modules/plugin-mono/evolution-module-plugin-mono.c | 43 ---
modules/plugin-python/Makefile.am | 32 ---
modules/plugin-python/e-plugin-python.c | 238 -----------------
modules/plugin-python/e-plugin-python.h | 70 -----
.../plugin-python/evolution-module-plugin-python.c | 43 ---
modules/plugin-python/example/Makefile.am | 30 ---
modules/plugin-python/example/hello_python.py | 5 -
.../example/org-gnome-hello-python-ui.xml | 16 --
.../example/org-gnome-hello-python.eplug.xml | 20 --
14 files changed, 0 insertions(+), 936 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2b985e4..911a224 100644
--- a/configure.ac
+++ b/configure.ac
@@ -721,64 +721,6 @@ dnl Kerberos 5
dnl ************
EVO_KRB5_SUPPORT(no)
-dnl ******************************
-dnl Mono hooks
-dnl This should just define mono CFLAGS etc here, it is used later to turn on the mono plugin or not.
-dnl ******************************
-AC_ARG_ENABLE([mono],
- AS_HELP_STRING([--enable-mono],
- [Add Mono embedded hooks.]),
- [enable_mono=$enableval],[enable_mono=no])
-if test "x${enable_mono}" = "xyes"; then
- PKG_CHECK_MODULES([MONO], ["mono-2"])
- AC_DEFINE(ENABLE_MONO,1,[Define if Mono embedding should be enabled])
-fi
-AC_SUBST(MONO_CFLAGS)
-AC_SUBST(MONO_LIBS)
-
-AM_CONDITIONAL(ENABLE_MONO, [test "x$enable_mono" = "xyes"])
-
-dnl ******************************
-dnl Python hooks
-dnl This should just define python CFLAGS etc here, it is used later to turn on the python plugin or not.
-dnl (Thanks to Pidgin)
-dnl ******************************
-
-AC_ARG_ENABLE([python],
- AS_HELP_STRING([--enable-python],
- [Add python embedded hooks.]),
- [enable_python=$enableval],[enable_python=no])
-
-if test "x${enable_python}" = "xyes"; then
- AC_PATH_PROG(pythonpath, python)
- if test "_$pythonpath" != _ ; then
- AC_MSG_CHECKING([for python compile flags])
- PY_PREFIX=`$pythonpath -c 'import sys ; print sys.prefix'`
- PY_EXEC_PREFIX=`$pythonpath -c 'import sys ; print sys.exec_prefix'`
- changequote(<<, >>)dnl
- PY_VERSION=`$pythonpath -c 'import sys ; print sys.version[0:3]'`
- PY_MAJOR=`$pythonpath -c 'import sys ; print sys.version[0:2]'`
- changequote([, ])dnl
-
- if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h -a "$PY_MAJOR" = "2."; then
- PY_LIBS="-lpython$PY_VERSION -L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
- PY_INCLUDES="-I$PY_PREFIX/include/python$PY_VERSION"
- AC_MSG_RESULT([ok])
- python_package="python-devel"
- else
- AC_MSG_ERROR([Can't find Python.h])
- PY_LIBS=""
- PY_INCLUDES=""
- python_package=""
- fi
- fi
- AC_SUBST(PY_LIBS)
- AC_SUBST(PY_INCLUDES)
-fi
-
-AM_CONDITIONAL(ENABLE_PYTHON, [test "x$enable_python" = "xyes"])
-
-
dnl ********************************************************************************
dnl security extension support (SSL and S/MIME)
dnl
@@ -1628,8 +1570,6 @@ modules/online-accounts/Makefile
modules/offline-alert/Makefile
modules/plugin-lib/Makefile
modules/plugin-manager/Makefile
-modules/plugin-mono/Makefile
-modules/plugin-python/Makefile
modules/prefer-plain/Makefile
modules/prefer-plain/plugin/Makefile
modules/spamassassin/Makefile
@@ -1689,6 +1629,4 @@ echo "
SMIME support: $msg_smime
Plugins: $msg_plugins
User documentation: $with_help
- Mono bindings: $enable_mono
- Python bindings: $enable_python
"
diff --git a/modules/Makefile.am b/modules/Makefile.am
index 16810fd..227f9d1 100644
--- a/modules/Makefile.am
+++ b/modules/Makefile.am
@@ -6,14 +6,6 @@ if ENABLE_WEATHER
CONFIG_WEATHER_DIR = cal-config-weather
endif
-if ENABLE_MONO
-MONO_DIR = plugin-mono
-endif
-
-if ENABLE_PYTHON
-PYTHON_DIR = plugin-python
-endif
-
if ENABLE_ONLINE_ACCOUNTS
ONLINE_ACCOUNTS_DIR = online-accounts
endif
@@ -57,8 +49,6 @@ SUBDIRS = \
text-highlight \
vcard-inline \
web-inspector \
- $(MONO_DIR) \
- $(PYTHON_DIR) \
$(ONLINE_ACCOUNTS_DIR) \
$(TNEF_ATTACHMENT_DIR) \
$(AUDIO_INLINE_DIR)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]