mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 12:32:13 +08:00
7a0dcad9e9
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9425 af4574ff-66df-0310-9fd7-8a98e5e911e0
183 lines
6.1 KiB
XML
183 lines
6.1 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.28/libgtop-&libgtop-version;.tar.xz">
|
|
<!ENTITY libgtop-download-ftp "&gnome-download-ftp;/libgtop/2.28/libgtop-&libgtop-version;.tar.xz">
|
|
<!ENTITY libgtop-md5sum "c8aee3c9bde9033303147e993aa1b932">
|
|
<!ENTITY libgtop-size "639 KB">
|
|
<!ENTITY libgtop-buildsize "18 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>
|
|
|
|
&lfs70_built;
|
|
|
|
<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="intltool"/></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/2001/XInclude"
|
|
href="../../xincludes/without-gnome.xml"/>
|
|
|
|
<para>Install <application>LibGTop</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=$GNOME_PREFIX &&
|
|
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 would like to install the example programs, issue the following
|
|
commands as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>install -v -m755 -d $GNOME_PREFIX/lib/libgtop/examples &&
|
|
install -v -m755 examples/.libs/* $GNOME_PREFIX/lib/libgtop/examples</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/gnome-prefix.xml"/>
|
|
|
|
<!-- this DOES install an info file, but in $datarootdir/info which is
|
|
$prefix/share/info : adding the directory is covered in configuring
|
|
|
|
<para><parameter>\-\-infodir=$GNOME_PREFIX/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>--enable-static=no</option>: This switch prevents the static
|
|
libraries being installed.</para>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/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:$GNOME_PREFIX/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>affinity, df, first, mem, mountlist, netlist, netload, openfiles,
|
|
pprint, procargs, proclist, procmap, second, smp, sysdeps, timings, and
|
|
wd (examples programs)</seg>
|
|
<seg>libgtop-2.0.{so,a}</seg>
|
|
<seg><envar>$GNOME_PREFIX</envar>/{include/libgtop-2.0/glibtop,
|
|
share/{gtk-doc/html/libgtop,locale/la/LC_MESSAGES},
|
|
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>
|