source: general/genlib/libidn.xml

trunk
Last change on this file was 99c90fa, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Lots of tags

  • Property mode set to 100644
File size: 6.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 libidn-download-http "&gnu-http;/libidn/libidn-&libidn-version;.tar.gz">
8 <!ENTITY libidn-download-ftp " ">
9 <!ENTITY libidn-md5sum "fe061a95ae23979150a692d102dce4ad">
10 <!ENTITY libidn-size "2.5 MB">
11 <!ENTITY libidn-buildsize "19 MB (with tests)">
12 <!ENTITY libidn-time "0.2 SBU (with tests)">
13]>
14
15<sect1 id="libidn" xreflabel="libidn-&libidn-version;">
16 <?dbhtml filename="libidn.html"?>
17
18
19 <title>libidn-&libidn-version;</title>
20
21 <indexterm zone="libidn">
22 <primary sortas="a-libidn">libidn</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libidn</title>
27
28 <para>
29 <application>libidn</application> is a package designed for
30 internationalized string handling based on the
31 <ulink url="https://www.ietf.org/rfc/rfc3454.txt">Stringprep</ulink>,
32 <ulink url="https://www.ietf.org/rfc/rfc3492.txt">Punycode</ulink> and
33 <ulink url="https://www.ietf.org/rfc/rfc3490.txt">IDNA</ulink>
34 specifications defined by the Internet Engineering Task Force
35 (IETF) Internationalized Domain Names (IDN) working group, used for
36 internationalized domain names. This is useful for converting data from the
37 system's native representation into UTF-8, transforming Unicode strings
38 into ASCII strings, allowing applications to use certain ASCII name labels
39 (beginning with a special prefix) to represent non-ASCII name labels, and
40 converting entire domain names to and from the ASCII Compatible Encoding
41 (ACE) form.
42 </para>
43
44 &lfs121_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&libidn-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&libidn-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &libidn-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &libidn-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &libidn-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &libidn-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">libidn Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <xref linkend="emacs"/>,
85 <xref linkend="gtk-doc"/>,
86 <xref linkend="openjdk"/>,
87 <xref linkend="valgrind"/>, and
88 <ulink url="https://www.mono-project.com/">Mono</ulink>
89 </para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of libidn</title>
95
96 <para>
97 Install <application>libidn</application> by running the following
98 commands:
99 </para>
100
101<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
102make</userinput></screen>
103
104 <para>
105 To test the results, run:
106 </para>
107
108<screen remap="test"><userinput>pushd tests &amp;&amp;
109 make check &amp;&amp;
110popd </userinput></screen>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>make install &amp;&amp;
117
118find doc -name "Makefile*" -delete &amp;&amp;
119rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &amp;&amp;
120mkdir -v /usr/share/doc/libidn-&libidn-version; &amp;&amp;
121cp -r -v doc/* /usr/share/doc/libidn-&libidn-version;</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
128 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
129 href="../../xincludes/static-libraries.xml"/>
130
131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
132 href="../../xincludes/gtk-doc-rebuild.xml"/>
133
134 <para>
135 <option>--enable-java</option>: Use this switch to enable building
136 the Java implementation of <application>libidn</application>. Note that
137 <xref linkend="openjdk"/> must be installed to use this option.
138 </para>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Program</segtitle>
147 <segtitle>Installed Library</segtitle>
148 <segtitle>Installed Directories</segtitle>
149
150 <seglistitem>
151 <seg>
152 idn
153 </seg>
154 <seg>
155 libidn.so
156 </seg>
157 <seg>
158 /usr/share/doc/libidn-&libidn-version; and
159 /usr/share/gtk-doc/html/libidn
160 </seg>
161 </seglistitem>
162 </segmentedlist>
163
164 <variablelist>
165 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
166 <?dbfo list-presentation="list"?>
167 <?dbhtml list-presentation="table"?>
168
169 <varlistentry id="idn">
170 <term><command>idn</command></term>
171 <listitem>
172 <para>
173 is a command line interface to the internationalized domain
174 name library
175 </para>
176 <indexterm zone="libidn idn">
177 <primary sortas="b-idn">idn</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="libidn-lib">
183 <term><filename class="libraryfile">libidn.so</filename></term>
184 <listitem>
185 <para>
186 contains a generic Stringprep implementation that does Unicode
187 3.2 NFKC normalization, mapping and prohibition of characters, and
188 bidirectional character handling. Profiles for Nameprep, iSCSI, SASL
189 and XMPP are included as well as support for Punycode and ASCII
190 Compatible Encoding (ACE) via IDNA. A mechanism to define Top-Level
191 Domain (TLD) specific validation tables, and to compare strings
192 against those tables, as well as default tables for some TLDs are
193 included
194 </para>
195 <indexterm zone="libidn libidn-lib">
196 <primary sortas="c-libidn">libidn.so</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 </variablelist>
202
203 </sect2>
204
205</sect1>
Note: See TracBrowser for help on using the repository browser.