source: general/genlib/libidn.xml@ eab496c5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eab496c5 was 0e958e2f, checked in by Thomas Trepl <thomas@…>, 6 years ago

lfs82: libidn{,2}, libunistring, pcre, ziü, dhcpcd, rpcsvc-proto, ed

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19790 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.4 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 "a9aa7e003665de9c82bd3f9fc6ccf308">
10 <!ENTITY libidn-size "3.3 MB">
11 <!ENTITY libidn-buildsize "25 MB (with tests)">
12 <!ENTITY libidn-time "0.4 SBU (with tests)">
13]>
14
15<sect1 id="libidn" xreflabel="libidn-&libidn-version;">
16 <?dbhtml filename="libidn.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libidn-&libidn-version;</title>
24
25 <indexterm zone="libidn">
26 <primary sortas="a-libidn">libidn</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libidn</title>
31
32 <para>
33 <application>libidn</application> is a package designed for
34 internationalized string handling based on the
35 <ulink url="http://www.ietf.org/rfc/rfc3454.txt">Stringprep</ulink>,
36 <ulink url="http://www.ietf.org/rfc/rfc3492.txt">Punycode</ulink> and
37 <ulink url="http://www.ietf.org/rfc/rfc3490.txt">IDNA</ulink>
38 specifications defined by the Internet Engineering Task Force
39 (IETF) Internationalized Domain Names (IDN) working group, used for
40 internationalized domain names. This is useful for converting data from the
41 system's native representation into UTF-8, transforming Unicode strings
42 into ASCII strings, allowing applications to use certain ASCII name labels
43 (beginning with a special prefix) to represent non-ASCII name labels, and
44 converting entire domain names to and from the ASCII Compatible Encoding
45 (ACE) form.
46 </para>
47
48 &lfs82_checked;
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>
54 Download (HTTP): <ulink url="&libidn-download-http;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download (FTP): <ulink url="&libidn-download-ftp;"/>
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download MD5 sum: &libidn-md5sum;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Download size: &libidn-size;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated disk space required: &libidn-buildsize;
75 </para>
76 </listitem>
77 <listitem>
78 <para>
79 Estimated build time: &libidn-time;
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">libidn Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="pth"/>,
89 <xref linkend="emacs"/>,
90 <xref linkend="gtk-doc"/>,
91 <xref linkend="openjdk"/>,
92 <xref linkend="valgrind"/>, and
93 <!-- DotGNU has been decommisioned. Look again for next libidn version. -->
94 <ulink url="http://www.gnu.org/software/dotgnu/">DotGNU Portable.NET</ulink> or
95 <ulink url="http://www.mono-project.com/">Mono</ulink>
96 </para>
97
98 <para condition="html" role="usernotes">User Notes:
99 <ulink url="&blfs-wiki;/libidn"/>
100 </para>
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of libidn</title>
105
106 <para>
107 Install <application>libidn</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 To test the results, issue: <command>make check</command>.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>make install &amp;&amp;
123
124find doc -name "Makefile*" -delete &amp;&amp;
125rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &amp;&amp;
126mkdir -v /usr/share/doc/libidn-&libidn-version; &amp;&amp;
127cp -r -v doc/* /usr/share/doc/libidn-&libidn-version;</userinput></screen>
128
129 </sect2>
130
131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
134 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
135 href="../../xincludes/static-libraries.xml"/>
136
137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../../xincludes/gtk-doc-rebuild.xml"/>
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.