Added libidn2 to the book

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19249 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Douglas R. Reno 2017-09-18 19:32:04 +00:00
parent ad930e6713
commit 531f138b69
7 changed files with 193 additions and 3 deletions

View File

@ -90,6 +90,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libgusb.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libical.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libidn.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libidn2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libiodbc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libksba.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="liblinear.xml"/>

184
general/genlib/libidn2.xml Normal file
View File

@ -0,0 +1,184 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libidn2-download-http "&gnu-http;/libidn/libidn2-&libidn2-version;.tar.gz">
<!ENTITY libidn2-download-ftp "&gnu-ftp;/libidn/libidn2-&libidn2-version;.tar.gz">
<!ENTITY libidn2-md5sum "841ebea41f9f10e07e014ab0a874ed8e">
<!ENTITY libidn2-size "1.9 MB">
<!ENTITY libidn2-buildsize "17 MB">
<!ENTITY libidn2-time "0.2 SBU">
]>
<!-- Try to keep the indentation used in this file-->
<sect1 id="libidn2" xreflabel="libidn2-&libidn2-version;">
<?dbhtml filename="libidn2.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libidn2-&libidn2-version;</title>
<indexterm zone="libidn2">
<primary sortas="a-libidn2">libidn2</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libidn2</title>
<para>
<application>libidn2</application> is a package designed for
internationalized string handling based on standards from the
Internet Engineering Task Force (IETF)'s IDN working group, designed for
internationalized domain names.
</para>
&lfs81_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libidn2-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libidn2-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libidn2-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libidn2-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libidn2-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libidn2-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libidn2 Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libunistring"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/libidn2"/>
</para>
</sect2>
<!--Required section-->
<sect2 role="installation">
<title>Installation of libidn2</title>
<para>
Install <application>libidn2</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
libidn2
</seg>
<seg>
libidn2.so
</seg>
<seg>
/usr/share/gtk-doc/html/libidn2
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<!-- If the program or library name conflicts (is the same) as the
package name, add -prog or -lib to the varlistentry entity id
and the 2nd entry of the indexterm zone entity -->
<varlistentry id="idn2">
<term><command>idn2</command></term>
<listitem>
<para>
is a command line interface to the internationalized domain
library.
</para>
<indexterm zone="libidn2 idn2">
<primary sortas="b-idn2">idn2</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libidn2-lib">
<term><filename class="libraryfile">libidn2.so</filename></term>
<listitem>
<para>
contains a generic Stringprep implementation used for
internationalized string handling.
</para>
<indexterm zone="libidn2 libidn2-lib">
<primary sortas="c-libidn2">libidn2.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -86,7 +86,7 @@
<xref linkend="gnutls"/>,
<xref linkend="iptables"/>,
<xref linkend="libgcrypt"/>,
<xref linkend="libidn"/>,
<xref linkend="libidn2"/>,
<xref linkend="libxkbcommon"/>,
<xref linkend="qemu"/>,
<xref linkend="valgrind"/>,

View File

@ -48,6 +48,10 @@
<listitem>
<para>[pierre] - Clarify cryptsetup dependencies.</para>
</listitem>
<listitem>
<para>[renodr] - Add libidn2. Fixes
<ulink url="&blfs-ticket-root;9045">#9045</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -97,11 +97,11 @@
<para role="optional">
<xref linkend="c-ares"/>,
<xref linkend="gnutls"/>,
<xref linkend="libidn2"/>,
<xref linkend="mitkrb"/>,
<xref linkend="nghttp2"/>,
<xref linkend="openldap"/>,
<xref linkend="samba"/>,
<ulink url="https://www.gnu.org/software/libidn/#libidn2/">libidn2</ulink>,
<ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
<ulink url="https://github.com/rockdaboot/libpsl">libpsl</ulink>,
<ulink url="http://rtmpdump.mplayerhq.hu/">librtmp</ulink>,

View File

@ -142,6 +142,7 @@
<!ENTITY libgusb-version "0.2.11">
<!ENTITY libical-version "2.0.0">
<!ENTITY libidn-version "1.33">
<!ENTITY libidn2-version "2.0.4">
<!ENTITY libiodbc-version "3.52.12">
<!ENTITY libksba-version "1.3.5">
<!ENTITY liblinear-version "211">

View File

@ -110,7 +110,7 @@
<xref linkend="gtk-doc"/>,
<xref linkend="guile"/>,
<xref linkend="libidn"/> or
<ulink url="https://www.gnu.org/software/libidn/libidn2/manual/libidn2.html">libidn2</ulink>,
<xref linkend="libidn2"/>
<xref linkend="net-tools"/> (used during the test suite),
<xref linkend="texlive"/> or <xref linkend="tl-installer"/>,
<xref linkend="unbound"/> (to build the DANE library),