source: chapter08/pkgconf.xml@ 70b20e7c

12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 multilib trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/update-glibc
Last change on this file since 70b20e7c was 9b7d651, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

Package updates.
Update to xz-5.4.4.
Update to wheel-0.41.1 (Python Module).
Update to man-pages-6.05.01.
Update to linux-6.4.8.
Update to iana-etc-20230804.
Update to pkgconf 2.0.0.

  • Property mode set to 100644
File size: 4.1 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
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">
44
45 <title>Installation of Pkgconf</title>
46
47 <para>Pkgconf 2.0.0 explicitly errors when attempting to run
48 --modversion with multiple packages. This breaks many
49 packages in BLFS. Run this sed to reinstate the old
50 output for pkgconf.</para>
51
52 <screen><userinput remap="pre">sed -i '/1330,1336/s|^|//|' cli/main.c</userinput></screen>
53
54 <para>Prepare Pkgconf for compilation:</para>
55
56<screen><userinput remap="configure">./configure --prefix=/usr \
57 --disable-static \
58 --docdir=/usr/share/doc/pkgconf-&pkgconf-version;</userinput></screen>
59
60 <para>Compile the package:</para>
61
62<screen><userinput remap="make">make</userinput></screen>
63
64 <para>Install the package:</para>
65
66<screen><userinput remap="install">make install</userinput></screen>
67
68 <para>To maintain compatibility with the original Pkg-config create two
69 symlinks:</para>
70
71<screen><userinput remap="install">ln -sv pkgconf /usr/bin/pkg-config
72ln -sv pkgconf.1 /usr/share/man/man1/pkg-config.1</userinput></screen>
73
74 </sect2>
75
76 <sect2 id="contents-pkgconf" role="content">
77 <title>Contents of Pkgconf</title>
78
79 <segmentedlist>
80 <segtitle>Installed programs</segtitle>
81 <segtitle>Installed library</segtitle>
82 <segtitle>Installed directory</segtitle>
83
84 <seglistitem>
85 <seg>pkgconf, pkg-config (link to pkgconf), and bomtool</seg>
86 <seg>libpkgconf.so</seg>
87 <seg>/usr/share/doc/pkgconf-&pkgconf-version;</seg>
88 </seglistitem>
89 </segmentedlist>
90
91 <variablelist>
92 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
93 <?dbfo list-presentation="list"?>
94 <?dbhtml list-presentation="table"?>
95
96 <varlistentry id="pkgconf">
97 <term><command>pkgconf</command></term>
98 <listitem>
99 <para>Returns meta information for the specified library or
100 package</para>
101 <indexterm zone="ch-system-pkgconf pkgconf">
102 <primary sortas="b-pkgconf">pkgconf</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="bomtool">
108 <term><command>bomtool</command></term>
109 <listitem>
110 <para>Generates a Software Bill Of Materials from pkg-config .pc
111 files</para>
112 <indexterm zone="ch-system-pkgconf bomtool">
113 <primary sortas="b-bomtool">bomtool</primary>
114 </indexterm>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry id="libpkgconf">
119 <term><filename class="libraryfile">libpkgconf</filename></term>
120 <listitem>
121 <para>Contains most of pkgconf's functionality, while allowing
122 other tools like IDEs and compilers to use its frameworks</para>
123 <indexterm zone="ch-system-pkgconf libpkgconf">
124 <primary sortas="c-libpkgconf">libpkgconf</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128 </variablelist>
129 </sect2>
130
131</sect1>
Note: See TracBrowser for help on using the repository browser.