[fdca4266] | 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" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[937425f] | 7 | <!ENTITY libgtop-download-http "&gnome-download-http;/libgtop/&gnome-version;/libgtop-&libgtop-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libgtop-download-ftp "&gnome-download-ftp;/libgtop/&gnome-version;/libgtop-&libgtop-version;.tar.bz2">
|
---|
[e8c3fffb] | 9 | <!ENTITY libgtop-md5sum "adcc07c6d1c115c6d275a3c9bb1f3b68">
|
---|
| 10 | <!ENTITY libgtop-size "664 KB">
|
---|
| 11 | <!ENTITY libgtop-buildsize "13.2 MB">
|
---|
[51d7b70] | 12 | <!ENTITY libgtop-time "0.3 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[dd535a0] | 15 | <sect1 id="libgtop" xreflabel="LibGTop-&libgtop-version;">
|
---|
[1c7eee25] | 16 | <?dbhtml filename="libgtop.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>LibGTop-&libgtop-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libgtop">
|
---|
| 26 | <primary sortas="a-LibGTop">LibGTop</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to LibGTop</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>LibGTop</application> package contains the
|
---|
| 33 | <application>GNOME</application> top libraries.</para>
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&libgtop-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&libgtop-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &libgtop-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &libgtop-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &libgtop-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &libgtop-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect3">LibGTop Dependencies</bridgehead>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b22e19bf] | 60 | <para role="required"><xref linkend="glib2"/></para>
|
---|
[1c7eee25] | 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b22e19bf] | 63 | <para role="optional"><xref linkend="popt"/>,
|
---|
[937425f] | 64 | <xref linkend="gdbm"/>, and
|
---|
[e77976f] | 65 | <xref linkend="x-window-system"/></para>
|
---|
[1c7eee25] | 66 |
|
---|
[0a7c3921] | 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/libgtop"/></para>
|
---|
| 69 |
|
---|
[1c7eee25] | 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of LibGTop</title>
|
---|
| 74 |
|
---|
| 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 76 | href="../../xincludes/without-gnome.xml"/>
|
---|
[1c7eee25] | 77 |
|
---|
| 78 | <para>Install <application>LibGTop</application> by running the following
|
---|
| 79 | commands:</para>
|
---|
| 80 |
|
---|
[a6bee1f] | 81 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
| 82 | --infodir=$(pkg-config \
|
---|
| 83 | --variable=prefix ORBit-2.0)/share/info &&
|
---|
[1c7eee25] | 84 | make</userinput></screen>
|
---|
[fdca4266] | 85 |
|
---|
[1c7eee25] | 86 | <para>This package does not come with a test suite.</para>
|
---|
[dd535a0] | 87 |
|
---|
[1c7eee25] | 88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[dd535a0] | 89 |
|
---|
[1c7eee25] | 90 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[dd535a0] | 91 |
|
---|
[1c7eee25] | 92 | <para>If you passed <option>--with-libgtop-examples</option> to the
|
---|
| 93 | <command>configure</command> script to build the example programs, install
|
---|
| 94 | them using the following commands as the <systemitem
|
---|
| 95 | class="username">root</systemitem> user:</para>
|
---|
[dd535a0] | 96 |
|
---|
[9761bea4] | 97 | <screen role="root"><userinput>install -v -m755 -d $(pkg-config \
|
---|
| 98 | --variable=prefix ORBit-2.0)/lib/libgtop/examples &&
|
---|
[dd535a0] | 99 | install -v -m755 examples/.libs/* \
|
---|
[9761bea4] | 100 | $(pkg-config --variable=prefix ORBit-2.0)/lib/libgtop/examples</userinput></screen>
|
---|
[fdca4266] | 101 |
|
---|
[1c7eee25] | 102 | </sect2>
|
---|
[67d0fc3b] | 103 |
|
---|
[1c7eee25] | 104 | <sect2 role="commands">
|
---|
| 105 | <title>Command Explanations</title>
|
---|
[67d0fc3b] | 106 |
|
---|
[551b9389] | 107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 108 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 109 |
|
---|
[a6bee1f] | 110 | <para><parameter>--infodir=$(pkg-config --variable=prefix
|
---|
| 111 | ORBit-2.0)/share/info</parameter>:
|
---|
[51d7b70] | 112 | This switch installs the info documentation in
|
---|
[1c7eee25] | 113 | <filename class='directory'>$GNOME_PREFIX/share/info</filename> instead of
|
---|
[51d7b70] | 114 | <filename class='directory'>$GNOME_PREFIX/info</filename>. You may need to
|
---|
| 115 | add this directory to your <envar>$INFOPATH</envar> environment variable if
|
---|
| 116 | your <application>GNOME</application> installation prefix is anything other
|
---|
| 117 | than <filename class='directory'>/usr</filename>.</para>
|
---|
[dd535a0] | 118 |
|
---|
[1c7eee25] | 119 | <para><option>--with-libgtop-examples</option>: Adding this parameter to
|
---|
| 120 | the <command>configure</command> script will build numerous example
|
---|
| 121 | programs.</para>
|
---|
[dd535a0] | 122 |
|
---|
[1c7eee25] | 123 | <para><option>--with-libgtop-inodedb</option>: Add this parameter to the
|
---|
| 124 | <command>configure</command> script if you have
|
---|
| 125 | <application>GDBM</application> installed and wish to build the inodedb
|
---|
| 126 | programs.</para>
|
---|
[dd535a0] | 127 |
|
---|
[1c7eee25] | 128 | </sect2>
|
---|
[dd535a0] | 129 |
|
---|
[1c7eee25] | 130 | <sect2 role="configuration">
|
---|
| 131 | <title>Configuring LibGTop</title>
|
---|
[dd535a0] | 132 |
|
---|
[1c7eee25] | 133 | <sect3>
|
---|
| 134 | <title>Configuration Information</title>
|
---|
[fdca4266] | 135 |
|
---|
[1c7eee25] | 136 | <para>If <envar>$GNOME_PREFIX</envar> is anything other than
|
---|
| 137 | <filename class='directory'>/usr</filename>, update the
|
---|
| 138 | <envar>INFOPATH</envar> environment variable by adding the following
|
---|
| 139 | to your system-wide or personal profile:</para>
|
---|
[fdca4266] | 140 |
|
---|
[551b9389] | 141 | <screen><literal>export INFOPATH=/usr/share/info:$(pkg-config \
|
---|
| 142 | --variable=prefix ORBit-2.0)/share/info</literal></screen>
|
---|
[fdca4266] | 143 |
|
---|
[1c7eee25] | 144 | </sect3>
|
---|
| 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | <sect2 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
| 153 | <segtitle>Installed Library</segtitle>
|
---|
| 154 | <segtitle>Installed Directories</segtitle>
|
---|
| 155 |
|
---|
| 156 | <seglistitem>
|
---|
[e62f701] | 157 | <seg>file_by_inode2 and mkinodedb2</seg>
|
---|
[0a7c3921] | 158 | <seg>libgtop-2.0.{so,a}</seg>
|
---|
[551b9389] | 159 | <seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
---|
[e62f701] | 160 | include/libgtop-2.0 and
|
---|
[a6bee1f] | 161 | lib/libgtop/examples</seg>
|
---|
[1c7eee25] | 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="libgtop-2">
|
---|
[0a7c3921] | 171 | <term><filename class='libraryfile'>libgtop-2.0.{so,a}</filename></term>
|
---|
[1c7eee25] | 172 | <listitem>
|
---|
| 173 | <para>contains the functions that allow access to system
|
---|
| 174 | performance data.</para>
|
---|
| 175 | <indexterm zone="libgtop libgtop-2">
|
---|
[0a7c3921] | 176 | <primary sortas="c-libgtop-2">libgtop-2.0.{so,a}</primary>
|
---|
[1c7eee25] | 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | </variablelist>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
[ad45d1a] | 184 |
|
---|
| 185 | </sect1>
|
---|