source: general/genlib/libidn.xml@ bf565e06

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since bf565e06 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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