glfs/general/graphlib/libpng.xml
Bruce Dubbs d8069d709f Update to Berkeley DB-5.2.36.
Add sharutils-4.11.
Update to tcl-8.5.10.
Update to libpng-1.5.5.
Update to jpeg-8c.
Update to libffi-3.0.10.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8919 af4574ff-66df-0310-9fd7-8a98e5e911e0
2011-10-26 04:34:14 +00:00

161 lines
5.4 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 libpng-download-http "&sourceforge-repo;/libpng/libpng-&libpng-version;.tar.bz2">
<!ENTITY libpng-download-ftp " ">
<!ENTITY libpng-md5sum "3270bf2990c3174ae939388398de751e">
<!ENTITY libpng-size "824 KB">
<!ENTITY libpng-buildsize "11.2 MB">
<!ENTITY libpng-time "0.3 SBU">
<!ENTITY apng-patch "&sourceforge-repo2;/projects/libpng-apng/files/libpng-devel/1.5.5/libpng-1.5.5-apng.patch.gz">
]>
<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
<?dbhtml filename="libpng.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libpng-&libpng-version;</title>
<indexterm zone="libpng">
<primary sortas="a-Libpng">Libpng</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libpng</title>
<para>The <application>libpng</application> package contains libraries used
by other programs for reading and writing PNG files.</para>
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<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>Download MD5 sum: &libpng-md5sum;</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>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Optional patch to include apng functionality in
<application>libpng</application> : <ulink url="&apng-patch;"/></para>
<para>The patch is required if you want to use the system
<application>libpng</application> in
<application>Firefox</application>.</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libpng"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of libpng</title>
<para>If you want to patch libpng to support apng files, apply the patch:</para>
<screen><userinput>gunzip --stdout ../libpng-1.5.5-apng.patch.gz | patch -Np1</userinput></screen>
<para>Install <application>libpng</application> by running the following
commands:</para>
<screen><userinput>./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 -m755 -d /usr/share/doc/libpng-&libpng-version; &amp;&amp;
install -v -m644 README libpng-manual.txt \
/usr/share/doc/libpng-&libpng-version;</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>libpng-config and libpng12-config</seg>
<seg>libpng.{so,a} and libpng12.{so,a}</seg>
<seg>/usr/include/libpng12 and
/usr/share/doc/libpng-&libpng-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libpng-config">
<term><command>libpng-config</command></term>
<listitem>
<para>is a symlink to <command>libpng12-config</command>.</para>
<indexterm zone="libpng libpng-config">
<primary sortas="g-libpng-config">libpng-config</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpng12-config">
<term><command>libpng12-config</command></term>
<listitem>
<para>provides configuration information for
<application>libpng</application>.</para>
<indexterm zone="libpng libpng12-config">
<primary sortas="b-libpng12-config">libpng12-config</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libpng12">
<term><filename class='libraryfile'>libpng.{so,a} and
libpng12.{so,a}</filename></term>
<listitem>
<para>are a collection of routines used to create and manipulate PNG
format graphics files. The PNG format was designed as a replacement for
GIF and, to a lesser extent, TIFF, with many improvements and extensions
and lack of patent problems.</para>
<indexterm zone="libpng libpng12">
<primary sortas="c-libpng12">libpng12.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>