mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
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:
parent
1a825ec613
commit
de05930b24
@ -3,13 +3,13 @@ $LastChangedBy$
|
|||||||
$Date$
|
$Date$
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!ENTITY day "30"> <!-- Always 2 digits -->
|
<!ENTITY day "31"> <!-- Always 2 digits -->
|
||||||
<!ENTITY month "05"> <!-- Always 2 digits -->
|
<!ENTITY month "05"> <!-- Always 2 digits -->
|
||||||
<!ENTITY year "2012">
|
<!ENTITY year "2012">
|
||||||
<!ENTITY copyrightdate "2001-&year;">
|
<!ENTITY copyrightdate "2001-&year;">
|
||||||
<!ENTITY copyholder "The BLFS Development Team">
|
<!ENTITY copyholder "The BLFS Development Team">
|
||||||
<!ENTITY version "&year;-&month;-&day;">
|
<!ENTITY version "&year;-&month;-&day;">
|
||||||
<!ENTITY releasedate "May 30th, &year;">
|
<!ENTITY releasedate "May 31st, &year;">
|
||||||
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
|
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
|
||||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||||
@ -269,7 +269,7 @@ $Date$
|
|||||||
<!ENTITY libexif-version "0.6.20">
|
<!ENTITY libexif-version "0.6.20">
|
||||||
<!ENTITY libjpeg-version "8d">
|
<!ENTITY libjpeg-version "8d">
|
||||||
<!ENTITY libmng-version "1.0.10">
|
<!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 librsvg-version "2.36.1">
|
||||||
<!ENTITY libtiff-version "4.0.1">
|
<!ENTITY libtiff-version "4.0.1">
|
||||||
<!ENTITY openjpeg-version "1.5.0">
|
<!ENTITY openjpeg-version "1.5.0">
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
%general-entities;
|
%general-entities;
|
||||||
|
|
||||||
<!ENTITY libpng-download-http
|
<!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-download-ftp " ">
|
||||||
<!ENTITY libpng-md5sum "05d9ab3705c34954c0032b71318b678a">
|
<!ENTITY libpng-md5sum "9c2ac3c3a31de2ab867875718f8de18e">
|
||||||
<!ENTITY libpng-size "688 KB">
|
<!ENTITY libpng-size "688 KB">
|
||||||
<!ENTITY libpng-buildsize "8.3 MB">
|
<!ENTITY libpng-buildsize "8.5 MB">
|
||||||
<!ENTITY libpng-time "0.1 SBU">
|
<!ENTITY libpng-time "0.1 SBU">
|
||||||
<!ENTITY apng-patch
|
<!ENTITY apng-patch
|
||||||
"&sourceforge-repo2;/projects/libpng-apng/files/libpng15/&libpng-version;/libpng-&libpng-version;-apng.patch.gz">
|
"&sourceforge-repo2;/projects/libpng-apng/files/libpng15/&libpng-version;/libpng-&libpng-version;-apng.patch.gz">
|
||||||
@ -32,10 +32,12 @@
|
|||||||
<sect2 role="package">
|
<sect2 role="package">
|
||||||
<title>Introduction to libpng</title>
|
<title>Introduction to libpng</title>
|
||||||
|
|
||||||
<para>The <application>libpng</application> package contains libraries used
|
<para>
|
||||||
by other programs for reading and writing PNG files. The PNG format was
|
The <application>libpng</application> package contains libraries used by
|
||||||
designed as a replacement for GIF and, to a lesser extent, TIFF, with many
|
other programs for reading and writing PNG files. The PNG format was
|
||||||
improvements and extensions and lack of patent problems.</para>
|
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;
|
&lfs71_checked;
|
||||||
|
|
||||||
@ -64,36 +66,43 @@
|
|||||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||||
<itemizedlist spacing="compact">
|
<itemizedlist spacing="compact">
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Optional patch to include animated png functionality in
|
<para>
|
||||||
<application>libpng</application> : <ulink url="&apng-patch;"/></para>
|
Optional patch to include animated png functionality in
|
||||||
<para>The patch is required if you want to use the system
|
<application>libpng</application> : <ulink url="&apng-patch;"/>
|
||||||
<application>libpng</application> in
|
(this patch is required if you want to use the system
|
||||||
<application>Firefox</application>.</para>
|
<application>libpng</application> in
|
||||||
|
<application>Firefox</application>).
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para condition="html" role="usernotes">User Notes:
|
<para condition="html" role="usernotes">
|
||||||
<ulink url="&blfs-wiki;/libpng"/></para>
|
User Notes: <ulink url="&blfs-wiki;/libpng"/>
|
||||||
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of libpng</title>
|
<title>Installation of libpng</title>
|
||||||
|
|
||||||
<para>If you want to patch libpng to support apng files, apply the
|
<para>
|
||||||
patch:</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>
|
<screen><userinput>gzip -cd ../libpng-&libpng-version;-apng.patch.gz | patch -p1</userinput></screen>
|
||||||
|
|
||||||
<para>Install <application>libpng</application> by running the following
|
<para>
|
||||||
commands:</para>
|
Install <application>libpng</application> by running the following
|
||||||
|
commands:
|
||||||
|
</para>
|
||||||
|
|
||||||
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
<para>To test the results, issue: <command>make test</command>.</para>
|
<para>To test the results, issue: <command>make test</command>.</para>
|
||||||
|
|
||||||
<para>Now, as the <systemitem class="username">root</systemitem>
|
<para>
|
||||||
user:</para>
|
Now, as the <systemitem class="username">root</systemitem> user:
|
||||||
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>make install &&
|
<screen role="root"><userinput>make install &&
|
||||||
mkdir /usr/share/doc/libpng-&libpng-version; &&
|
mkdir /usr/share/doc/libpng-&libpng-version; &&
|
||||||
@ -103,8 +112,8 @@ cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></
|
|||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
<title>Command Explanations</title>
|
<title>Command Explanations</title>
|
||||||
|
|
||||||
<para><option>--disable-static</option>: This option prevents it compiling
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
the static archive versions of the libraries.</para>
|
href="../../xincludes/static-libraries.xml"/>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="content">
|
<sect2 role="content">
|
||||||
@ -116,10 +125,18 @@ cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></
|
|||||||
<segtitle>Installed Directories</segtitle>
|
<segtitle>Installed Directories</segtitle>
|
||||||
|
|
||||||
<seglistitem>
|
<seglistitem>
|
||||||
<seg>libpng-config and libpng15-config</seg>
|
<seg>
|
||||||
<seg>libpng.so and libpng15.so</seg>
|
libpng-config and
|
||||||
<seg>/usr/include/libpng15 and
|
libpng15-config
|
||||||
/usr/share/doc/libpng-&libpng-version;</seg>
|
</seg>
|
||||||
|
<seg>
|
||||||
|
libpng.so and
|
||||||
|
libpng15.so
|
||||||
|
</seg>
|
||||||
|
<seg>
|
||||||
|
/usr/include/libpng15 and
|
||||||
|
/usr/share/doc/libpng-&libpng-version;
|
||||||
|
</seg>
|
||||||
</seglistitem>
|
</seglistitem>
|
||||||
</segmentedlist>
|
</segmentedlist>
|
||||||
|
|
||||||
@ -141,8 +158,10 @@ cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></
|
|||||||
<varlistentry id="libpng15-config">
|
<varlistentry id="libpng15-config">
|
||||||
<term><command>libpng15-config</command></term>
|
<term><command>libpng15-config</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>provides configuration information for
|
<para>
|
||||||
<application>libpng</application>.</para>
|
is a shell script that provides configuration information for
|
||||||
|
applications wanting to use <application>libpng</application>.
|
||||||
|
</para>
|
||||||
<indexterm zone="libpng libpng15-config">
|
<indexterm zone="libpng libpng15-config">
|
||||||
<primary sortas="b-libpng15-config">libpng15-config</primary>
|
<primary sortas="b-libpng15-config">libpng15-config</primary>
|
||||||
</indexterm>
|
</indexterm>
|
||||||
@ -153,8 +172,10 @@ cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></
|
|||||||
<term><filename class="libraryfile">libpng.so and
|
<term><filename class="libraryfile">libpng.so and
|
||||||
libpng15.so</filename></term>
|
libpng15.so</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>contain routines used to create and manipulate PNG format
|
<para>
|
||||||
graphics files.</para>
|
contain routines used to create and manipulate PNG format graphics
|
||||||
|
files.
|
||||||
|
</para>
|
||||||
<indexterm zone="libpng libpng15">
|
<indexterm zone="libpng libpng15">
|
||||||
<primary sortas="c-libpng15">libpng15.so</primary>
|
<primary sortas="c-libpng15">libpng15.so</primary>
|
||||||
</indexterm>
|
</indexterm>
|
||||||
|
@ -41,6 +41,15 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
<listitem>
|
||||||
|
<para>May 31st, 2012</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[abenton] - Updated LibPNG to 1.5.10.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>May 30th, 2012</para>
|
<para>May 30th, 2012</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
Loading…
Reference in New Issue
Block a user