1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libgtop-download-http "&gnome-download-http;/libgtop/2.28/libgtop-&libgtop-version;.tar.xz">
|
---|
8 | <!ENTITY libgtop-download-ftp "&gnome-download-ftp;/libgtop/2.28/libgtop-&libgtop-version;.tar.xz">
|
---|
9 | <!ENTITY libgtop-md5sum "c8aee3c9bde9033303147e993aa1b932">
|
---|
10 | <!ENTITY libgtop-size "639 KB">
|
---|
11 | <!ENTITY libgtop-buildsize "18 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 | &lfs70_built;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&libgtop-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&libgtop-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &libgtop-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &libgtop-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &libgtop-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &libgtop-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect3">LibGTop Dependencies</bridgehead>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
62 | <para role="required"><xref linkend="glib2"/> and
|
---|
63 | <xref linkend="intltool"/></para>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
66 | <para role="optional"><!-- <xref linkend="gdbm"/>, -->
|
---|
67 | <xref linkend="gtk-doc"/> and
|
---|
68 | <xref linkend="x-window-system"/></para>
|
---|
69 |
|
---|
70 | <para condition="html" role="usernotes">User Notes:
|
---|
71 | <ulink url="&blfs-wiki;/libgtop"/></para>
|
---|
72 |
|
---|
73 | </sect2>
|
---|
74 |
|
---|
75 | <sect2 role="installation">
|
---|
76 | <title>Installation of LibGTop</title>
|
---|
77 |
|
---|
78 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
79 | href="../../xincludes/without-gnome.xml"/>
|
---|
80 |
|
---|
81 | <para>Install <application>LibGTop</application> by running the following
|
---|
82 | commands:</para>
|
---|
83 |
|
---|
84 | <screen><userinput>./configure --prefix=$GNOME_PREFIX &&
|
---|
85 | make</userinput></screen>
|
---|
86 |
|
---|
87 | <para>This package does not come with a test suite.</para>
|
---|
88 |
|
---|
89 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
90 |
|
---|
91 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
92 |
|
---|
93 | <para>If you would like to install the example programs, issue the following
|
---|
94 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
95 |
|
---|
96 | <screen role="root"><userinput>install -v -m755 -d $GNOME_PREFIX/lib/libgtop/examples &&
|
---|
97 | install -v -m755 examples/.libs/* $GNOME_PREFIX/lib/libgtop/examples</userinput></screen>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="commands">
|
---|
102 | <title>Command Explanations</title>
|
---|
103 |
|
---|
104 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
105 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
106 |
|
---|
107 | <!-- this DOES install an info file, but in $datarootdir/info which is
|
---|
108 | $prefix/share/info : adding the directory is covered in configuring
|
---|
109 |
|
---|
110 | <para><parameter>\-\-infodir=$GNOME_PREFIX/share/info</parameter>:
|
---|
111 | This switch installs the info documentation in
|
---|
112 | <filename class='directory'>$GNOME_PREFIX/share/info</filename> instead of
|
---|
113 | <filename class='directory'>$GNOME_PREFIX/info</filename>. You may need to
|
---|
114 | add this directory to your <envar>$INFOPATH</envar> environment variable if
|
---|
115 | your <application>GNOME</application> installation prefix is anything other
|
---|
116 | than <filename class='directory'>/usr</filename>.</para>-->
|
---|
117 |
|
---|
118 | <para><option>--enable-static=no</option>: This switch prevents the static
|
---|
119 | libraries being installed.</para>
|
---|
120 |
|
---|
121 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
122 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="configuration">
|
---|
127 | <title>Configuring LibGTop</title>
|
---|
128 |
|
---|
129 | <sect3>
|
---|
130 | <title>Configuration Information</title>
|
---|
131 |
|
---|
132 | <para>If <envar>$GNOME_PREFIX</envar> is anything other than
|
---|
133 | <filename class='directory'>/usr</filename>, update the
|
---|
134 | <envar>INFOPATH</envar> environment variable by adding the following
|
---|
135 | to your system-wide or personal profile:</para>
|
---|
136 |
|
---|
137 | <screen><literal>export INFOPATH=/usr/share/info:$GNOME_PREFIX/share/info</literal></screen>
|
---|
138 |
|
---|
139 | </sect3>
|
---|
140 |
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | <sect2 role="content">
|
---|
144 | <title>Contents</title>
|
---|
145 |
|
---|
146 | <segmentedlist>
|
---|
147 | <segtitle>Installed Programs</segtitle>
|
---|
148 | <segtitle>Installed Library</segtitle>
|
---|
149 | <segtitle>Installed Directories</segtitle>
|
---|
150 |
|
---|
151 | <seglistitem>
|
---|
152 | <seg>affinity, df, first, mem, mountlist, netlist, netload, openfiles,
|
---|
153 | pprint, procargs, proclist, procmap, second, smp, sysdeps, timings, and
|
---|
154 | wd (examples programs)</seg>
|
---|
155 | <seg>libgtop-2.0.{so,a}</seg>
|
---|
156 | <seg><envar>$GNOME_PREFIX</envar>/{include/libgtop-2.0/glibtop,
|
---|
157 | share/{gtk-doc/html/libgtop,locale/la/LC_MESSAGES},
|
---|
158 | lib/libgtop/examples}</seg>
|
---|
159 | </seglistitem>
|
---|
160 | </segmentedlist>
|
---|
161 |
|
---|
162 | <variablelist>
|
---|
163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
164 | <?dbfo list-presentation="list"?>
|
---|
165 | <?dbhtml list-presentation="table"?>
|
---|
166 |
|
---|
167 | <varlistentry id="libgtop-2">
|
---|
168 | <term><filename class='libraryfile'>libgtop-2.0.{so,a}</filename></term>
|
---|
169 | <listitem>
|
---|
170 | <para>contains the functions that allow access to system
|
---|
171 | performance data.</para>
|
---|
172 | <indexterm zone="libgtop libgtop-2">
|
---|
173 | <primary sortas="c-libgtop-2">libgtop-2.0.{so,a}</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | </variablelist>
|
---|
179 |
|
---|
180 | </sect2>
|
---|
181 |
|
---|
182 | </sect1>
|
---|