[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 |
|
---|
[8dfc5c3] | 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">
|
---|
[156e188] | 9 | <!ENTITY libidn-md5sum "2cbff2f75f904328ac507af576b07197">
|
---|
| 10 | <!ENTITY libidn-size "2.5 MB">
|
---|
[54055a2] | 11 | <!ENTITY libidn-buildsize "22 MB (with tests)">
|
---|
[d233271a] | 12 | <!ENTITY libidn-time "0.2 SBU (with tests)">
|
---|
[39f916fc] | 13 | ]>
|
---|
| 14 |
|
---|
[4049d110] | 15 | <sect1 id="libidn" xreflabel="libidn-&libidn-version;">
|
---|
[39f916fc] | 16 | <?dbhtml filename="libidn.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[4049d110] | 22 | <title>libidn-&libidn-version;</title>
|
---|
[39f916fc] | 23 |
|
---|
| 24 | <indexterm zone="libidn">
|
---|
[e355d777] | 25 | <primary sortas="a-libidn">libidn</primary>
|
---|
[39f916fc] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[4049d110] | 29 | <title>Introduction to libidn</title>
|
---|
[e355d777] | 30 |
|
---|
| 31 | <para>
|
---|
[4049d110] | 32 | <application>libidn</application> is a package designed for
|
---|
[0d7900a] | 33 | internationalized string handling based on the
|
---|
[e355d777] | 34 | <ulink url="http://www.ietf.org/rfc/rfc3454.txt">Stringprep</ulink>,
|
---|
| 35 | <ulink url="http://www.ietf.org/rfc/rfc3492.txt">Punycode</ulink> and
|
---|
| 36 | <ulink url="http://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>
|
---|
[39f916fc] | 46 |
|
---|
[dca2b43e] | 47 | &lfs112_checked;
|
---|
[bfa45ca] | 48 |
|
---|
[39f916fc] | 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 50 | <itemizedlist spacing="compact">
|
---|
| 51 | <listitem>
|
---|
[4049d110] | 52 | <para>
|
---|
| 53 | Download (HTTP): <ulink url="&libidn-download-http;"/>
|
---|
| 54 | </para>
|
---|
[39f916fc] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[4049d110] | 57 | <para>
|
---|
| 58 | Download (FTP): <ulink url="&libidn-download-ftp;"/>
|
---|
| 59 | </para>
|
---|
[39f916fc] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[4049d110] | 62 | <para>
|
---|
| 63 | Download MD5 sum: &libidn-md5sum;
|
---|
| 64 | </para>
|
---|
[39f916fc] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[4049d110] | 67 | <para>
|
---|
| 68 | Download size: &libidn-size;
|
---|
| 69 | </para>
|
---|
[39f916fc] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[4049d110] | 72 | <para>
|
---|
| 73 | Estimated disk space required: &libidn-buildsize;
|
---|
| 74 | </para>
|
---|
[39f916fc] | 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
[4049d110] | 77 | <para>
|
---|
| 78 | Estimated build time: &libidn-time;
|
---|
| 79 | </para>
|
---|
[39f916fc] | 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[4049d110] | 83 | <bridgehead renderas="sect3">libidn Dependencies</bridgehead>
|
---|
[39f916fc] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e355d777] | 86 | <para role="optional">
|
---|
[23cb090] | 87 | <xref linkend="pth"/>,
|
---|
[e355d777] | 88 | <xref linkend="emacs"/>,
|
---|
| 89 | <xref linkend="gtk-doc"/>,
|
---|
[49b50d4] | 90 | <xref linkend="openjdk"/>,
|
---|
[a65d410] | 91 | <xref linkend="valgrind"/>, and
|
---|
[3b1995e0] | 92 | <ulink url="http://www.mono-project.com/">Mono</ulink>
|
---|
[e355d777] | 93 | </para>
|
---|
[39f916fc] | 94 |
|
---|
[1039de3] | 95 | <para condition="html" role="usernotes">User Notes:
|
---|
[4049d110] | 96 | <ulink url="&blfs-wiki;/libidn"/>
|
---|
| 97 | </para>
|
---|
[39f916fc] | 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
[4049d110] | 101 | <title>Installation of libidn</title>
|
---|
[39f916fc] | 102 |
|
---|
[e355d777] | 103 | <para>
|
---|
[4049d110] | 104 | Install <application>libidn</application> by running the following
|
---|
[e355d777] | 105 | commands:
|
---|
| 106 | </para>
|
---|
[39f916fc] | 107 |
|
---|
[e355d777] | 108 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[39f916fc] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
[e355d777] | 111 | <para>
|
---|
[dac6007] | 112 | To test the results, run:
|
---|
[e355d777] | 113 | </para>
|
---|
[39f916fc] | 114 |
|
---|
[dac6007] | 115 | <screen remap="test"><userinput>pushd tests &&
|
---|
| 116 | make check &&
|
---|
| 117 | popd </userinput></screen>
|
---|
| 118 |
|
---|
[e355d777] | 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[39f916fc] | 122 |
|
---|
| 123 | <screen role="root"><userinput>make install &&
|
---|
| 124 |
|
---|
[3e65ee44] | 125 | find doc -name "Makefile*" -delete &&
|
---|
[e355d777] | 126 | rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &&
|
---|
[3e65ee44] | 127 | mkdir -v /usr/share/doc/libidn-&libidn-version; &&
|
---|
[e355d777] | 128 | cp -r -v doc/* /usr/share/doc/libidn-&libidn-version;</userinput></screen>
|
---|
[39f916fc] | 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
[56ce09e] | 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
[06be400] | 134 |
|
---|
[e05cd03f] | 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[e355d777] | 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"/>
|
---|
[56ce09e] | 140 |
|
---|
[404b72a] | 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 |
|
---|
[56ce09e] | 147 | </sect2>
|
---|
| 148 |
|
---|
[39f916fc] | 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Program</segtitle>
|
---|
[e355d777] | 154 | <segtitle>Installed Library</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
[39f916fc] | 156 |
|
---|
| 157 | <seglistitem>
|
---|
[e355d777] | 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>
|
---|
[39f916fc] | 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>
|
---|
[e355d777] | 179 | <para>
|
---|
| 180 | is a command line interface to the internationalized domain
|
---|
[4c24eb0a] | 181 | name library
|
---|
[e355d777] | 182 | </para>
|
---|
[39f916fc] | 183 | <indexterm zone="libidn idn">
|
---|
| 184 | <primary sortas="b-idn">idn</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="libidn-lib">
|
---|
[4c24eb0a] | 190 | <term><filename class="libraryfile">libidn.so</filename></term>
|
---|
[39f916fc] | 191 | <listitem>
|
---|
[e355d777] | 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
|
---|
[4c24eb0a] | 200 | included
|
---|
[e355d777] | 201 | </para>
|
---|
[39f916fc] | 202 | <indexterm zone="libidn libidn-lib">
|
---|
[e355d777] | 203 | <primary sortas="c-libidn">libidn.so</primary>
|
---|
[39f916fc] | 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | </variablelist>
|
---|
| 209 |
|
---|
| 210 | </sect2>
|
---|
| 211 |
|
---|
| 212 | </sect1>
|
---|