diff options
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/chapter08.xml | 3 | ||||
-rw-r--r-- | chapter08/pkgconf.xml | 122 | ||||
-rw-r--r-- | chapter08/pkgconfig.xml | 121 |
3 files changed, 123 insertions, 123 deletions
diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml index 91827b88e..605d26782 100644 --- a/chapter08/chapter08.xml +++ b/chapter08/chapter08.xml @@ -29,7 +29,6 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpfr.xml"/> @@ -39,7 +38,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcap.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconfig.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconf.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/> diff --git a/chapter08/pkgconf.xml b/chapter08/pkgconf.xml new file mode 100644 index 000000000..73630f817 --- /dev/null +++ b/chapter08/pkgconf.xml @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-system-pkgconf" role="wrap"> + <?dbhtml filename="pkgconf.html"?> + + <sect1info condition="script"> + <productname>pkgconf</productname> + <productnumber>&pkgconf-version;</productnumber> + <address>&pkgconf-url;</address> + </sect1info> + + <title>Pkgconf-&pkgconf-version;</title> + + <indexterm zone="ch-system-pkgconf"> + <primary sortas="a-pkgconf">Pkgconf</primary> + </indexterm> + + <sect2 role="package"> + <title/> + + <para>The pkgconf package is a + successor to pkg-config and contains a tool for passing the include path + and/or library paths to build tools during the configure and make phases + of package installations.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&pkgconf-fin-sbu;</seg> + <seg>&pkgconf-fin-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Pkgconf</title> + + <para>Prepare Pkgconf for compilation:</para> + +<screen><userinput remap="configure">./configure --prefix=/usr \ + --disable-static \ + --docdir=/usr/share/doc/pkgconf-&pkgconf-version;</userinput></screen> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + + <para>Install the package:</para> + +<screen><userinput remap="install">make install</userinput></screen> + + <para>To maintain compatibility with the original Pkg-config create a + symlink:</para> + +<screen><userinput remap="install">ln -sfv pkgconf /usr/bin/pkg-config</userinput></screen> + + </sect2> + + <sect2 id="contents-pkgconf" role="content"> + <title>Contents of Pkgconf</title> + + <segmentedlist> + <segtitle>Installed programs</segtitle> + <segtitle>Installed library</segtitle> + <segtitle>Installed directory</segtitle> + + <seglistitem> + <seg>pkgconf, pkg-config (link to pkgconf), and bomtool</seg> + <seg>libpkgconf.so</seg> + <seg>/usr/share/doc/pkgconf-&pkgconf-version;</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="pkgconf"> + <term><command>pkgconf</command></term> + <listitem> + <para>Returns meta information for the specified library or + package</para> + <indexterm zone="ch-system-pkgconf pkgconf"> + <primary sortas="b-pkgconf">pkgconf</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="bomtool"> + <term><command>bomtool</command></term> + <listitem> + <para>Generates a Software Bill Of Materials from pkg-config .pc + files</para> + <indexterm zone="ch-system-pkgconf bomtool"> + <primary sortas="b-bomtool">bomtool</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="libpkgconf"> + <term><filename class="libraryfile">libpkgconf</filename></term> + <listitem> + <para>Contains most of pkgconf's functionality, while allowing + other tools like IDEs and compilers to use its frameworks</para> + <indexterm zone="ch-system-pkgconf libpkgconf"> + <primary sortas="c-libpkgconf">libpkgconf</primary> + </indexterm> + </listitem> + </varlistentry> + </variablelist> + </sect2> + +</sect1> diff --git a/chapter08/pkgconfig.xml b/chapter08/pkgconfig.xml deleted file mode 100644 index b987a7652..000000000 --- a/chapter08/pkgconfig.xml +++ /dev/null @@ -1,121 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" - "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ - <!ENTITY % general-entities SYSTEM "../general.ent"> - %general-entities; -]> - -<sect1 id="ch-system-pkgconfig" role="wrap"> - <?dbhtml filename="pkg-config.html"?> - - <sect1info condition="script"> - <productname>pkg-config</productname> - <productnumber>&pkgconfig-version;</productnumber> - <address>&pkgconfig-url;</address> - </sect1info> - - <title>Pkg-config-&pkgconfig-version;</title> - - <indexterm zone="ch-system-pkgconfig"> - <primary sortas="a-pkgconfig">Pkgconfig</primary> - </indexterm> - - <sect2 role="package"> - <title/> - - <para>The pkg-config package contains a tool for passing the include path - and/or library paths to build tools during the configure and make phases - of package installations.</para> - - <segmentedlist> - <segtitle>&buildtime;</segtitle> - <segtitle>&diskspace;</segtitle> - - <seglistitem> - <seg>&pkgconfig-fin-sbu;</seg> - <seg>&pkgconfig-fin-du;</seg> - </seglistitem> - </segmentedlist> - - </sect2> - - <sect2 role="installation"> - <title>Installation of Pkg-config</title> - - <para>Prepare Pkg-config for compilation:</para> - -<screen><userinput remap="configure">./configure --prefix=/usr \ - --with-internal-glib \ - --disable-host-tool \ - --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput></screen> - - <variablelist> - <title>The meaning of the new configure options:</title> - - <varlistentry> - <term><parameter>--with-internal-glib</parameter></term> - <listitem> - <para>This will allow pkg-config to use its internal version of - Glib because an external version is not available in LFS.</para> - </listitem> - </varlistentry> - - <varlistentry> - <term><parameter>--disable-host-tool</parameter></term> - <listitem> - <para>This option disables the creation of an undesired hard link - to the pkg-config program.</para> - </listitem> - </varlistentry> - - </variablelist> - - <para>Compile the package:</para> - -<screen><userinput remap="make">make</userinput></screen> - - <para>To test the results, issue:</para> - -<screen><userinput remap="test">make check</userinput></screen> - - <para>Install the package:</para> - -<screen><userinput remap="install">make install</userinput></screen> - - </sect2> - - <sect2 id="contents-pkgconfig" role="content"> - <title>Contents of Pkg-config</title> - - <segmentedlist> - <segtitle>Installed program</segtitle> - <segtitle>Installed directory</segtitle> - - <seglistitem> - <seg>pkg-config</seg> - <seg>/usr/share/doc/pkg-config-&pkgconfig-version;</seg> - </seglistitem> - </segmentedlist> - - <variablelist> - <bridgehead renderas="sect3">Short Descriptions</bridgehead> - <?dbfo list-presentation="list"?> - <?dbhtml list-presentation="table"?> - - <varlistentry id="pkgconfig"> - <!-- Don't remove the extra space, it prevents a FOP warning. --> - <term><command>pkg-config </command></term> - <listitem> - <para>Returns meta information for the specified library or package - </para> - <indexterm zone="ch-system-pkgconfig pkgconfig"> - <primary sortas="b-pkgconfig">pkg-config</primary> - </indexterm> - </listitem> - </varlistentry> - - </variablelist> - - </sect2> - -</sect1> |