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