AbiWord-3.0.5

#### Beyond Linux® From Scratch (systemd Edition) - Version 12.2

### Chapter 39. Office Programs

- Prev

  Office Programs

- Next

  Gnumeric-1.12.57

- Up
- Home

# AbiWord-3.0.5

## Introduction to AbiWord

AbiWord is a word processor which is useful for writing reports, letters and other formatted documents.

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

### Package Information

- Download (HTTP): https://anduin.linuxfromscratch.org/BLFS/abiword/abiword-3.0.5.tar.gz

- Download MD5 sum: a8f218b711450e4ccae43a0522e0e806

- Download size: 11 MB

- Estimated disk space required: 690 MB, with docs (76 MB installed)

- Estimated build time: 2.4 SBU (Using parallelism=4, with docs)

### Additional Downloads

- AbiWord Docs: https://anduin.linuxfromscratch.org/BLFS/abiword/abiword-docs-3.0.2.tar.gz

- AbiWord Docs MD5 sum: c92c0e1e2081db20757231a53d80c338

- AbiWord Docs size: 1.5 MB

### AbiWord Dependencies

#### Required

Boost-1.86.0, cURL-8.9.1, FriBidi-1.0.15, GOffice-0.10.57, and wv-1.2.9

#### Recommended

enchant-2.8.2

#### Optional

dbus-glib-0.112, evolution-data-server-3.52.4, GLib-2.80.4 (with GObject Introspection), libgcrypt-1.11.0, libical-3.0.18, libsoup-2.74.3, Redland-1.0.17, Valgrind-3.23.0. Aiksaurus, GtkMathView, libchamplain, libwmf, libwpd, libwpg, libwps, Link Grammar Parser, Loudmouth, OTS, Psiconv, and telepathy-glib

### Note

To enable many of the optional dependencies, review the information from ./configure --help for the necessary switches you must pass to the configure script.

Editor Notes: https://wiki.linuxfromscratch.org/blfs/wiki/abiword

## Installation of AbiWord

First, fix a build failure when using libxml-2.12.x:

    sed -e '/libxml/a #include <libxml/xmlmemory.h>' \
        -i src/af/util/xp/ut_stringbuf.cpp

Install AbiWord by running the following commands:

    sed -e "s/free_suggestions/free_string_list/" \
        -e "s/_to_personal//"                     \
        -e "s/in_session/added/"                  \
        -i src/af/xap/xp/enchant_checker.cpp      &&

    ./configure --prefix=/usr &&
    make

This program does not come with a functional test suite.

Now, as the `root` user:

    make install

### Note

In order to install the local help files, a graphics session is recommended.

If you wish to install the local help files, untar and build them first:

### Note

The current version of the docs expands to abiword-docs-3.0.1 and not the expected abiword-docs-3.0.2.

    tar -xf ../abiword-docs-3.0.2.tar.gz &&
    cd abiword-docs-3.0.1                &&
    ./configure --prefix=/usr            &&
    make

and then, as the `root` user:

    make install

## Command Explanations

sed ...: This command corrects the source for changes in the dependency enchant-2.8.2.

`--enable-plugins="collab openxml goffice grammar"`: Build some or all plugins. The openxml plugin enables Abiword to open some .docx files. The grammar plugin requires Link Grammar Parser

## 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-3.0/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-3.0/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.27 installed, you should run the update-desktop-database command to update the mimeinfo cache and allow the Help system to work.

If you have xdg-utils-1.2.1 installed, you should run the xdg-icon-resource forceupdate --theme hicolor command, for the installed icon to be displayed in the menu item.

## Contents

Installed Program: abiword
Installed Library: libabiword-3.0.so
Installed Directories: /usr/include/abiword-3.0, /usr/lib/abiword-3.0, and /usr/share/abiword-3.0

### Short Descriptions

abiword | is the word processor, a wrapper for the functions in libabiword-3.0 - it can also be used on the command line, see man 1 abiword
`libabiword-3.0.so` | provides functions to access MS Word documents

- Prev

  Office Programs

- Next

  Gnumeric-1.12.57

- Up
- Home