glfs/gnome/core/libgtop.xml
Randy McMurchy 1e7ac054ed Fixed a typo
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7847 af4574ff-66df-0310-9fd7-8a98e5e911e0
2009-07-18 15:34:25 +00:00

193 lines
6.6 KiB
XML

<?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;
<!ENTITY libgtop-download-http "&gnome-download-http;/libgtop/2.14/libgtop-&libgtop-version;.tar.bz2">
<!ENTITY libgtop-download-ftp "&gnome-download-ftp;/libgtop/2.14/libgtop-&libgtop-version;.tar.bz2">
<!ENTITY libgtop-md5sum "a228ccab58216f7fef97de9c2b6e328e">
<!ENTITY libgtop-size "772 KB">
<!ENTITY libgtop-buildsize "16 MB">
<!ENTITY libgtop-time "0.3 SBU">
]>
<sect1 id="libgtop" xreflabel="LibGTop-&libgtop-version;">
<?dbhtml filename="libgtop.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>LibGTop-&libgtop-version;</title>
<indexterm zone="libgtop">
<primary sortas="a-LibGTop">LibGTop</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to LibGTop</title>
<para>The <application>LibGTop</application> package contains the
<application>GNOME</application> top libraries.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&libgtop-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libgtop-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libgtop-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libgtop-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libgtop-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libgtop-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">LibGTop Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="glib2"/> and
<xref linkend="popt"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><!-- <xref linkend="gdbm"/>, -->
<xref linkend="gtk-doc"/> and
<xref linkend="x-window-system"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libgtop"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of LibGTop</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../../xincludes/without-gnome.xml"/>
<para>Install <application>LibGTop</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
--infodir=$(pkg-config --variable=prefix ORBit-2.0)/share/info \
--with-libgtop-inodedb &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>If you passed <option>--with-libgtop-examples</option> to the
<command>configure</command> script to build the example programs, install
them using the following commands as the <systemitem
class="username">root</systemitem> user:</para>
<screen role="root"><userinput>install -v -m755 -d $(pkg-config \
--variable=prefix ORBit-2.0)/lib/libgtop/examples &amp;&amp;
install -v -m755 examples/.libs/* \
$(pkg-config --variable=prefix ORBit-2.0)/lib/libgtop/examples</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../../xincludes/gnome-prefix.xml"/>
<para><parameter>--infodir=$(pkg-config --variable=prefix
ORBit-2.0)/share/info</parameter>:
This switch installs the info documentation in
<filename class='directory'>$GNOME_PREFIX/share/info</filename> instead of
<filename class='directory'>$GNOME_PREFIX/info</filename>. You may need to
add this directory to your <envar>$INFOPATH</envar> environment variable if
your <application>GNOME</application> installation prefix is anything other
than <filename class='directory'>/usr</filename>.</para>
<para><option>--with-libgtop-examples</option>: Adding this parameter to
the <command>configure</command> script will build numerous example
programs.</para>
<!-- <para><option>- -with-libgtop-inodedb</option>: Add this parameter to the
<command>configure</command> script if you have
<application>GDBM</application> installed and wish to build the inodedb
programs.</para> -->
<para><option>--with-libgtop-inodedb</option>: This parameter ensures the
inodedb programs is built and installed.</para>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
</sect2>
<sect2 role="configuration">
<title>Configuring LibGTop</title>
<sect3>
<title>Configuration Information</title>
<para>If <envar>$GNOME_PREFIX</envar> is anything other than
<filename class='directory'>/usr</filename>, update the
<envar>INFOPATH</envar> environment variable by adding the following
to your system-wide or personal profile:</para>
<screen><literal>export INFOPATH=/usr/share/info:$(pkg-config \
--variable=prefix ORBit-2.0)/share/info</literal></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>file_by_inode2 and mkinodedb2</seg>
<seg>libgtop-2.0.{so,a}</seg>
<seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
include/libgtop-2.0 and
lib/libgtop/examples</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libgtop-2">
<term><filename class='libraryfile'>libgtop-2.0.{so,a}</filename></term>
<listitem>
<para>contains the functions that allow access to system
performance data.</para>
<indexterm zone="libgtop libgtop-2">
<primary sortas="c-libgtop-2">libgtop-2.0.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>