[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 |
|
---|
[d093e3c] | 7 | <!ENTITY libidn-download-http "http://anduin.&lfs-domainname;/sources/BLFS/svn/l/libidn-&libidn-version;.tar.gz">
|
---|
| 8 | <!-- <!ENTITY libidn-download-http "http://josefsson.org/libidn/releases/libidn-&libidn-version;.tar.gz">
|
---|
| 9 | -->
|
---|
[39f916fc] | 10 | <!ENTITY libidn-download-ftp "ftp://alpha.gnu.org/pub/gnu/libidn/libidn-&libidn-version;.tar.gz">
|
---|
[4397e1c8] | 11 | <!ENTITY libidn-md5sum "040f012a45feb56168853998bb87ad4d">
|
---|
| 12 | <!ENTITY libidn-size "2.3 MB">
|
---|
| 13 | <!ENTITY libidn-buildsize "19 MB">
|
---|
[39f916fc] | 14 | <!ENTITY libidn-time "0.2 SBU">
|
---|
| 15 | ]>
|
---|
| 16 |
|
---|
[fd680fb] | 17 | <sect1 id="libidn" xreflabel="libidn-&libidn-version;">
|
---|
[39f916fc] | 18 | <?dbhtml filename="libidn.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>Libidn-&libidn-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="libidn">
|
---|
| 28 | <primary sortas="a-Libidn">Libidn</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to Libidn</title>
|
---|
| 33 |
|
---|
| 34 | <para><application>Libidn</application> is a package designed for
|
---|
| 35 | internationalized string handling based on the <ulink
|
---|
| 36 | url="http://josefsson.org/cgi-bin/rfcmarkup?url=http://www.ietf.org/rfc/rfc3454.txt">
|
---|
| 37 | Stringprep</ulink>, <ulink
|
---|
| 38 | url="http://josefsson.org/cgi-bin/rfcmarkup?url=http://www.ietf.org/rfc/rfc3492.txt">
|
---|
| 39 | Punycode</ulink>, <ulink
|
---|
| 40 | url="http://josefsson.org/cgi-bin/rfcmarkup?url=http://www.ietf.org/rfc/rfc3490.txt">
|
---|
| 41 | IDNA</ulink> and <ulink
|
---|
| 42 | 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">
|
---|
| 43 | TLD</ulink> specifications defined by the Internet Engineering Task Force
|
---|
| 44 | (IETF) Internationalized Domain Names (IDN) working group, used for
|
---|
| 45 | internationalized domain names. This is useful for converting data from the
|
---|
| 46 | system's native representation into UTF-8, transforming Unicode strings
|
---|
| 47 | into ASCII strings, allowing applications to use certain ASCII name labels
|
---|
| 48 | (beginning with a special prefix) to represent non-ASCII name labels, and
|
---|
| 49 | converting entire domain names to and from the ASCII Compatible Encoding
|
---|
| 50 | (ACE) form.</para>
|
---|
| 51 |
|
---|
| 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"/>,
|
---|
| 78 | <xref linkend="pkgconfig"/>,
|
---|
| 79 | <xref linkend="gtk-doc"/>,
|
---|
| 80 | a Java compiler—one of (looked for in this order)
|
---|
[d08a78f] | 81 | <xref linkend="gcc"/> (for <command>gcj</command> and you must also have
|
---|
| 82 | the <ulink url="ftp://ftp.gnu.org/gnu/classpath/">gjdoc</ulink> package
|
---|
| 83 | installed),
|
---|
[39f916fc] | 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 |
|
---|
[9ce2ad56] | 105 | <!-- <para>If you have <xref linkend="tetex"/> installed and wish to create a
|
---|
[39f916fc] | 106 | text version of the documentation, issue the following commands:</para>
|
---|
| 107 |
|
---|
| 108 | <screen><userinput>cd doc &&
|
---|
[9ce2ad56] | 109 | makeinfo (double-dash removed intentionally) -plaintext -o libidn.txt libidn.texi &&
|
---|
| 110 | cd ..</userinput></screen> -->
|
---|
[39f916fc] | 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 |
|
---|
[9ce2ad56] | 131 | <!-- <para>If you created the text documentation, install it using the following
|
---|
[39f916fc] | 132 | command as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 133 |
|
---|
[9ce2ad56] | 134 | <screen role="root"><userinput>install -v -m644 doc/libidn.txt /usr/share/doc/libidn-&libidn-version;</userinput></screen> -->
|
---|
[39f916fc] | 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
[56ce09e] | 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
[06be400] | 140 |
|
---|
[56ce09e] | 141 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 142 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
[39f916fc] | 146 | <sect2 role="content">
|
---|
| 147 | <title>Contents</title>
|
---|
| 148 |
|
---|
| 149 | <segmentedlist>
|
---|
| 150 | <segtitle>Installed Program</segtitle>
|
---|
| 151 | <segtitle>Installed Libraries</segtitle>
|
---|
| 152 | <segtitle>Installed Directory</segtitle>
|
---|
| 153 |
|
---|
| 154 | <seglistitem>
|
---|
| 155 | <seg>idn</seg>
|
---|
[1039de3] | 156 | <seg>libidn.{so,a} and optionally, Java and C# modules</seg>
|
---|
[39f916fc] | 157 | <seg>/usr/share/doc/libidn-&libidn-version;</seg>
|
---|
| 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="idn">
|
---|
| 167 | <term><command>idn</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>is a command line interface to the internationalized domain
|
---|
| 170 | name library.</para>
|
---|
| 171 | <indexterm zone="libidn idn">
|
---|
| 172 | <primary sortas="b-idn">idn</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="libidn-lib">
|
---|
[1039de3] | 178 | <term><filename class='libraryfile'>libidn.{so,a}</filename></term>
|
---|
[39f916fc] | 179 | <listitem>
|
---|
| 180 | <para> contains a generic Stringprep implementation that does Unicode
|
---|
[06be400] | 181 | 3.2 NFKC normalization, mapping and prohibition of characters, and
|
---|
[39f916fc] | 182 | bidirectional character handling. Profiles for Nameprep, iSCSI, SASL
|
---|
| 183 | and XMPP are included as well as support for Punycode and ASCII
|
---|
| 184 | Compatible Encoding (ACE) via IDNA. A mechanism to define Top-Level
|
---|
| 185 | Domain (TLD) specific validation tables, and to compare strings
|
---|
| 186 | against those tables, as well as default tables for some TLDs are
|
---|
| 187 | included.</para>
|
---|
| 188 | <indexterm zone="libidn libidn-lib">
|
---|
[1039de3] | 189 | <primary sortas="c-libidn">libidn.{so,a}</primary>
|
---|
[39f916fc] | 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | </sect1>
|
---|