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