glfs/shareddeps/net/libunistring.xml
Zeckmathederg a5a5f0f785 Removed all unstable notes on all packages.
Important: Added a section about stability.

Also fixed a build failure with last commit (missing ending para tag).
2024-10-18 12:39:05 -06:00

154 lines
4.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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 libunistring-download-http "&gnu-http;/libunistring/libunistring-&libunistring-version;.tar.xz">
<!ENTITY libunistring-download-ftp " ">
]>
<sect1 id="libunistring" xreflabel="libunistring-&libunistring-version;">
<?dbhtml filename="libunistring.html"?>
<title>libunistring-&libunistring-version;</title>
<indexterm zone="libunistring">
<primary sortas="a-libunistring">libunistring</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libunistring</title>
<para>
<application>libunistring</application> is a library that provides
functions for manipulating Unicode strings and for manipulating C
strings according to the Unicode standard.
</para>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libunistring-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libunistring-download-ftp;"/>
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of libunistring</title>
<para>
Install <application>libunistring</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/libunistring-&libunistring-version; &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"/>
</sect2>
<sect2>
<title>32-bit Installation of lib32-libunistring</title>
<para>
First clean the directory by running the following command:
</para>
<screen><userinput>make distclean</userinput></screen>
<para>
Install <application>lib32-libunistring</application>
by running the following commands:
</para>
<screen><userinput>CC="gcc -m32" CXX="g++ -m32" \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--disable-static &amp;&amp;
make</userinput></screen>
<para>
Now as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make DESTDIR=$PWD/DESTDIR install
cp -vr DESTDIR/usr/lib32/* /usr/lib32
rm -rf DESTDIR
ldconfig</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libunistring.so</seg>
<seg>
/usr/include/unistring and
/usr/share/doc/libunistring-&libunistring-version;
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libunistring-lib">
<term><command>libunistring.so</command></term>
<listitem>
<para>
provides the unicode string library API
</para>
<indexterm zone="libunistring libunistring-lib">
<primary sortas="c-libunistring-lib">libunistring.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>