AbiWord is a word processor which is useful for writing reports, letters and other formatted documents.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
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)
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
Boost-1.86.0, cURL-8.10.1, FriBidi-1.0.16, GOffice-0.10.57, and wv-1.2.9
dbus-glib-0.112, evolution-data-server-3.52.4, GLib-2.82.1 (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
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
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
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:
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
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
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.