[52d29f7] | 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" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2f7b585] | 7 | <!ENTITY popt-download-http "http://ftp.rpm.org/popt/releases/popt-1.x/popt-1.18.tar.gz">
|
---|
[4dbbc0a9] | 8 | <!ENTITY popt-download-ftp "ftp://ftp.rpm.org/pub/rpm/popt/releases/popt-1.x/popt-&popt-version;.tar.gz">
|
---|
| 9 | <!ENTITY popt-md5sum "450f2f636e6a3aa527de803d0ae76c5a">
|
---|
| 10 | <!ENTITY popt-size "567 kB">
|
---|
| 11 | <!ENTITY popt-buildsize "8.7 MB (includes installing documentation)">
|
---|
[8bc5636f] | 12 | <!ENTITY popt-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="popt" xreflabel="popt-&popt-version;">
|
---|
[36f0d75] | 16 | <?dbhtml filename="popt.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[36f0d75] | 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
[8e75f8b9] | 21 |
|
---|
[b3da5f2c] | 22 | <title>Popt-&popt-version;</title>
|
---|
[8e75f8b9] | 23 |
|
---|
[36f0d75] | 24 | <indexterm zone="popt">
|
---|
| 25 | <primary sortas="a-Popt">Popt</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Popt</title>
|
---|
[8e75f8b9] | 30 |
|
---|
[d56e7df] | 31 | <para>
|
---|
| 32 | The <application>popt</application> package contains the
|
---|
| 33 | <application>popt</application> libraries which are used by
|
---|
| 34 | some programs to parse command-line options.
|
---|
| 35 | </para>
|
---|
[8e75f8b9] | 36 |
|
---|
[8c415ea] | 37 | &lfs111_checked;
|
---|
[bd32b6fd] | 38 |
|
---|
[36f0d75] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[d56e7df] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&popt-download-http;"/>
|
---|
| 44 | </para>
|
---|
[36f0d75] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[d56e7df] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&popt-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[36f0d75] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[d56e7df] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &popt-md5sum;
|
---|
| 54 | </para>
|
---|
[36f0d75] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[d56e7df] | 57 | <para>
|
---|
| 58 | Download size: &popt-size;
|
---|
| 59 | </para>
|
---|
[36f0d75] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[d56e7df] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &popt-buildsize;
|
---|
| 64 | </para>
|
---|
[36f0d75] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[d56e7df] | 67 | <para>
|
---|
| 68 | Estimated build time: &popt-time;
|
---|
| 69 | </para>
|
---|
[36f0d75] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
[8e75f8b9] | 72 |
|
---|
[40454cd2] | 73 | <bridgehead renderas="sect3">popt Dependencies</bridgehead>
|
---|
[f8888e6] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[40454cd2] | 76 | <para role="optional">
|
---|
| 77 | <xref linkend="doxygen"/> (for generating documentation)
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[1039de3] | 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/popt"/></para>
|
---|
| 82 |
|
---|
[36f0d75] | 83 | </sect2>
|
---|
[8e75f8b9] | 84 |
|
---|
[36f0d75] | 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Popt</title>
|
---|
| 87 |
|
---|
[d56e7df] | 88 | <para>
|
---|
| 89 | Install <application>popt</application> by running the following
|
---|
| 90 | commands:
|
---|
| 91 | </para>
|
---|
[36f0d75] | 92 |
|
---|
[e43015c] | 93 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[36f0d75] | 94 | make</userinput></screen>
|
---|
[8e75f8b9] | 95 |
|
---|
[d56e7df] | 96 | <para>
|
---|
| 97 | If you have <xref linkend="doxygen"/> installed and wish to build
|
---|
| 98 | the API documentation, issue:
|
---|
| 99 | </para>
|
---|
[a42c273] | 100 |
|
---|
[4dbbc0a9] | 101 | <screen remap="doc"><userinput>sed -i 's@\./@src/@' Doxyfile &&
|
---|
| 102 | doxygen</userinput></screen>
|
---|
[189885b] | 103 |
|
---|
[d56e7df] | 104 | <para>
|
---|
| 105 | To test the results, issue: <command>make check</command>.
|
---|
| 106 | </para>
|
---|
[58ff87a] | 107 |
|
---|
[d56e7df] | 108 | <para>
|
---|
| 109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 110 | </para>
|
---|
[8e75f8b9] | 111 |
|
---|
[f8888e6] | 112 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 113 |
|
---|
[d56e7df] | 114 | <para>
|
---|
| 115 | If you built the API documentation, install it using the following
|
---|
| 116 | commands issued by the <systemitem class="username">root</systemitem>
|
---|
| 117 | user:
|
---|
| 118 | </para>
|
---|
[189885b] | 119 |
|
---|
[a42c273] | 120 | <screen role="root"
|
---|
| 121 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
---|
[189885b] | 122 | install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
|
---|
| 123 |
|
---|
[36f0d75] | 124 | </sect2>
|
---|
[8e75f8b9] | 125 |
|
---|
[e43015c] | 126 | <sect2 role="commands">
|
---|
| 127 | <title>Command Explanations</title>
|
---|
| 128 |
|
---|
| 129 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 130 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 131 |
|
---|
[f8888e6] | 132 | <!-- FIXME Removed due to merged-/usr changes
|
---|
[756a787] | 133 | <para>
|
---|
| 134 | <command>mv /usr/lib/libpopt.so.* /lib</command> and
|
---|
| 135 | <command>ln -sfv ...</command>: Moves the popt library on the root
|
---|
[2c87187] | 136 | filesystem, so it is available in case
|
---|
[756a787] | 137 | <systemitem class="filesystem">/usr</systemitem> is offline and
|
---|
| 138 | <xref linkend="efibootmgr"/> is installed and linked to popt.
|
---|
| 139 | </para>
|
---|
[f8888e6] | 140 | -->
|
---|
[756a787] | 141 |
|
---|
[e43015c] | 142 | </sect2>
|
---|
| 143 |
|
---|
[36f0d75] | 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Library</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 151 |
|
---|
[36f0d75] | 152 | <seglistitem>
|
---|
| 153 | <seg>None</seg>
|
---|
[bc14bd2c] | 154 | <seg>libpopt.so</seg>
|
---|
[189885b] | 155 | <seg>/usr/share/doc/popt-&popt-version;</seg>
|
---|
[36f0d75] | 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
[8e75f8b9] | 158 |
|
---|
[36f0d75] | 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
[0f0ee329] | 162 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 163 |
|
---|
[36f0d75] | 164 | <varlistentry id="libpopt">
|
---|
[4c24eb0a] | 165 | <term><filename class="libraryfile">libpopt.so</filename></term>
|
---|
[36f0d75] | 166 | <listitem>
|
---|
[d56e7df] | 167 | <para>
|
---|
[4c24eb0a] | 168 | is used to parse command-line options
|
---|
[d56e7df] | 169 | </para>
|
---|
[36f0d75] | 170 | <indexterm zone="popt libpopt">
|
---|
[bc14bd2c] | 171 | <primary sortas="c-libpopt">libpopt.so</primary>
|
---|
[36f0d75] | 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 | </variablelist>
|
---|
| 176 |
|
---|
| 177 | </sect2>
|
---|
[f45b1953] | 178 |
|
---|
| 179 | </sect1>
|
---|