source: general/genlib/popt.xml@ eede1a3

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eede1a3 was f8888e6, checked in by Douglas R. Reno <renodr@…>, 3 years ago

popt: Dropped the commands for moving libpopt.so to /lib (usr-merge)
popt: Added a bridgehead for Optional dependencies

  • 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
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="doxygen"/> (for generating documentation)
78 </para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/popt"/></para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of Popt</title>
87
88 <para>
89 Install <application>popt</application> by running the following
90 commands:
91 </para>
92
93<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
94make</userinput></screen>
95
96 <para>
97 If you have <xref linkend="doxygen"/> installed and wish to build
98 the API documentation, issue:
99 </para>
100
101<screen remap="doc"><userinput>sed -i 's@\./@src/@' Doxyfile &amp;&amp;
102doxygen</userinput></screen>
103
104 <para>
105 To test the results, issue: <command>make check</command>.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>make install</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 <!-- FIXME Removed due to merged-/usr changes
133 <para>
134 <command>mv /usr/lib/libpopt.so.* /lib</command> and
135 <command>ln -sfv ...</command>: Moves the popt library on the root
136 filesystem, so it is avaliable in case
137 <systemitem class="filesystem">/usr</systemitem> is offline and
138 <xref linkend="efibootmgr"/> is installed and linked to popt.
139 </para>
140 -->
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Library</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>None</seg>
154 <seg>libpopt.so</seg>
155 <seg>/usr/share/doc/popt-&popt-version;</seg>
156 </seglistitem>
157 </segmentedlist>
158
159 <variablelist>
160 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
161 <?dbfo list-presentation="list"?>
162 <?dbhtml list-presentation="table"?>
163
164 <varlistentry id="libpopt">
165 <term><filename class="libraryfile">libpopt.so</filename></term>
166 <listitem>
167 <para>
168 is used to parse command-line options
169 </para>
170 <indexterm zone="popt libpopt">
171 <primary sortas="c-libpopt">libpopt.so</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175 </variablelist>
176
177 </sect2>
178
179</sect1>
Note: See TracBrowser for help on using the repository browser.