glfs/general/graphlib/libpng.xml
Igor Živković fdc7b924bb Updated libpng's MD5 checksum.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2774 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-10-07 18:29:25 +00:00

120 lines
3.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libpng-download-http "http://prdownloads.sourceforge.net/libpng/libpng-&libpng-version;.tar.bz2">
<!ENTITY libpng-download-ftp " ">
<!ENTITY libpng-md5 "21030102f99f81c37276403e5956d198">
<!ENTITY libpng-size "371 KB">
<!ENTITY libpng-buildsize "5.6 MB">
<!ENTITY libpng-time "0.2 SBU">
]>
<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="libpng.html"?>
<title>libpng-&libpng-version;</title>
<sect2>
<title>Introduction to <application>libpng</application></title>
<para>The <application>libpng</application> package contains libraries used
by other programs for reading and writing <acronym>PNG</acronym> files.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&libpng-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&libpng-download-ftp;"/></para></listitem>
<listitem><para>MD5 Sum: &libpng-md5;</para></listitem>
<listitem><para>Download size: &libpng-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&libpng-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&libpng-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required Patch to explicitly link libpng against system libraries: <ulink
url="&patch-root;/libpng-&libpng-version;-link_to_proper_libs-1.patch"/></para></listitem>
</itemizedlist></sect3>
</sect2>
<sect2>
<title>Installation of <application>libpng</application></title>
<para>Install <application>libpng</application> by running the following
commands:</para>
<screen><userinput><command>patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch &amp;&amp;
make prefix=/usr ZLIBINC=/usr/include \
ZLIBLIB=/usr/lib -f scripts/makefile.linux &amp;&amp;
make prefix=/usr install -f scripts/makefile.linux</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><parameter>ZLIBINC=/usr/include ZLIBLIB=/usr/lib</parameter>: This
forces <application>libpng</application> to look for the
<application>zlib</application> includes and libraries where they are
installed.</para>
<para><parameter>-f scripts/makefile.linux</parameter>: This points
<command>make</command> at the <application>Linux</application> version of the
<filename>Makefile</filename> as <application>libpng</application> doesn't use
an <application>autoconf</application> routine. Instead it has various
<filename>Makefile</filename>s for different platforms.</para>
</sect2>
<sect2>
<title>Configuring <application>libpng</application></title>
<sect3><title>Configuration Information</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
</sect3>
</sect2>
<sect2>
<title>Contents</title>
<para>The <application>libpng</application> package contains
<filename class="libraryfile">libpng</filename> libraries and
<command>libpng-config</command>.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>libpng libraries</title>
<para>The <filename class="libraryfile">libpng</filename> libraries are
a collection of routines used to
create and manipulate <acronym>PNG</acronym> format graphics files. The
<acronym>PNG</acronym> format was designed as a
replacement for <acronym>GIF</acronym> and, to a lesser extent,
<acronym>TIFF</acronym>, with many improvements and extensions and lack of
patent problems.</para></sect3>
<sect3><title>libpng-config</title>
<para><command>libpng-config</command> provides configuration info for
<application>libpng</application>.</para></sect3>
</sect2>
</sect1>