mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
180 lines
5.0 KiB
XML
180 lines
5.0 KiB
XML
<?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 popt-download-http "http://ftp.rpm.org/popt/releases/popt-1.x/popt-1.18.tar.gz">
|
|
<!ENTITY popt-download-ftp "ftp://ftp.rpm.org/pub/rpm/popt/releases/popt-1.x/popt-&popt-version;.tar.gz">
|
|
<!ENTITY popt-md5sum "450f2f636e6a3aa527de803d0ae76c5a">
|
|
<!ENTITY popt-size "567 kB">
|
|
<!ENTITY popt-buildsize "8.7 MB (includes installing documentation)">
|
|
<!ENTITY popt-time "0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="popt" xreflabel="popt-&popt-version;">
|
|
<?dbhtml filename="popt.html"?>
|
|
|
|
<sect1info>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Popt-&popt-version;</title>
|
|
|
|
<indexterm zone="popt">
|
|
<primary sortas="a-Popt">Popt</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Popt</title>
|
|
|
|
<para>
|
|
The <application>popt</application> package contains the
|
|
<application>popt</application> libraries which are used by
|
|
some programs to parse command-line options.
|
|
</para>
|
|
|
|
&lfs111_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&popt-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&popt-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &popt-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &popt-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &popt-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &popt-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">popt Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="doxygen"/> (for generating documentation)
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/popt"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Popt</title>
|
|
|
|
<para>
|
|
Install <application>popt</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
If you have <xref linkend="doxygen"/> installed and wish to build
|
|
the API documentation, issue:
|
|
</para>
|
|
|
|
<screen remap="doc"><userinput>sed -i 's@\./@src/@' Doxyfile &&
|
|
doxygen</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>
|
|
|
|
<para>
|
|
If you built the API documentation, install it using the following
|
|
commands issued by the <systemitem class="username">root</systemitem>
|
|
user:
|
|
</para>
|
|
|
|
<screen role="root"
|
|
remap="doc"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
|
install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</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"/>
|
|
|
|
<!-- FIXME Removed due to merged-/usr changes
|
|
<para>
|
|
<command>mv /usr/lib/libpopt.so.* /lib</command> and
|
|
<command>ln -sfv ...</command>: Moves the popt library on the root
|
|
filesystem, so it is available in case
|
|
<systemitem class="filesystem">/usr</systemitem> is offline and
|
|
<xref linkend="efibootmgr"/> is installed and linked to popt.
|
|
</para>
|
|
-->
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>None</seg>
|
|
<seg>libpopt.so</seg>
|
|
<seg>/usr/share/doc/popt-&popt-version;</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libpopt">
|
|
<term><filename class="libraryfile">libpopt.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
is used to parse command-line options
|
|
</para>
|
|
<indexterm zone="popt libpopt">
|
|
<primary sortas="c-libpopt">libpopt.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|