1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libgtop-download-http "http://ftp.gnome.org/pub/GNOME/sources/libgtop/&gnome-version;/libgtop-&libgtop-version;.tar.bz2">
|
---|
8 | <!ENTITY libgtop-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/libgtop/&gnome-version;/libgtop-&libgtop-version;.tar.bz2">
|
---|
9 | <!ENTITY libgtop-md5sum "b006baa3bd486005411a03534b45708e">
|
---|
10 | <!ENTITY libgtop-size "750 KB">
|
---|
11 | <!ENTITY libgtop-buildsize "14 MB">
|
---|
12 | <!ENTITY libgtop-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libgtop" xreflabel="LibGTop-&libgtop-version;">
|
---|
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>
|
---|
60 | <para><xref linkend="glib2"/></para>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
63 | <para><xref linkend="popt"/>,
|
---|
64 | <xref linkend="gdbm"/> and
|
---|
65 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 | <sect2 role="installation">
|
---|
70 | <title>Installation of LibGTop</title>
|
---|
71 |
|
---|
72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
73 | href="../without-gnome.xml"/>
|
---|
74 |
|
---|
75 | <para>Install <application>LibGTop</application> by running the following
|
---|
76 | commands:</para>
|
---|
77 |
|
---|
78 | <screen><userinput>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
|
---|
79 | --infodir=$GNOME_PREFIX/share/info &&
|
---|
80 | make</userinput></screen>
|
---|
81 |
|
---|
82 | <para>This package does not come with a test suite.</para>
|
---|
83 |
|
---|
84 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
85 |
|
---|
86 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
87 |
|
---|
88 | <para>If you passed <option>--with-libgtop-examples</option> to the
|
---|
89 | <command>configure</command> script to build the example programs, install
|
---|
90 | them using the following commands as the <systemitem
|
---|
91 | class="username">root</systemitem> user:</para>
|
---|
92 |
|
---|
93 | <screen role="root"><userinput>install -v -m755 -d $GNOME_PREFIX/share/libgtop-&libgtop-version;/examples &&
|
---|
94 | install -v -m755 examples/.libs/* \
|
---|
95 | $GNOME_PREFIX/share/libgtop-&libgtop-version;/examples</userinput></screen>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="commands">
|
---|
100 | <title>Command Explanations</title>
|
---|
101 |
|
---|
102 | <para><parameter>--infodir=$GNOME_PREFIX/share/info</parameter>: This switch
|
---|
103 | installs the info documentation in
|
---|
104 | <filename class='directory'>$GNOME_PREFIX/share/info</filename> instead of
|
---|
105 | <filename class='directory'>$GNOME_PREFIX/info</filename>.</para>
|
---|
106 |
|
---|
107 | <para><option>--with-libgtop-examples</option>: Adding this parameter to
|
---|
108 | the <command>configure</command> script will build numerous example
|
---|
109 | programs.</para>
|
---|
110 |
|
---|
111 | <para><option>--with-libgtop-inodedb</option>: Add this parameter to the
|
---|
112 | <command>configure</command> script if you have
|
---|
113 | <application>GDBM</application> installed and wish to build the inodedb
|
---|
114 | programs.</para>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="configuration">
|
---|
119 | <title>Configuring LibGTop</title>
|
---|
120 |
|
---|
121 | <sect3>
|
---|
122 | <title>Configuration Information</title>
|
---|
123 |
|
---|
124 | <para>If <envar>$GNOME_PREFIX</envar> is anything other than
|
---|
125 | <filename class='directory'>/usr</filename>, update the
|
---|
126 | <envar>INFOPATH</envar> environment variable by adding the following
|
---|
127 | to your system-wide or personal profile:</para>
|
---|
128 |
|
---|
129 | <screen><literal>export INFOPATH=/usr/share/info:$GNOME_PREFIX/share/info</literal></screen>
|
---|
130 |
|
---|
131 | </sect3>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2 role="content">
|
---|
136 | <title>Contents</title>
|
---|
137 |
|
---|
138 | <segmentedlist>
|
---|
139 | <segtitle>Installed Programs</segtitle>
|
---|
140 | <segtitle>Installed Library</segtitle>
|
---|
141 | <segtitle>Installed Directories</segtitle>
|
---|
142 |
|
---|
143 | <seglistitem>
|
---|
144 | <seg>file_by_inode2, mkinodedb2</seg>
|
---|
145 | <seg>libgtop-2.0</seg>
|
---|
146 | <seg>$GNOME_PREFIX/include/libgtop-2.0 and
|
---|
147 | and $GNOME_PREFIX/share/libgtop-2.10.1</seg>
|
---|
148 | </seglistitem>
|
---|
149 | </segmentedlist>
|
---|
150 |
|
---|
151 | <variablelist>
|
---|
152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
153 | <?dbfo list-presentation="list"?>
|
---|
154 | <?dbhtml list-presentation="table"?>
|
---|
155 |
|
---|
156 | <varlistentry id="libgtop-2">
|
---|
157 | <term><filename class='libraryfile'>libgtop-2.0.[so,a]</filename></term>
|
---|
158 | <listitem>
|
---|
159 | <para>contains the functions that allow access to system
|
---|
160 | performance data.</para>
|
---|
161 | <indexterm zone="libgtop libgtop-2">
|
---|
162 | <primary sortas="c-libgtop-2">libgtop-2.0.[so,a]</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | </variablelist>
|
---|
168 |
|
---|
169 | </sect2>
|
---|
170 |
|
---|
171 | </sect1>
|
---|