<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY gegl-download-http "http://download.gimp.org/pub/gegl/0.2/gegl-&gegl-version;.tar.bz2">
  <!ENTITY gegl-download-ftp " ">
<!--  <!ENTITY gegl-download-ftp "ftp://ftp.gimp.org/pub/gegl/0.2/gegl-&gegl-version;.tar.bz2">-->
  <!ENTITY gegl-md5sum        "32b00002f1f1e316115c4ed922e1dec8">
  <!ENTITY gegl-size          "7.2 MB">
  <!ENTITY gegl-buildsize     "50 MB">
  <!ENTITY gegl-time          "0.9 SBU">
]>

<sect1 id="gegl" xreflabel="gegl-&gegl-version;">
  <?dbhtml filename="gegl.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-25 17:44:17 -0500 (Wed, 25 Feb 2015) $</date>
  </sect1info>

  <title>gegl-&gegl-version;</title>

  <indexterm zone="gegl">
    <primary sortas="a-Gegl">Gegl</primary>
  </indexterm>

  <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>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&gegl-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&gegl-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &gegl-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &gegl-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &gegl-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &gegl-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Required patch:
          <ulink url="&patch-root;/gegl-&gegl-version;-ffmpeg2-1.patch"/>
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">gegl Dependencies</bridgehead>


    <bridgehead renderas="sect4">Required</bridgehead>
    <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"/>,
      <xref linkend="enscript"/>,
      <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>,
      <xref linkend="lua"/>,
      <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>
  </sect2>

  <sect2 role="installation">
    <title>Installation of gegl</title>

    <para>
      Install <application>gegl</application> by running the following commands:
    </para>

<screen><userinput>patch -Np1 -i ../gegl-&gegl-version;-ffmpeg2-1.patch &amp;&amp;

./configure --prefix=/usr &amp;&amp;
LC_ALL=en_US make</userinput></screen>

    <para>
      To test the results, issue: <command>make check</command>.
    </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 &amp;&amp;
install -d -v -m755 /usr/share/gtk-doc/html/gegl/images &amp;&amp;
install -v -m644 docs/images/* /usr/share/gtk-doc/html/gegl/images</userinput></screen>
  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para>
      <parameter>install -v -m644/docs/*/{css,html} ...</parameter>:
      This and the subsequent commands install all the provided documentation
      instead of only <filename>operations.html</filename> and the stylesheet
      <filename>gegl.css</filename>.
    </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"/>

    <para>
      <envar>LC_ALL=en_US</envar>: In some locales with <xref linkend='ruby'/>
      installed, one build component fails and prevents completion of the
      procedure.  Using this variable avoids the problem.
    </para>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>gegl</seg>
        <seg>libgegl-0.2.so and libraries in /usr/lib/gegl-0.2</seg>
        <seg>/usr/include/gegl-0.2</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="gegl-prog">
        <term><command>gegl</command></term>
        <listitem>
          <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>
        </listitem>
      </varlistentry>

      <varlistentry id="libgegl-0.2">
        <term><filename class='libraryfile'>libgegl-0.2.so</filename></term>
        <listitem>
          <para>
            provides infrastructure to do demand based cached non destructive
            image editing on larger than RAM buffers.
          </para>
          <indexterm zone="gegl libgegl-0.2">
            <primary sortas="c-libgegl-0.2">libgegl-0.2.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>
    </variablelist>
  </sect2>
</sect1>
