#!/bin/sh CWD=`pwd` cd /tmp VERSION=1.0.6 tar xjvf $CWD/nautilus-$VERSION.tar.bz2 cd nautilus-$VERSION zcat $CWD/nautilus-$VERSION.bookmarks.diff.gz | patch -p1 # Don't try to connect to dead services on first run. zcat $CWD/nautilus-$VERSION.noservicesurl.diff.gz | patch -p1 # Don't try to use features from the unreleased development version # of scrollkeeper. (Remove this patch when scrollkeeper-0.4 arrives) zcat $CWD/nautilus-1.0.6.hyperbola.diff.gz | patch -p1 # # Disabling the Mozilla component. As a replacement, Galeon can be compiled so that # it can function as the Nautilus web view component. This removes the Nautilus # dependency on Mozilla, which is a good thing, and improves stability since Galeon # follows Mozilla changes more closely (also a good thing). The only drawback is that # compiling Galeon with the Nautilus view makes it link to all the Nautilus libraries. # In fact, I find that messy enough that I'm not compiling Galeon that way, so Nautilus # will be a file browser only, not a web browser. # # Whenever Nautilus-1.0.7 ships the Mozilla-view-component will be gone anyway, lest # anyone thinks I've lost my mind. ;-) # CFLAGS="-O2 -march=i386 -mcpu=i686" CXXFLAGS="-O2 -march=i386 -mcpu=i686" ./configure --sysconfdir=/usr/etc \ --prefix=/usr \ --mandir=/usr/man \ --infodir=/usr/info \ --localstatedir=/var/lib \ --disable-more-warnings \ --with-freetype2-prefix=/usr/X11R6 \ --disable-mozilla-component \ i386-slackware-linux make make install mkdir -p /usr/doc/nautilus-$VERSION cp -a ABOUT-NLS AUTHORS COPYING COPYING-DOCS COPYING.LIB ChangeLog HACKING INSTALL MAINTAINERS NEWS README RPMs-README THANKS TODO TRADEMARK_NOTICE \ /usr/doc/nautilus-$VERSION chmod 644 /usr/doc/nautilus-$VERSION/* chown root.root /usr/doc/nautilus-$VERSION/* mkdir -p /usr/share/pixmaps/nautilus # This is the Scalable SVG theme that was recently announced on www.gnome.org, # but with the non-redistributable trademarked logos removed: ( cd /usr/share/pixmaps/nautilus ; tar xzf $CWD/nautilus-gorilla.tar.gz )