glfs/general/graphlib/gegl.xml
Andrew Benton c966932105 Added a sed to the gegl page to fix compiling with
Glib-2.32 and gobject-introspection-1.30.0 installed

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9781 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-03-27 13:23:32 +00:00

222 lines
6.8 KiB
XML

<?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://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">
<!ENTITY gegl-time "0.8 SBU">
]>
<sect1 id="gegl" xreflabel="gegl-&gegl-version;">
<?dbhtml filename="gegl.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</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>
&lfs71_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">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"/>,
<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>
</sect2>
<sect2 role="installation">
<title>Installation of gegl</title>
<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>
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>
<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>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>
<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">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>gegl</seg>
<seg>libgegl-0.1.so, and libraries in /usr/lib/gegl-0.1/</seg>
<seg>/usr/include/gegl-0.1/</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.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>
<indexterm zone="gegl libgegl-0.1">
<primary sortas="c-libgegl-0.1">libgegl-0.1.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>