Difference between revisions of "Aspell"

From CBLFS
Jump to navigationJump to search
(Introduction to Aspell)
(Added a patch to fix compilation with the latest CLFS book.)
Line 6: Line 6:
 
!Download Dictionary:
 
!Download Dictionary:
 
| ftp://ftp.gnu.org/gnu/aspell/dict
 
| ftp://ftp.gnu.org/gnu/aspell/dict
 +
|-
 +
!Required Patch:
 +
| http://svn.cross-lfs.org/svn/repos/patches/aspell/aspell-0.60.5-compile_fix-1.patch
 
|}
 
|}
  
Line 22: Line 25:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
Apply the patch:
 +
 +
patch -Np1 -i ../aspell-0.60.5-compile_fix-1.patch
  
 
Compile the package:
 
Compile the package:
Line 36: Line 43:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
Apply the patch:
 +
 +
patch -Np1 -i ../aspell-0.60.5-compile_fix-1.patch
  
 
Compile the package:
 
Compile the package:
Line 49: Line 60:
  
 
=== N32 ===
 
=== N32 ===
 +
 +
Apply the patch:
 +
 +
patch -Np1 -i ../aspell-0.60.5-compile_fix-1.patch
  
 
Compile the package:
 
Compile the package:
Line 62: Line 77:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
Apply the patch:
 +
 +
patch -Np1 -i ../aspell-0.60.5-compile_fix-1.patch
  
 
Compile the package:
 
Compile the package:

Revision as of 08:20, 13 April 2007

Download Source: http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz
Download Dictionary: ftp://ftp.gnu.org/gnu/aspell/dict
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/aspell/aspell-0.60.5-compile_fix-1.patch

Introduction to Aspell

<Package Description Needed>

Dependencies

Required

Optional

Non-Multilib

Apply the patch:

patch -Np1 -i ../aspell-0.60.5-compile_fix-1.patch

Compile the package:

./configure --prefix=/usr \
    --enable-{pkgdatadir,dict-dir}=/usr/share/aspell &&
make

Install the package

make install

Multilib

32Bit

Apply the patch:

patch -Np1 -i ../aspell-0.60.5-compile_fix-1.patch

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
    --enable-{pkgdatadir,dict-dir}=/usr/share/aspell &&
make

Install the package

make install &&
mv -v /usr/bin/pspell-config{,-32}

N32

Apply the patch:

patch -Np1 -i ../aspell-0.60.5-compile_fix-1.patch

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --enable-{pkgdatadir,dict-dir}=/usr/share/aspell &&
make

Install the package

make install &&
mv -v /usr/bin/pspell-config{,-n32}

64Bit

Apply the patch:

patch -Np1 -i ../aspell-0.60.5-compile_fix-1.patch

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-{pkgdatadir,dict-dir}=/usr/share/aspell &&
make

Install the package

make install &&
mv -v /usr/bin/pspell-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/pspell-config

Dictionary

Configure and compile the dictionary:

./configure &&
make

Install the dictionary:

make install

Contents

Installed Programs: aspell, aspell-import, precat, preunzip, prezip, prezip-bin, pspell-config, run-with-aspell, word-list-compress and optionally, ispell and spell
Installed Libraries: libaspell.so and libpspell.so
Installed Directory: /usr/include/pspell and /usr/lib/aspell-0.60

Short Descriptions

aspell is a utility that can function as an ispell -a replacement, as an independent spell checker, as a test utility to test out Aspell features, and as a utility for managing dictionaries.
ispell is a wrapper around aspell to invoke it in ispell compatible mode.
spell is a wrapper around aspell to invoke it in spell compatible mode.
aspell-import imports old personal dictionaries into Aspell.
precat decompresses a prezipped file to stdout.
preunzip decompresses a prezipped file.
prezip is a prefix delta compressor, used to compress sorted word lists or other similar text files.
prezip-bin is called by the various wrapper scripts to perform the actual compressing and decompressing.
pspell-config displays information about the libpspell installation, mostly for use in build scripts.
run-with-aspell is a script to help use Aspell as an ispell replacement.
word-list-compress compresses or decompresses sorted word lists for use with the Aspell spell checker.
libaspell.so contains spell checking API functions.
libpspell.so is an interface to the libaspell library. All the spell checking functionality is now in libaspell but this library is included for backward compatibility.
Retrieved from "?title=Aspell&oldid=8667"