2004-06-15 12:33:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-15 12:33:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2007-07-26 08:31:00 +08:00
|
|
|
<!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">
|
2007-07-25 22:48:30 +08:00
|
|
|
<!ENTITY libgtop-md5sum "a228ccab58216f7fef97de9c2b6e328e">
|
|
|
|
<!ENTITY libgtop-size "772 KB">
|
|
|
|
<!ENTITY libgtop-buildsize "16 MB">
|
2005-10-11 02:06:06 +08:00
|
|
|
<!ENTITY libgtop-time "0.3 SBU">
|
2004-06-15 12:33:15 +08:00
|
|
|
]>
|
|
|
|
|
2005-05-11 13:14:56 +08:00
|
|
|
<sect1 id="libgtop" xreflabel="LibGTop-&libgtop-version;">
|
2005-05-16 03:50:49 +08:00
|
|
|
<?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>
|
2007-07-25 22:48:30 +08:00
|
|
|
<para role="required"><xref linkend="glib2"/> and
|
|
|
|
<xref linkend="popt"/></para>
|
2005-05-16 03:50:49 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2009-07-17 22:05:50 +08:00
|
|
|
<para role="optional"><!-- <xref linkend="gdbm"/>, -->
|
|
|
|
<xref linkend="gtk-doc"/> and
|
2006-04-10 00:06:53 +08:00
|
|
|
<xref linkend="x-window-system"/></para>
|
2005-05-16 03:50:49 +08:00
|
|
|
|
2006-04-11 02:36:24 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/libgtop"/></para>
|
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of LibGTop</title>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
2006-06-26 05:31:03 +08:00
|
|
|
href="../../xincludes/without-gnome.xml"/>
|
2005-05-16 03:50:49 +08:00
|
|
|
|
|
|
|
<para>Install <application>LibGTop</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2009-07-18 23:34:25 +08:00
|
|
|
<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
2009-07-17 22:05:50 +08:00
|
|
|
--infodir=$(pkg-config --variable=prefix ORBit-2.0)/share/info \
|
|
|
|
--with-libgtop-inodedb &&
|
2005-05-16 03:50:49 +08:00
|
|
|
make</userinput></screen>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<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>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2006-06-22 02:27:21 +08:00
|
|
|
<screen role="root"><userinput>install -v -m755 -d $(pkg-config \
|
|
|
|
--variable=prefix ORBit-2.0)/lib/libgtop/examples &&
|
2005-05-11 13:14:56 +08:00
|
|
|
install -v -m755 examples/.libs/* \
|
2006-06-22 02:27:21 +08:00
|
|
|
$(pkg-config --variable=prefix ORBit-2.0)/lib/libgtop/examples</userinput></screen>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
</sect2>
|
2004-11-23 13:24:00 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2004-11-23 13:24:00 +08:00
|
|
|
|
2006-06-26 03:48:15 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
2006-06-26 05:31:03 +08:00
|
|
|
href="../../xincludes/gnome-prefix.xml"/>
|
2006-06-26 03:48:15 +08:00
|
|
|
|
2006-06-21 09:46:25 +08:00
|
|
|
<para><parameter>--infodir=$(pkg-config --variable=prefix
|
|
|
|
ORBit-2.0)/share/info</parameter>:
|
2005-10-11 02:06:06 +08:00
|
|
|
This switch installs the info documentation in
|
2005-05-16 03:50:49 +08:00
|
|
|
<filename class='directory'>$GNOME_PREFIX/share/info</filename> instead of
|
2005-10-11 02:06:06 +08:00
|
|
|
<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>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<para><option>--with-libgtop-examples</option>: Adding this parameter to
|
|
|
|
the <command>configure</command> script will build numerous example
|
|
|
|
programs.</para>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2009-07-17 22:05:50 +08:00
|
|
|
<!-- <para><option>- -with-libgtop-inodedb</option>: Add this parameter to the
|
2005-05-16 03:50:49 +08:00
|
|
|
<command>configure</command> script if you have
|
|
|
|
<application>GDBM</application> installed and wish to build the inodedb
|
2009-07-17 22:05:50 +08:00
|
|
|
programs.</para> -->
|
|
|
|
|
|
|
|
<para><option>--with-libgtop-inodedb</option>: This parameter ensures the
|
|
|
|
inodedb programs is built and installed.</para>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2007-07-25 22:48:30 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
</sect2>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring LibGTop</title>
|
2005-05-11 13:14:56 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<sect3>
|
|
|
|
<title>Configuration Information</title>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
<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>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2006-06-26 03:48:15 +08:00
|
|
|
<screen><literal>export INFOPATH=/usr/share/info:$(pkg-config \
|
|
|
|
--variable=prefix ORBit-2.0)/share/info</literal></screen>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-16 03:50:49 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2006-02-07 03:05:31 +08:00
|
|
|
<seg>file_by_inode2 and mkinodedb2</seg>
|
2006-04-11 02:36:24 +08:00
|
|
|
<seg>libgtop-2.0.{so,a}</seg>
|
2006-06-26 03:48:15 +08:00
|
|
|
<seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
2006-02-07 03:05:31 +08:00
|
|
|
include/libgtop-2.0 and
|
2006-06-21 09:46:25 +08:00
|
|
|
lib/libgtop/examples</seg>
|
2005-05-16 03:50:49 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="libgtop-2">
|
2006-04-11 02:36:24 +08:00
|
|
|
<term><filename class='libraryfile'>libgtop-2.0.{so,a}</filename></term>
|
2005-05-16 03:50:49 +08:00
|
|
|
<listitem>
|
|
|
|
<para>contains the functions that allow access to system
|
|
|
|
performance data.</para>
|
|
|
|
<indexterm zone="libgtop libgtop-2">
|
2006-04-11 02:36:24 +08:00
|
|
|
<primary sortas="c-libgtop-2">libgtop-2.0.{so,a}</primary>
|
2005-05-16 03:50:49 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-09-04 11:17:25 +08:00
|
|
|
|
|
|
|
</sect1>
|