source: general/genlib/popt.xml@ 45ab6c7

trunk
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY popt-download-http "http://ftp.rpm.org/popt/releases/popt-1.x/popt-1.18.tar.gz">
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)">
12 <!ENTITY popt-time "0.1 SBU">
13]>
14
15<sect1 id="popt" xreflabel="popt-&popt-version;">
16 <?dbhtml filename="popt.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Popt-&popt-version;</title>
23
24 <indexterm zone="popt">
25 <primary sortas="a-Popt">Popt</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Popt</title>
30
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>
36
37 &lfs101_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&popt-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&popt-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &popt-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &popt-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &popt-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &popt-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">popt Dependencies</bridgehead>
74 <para role="optional">
75 <xref linkend="doxygen"/> (for generating documentation)
76 </para>
77
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/popt"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of Popt</title>
85
86 <para>
87 Install <application>popt</application> by running the following
88 commands:
89 </para>
90
91<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
92make</userinput></screen>
93
94 <para>
95 If you have <xref linkend="doxygen"/> installed and wish to build
96 the API documentation, issue:
97 </para>
98
99<screen remap="doc"><userinput>sed -i 's@\./@src/@' Doxyfile &amp;&amp;
100doxygen</userinput></screen>
101
102 <para>
103 To test the results, issue: <command>make check</command>.
104 </para>
105
106 <para>
107 Now, as the <systemitem class="username">root</systemitem> user:
108 </para>
109
110<screen role="root"><userinput>make install &amp;&amp;
111mv /usr/lib/libpopt.so.* /lib &amp;&amp;
112ln -sfv ../../lib/$(readlink /usr/lib/libpopt.so) /usr/lib/libpopt.so</userinput></screen>
113
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>
119
120<screen role="root"
121 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &amp;&amp;
122install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
123
124 </sect2>
125
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
132 <para>
133 <command>mv /usr/lib/libpopt.so.* /lib</command> and
134 <command>ln -sfv ...</command>: Moves the popt library on the root
135 filesystem, so it is avaliable in case
136 <systemitem class="filesystem">/usr</systemitem> is offline and
137 <xref linkend="efibootmgr"/> is installed and linked to popt.
138 </para>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Programs</segtitle>
147 <segtitle>Installed Library</segtitle>
148 <segtitle>Installed Directories</segtitle>
149
150 <seglistitem>
151 <seg>None</seg>
152 <seg>libpopt.so</seg>
153 <seg>/usr/share/doc/popt-&popt-version;</seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="libpopt">
163 <term><filename class="libraryfile">libpopt.so</filename></term>
164 <listitem>
165 <para>
166 is used to parse command-line options
167 </para>
168 <indexterm zone="popt libpopt">
169 <primary sortas="c-libpopt">libpopt.so</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173 </variablelist>
174
175 </sect2>
176
177</sect1>
Note: See TracBrowser for help on using the repository browser.