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