# SeaMonkey 1.1.9
# ===============
# SeaMonkey is the browser suite that used to be known as Mozilla or
# "Mozilla Application Suite".
# If you want to build SeaMonkey from source, to go my mozilla source howto
# for guidance. I haven't created one for SeaMonkey from source yet.
# These instructions cover installing SeaMonkey from the pre-built binary
# tarball.
# Slackware 11.0's 'seamonkey' package includes version 1.0.5, 12.0's
# includes 1.1.2 Previous versions of Slackware included a 'mozilla'
# package.
# Create directories for the extracted tarball and the tarball itself.
# I put everything Mozilla (Firefox, Thunderbird, SeaMonkey, plugins, etc.)
# all under a mozilla directory. More habit than actual reason.
mkdir -p -m 0700 ~/installed/mozilla
# Download it, unless you have it already
cd
test -f installed/mozilla/\
seamonkey-1.1.9.en-US.linux-i686.tar.gz &&
mv installed/mozilla/seamonkey-1.1.9.en-US.linux-i686.tar.gz .
test ! -f seamonkey-1.1.9.en-US.linux-i686.tar.gz &&
wget http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.9/\
seamonkey-1.1.9.en-US.linux-i686.tar.gz
# This version doesn't have an installer (nothing will go into ~/src)
test -d ~/src/mozilla/seamonkey && rm -r ~/src/mozilla/seamonkey
test -d ~/src/mozilla/seamonkey-installer &&
rm -r ~/src/mozilla/seamonkey-installer
# Become root to remove old files and to install it
su
# Back up the plugins that were installed for your previous version of
# SeaMonkey. If you're replacing a Slackware installed version, you'll
# probably find them in /usr/lib/seamonkey-x.x/plugins/ Make sure this
# catches everything, and that you don't have any other files that need
# to be backed up. The howto will "uninstall" the old version of SeaMonkey
# as the developers suggest. Plugins ininstalled under your home directory
# (~/.mozilla/plugins/) will be left alone. If you're replacing a
# non-distro (previously downloaded) version of Seamonkey, do this:
test -d ~/backup/seamonkey-plugins &&
mv -f ~/backup/seamonkey-plugins ~/backup/seamonkey-plugins-old
for smdir in /usr/lib/seamonkey /usr/lib/seamonkey-?.* \
/usr/local/lib/seamonkey-?.* /usr/local/seamonkey ; do
test -d "${smdir}/plugins" &&
mkdir -p -m 0700 ~/backup/seamonkey-plugins &&
cp -af ${smdir}/plugins/* ~/backup/seamonkey-plugins/
done
test -f ~/backup/seamonkey-plugins/libnullplugin.so &&
rm ~/backup/seamonkey-plugins/libnullplugin.so
# Now make sure that SeaMonkey is not running. This should kill it if it is
# running, and should remove it if it's installed in a few common locations.
# removepkg will be run below also in case you're replacing a Slackware
# package.
killall seamonkey seamonkey-bin
for pfx in /usr /usr/local; do
test -d ${pfx}/lib/seamonkey && rm -r ${pfx}/lib/seamonkey
find ${pfx}/include -maxdepth 1 -type d -name "seamonkey-*" \
-exec rm -r {} \;
find ${pfx}/lib -maxdepth 1 -type d -name "seamonkey-*" -exec rm -r {} \;
rm -f ${pfx}/bin/seamonkey-config ${pfx}/bin/seamonkey \
${pfx}/bin/seamonkey.sh
done
test -d /usr/local/seamonkey && rm -r /usr/local/seamonkey
sleep 3
killall -9 seamonkey seamonkey-bin > /dev/null 2>&1
# Remove the Slackware package (won't do anything if there isn't one)
test -x /sbin/removepkg && /sbin/removepkg seamonkey
# This will install it under /usr/local/seamonkey
tar xzvf seamonkey-1.1.9.en-US.linux-i686.tar.gz -C /usr/local
chown -R root:root /usr/local/seamonkey
# Create a symlink in a directory in your PATH so you can run it without
# specifying the full path to it
ln -sf /usr/local/seamonkey/seamonkey /usr/local/bin/seamonkey
# Restore your plugins (or reinstall them again) if you upgraded from an
# older version of SeaMonkey:
cd /usr/local/seamonkey/plugins
test -d ~/backup/seamonkey-plugins && cp -a ~/backup/seamonkey-plugins/* .
# Become yourself again
exit
cd
rm -f installed/mozilla/seamonkey-*.tar.*
mv seamonkey-1.1.9.en-US.linux-i686.tar.gz installed/mozilla/
# /usr/local/seamonkey/chrome/icons/default/default.xpm (32x32) or
# /usr/local/seamonkey/chrome/icons/default/seamonkey.png (128x128) can be
# used as a desktop icon