HOWTO
# goffice 0.1.2
# =============
# Prerequisites:
#
gawk
#
intltool >= 0.27.2
#
perl
#
iconv
#
gettext
#
bison
#
flex
#
sed
#
grep
#
pkg-config
#
cairo >= 0.5.0 (if --with-cairo is specified)
#
gtk+-2.0 >= 2.6.0
#
libglade-2.0 >= 2.3.6
#
libgnomeprint-2.2 >= 2.8.2
#
libart-2.0 >= 2.3.11
# The next three are required unless --without-gnome is specified
#
gconf-2.0
#
libgnomeui-2.0 >= 2.0.0
#
libgsf-gnome-1 >= 1.12.2 (this lib is part of libgsf)
#
glib >= 2.6.3
#
libgsf-1 >= 1.13.3
#
libxml-2.0 >= 2.4.12
#
pango >= 1.8.1
cd
test -f installed/goffice-0.1.2.tar.bz2 &&
mv installed/goffice-0.1.2.tar.bz2 .
test ! -f goffice-0.1.2.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/goffice/0.1/goffice-0.1.2.tar.bz2
# Verify tarball w/
md5sum:
echo "74de4548603a35f8cdf95b52ac31d8c6 goffice-0.1.2.tar.bz2" | md5sum -c
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "goffice-*" -exec rm -r {} \;
tar xjvf ~/goffice-0.1.2.tar.bz2
cd goffice-0.1.2
test $UID = 0 && chown -R root:root .
# If make fails mentioning an error related to gog_renderer_cairo_clip_push
# you may want to rebuild (make distclean, then configure again) it
# without specifying --with-cairo. These may shed some light on it:
#
http://www.mail-archive.com/gnumeric-list@gnome.org/msg00680.html
#
http://cvs.gnome.org/viewcvs/goffice/
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --with-cairo
make
# Become root to install it
su
rm -f /usr/lib/libgoffice-1.*
make install
ldconfig
# I don't need these because I only read/write (well) English:
find /usr/share/locale -type f -name "goffice.mo" -exec rm {} \;
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/goffice-*.tar.*
mv goffice-0.1.2.tar.bz2 installed/
# If you ever want to uninstall goffice, cd into the source directory,
# run 'make uninstall', remove the source directory, then remove the
# tarball.