[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">
|
---|
[cccbec8a] | 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"> -->
|
---|
| 10 | <!ENTITY pkgconfig-md5sum "25f106d2cc82a0013f5bdc89875d5790">
|
---|
[0e726f8] | 11 | <!ENTITY pkgconfig-size "947 KB">
|
---|
[52d949e8] | 12 | <!ENTITY pkgconfig-buildsize "11 MB">
|
---|
| 13 | <!ENTITY pkgconfig-time "0.21 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>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[52d949e8] | 24 | <title>Pkg-config-&pkgconfig-version;</title>
|
---|
[4b95c5d] | 25 |
|
---|
| 26 | <indexterm zone="pkgconfig">
|
---|
[52d949e8] | 27 | <primary sortas="a-Pkgconfig">Pkg-config</primary>
|
---|
[4b95c5d] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[52d949e8] | 31 | <title>Introduction to Pkg-config</title>
|
---|
[4b95c5d] | 32 |
|
---|
[52d949e8] | 33 | <para>The <application>Pkg-config</application> package contains
|
---|
[4b95c5d] | 34 | tools for passing the include path and/or library paths to build tools during
|
---|
| 35 | the <command>make</command> file execution.</para>
|
---|
| 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &pkgconfig-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &pkgconfig-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &pkgconfig-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &pkgconfig-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2 role="installation">
|
---|
[52d949e8] | 62 | <title>Installation of Pkg-config</title>
|
---|
[4b95c5d] | 63 |
|
---|
[0fd81b9] | 64 | <note>
|
---|
[919683dc] | 65 | <para>Till version 0.18, this package was called
|
---|
[52d949e8] | 66 | <application>Pkgconfig</application>.</para>
|
---|
[0fd81b9] | 67 | </note>
|
---|
| 68 |
|
---|
[52d949e8] | 69 | <para>Install <application>Pkg-config</application> by running the following
|
---|
[4b95c5d] | 70 | commands:</para>
|
---|
| 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">
|
---|
[52d949e8] | 84 | <title>Configuring Pkg-config</title>
|
---|
[4b95c5d] | 85 |
|
---|
| 86 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
[539ace5] | 87 | <filename>/usr/lib/pkgconfig</filename> because of the prefix used to
|
---|
[52d949e8] | 88 | install <application>Pkg-config</application>. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
---|
[0619e6d] | 89 | additional paths on your system where <application>pkgconfig</application>
|
---|
[539ace5] | 90 | files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
|
---|
[4b95c5d] | 91 | when compiling packages, not during run-time.</para>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="content">
|
---|
| 96 | <title>Contents</title>
|
---|
| 97 |
|
---|
| 98 | <segmentedlist>
|
---|
| 99 | <segtitle>Installed Program</segtitle>
|
---|
| 100 | <segtitle>Installed Libraries</segtitle>
|
---|
| 101 | <segtitle>Installed Directories</segtitle>
|
---|
| 102 |
|
---|
| 103 | <seglistitem>
|
---|
| 104 | <seg>pkg-config</seg>
|
---|
| 105 | <seg>None</seg>
|
---|
| 106 | <seg>None</seg>
|
---|
| 107 | </seglistitem>
|
---|
| 108 | </segmentedlist>
|
---|
| 109 |
|
---|
| 110 | <variablelist>
|
---|
| 111 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 112 | <?dbfo list-presentation="list"?>
|
---|
| 113 | <?dbhtml list-presentation="table"?>
|
---|
| 114 |
|
---|
| 115 | <varlistentry id="pkg-config">
|
---|
| 116 | <term><command>pkg-config</command></term>
|
---|
| 117 | <listitem>
|
---|
[539ace5] | 118 | <para>is a function that returns meta information for the specified
|
---|
[4b95c5d] | 119 | library.</para>
|
---|
| 120 | <indexterm zone="pkgconfig pkg-config">
|
---|
| 121 | <primary sortas="b-pkg-config">pkg-config</primary>
|
---|
| 122 | </indexterm>
|
---|
| 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
| 125 |
|
---|
| 126 | </variablelist>
|
---|
| 127 |
|
---|
| 128 | </sect2>
|
---|
[7188fe3e] | 129 |
|
---|
[f45b1953] | 130 | </sect1>
|
---|
| 131 |
|
---|