[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 |
|
---|
[b3da5f2c] | 7 | <!ENTITY popt-download-http "http://rpm.net.in/mirror/rpm-4.4.x/popt-&popt-version;.tar.gz">
|
---|
[189885b] | 8 | <!ENTITY popt-download-ftp "ftp://wraptastic.org/pub/rpm-4.4.x/popt-&popt-version;.tar.gz">
|
---|
| 9 | <!ENTITY popt-md5sum "dd22a6873b43d00f75e1c1b7dcfd1ff7">
|
---|
| 10 | <!ENTITY popt-size "1.1 MB">
|
---|
| 11 | <!ENTITY popt-buildsize "8.3 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 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[b3da5f2c] | 23 | <title>Popt-&popt-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[36f0d75] | 25 | <indexterm zone="popt">
|
---|
| 26 | <primary sortas="a-Popt">Popt</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Popt</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[74390482] | 32 | <para>The <application>popt</application> package contains the
|
---|
[36f0d75] | 33 | <application>popt</application> libraries which are used by
|
---|
| 34 | some programs to parse command-line options.</para>
|
---|
[8e75f8b9] | 35 |
|
---|
[36f0d75] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&popt-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&popt-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &popt-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &popt-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &popt-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &popt-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
[8e75f8b9] | 57 |
|
---|
[1039de3] | 58 | <para condition="html" role="usernotes">User Notes:
|
---|
| 59 | <ulink url="&blfs-wiki;/popt"/></para>
|
---|
| 60 |
|
---|
[36f0d75] | 61 | </sect2>
|
---|
[8e75f8b9] | 62 |
|
---|
[36f0d75] | 63 | <sect2 role="installation">
|
---|
| 64 | <title>Installation of Popt</title>
|
---|
| 65 |
|
---|
[74390482] | 66 | <para>Install <application>popt</application> by running the following
|
---|
[36f0d75] | 67 | commands:</para>
|
---|
| 68 |
|
---|
[4f38d77] | 69 | <screen><userinput>sed -i -e "/*origOptString ==/c 0)" popt.c &&
|
---|
[d980016] | 70 | ./configure --prefix=/usr &&
|
---|
[36f0d75] | 71 | make</userinput></screen>
|
---|
[8e75f8b9] | 72 |
|
---|
[189885b] | 73 | <para>If you have <xref linkend="doxygen"/> installed and wish to build
|
---|
| 74 | the API documentation, issue <command>doxygen</command>.</para>
|
---|
| 75 |
|
---|
[2f7d86f] | 76 | <para>To test the results, issue:</para>
|
---|
[6473e74] | 77 |
|
---|
[b3da5f2c] | 78 | <screen><userinput>make check</userinput></screen>
|
---|
[58ff87a] | 79 |
|
---|
[36f0d75] | 80 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 81 |
|
---|
[36f0d75] | 82 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 83 |
|
---|
[189885b] | 84 | <para>If you built the API documentation, install it using the following
|
---|
| 85 | commands issued by the <systemitem class="username">root</systemitem>
|
---|
| 86 | user:</para>
|
---|
| 87 |
|
---|
| 88 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &&
|
---|
| 89 | install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
|
---|
| 90 |
|
---|
[36f0d75] | 91 | </sect2>
|
---|
[8e75f8b9] | 92 |
|
---|
[36f0d75] | 93 | <sect2 role="commands">
|
---|
| 94 | <title>Command Explanations</title>
|
---|
[8e75f8b9] | 95 |
|
---|
[4f38d77] | 96 | <para><command>sed ...</command>:
|
---|
| 97 | This fix taken backported from the development version of <application>popt</application>
|
---|
| 98 | fixes a problem identified by the included testsuite.</para>
|
---|
| 99 |
|
---|
[36f0d75] | 100 | </sect2>
|
---|
[8e75f8b9] | 101 |
|
---|
[36f0d75] | 102 | <sect2 role="content">
|
---|
| 103 | <title>Contents</title>
|
---|
| 104 |
|
---|
| 105 | <segmentedlist>
|
---|
| 106 | <segtitle>Installed Programs</segtitle>
|
---|
| 107 | <segtitle>Installed Library</segtitle>
|
---|
| 108 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 109 |
|
---|
[36f0d75] | 110 | <seglistitem>
|
---|
| 111 | <seg>None</seg>
|
---|
[1039de3] | 112 | <seg>libpopt.{so,a}</seg>
|
---|
[189885b] | 113 | <seg>/usr/share/doc/popt-&popt-version;</seg>
|
---|
[36f0d75] | 114 | </seglistitem>
|
---|
| 115 | </segmentedlist>
|
---|
[8e75f8b9] | 116 |
|
---|
[36f0d75] | 117 | <variablelist>
|
---|
| 118 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 119 | <?dbfo list-presentation="list"?>
|
---|
[0f0ee329] | 120 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 121 |
|
---|
[36f0d75] | 122 | <varlistentry id="libpopt">
|
---|
[1039de3] | 123 | <term><filename role='library'>libpopt.{so,a}</filename></term>
|
---|
[36f0d75] | 124 | <listitem>
|
---|
| 125 | <para> is used to parse command-line options.</para>
|
---|
| 126 | <indexterm zone="popt libpopt">
|
---|
[1039de3] | 127 | <primary sortas="c-libpopt">libpopt.{so,a}</primary>
|
---|
[36f0d75] | 128 | </indexterm>
|
---|
| 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 | </variablelist>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
[f45b1953] | 134 |
|
---|
| 135 | </sect1>
|
---|