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