# AbiWord
# =======
# Slackware 9.0's 'abiword' package includes version 1.0.6, 9.1's includes
# 2.0.0, 10.0's includes 2.0.6, 10.1 includes 2.0.12, and 10.2 includes
# 2.2.9
# Because of the different prerequisites that are required of each, I
# include the 2.0.x, 2.2.x, and 2.4.x branches here, though keep in mind
# that I only use the 2.4.x version myself.
# As of version 2.0.2, abiword and abiword-plugins come together in the same
# tarball. If you're upgrading a two tarball version, do this before you
# get started below:
cd
test -d installed/abiword &&
( rm -f installed/abiword/abiword-plugins-*
mv -f installed/abiword/* installed/
rmdir installed/abiword )
test -d ~/src/abiword &&
( find ~/src/abiword -mindepth 1 -maxdepth 1 -type d \
-name "abiword-plugins-*" -exec rm -r {} \;
mv ~/src/abiword/* ~/src/
rmdir ~/src/abiword )
cd
test -f installed/abiword-2.0.14.tar.bz2 &&
mv installed/abiword-2.0.14.tar.bz2 .
test ! -f abiword-2.0.14.tar.bz2 &&
wget http://download.sf.net/abiword/abiword-2.0.14.tar.bz2
# Verify tarball w/ md5sum:
# (this came from my copy, this will only verify that yours is identical to
# mine; I couldn't find one anywhere on their site or in the announcement)
echo "3fb61de6c57406d8d3cd68d65562e3ad abiword-2.0.14.tar.bz2" | md5sum -c
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "abiword-*" -exec rm -r {} \;
tar xjvf ~/abiword-2.0.14.tar.bz2
cd abiword-2.0.14
test $UID = 0 && chown -R root:root .
cd abi
# I was unable to get it to build with --enable-gnome under Slackware 9.0
# which comes with Gnome 2.2.x (even after upgrading a few things like
# gnome-vfs). If you use Gnome 2.2.x, you may need to remove --enable-gnome
# from the configure line below. [ Slack 9.1 comes with Gnome 2.4.x, Slack
# 10.0 comes with Gnome 2.6.x, I haven't had any trouble with them ]
# The --enable-scripting option builds in perl scripting support, but as of
# the last time I checked this hadn't been updated to work with anything newer
# than perl 5.8.0 (5.8.5 is current), so I leave it off below.
# If you had to remove --enable-gnome for abiword itself, remove it here
# for the plugins too
# The gypsython plugin has been updated as of abiword 2.0.5 to work with
# python 2.3 It requires that python was installed with --enable-shared (a
# shared libpython library). My python howto, as of the last update, builds
# python with the shared library.
# If you have psiconv 0.9.4 installed, add --disable-psion below. I tried it,
# that plugin won't build with that version, but it builds with version 0.8.3
cd ~/src/abiword-2.0.14/abiword-plugins
./configure --prefix=/usr --enable-gnome
make
su -c "make install"
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "abiword-*" -exec rm -r {} \;
tar xjvf ~/abiword-2.2.11.tar.bz2
cd abiword-2.2.11
test $UID = 0 && chown -R root:root .
cd abi
# I was unable to get it to build with --enable-gnome under Slackware 9.0
# which comes with Gnome 2.2.x (even after upgrading a few things like
# gnome-vfs). If you use Gnome 2.2.x, you may need to remove --enable-gnome
# from the configure line below. Slack 9.1 comes with Gnome 2.4.x, Slack
# 10.0 and 10.1 come with Gnome 2.6.x, I haven't had any trouble with them.
# Previous versions couldn't build with --enable-scripting (perl) support
# with any version of perl more recent than 5.8.0, but it did work for me
# with Abiword 2.2.3 with perl 5.8.5 and Abiword 2.2.5/2.2.7 with perl 5.8.6
# Become root to clean up old files and to install it
su
test -x /sbin/removepkg && /sbin/removepkg abiword
# If you're upgrading from a previous minor version (ie. 2.0.x to 2.2.x), run
# this to zap the old version's files:
rm -f /usr/bin/AbiWord-*
find /usr/share -maxdepth 1 -type d -name "AbiSuite-*" -exec rm -r {} \;
# If you had to remove --enable-gnome for abiword itself, remove it here
# for the plugins too
# The gypsython plugin has been updated as of abiword 2.0.5 to work with
# python 2.3 It requires that python was installed with --enable-shared (a
# shared libpython library). My python howto, as of the last update, builds
# python with the shared library. Unfortunately, python 2.4 is out now and
# it hasn't yet been updated to work with it.
cd ~/src/abiword-2.2.11/abiword-plugins
./configure --prefix=/usr --enable-gnome
make
su -c "make install"
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "abiword-*" -exec rm -r {} \;
tar xjvf ~/abiword-2.4.5.tar.bz2
cd abiword-2.4.5
test $UID = 0 && chown -R root:root .
cd abi
# I was unable to build it with --enable-scripting (perl) last time with
# 2.4.2, but it was OK this time with 2.4.5 I think it was perl 5.8.8
# both times, but I'm not positive.
# Become root to clean up old files and to install it
su
test -x /sbin/removepkg && /sbin/removepkg abiword
# If you're upgrading from a previous minor version (ie. 2.2.x to 2.4.x),
# run this to zap the old version's files:
rm -f /usr/bin/AbiWord-*
find /usr/share -maxdepth 1 -type d -name "AbiSuite-*" -exec rm -r {} \;
# eps 1.5 doesn't seem to work with AbiWord 2.4.2, I didn't try it this
# time with 2.4.5. If you have 1.5 installed, pass --without-inter7eps
# to configure to skip it. Building with eps 1.2 seems to be OK.
cd ~/src/abiword-2.4.5/abiword-plugins
./configure --prefix=/usr --enable-gnome --without-abimathview \
--without-inter7eps
## No longer necessary?
# If you installed libmathview:
( cd tools/abimathview/itex2MML ; make -f Makefile.itex2MML )