# totem
# =====
# Slackware 10.0's 'totem' package includes version 0.99.12 and 10.1's
# includes 0.99.15.1 As of Slackware 10.2, GNOME is no longer included,
# so neither is totem.
# I include the latest 1.2.x and 1.4.x versions below. I'm using 1.4.x
# myself.
# If you want to uninstall anything covered below, or clean up files from
# an old version before installing a new one, cd into the source directory,
# run 'make uninstall' (as root), remove the source directory, then remove
# the tarball.
# I remove the totem.mo internationalization files below because I only
# read/write (well) English. If this is not the case for you, skip that
# part.
# If you have trouble downloading it from ftp.gnome.org below you can also
# get it here
# Install/update the XML::Parser Perl module using CPAN:
su -c "perl -MCPAN -e shell"
o conf make_install_arg UNINST=1
o conf prerequisites_policy follow
install Bundle::CPAN
install XML::Parser
exit
# If you have both xine and gstreamer installed, it will use xine unless
# you pass --enable-gstreamer to configure
cd
test -f installed/totem-1.2.2.tar.bz2 &&
mv installed/totem-1.2.2.tar.bz2 .
test ! -f totem-1.2.2.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/totem/1.2/totem-1.2.2.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "totem-*" -exec rm -r {} \;
tar xjvf ~/totem-1.2.2.tar.bz2
cd totem-1.2.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
# If make fails with an error like this:
# /usr/lib/libxine.so: undefined reference to `libiconv'
# rerun it like this: make LIBS=-liconv
# If make fails with an error like this:
# /usr/bin/ld: cannot find -lssl
# rerun it like this: make LDFLAGS=-L/usr/local/ssl/lib
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg totem
make install
find /usr/share/locale -type f -name "totem.mo" -exec rm {} \;
# If configure sees that you have Mozilla installed, it will install a Totem
# plugin in /usr/lib/mozilla/plugins (even if Mozilla is not installed there).
# If you want that plugin to be used by other browsers, skip down to the
# bottom.
# If you have both xine and gstreamer installed, it will use xine unless
# you pass --enable-gstreamer to configure
cd
test -f installed/totem-1.4.5.tar.bz2 &&
mv installed/totem-1.4.5.tar.bz2 .
test ! -f totem-1.4.5.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/totem/1.4/totem-1.4.5.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "totem-*" -exec rm -r {} \;
tar xjvf ~/totem-1.4.5.tar.bz2
cd totem-1.4.5
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
# If make fails with an error like this:
# /usr/lib/libxine.so: undefined reference to `libiconv'
# rerun it like this: make LIBS=-liconv
# If make fails with an error like this:
# /usr/bin/ld: cannot find -lssl
# rerun it like this: make LDFLAGS=-L/usr/local/ssl/lib
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg totem
make install
find /usr/share/locale -type f -name "totem.mo" -exec rm {} \;
# If configure sees that you have Mozilla installed, it will install a Totem
# plugin in /usr/lib/mozilla/plugins (even if Mozilla is not installed there).
# If you want that plugin to be used by other browsers, skip down to the
# bottom.
# /usr/share/totem/totem_logo.png can be used as a desktop icon
# If configure found your Mozilla installation, it put a Totem plugin in
# /usr/lib/mozilla/plugins. You may want to copy that plugin to be used
# by Firefox (and Mozilla if installed elsewhere) and other
# Mozilla-compatible browsers:
su
if [ -d "/usr/lib/mozilla/plugins" ]; then
for browserdir in \
/usr/lib/firefox \
/usr/lib/firefox-?.* \
/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/plugins" && continue
( cd "$browserdir/plugins"
find "/usr/lib/mozilla/plugins" -type f \
-name "libtotem_mozilla.*" -exec ln -sf {} \; )
done
fi
exit