1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY AbiWord-minor-version "3.0">
|
---|
8 | <!ENTITY AbiWord-docs-version "3.0.2">
|
---|
9 |
|
---|
10 | <!ENTITY AbiWord-download-http
|
---|
11 | "&sources-anduin-http;/abiword/abiword-&AbiWord-version;.tar.gz">
|
---|
12 | <!ENTITY AbiWord-download-ftp " ">
|
---|
13 | <!ENTITY AbiWord-md5sum "a8f218b711450e4ccae43a0522e0e806">
|
---|
14 | <!ENTITY AbiWord-size "11 MB">
|
---|
15 |
|
---|
16 | <!ENTITY AbiWordDocs-download-http
|
---|
17 | "&sources-anduin-http;/abiword/abiword-docs-&AbiWord-docs-version;.tar.gz">
|
---|
18 | <!ENTITY AbiWordDocs-md5sum "c92c0e1e2081db20757231a53d80c338">
|
---|
19 | <!ENTITY AbiWordDocs-size "1.5 MB">
|
---|
20 |
|
---|
21 | <!ENTITY AbiWord-buildsize "690 MB, with docs (76 MB installed)">
|
---|
22 | <!ENTITY AbiWord-time "2.4 SBU (Using parallelism=4, with docs)">
|
---|
23 | ]>
|
---|
24 |
|
---|
25 | <sect1 id="abiword" xreflabel="AbiWord-&AbiWord-version;">
|
---|
26 | <?dbhtml filename="AbiWord.html" ?>
|
---|
27 |
|
---|
28 |
|
---|
29 | <title>AbiWord-&AbiWord-version;</title>
|
---|
30 |
|
---|
31 | <indexterm zone="abiword">
|
---|
32 | <primary sortas="a-AbiWord">AbiWord</primary>
|
---|
33 | </indexterm>
|
---|
34 |
|
---|
35 | <sect2 role="package">
|
---|
36 | <title>Introduction to AbiWord</title>
|
---|
37 |
|
---|
38 | <para>
|
---|
39 | <application>AbiWord</application> is a word processor which is useful for
|
---|
40 | writing reports, letters and other formatted documents.
|
---|
41 | </para>
|
---|
42 |
|
---|
43 | &lfs122_checked;
|
---|
44 |
|
---|
45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (HTTP): <ulink url="&AbiWord-download-http;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download (FTP): <ulink url="&AbiWord-download-ftp;"/>
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download MD5 sum: &AbiWord-md5sum;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Download size: &AbiWord-size;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated disk space required: &AbiWord-buildsize;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Estimated build time: &AbiWord-time;
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 | </itemizedlist>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
80 | <itemizedlist spacing="compact">
|
---|
81 | <listitem>
|
---|
82 | <para>
|
---|
83 | AbiWord Docs: <ulink url="&AbiWordDocs-download-http;"/>
|
---|
84 | </para>
|
---|
85 | </listitem>
|
---|
86 | <listitem>
|
---|
87 | <para>
|
---|
88 | AbiWord Docs MD5 sum: &AbiWordDocs-md5sum;
|
---|
89 | </para>
|
---|
90 | </listitem>
|
---|
91 | <listitem>
|
---|
92 | <para>
|
---|
93 | AbiWord Docs size: &AbiWordDocs-size;
|
---|
94 | </para>
|
---|
95 | </listitem>
|
---|
96 | <!--
|
---|
97 | <listitem>
|
---|
98 | <para>
|
---|
99 | Required patch:
|
---|
100 | <ulink url="&patch-root;/abiword-&AbiWord-version;-gcc11_fixes-1.patch"/>
|
---|
101 | </para>
|
---|
102 | </listitem>
|
---|
103 | -->
|
---|
104 | </itemizedlist>
|
---|
105 |
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect3">AbiWord Dependencies</bridgehead>
|
---|
108 |
|
---|
109 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
110 | <para role="required">
|
---|
111 | <xref linkend="boost"/>,
|
---|
112 | <xref linkend="curl"/>,
|
---|
113 | <xref linkend="fribidi"/>,
|
---|
114 | <xref linkend="goffice010"/>, and
|
---|
115 | <xref linkend="wv"/>
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
119 | <para role="recommended">
|
---|
120 | <xref linkend="enchant"/>
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
124 | <para role="optional">
|
---|
125 | <xref linkend="dbus-glib"/>,
|
---|
126 | <xref linkend="evolution-data-server"/>,
|
---|
127 | &gobject-introspection;,
|
---|
128 | <xref linkend="libgcrypt"/>,
|
---|
129 | <xref linkend="libical"/>,
|
---|
130 | <xref linkend="libsoup"/>,
|
---|
131 | <xref linkend="redland"/>,
|
---|
132 | <xref linkend="valgrind"/>.
|
---|
133 | <ulink url="https://aiksaurus.sourceforge.net/">Aiksaurus</ulink>,
|
---|
134 | <ulink url="https://github.com/AbiWord/gtkmathview">GtkMathView</ulink>,
|
---|
135 | <ulink url="https://gitlab.gnome.org/GNOME/libchamplain/">libchamplain</ulink>,
|
---|
136 | <ulink url="https://sourceforge.net/projects/wvware">libwmf</ulink>,
|
---|
137 | <ulink url="https://sourceforge.net/projects/libwpd/">libwpd</ulink>,
|
---|
138 | <ulink url="https://sourceforge.net/projects/libwpg/">libwpg</ulink>,
|
---|
139 | <ulink url="https://sourceforge.net/projects/libwps/">libwps</ulink>,
|
---|
140 | <ulink url="https://github.com/opencog/link-grammar">
|
---|
141 | Link Grammar Parser</ulink>,
|
---|
142 | <ulink url="&gnome-download-http;/loudmouth">Loudmouth</ulink>,
|
---|
143 | <ulink url="https://packages.ubuntu.com/focal/libots-dev">OTS</ulink>,
|
---|
144 | <ulink url="https://software.frodo.looijaard.name/psiconv/">Psiconv</ulink>, and
|
---|
145 | <ulink url="https://telepathy.freedesktop.org/">telepathy-glib</ulink>
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <note>
|
---|
149 | <para>
|
---|
150 | To enable many of the optional dependencies, review the information
|
---|
151 | from <command>./configure --help</command> for the necessary switches
|
---|
152 | you must pass to the <command>configure</command> script.
|
---|
153 | </para>
|
---|
154 | </note>
|
---|
155 |
|
---|
156 |
|
---|
157 | <para condition="html" role="usernotes">
|
---|
158 | Editor Notes: <ulink url="&blfs-wiki;/abiword"/>
|
---|
159 | </para>
|
---|
160 | </sect2>
|
---|
161 |
|
---|
162 | <sect2 role="installation">
|
---|
163 | <title>Installation of AbiWord</title>
|
---|
164 |
|
---|
165 | <para>
|
---|
166 | First, fix a build failure when using libxml-2.12.x:
|
---|
167 | </para>
|
---|
168 |
|
---|
169 | <screen><userinput>sed -e '/libxml/a #include <libxml/xmlmemory.h>' \
|
---|
170 | -i src/af/util/xp/ut_stringbuf.cpp</userinput></screen>
|
---|
171 |
|
---|
172 | <para>
|
---|
173 | Install <application>AbiWord</application> by running the following
|
---|
174 | commands:
|
---|
175 | </para>
|
---|
176 |
|
---|
177 | <screen><userinput>sed -e "s/free_suggestions/free_string_list/" \
|
---|
178 | -e "s/_to_personal//" \
|
---|
179 | -e "s/in_session/added/" \
|
---|
180 | -i src/af/xap/xp/enchant_checker.cpp &&
|
---|
181 |
|
---|
182 | ./configure --prefix=/usr &&
|
---|
183 | make</userinput></screen>
|
---|
184 |
|
---|
185 | <para>
|
---|
186 | This program does not come with a functional test suite.
|
---|
187 | </para>
|
---|
188 |
|
---|
189 | <para>
|
---|
190 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
191 | </para>
|
---|
192 |
|
---|
193 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
194 |
|
---|
195 | <note>
|
---|
196 | <para>
|
---|
197 | In order to install the local help files,
|
---|
198 | a graphics session is recommended.
|
---|
199 | </para>
|
---|
200 | </note>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | If you wish to install the local help files, untar and build them first:
|
---|
204 | </para>
|
---|
205 |
|
---|
206 | <note>
|
---|
207 | <para>
|
---|
208 | The current version of the docs expands to abiword-docs-3.0.1
|
---|
209 | and not the expected abiword-docs-3.0.2.
|
---|
210 | </para>
|
---|
211 | </note>
|
---|
212 |
|
---|
213 | <!-- I had to hardcode the docs version here, as it doesn't decompress to
|
---|
214 | abiword-docs-3.0.2. -->
|
---|
215 | <screen><userinput>tar -xf ../abiword-docs-&AbiWord-docs-version;.tar.gz &&
|
---|
216 | cd abiword-docs-3.0.1 &&
|
---|
217 | ./configure --prefix=/usr &&
|
---|
218 | make</userinput></screen>
|
---|
219 |
|
---|
220 | <para>
|
---|
221 | and then, as the <systemitem class="username">root</systemitem> user:
|
---|
222 | </para>
|
---|
223 |
|
---|
224 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
225 |
|
---|
226 | </sect2>
|
---|
227 |
|
---|
228 | <sect2 role="commands">
|
---|
229 | <title>Command Explanations</title>
|
---|
230 |
|
---|
231 | <para>
|
---|
232 | <command>sed ...</command>: This command corrects the source for
|
---|
233 | changes in the dependency <xref linkend="enchant"/>.
|
---|
234 | </para>
|
---|
235 | <!--
|
---|
236 | <para>
|
---|
237 | <parameter>- -without-evolution-data-server</parameter>: This switch
|
---|
238 | disables <application>AbiWord</application>
|
---|
239 | <application>Evolution Data Server</application> support which is known
|
---|
240 | to fail when using recent versions of
|
---|
241 | <application>Evolution Data Server</application>.
|
---|
242 | </para>
|
---|
243 | -->
|
---|
244 | <para>
|
---|
245 | <option>--enable-plugins="collab openxml goffice grammar"</option>: Build
|
---|
246 | some or all plugins. The openxml plugin enables
|
---|
247 | <application>Abiword</application> to open some .docx files.
|
---|
248 | The grammar plugin requires
|
---|
249 | <ulink url="https://github.com/opencog/link-grammar">Link Grammar
|
---|
250 | Parser</ulink>
|
---|
251 | </para>
|
---|
252 |
|
---|
253 | </sect2>
|
---|
254 |
|
---|
255 | <sect2 role="configuration">
|
---|
256 | <title>Configuring AbiWord</title>
|
---|
257 |
|
---|
258 | <sect3 id="abiword-config">
|
---|
259 | <title>Config File</title>
|
---|
260 |
|
---|
261 | <para>
|
---|
262 | <filename>~/.AbiSuite/templates/normal.awt</filename>
|
---|
263 | </para>
|
---|
264 |
|
---|
265 | <indexterm zone="abiword abiword-config">
|
---|
266 | <primary sortas="e-AA.AbiSuite-templates-normal">~/.AbiSuite/templates/normal.awt</primary>
|
---|
267 | </indexterm>
|
---|
268 | </sect3>
|
---|
269 |
|
---|
270 | <sect3>
|
---|
271 | <title>Configuration Information</title>
|
---|
272 |
|
---|
273 | <para>
|
---|
274 | Choose the right template for your language and locale from the list
|
---|
275 | produced by the following command:
|
---|
276 | </para>
|
---|
277 |
|
---|
278 | <screen><userinput>ls /usr/share/abiword-&AbiWord-minor-version;/templates</userinput></screen>
|
---|
279 |
|
---|
280 | <para>
|
---|
281 | Create the folder
|
---|
282 | <filename class='directory'>~/.AbiSuite/templates</filename> then copy
|
---|
283 | the <filename>normal.awt</filename> you want into it:
|
---|
284 | </para>
|
---|
285 |
|
---|
286 | <screen><userinput>install -v -m750 -d ~/.AbiSuite/templates &&
|
---|
287 | install -v -m640 /usr/share/abiword-&AbiWord-minor-version;/templates/normal.awt-<replaceable><lang></replaceable> \
|
---|
288 | ~/.AbiSuite/templates/normal.awt</userinput></screen>
|
---|
289 |
|
---|
290 | <para>
|
---|
291 | Change <replaceable><lang></replaceable> by the above command to
|
---|
292 | fit the name of the file you want.
|
---|
293 | </para>
|
---|
294 |
|
---|
295 | <para>
|
---|
296 | If you are using multiple languages, you may need to edit the template
|
---|
297 | to use a font with greater coverage (e.g. one of the
|
---|
298 | <xref linkend="dejavu-fonts"/>,
|
---|
299 | <!--
|
---|
300 | <ulink url="https://dejavu.sourceforge.net/">DejaVu fonts</ulink>), -->
|
---|
301 | because <application>Abiword</application> does not use
|
---|
302 | <application>fontconfig</application> and can only display glyphs that
|
---|
303 | are provided in the chosen font.
|
---|
304 | </para>
|
---|
305 |
|
---|
306 | <para>
|
---|
307 | If you have <xref linkend="desktop-file-utils"/> installed, you should
|
---|
308 | run the <command>update-desktop-database</command> command to update the
|
---|
309 | mimeinfo cache and allow the Help system to work.
|
---|
310 | </para>
|
---|
311 |
|
---|
312 | <para>
|
---|
313 | If you have <xref linkend="xdg-utils"/> installed, you should
|
---|
314 | run the <command>xdg-icon-resource forceupdate --theme hicolor</command>
|
---|
315 | command, for the installed icon to be displayed in the menu item.
|
---|
316 | </para>
|
---|
317 |
|
---|
318 | </sect3>
|
---|
319 |
|
---|
320 | </sect2>
|
---|
321 |
|
---|
322 | <sect2 role="content">
|
---|
323 | <title>Contents</title>
|
---|
324 |
|
---|
325 | <segmentedlist>
|
---|
326 | <segtitle>Installed Program</segtitle>
|
---|
327 | <segtitle>Installed Library</segtitle>
|
---|
328 | <segtitle>Installed Directories</segtitle>
|
---|
329 |
|
---|
330 | <seglistitem>
|
---|
331 | <seg>
|
---|
332 | abiword
|
---|
333 | </seg>
|
---|
334 | <seg>
|
---|
335 | libabiword-&AbiWord-minor-version;.so
|
---|
336 | </seg>
|
---|
337 | <seg>
|
---|
338 | /usr/include/abiword-&AbiWord-minor-version;,
|
---|
339 | /usr/lib/abiword-&AbiWord-minor-version;, and
|
---|
340 | /usr/share/abiword-&AbiWord-minor-version;
|
---|
341 | </seg>
|
---|
342 | </seglistitem>
|
---|
343 | </segmentedlist>
|
---|
344 |
|
---|
345 | <variablelist>
|
---|
346 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
347 | <?dbfo list-presentation="list"?>
|
---|
348 | <?dbhtml list-presentation="table"?>
|
---|
349 |
|
---|
350 | <varlistentry id="abiword-prog">
|
---|
351 | <term><command>abiword</command></term>
|
---|
352 | <listitem>
|
---|
353 | <para>
|
---|
354 | is the word processor, a wrapper for the functions in
|
---|
355 | libabiword-&AbiWord-minor-version; - it can also be used on the
|
---|
356 | command line, see <command>man 1 abiword</command>
|
---|
357 | </para>
|
---|
358 | <indexterm zone="abiword abiword-prog">
|
---|
359 | <primary sortas="b-abiword">abiword</primary>
|
---|
360 | </indexterm>
|
---|
361 | </listitem>
|
---|
362 | </varlistentry>
|
---|
363 |
|
---|
364 | <varlistentry id="libabiword">
|
---|
365 | <term><filename class="libraryfile">libabiword-&AbiWord-minor-version;.so</filename></term>
|
---|
366 | <listitem>
|
---|
367 | <para>
|
---|
368 | provides functions to access MS Word documents
|
---|
369 | </para>
|
---|
370 | <indexterm zone="abiword libabiword">
|
---|
371 | <primary sortas="c-libabiword">libabiword-&AbiWord-minor-version;.so</primary>
|
---|
372 | </indexterm>
|
---|
373 | </listitem>
|
---|
374 | </varlistentry>
|
---|
375 |
|
---|
376 | </variablelist>
|
---|
377 |
|
---|
378 | </sect2>
|
---|
379 |
|
---|
380 | </sect1>
|
---|