source: general/genlib/libidn.xml@ d0690bb

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since d0690bb was 6028d74, checked in by Bruce Dubbs <bdubbs@…>, 5 months ago

Update to libidn-1.42.

  • Property mode set to 100644
File size: 6.3 KB
Line 
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 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 &lfs120_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="pth"/>,
85 <xref linkend="emacs"/>,
86 <xref linkend="gtk-doc"/>,
87 <xref linkend="openjdk"/>,
88 <xref linkend="valgrind"/>, and
89 <ulink url="https://www.mono-project.com/">Mono</ulink>
90 </para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of libidn</title>
96
97 <para>
98 Install <application>libidn</application> by running the following
99 commands:
100 </para>
101
102<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 To test the results, run:
107 </para>
108
109<screen remap="test"><userinput>pushd tests &amp;&amp;
110 make check &amp;&amp;
111popd </userinput></screen>
112
113 <para>
114 Now, as the <systemitem class="username">root</systemitem> user:
115 </para>
116
117<screen role="root"><userinput>make install &amp;&amp;
118
119find doc -name "Makefile*" -delete &amp;&amp;
120rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &amp;&amp;
121mkdir -v /usr/share/doc/libidn-&libidn-version; &amp;&amp;
122cp -r -v doc/* /usr/share/doc/libidn-&libidn-version;</userinput></screen>
123
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
130 href="../../xincludes/static-libraries.xml"/>
131
132 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
133 href="../../xincludes/gtk-doc-rebuild.xml"/>
134
135 <para>
136 <option>--enable-java</option>: Use this switch to enable building
137 the Java implementation of <application>libidn</application>. Note that
138 <xref linkend="openjdk"/> must be installed to use this option.
139 </para>
140
141 </sect2>
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Program</segtitle>
148 <segtitle>Installed Library</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <seglistitem>
152 <seg>
153 idn
154 </seg>
155 <seg>
156 libidn.so
157 </seg>
158 <seg>
159 /usr/share/doc/libidn-&libidn-version; and
160 /usr/share/gtk-doc/html/libidn
161 </seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="idn">
171 <term><command>idn</command></term>
172 <listitem>
173 <para>
174 is a command line interface to the internationalized domain
175 name library
176 </para>
177 <indexterm zone="libidn idn">
178 <primary sortas="b-idn">idn</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="libidn-lib">
184 <term><filename class="libraryfile">libidn.so</filename></term>
185 <listitem>
186 <para>
187 contains a generic Stringprep implementation that does Unicode
188 3.2 NFKC normalization, mapping and prohibition of characters, and
189 bidirectional character handling. Profiles for Nameprep, iSCSI, SASL
190 and XMPP are included as well as support for Punycode and ASCII
191 Compatible Encoding (ACE) via IDNA. A mechanism to define Top-Level
192 Domain (TLD) specific validation tables, and to compare strings
193 against those tables, as well as default tables for some TLDs are
194 included
195 </para>
196 <indexterm zone="libidn libidn-lib">
197 <primary sortas="c-libidn">libidn.so</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 </variablelist>
203
204 </sect2>
205
206</sect1>
Note: See TracBrowser for help on using the repository browser.