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