1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 aspell-download-http "http://ftp.gnu.org/gnu/aspell/aspell-&aspell-version;.tar.gz">
|
---|
8 | <!ENTITY aspell-download-ftp "ftp://ftp.gnu.org/gnu/aspell/aspell-&aspell-version;.tar.gz">
|
---|
9 | <!ENTITY aspell-md5sum "bc80f0198773d5c05086522be67334eb">
|
---|
10 | <!ENTITY aspell-size "1.7 MB">
|
---|
11 | <!ENTITY aspell-buildsize "34 MB (Additional 8 MB for EN dictionary)">
|
---|
12 | <!ENTITY aspell-time "0.6 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="aspell" xreflabel="Aspell-&aspell-version;">
|
---|
16 | <?dbhtml filename="aspell.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Aspell-&aspell-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="aspell">
|
---|
26 | <primary sortas="a-Aspell">Aspell</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Aspell</title>
|
---|
31 |
|
---|
32 | <para>The <application>Aspell</application> package contains an interactive
|
---|
33 | spell checking program and the <application>Aspell</application> libraries.
|
---|
34 | <application>Aspell</application> can either be used as a library or as an
|
---|
35 | independent spell checker.</para>
|
---|
36 |
|
---|
37 | &lfs65_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&aspell-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&aspell-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: &aspell-md5sum;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &aspell-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &aspell-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &aspell-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
62 | <para>You'll need to download at least one dictionary. The link below will take
|
---|
63 | you to a page containing links to dictionaries in many languages.</para>
|
---|
64 |
|
---|
65 | <itemizedlist spacing='compact'>
|
---|
66 | <listitem>
|
---|
67 | <para>Aspell dictionaries: <ulink
|
---|
68 | url="ftp://ftp.gnu.org/gnu/aspell/dict"/></para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">Aspell Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
75 | <para role="required"><xref linkend="which"/> (for the dictionaries)</para>
|
---|
76 |
|
---|
77 | <para condition="html" role="usernotes">User Notes:
|
---|
78 | <ulink url="&blfs-wiki;/aspell"/></para>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="installation">
|
---|
83 | <title>Installation of Aspell</title>
|
---|
84 |
|
---|
85 | <para>Install <application>Aspell</application> by running the following
|
---|
86 | commands:</para>
|
---|
87 |
|
---|
88 | <screen><userinput>./configure --prefix=/usr &&
|
---|
89 | make</userinput></screen>
|
---|
90 |
|
---|
91 | <!-- <para>Pre-built HTML documentation is included in the package. If you have
|
---|
92 | <application>teTeX</application> installed and you wish to build additional
|
---|
93 | formats of the documentation, issue any or all of the following
|
---|
94 | commands:</para>
|
---|
95 |
|
---|
96 | <screen><userinput>make -C manual pdf &&
|
---|
97 | make -C manual pdf &&
|
---|
98 | make -C manual ps &&
|
---|
99 | cd manual &&
|
---|
100 | makeinfo -plaintext -o aspell.txt aspell.texi &&
|
---|
101 | makeinfo -plaintext -o aspell-dev.txt aspell-dev.texi &&
|
---|
102 | cd ..</userinput></screen> -->
|
---|
103 |
|
---|
104 | <para>This package does not come with a test suite.</para>
|
---|
105 |
|
---|
106 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
107 |
|
---|
108 | <screen role="root"><userinput>make install &&
|
---|
109 | install -v -m755 -d /usr/share/doc/aspell-&aspell-version;/aspell{,-dev}.html &&
|
---|
110 | install -v -m644 manual/aspell.html/* \
|
---|
111 | /usr/share/doc/aspell-&aspell-version;/aspell.html &&
|
---|
112 | install -v -m644 manual/aspell-dev.html/* \
|
---|
113 | /usr/share/doc/aspell-&aspell-version;/aspell-dev.html</userinput></screen>
|
---|
114 |
|
---|
115 | <!-- <para>If you built additional formats of the documentation, install them
|
---|
116 | by issuing the following command as the
|
---|
117 | <systemitem class="username">root</systemitem> user:</para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>install -v -m644 manual/aspell{,-dev}.{ps,pdf,dvi,txt} \
|
---|
120 | /usr/share/doc/aspell-&aspell-version;</userinput></screen> -->
|
---|
121 |
|
---|
122 | <para>If you do not plan to install <application>Ispell</application>,
|
---|
123 | then copy the wrapper script <command>ispell</command>:</para>
|
---|
124 |
|
---|
125 | <screen role="root"><userinput>install -v -m 755 scripts/ispell /usr/bin/</userinput></screen>
|
---|
126 |
|
---|
127 | <para>If you do not plan to install <application>Spell</application>,
|
---|
128 | then copy the wrapper script <command>spell</command>:</para>
|
---|
129 |
|
---|
130 | <screen role="root"><userinput>install -v -m 755 scripts/spell /usr/bin/</userinput></screen>
|
---|
131 |
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | <!-- <sect2 role="commands">
|
---|
135 | <title>Command Explanations</title>
|
---|
136 |
|
---|
137 | <para><command>make -C manual pdf</command>: This command is listed twice
|
---|
138 | as the first time it runs it will display an error and abort, although it
|
---|
139 | creates the requested file. Running the command again ensures the other
|
---|
140 | file is also created.</para>
|
---|
141 |
|
---|
142 | </sect2> -->
|
---|
143 |
|
---|
144 | <sect2 role="configuration">
|
---|
145 | <title>Configuring Aspell</title>
|
---|
146 |
|
---|
147 | <sect3>
|
---|
148 | <title>Configuration Information</title>
|
---|
149 |
|
---|
150 | <para>After <application>Aspell</application> is installed, you must set
|
---|
151 | up at least one dictionary. Install one or more dictionaries by running
|
---|
152 | the following commands:</para>
|
---|
153 |
|
---|
154 | <screen><userinput>./configure &&
|
---|
155 | make</userinput></screen>
|
---|
156 |
|
---|
157 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
158 |
|
---|
159 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
160 |
|
---|
161 | </sect3>
|
---|
162 |
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 | <sect2 role="content">
|
---|
166 | <title>Contents</title>
|
---|
167 |
|
---|
168 | <segmentedlist>
|
---|
169 | <segtitle>Installed Programs</segtitle>
|
---|
170 | <segtitle>Installed Libraries</segtitle>
|
---|
171 | <segtitle>Installed Directories</segtitle>
|
---|
172 |
|
---|
173 | <seglistitem>
|
---|
174 | <seg>aspell, aspell-import, precat, preunzip, prezip, prezip-bin,
|
---|
175 | pspell-config, run-with-aspell, word-list-compress and optionally,
|
---|
176 | ispell and spell</seg>
|
---|
177 | <seg>libaspell.so and libpspell.so</seg>
|
---|
178 | <seg>/usr/include/pspell and /usr/lib/aspell-0.60</seg>
|
---|
179 | </seglistitem>
|
---|
180 | </segmentedlist>
|
---|
181 |
|
---|
182 | <variablelist>
|
---|
183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
184 | <?dbfo list-presentation="list"?>
|
---|
185 | <?dbhtml list-presentation="table"?>
|
---|
186 |
|
---|
187 | <varlistentry id="aspell-prog">
|
---|
188 | <term><command>aspell</command></term>
|
---|
189 | <listitem>
|
---|
190 | <para>is a utility that can function as an
|
---|
191 | <command>ispell -a</command> replacement, as an independent spell
|
---|
192 | checker, as a test utility to test out
|
---|
193 | <application>Aspell</application> features, and as
|
---|
194 | a utility for managing dictionaries.</para>
|
---|
195 | <indexterm zone="aspell aspell-prog">
|
---|
196 | <primary sortas="b-aspell">aspell</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="aspell-ispell">
|
---|
202 | <term><command>ispell</command></term>
|
---|
203 | <listitem>
|
---|
204 | <para>is a wrapper around <command>aspell</command> to invoke it in
|
---|
205 | <command>ispell</command> compatible mode.</para>
|
---|
206 | <indexterm zone="aspell aspell-ispell">
|
---|
207 | <primary sortas="b-ispell">ispell</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="aspell-spell">
|
---|
213 | <term><command>spell</command></term>
|
---|
214 | <listitem>
|
---|
215 | <para>is a wrapper around <command>aspell</command> to invoke it in
|
---|
216 | <command>spell</command> compatible mode.</para>
|
---|
217 | <indexterm zone="aspell aspell-spell">
|
---|
218 | <primary sortas="b-spell">spell</primary>
|
---|
219 | </indexterm>
|
---|
220 | </listitem>
|
---|
221 | </varlistentry>
|
---|
222 |
|
---|
223 | <varlistentry id="aspell-import">
|
---|
224 | <term><command>aspell-import</command></term>
|
---|
225 | <listitem>
|
---|
226 | <para>imports old personal dictionaries into
|
---|
227 | <application>Aspell</application>.</para>
|
---|
228 | <indexterm zone="aspell aspell-import">
|
---|
229 | <primary sortas="b-aspell-import">aspell-import</primary>
|
---|
230 | </indexterm>
|
---|
231 | </listitem>
|
---|
232 | </varlistentry>
|
---|
233 |
|
---|
234 | <varlistentry id="precat">
|
---|
235 | <term><command>precat</command></term>
|
---|
236 | <listitem>
|
---|
237 | <para>decompresses a <command>prezip</command>ped file to
|
---|
238 | stdout.</para>
|
---|
239 | <indexterm zone="aspell precat">
|
---|
240 | <primary sortas="b-precat">precat</primary>
|
---|
241 | </indexterm>
|
---|
242 | </listitem>
|
---|
243 | </varlistentry>
|
---|
244 |
|
---|
245 | <varlistentry id="preunzip">
|
---|
246 | <term><command>preunzip</command></term>
|
---|
247 | <listitem>
|
---|
248 | <para>decompresses a <command>prezip</command>ped file.</para>
|
---|
249 | <indexterm zone="aspell preunzip">
|
---|
250 | <primary sortas="b-preunzip">preunzip</primary>
|
---|
251 | </indexterm>
|
---|
252 | </listitem>
|
---|
253 | </varlistentry>
|
---|
254 |
|
---|
255 | <varlistentry id="prezip">
|
---|
256 | <term><command>prezip</command></term>
|
---|
257 | <listitem>
|
---|
258 | <para>is a prefix delta compressor, used to compress sorted word
|
---|
259 | lists or other similar text files.</para>
|
---|
260 | <indexterm zone="aspell prezip">
|
---|
261 | <primary sortas="b-prezip">prezip</primary>
|
---|
262 | </indexterm>
|
---|
263 | </listitem>
|
---|
264 | </varlistentry>
|
---|
265 |
|
---|
266 | <varlistentry id="prezip-bin">
|
---|
267 | <term><command>prezip-bin</command></term>
|
---|
268 | <listitem>
|
---|
269 | <para>is called by the various wrapper scripts to perform the
|
---|
270 | actual compressing and decompressing.</para>
|
---|
271 | <indexterm zone="aspell prezip-bin">
|
---|
272 | <primary sortas="b-prezip-bin">prezip-bin</primary>
|
---|
273 | </indexterm>
|
---|
274 | </listitem>
|
---|
275 | </varlistentry>
|
---|
276 |
|
---|
277 | <varlistentry id="pspell-config">
|
---|
278 | <term><command>pspell-config</command></term>
|
---|
279 | <listitem>
|
---|
280 | <para>displays information about the
|
---|
281 | <filename class='libraryfile'>libpspell</filename> installation,
|
---|
282 | mostly for use in build scripts.</para>
|
---|
283 | <indexterm zone="aspell pspell-config">
|
---|
284 | <primary sortas="b-pspell-config">pspell-config</primary>
|
---|
285 | </indexterm>
|
---|
286 | </listitem>
|
---|
287 | </varlistentry>
|
---|
288 |
|
---|
289 | <varlistentry id="run-with-aspell">
|
---|
290 | <term><command>run-with-aspell</command></term>
|
---|
291 | <listitem>
|
---|
292 | <para>is a script to help use <application>Aspell</application>
|
---|
293 | as an <command>ispell</command> replacement.</para>
|
---|
294 | <indexterm zone="aspell run-with-aspell">
|
---|
295 | <primary sortas="b-run-with-aspell">run-with-aspell</primary>
|
---|
296 | </indexterm>
|
---|
297 | </listitem>
|
---|
298 | </varlistentry>
|
---|
299 |
|
---|
300 | <varlistentry id="word-list-compress">
|
---|
301 | <term><command>word-list-compress</command></term>
|
---|
302 | <listitem>
|
---|
303 | <para>compresses or decompresses sorted word lists for use with the
|
---|
304 | <application>Aspell</application> spell checker.</para>
|
---|
305 | <indexterm zone="aspell word-list-compress">
|
---|
306 | <primary sortas="b-word-list-compress">word-list-compress</primary>
|
---|
307 | </indexterm>
|
---|
308 | </listitem>
|
---|
309 | </varlistentry>
|
---|
310 |
|
---|
311 | <varlistentry id="libaspell">
|
---|
312 | <term><filename class='libraryfile'>libaspell.so</filename></term>
|
---|
313 | <listitem>
|
---|
314 | <para>contains spell checking API functions.</para>
|
---|
315 | <indexterm zone="aspell libaspell">
|
---|
316 | <primary sortas="c-lib">libaspell.so</primary>
|
---|
317 | </indexterm>
|
---|
318 | </listitem>
|
---|
319 | </varlistentry>
|
---|
320 |
|
---|
321 | <varlistentry id="libpspell">
|
---|
322 | <term><filename class='libraryfile'>libpspell.so</filename></term>
|
---|
323 | <listitem>
|
---|
324 | <para>is an interface to the
|
---|
325 | <filename class='libraryfile'>libaspell</filename> library. All the
|
---|
326 | spell checking functionality is now in
|
---|
327 | <filename class='libraryfile'>libaspell</filename> but this library
|
---|
328 | is included for backward compatibility.</para>
|
---|
329 | <indexterm zone="aspell libpspell">
|
---|
330 | <primary sortas="c-libpspell">libpspell.so</primary>
|
---|
331 | </indexterm>
|
---|
332 | </listitem>
|
---|
333 | </varlistentry>
|
---|
334 |
|
---|
335 | </variablelist>
|
---|
336 |
|
---|
337 | </sect2>
|
---|
338 |
|
---|
339 | </sect1>
|
---|