mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
a5a5f0f785
Important: Added a section about stability. Also fixed a build failure with last commit (missing ending para tag).
154 lines
4.0 KiB
XML
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; &&
|
|
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 &&
|
|
|
|
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>
|