[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[52d949e8] | 7 | <!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkg-config-&pkgconfig-version;.tar.gz">
|
---|
[c35d927] | 8 | <!ENTITY pkgconfig-download-ftp " ">
|
---|
[52d949e8] | 9 | <!-- <!ENTITY pkgconfig-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pkgconfig/&pkgconfig-version;/pkgconfig-&pkgconfig-version;.tar.gz"> -->
|
---|
[c35d927] | 10 | <!ENTITY pkgconfig-md5sum "fb42402593e4198bc252ab248dd4158b">
|
---|
| 11 | <!ENTITY pkgconfig-size "969 KB">
|
---|
| 12 | <!ENTITY pkgconfig-buildsize "11.3 MB">
|
---|
| 13 | <!ENTITY pkgconfig-time "0.3 SBU">
|
---|
[52d29f7] | 14 | ]>
|
---|
| 15 |
|
---|
[52d949e8] | 16 | <sect1 id="pkgconfig" xreflabel="pkg-config-&pkgconfig-version;">
|
---|
[4b95c5d] | 17 | <?dbhtml filename="pkgconfig.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
[56762b82] | 22 | <keywordset>
|
---|
| 23 | <keyword role="package">pkg-config-&pkgconfig-version;.tar</keyword>
|
---|
[22ac237] | 24 | <keyword role="ftpdir">pkg-config</keyword>
|
---|
[56762b82] | 25 | </keywordset>
|
---|
[4b95c5d] | 26 | </sect1info>
|
---|
| 27 |
|
---|
[c35d927] | 28 | <title>pkg-config-&pkgconfig-version;</title>
|
---|
[4b95c5d] | 29 |
|
---|
| 30 | <indexterm zone="pkgconfig">
|
---|
[c35d927] | 31 | <primary sortas="a-Pkg-config">Pkg-config</primary>
|
---|
[4b95c5d] | 32 | </indexterm>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="package">
|
---|
[c35d927] | 35 | <title>Introduction to pkg-config</title>
|
---|
[4b95c5d] | 36 |
|
---|
[c35d927] | 37 | <para>The <application>pkg-config</application> package contains a tool for
|
---|
| 38 | passing the include path and/or library paths to build tools during the
|
---|
| 39 | <command>configure</command> and <command>make</command> file
|
---|
| 40 | execution.</para>
|
---|
[4b95c5d] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &pkgconfig-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &pkgconfig-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &pkgconfig-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated build time: &pkgconfig-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2 role="installation">
|
---|
[c35d927] | 67 | <title>Installation of pkg-config</title>
|
---|
[4b95c5d] | 68 |
|
---|
[c35d927] | 69 | <para>Install <application>pkg-config</application> by running the
|
---|
| 70 | following commands:</para>
|
---|
[4b95c5d] | 71 |
|
---|
[52d949e8] | 72 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[4b95c5d] | 73 | make</userinput></screen>
|
---|
| 74 |
|
---|
| 75 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 76 |
|
---|
| 77 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 78 |
|
---|
| 79 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="configuration">
|
---|
[c35d927] | 84 | <title>Configuring pkg-config</title>
|
---|
[4b95c5d] | 85 |
|
---|
| 86 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
[c35d927] | 87 | <filename class='directory'>/usr/lib/pkgconfig</filename> because of the
|
---|
| 88 | prefix used to install <application>pkg-config</application>. You may add
|
---|
| 89 | to <envar>PKG_CONFIG_PATH</envar> by exporting additional paths on your
|
---|
| 90 | system where <filename class='extension'>.pc</filename> files are
|
---|
| 91 | installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed when
|
---|
| 92 | compiling packages, not during run-time.</para>
|
---|
[4b95c5d] | 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="content">
|
---|
| 97 | <title>Contents</title>
|
---|
| 98 |
|
---|
| 99 | <segmentedlist>
|
---|
| 100 | <segtitle>Installed Program</segtitle>
|
---|
| 101 | <segtitle>Installed Libraries</segtitle>
|
---|
| 102 | <segtitle>Installed Directories</segtitle>
|
---|
| 103 |
|
---|
| 104 | <seglistitem>
|
---|
| 105 | <seg>pkg-config</seg>
|
---|
| 106 | <seg>None</seg>
|
---|
| 107 | <seg>None</seg>
|
---|
| 108 | </seglistitem>
|
---|
| 109 | </segmentedlist>
|
---|
| 110 |
|
---|
| 111 | <variablelist>
|
---|
| 112 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 113 | <?dbfo list-presentation="list"?>
|
---|
| 114 | <?dbhtml list-presentation="table"?>
|
---|
| 115 |
|
---|
| 116 | <varlistentry id="pkg-config">
|
---|
| 117 | <term><command>pkg-config</command></term>
|
---|
| 118 | <listitem>
|
---|
[c35d927] | 119 | <para>returns meta information for the specified library or
|
---|
| 120 | package.</para>
|
---|
[4b95c5d] | 121 | <indexterm zone="pkgconfig pkg-config">
|
---|
| 122 | <primary sortas="b-pkg-config">pkg-config</primary>
|
---|
| 123 | </indexterm>
|
---|
| 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
| 126 |
|
---|
| 127 | </variablelist>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
[7188fe3e] | 130 |
|
---|
[f45b1953] | 131 | </sect1>
|
---|