glfs/general/graphlib/imlib2.xml
Ag Hatzimanikas f747313ba9 Really apply the patch to the instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7674 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-12-27 07:34:08 +00:00

153 lines
4.9 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 imlib2-download-http "&sourceforge-repo;/enlightenment/imlib2-&imlib2-version;.tar.gz">
<!ENTITY imlib2-download-ftp " ">
<!ENTITY imlib2-md5sum ":0c866a7e696ad5ac58bc9312149f15f0">
<!ENTITY imlib2-size "916 KB">
<!ENTITY imlib2-buildsize "11 MB">
<!ENTITY imlib2-time "0.5 SBU">
]>
<sect1 id="imlib2" xreflabel="Imlib2-&imlib2-version;">
<?dbhtml filename="imlib2.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Imlib2-&imlib2-version;</title>
<indexterm zone="imlib2">
<primary sortas="a-Imlib2">Imlib2</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Imlib2</title>
<para><application>Imlib2</application> is a graphics library for fast file
loading, saving, rendering and manipulation.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&imlib2-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&imlib2-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &imlib2-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &imlib2-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &imlib2-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &imlib2-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required Patch: <ulink
url="&patch-root;/imlib2-&imlib2-version;-CVE-2008-5187.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Imlib2 Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="freetype2"/>,
<xref linkend="libpng"/>, and
<xref linkend="libjpeg"/></para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended"><xref linkend="x-window-system"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="libtiff"/>,
<!-- <xref linkend="libungif"/> or -->
<xref linkend="giflib"/>, and
<ulink url="http://sourceforge.net/projects/mad">libid3tag</ulink></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/imlib2"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Imlib2</title>
<para>Install <application>Imlib2</application> by running the
following commands:</para>
<screen><userinput>patch -Np1 -i ../imlib2-&imlib2-version;-CVE-2008-5187.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/imlib2-&imlib2-version; &amp;&amp;
install -v -m644 doc/{*.gif,index.html} \
/usr/share/doc/imlib2-&imlib2-version;</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--without-x</parameter>: Add this parameter if you do not
have an X Window System installed.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>imlib2_bumpmap, imlib2_colorspace, imlib2-config, imlib2_conv,
imlib2_grab, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view</seg>
<seg>libImlib2.{so,a} and various filters and image loader modules.</seg>
<seg>/usr/lib/imlib2, /usr/share/doc/imlib2-&imlib2-version;, and
/usr/share/imlib2</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libImlib2">
<term><filename class='libraryfile'>libImlib2.{so,a}</filename></term>
<listitem>
<para>provides the functions for programs to deal with various
image data formats.</para>
<indexterm zone="imlib2 libImlib2">
<primary sortas="c-libImlib2">libImlib2.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>