mplayerplug-in - mplayer plug-in for netscape/mozilla ChangeLog

HOWTO


# mplayerplug-in 3.40
# ===================
# Prerequisites:
# gawk
# pkg-config
# A full installation (with libs and includes) of mozilla (Slackware's
#  mozilla package is sufficient)
# GTK+-2.0
# Glib-2.0
# XFree86 or X.org
# grep
# mplayer >= 1.0pre7

# Naturally every distribution, source tarball, and binary tarball all
# put each browser somewhere else, so we try several common locations.
# If your browser's plugins directory isn't listed below, let me know.

cd
test -f installed/mozilla/mplayerplug-in-3.40.tar.gz &&
mv installed/mozilla/mplayerplug-in-3.40.tar.gz .
test ! -f mplayerplug-in-3.40.tar.gz &&
wget http://download.sf.net/mplayerplug-in/mplayerplug-in-3.40.tar.gz
mkdir -p -m 0700 src/mozilla
cd src/mozilla
find -maxdepth 1 -type d -name "mplayerplug-in-*" -exec rm -r {} \;
tar xzvf ~/mplayerplug-in-3.40.tar.gz
mv -f mplayerplug-in mplayerplug-in-3.40
cd mplayerplug-in-3.40
test $UID = 0 && chown -R root:root .
./configure
make

# Become root to install it
su

for browserdir in \
/usr/lib/firefox \
/usr/lib/firefox-?.* \
/usr/lib/mozilla \
/usr/lib/mozilla-?.* \
/usr/lib/mozilla-firefox \
/usr/lib/netscape \
/usr/local/firefox \
/usr/local/lib/mozilla-?.* \
/usr/local/mozilla \
/usr/local/netscape ; do
  test -d "$browserdir" &&
   ( install mplayerplug-in*.xpt "${browserdir}/components/"
     install mplayerplug-in*.so "${browserdir}/plugins/" )
done

# If you want a system-wide configuration file, create a
# /etc/mplayerplug-in.conf file.  There is a sample one in the source
# directory.  More info is available here:
# http://mplayerplug-in.sourceforge.net/config.php

# Become yourself again
exit

# Remove your browser's pluginreg.dat if you did not upgrade the plug-in,
# but only changed it's configuration.  It will re-create it.
rm ~/.mozilla/firefox/pluginreg.dat

# Make sure you don't also have an old version in ~/.mozilla/plugins/ or
# ~/.firefox/plugins/

# Go to "about:plugins" with a Mozilla browser to see info related to your
# plugins

cd
mkdir -p -m 0700 installed/mozilla
rm -f installed/mozilla/mplayerplug-in-*.tar.*
mv mplayerplug-in-3.40.tar.gz installed/mozilla/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2007-05-07 12:42pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]