libpng-1.5.10

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10255 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-05-31 12:03:23 +00:00
parent 1a825ec613
commit de05930b24
3 changed files with 63 additions and 33 deletions

View File

@ -3,13 +3,13 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "30"> <!-- Always 2 digits -->
<!ENTITY day "31"> <!-- Always 2 digits -->
<!ENTITY month "05"> <!-- Always 2 digits -->
<!ENTITY year "2012">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "May 30th, &year;">
<!ENTITY releasedate "May 31st, &year;">
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
@ -269,7 +269,7 @@ $Date$
<!ENTITY libexif-version "0.6.20">
<!ENTITY libjpeg-version "8d">
<!ENTITY libmng-version "1.0.10">
<!ENTITY libpng-version "1.5.9">
<!ENTITY libpng-version "1.5.10">
<!ENTITY librsvg-version "2.36.1">
<!ENTITY libtiff-version "4.0.1">
<!ENTITY openjpeg-version "1.5.0">

View File

@ -5,11 +5,11 @@
%general-entities;
<!ENTITY libpng-download-http
"&sourceforge-repo;/libpng/libpng-&libpng-version;.tar.xz">
"&sourceforge-repo;/libpng/libpng-&libpng-version;.tar.xz">
<!ENTITY libpng-download-ftp " ">
<!ENTITY libpng-md5sum "05d9ab3705c34954c0032b71318b678a">
<!ENTITY libpng-md5sum "9c2ac3c3a31de2ab867875718f8de18e">
<!ENTITY libpng-size "688 KB">
<!ENTITY libpng-buildsize "8.3 MB">
<!ENTITY libpng-buildsize "8.5 MB">
<!ENTITY libpng-time "0.1 SBU">
<!ENTITY apng-patch
"&sourceforge-repo2;/projects/libpng-apng/files/libpng15/&libpng-version;/libpng-&libpng-version;-apng.patch.gz">
@ -32,10 +32,12 @@
<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. 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>
<para>
The <application>libpng</application> package contains libraries used by
other programs for reading and writing PNG 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>
&lfs71_checked;
@ -64,36 +66,43 @@
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Optional patch to include animated png 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>
<para>
Optional patch to include animated png functionality in
<application>libpng</application> : <ulink url="&apng-patch;"/>
(this 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>
<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>
<para>
If you want to patch libpng to support apng files, apply the patch:
</para>
<screen><userinput>gzip -cd ../libpng-&libpng-version;-apng.patch.gz | patch -p1</userinput></screen>
<para>Install <application>libpng</application> by running the following
commands:</para>
<para>
Install <application>libpng</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make test</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install &amp;&amp;
mkdir /usr/share/doc/libpng-&libpng-version; &amp;&amp;
@ -103,8 +112,8 @@ cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></
<sect2 role="commands">
<title>Command Explanations</title>
<para><option>--disable-static</option>: This option prevents it compiling
the static archive versions of the libraries.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<sect2 role="content">
@ -116,10 +125,18 @@ cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>libpng-config and libpng15-config</seg>
<seg>libpng.so and libpng15.so</seg>
<seg>/usr/include/libpng15 and
/usr/share/doc/libpng-&libpng-version;</seg>
<seg>
libpng-config and
libpng15-config
</seg>
<seg>
libpng.so and
libpng15.so
</seg>
<seg>
/usr/include/libpng15 and
/usr/share/doc/libpng-&libpng-version;
</seg>
</seglistitem>
</segmentedlist>
@ -141,8 +158,10 @@ cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></
<varlistentry id="libpng15-config">
<term><command>libpng15-config</command></term>
<listitem>
<para>provides configuration information for
<application>libpng</application>.</para>
<para>
is a shell script that provides configuration information for
applications wanting to use <application>libpng</application>.
</para>
<indexterm zone="libpng libpng15-config">
<primary sortas="b-libpng15-config">libpng15-config</primary>
</indexterm>
@ -153,8 +172,10 @@ cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></
<term><filename class="libraryfile">libpng.so and
libpng15.so</filename></term>
<listitem>
<para>contain routines used to create and manipulate PNG format
graphics files.</para>
<para>
contain routines used to create and manipulate PNG format graphics
files.
</para>
<indexterm zone="libpng libpng15">
<primary sortas="c-libpng15">libpng15.so</primary>
</indexterm>

View File

@ -41,6 +41,15 @@
</listitem>
-->
<listitem>
<para>May 31st, 2012</para>
<itemizedlist>
<listitem>
<para>[abenton] - Updated LibPNG to 1.5.10.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>May 30th, 2012</para>
<itemizedlist>