source: general/genlib/popt.xml@ e556b03

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since e556b03 was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 8 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

  • Property mode set to 100644
File size: 4.8 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-&popt-version;.tar.gz">
8 <!ENTITY popt-download-ftp " ">
9 <!ENTITY popt-md5sum "eaa2135fddb6eb03f2c87ee1823e5a78">
10 <!ENTITY popt-size "584 kB">
11 <!ENTITY popt-buildsize "6.9 MB (includes installing documentation and tests)">
12 <!ENTITY popt-time "less than 0.1 SBU (with tests)">
13]>
14
15<sect1 id="popt" xreflabel="popt-&popt-version;">
16 <?dbhtml filename="popt.html"?>
17
18
19 <title>Popt-&popt-version;</title>
20
21 <indexterm zone="popt">
22 <primary sortas="a-Popt">Popt</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Popt</title>
27
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>
33
34 &lfs120_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&popt-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&popt-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &popt-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &popt-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &popt-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &popt-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">popt Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional">
74 <xref linkend="doxygen"/> (for generating documentation)
75 </para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of Popt</title>
81
82 <para>
83 Install <application>popt</application> by running the following
84 commands:
85 </para>
86
87<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
88make</userinput></screen>
89
90 <para>
91 If you have <xref linkend="doxygen"/> installed and wish to build
92 the API documentation, issue:
93 </para>
94
95<screen remap="doc"><userinput>sed -i 's@\./@src/@' Doxyfile &amp;&amp;
96doxygen</userinput></screen>
97
98 <para>
99 To test the results, issue: <command>make check</command>.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107
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>
113
114<screen role="root"
115 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &amp;&amp;
116install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
117
118 </sect2>
119
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
126 <!-- FIXME Removed due to merged-/usr changes
127 <para>
128 <command>mv /usr/lib/libpopt.so.* /lib</command> and
129 <command>ln -sfv ...</command>: Moves the popt library on the root
130 filesystem, so it is available in case
131 <systemitem class="filesystem">/usr</systemitem> is offline and
132 <xref linkend="efibootmgr"/> is installed and linked to popt.
133 </para>
134 -->
135
136 </sect2>
137
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>
145
146 <seglistitem>
147 <seg>None</seg>
148 <seg>libpopt.so</seg>
149 <seg>/usr/share/doc/popt-&popt-version;</seg>
150 </seglistitem>
151 </segmentedlist>
152
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="libpopt">
159 <term><filename class="libraryfile">libpopt.so</filename></term>
160 <listitem>
161 <para>
162 is used to parse command-line options
163 </para>
164 <indexterm zone="popt libpopt">
165 <primary sortas="c-libpopt">libpopt.so</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169 </variablelist>
170
171 </sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.