HOWTO
# F-Spot 0.2.1
# ============
# Prerequisites:
#
gawk
#
intltool
#
Perl
#
iconv
#
gettext
#
grep
#
sed
#
pkg-config
#
Glib >= 2.0.0
#
Mono >= 1.1.7
#
GTK# (gtk-sharp) >= 2.7
#
gconf and the rest of Gnome >= 2.4
#
libjpeg
#
SQLite >= 2.8.6
#
lcms >= 1.12
#
libgphoto2 >= 2.1.4
#
libexif >= 0.5.7 <= 0.7.0
cd
test -f installed/f-spot-0.2.1.tar.bz2 &&
mv installed/f-spot-0.2.1.tar.bz2 .
test ! -f f-spot-0.2.1.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/f-spot/0.2/f-spot-0.2.1.tar.bz2
# Verify tarball w/
md5sum:
echo "75e9823a1cb32ebba43c533556d12bdb f-spot-0.2.1.tar.bz2" | md5sum -c
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "f-spot-*" -exec rm -r {} \;
tar xjvf ~/f-spot-0.2.1.tar.bz2
cd f-spot-0.2.1
test $UID = 0 && chown -R root:root .
./configure
make
# Become root to install it
su
# Install it
make install
# I live in the US and only read/write English (well), so I don't need these
find /usr/local/share/locale -type f -name f-spot.mo -exec rm {} \;
# I had to create this symlink for it
ln -s /usr/lib/libdbus-1.so /usr/lib/libdbus-1.so.2
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/f-spot-*.tar.*
mv f-spot-0.2.1.tar.bz2 installed/
# /usr/local/share/pixmaps/f-spot-logo.png can be used as a desktop icon
# I'm not sure why (I didn't really investigate...), but to start F-spot,
# I had to run it like so: "dbus-launch f-spot"
# If you ever want to uninstall F-Spot, this should do it:
cd
su
test -d src/f-spot-* && ( cd src/f-spot-* ; make uninstall )
( cd /usr/local/bin ; rm -f f-spot f-spot-import )
test -d /usr/local/lib/f-spot && rm -r /usr/local/lib/f-spot
( cd /usr/local/share/applications
rm -f f-spot.desktop f-spot-view.desktop )
rm -f /usr/local/share/pixmaps/f-spot-logo.png
exit
find ~/src -maxdepth 1 -type d -name "f-spot-*" -exec rm -r {} \;
rm -f ~/installed/f-spot-*.tar.*