AbiWord-2.8.6

Introduction to AbiWord

The AbiWord package contains a word processing application. This is useful for writing reports, letters and other formatted documents.

This package is known to build and work properly using an LFS-7.0 platform.

Package Information

Additional Downloads

AbiWord Dependencies

Required

FriBidi-0.10.9, libjpeg-8c, libpng-1.5.7, librsvg-2.26.3 and wv-1.2.9

Optional

Aiksaurus, Boost (required for collab), D-Bus GLib Bindings-0.98 (for the collab sugar backend), enchant-1.6.0, GOffice-0.8.17), GtkMathView (requires libgnomedb version <1.3.0* which requires libgda version <1.3.0), libmissioncontrol, Empathy-2.30.2 and telepathy-glib-0.9.2 (for the collab telepathy backend), loudmouth (for the collab xmpp backend), GnuTLS-3.0.7 and libsoup-2.30.2 (for the collab service), libwmf, GtkMathView (requires Gnome DOM Bindings which requires gdome2), libwpd, OTS, and Psiconv Some of these are not automatically detected and need to be specified to the configure script.

* The libgda/libgnomedb stack required for AbiWord database access may conflict with the versions used by the Gnumeric-1.10.17 database plugin. Though the libraries themselves pose no conflict, the executables and support files may overwrite one another. Note that the current (version 4.1.x) stack does not pose a conflict with any of the previous versions (but does not support AbiWord database access. AbiWord requires versions <1.3.0.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/abiword

Installation of AbiWord

Install AbiWord by running the following commands:

sed -i 's/ptr->jmpbuf/jmpbuf(png_ptr)/' src/af/util/xp/ut_png.cpp &&
sed -i 's/\(m_pPNG\)->\(jmpbuf\)/png_\2(\1)/' \
    src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp &&
sed -i 's/--no-undefined //' src/Makefile* &&
./configure --prefix=/usr &&
make

If you wish to run the tests, issue: make check.

Now, as the root user:

make install

If you wish to install the local help files, untar them

tar -xf ../abiword-docs-2.8.6.tar.gz &&
cd abiword-docs-2.8.6

and then, as the root user:

make install

Command Explanations

sed -i 's/ptr->jmpbuf... and sed -i 's/\(m_pPNG\)...: These seds fix compiling Abiword with libpng-1.5.

sed -i 's/--no-undefined...: This sed fixes compiling Abiword-2.8.6 with GCC-4.6.2.

--without-inter7eps: Some of the headers from the EPS package are not compatible with GCC-4.5.1. This parameter prevents linking to the package and incurring a build failure.

--disable-static: This switch prevents the static library being built. On x86_64 it also saves a large amount of build time.

--enable-plugins=collab: Build some or all of the collab plugins.

Configuring AbiWord

Config File

~/.AbiSuite/templates/normal.awt

Configuration Information

Choose the right template for your language and locale from the list produced by the following command:

ls /usr/share/abiword-2.8/templates

Create the folder ~/.AbiSuite/templates then copy the normal.awt you want into it:

install -v -m750 -d ~/.AbiSuite/templates &&
install -v -m640    /usr/share/abiword-2.8/templates/normal.awt-<lang> \
                    ~/.AbiSuite/templates/normal.awt

Change <lang> by the above command to fit the name of the file you want.

If you are using multiple languages, you may need to edit the template to use a font with greater coverage (e.g. one of the DejaVu fonts), because Abiword does not use fontconfig and can only display glyphs that are provided in the chosen font.

If you have desktop-file-utils-0.18 installed, you should run the update-desktop-database command to update the mimeinfo cache and allow the Help system to work.

Contents

Installed Programs: abiword
Installed Libraries: libabiword-2.8 and one or more plugin library support modules
Installed Directories: /usr/lib/abiword-2.8 and /usr/share/abiword-2.8

Short Descriptions

abiword

is the word processor, a wrapper for the functions in libabiword-2.8 - it can also be used on the command line, see man 1 abiword.

libabiword-2.8.{so,a}

provides functions to access MS Word documents.

Last updated on 2011-11-20 13:02:25 +0000