source: general/genlib/popt.xml@ 9d75494

12.1 ken/TL2024 lazarus rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 9d75494 was ab4fdfc, checked in by Pierre Labastie <pierre.labastie@…>, 5 months ago

Change all xml decl to encoding=utf-8

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