source: xsoft/office/abiword.xml@ af988bf0

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since af988bf0 was af988bf0, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Fix building Abiword with GCC-11

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