[totem] browser-plugin: Remove browser plugin



commit 0bb0e018650560f346b1a2b8ec8a1c8b9a5a4cc7
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 30 13:10:39 2014 +0200

    browser-plugin: Remove browser plugin
    
    http://www.hadess.net/2014/04/good-bye-totem-browser-plugin.html

 Makefile.am                                        |    9 +-
 browser-plugin/Makefile.am                         |  234 --
 browser-plugin/README.browser-plugin               |   49 -
 browser-plugin/TODO                                |   14 -
 browser-plugin/idl/totemICone.idl                  |   48 -
 browser-plugin/idl/totemIConeAudio.idl             |   34 -
 browser-plugin/idl/totemIConeInput.idl             |   37 -
 browser-plugin/idl/totemIConePlaylist.idl          |   50 -
 browser-plugin/idl/totemIConePlaylistItems.idl     |   32 -
 browser-plugin/idl/totemIConeVideo.idl             |   39 -
 browser-plugin/idl/totemIGMPCdromCollection.idl    |    9 -
 browser-plugin/idl/totemIGMPClosedCaption.idl      |    9 -
 browser-plugin/idl/totemIGMPControls.idl           |   53 -
 browser-plugin/idl/totemIGMPDVD.idl                |    9 -
 browser-plugin/idl/totemIGMPError.idl              |   34 -
 browser-plugin/idl/totemIGMPErrorItem.idl          |   33 -
 browser-plugin/idl/totemIGMPMedia.idl              |   49 -
 browser-plugin/idl/totemIGMPMediaCollection.idl    |    9 -
 browser-plugin/idl/totemIGMPNetwork.idl            |    8 -
 browser-plugin/idl/totemIGMPPlayer.idl             |  112 -
 browser-plugin/idl/totemIGMPPlayerApplication.idl  |   32 -
 browser-plugin/idl/totemIGMPPlaylist.idl           |   45 -
 browser-plugin/idl/totemIGMPPlaylistArray.idl      |   32 -
 browser-plugin/idl/totemIGMPPlaylistCollection.idl |   38 -
 browser-plugin/idl/totemIGMPSettings.idl           |   43 -
 browser-plugin/idl/totemIMullYPlayer.idl           |   89 -
 browser-plugin/idl/totemINarrowSpacePlayer.idl     |  165 --
 browser-plugin/npapi.h                             |  808 ------
 browser-plugin/npruntime.h                         |  393 ---
 browser-plugin/nptypes.h                           |  121 -
 browser-plugin/npupp.h                             |  719 ------
 browser-plugin/org_gnome_totem_PluginViewer.xml    |   82 -
 browser-plugin/plugin.symbols                      |    4 -
 browser-plugin/test-glow-button.c                  |   54 -
 browser-plugin/tests/.gitignore                    |    1 -
 browser-plugin/tests/.htaccess                     |   13 -
 browser-plugin/tests/1.html                        |    6 -
 browser-plugin/tests/10-data/ac_quicktime.js       |    1 -
 browser-plugin/tests/10-data/cid_check.js          |    9 -
 browser-plugin/tests/10-data/global.css            |  100 -
 browser-plugin/tests/10-data/globalprint.css       |   78 -
 browser-plugin/tests/10-data/hd_btn2_1080i.mov     |  Bin 2588 -> 0 bytes
 browser-plugin/tests/10-data/hd_btn2_480p.mov      |  Bin 2580 -> 0 bytes
 browser-plugin/tests/10-data/hd_btn2_720p.mov      |  Bin 2560 -> 0 bytes
 browser-plugin/tests/10-data/nav.css               |  129 -
 browser-plugin/tests/10-data/qt7required.gif       |  Bin 2506 -> 0 bytes
 browser-plugin/tests/10-data/quicktime.css         |   99 -
 browser-plugin/tests/10-data/s55958967640717       |  Bin 43 -> 0 bytes
 browser-plugin/tests/10-data/s_code_h.js           |  727 ------
 browser-plugin/tests/10-data/shortcuts.js          |    1 -
 browser-plugin/tests/10-data/spinner.gif           |  Bin 4099 -> 0 bytes
 browser-plugin/tests/10-data/trailers.css          |   70 -
 .../tests/10-data/walle_200803111551.jpg           |  Bin 9921 -> 0 bytes
 browser-plugin/tests/10.html                       |  297 ---
 browser-plugin/tests/11.html                       |   47 -
 browser-plugin/tests/12.html                       |    7 -
 browser-plugin/tests/2.html                        |   93 -
 browser-plugin/tests/3.html                        |    5 -
 browser-plugin/tests/4.html                        |    7 -
 browser-plugin/tests/5.html                        |    7 -
 browser-plugin/tests/6.html                        |   10 -
 browser-plugin/tests/7.html                        |   10 -
 browser-plugin/tests/8.html                        |   10 -
 browser-plugin/tests/9.html                        |   20 -
 browser-plugin/tests/Sample.qtif                   |  Bin 18663 -> 0 bytes
 browser-plugin/tests/anim.png                      |  Bin 2083 -> 0 bytes
 browser-plugin/tests/frontrow-music.mov            |  Bin 473716 -> 0 bytes
 browser-plugin/tests/index.html                    |   41 -
 browser-plugin/tests/launch-web-server.sh          |  136 -
 browser-plugin/tests/leopard.mov                   |  Bin 348892 -> 0 bytes
 browser-plugin/tests/mjpeg-totem-logo.avi          |  Bin 188140 -> 0 bytes
 browser-plugin/tests/playlist-with-static-png.asx  |   38 -
 browser-plugin/tests/playlist-with-static.asx      |   38 -
 browser-plugin/tests/playlist.asx                  |   15 -
 browser-plugin/tests/test-local.asx                |    7 -
 browser-plugin/tests/test.srt                      | 2348 -----------------
 browser-plugin/tests/totem-href.jpg                |  Bin 17310 -> 0 bytes
 browser-plugin/tests/totem-href.mov                |  Bin 2460 -> 0 bytes
 browser-plugin/totem-glow-button.c                 |  156 --
 browser-plugin/totem-glow-button.h                 |   47 -
 browser-plugin/totem-plugin-viewer-constants.h     |   46 -
 browser-plugin/totem-plugin-viewer-options.h       |   40 -
 browser-plugin/totem-plugin-viewer.c               | 2394 -----------------
 browser-plugin/totem-plugin-viewer.gresource.xml   |    6 -
 browser-plugin/totemCone.cpp                       |  118 -
 browser-plugin/totemCone.h                         |   59 -
 browser-plugin/totemConeAudio.cpp                  |  139 -
 browser-plugin/totemConeAudio.h                    |   58 -
 browser-plugin/totemConeInput.cpp                  |  132 -
 browser-plugin/totemConeInput.h                    |   53 -
 browser-plugin/totemConePlaylist.cpp               |  166 --
 browser-plugin/totemConePlaylist.h                 |   60 -
 browser-plugin/totemConePlaylistItems.cpp          |   95 -
 browser-plugin/totemConePlaylistItems.h            |   52 -
 browser-plugin/totemConeVideo.cpp                  |  136 -
 browser-plugin/totemConeVideo.h                    |   61 -
 browser-plugin/totemGMPControls.cpp                |  209 --
 browser-plugin/totemGMPControls.h                  |   71 -
 browser-plugin/totemGMPError.cpp                   |  104 -
 browser-plugin/totemGMPError.h                     |   54 -
 browser-plugin/totemGMPErrorItem.cpp               |   89 -
 browser-plugin/totemGMPErrorItem.h                 |   51 -
 browser-plugin/totemGMPNetwork.cpp                 |  171 --
 browser-plugin/totemGMPNetwork.h                   |   81 -
 browser-plugin/totemGMPPlayer.cpp                  |  313 ---
 browser-plugin/totemGMPPlayer.h                    |   99 -
 browser-plugin/totemGMPPlaylist.cpp                |  158 --
 browser-plugin/totemGMPPlaylist.h                  |   65 -
 browser-plugin/totemGMPSettings.cpp                |  223 --
 browser-plugin/totemGMPSettings.h                  |   68 -
 browser-plugin/totemMullYPlugin.cpp                |  179 --
 browser-plugin/totemMullYPlugin.h                  |  104 -
 browser-plugin/totemNPClass.cpp                    |  207 --
 browser-plugin/totemNPClass.h                      |  154 --
 browser-plugin/totemNPNGlue.cpp                    |  322 ---
 browser-plugin/totemNPObject.cpp                   |  584 -----
 browser-plugin/totemNPObject.h                     |  184 --
 browser-plugin/totemNPObjectWrapper.h              |  122 -
 browser-plugin/totemNPVariantWrapper.h             |  111 -
 browser-plugin/totemNarrowSpacePlugin.cpp          |  554 ----
 browser-plugin/totemNarrowSpacePlugin.h            |  142 --
 browser-plugin/totemPlugin.cpp                     | 2678 --------------------
 browser-plugin/totemPlugin.h                       |  415 ---
 browser-plugin/totemPluginGlue.cpp                 |  466 ----
 browser-plugin/totemVegasPlugin.cpp                |   54 -
 browser-plugin/totemVegasPlugin.h                  |   48 -
 configure.ac                                       |  101 -
 po/POTFILES.in                                     |    1 -
 128 files changed, 1 insertions(+), 19865 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index e829a68..4cad8f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,12 +1,6 @@
 ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS}
 
-NORMAL_SUBDIRS = libgd po data help src docs
-
-SUBDIRS = $(NORMAL_SUBDIRS)
-
-if ENABLE_BROWSER_PLUGINS
-SUBDIRS += browser-plugin
-endif
+SUBDIRS = libgd po data help src docs
 
 EXTRA_DIST =                   \
        license_change          \
@@ -36,7 +30,6 @@ MAINTAINERCLEANFILES = \
 
 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
 
-DIST_SUBDIRS = $(NORMAL_SUBDIRS) browser-plugin
 DISTCHECK_CONFIGURE_FLAGS = \
        --disable-scrollkeeper \
        --enable-gtk-doc \
diff --git a/configure.ac b/configure.ac
index c705440..52586da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -451,106 +451,6 @@ AC_MSG_RESULT([$PLUGINS])
 AC_SUBST([ALL_PLUGINS])
 AC_SUBST([PLUGINS])
 
-# ***************
-# Browser plugins
-# ***************
-
-AC_MSG_CHECKING([whether to compile the browser plugins])
-
-AC_ARG_ENABLE([browser-plugins],
-       [AS_HELP_STRING([--enable-browser-plugins],[compile the totem browser plugins])],
-       [],[enable_browser_plugins=yes])
-AC_MSG_RESULT([$enable_browser_plugins])
-
-if test "$enable_browser_plugins" = "yes" ; then
-       AC_DEFINE([ENABLE_BROWSER_PLUGINS],[1],[Define to build the browser plugin])
-
-       BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}"
-       AC_ARG_VAR([BROWSER_PLUGIN_DIR],[Where to install the plugin to])
-
-       PKG_CHECK_MODULES([BROWSER_PLUGIN],
-               [glib-2.0
-                gio-2.0 >= $GIO_REQS
-                gmodule-export-2.0
-                x11
-                totem-plparser-mini >= $TOTEM_PLPARSER_REQS],
-               [],[enable_browser_plugins=no])
-
-       AC_SUBST([BROWSER_PLUGIN_CFLAGS])
-       AC_SUBST([BROWSER_PLUGIN_LIBS])
-
-       # Earlier versions misdetect playlists
-       PKG_CHECK_EXISTS([shared-mime-info >= 0.22],
-                       [],
-                       [AC_MSG_ERROR([
-                               The Browser plugin requires shared-mime-info
-                               >= 0.22 to function.])])
-
-        # check for -fno-rtti flag
-
-       AC_LANG_PUSH([C++])
-       __SAVE_CXXFLAGS=$CXXFLAGS
-       CXXFLAGS="-fno-rtti $CXXFLAGS"
-
-       AC_MSG_CHECKING([for -fno-rtti compiler flag])
-       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[have_no_rtti_flag=yes],[have_no_rtti_flag=no])
-       AC_MSG_RESULT([$have_no_rtti_flag])
-
-       CXXFLAGS=$__SAVE_CXXFLAGS
-       AC_LANG_POP([C++])
-
-       if test "$have_no_rtti_flag" = "yes"; then
-               AM_CXXFLAGS="-fno-rtti $AM_CXXFLAGS"
-       fi
-
-       PKG_CHECK_MODULES(PLUGIN_VIEWER, $BACKEND_MODULES gtk+-3.0 >= $GTK_REQS totem-plparser >= 
$TOTEM_PLPARSER_REQS gdk-x11-3.0 >= $GTK_REQS)
-       PKG_CHECK_MODULES(GLOW_BUTTON, gtk+-3.0)
-fi
-
-AM_CONDITIONAL([ENABLE_BROWSER_PLUGINS], [test "$enable_browser_plugins" = "yes"])
-
-# check which plugins to enable
-
-if test "$enable_browser_plugins" = "yes"; then
-
-AC_MSG_CHECKING([whether to enable the GMP browser plugin])
-AC_ARG_ENABLE([gmp-plugin],
-       AS_HELP_STRING([--enable-gmp-plugin],[Whether to enable the GMP browser plugin]),
-       [],[enable_gmp_plugin=yes])
-AC_MSG_RESULT([$enable_gmp_plugin])
-
-AC_MSG_CHECKING([whether to enable the NarrowSpace browser plugin])
-AC_ARG_ENABLE([narrowspace-plugin],
-       AS_HELP_STRING([--enable-narrowspace-plugin],[Whether to enable the NarrowSpace browser plugin]),
-       [],[enable_narrowspace_plugin=yes])
-AC_MSG_RESULT([$enable_narrowspace_plugin])
-
-AC_MSG_CHECKING([whether to enable the MullY browser plugin])
-AC_ARG_ENABLE([mully-plugin],
-       AS_HELP_STRING([--enable-mully-plugin],[Whether to enable the MullY browser plugin]),
-       [],[enable_mully_plugin=yes])
-AC_MSG_RESULT([$enable_mully_plugin])
-
-AC_MSG_CHECKING([whether to enable the Cone browser plugin])
-AC_ARG_ENABLE([cone-plugin],
-       AS_HELP_STRING([--enable-cone-plugin],[Whether to enable the Cone browser plugin]),
-       [],[enable_cone_plugin=yes])
-AC_MSG_RESULT([$enable_cone_plugin])
-
-AC_MSG_CHECKING([whether to enable the Vegas browser plugin])
-AC_ARG_ENABLE([vegas-plugin],
-       AS_HELP_STRING([--enable-vegas-plugin],[Whether to enable the Vegas browser plugin]),
-       [],[enable_vegas_plugin=yes])
-AC_MSG_RESULT([$enable_vegas_plugin])
-
-fi
-
-AM_CONDITIONAL([ENABLE_GMP_PLUGIN],[test "$enable_gmp_plugin" = "yes"])
-AM_CONDITIONAL([ENABLE_NARROWSPACE_PLUGIN],[test "$enable_narrowspace_plugin" = "yes"])
-AM_CONDITIONAL([ENABLE_MULLY_PLUGIN],[test "$enable_mully_plugin" = "yes"])
-AM_CONDITIONAL([ENABLE_CONE_PLUGIN],[test "$enable_cone_plugin" = "yes"])
-AM_CONDITIONAL([ENABLE_VEGAS_PLUGIN],[test "$enable_vegas_plugin" = "yes"])
-
 dnl ********
 dnl Nautilus
 dnl ********
@@ -676,7 +576,6 @@ src/plugins/chapters/Makefile
 src/plugins/zeitgeist-dp/Makefile
 src/plugins/vimeo/Makefile
 src/backend/Makefile
-browser-plugin/Makefile
 data/Makefile
 data/org.gnome.totem.gschema.xml.in
 data/totem.desktop.in.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a103192..cd6194b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,6 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
 [encoding: UTF-8]
-browser-plugin/totem-plugin-viewer.c
 [type: gettext/glade]data/controls.ui
 data/org.gnome.totem.gschema.xml.in.in
 [type: gettext/glade]data/playlist.ui


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