[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 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&enchant-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&enchant-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &enchant-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &enchant-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &enchant-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &enchant-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect3">enchant Dependencies</bridgehead>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[091eacd] | 60 | <para role="required"><xref linkend="pkgconfig"/></para>
|
---|
[7ff76531] | 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 63 | <para role="recommended"><xref linkend="aspell"/></para>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 66 | <para role="optional"><xref linkend="dbus-glib"/>,
|
---|
[15114f7] | 67 | <ulink url="http://hspell.ivrix.org.il/">Hspell</ulink>,
|
---|
| 68 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, and
|
---|
[7ff76531] | 69 | <ulink url="http://voikko.sourceforge.net/">Voikko</ulink></para>
|
---|
| 70 |
|
---|
| 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/enchant"/></para>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of enchant</title>
|
---|
| 78 |
|
---|
| 79 | <para>Install <application>enchant</application> by running the following
|
---|
| 80 | commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 83 | make</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | <para>This package does not come with a test suite.</para>
|
---|
| 86 |
|
---|
| 87 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 88 |
|
---|
| 89 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="configuration">
|
---|
| 94 | <title>Configuring enchant</title>
|
---|
| 95 |
|
---|
| 96 | <sect3 id="enchant-config">
|
---|
| 97 | <title>Config Files</title>
|
---|
| 98 | <para><filename>~/.enchant</filename> and
|
---|
| 99 | <filename>/usr/share/enchant/enchant.ordering</filename></para>
|
---|
| 100 |
|
---|
| 101 | <indexterm zone="enchant enchant-config">
|
---|
| 102 | <primary sortas="e-AA.enchant">~/.enchant</primary>
|
---|
| 103 | </indexterm>
|
---|
| 104 |
|
---|
| 105 | <indexterm zone="enchant enchant-config">
|
---|
| 106 | <primary
|
---|
| 107 | sortas="e-usr-share-enchant-enchant.ordering">/usr/share/enchant/enchant.ordering</primary>
|
---|
| 108 | </indexterm>
|
---|
| 109 | </sect3>
|
---|
| 110 |
|
---|
| 111 | <sect3><title>Configuration Information</title>
|
---|
| 112 |
|
---|
| 113 | <para>See more details in the enchant(1) manual page.</para>
|
---|
| 114 |
|
---|
| 115 | </sect3>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Libraries</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>enchant and enchant-lsmod</seg>
|
---|
| 129 | <seg>libenchant.{so,a} and various backend libraries</seg>
|
---|
| 130 | <seg>/usr/{include/enchant,lib/enchant,share/enchant}</seg>
|
---|
| 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | <variablelist>
|
---|
| 135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 136 | <?dbfo list-presentation="list"?>
|
---|
| 137 | <?dbhtml list-presentation="table"?>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="enchant-prog">
|
---|
| 140 | <term><command>enchant</command></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>is a spellchecker</para>
|
---|
| 143 | <indexterm zone="enchant enchant-prog">
|
---|
| 144 | <primary sortas="b-enchant">enchant</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="enchant-lsmod">
|
---|
| 150 | <term><command>enchant-lsmod</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>lists available backends, languages, and dictionaries.</para>
|
---|
| 153 | <indexterm zone="enchant enchant-lsmod">
|
---|
| 154 | <primary sortas="b-enchant-lsmod">enchant-lsmod</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libenchant">
|
---|
| 160 | <term><filename class='libraryfile'>libenchant.{so,a}</filename></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>contains spell checking interface API functions.</para>
|
---|
| 163 | <indexterm zone="enchant libenchant">
|
---|
| 164 | <primary sortas="c-libenchant">libenchant.{so,a}</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | </variablelist>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | </sect1>
|
---|