[epiphany-extensions] Remove python extensions.



commit e53218a9a77bfd67a192f841dbf151c2fd9794a7
Author: Xan Lopez <xan gnome org>
Date:   Tue Jun 23 10:32:36 2009 +0300

    Remove python extensions.
    
    They are still in version control when we want to port them over.

 configure.ac                                       |   49 +--
 extensions/cc-license-viewer/Makefile.am           |   16 -
 .../cc-license-viewer.ephy-extension.in            |   10 -
 extensions/cc-license-viewer/cc-license-viewer.py  |  464 --------------------
 extensions/epilicious/BaseStore.py                 |   70 ---
 extensions/epilicious/DeliciousStore.py            |  102 -----
 extensions/epilicious/DiigoStore.py                |   84 ----
 extensions/epilicious/EpiphanyStore.py             |  134 ------
 extensions/epilicious/Makefile.am                  |   63 ---
 extensions/epilicious/THOUGHTS                     |   63 ---
 extensions/epilicious/TODO                         |   56 ---
 extensions/epilicious/__init__.py                  |  192 --------
 extensions/epilicious/backend.py                   |   28 --
 extensions/epilicious/config.py                    |   98 ----
 extensions/epilicious/diigo.py                     |  112 -----
 extensions/epilicious/epilicious-config.glade      |  226 ----------
 extensions/epilicious/epilicious-progress.glade    |  248 -----------
 extensions/epilicious/epilicious.ephy-extension.in |   10 -
 extensions/epilicious/epilicious.py.in             |  284 ------------
 extensions/epilicious/epilicious.schemas.in        |   71 ---
 extensions/epilicious/magnolia.py                  |  157 -------
 extensions/epilicious/progress.py                  |   70 ---
 extensions/favicon/Makefile.am                     |   13 -
 extensions/favicon/favicon.ephy-extension.in       |   11 -
 extensions/favicon/favicon.py                      |   48 --
 extensions/python-console/Makefile.am              |   13 -
 extensions/python-console/console.py               |  365 ---------------
 .../python-console.ephy-extension.in               |   11 -
 extensions/sample-python/Makefile.am               |   22 -
 .../sample-python-location.ephy-extension.in       |   10 -
 extensions/sample-python/sample-python-location.py |   20 -
 .../sample-python-menu.ephy-extension.in           |   10 -
 extensions/sample-python/sample-python-menu.py     |  104 -----
 .../sample-python-statusbar.ephy-extension.in      |   10 -
 .../sample-python/sample-python-statusbar.py       |  129 ------
 .../sample-python/sample-python.ephy-extension.in  |   11 -
 extensions/sample-python/sample-python.py          |   18 -
 po/POTFILES.in                                     |   10 -
 38 files changed, 5 insertions(+), 3407 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9bf015b..6370ac4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,21 +172,9 @@ ALL_EXTENSIONS="actions adblock auto-reload auto-scroller certificates error-vie
 USEFUL_EXTENSIONS="actions adblock auto-reload auto-scroller certificates error-viewer extensions-manager-ui gestures java-console page-info push-scroller select-stylesheet sidebar smart-bookmarks tab-groups tab-states"
 DEFAULT_EXTENSIONS="actions adblock auto-scroller certificates error-viewer extensions-manager-ui gestures java-console page-info push-scroller select-stylesheet sidebar smart-bookmarks tab-groups tab-states greasemonkey"
 
-PYTHON_ALL_EXTENSIONS="python-console sample-python favicon cc-license-viewer epilicious"
-PYTHON_USEFUL_EXTENSIONS="python-console favicon cc-license-viewer"
-PYTHON_DEFAULT_EXTENSIONS="python-console favicon cc-license-viewer"
-
 MOZILLA_ALL_EXTENSIONS="error-viewer java-console livehttpheaders page-info select-stylesheet smart-bookmarks"
 
-DIST_EXTENSIONS="$ALL_EXTENSIONS $PYTHON_ALL_EXTENSIONS"
-
-if test $EPIPHANY_HAS_PYTHON; then
-	ALL_EXTENSIONS="$ALL_EXTENSIONS $PYTHON_ALL_EXTENSIONS"
-	USEFUL_EXTENSIONS="$USEFUL_EXTENSIONS $PYTHON_USEFUL_EXTENSIONS"
-	DEFAULT_EXTENSIONS="$DEFAULT_EXTENSIONS $PYTHON_DEFAULT_EXTENSIONS"
-else
-	AC_MSG_WARN([Epiphany compiled without python support, extensions $PYTHON_ALL_EXTENSIONS will not be available])
-fi
+DIST_EXTENSIONS="$ALL_EXTENSIONS"
 
 # due to an autoconf bug, commas in the first arg to
 # AS_HELP_STRING() cause problems.
@@ -195,11 +183,11 @@ fi
 AC_ARG_WITH([extensions],
 [  --with-extensions=extension1,extension2,...
 			  build the specified extensions. Available:
-			  actions, adblock, auto-reload, auto-scroller, cc-license-viewer,
-			  certificates, error-viewer, extensions-manager-ui, favicon,
+			  actions, adblock, auto-reload, auto-scroller,
+			  certificates, error-viewer, extensions-manager-ui,
 			  gestures, greasemonkey, java-console, livehttpheaders, page-info,
-			  permissions, push-scroller, python-console, rss, sample,
-			  sample-python, select-stylesheet, sidebar,
+			  permissions, push-scroller, rss, sample,
+			  select-stylesheet, sidebar,
 			  smart-bookmarks, tab-groups, tab-states,
 			  as well as the aliases default, all, and really-all],
 			  [extensions=$with_extensions],
@@ -209,7 +197,6 @@ if test "x$with_extensions" = xyes; then
   extensions="default"
 fi
 
-need_python=no
 EXTENSIONS=
 IFS="${IFS=	}"; ephyext_save_ifs="$IFS"; IFS=","
 for ext in $extensions; do
@@ -225,9 +212,6 @@ for ext in $extensions; do
    AC_MSG_ERROR([the specified extension $ext does not exist])
  fi
 
- if echo "$PYTHON_ALL_EXTENSIONS" | egrep "(^| )$ext(\$| )" > /dev/null; then
-   need_python=yes
- fi
 done
 IFS="$ephyext_save_ifs"
 
@@ -255,21 +239,6 @@ if echo "$EXTENSIONS" | egrep '(^| )(rss)($| )' > /dev/null; then
 	PKG_CHECK_MODULES([DBUS], [dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED])
 fi
 
-# ******
-# Python
-# ******
-
-if test "x$need_python" = "xyes"; then
-	AM_PATH_PYTHON([2.3])
-
-	if test "x$PYTHON" = "x:"; then
-		AC_MSG_ERROR([Python not found])
-	fi
-
-	PYGTK_REQUIRED=2.11.0
-	PKG_CHECK_EXISTS([pygtk >= $PYGTK_REQUIRED])
-fi
-
 # *****************
 # Add warning flags
 # *****************
@@ -326,14 +295,11 @@ extensions/adblock/Makefile
 extensions/auto-reload/Makefile
 extensions/auto-scroller/Makefile
 extensions/certificates/Makefile
-extensions/cc-license-viewer/Makefile
-extensions/epilicious/Makefile
 extensions/gestures/Makefile
 extensions/error-viewer/Makefile
 extensions/error-viewer/mozilla/Makefile
 extensions/error-viewer/opensp/Makefile
 extensions/extensions-manager-ui/Makefile
-extensions/favicon/Makefile
 extensions/greasemonkey/Makefile
 extensions/livehttpheaders/Makefile
 extensions/livehttpheaders/mozilla/Makefile
@@ -341,10 +307,8 @@ extensions/page-info/Makefile
 extensions/page-info/mozilla/Makefile
 extensions/permissions/Makefile
 extensions/push-scroller/Makefile
-extensions/python-console/Makefile
 extensions/rss/Makefile
 extensions/sample/Makefile
-extensions/sample-python/Makefile
 extensions/select-stylesheet/Makefile
 extensions/select-stylesheet/mozilla/Makefile
 extensions/sidebar/Makefile
@@ -363,8 +327,6 @@ AC_OUTPUT
 # *************************************
 # *************************************
 
-if test "$EPIPHANY_HAS_PYTHON" = "1"; then enable_python="yes"; else enable_python="no"; fi
-
 echo "
 Epiphany Extensions was configured with the following options:
 
@@ -374,7 +336,6 @@ Epiphany Extensions was configured with the following options:
 	Extra debugging support    : $enable_debug
 
 	Epiphany API version	   : $EPIPHANY_API_VERSION
-	Epiphany has Python	   : $enable_python
 
 	OpenSP			   : $enable_opensp
 
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4602cc0..3d513ec 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -10,13 +10,7 @@ extensions/adblock/adblock-ui.c
 extensions/adblock/adblock.glade
 extensions/adblock/ephy-adblock-extension.c
 extensions/auto-reload/ephy-auto-reload-extension.c
-extensions/cc-license-viewer/cc-license-viewer.py
 extensions/certificates/ephy-certificates-extension.c
-extensions/epilicious/epilicious-config.glade
-extensions/epilicious/epilicious-progress.glade
-extensions/epilicious/epilicious.py.in
-extensions/epilicious/epilicious.schemas.in
-extensions/epilicious/progress.py
 extensions/error-viewer/ephy-error-viewer-extension.c
 extensions/error-viewer/error-viewer.glade
 extensions/error-viewer/link-checker.c
@@ -49,12 +43,9 @@ extensions/smart-bookmarks/smart-bookmarks.schemas.in
 [type: gettext/ini]extensions/adblock/adblock.ephy-extension.in.in
 [type: gettext/ini]extensions/auto-scroller/auto-scroller.ephy-extension.in.in
 [type: gettext/ini]extensions/auto-reload/auto-reload.ephy-extension.in.in
-[type: gettext/ini]extensions/cc-license-viewer/cc-license-viewer.ephy-extension.in
 [type: gettext/ini]extensions/certificates/certificates.ephy-extension.in.in
-[type: gettext/ini]extensions/epilicious/epilicious.ephy-extension.in
 [type: gettext/ini]extensions/error-viewer/error-viewer.ephy-extension.in.in
 [type: gettext/ini]extensions/extensions-manager-ui/extensions-manager-ui.ephy-extension.in.in
-[type: gettext/ini]extensions/favicon/favicon.ephy-extension.in
 [type: gettext/ini]extensions/gestures/gestures.ephy-extension.in.in
 [type: gettext/ini]extensions/greasemonkey/greasemonkey.ephy-extension.in.in
 [type: gettext/ini]extensions/java-console/java-console.ephy-extension.in.in
@@ -62,7 +53,6 @@ extensions/smart-bookmarks/smart-bookmarks.schemas.in
 [type: gettext/ini]extensions/page-info/page-info.ephy-extension.in.in
 [type: gettext/ini]extensions/permissions/permissions.ephy-extension.in.in
 [type: gettext/ini]extensions/push-scroller/push-scroller.ephy-extension.in.in
-[type: gettext/ini]extensions/python-console/python-console.ephy-extension.in
 [type: gettext/ini]extensions/rss/rss.ephy-extension.in.in
 [type: gettext/ini]extensions/sample/sample.ephy-extension.in.in
 [type: gettext/ini]extensions/select-stylesheet/select-stylesheet.ephy-extension.in.in



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