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