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 gamin-download-http
|
---|
8 | "http://www.gnome.org/~veillard/gamin/sources/gamin-&gamin-version;.tar.gz">
|
---|
9 | <!ENTITY gamin-download-ftp "&gentoo-ftp-repo;/gamin-&gamin-version;.tar.gz">
|
---|
10 | <!ENTITY gamin-md5sum "b4ec549e57da470c04edd5ec2876a028">
|
---|
11 | <!ENTITY gamin-size "639 KB">
|
---|
12 | <!ENTITY gamin-buildsize "6.7 MB">
|
---|
13 | <!ENTITY gamin-time "0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="gamin" xreflabel="Gamin-&gamin-version;">
|
---|
17 | <?dbhtml filename="gamin.html"?>
|
---|
18 |
|
---|
19 |
|
---|
20 | <title>Gamin-&gamin-version;</title>
|
---|
21 |
|
---|
22 | <indexterm zone="gamin">
|
---|
23 | <primary sortas="a-Gamin">Gamin</primary>
|
---|
24 | </indexterm>
|
---|
25 |
|
---|
26 | <sect2 role="package">
|
---|
27 | <title>Introduction to Gamin</title>
|
---|
28 |
|
---|
29 | <para>
|
---|
30 | The <application>Gamin</application> package contains a File Alteration
|
---|
31 | Monitor which is useful for notifying applications of changes to the file
|
---|
32 | system. Gamin is compatible with
|
---|
33 | <ulink url="http://oss.sgi.com/projects/fam/">FAM</ulink>.
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs74_built;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (HTTP): <ulink url="&gamin-download-http;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (FTP): <ulink url="&gamin-download-ftp;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download MD5 sum: &gamin-md5sum;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download size: &gamin-size;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated disk space required: &gamin-buildsize;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated build time: &gamin-time;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">Gamin Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
75 | <para role="required">
|
---|
76 | <xref linkend="glib2"/>
|
---|
77 | </para>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
80 | <para role="optional">
|
---|
81 | <xref linkend="python2"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">
|
---|
85 | User Notes: <ulink url="&blfs-wiki;/gamin"/>
|
---|
86 | </para>
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of Gamin</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Install <application>Gamin</application> by running the following
|
---|
94 | commands:
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <screen><userinput>sed -i 's/G_CONST_RETURN/const/' server/gam_{node,subscription}.{c,h} &&
|
---|
98 | ./configure --prefix=/usr --libexecdir=/usr/sbin --disable-static &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | To test the results, issue: <command>make check</command>. Note that some
|
---|
103 | tests may display errors.
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <screen role="root"><userinput>make install &&
|
---|
111 | install -v -m755 -d /usr/share/doc/gamin-&gamin-version; &&
|
---|
112 | install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-&gamin-version;</userinput></screen>
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="commands">
|
---|
116 | <title>Command Explanations</title>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | <command>sed -i 's/G_CONST_RETURN/const/'
|
---|
120 | server/gam_{node,subscription}.{c,h}</command>: This sed fixes compiling
|
---|
121 | with <application>Glib 2.32</application> or greater installed.
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
125 | href="../../xincludes/static-libraries.xml"/>
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="configuration">
|
---|
129 | <title>Configuring Gamin</title>
|
---|
130 |
|
---|
131 | <sect3>
|
---|
132 | <title>Configuration Information</title>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | No configuration is generally required and the default options should
|
---|
136 | work for most users. See
|
---|
137 | <ulink url="http://www.gnome.org/~veillard/gamin/config.html"/> for
|
---|
138 | details.
|
---|
139 | </para>
|
---|
140 | </sect3>
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | <sect2 role="content">
|
---|
144 | <title>Contents</title>
|
---|
145 |
|
---|
146 | <segmentedlist>
|
---|
147 | <segtitle>Installed Program</segtitle>
|
---|
148 | <segtitle>Installed Libraries</segtitle>
|
---|
149 | <segtitle>Installed Directory</segtitle>
|
---|
150 |
|
---|
151 | <seglistitem>
|
---|
152 | <seg>gam_server</seg>
|
---|
153 | <seg>
|
---|
154 | libfam.so, libgamin-1.so, libgamin_shared.a and (if you've installed
|
---|
155 | <application>Python 2</application>) _gamin.so.
|
---|
156 | </seg>
|
---|
157 | <seg>/usr/share/doc/gamin-&gamin-version;</seg>
|
---|
158 | </seglistitem>
|
---|
159 | </segmentedlist>
|
---|
160 |
|
---|
161 | <variablelist>
|
---|
162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
163 | <?dbfo list-presentation="list"?>
|
---|
164 | <?dbhtml list-presentation="table"?>
|
---|
165 |
|
---|
166 | <varlistentry id="gam_server">
|
---|
167 | <term><command>gam_server</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | is the file alteration monitor daemon that is started on demand for
|
---|
171 | each user.
|
---|
172 | </para>
|
---|
173 | <indexterm zone="gamin gam_server">
|
---|
174 | <primary sortas="b-gam_server">gam_server</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="libgamin">
|
---|
180 | <term><filename class='libraryfile'>libgamin.so</filename></term>
|
---|
181 | <listitem>
|
---|
182 | <para>
|
---|
183 | contains functions that support the file allocation monitor.
|
---|
184 | </para>
|
---|
185 | <indexterm zone="gamin libgamin">
|
---|
186 | <primary sortas="c-libgamin">libgamin.so</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="libfam">
|
---|
192 | <term><filename class='libraryfile'>libfam.so</filename></term>
|
---|
193 | <listitem>
|
---|
194 | <para>
|
---|
195 | contains functions that provide compatibility with FAM.
|
---|
196 | </para>
|
---|
197 | <indexterm zone="gamin libfam">
|
---|
198 | <primary sortas="c-libfam">libfam.so</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 | </variablelist>
|
---|
203 | </sect2>
|
---|
204 | </sect1>
|
---|