source: chapter08/pkgconf.xml@ f8b6ce0

multilib
Last change on this file since f8b6ce0 was 2b17a82, checked in by Thomas Trepl <thomas@…>, 11 months ago

Merge branch 'trunk' into multilib

  • Property mode set to 100644
File size: 5.4 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 <option>- -modversion</option> with multiple arguments, even if these
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>
52
53 <screen><userinput remap="pre">sed -i '1330,1336s|^|//|' cli/main.c</userinput></screen>
54-->
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
69 <para>To maintain compatibility with the original Pkg-config create two
70 symlinks:</para>
71
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>
74<!--
75 <para arch="ml_32,ml_x32,ml_all">
76 For better support of the multilib platform create some
77 additional files by executing the following commands:
78 </para>
79
80<screen arch="ml_32,ml_x32,ml_all"><userinput remap="install">ln -sv pkgconf /usr/bin/i686-pc-linux-gnu-pkg-config
81ln -sv pkgconf /usr/bin/x86_64-pc-linux-gnux32-pkg-config
82ln -sv pkgconf /usr/bin/x86_64-pc-linux-gnu-pkg-config
83
84mkdir -pv /usr/share/pkgconfig/personality.d
85
86cat &gt; /usr/share/pkgconfig/personality.d/i686-pc-linux-gnu.personality &lt;&lt;EOF
87Triplet: i686-pc-linux-gnu
88SysrootDir: /
89DefaultSearchPaths: /usr/lib32/pkgconfig:/usr/share/pkgconfig
90SystemIncludePaths: /usr/include
91SystemLibraryPaths: /usr/lib32
92EOF
93
94cat &gt; /usr/share/pkgconfig/personality.d/x86_64-pc-linux-gnux32.personality &lt;&lt;EOF
95Triplet: x86_64-pc-linux-gnux32
96SysrootDir: /
97DefaultSearchPaths: /usr/libx32/pkgconfig:/usr/share/pkgconfig
98SystemIncludePaths: /usr/include
99SystemLibraryPaths: /usr/libx32
100EOF
101
102cat &gt; /usr/share/pkgconfig/personality.d/x86_64-pc-linux-gnu.personality &lt;&lt;EOF
103Triplet: x86_64-pc-linux-gnu
104SysrootDir: /
105DefaultSearchPaths: /usr/lib/pkgconfig:/usr/share/pkgconfig
106SystemIncludePaths: /usr/include
107SystemLibraryPaths: /usr/lib
108EOF
109</userinput></screen>
110-->
111 </sect2>
112
113 <sect2 id="contents-pkgconf" role="content">
114 <title>Contents of Pkgconf</title>
115
116 <segmentedlist>
117 <segtitle>Installed programs</segtitle>
118 <segtitle>Installed library</segtitle>
119 <segtitle>Installed directory</segtitle>
120
121 <seglistitem>
122 <seg>pkgconf, pkg-config (link to pkgconf), and bomtool</seg>
123 <seg>libpkgconf.so</seg>
124 <seg>/usr/share/doc/pkgconf-&pkgconf-version;</seg>
125 </seglistitem>
126 </segmentedlist>
127
128 <variablelist>
129 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
130 <?dbfo list-presentation="list"?>
131 <?dbhtml list-presentation="table"?>
132
133 <varlistentry id="pkgconf">
134 <term><command>pkgconf</command></term>
135 <listitem>
136 <para>Returns meta information for the specified library or
137 package</para>
138 <indexterm zone="ch-system-pkgconf pkgconf">
139 <primary sortas="b-pkgconf">pkgconf</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="bomtool">
145 <term><command>bomtool</command></term>
146 <listitem>
147 <para>Generates a Software Bill Of Materials from pkg-config .pc
148 files</para>
149 <indexterm zone="ch-system-pkgconf bomtool">
150 <primary sortas="b-bomtool">bomtool</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="libpkgconf">
156 <term><filename class="libraryfile">libpkgconf</filename></term>
157 <listitem>
158 <para>Contains most of pkgconf's functionality, while allowing
159 other tools like IDEs and compilers to use its frameworks</para>
160 <indexterm zone="ch-system-pkgconf libpkgconf">
161 <primary sortas="c-libpkgconf">libpkgconf</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165 </variablelist>
166 </sect2>
167
168</sect1>
Note: See TracBrowser for help on using the repository browser.