[SM-Commit] GIT changes to master grimoire by Eric Sandall (3040c38db3422c6447b50ddc0cc68c6513364f9c)

Eric Sandall scm at sourcemage.org
Fri Jun 1 14:06:55 EDT 2007


GIT changes to master grimoire by Eric Sandall <sandalle at sourcemage.org>:

 http/gnash/DEPENDS |    2 -
 http/gnash/HISTORY |    5 ++
 http/gnash/INSTALL |   90 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 96 insertions(+), 1 deletion(-)

New commits:
commit c4b7b0416c805e8a7cf9c16f1111e11c67b27d9d
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    gnash: Install plugins for all available browsers

diff --git a/http/gnash/DEPENDS b/http/gnash/DEPENDS
index 841c178..cc78fe8 100755
--- a/http/gnash/DEPENDS
+++ b/http/gnash/DEPENDS
@@ -17,7 +17,7 @@ optional_depends  kdebase                    \
                   'Build konqueror plugin?'  &&
 
 optional_depends  NS-PLUGIN-COMPATIBLE           \
-                  "--enable-plugin --with-plugindir=${INSTALL_ROOT}/usr/lib/mozilla/plugins" \
+                  '--enable-plugin'              \
                   '--disable-plugin'             \
                   'for Netscape/Mozilla plugin'  &&
 
diff --git a/http/gnash/HISTORY b/http/gnash/HISTORY
index 0c384c2..4e1a2b3 100644
--- a/http/gnash/HISTORY
+++ b/http/gnash/HISTORY
@@ -1,3 +1,8 @@
+2007-06-01 Eric Sandall <sandalle at sourcemage.org>
+	* DEPENDS: Don't bother with --plugin-dir, as we'll install the plugin
+	  ourselves
+	* INSTALL: Install the plugin to all plugin folders, not just mozilla's
+
 2007-04-27 Eric Sandall <sandalle at sourcemage.org>
 	* CONFIGURE: Remove KDE option, it's no longer valid (even though it's
 	  listed in ./configure --help)
diff --git a/http/gnash/INSTALL b/http/gnash/INSTALL
new file mode 100755
index 0000000..edeca3f
--- /dev/null
+++ b/http/gnash/INSTALL
@@ -0,0 +1,90 @@
+default_install  &&
+
+if  spell_installed  mozilla;  then
+  message "${MESSAGE_COLOR}Installing for Mozilla${DEFAULT_COLOR}\n"  &&
+
+  if [ -e $INSTALL_ROOT/usr/lib/mozilla/plugins/libgnashplugin.so ]; then
+    rm -f $INSTALL_ROOT/usr/lib/mozilla/plugins/libgnashplugin.so
+  fi  &&
+
+  cp  plugin/.libs/libgnashplugin.so $INSTALL_ROOT/usr/lib/mozilla/plugins/
+fi  &&
+
+if  spell_installed  firefox;  then
+  FIREFOX_DIR="/usr/lib/firefox"  &&
+
+  message "${MESSAGE_COLOR}Installing for firefox${DEFAULT_COLOR}\n"  &&
+
+  if [ -e $FIREFOX_DIR/plugins/libgnashplugin.so ]; then
+    rm -f $FIREFOX_DIR/plugins/libgnashplugin.so
+  fi  &&
+
+  cp  plugin/.libs/libgnashplugin.so $FIREFOX_DIR/plugins/
+fi  &&
+
+if  spell_installed  seamonkey;  then
+  message "${MESSAGE_COLOR}Installing for Seamonkey${DEFAULT_COLOR}\n"  &&
+
+  if [ -e $INSTALL_ROOT/usr/lib/seamonkey/plugins/libgnashplugin.so ]; then
+    rm -f $INSTALL_ROOT/usr/lib/seamonkey/plugins/libgnashplugin.so
+  fi  &&
+
+  cp  plugin/.libs/libgnashplugin.so $INSTALL_ROOT/usr/lib/seamonkey/plugins/
+fi  &&
+
+if  spell_installed  firefox-bin;  then
+  message "${MESSAGE_COLOR}Installing for Firefox-bin${DEFAULT_COLOR}\n"  &&
+
+  if [ -e /opt/firefox/plugins/libgnashplugin.so ]; then
+    rm -f /opt/firefox/plugins/libgnashplugin.so
+  fi  &&
+
+  cp  plugin/.libs/libgnashplugin.so /opt/firefox/plugins/
+fi  &&
+
+if  spell_installed  kdebase;  then
+  message "${MESSAGE_COLOR}Installing for Konqueror${DEFAULT_COLOR}\n"       &&
+  message "${MESSAGE_COLOR}"                                                 \
+  "After install, add /usr/lib/konqueror to the Plugins folders\n"           \
+  "list and click on the \"Scan for New Plugins\" button${DEFAULT_COLOR}\n"  &&
+
+  if [ -e $INSTALL_ROOT/usr/lib/konqueror/libgnashplugin.so ]; then
+    rm -f $INSTALL_ROOT/usr/lib/konqueror/libgnashplugin.so
+  fi  &&
+
+  if ! [ -d $INSTALL_ROOT/usr/lib/konqueror ]; then
+    mkdir --mode=755 $INSTALL_ROOT/usr/lib/konqueror
+  fi  &&
+
+  cp  plugin/.libs/libgnashplugin.so $INSTALL_ROOT/usr/lib/konqueror/
+fi  &&
+
+if  spell_installed  opera;  then
+  message "${MESSAGE_COLOR}Installing for Opera${DEFAULT_COLOR}\n"  &&
+
+  if [ -e $INSTALL_ROOT/usr/lib/opera/plugins/libgnashplugin.so ]; then
+    rm -f $INSTALL_ROOT/usr/lib/opera/plugins/libgnashplugin.so
+  fi  &&
+
+  cp  plugin/.libs/libgnashplugin.so $INSTALL_ROOT/usr/lib/opera/plugins/
+fi
+
+if  spell_installed  netscape4;  then
+  message "${MESSAGE_COLOR}Installing for Netscape${DEFAULT_COLOR}\n"  &&
+
+  if [ -e $INSTALL_ROOT/usr/lib/netscape4/plugins/libgnashplugin.so ]; then
+    rm -f $INSTALL_ROOT/usr/lib/netscape4/plugins/libgnashplugin.so
+  fi  &&
+
+  cp  plugin/.libs/libgnashplugin.so $INSTALL_ROOT/usr/lib/netscape4/plugins/
+fi  &&
+
+if  spell_installed  xulrunner;  then
+  message "${MESSAGE_COLOR}Installing for XULRunner${DEFAULT_COLOR}\n"  &&
+
+  if [ -e $INSTALL_ROOT/usr/lib/xulrunner/plugins/libgnashplugin.so ]; then
+    rm -f $INSTALL_ROOT/usr/lib/xulrunner/plugins/libgnashplugin.so
+  fi  &&
+
+  cp  plugin/.libs/libgnashplugin.so $INSTALL_ROOT/usr/lib/xulrunner/plugins/
+fi



More information about the SM-Commit mailing list