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