source: chapter08/pkgconf.xml@ 1e9ad78

12.0 12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 1e9ad78 was f7d3b6e, checked in by Bruce Dubbs <bdubbs@…>, 11 months ago

Package updates.
Update to xz-5.4.4.
Update to less-643.
Update to meson-1.2.1.
Update to linux-6.4.10.
Update to iana-etc-20230810.
Update to pkgconf-2.0.1.

All build times and sizes were also checked and updated as needed.

  • Property mode set to 100644
File size: 4.2 KB
RevLine 
[36c4569b]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
8<sect1 id="ch-system-pkgconf" role="wrap">
9 <?dbhtml filename="pkgconf.html"?>
10
11 <sect1info condition="script">
12 <productname>pkgconf</productname>
13 <productnumber>&pkgconf-version;</productnumber>
14 <address>&pkgconf-url;</address>
15 </sect1info>
16
17 <title>Pkgconf-&pkgconf-version;</title>
18
19 <indexterm zone="ch-system-pkgconf">
20 <primary sortas="a-pkgconf">Pkgconf</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The pkgconf package is a
27 successor to pkg-config and contains a tool for passing the include path
28 and/or library paths to build tools during the configure and make phases
29 of package installations.</para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&pkgconf-fin-sbu;</seg>
37 <seg>&pkgconf-fin-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
[9b7d651]44
[36c4569b]45 <title>Installation of Pkgconf</title>
[f7d3b6e]46<!--
[f4835ed]47 <para>Pkgconf-2.0.0 explicitly errors when attempting to run
[f7d3b6e]48 <option>- -modversion</option> with multiple arguments, even if these
[f4835ed]49 arguments are constraints for the same package. This breaks many
50 packages in BLFS. Run this sed to reinstate the old
51 output for pkgconf:</para>
[9b7d651]52
[45f40e8]53 <screen><userinput remap="pre">sed -i '1330,1336s|^|//|' cli/main.c</userinput></screen>
[f7d3b6e]54-->
[36c4569b]55 <para>Prepare Pkgconf for compilation:</para>
56
57<screen><userinput remap="configure">./configure --prefix=/usr \
58 --disable-static \
59 --docdir=/usr/share/doc/pkgconf-&pkgconf-version;</userinput></screen>
60
61 <para>Compile the package:</para>
62
63<screen><userinput remap="make">make</userinput></screen>
64
65 <para>Install the package:</para>
66
67<screen><userinput remap="install">make install</userinput></screen>
68
[0fe3bb0]69 <para>To maintain compatibility with the original Pkg-config create two
70 symlinks:</para>
[36c4569b]71
[0fe3bb0]72<screen><userinput remap="install">ln -sv pkgconf /usr/bin/pkg-config
73ln -sv pkgconf.1 /usr/share/man/man1/pkg-config.1</userinput></screen>
[36c4569b]74
75 </sect2>
76
77 <sect2 id="contents-pkgconf" role="content">
78 <title>Contents of Pkgconf</title>
79
80 <segmentedlist>
81 <segtitle>Installed programs</segtitle>
82 <segtitle>Installed library</segtitle>
83 <segtitle>Installed directory</segtitle>
84
85 <seglistitem>
86 <seg>pkgconf, pkg-config (link to pkgconf), and bomtool</seg>
87 <seg>libpkgconf.so</seg>
88 <seg>/usr/share/doc/pkgconf-&pkgconf-version;</seg>
89 </seglistitem>
90 </segmentedlist>
91
92 <variablelist>
93 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
94 <?dbfo list-presentation="list"?>
95 <?dbhtml list-presentation="table"?>
96
97 <varlistentry id="pkgconf">
98 <term><command>pkgconf</command></term>
99 <listitem>
100 <para>Returns meta information for the specified library or
101 package</para>
102 <indexterm zone="ch-system-pkgconf pkgconf">
103 <primary sortas="b-pkgconf">pkgconf</primary>
104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 <varlistentry id="bomtool">
109 <term><command>bomtool</command></term>
110 <listitem>
111 <para>Generates a Software Bill Of Materials from pkg-config .pc
112 files</para>
113 <indexterm zone="ch-system-pkgconf bomtool">
114 <primary sortas="b-bomtool">bomtool</primary>
115 </indexterm>
116 </listitem>
117 </varlistentry>
118
119 <varlistentry id="libpkgconf">
120 <term><filename class="libraryfile">libpkgconf</filename></term>
121 <listitem>
122 <para>Contains most of pkgconf's functionality, while allowing
123 other tools like IDEs and compilers to use its frameworks</para>
124 <indexterm zone="ch-system-pkgconf libpkgconf">
125 <primary sortas="c-libpkgconf">libpkgconf</primary>
126 </indexterm>
127 </listitem>
128 </varlistentry>
129 </variablelist>
130 </sect2>
131
132</sect1>
Note: See TracBrowser for help on using the repository browser.