[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">
|
---|
[4f598ff5] | 9 | <!ENTITY libidn-md5sum "893a1df0cf3b28b72d248382eaeaca71">
|
---|
| 10 | <!ENTITY libidn-size "3.2 MB">
|
---|
| 11 | <!ENTITY libidn-buildsize "28 MB">
|
---|
[bfa45ca] | 12 | <!ENTITY libidn-time "0.3 SBU">
|
---|
[39f916fc] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 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 |
|
---|
| 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><application>Libidn</application> is a package designed for
|
---|
| 33 | internationalized string handling based on the <ulink
|
---|
| 34 | url="http://josefsson.org/cgi-bin/rfcmarkup?url=http://www.ietf.org/rfc/rfc3454.txt">
|
---|
| 35 | Stringprep</ulink>, <ulink
|
---|
| 36 | url="http://josefsson.org/cgi-bin/rfcmarkup?url=http://www.ietf.org/rfc/rfc3492.txt">
|
---|
| 37 | Punycode</ulink>, <ulink
|
---|
| 38 | url="http://josefsson.org/cgi-bin/rfcmarkup?url=http://www.ietf.org/rfc/rfc3490.txt">
|
---|
| 39 | IDNA</ulink> and <ulink
|
---|
| 40 | url="http://josefsson.org/cgi-bin/rfcmarkup?url=http://josefsson.org/cgi-bin/viewcvs.cgi/*checkout*/libidn/doc/specifications/draft-hoffman-idn-reg-02.txt">
|
---|
| 41 | TLD</ulink> specifications defined by the Internet Engineering Task Force
|
---|
| 42 | (IETF) Internationalized Domain Names (IDN) working group, used for
|
---|
| 43 | internationalized domain names. This is useful for converting data from the
|
---|
| 44 | system's native representation into UTF-8, transforming Unicode strings
|
---|
| 45 | into ASCII strings, allowing applications to use certain ASCII name labels
|
---|
| 46 | (beginning with a special prefix) to represent non-ASCII name labels, and
|
---|
| 47 | converting entire domain names to and from the ASCII Compatible Encoding
|
---|
| 48 | (ACE) form.</para>
|
---|
| 49 |
|
---|
[27d9434] | 50 | &lfs70_checked;
|
---|
[bfa45ca] | 51 |
|
---|
[39f916fc] | 52 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 53 | <itemizedlist spacing="compact">
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download (HTTP): <ulink url="&libidn-download-http;"/></para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download (FTP): <ulink url="&libidn-download-ftp;"/></para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Download MD5 sum: &libidn-md5sum;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Download size: &libidn-size;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Estimated disk space required: &libidn-buildsize;</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Estimated build time: &libidn-time;</para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Libidn Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 77 | <para role="optional"><xref linkend="emacs"/>,
|
---|
[358241d1] | 78 | <!-- <xref linkend="pkgconfig"/>, -->
|
---|
[39f916fc] | 79 | <xref linkend="gtk-doc"/>,
|
---|
| 80 | a Java compiler—one of (looked for in this order)
|
---|
[174e4cbe] | 81 | <xref linkend="gcc"/> (for the <command>gcj</command> program),
|
---|
[b66ece35] | 82 | <ulink url="http://jikes.sourceforge.net/">Jikes</ulink>,
|
---|
| 83 | <xref linkend="icedtea6"/>, or <xref linkend="jdk"/>,
|
---|
[39f916fc] | 84 | and a C# compiler—<ulink
|
---|
| 85 | url="http://www.mono-project.com/Main_Page">Mono</ulink> or
|
---|
| 86 | <ulink url="http://www.southern-storm.com.au/portable_net.html">
|
---|
| 87 | DotGNU Portable.NET</ulink></para>
|
---|
| 88 |
|
---|
[1039de3] | 89 | <para condition="html" role="usernotes">User Notes:
|
---|
| 90 | <ulink url="&blfs-wiki;/libidn"/></para>
|
---|
| 91 |
|
---|
[39f916fc] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of Libidn</title>
|
---|
| 96 |
|
---|
| 97 | <para>Install <application>Libidn</application> by running the following
|
---|
| 98 | commands:</para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 104 |
|
---|
| 105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>make install &&
|
---|
| 108 | find doc -name "Makefile*" -exec rm {} \; &&
|
---|
| 109 |
|
---|
| 110 | install -v -m755 -d \
|
---|
| 111 | /usr/share/doc/libidn-&libidn-version;/{api,java,specifications,tld} &&
|
---|
| 112 | install -v -m644 doc/components* \
|
---|
| 113 | doc/libidn.{pdf,ps,html} \
|
---|
| 114 | /usr/share/doc/libidn-&libidn-version; &&
|
---|
| 115 | install -v -m644 doc/reference/html/* \
|
---|
| 116 | /usr/share/doc/libidn-&libidn-version;/api &&
|
---|
| 117 | install -v -m644 doc/specifications/* \
|
---|
| 118 | /usr/share/doc/libidn-&libidn-version;/specifications &&
|
---|
| 119 | install -v -m644 doc/tld/* /usr/share/doc/libidn-&libidn-version;/tld &&
|
---|
| 120 | cp -v -R doc/java/* /usr/share/doc/libidn-&libidn-version;/java</userinput></screen>
|
---|
| 121 |
|
---|
[9ce2ad56] | 122 | <!-- <para>If you created the text documentation, install it using the following
|
---|
[39f916fc] | 123 | command as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 124 |
|
---|
[9ce2ad56] | 125 | <screen role="root"><userinput>install -v -m644 doc/libidn.txt /usr/share/doc/libidn-&libidn-version;</userinput></screen> -->
|
---|
[39f916fc] | 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
[56ce09e] | 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
[06be400] | 131 |
|
---|
[e05cd03f] | 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[56ce09e] | 133 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
[39f916fc] | 137 | <sect2 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
| 141 | <segtitle>Installed Program</segtitle>
|
---|
| 142 | <segtitle>Installed Libraries</segtitle>
|
---|
| 143 | <segtitle>Installed Directory</segtitle>
|
---|
| 144 |
|
---|
| 145 | <seglistitem>
|
---|
| 146 | <seg>idn</seg>
|
---|
[1039de3] | 147 | <seg>libidn.{so,a} and optionally, Java and C# modules</seg>
|
---|
[39f916fc] | 148 | <seg>/usr/share/doc/libidn-&libidn-version;</seg>
|
---|
| 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="idn">
|
---|
| 158 | <term><command>idn</command></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>is a command line interface to the internationalized domain
|
---|
| 161 | name library.</para>
|
---|
| 162 | <indexterm zone="libidn idn">
|
---|
| 163 | <primary sortas="b-idn">idn</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="libidn-lib">
|
---|
[1039de3] | 169 | <term><filename class='libraryfile'>libidn.{so,a}</filename></term>
|
---|
[39f916fc] | 170 | <listitem>
|
---|
| 171 | <para> contains a generic Stringprep implementation that does Unicode
|
---|
[06be400] | 172 | 3.2 NFKC normalization, mapping and prohibition of characters, and
|
---|
[39f916fc] | 173 | bidirectional character handling. Profiles for Nameprep, iSCSI, SASL
|
---|
| 174 | and XMPP are included as well as support for Punycode and ASCII
|
---|
| 175 | Compatible Encoding (ACE) via IDNA. A mechanism to define Top-Level
|
---|
| 176 | Domain (TLD) specific validation tables, and to compare strings
|
---|
| 177 | against those tables, as well as default tables for some TLDs are
|
---|
| 178 | included.</para>
|
---|
| 179 | <indexterm zone="libidn libidn-lib">
|
---|
[1039de3] | 180 | <primary sortas="c-libidn">libidn.{so,a}</primary>
|
---|
[39f916fc] | 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
| 189 | </sect1>
|
---|