source: general/genlib/gspell.xml@ 91152c6

12.2 trunk
Last change on this file since 91152c6 was fd442264, checked in by Douglas R. Reno <renodr@…>, 4 weeks ago

gspell: Add an optional dependency on hunspell since it's mentioned in
the tests

  • Property mode set to 100644
File size: 4.8 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[3c2936fe]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
[325ebd7]7 <!ENTITY gspell-download-http "&gnome-download-http;/gspell/&gspell-minor;/gspell-&gspell-version;.tar.xz">
[01701da9]8 <!ENTITY gspell-download-ftp " ">
[3cf0475]9 <!ENTITY gspell-md5sum "f1e5f02695aee20ba543352889c28ff5">
[777a66a]10 <!ENTITY gspell-size "436 KB">
11 <!ENTITY gspell-buildsize "11 MB (with tests)">
12 <!ENTITY gspell-time "0.1 SBU (with tests)">
[3c2936fe]13]>
14
15<sect1 id="gspell" xreflabel="gspell-&gspell-version;">
16 <?dbhtml filename="gspell.html"?>
17
18
19 <title>gspell-&gspell-version;</title>
20
21 <indexterm zone="gspell">
22 <primary sortas="a-gspell">gspell</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to gspell</title>
27
28 <para>
29 The <application>gspell</application> package provides a flexible API to
30 add spell checking to a GTK+ application.
31 </para>
32
[7426e905]33 &lfs122_checked;
[3c2936fe]34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&gspell-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&gspell-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &gspell-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &gspell-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &gspell-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &gspell-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">gspell Dependencies</bridgehead>
70
[f25fda55]71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
[eabab82]73 <xref linkend="enchant"/>,
[193807ab]74 <xref linkend="icu"/>, and
[5380ca3]75 <xref linkend="gtk3"/>
[f25fda55]76 </para>
77
[3c2936fe]78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
[c0bc0a9]80 &gobject-introspection;,
[3c2936fe]81 <xref linkend="gtk-doc"/>,
[fd442264]82 <xref linkend="vala"/>,
83 <xref linkend="valgrind"/>, and
84 <ulink url="https://hunspell.github.io/">Hunspell</ulink> (for tests)
[3c2936fe]85 </para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of gspell</title>
91
92 <para>
93 Install <application>gspell</application> by running the following
94 commands:
95 </para>
96
97<screen><userinput>./configure --prefix=/usr &amp;&amp;
98make</userinput></screen>
99
100 <para>
[193807ab]101 To test the results, issue: <command>make check</command>. The tests
102 must be run in an X session. One test, test-checker, is known to fail if
103 the external package
104 <ulink url="https://hunspell.github.io/">Hunspell</ulink> is not
105 installed.
[3c2936fe]106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>make install</userinput></screen>
[eb8d428]113
114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
115 href="../../xincludes/rm-la-file-referring-icu.xml"/>
116
117<screen role="root"><userinput>rm -v /usr/lib/libgspell-1.la</userinput></screen>
[3c2936fe]118 </sect2>
119
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>
[cfc1f98]130 <seg>gspell-app1</seg>
[3c2936fe]131 <seg>libgspell-1.so</seg>
132 <seg>/usr/include/gspell-1 and
133 /usr/share/gtk-doc/html/gspell-1.0</seg>
134 </seglistitem>
135 </segmentedlist>
[170e308]136
[3c2936fe]137 <variablelist>
138 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
139 <?dbfo list-presentation="list"?>
140 <?dbhtml list-presentation="table"?>
141
[170e308]142 <varlistentry id="gspell-app1">
143 <term><command>gspell-app1</command></term>
[3c2936fe]144 <listitem>
145 <para>
[4c24eb0a]146 checks the spelling of a text entered in a window
[3c2936fe]147 </para>
[170e308]148 <indexterm zone="gspell gspell-app1">
149 <primary sortas="b-gspell-app1">gspell-app1</primary>
[3c2936fe]150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="libgspell">
155 <term><filename class="libraryfile">libgspell-1.so</filename></term>
156 <listitem>
157 <para>
[4c24eb0a]158 is the <application>gspell</application> API library
[3c2936fe]159 </para>
[170e308]160 <indexterm zone="gspell libgspell">
161 <primary sortas="c-libgspell">libgspell-1.so</primary>
[3c2936fe]162 </indexterm>
163 </listitem>
164 </varlistentry>
165 </variablelist>
[170e308]166
[3c2936fe]167 </sect2>
[4c24eb0a]168
[3c2936fe]169</sect1>
Note: See TracBrowser for help on using the repository browser.