source: general/genlib/libidn.xml@ 36aab55

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/soup3 xry111/xf86-video-removal
Last change on this file since 36aab55 was 36aab55, checked in by Xi Ruoyao <xry111@…>, 20 months ago

genlib: URL updates

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