source: general/prog/pkgconfig.xml@ 0c83219

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0c83219 was 0c83219, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to pkg-config-0.27.1
Add some more 7.2 tags

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

  • Property mode set to 100644
File size: 4.8 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 <!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkg-config-&pkgconfig-version;.tar.gz">
8 <!ENTITY pkgconfig-download-ftp "">
9 <!ENTITY pkgconfig-md5sum "5392b4e3372879c5bf856173b418d6a2">
10 <!ENTITY pkgconfig-size "1.8 MB">
11 <!ENTITY pkgconfig-buildsize "28 MB">
12 <!ENTITY pkgconfig-time "0.3 SBU">
13]>
14
15<sect1 id="pkgconfig" xreflabel="pkg-config-&pkgconfig-version;">
16 <?dbhtml filename="pkgconfig.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>pkg-config-&pkgconfig-version;</title>
24
25 <indexterm zone="pkgconfig">
26 <primary sortas="a-pkg-config">pkg-config</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to pkg-config</title>
31
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>
37
38 &lfs72_checked;
39
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>
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>
52 Download (HTTP): <ulink url="&pkgconfig-download-http;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download (FTP): <ulink url="&pkgconfig-download-ftp;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download MD5 sum: &pkgconfig-md5sum;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download size: &pkgconfig-size;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated disk space required: &pkgconfig-buildsize;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated build time: &pkgconfig-time;
78 </para>
79 </listitem>
80 </itemizedlist>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/pkgconfig"/>
84 </para>
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of pkg-config</title>
89
90 <para>Install <application>pkg-config</application> by running the
91 following commands:</para>
92
93<screen><userinput>./configure --prefix=/usr \
94 --docdir=/usr/share/doc/pkg-config-&pkgconfig-version; \
95 --with-internal-glib &amp;&amp;
96make</userinput></screen>
97
98 <para>
99 To test the results, issue: <command>make check</command>.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107
108 </sect2>
109
110 <sect2 role="commands">
111 <title>Command Explanations</title>
112
113 <para>
114 <option>--with-internal-glib</option>: This switch causes
115 the package to use the shipped version of GLib2.
116 </para>
117
118 </sect2>
119
120 <sect2 role="configuration">
121 <title>Configuring pkg-config</title>
122
123 <para>
124 The default setting for <envar>PKG_CONFIG_PATH</envar> is <filename
125 class="directory">/usr/lib/pkgconfig:/usr/share/pkgconfig</filename>
126 because of the prefix used to install
127 <application>pkg-config</application>. You may add to
128 <envar>PKG_CONFIG_PATH</envar> by exporting additional paths on your system
129 where <filename class="extension">.pc</filename> files are installed. Note
130 that <envar>PKG_CONFIG_PATH</envar> is only needed when compiling packages,
131 not during run-time.
132 </para>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Program</segtitle>
141
142 <seglistitem>
143 <seg>
144 pkg-config
145 </seg>
146 </seglistitem>
147 </segmentedlist>
148
149 <variablelist>
150 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
151 <?dbfo list-presentation="list"?>
152 <?dbhtml list-presentation="table"?>
153
154 <varlistentry id="pkg-config">
155 <term><command>pkg-config</command></term>
156 <listitem>
157 <para>
158 returns meta information for the specified library or
159 package.
160 </para>
161 <indexterm zone="pkgconfig pkg-config">
162 <primary sortas="b-pkg-config">pkg-config</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 </variablelist>
168
169 </sect2>
170
171</sect1>
Note: See TracBrowser for help on using the repository browser.