source: general/genlib/popt.xml@ 756a787

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 756a787 was 756a787, checked in by Xi Ruoyao <xry111@…>, 3 years ago

Add packages and instructions for UEFI

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24393 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.9 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[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
[2f7b585]7 <!ENTITY popt-download-http "http://ftp.rpm.org/popt/releases/popt-1.x/popt-1.18.tar.gz">
[4dbbc0a9]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)">
[8bc5636f]12 <!ENTITY popt-time "0.1 SBU">
[52d29f7]13]>
14
[fd680fb]15<sect1 id="popt" xreflabel="popt-&popt-version;">
[36f0d75]16 <?dbhtml filename="popt.html"?>
[8e75f8b9]17
[36f0d75]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[8e75f8b9]22
[b3da5f2c]23 <title>Popt-&popt-version;</title>
[8e75f8b9]24
[36f0d75]25 <indexterm zone="popt">
26 <primary sortas="a-Popt">Popt</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Popt</title>
[8e75f8b9]31
[d56e7df]32 <para>
33 The <application>popt</application> package contains the
34 <application>popt</application> libraries which are used by
35 some programs to parse command-line options.
36 </para>
[8e75f8b9]37
[bfbc72a]38 &lfs101_checked;
[bd32b6f]39
[36f0d75]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[d56e7df]43 <para>
44 Download (HTTP): <ulink url="&popt-download-http;"/>
45 </para>
[36f0d75]46 </listitem>
47 <listitem>
[d56e7df]48 <para>
49 Download (FTP): <ulink url="&popt-download-ftp;"/>
50 </para>
[36f0d75]51 </listitem>
52 <listitem>
[d56e7df]53 <para>
54 Download MD5 sum: &popt-md5sum;
55 </para>
[36f0d75]56 </listitem>
57 <listitem>
[d56e7df]58 <para>
59 Download size: &popt-size;
60 </para>
[36f0d75]61 </listitem>
62 <listitem>
[d56e7df]63 <para>
64 Estimated disk space required: &popt-buildsize;
65 </para>
[36f0d75]66 </listitem>
67 <listitem>
[d56e7df]68 <para>
69 Estimated build time: &popt-time;
70 </para>
[36f0d75]71 </listitem>
72 </itemizedlist>
[8e75f8b9]73
[1039de3]74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/popt"/></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
[756a787]106<screen role="root"><userinput>make install &amp;&amp;
107mv /usr/lib/libpopt.so.* /lib &amp;&amp;
108ln -sfv ../../lib/$(readlink /usr/lib/libpopt.so) /usr/lib/libpopt.so</userinput></screen>
[8e75f8b9]109
[d56e7df]110 <para>
111 If you built the API documentation, install it using the following
112 commands issued by the <systemitem class="username">root</systemitem>
113 user:
114 </para>
[189885b]115
[a42c273]116<screen role="root"
117 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/popt-&popt-version; &amp;&amp;
[189885b]118install -v -m644 doxygen/html/* /usr/share/doc/popt-&popt-version;</userinput></screen>
119
[36f0d75]120 </sect2>
[8e75f8b9]121
[e43015c]122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
126 href="../../xincludes/static-libraries.xml"/>
127
[756a787]128 <para>
129 <command>mv /usr/lib/libpopt.so.* /lib</command> and
130 <command>ln -sfv ...</command>: Moves the popt library on the root
131 filesystem, so it is avaliable in case
132 <systemitem class="filesystem">/usr</systemitem> is offline and
133 <xref linkend="efibootmgr"/> is installed and linked to popt.
134 </para>
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.