[7ff76531] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY enchant-download-http "http://www.abisource.com/downloads/enchant/&enchant-version;/enchant-&enchant-version;.tar.gz">
|
---|
[cb9f485] | 8 | <!ENTITY enchant-download-ftp "ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/enchant-&enchant-version;.tar.gz">
|
---|
[15114f7] | 9 | <!ENTITY enchant-md5sum "de11011aff801dc61042828041fb59c7">
|
---|
| 10 | <!ENTITY enchant-size "593 KB">
|
---|
| 11 | <!ENTITY enchant-buildsize "17 MB">
|
---|
[7ff76531] | 12 | <!ENTITY enchant-time "0.3 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="enchant" xreflabel="enchant-&enchant-version;">
|
---|
| 16 | <?dbhtml filename="enchant.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>enchant-&enchant-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="enchant">
|
---|
| 26 | <primary sortas="a-enchant">enchant</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to enchant</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>enchant</application> package provide a generic
|
---|
| 33 | interface into various existing spell checking libaries.</para>
|
---|
| 34 |
|
---|
[5603a81] | 35 | &lfs71_checked;
|
---|
| 36 |
|
---|
[7ff76531] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&enchant-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&enchant-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &enchant-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &enchant-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &enchant-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &enchant-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">enchant Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[aa4778c4] | 62 | <para role="required"><xref linkend="glib2"/></para>
|
---|
[7ff76531] | 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 65 | <para role="recommended"><xref linkend="aspell"/></para>
|
---|
| 66 |
|
---|
| 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 68 | <para role="optional"><xref linkend="dbus-glib"/>,
|
---|
[15114f7] | 69 | <ulink url="http://hspell.ivrix.org.il/">Hspell</ulink>,
|
---|
| 70 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, and
|
---|
[7ff76531] | 71 | <ulink url="http://voikko.sourceforge.net/">Voikko</ulink></para>
|
---|
| 72 |
|
---|
| 73 | <para condition="html" role="usernotes">User Notes:
|
---|
| 74 | <ulink url="&blfs-wiki;/enchant"/></para>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of enchant</title>
|
---|
| 80 |
|
---|
| 81 | <para>Install <application>enchant</application> by running the following
|
---|
| 82 | commands:</para>
|
---|
| 83 |
|
---|
| 84 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 85 | make</userinput></screen>
|
---|
| 86 |
|
---|
| 87 | <para>This package does not come with a test suite.</para>
|
---|
| 88 |
|
---|
| 89 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 90 |
|
---|
| 91 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="configuration">
|
---|
| 96 | <title>Configuring enchant</title>
|
---|
| 97 |
|
---|
| 98 | <sect3 id="enchant-config">
|
---|
| 99 | <title>Config Files</title>
|
---|
| 100 | <para><filename>~/.enchant</filename> and
|
---|
| 101 | <filename>/usr/share/enchant/enchant.ordering</filename></para>
|
---|
| 102 |
|
---|
| 103 | <indexterm zone="enchant enchant-config">
|
---|
| 104 | <primary sortas="e-AA.enchant">~/.enchant</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 |
|
---|
| 107 | <indexterm zone="enchant enchant-config">
|
---|
| 108 | <primary
|
---|
| 109 | sortas="e-usr-share-enchant-enchant.ordering">/usr/share/enchant/enchant.ordering</primary>
|
---|
| 110 | </indexterm>
|
---|
| 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3><title>Configuration Information</title>
|
---|
| 114 |
|
---|
| 115 | <para>See more details in the enchant(1) manual page.</para>
|
---|
| 116 |
|
---|
| 117 | </sect3>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="content">
|
---|
| 122 | <title>Contents</title>
|
---|
| 123 |
|
---|
| 124 | <segmentedlist>
|
---|
| 125 | <segtitle>Installed Programs</segtitle>
|
---|
| 126 | <segtitle>Installed Libraries</segtitle>
|
---|
| 127 | <segtitle>Installed Directories</segtitle>
|
---|
| 128 |
|
---|
| 129 | <seglistitem>
|
---|
| 130 | <seg>enchant and enchant-lsmod</seg>
|
---|
| 131 | <seg>libenchant.{so,a} and various backend libraries</seg>
|
---|
| 132 | <seg>/usr/{include/enchant,lib/enchant,share/enchant}</seg>
|
---|
| 133 | </seglistitem>
|
---|
| 134 | </segmentedlist>
|
---|
| 135 |
|
---|
| 136 | <variablelist>
|
---|
| 137 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 138 | <?dbfo list-presentation="list"?>
|
---|
| 139 | <?dbhtml list-presentation="table"?>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="enchant-prog">
|
---|
| 142 | <term><command>enchant</command></term>
|
---|
| 143 | <listitem>
|
---|
| 144 | <para>is a spellchecker</para>
|
---|
| 145 | <indexterm zone="enchant enchant-prog">
|
---|
| 146 | <primary sortas="b-enchant">enchant</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="enchant-lsmod">
|
---|
| 152 | <term><command>enchant-lsmod</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>lists available backends, languages, and dictionaries.</para>
|
---|
| 155 | <indexterm zone="enchant enchant-lsmod">
|
---|
| 156 | <primary sortas="b-enchant-lsmod">enchant-lsmod</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="libenchant">
|
---|
| 162 | <term><filename class='libraryfile'>libenchant.{so,a}</filename></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>contains spell checking interface API functions.</para>
|
---|
| 165 | <indexterm zone="enchant libenchant">
|
---|
| 166 | <primary sortas="c-libenchant">libenchant.{so,a}</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | </variablelist>
|
---|
| 172 |
|
---|
| 173 | </sect2>
|
---|
| 174 |
|
---|
| 175 | </sect1>
|
---|