[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[ea804bc] | 7 | <!ENTITY libgtop-download-http "&gnome-download-http;/libgtop/2.14/libgtop-&libgtop-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libgtop-download-ftp "&gnome-download-ftp;/libgtop/2.14/libgtop-&libgtop-version;.tar.bz2">
|
---|
[65ed5cb] | 9 | <!ENTITY libgtop-md5sum "a228ccab58216f7fef97de9c2b6e328e">
|
---|
| 10 | <!ENTITY libgtop-size "772 KB">
|
---|
| 11 | <!ENTITY libgtop-buildsize "16 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>
|
---|
[65ed5cb] | 60 | <para role="required"><xref linkend="glib2"/> and
|
---|
| 61 | <xref linkend="popt"/></para>
|
---|
[1c7eee25] | 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[65ed5cb] | 64 | <para role="optional"><xref linkend="gdbm"/>,
|
---|
| 65 | <xref linkend="gtk-doc"/>, and
|
---|
[e77976f] | 66 | <xref linkend="x-window-system"/></para>
|
---|
[1c7eee25] | 67 |
|
---|
[0a7c3921] | 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/libgtop"/></para>
|
---|
| 70 |
|
---|
[1c7eee25] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of LibGTop</title>
|
---|
| 75 |
|
---|
| 76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 77 | href="../../xincludes/without-gnome.xml"/>
|
---|
[1c7eee25] | 78 |
|
---|
| 79 | <para>Install <application>LibGTop</application> by running the following
|
---|
| 80 | commands:</para>
|
---|
| 81 |
|
---|
[a6bee1f] | 82 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
| 83 | --infodir=$(pkg-config \
|
---|
| 84 | --variable=prefix ORBit-2.0)/share/info &&
|
---|
[1c7eee25] | 85 | make</userinput></screen>
|
---|
[fdca4266] | 86 |
|
---|
[1c7eee25] | 87 | <para>This package does not come with a test suite.</para>
|
---|
[dd535a0] | 88 |
|
---|
[1c7eee25] | 89 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[dd535a0] | 90 |
|
---|
[1c7eee25] | 91 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[dd535a0] | 92 |
|
---|
[1c7eee25] | 93 | <para>If you passed <option>--with-libgtop-examples</option> to the
|
---|
| 94 | <command>configure</command> script to build the example programs, install
|
---|
| 95 | them using the following commands as the <systemitem
|
---|
| 96 | class="username">root</systemitem> user:</para>
|
---|
[dd535a0] | 97 |
|
---|
[9761bea4] | 98 | <screen role="root"><userinput>install -v -m755 -d $(pkg-config \
|
---|
| 99 | --variable=prefix ORBit-2.0)/lib/libgtop/examples &&
|
---|
[dd535a0] | 100 | install -v -m755 examples/.libs/* \
|
---|
[9761bea4] | 101 | $(pkg-config --variable=prefix ORBit-2.0)/lib/libgtop/examples</userinput></screen>
|
---|
[fdca4266] | 102 |
|
---|
[1c7eee25] | 103 | </sect2>
|
---|
[67d0fc3b] | 104 |
|
---|
[1c7eee25] | 105 | <sect2 role="commands">
|
---|
| 106 | <title>Command Explanations</title>
|
---|
[67d0fc3b] | 107 |
|
---|
[551b9389] | 108 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[7cdaed0] | 109 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[551b9389] | 110 |
|
---|
[a6bee1f] | 111 | <para><parameter>--infodir=$(pkg-config --variable=prefix
|
---|
| 112 | ORBit-2.0)/share/info</parameter>:
|
---|
[51d7b70] | 113 | This switch installs the info documentation in
|
---|
[1c7eee25] | 114 | <filename class='directory'>$GNOME_PREFIX/share/info</filename> instead of
|
---|
[51d7b70] | 115 | <filename class='directory'>$GNOME_PREFIX/info</filename>. You may need to
|
---|
| 116 | add this directory to your <envar>$INFOPATH</envar> environment variable if
|
---|
| 117 | your <application>GNOME</application> installation prefix is anything other
|
---|
| 118 | than <filename class='directory'>/usr</filename>.</para>
|
---|
[dd535a0] | 119 |
|
---|
[1c7eee25] | 120 | <para><option>--with-libgtop-examples</option>: Adding this parameter to
|
---|
| 121 | the <command>configure</command> script will build numerous example
|
---|
| 122 | programs.</para>
|
---|
[dd535a0] | 123 |
|
---|
[1c7eee25] | 124 | <para><option>--with-libgtop-inodedb</option>: Add this parameter to the
|
---|
| 125 | <command>configure</command> script if you have
|
---|
| 126 | <application>GDBM</application> installed and wish to build the inodedb
|
---|
| 127 | programs.</para>
|
---|
[dd535a0] | 128 |
|
---|
[65ed5cb] | 129 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 130 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 131 |
|
---|
[1c7eee25] | 132 | </sect2>
|
---|
[dd535a0] | 133 |
|
---|
[1c7eee25] | 134 | <sect2 role="configuration">
|
---|
| 135 | <title>Configuring LibGTop</title>
|
---|
[dd535a0] | 136 |
|
---|
[1c7eee25] | 137 | <sect3>
|
---|
| 138 | <title>Configuration Information</title>
|
---|
[fdca4266] | 139 |
|
---|
[1c7eee25] | 140 | <para>If <envar>$GNOME_PREFIX</envar> is anything other than
|
---|
| 141 | <filename class='directory'>/usr</filename>, update the
|
---|
| 142 | <envar>INFOPATH</envar> environment variable by adding the following
|
---|
| 143 | to your system-wide or personal profile:</para>
|
---|
[fdca4266] | 144 |
|
---|
[551b9389] | 145 | <screen><literal>export INFOPATH=/usr/share/info:$(pkg-config \
|
---|
| 146 | --variable=prefix ORBit-2.0)/share/info</literal></screen>
|
---|
[fdca4266] | 147 |
|
---|
[1c7eee25] | 148 | </sect3>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2 role="content">
|
---|
| 153 | <title>Contents</title>
|
---|
| 154 |
|
---|
| 155 | <segmentedlist>
|
---|
| 156 | <segtitle>Installed Programs</segtitle>
|
---|
| 157 | <segtitle>Installed Library</segtitle>
|
---|
| 158 | <segtitle>Installed Directories</segtitle>
|
---|
| 159 |
|
---|
| 160 | <seglistitem>
|
---|
[e62f701] | 161 | <seg>file_by_inode2 and mkinodedb2</seg>
|
---|
[0a7c3921] | 162 | <seg>libgtop-2.0.{so,a}</seg>
|
---|
[551b9389] | 163 | <seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
---|
[e62f701] | 164 | include/libgtop-2.0 and
|
---|
[a6bee1f] | 165 | lib/libgtop/examples</seg>
|
---|
[1c7eee25] | 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="libgtop-2">
|
---|
[0a7c3921] | 175 | <term><filename class='libraryfile'>libgtop-2.0.{so,a}</filename></term>
|
---|
[1c7eee25] | 176 | <listitem>
|
---|
| 177 | <para>contains the functions that allow access to system
|
---|
| 178 | performance data.</para>
|
---|
| 179 | <indexterm zone="libgtop libgtop-2">
|
---|
[0a7c3921] | 180 | <primary sortas="c-libgtop-2">libgtop-2.0.{so,a}</primary>
|
---|
[1c7eee25] | 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
[ad45d1a] | 188 |
|
---|
| 189 | </sect1>
|
---|