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