[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 |
|
---|
[4f26c54] | 7 | <!ENTITY popt-download-http "http://ftp.debian.org/debian/pool/main/p/popt/popt_&popt-version;.orig.tar.gz">
|
---|
| 8 | <!ENTITY popt-download-ftp "ftp://ftp.debian.org/debian/pool/main/p/popt/popt_&popt-version;.orig.tar.gz">
|
---|
[36f0d75] | 9 | <!ENTITY popt-md5sum "5988e7aeb0ae4dac8d83561265984cc9">
|
---|
| 10 | <!ENTITY popt-size "562 KB">
|
---|
| 11 | <!ENTITY popt-buildsize "5.5 MB">
|
---|
| 12 | <!ENTITY popt-time "0.17 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[d980016] | 15 | <sect1 id="popt" xreflabel="popt-&popt-version;-5">
|
---|
[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 |
|
---|
[36f0d75] | 27 | <title>Popt-&popt-version;-5</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 |
|
---|
[36f0d75] | 62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 63 | <itemizedlist spacing='compact'>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Patch level upgrade: <ulink
|
---|
| 66 | url="http://ftp.debian.org/debian/pool/main/p/popt/popt_&popt-version;-5.diff.gz"/></para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[8e75f8b9] | 69 |
|
---|
[1039de3] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
| 71 | <ulink url="&blfs-wiki;/popt"/></para>
|
---|
| 72 |
|
---|
[36f0d75] | 73 | </sect2>
|
---|
[8e75f8b9] | 74 |
|
---|
[36f0d75] | 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of Popt</title>
|
---|
| 77 |
|
---|
[74390482] | 78 | <para>Install <application>popt</application> by running the following
|
---|
[36f0d75] | 79 | commands:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><userinput>patch -Np1 -i ../popt_&popt-version;-5.diff &&
|
---|
[d980016] | 82 | ./configure --prefix=/usr &&
|
---|
| 83 | cp configure.in configure.ac &&
|
---|
| 84 | touch configure.in configure.ac &&
|
---|
[36f0d75] | 85 | make</userinput></screen>
|
---|
[8e75f8b9] | 86 |
|
---|
[2f7d86f] | 87 | <para>To test the results, issue:</para>
|
---|
[6473e74] | 88 |
|
---|
[2f7d86f] | 89 | <screen><userinput>sed -i "s/^run_diff /#run_diff /" testit.sh &&
|
---|
| 90 | make check</userinput></screen>
|
---|
[58ff87a] | 91 |
|
---|
[36f0d75] | 92 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 93 |
|
---|
[36f0d75] | 94 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 95 |
|
---|
[36f0d75] | 96 | </sect2>
|
---|
[8e75f8b9] | 97 |
|
---|
[36f0d75] | 98 | <sect2 role="commands">
|
---|
| 99 | <title>Command Explanations</title>
|
---|
[8e75f8b9] | 100 |
|
---|
[b065455] | 101 | <para><command>cp configure.in configure.ac</command>: Because
|
---|
| 102 | <filename>Makefile.in</filename> is updated with the patch,
|
---|
| 103 | <filename>configure.ac</filename> is also needed for
|
---|
| 104 | <command>make</command> to work properly.</para>
|
---|
[8e75f8b9] | 105 |
|
---|
[36f0d75] | 106 | <para><command>touch configure.in configure.ac</command>:
|
---|
| 107 | Ensure file timestamps are the same.</para>
|
---|
[8e75f8b9] | 108 |
|
---|
[2f7d86f] | 109 | <para><command>sed -i "s/^run_diff /#run_diff /" testit.sh</command>
|
---|
| 110 | disables tests that have missing data.</para>
|
---|
| 111 |
|
---|
[36f0d75] | 112 | </sect2>
|
---|
[8e75f8b9] | 113 |
|
---|
[36f0d75] | 114 | <sect2 role="content">
|
---|
| 115 | <title>Contents</title>
|
---|
| 116 |
|
---|
| 117 | <segmentedlist>
|
---|
| 118 | <segtitle>Installed Programs</segtitle>
|
---|
| 119 | <segtitle>Installed Library</segtitle>
|
---|
| 120 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 121 |
|
---|
[36f0d75] | 122 | <seglistitem>
|
---|
| 123 | <seg>None</seg>
|
---|
[1039de3] | 124 | <seg>libpopt.{so,a}</seg>
|
---|
[36f0d75] | 125 | <seg>None</seg>
|
---|
| 126 | </seglistitem>
|
---|
| 127 | </segmentedlist>
|
---|
[8e75f8b9] | 128 |
|
---|
[36f0d75] | 129 | <variablelist>
|
---|
| 130 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 131 | <?dbfo list-presentation="list"?>
|
---|
[0f0ee329] | 132 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 133 |
|
---|
[36f0d75] | 134 | <varlistentry id="libpopt">
|
---|
[1039de3] | 135 | <term><filename role='library'>libpopt.{so,a}</filename></term>
|
---|
[36f0d75] | 136 | <listitem>
|
---|
| 137 | <para> is used to parse command-line options.</para>
|
---|
| 138 | <indexterm zone="popt libpopt">
|
---|
[1039de3] | 139 | <primary sortas="c-libpopt">libpopt.{so,a}</primary>
|
---|
[36f0d75] | 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 | </variablelist>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
[f45b1953] | 146 |
|
---|
| 147 | </sect1>
|
---|
[ecd2b3d8] | 148 |
|
---|