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.
Download (HTTP): http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
Download MD5 sum: f883b0a7f26229a9c66fd6a1a94381aa
Download size: 9 MB
Estimated disk space required: 684 MB (without collab or plugins except OpenDocument, additional 8 MB to install local HTML docs)
Estimated build time: 6.6 SBU
Optional Documentation: If running on a gnome desktop, the help menu will open epiphany at http://www.abisource.com/help/en-US/index.html. If you wish to install a copy of the en-US, fr-FR and pl-PL HTML documentation on your machine, download http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-docs-2.8.6.tar.gz (size 1.4MB md5sum 197df94c1d9ed287903cb5aa0b60bbc1). The local files will not be automatically referenced if you do not have a fairly complete gnome desktop (epiphany and yelp on their own are not enough), but you can still open them in your browser of choice.
FriBidi-0.10.9, libjpeg-8c, libpng-1.5.7, librsvg-2.26.3 and wv-1.2.9
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
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
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.
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.
Last updated on 2011-11-20 13:02:25 +0000