Changeset 692b244c


Ignore:
Timestamp:
04/10/2012 05:18:18 PM (9 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
2d1ea57
Parents:
4f304a0a
Message:

Fix compiling Gamin with Glib 2.32 installed

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9893 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/gamin.xml

    r4f304a0a r692b244c  
    55  %general-entities;
    66
    7   <!ENTITY gamin-download-http "http://www.gnome.org/~veillard/gamin/sources/gamin-&gamin-version;.tar.gz">
     7  <!ENTITY gamin-download-http
     8    "http://www.gnome.org/~veillard/gamin/sources/gamin-&gamin-version;.tar.gz">
    89  <!ENTITY gamin-download-ftp  "&gentoo-ftp-repo;/gamin-&gamin-version;.tar.gz">
    910  <!ENTITY gamin-md5sum        "b4ec549e57da470c04edd5ec2876a028">
    1011  <!ENTITY gamin-size          "639 KB">
    1112  <!ENTITY gamin-buildsize     "6.7 MB">
    12   <!ENTITY gamin-time          "0.1 SBU (up to 3 minutes, processor independent, to run the test suite)">
     13  <!ENTITY gamin-time          "0.1 SBU">
    1314]>
    1415
     
    3031    <title>Introduction to Gamin</title>
    3132
    32     <para>The <application>Gamin</application> package contains a
    33     File Alteration Monitor which is useful for notifying applications of
    34     changes to the file system. Gamin is compatible with <ulink
    35     url="http://oss.sgi.com/projects/fam/">FAM</ulink>.</para>
    36 
    37     <para>&lfssvn_built;20100803&lfssvn_built2;</para>
     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>
     39
     40    &lfs71_built;
    3841
    3942    <bridgehead renderas="sect3">Package Information</bridgehead>
    4043    <itemizedlist spacing="compact">
    4144      <listitem>
    42         <para>Download (HTTP): <ulink url="&gamin-download-http;"/></para>
    43       </listitem>
    44       <listitem>
    45         <para>Download (FTP): <ulink url="&gamin-download-ftp;"/></para>
    46       </listitem>
    47       <listitem>
    48         <para>Download MD5 sum: &gamin-md5sum;</para>
    49       </listitem>
    50       <listitem>
    51         <para>Download size: &gamin-size;</para>
    52       </listitem>
    53       <listitem>
    54         <para>Estimated disk space required: &gamin-buildsize;</para>
    55       </listitem>
    56       <listitem>
    57         <para>Estimated build time: &gamin-time;</para>
     45        <para>
     46          Download (HTTP): <ulink url="&gamin-download-http;"/>
     47        </para>
     48      </listitem>
     49      <listitem>
     50        <para>
     51          Download (FTP): <ulink url="&gamin-download-ftp;"/>
     52        </para>
     53      </listitem>
     54      <listitem>
     55        <para>
     56          Download MD5 sum: &gamin-md5sum;
     57        </para>
     58      </listitem>
     59      <listitem>
     60        <para>
     61          Download size: &gamin-size;
     62        </para>
     63      </listitem>
     64      <listitem>
     65        <para>
     66          Estimated disk space required: &gamin-buildsize;
     67        </para>
     68      </listitem>
     69      <listitem>
     70        <para>
     71          Estimated build time: &gamin-time;
     72        </para>
    5873      </listitem>
    5974    </itemizedlist>
     
    6277
    6378    <bridgehead renderas="sect4">Required</bridgehead>
    64     <para role="required"><xref linkend="pkgconfig"/></para>
     79    <para role="required">
     80      <xref linkend="pkgconfig"/>
     81    </para>
    6582
    6683    <bridgehead renderas="sect4">Optional</bridgehead>
    67     <para role="optional"><xref linkend="python2"/></para>
    68 
    69     <!-- Though configure mentions these two packages, the build
    70          system can and does absolutely nothing with them. Commenting
    71          them out for now, as they cannot be used
    72     <xref linkend="gtk-doc"/> (for building API documentation),
    73     <xref linkend="doxygen"/> (for building documentation),
    74     -->
    75 
    76     <para condition="html" role="usernotes">User Notes:
    77     <ulink url="&blfs-wiki;/gamin"/></para>
    78 
     84    <para role="optional">
     85      <xref linkend="python2"/>
     86    </para>
     87
     88    <para condition="html" role="usernotes">
     89      User Notes: <ulink url="&blfs-wiki;/gamin"/>
     90    </para>
    7991  </sect2>
    8092
     
    8294    <title>Installation of Gamin</title>
    8395
    84     <para>Install <application>Gamin</application> by running the
    85     following commands:</para>
    86 
    87 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin &amp;&amp;
     96    <para>
     97      Install <application>Gamin</application> by running the following
     98      commands:
     99    </para>
     100
     101<screen><userinput>sed -i 's/G_CONST_RETURN/const/' server/gam_{node,subscription}.{c,h} &amp;&amp;
     102./configure --prefix=/usr --libexecdir=/usr/sbin --disable-static &amp;&amp;
    88103make</userinput></screen>
    89104
    90     <para>To test the results, issue: <command>make check</command>. Note
    91     that some tests may display errors.</para>
    92 
    93     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     105    <para>
     106      To test the results, issue: <command>make check</command>. Note that some
     107      tests may display errors.
     108    </para>
     109
     110    <para>
     111      Now, as the <systemitem class="username">root</systemitem> user:
     112    </para>
    94113
    95114<screen role="root"><userinput>make install &amp;&amp;
    96115install -v -m755 -d /usr/share/doc/gamin-&gamin-version; &amp;&amp;
    97116install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-&gamin-version;</userinput></screen>
    98 
    99117  </sect2>
    100118
     
    102120    <title>Command Explanations</title>
    103121
    104     <para><option>--disable-static</option>: This switch prevents most of the
    105     static libraries being built.</para>
    106 
     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>
     127
     128    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     129      href="../../xincludes/static-libraries.xml"/>
    107130  </sect2>
    108131
     
    113136      <title>Configuration Information</title>
    114137
    115       <para>No configuration is generally required and the default options
    116       should work for most users. See
    117       <ulink url="http://www.gnome.org/~veillard/gamin/config.html"/> for
    118       details.</para>
    119 
     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>
    120144    </sect3>
    121 
    122145  </sect2>
    123146
     
    132155      <seglistitem>
    133156        <seg>gam_server</seg>
    134         <seg>libfam.{so,a}, libgamin-1.{so,a}, libgamin_shared.a and
    135         optionally, <application>Python</application> _gamin.{so,a}
    136         module</seg>
     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>
    137161        <seg>/usr/share/doc/gamin-&gamin-version;</seg>
    138162      </seglistitem>
     
    147171      <term><command>gam_server</command></term>
    148172      <listitem>
    149         <para>is the file alteration monitor daemon that is started on demand
    150         for each user.</para>
     173        <para>
     174          is the file alteration monitor daemon that is started on demand for
     175          each user.
     176        </para>
    151177        <indexterm zone="gamin gam_server">
    152178          <primary sortas="b-gam_server">gam_server</primary>
     
    156182
    157183    <varlistentry id="libgamin">
    158       <term><filename class='libraryfile'>libgamin.{so,a}</filename></term>
    159       <listitem>
    160         <para>contains functions that support the file allocation monitor.</para>
     184      <term><filename class='libraryfile'>libgamin.so</filename></term>
     185      <listitem>
     186        <para>
     187          contains functions that support the file allocation monitor.
     188        </para>
    161189        <indexterm zone="gamin libgamin">
    162           <primary sortas="c-libgamin">libgamin.{so,a}</primary>
     190          <primary sortas="c-libgamin">libgamin.so</primary>
    163191        </indexterm>
    164192      </listitem>
     
    166194
    167195    <varlistentry id="libfam">
    168       <term><filename class='libraryfile'>libfam.{so,a}</filename></term>
    169       <listitem>
    170         <para>contains functions that provide compatibility with FAM.</para>
     196      <term><filename class='libraryfile'>libfam.so</filename></term>
     197      <listitem>
     198        <para>
     199          contains functions that provide compatibility with FAM.
     200        </para>
    171201        <indexterm zone="gamin libfam">
    172           <primary sortas="c-libfam">libfam.{so,a}</primary>
     202          <primary sortas="c-libfam">libfam.so</primary>
    173203        </indexterm>
    174204      </listitem>
    175205    </varlistentry>
    176 
    177206    </variablelist>
    178 
    179   </sect2>
    180 
     207  </sect2>
    181208</sect1>
  • template/template.xml

    r4f304a0a r692b244c  
    190190
    191191    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    192       href="../../xincludes/static-libraries.xml"/>   
     192      href="../../xincludes/static-libraries.xml"/>
    193193
    194194    <para>
Note: See TracChangeset for help on using the changeset viewer.