# nautilus
# ========
# Slackware 8.1's 'nautilus' package includes version 1.0.6, 9.0's includes
# 2.2.2, 9.1's includes 2.4.0, 10.0 and 10.2's include 2.6.3 As of
# Slackware 10.2, Gnome is no longer included.
# Below I include multiple versions of nautilus 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, 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.mo
# internationalization files below. If this is not the case for you, skip
# that part.
# Prerequisites (for all versions):
# sed
# grep
# pkg-config
# esound >= 0.2.27
# bonobo-activation-2.0 >= 2.1.0
# ORBit-2.0 >= 2.4.0
# pango >= 1.1.2
# libart-2.0 >= 2.3.10
# libbonobo-2.0 >= 2.1.0
# libgnome-2.0 >= 2.1.1
# librsvg-2.0 >= 2.0.1
# libxml-2.0 >= 2.4.7
# gettext
# perl
# XFree86 or X.org
# jw (Slackware 9.0 includes 'sgml-tools' in extra, 9.1, 10.0, 10.1, and
# 10.2 include it as a regular package in 'ap', they're all version 1.0.9)
# gconf
# Install/update the XML::Parser perl module:
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
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-*" -exec rm -r {} \;
tar xjvf ~/nautilus-2.6.3.tar.bz2
cd nautilus-2.6.3
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
--disable-static
## If make fails with an error like this:
# /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:
# cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg nautilus
( cd /usr/lib ; rm -f libnautilus.* libnautilus-adapter.* \
libnautilus-extension.* libnautilus-private.* )
make install
ldconfig
find /usr/share/locale -type f -name nautilus.mo -exec rm {} \;
# Become yourself again
exit
cd
rm -f installed/nautilus-?.*.tar.*
mv nautilus-2.6.3.tar.bz2 installed/
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-*" -exec rm -r {} \;
tar xjvf ~/nautilus-2.12.2.tar.bz2
cd nautilus-2.12.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
--disable-static
## If make fails with an error like this:
# /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:
# cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg nautilus
( cd /usr/lib ; rm -f libnautilus.* libnautilus-adapter.* \
libnautilus-extension.* libnautilus-private.* )
make install
ldconfig
find /usr/share/locale -type f -name nautilus.mo -exec rm {} \;
# Become yourself again
exit
cd
rm -f installed/nautilus-?.*.tar.*
mv nautilus-2.12.2.tar.bz2 installed/
# If you want to add an icon for Nautilus outside of Gnome, you can use
# /usr/share/pixmaps/nautilus/nautilus-launch-icon.png as a desktop icon