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