source: archive/pkgconfig.xml@ f0f23fdb

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since f0f23fdb was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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