added a sed to the librsvg page to fix gobject-introspection brokeness

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10101 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-05-07 12:51:24 +00:00
parent fc1c844de7
commit b06f008071
2 changed files with 30 additions and 22 deletions

View File

@ -33,7 +33,7 @@
<filename class="libraryfile">librsvg</filename> libraries and tools used to
manipulate, convert and view Scalable Vector Graphic (SVG) images.</para>
&lfs70_checked;
&lfs71_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -88,7 +88,8 @@
<para>Install <application>librsvg</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
<screen><userinput>sed -i '/_gir_CFLAGS/s#$# -I/usr/include/cairo#' Makefile.in &amp;&amp;
./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
@ -102,12 +103,18 @@ make</userinput></screen>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -i '/_gir_CFLAGS/s#$# -I/usr/include/cairo#'
Makefile.in</command>: This sed fixes a problem compiling if you have
Gobject-Introspection installed. It has no effect if you've not installed
Gobject-Introspection.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
</sect2>
<sect2 role="content">

View File

@ -77,35 +77,36 @@
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="boost"/>
<xref linkend="GConf"/>
<xref linkend="giflib"/>
<xref linkend="agg"/>
<xref linkend="boost"/>,
<xref linkend="GConf"/>,
<xref linkend="giflib"/> and
<xref linkend="agg"/>.
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="ffmpeg"/>
<xref linkend="ffmpeg"/>,
<xref linkend="gtk2"/> and
<xref linkend="firefox"/> or <xref linkend="seamonkey"/>.
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="libogg"/>
<xref linkend="libvorbis"/>
<xref linkend="speex"/>
<xref linkend="dejagnu"/>
<xref linkend="wget"/>
<xref linkend="git"/>
<xref linkend="curl"/>
<ulink url="http://www.swftools.org/">SWFTools</ulink>
<ulink url="http://swfmill.org/">Swfmill </ulink>
<ulink url="http://www.mtasc.org/">Mtasc</ulink>
<ulink url="http://netcat.sourceforge.net/">Netcat</ulink>
<ulink url="http://csound.sourceforge.net/">Csound</ulink>
<ulink url="http://sourceforge.net/projects/libdc1394/">Libdc1394</ulink>
<ulink url="https://launchpad.net/libgsm">LibGSM</ulink>.
<xref linkend="curl"/>,
<xref linkend="dejagnu"/>,
<xref linkend="git"/>,
<xref linkend="gst-plugins-base"/>,
<xref linkend="libogg"/>,
<xref linkend="libvorbis"/>,
<xref linkend="speex"/>,
<xref linkend="wget"/>,
<ulink url="http://www.swftools.org/">SWFTools</ulink>,
<ulink url="http://swfmill.org/">Swfmill </ulink>,
<ulink url="http://www.mtasc.org/">Mtasc</ulink>,
<ulink url="http://netcat.sourceforge.net/">Netcat</ulink>,
<ulink url="http://csound.sourceforge.net/">Csound</ulink>,
<ulink url="https://launchpad.net/libgsm">LibGSM</ulink> and
<ulink url="http://sourceforge.net/projects/libdc1394/">Libdc1394</ulink>.
</para>
<para condition="html" role="usernotes">