[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 |
|
---|
| 20 | <title>Gamin-&gamin-version;</title>
|
---|
| 21 |
|
---|
[77a5859] | 22 | <indexterm zone="gamin">
|
---|
| 23 | <primary sortas="a-Gamin">Gamin</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
[b7ea972] | 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to Gamin</title>
|
---|
| 28 |
|
---|
[692b244c] | 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>
|
---|
[b7ea972] | 35 |
|
---|
[18c9ee54] | 36 | &lfs74_built;
|
---|
[5f04edc] | 37 |
|
---|
[b7ea972] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[692b244c] | 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&gamin-download-http;"/>
|
---|
| 43 | </para>
|
---|
[b7ea972] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[692b244c] | 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&gamin-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
[b7ea972] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[692b244c] | 51 | <para>
|
---|
| 52 | Download MD5 sum: &gamin-md5sum;
|
---|
| 53 | </para>
|
---|
[b7ea972] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[692b244c] | 56 | <para>
|
---|
| 57 | Download size: &gamin-size;
|
---|
| 58 | </para>
|
---|
[b7ea972] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[692b244c] | 61 | <para>
|
---|
| 62 | Estimated disk space required: &gamin-buildsize;
|
---|
| 63 | </para>
|
---|
[b7ea972] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[692b244c] | 66 | <para>
|
---|
| 67 | Estimated build time: &gamin-time;
|
---|
| 68 | </para>
|
---|
[b7ea972] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">Gamin Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[692b244c] | 75 | <para role="required">
|
---|
[aa4778c4] | 76 | <xref linkend="glib2"/>
|
---|
[692b244c] | 77 | </para>
|
---|
[b7ea972] | 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[692b244c] | 80 | <para role="optional">
|
---|
| 81 | <xref linkend="python2"/>
|
---|
| 82 | </para>
|
---|
[1039de3] | 83 |
|
---|
[692b244c] | 84 | <para condition="html" role="usernotes">
|
---|
| 85 | User Notes: <ulink url="&blfs-wiki;/gamin"/>
|
---|
| 86 | </para>
|
---|
[b7ea972] | 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
| 90 | <title>Installation of Gamin</title>
|
---|
| 91 |
|
---|
[692b244c] | 92 | <para>
|
---|
| 93 | Install <application>Gamin</application> by running the following
|
---|
| 94 | commands:
|
---|
| 95 | </para>
|
---|
[b7ea972] | 96 |
|
---|
[692b244c] | 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 &&
|
---|
[b7ea972] | 99 | make</userinput></screen>
|
---|
| 100 |
|
---|
[692b244c] | 101 | <para>
|
---|
| 102 | To test the results, issue: <command>make check</command>. Note that some
|
---|
| 103 | tests may display errors.
|
---|
| 104 | </para>
|
---|
[b7ea972] | 105 |
|
---|
[692b244c] | 106 | <para>
|
---|
| 107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 108 | </para>
|
---|
[b7ea972] | 109 |
|
---|
[fd2aad88] | 110 | <screen role="root"><userinput>make install &&
|
---|
[6473e74] | 111 | install -v -m755 -d /usr/share/doc/gamin-&gamin-version; &&
|
---|
[fd2aad88] | 112 | install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-&gamin-version;</userinput></screen>
|
---|
[b7ea972] | 113 | </sect2>
|
---|
| 114 |
|
---|
[77a5859] | 115 | <sect2 role="commands">
|
---|
| 116 | <title>Command Explanations</title>
|
---|
| 117 |
|
---|
[692b244c] | 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>
|
---|
[77a5859] | 123 |
|
---|
[692b244c] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 125 | href="../../xincludes/static-libraries.xml"/>
|
---|
[77a5859] | 126 | </sect2>
|
---|
| 127 |
|
---|
[b7ea972] | 128 | <sect2 role="configuration">
|
---|
| 129 | <title>Configuring Gamin</title>
|
---|
| 130 |
|
---|
| 131 | <sect3>
|
---|
| 132 | <title>Configuration Information</title>
|
---|
| 133 |
|
---|
[692b244c] | 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>
|
---|
[b7ea972] | 140 | </sect3>
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Program</segtitle>
|
---|
[fd2aad88] | 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directory</segtitle>
|
---|
[b7ea972] | 150 |
|
---|
| 151 | <seglistitem>
|
---|
| 152 | <seg>gam_server</seg>
|
---|
[692b244c] | 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>
|
---|
[fd2aad88] | 157 | <seg>/usr/share/doc/gamin-&gamin-version;</seg>
|
---|
[b7ea972] | 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 |
|
---|
[060409a] | 166 | <varlistentry id="gam_server">
|
---|
[b7ea972] | 167 | <term><command>gam_server</command></term>
|
---|
| 168 | <listitem>
|
---|
[692b244c] | 169 | <para>
|
---|
| 170 | is the file alteration monitor daemon that is started on demand for
|
---|
| 171 | each user.
|
---|
| 172 | </para>
|
---|
[060409a] | 173 | <indexterm zone="gamin gam_server">
|
---|
| 174 | <primary sortas="b-gam_server">gam_server</primary>
|
---|
[b7ea972] | 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="libgamin">
|
---|
[692b244c] | 180 | <term><filename class='libraryfile'>libgamin.so</filename></term>
|
---|
[b7ea972] | 181 | <listitem>
|
---|
[692b244c] | 182 | <para>
|
---|
| 183 | contains functions that support the file allocation monitor.
|
---|
| 184 | </para>
|
---|
[b7ea972] | 185 | <indexterm zone="gamin libgamin">
|
---|
[692b244c] | 186 | <primary sortas="c-libgamin">libgamin.so</primary>
|
---|
[b7ea972] | 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="libfam">
|
---|
[692b244c] | 192 | <term><filename class='libraryfile'>libfam.so</filename></term>
|
---|
[b7ea972] | 193 | <listitem>
|
---|
[692b244c] | 194 | <para>
|
---|
| 195 | contains functions that provide compatibility with FAM.
|
---|
| 196 | </para>
|
---|
[b7ea972] | 197 | <indexterm zone="gamin libfam">
|
---|
[692b244c] | 198 | <primary sortas="c-libfam">libfam.so</primary>
|
---|
[b7ea972] | 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 | </variablelist>
|
---|
| 203 | </sect2>
|
---|
| 204 | </sect1>
|
---|