source: archive/pkgconfig.xml@ 5044738

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 5044738 was adf6dd9a, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Archive unneeded packages: pkgconfig,

bc, ibus, udev, slib, gamin, and notify-python

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

  • Property mode set to 100644
File size: 5.2 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
[6f57c53]7 <!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkg-config-&pkgconfig-version;.tar.gz">
[e0dfa83]8 <!ENTITY pkgconfig-download-ftp "">
[5b38e37]9 <!ENTITY pkgconfig-md5sum "aa3c86e67551adc3ac865160e34a2a0d">
10 <!ENTITY pkgconfig-size "1.9 MB">
11 <!ENTITY pkgconfig-buildsize "30 MB">
[0c83219]12 <!ENTITY pkgconfig-time "0.3 SBU">
[52d29f7]13]>
14
[52d949e8]15<sect1 id="pkgconfig" xreflabel="pkg-config-&pkgconfig-version;">
[4b95c5d]16 <?dbhtml filename="pkgconfig.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[c35d927]23 <title>pkg-config-&pkgconfig-version;</title>
[4b95c5d]24
25 <indexterm zone="pkgconfig">
[6f57c53]26 <primary sortas="a-pkg-config">pkg-config</primary>
[4b95c5d]27 </indexterm>
28
29 <sect2 role="package">
[c35d927]30 <title>Introduction to pkg-config</title>
[4b95c5d]31
[6f57c53]32 <para>
33 The <application>pkg-config</application> package contains a tool for
34 passing the include path and/or library paths to build tools during the
35 <command>configure</command> and <command>make</command> file execution.
36 </para>
[4b95c5d]37
[773db87]38 &lfs74_checked;
[fbb93edd]39
[6f57c53]40 <note>
41 <para>
42 Pkg-config is part of LFS, but was omitted from the 7.0 and 7.1
43 releases. If you are using a system which includes it, there is
44 nothing more to do. If not, you should follow these instructions.
45 </para>
46 </note>
[e0dfa83]47
[4b95c5d]48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
[6f57c53]51 <para>
52 Download (HTTP): <ulink url="&pkgconfig-download-http;"/>
53 </para>
[4b95c5d]54 </listitem>
55 <listitem>
[6f57c53]56 <para>
57 Download (FTP): <ulink url="&pkgconfig-download-ftp;"/>
58 </para>
[4b95c5d]59 </listitem>
60 <listitem>
[6f57c53]61 <para>
62 Download MD5 sum: &pkgconfig-md5sum;
63 </para>
[4b95c5d]64 </listitem>
65 <listitem>
[6f57c53]66 <para>
67 Download size: &pkgconfig-size;
68 </para>
[4b95c5d]69 </listitem>
70 <listitem>
[6f57c53]71 <para>
72 Estimated disk space required: &pkgconfig-buildsize;
73 </para>
[4b95c5d]74 </listitem>
75 <listitem>
[6f57c53]76 <para>
77 Estimated build time: &pkgconfig-time;
78 </para>
[4b95c5d]79 </listitem>
80 </itemizedlist>
81
[1039de3]82 <para condition="html" role="usernotes">User Notes:
[6f57c53]83 <ulink url="&blfs-wiki;/pkgconfig"/>
84 </para>
[4b95c5d]85 </sect2>
86
87 <sect2 role="installation">
[c35d927]88 <title>Installation of pkg-config</title>
[4b95c5d]89
[5b38e37]90 <para>
91 Install <application>pkg-config</application> by running the
92 following commands:
93 </para>
[4b95c5d]94
[773db87]95<screen><userinput>./configure --prefix=/usr \
[5b38e37]96 --with-internal-glib \
[773db87]97 --disable-host-tool \
98 --docdir=/usr/share/doc/pkg-config-&pkgconfig-version; &amp;&amp;
[4b95c5d]99make</userinput></screen>
100
[6f57c53]101 <para>
102 To test the results, issue: <command>make check</command>.
103 </para>
[4b95c5d]104
[6f57c53]105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
[4b95c5d]108
109<screen role="root"><userinput>make install</userinput></screen>
110
111 </sect2>
112
[b834dfc7]113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
[6f57c53]116 <para>
117 <option>--with-internal-glib</option>: This switch causes
118 the package to use the shipped version of GLib2.
119 </para>
[b834dfc7]120
[5b38e37]121 <para>
122 <option>--disable-host-tool</option>: This switch disables
[c4b0455]123 creation of the unnecessary symlink.
[5b38e37]124 </para>
125
[b834dfc7]126 </sect2>
[e0dfa83]127
[4b95c5d]128 <sect2 role="configuration">
[c35d927]129 <title>Configuring pkg-config</title>
[4b95c5d]130
[6f57c53]131 <para>
132 The default setting for <envar>PKG_CONFIG_PATH</envar> is <filename
133 class="directory">/usr/lib/pkgconfig:/usr/share/pkgconfig</filename>
134 because of the prefix used to install
135 <application>pkg-config</application>. You may add to
136 <envar>PKG_CONFIG_PATH</envar> by exporting additional paths on your system
137 where <filename class="extension">.pc</filename> files are installed. Note
138 that <envar>PKG_CONFIG_PATH</envar> is only needed when compiling packages,
139 not during run-time.
140 </para>
[4b95c5d]141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Program</segtitle>
[c3c56b2]149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
[4b95c5d]151
152 <seglistitem>
[6f57c53]153 <seg>
154 pkg-config
155 </seg>
[c3c56b2]156 <seg>
157 None
158 </seg>
159 <seg>
160 None
161 </seg>
[4b95c5d]162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="pkg-config">
171 <term><command>pkg-config</command></term>
172 <listitem>
[6f57c53]173 <para>
174 returns meta information for the specified library or
175 package.
176 </para>
[4b95c5d]177 <indexterm zone="pkgconfig pkg-config">
178 <primary sortas="b-pkg-config">pkg-config</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect2>
[7188fe3e]186
[f45b1953]187</sect1>
Note: See TracBrowser for help on using the repository browser.