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