[39f916fc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[39f916fc] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[bfa45ca] | 7 | <!ENTITY libidn-download-http "http://ftp.gnu.org/gnu/libidn/libidn-&libidn-version;.tar.gz">
|
---|
| 8 | <!ENTITY libidn-download-ftp "ftp://ftp.gnu.org/gnu/libidn/libidn-&libidn-version;.tar.gz">
|
---|
[c607f16] | 9 | <!ENTITY libidn-md5sum "b17edc8551cd31cc5f14c82a9dabf58e">
|
---|
[4049d110] | 10 | <!ENTITY libidn-size "3.3 MB">
|
---|
[c607f16] | 11 | <!ENTITY libidn-buildsize "30 MB">
|
---|
| 12 | <!ENTITY libidn-time "0.3 SBU">
|
---|
[39f916fc] | 13 | ]>
|
---|
| 14 |
|
---|
[4049d110] | 15 | <sect1 id="libidn" xreflabel="libidn-&libidn-version;">
|
---|
[39f916fc] | 16 | <?dbhtml filename="libidn.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[4049d110] | 23 | <title>libidn-&libidn-version;</title>
|
---|
[39f916fc] | 24 |
|
---|
| 25 | <indexterm zone="libidn">
|
---|
[e355d777] | 26 | <primary sortas="a-libidn">libidn</primary>
|
---|
[39f916fc] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[4049d110] | 30 | <title>Introduction to libidn</title>
|
---|
[e355d777] | 31 |
|
---|
| 32 | <para>
|
---|
[4049d110] | 33 | <application>libidn</application> is a package designed for
|
---|
[0d7900a] | 34 | internationalized string handling based on the
|
---|
[e355d777] | 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>
|
---|
[39f916fc] | 47 |
|
---|
[c4d5919] | 48 | &lfs77_checked;
|
---|
[bfa45ca] | 49 |
|
---|
[39f916fc] | 50 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 51 | <itemizedlist spacing="compact">
|
---|
| 52 | <listitem>
|
---|
[4049d110] | 53 | <para>
|
---|
| 54 | Download (HTTP): <ulink url="&libidn-download-http;"/>
|
---|
| 55 | </para>
|
---|
[39f916fc] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[4049d110] | 58 | <para>
|
---|
| 59 | Download (FTP): <ulink url="&libidn-download-ftp;"/>
|
---|
| 60 | </para>
|
---|
[39f916fc] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[4049d110] | 63 | <para>
|
---|
| 64 | Download MD5 sum: &libidn-md5sum;
|
---|
| 65 | </para>
|
---|
[39f916fc] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[4049d110] | 68 | <para>
|
---|
| 69 | Download size: &libidn-size;
|
---|
| 70 | </para>
|
---|
[39f916fc] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[4049d110] | 73 | <para>
|
---|
| 74 | Estimated disk space required: &libidn-buildsize;
|
---|
| 75 | </para>
|
---|
[39f916fc] | 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
[4049d110] | 78 | <para>
|
---|
| 79 | Estimated build time: &libidn-time;
|
---|
| 80 | </para>
|
---|
[39f916fc] | 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[4049d110] | 84 | <bridgehead renderas="sect3">libidn Dependencies</bridgehead>
|
---|
[39f916fc] | 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e355d777] | 87 | <para role="optional">
|
---|
[23cb090] | 88 | <xref linkend="pth"/>,
|
---|
[e355d777] | 89 | <xref linkend="emacs"/>,
|
---|
| 90 | <xref linkend="gtk-doc"/>,
|
---|
[49b50d4] | 91 | <xref linkend="openjdk"/>,
|
---|
[23cb090] | 92 | <ulink url="http://www.gnu.org/software/dotgnu/">DotGNU Portable.NET</ulink> or
|
---|
| 93 | <ulink url="http://www.mono-project.com/Main_Page">Mono</ulink>, and
|
---|
[f1607a4] | 94 | <xref linkend="valgrind"/>
|
---|
[e355d777] | 95 | </para>
|
---|
[39f916fc] | 96 |
|
---|
[1039de3] | 97 | <para condition="html" role="usernotes">User Notes:
|
---|
[4049d110] | 98 | <ulink url="&blfs-wiki;/libidn"/>
|
---|
| 99 | </para>
|
---|
[39f916fc] | 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="installation">
|
---|
[4049d110] | 103 | <title>Installation of libidn</title>
|
---|
[39f916fc] | 104 |
|
---|
[e355d777] | 105 | <para>
|
---|
[4049d110] | 106 | Install <application>libidn</application> by running the following
|
---|
[e355d777] | 107 | commands:
|
---|
| 108 | </para>
|
---|
[39f916fc] | 109 |
|
---|
[e355d777] | 110 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[39f916fc] | 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
[e355d777] | 113 | <para>
|
---|
| 114 | To test the results, issue: <command>make check</command>.
|
---|
| 115 | </para>
|
---|
[39f916fc] | 116 |
|
---|
[e355d777] | 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
[39f916fc] | 120 |
|
---|
| 121 | <screen role="root"><userinput>make install &&
|
---|
| 122 |
|
---|
[3e65ee44] | 123 | find doc -name "Makefile*" -delete &&
|
---|
[e355d777] | 124 | rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &&
|
---|
[3e65ee44] | 125 | mkdir -v /usr/share/doc/libidn-&libidn-version; &&
|
---|
[e355d777] | 126 | cp -r -v doc/* /usr/share/doc/libidn-&libidn-version;</userinput></screen>
|
---|
[39f916fc] | 127 |
|
---|
| 128 | </sect2>
|
---|
| 129 |
|
---|
[56ce09e] | 130 | <sect2 role="commands">
|
---|
| 131 | <title>Command Explanations</title>
|
---|
[06be400] | 132 |
|
---|
[e05cd03f] | 133 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[e355d777] | 134 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 135 |
|
---|
| 136 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 137 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[56ce09e] | 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
[39f916fc] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Program</segtitle>
|
---|
[e355d777] | 146 | <segtitle>Installed Library</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
[39f916fc] | 148 |
|
---|
| 149 | <seglistitem>
|
---|
[e355d777] | 150 | <seg>
|
---|
| 151 | idn
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
| 154 | libidn.so
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | /usr/share/doc/libidn-&libidn-version; and
|
---|
| 158 | /usr/share/gtk-doc/html/libidn
|
---|
| 159 | </seg>
|
---|
[39f916fc] | 160 | </seglistitem>
|
---|
| 161 | </segmentedlist>
|
---|
| 162 |
|
---|
| 163 | <variablelist>
|
---|
| 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 165 | <?dbfo list-presentation="list"?>
|
---|
| 166 | <?dbhtml list-presentation="table"?>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="idn">
|
---|
| 169 | <term><command>idn</command></term>
|
---|
| 170 | <listitem>
|
---|
[e355d777] | 171 | <para>
|
---|
| 172 | is a command line interface to the internationalized domain
|
---|
| 173 | name library.
|
---|
| 174 | </para>
|
---|
[39f916fc] | 175 | <indexterm zone="libidn idn">
|
---|
| 176 | <primary sortas="b-idn">idn</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="libidn-lib">
|
---|
[e355d777] | 182 | <term><filename class='libraryfile'>libidn.so</filename></term>
|
---|
[39f916fc] | 183 | <listitem>
|
---|
[e355d777] | 184 | <para>
|
---|
| 185 | contains a generic Stringprep implementation that does Unicode
|
---|
| 186 | 3.2 NFKC normalization, mapping and prohibition of characters, and
|
---|
| 187 | bidirectional character handling. Profiles for Nameprep, iSCSI, SASL
|
---|
| 188 | and XMPP are included as well as support for Punycode and ASCII
|
---|
| 189 | Compatible Encoding (ACE) via IDNA. A mechanism to define Top-Level
|
---|
| 190 | Domain (TLD) specific validation tables, and to compare strings
|
---|
| 191 | against those tables, as well as default tables for some TLDs are
|
---|
| 192 | included.
|
---|
| 193 | </para>
|
---|
[39f916fc] | 194 | <indexterm zone="libidn libidn-lib">
|
---|
[e355d777] | 195 | <primary sortas="c-libidn">libidn.so</primary>
|
---|
[39f916fc] | 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | </variablelist>
|
---|
| 201 |
|
---|
| 202 | </sect2>
|
---|
| 203 |
|
---|
| 204 | </sect1>
|
---|