source: archive/pkgconfig.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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