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