Linux HOWTOs

About | Home | Search


HOWTO: nautilus-media
Description: Media extension for Nautilus
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# nautilus-media
# ==============
# Slackware 9.0's 'nautilus-media' package includes version 0.2.1, 9.1's
# includes 0.3.3, 10.0 and 10.1's include 0.8.0  As of Slackware 10.2,
# Gnome is no longer included.

# Below I include multiple versions of nautilus-media covering several
# releases of Gnome.  I will keep all of them updated, but keep in mind that
# I only actually use Gnome 2.12.x

# If you ever want to uninstall nautilus-media, 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 only read/write (well) English, so I remove the nautilus-media.mo
# internationalization files below.  If this is not the case for you, skip
# that part.

# Prerequisites (for all versions):
# gawk
# sed
# grep
# pkg-config

# Install/update the XML::Parser perl module:
perl -MCPAN -e shell
o conf make_install_arg UNINST=1
o conf prerequisites_policy follow
install XML::Parser
exit


# nautilus-media 0.2.2 (for Gnome 2.2.x)
# ====================
# Not using Gnome 2.2.x myself, I only know what prerequisites are required
# by looking at what configure is looking for.  After it fails to find
# gstreamer-0.7 on my system (I have gstreamer-0.8 installed), it stops.  So
# there are likely other prerequisites like libgnome, libgnomeui, etc.

# Prerequisites (beyond those listed above):
# gstreamer-0.7 >= 0.6.1

cd
test -f installed/nautilus-media-0.2.2.tar.bz2 &&
 mv installed/nautilus-media-0.2.2.tar.bz2 .
test ! -f nautilus-media-0.2.2.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/nautilus-media/0.2/\
nautilus-media-0.2.2.tar.bz2

# Verify tarball w/ md5sum:
echo "7143d3624d808453ee2cba1328517532  nautilus-media-0.2.2.tar.bz2" | \
 md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-media-*" -exec rm -r {} \;
tar xjvf ~/nautilus-media-0.2.2.tar.bz2
cd nautilus-media-0.2.2
test $UID = 0 && chown -R root:root .
./configure \
 --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nautilus-media
make install

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/nautilus-media-*.tar.*
mv nautilus-media-0.2.2.tar.bz2 installed/


# nautilus-media 0.3.4 (for Gnome 2.4.x)
# ====================
# Not using Gnome 2.4.x myself, I only know what prerequisites are required
# by looking at what configure is looking for.  After it fails to find
# gstreamer-0.6 on my system (I have gstreamer-0.8 installed), it stops.  So
# there are likely other prerequisites like libgnome, libgnomeui, etc.

# Prerequisites (beyond those listed above):
# gstreamer-0.6 >= 0.6.1

cd
test -f installed/nautilus-media-0.3.4.tar.bz2 &&
 mv installed/nautilus-media-0.3.4.tar.bz2 .
test ! -f nautilus-media-0.3.4.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/nautilus-media/0.3/\
nautilus-media-0.3.4.tar.bz2

# Verify tarball w/ md5sum:
echo "da00eaa7c47bb1685b7c320f8d9afeba  nautilus-media-0.3.4.tar.bz2" | \
 md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-media-*" -exec rm -r {} \;
tar xjvf ~/nautilus-media-0.3.4.tar.bz2
cd nautilus-media-0.3.4
test $UID = 0 && chown -R root:root .
./configure \
 --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nautilus-media
make install

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/nautilus-media-*.tar.*
mv nautilus-media-0.3.4.tar.bz2 installed/


# nautilus-media 0.8.1 (for Gnome 2.6.x)
# ====================
# Prerequisites (beyond those listed above):
# gstreamer-0.8 >= 0.8.0
# libgnome-2.0
# libgnomeui-2.0
# eel-2.0
# libnautilus
# intltool >= 0.18
# perl
# gettext
# gconf

cd
test -f installed/nautilus-media-0.8.1.tar.bz2 &&
 mv installed/nautilus-media-0.8.1.tar.bz2 .
test ! -f nautilus-media-0.8.1.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/nautilus-media/0.8/\
nautilus-media-0.8.1.tar.bz2

# Verify tarball w/ md5sum:
echo "4ad604430b213a899c1217f5f4633887  nautilus-media-0.8.1.tar.bz2" | \
 md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-media-*" -exec rm -r {} \;
tar xjvf ~/nautilus-media-0.8.1.tar.bz2
cd nautilus-media-0.8.1
test $UID = 0 && chown -R root:root .
./configure \
 --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nautilus-media
make install
find /usr/share/locale -type f -name nautilus-media.mo -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/nautilus-media-*.tar.*
mv nautilus-media-0.8.1.tar.bz2 installed/

Back to the list


Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>