Author: andy
Date: 2012-03-27 07:23:32 -0600 (Tue, 27 Mar 2012)
New Revision: 9781

Modified:
   trunk/BOOK/general/graphlib/gegl.xml
Log:
Added a sed to the gegl page to fix compiling with
Glib-2.32 and gobject-introspection-1.30.0 installed

Modified: trunk/BOOK/general/graphlib/gegl.xml
===================================================================
--- trunk/BOOK/general/graphlib/gegl.xml        2012-03-27 12:53:51 UTC (rev 
9780)
+++ trunk/BOOK/general/graphlib/gegl.xml        2012-03-27 13:23:32 UTC (rev 
9781)
@@ -4,8 +4,10 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY gegl-download-http 
"http://gd.tuwien.ac.at/graphics/gimp/gegl/0.1//gegl-&gegl-version;.tar.bz2";>
-  <!ENTITY gegl-download-ftp  
"ftp://ftp.gimp.org/pub/gegl/0.1//gegl-&gegl-version;.tar.bz2";>
+  <!ENTITY gegl-download-http
+  "http://gd.tuwien.ac.at/graphics/gimp/gegl/0.1/gegl-&gegl-version;.tar.bz2";>
+  <!ENTITY gegl-download-ftp
+  "ftp://ftp.gimp.org/pub/gegl/0.1/gegl-&gegl-version;.tar.bz2";>
   <!ENTITY gegl-md5sum        "c8279b86b3d584ee4f503839fc500425">
   <!ENTITY gegl-size          "5.2 MB">
   <!ENTITY gegl-buildsize     "48 MB">
@@ -29,30 +31,44 @@
   <sect2 role="package">
     <title>Introduction to gegl</title>
 
-    <para>This package provides the GEneric Graphics Library, which is a
-    graph based image processing format.</para>
+    <para>
+      This package provides the GEneric Graphics Library, which is a graph 
based
+      image processing format.
+    </para>
 
     &lfs71_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
-        <para>Download (HTTP): <ulink url="&gegl-download-http;"/></para>
+        <para>
+          Download (HTTP): <ulink url="&gegl-download-http;"/>
+        </para>
       </listitem>
       <listitem>
-        <para>Download (FTP): <ulink url="&gegl-download-ftp;"/></para>
+        <para>
+          Download (FTP): <ulink url="&gegl-download-ftp;"/>
+        </para>
       </listitem>
       <listitem>
-        <para>Download MD5 sum: &gegl-md5sum;</para>
+        <para>
+          Download MD5 sum: &gegl-md5sum;
+        </para>
       </listitem>
       <listitem>
-        <para>Download size: &gegl-size;</para>
+        <para>
+          Download size: &gegl-size;
+        </para>
       </listitem>
       <listitem>
-        <para>Estimated disk space required: &gegl-buildsize;</para>
+        <para>
+          Estimated disk space required: &gegl-buildsize;
+        </para>
       </listitem>
       <listitem>
-        <para>Estimated build time: &gegl-time;</para>
+        <para>
+          Estimated build time: &gegl-time;
+        </para>
       </listitem>
     </itemizedlist>
 
@@ -60,82 +76,100 @@
 
 
     <bridgehead renderas="sect4">Required</bridgehead>
-    <!-- babl pulls in pkgconfig and thus glib2 -->
-    <para role="required"><xref linkend="babl"/></para>
+    <para role="required">
+      <xref linkend="babl"/>
+    </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
-    <para role="optional"><ulink
-    url="http://www.methods.co.nz/asciidoc/";>AsciiDoc</ulink>,
-    <xref linkend="cairo"/>,
-    <ulink url="http://www.gnu.org/software/enscript/";>enscript</ulink>,
-    <xref linkend="exiv2"/>,
-    <xref linkend="ffmpeg"/>,
-    <xref linkend="gdk-pixbuf"/>,
-    <xref linkend="graphviz"/>,
-    <ulink url="http://lensfun.berlios.de/";>lensfun</ulink>,
-    <xref linkend="libjpeg"/>,
-    <ulink url="http://libopenraw.freedesktop.org/wiki/";>libopenraw</ulink>,
-    <xref linkend="libpng"/>,
-    <xref linkend="librsvg"/>,
-    <ulink url="http://libspiro.sourceforge.net/";>libspiro</ulink>,
-    <ulink url="http://www.lua.org/";>Lua</ulink>,
-    <ulink url="http://www.openexr.org";>OpenEXR</ulink>,
-    <xref linkend="pango"/>,
-    <xref linkend="python2"/>,
-    <xref linkend="ruby"/>,
-    <xref linkend="sdl"/>,
-    <xref linkend="gobject-introspection"/>,
-    <xref linkend="vala"/>,
-    <xref linkend="w3m"/>
-    and <ulink 
url="http://www.cise.ufl.edu/research/sparse/umfpack/";>libumfpack</ulink>
+    <para role="optional">
+      <ulink url="http://www.methods.co.nz/asciidoc/";>AsciiDoc</ulink>,
+      <xref linkend="cairo"/>,
+      <ulink url="http://www.gnu.org/software/enscript/";>enscript</ulink>,
+      <xref linkend="exiv2"/>,
+      <xref linkend="ffmpeg"/>,
+      <xref linkend="gdk-pixbuf"/>,
+      <xref linkend="graphviz"/>,
+      <ulink url="http://lensfun.berlios.de/";>lensfun</ulink>,
+      <xref linkend="libjpeg"/>,
+      <ulink url="http://libopenraw.freedesktop.org/wiki/";>libopenraw</ulink>,
+      <xref linkend="libpng"/>,
+      <xref linkend="librsvg"/>,
+      <ulink url="http://libspiro.sourceforge.net/";>libspiro</ulink>,
+      <ulink url="http://www.lua.org/";>Lua</ulink>,
+      <ulink url="http://www.openexr.org";>OpenEXR</ulink>,
+      <xref linkend="pango"/>,
+      <xref linkend="python2"/>,
+      <xref linkend="ruby"/>,
+      <xref linkend="sdl"/>,
+      <xref linkend="gobject-introspection"/>,
+      <xref linkend="vala"/>,
+      <xref linkend="w3m"/> and
+      <ulink 
url="http://www.cise.ufl.edu/research/sparse/umfpack/";>libumfpack</ulink>
     </para>
 
-    <para condition="html" role="usernotes">User Notes:
-    <ulink url='&blfs-wiki;/gegl'/></para>
-
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url='&blfs-wiki;/gegl'/>
+    </para>
   </sect2>
 
   <sect2 role="installation">
     <title>Installation of gegl</title>
 
-    <para>Install <application>gegl</application> by running the following
-    commands:</para>
+    <para>
+      Install <application>gegl</application> by running the following 
commands:
+    </para>
 
 <screen><userinput>echo 'Babl-0.1' > gegl/gegl-0.1.deps &amp;&amp;
+sed -i '/INTROSPECTION_SCANNER_ARGS/s#$# -lgmodule-2.0#' gegl/Makefile.in 
&amp;&amp;
 ./configure --prefix=/usr &amp;&amp;
 make</userinput></screen>
 
-    <para>To test the results, issue: <command>make check</command>.</para>
+    <para>
+      To test the results, issue: <command>make check</command>.
+    </para>
 
-    <para>Now, as the <systemitem class="username">root</systemitem> 
user:</para>
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
 
 <screen role="root"><userinput>make install &amp;&amp;
 install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/gegl
 </userinput></screen>
-
   </sect2>
 
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
-    href="../../xincludes/gtk-doc-rebuild.xml"/>
+    <para>
+      <command>echo 'Babl-0.1' > gegl/gegl-0.1.deps</command>: This command
+      fixes compiling <application>Gegl</application> if you have
+      <xref linkend="gobject-introspection"/> installed.
+    </para>
 
-    <para><command>echo 'Babl-0.1' > gegl/gegl-0.1.deps</command>: This command
-    fixes compiling <application>Gegl</application> if you have
-    <application>Gobject Introspection</application> installed.</para>
+    <para>
+      <command>sed -i '/INTROSPECTION_SCANNER_ARGS/s#$# -lgmodule-2.0#'
+      gegl/Makefile.in</command>: This sed fixes compiling
+      <application>Gegl</application> if you have
+      <application>Glib-2.32</application> and
+      <xref linkend="gobject-introspection"/> installed.
+    </para>
 
-    <para><parameter>install -v -m644 docs/*.{css,html} 
/usr/share/gtk-doc/html/gegl
-    </parameter>:
-    The command '<command>make install</command>' only installs
-    <filename>operations.html</filename>, omitting the stylesheet and
-    <filename>index.html</filename>.  This extra command ensures all the links
-    in the html work.</para>
+    <para>
+      <parameter>install -v -m644 docs/*.{css,html}
+      /usr/share/gtk-doc/html/gegl</parameter>: The command '<command>make
+      install</command>' only installs <filename>operations.html</filename>,
+      omitting the stylesheet and <filename>index.html</filename>. This extra
+      command ensures all the links in the html work.
+    </para>
 
-    <para><option>--without-vala</option>: Do not create a
-    <application>vala</application> API - use this if 
<command>vapigen</command>
-    breaks the build.</para>
+    <para>
+      <option>--without-vala</option>: Do not create a
+      <application>vala</application> API - use this if
+      <command>vapigen</command> breaks the build.
+    </para>
 
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
+    href="../../xincludes/gtk-doc-rebuild.xml"/>
   </sect2>
 
   <sect2 role="content">
@@ -161,7 +195,9 @@
       <varlistentry id="gegl-prog">
         <term><command>gegl</command></term>
         <listitem>
-          <para>is a commandline tool for working with the XML data 
model.</para>
+          <para>
+            is a commandline tool for working with the XML data model.
+          </para>
           <indexterm zone="gegl gegl-prog">
             <primary sortas="b-gegl">gegl</primary>
           </indexterm>
@@ -171,16 +207,15 @@
       <varlistentry id="libgegl-0.1">
         <term><filename class='libraryfile'>libgegl-0.1.so</filename></term>
         <listitem>
-          <para>provides infrastructure to do demand based cached non
-          destructive image editing on larger than RAM buffers.</para>
+          <para>
+            provides infrastructure to do demand based cached non destructive
+            image editing on larger than RAM buffers.
+          </para>
           <indexterm zone="gegl libgegl-0.1">
             <primary sortas="c-libgegl-0.1">libgegl-0.1.so</primary>
           </indexterm>
         </listitem>
       </varlistentry>
-
     </variablelist>
-
   </sect2>
-
 </sect1>

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to