[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[fce275e] | 7 | <!ENTITY libpng-download-http "&sourceforge-repo;/libpng/libpng-&libpng-version;.tar.bz2">
|
---|
[8042630] | 8 | <!ENTITY libpng-download-ftp " ">
|
---|
[d8069d7] | 9 | <!ENTITY libpng-md5sum "3270bf2990c3174ae939388398de751e">
|
---|
| 10 | <!ENTITY libpng-size "824 KB">
|
---|
| 11 | <!ENTITY libpng-buildsize "11.2 MB">
|
---|
| 12 | <!ENTITY libpng-time "0.3 SBU">
|
---|
| 13 | <!ENTITY apng-patch "&sourceforge-repo2;/projects/libpng-apng/files/libpng-devel/1.5.5/libpng-1.5.5-apng.patch.gz">
|
---|
[52d29f7] | 14 | ]>
|
---|
| 15 |
|
---|
[f45b1953] | 16 | <sect1 id="libpng" xreflabel="libpng-&libpng-version;">
|
---|
[6b71f17] | 17 | <?dbhtml filename="libpng.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[8042630] | 24 | <title>libpng-&libpng-version;</title>
|
---|
[6b71f17] | 25 |
|
---|
| 26 | <indexterm zone="libpng">
|
---|
| 27 | <primary sortas="a-Libpng">Libpng</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
[13d6079] | 30 | <sect2 role="package">
|
---|
[8042630] | 31 | <title>Introduction to libpng</title>
|
---|
[6b71f17] | 32 |
|
---|
| 33 | <para>The <application>libpng</application> package contains libraries used
|
---|
| 34 | by other programs for reading and writing PNG files.</para>
|
---|
| 35 |
|
---|
[d8069d7] | 36 | &lfs70_checked;
|
---|
[a263ccb3] | 37 |
|
---|
[6b71f17] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&libpng-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&libpng-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &libpng-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &libpng-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &libpng-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &libpng-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[57fc33d3] | 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[6b71f17] | 61 | <itemizedlist spacing='compact'>
|
---|
| 62 | <listitem>
|
---|
[76ae9a2] | 63 | <para>Optional patch to include apng functionality in
|
---|
[d8069d7] | 64 | <application>libpng</application> : <ulink url="&apng-patch;"/></para>
|
---|
| 65 | <para>The patch is required if you want to use the system
|
---|
| 66 | <application>libpng</application> in
|
---|
| 67 | <application>Firefox</application>.</para>
|
---|
[6b71f17] | 68 | </listitem>
|
---|
[57fc33d3] | 69 | </itemizedlist>
|
---|
[6b71f17] | 70 |
|
---|
[1039de3] | 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/libpng"/></para>
|
---|
| 73 |
|
---|
[6b71f17] | 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
[8042630] | 77 | <title>Installation of libpng</title>
|
---|
[6b71f17] | 78 |
|
---|
[d0c5ea3] | 79 | <para>If you want to patch libpng to support apng files, apply the patch:</para>
|
---|
| 80 |
|
---|
[d8069d7] | 81 | <screen><userinput>gunzip --stdout ../libpng-1.5.5-apng.patch.gz | patch -Np1</userinput></screen>
|
---|
[d0c5ea3] | 82 |
|
---|
[e9116cc] | 83 | <para>Install <application>libpng</application> by running the following
|
---|
[6b71f17] | 84 | commands:</para>
|
---|
| 85 |
|
---|
[d0c5ea3] | 86 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[8042630] | 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[6b71f17] | 90 |
|
---|
| 91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 92 |
|
---|
[8042630] | 93 | <screen role="root"><userinput>make install &&
|
---|
[9de6f91] | 94 |
|
---|
[8042630] | 95 | install -v -m755 -d /usr/share/doc/libpng-&libpng-version; &&
|
---|
[d8069d7] | 96 | install -v -m644 README libpng-manual.txt \
|
---|
[9de6f91] | 97 | /usr/share/doc/libpng-&libpng-version;</userinput></screen>
|
---|
[6b71f17] | 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="content">
|
---|
| 101 | <title>Contents</title>
|
---|
| 102 |
|
---|
| 103 | <segmentedlist>
|
---|
| 104 | <segtitle>Installed Programs</segtitle>
|
---|
| 105 | <segtitle>Installed Libraries</segtitle>
|
---|
[9de6f91] | 106 | <segtitle>Installed Directories</segtitle>
|
---|
[6b71f17] | 107 |
|
---|
| 108 | <seglistitem>
|
---|
| 109 | <seg>libpng-config and libpng12-config</seg>
|
---|
[14bea4d] | 110 | <seg>libpng.{so,a} and libpng12.{so,a}</seg>
|
---|
[8042630] | 111 | <seg>/usr/include/libpng12 and
|
---|
| 112 | /usr/share/doc/libpng-&libpng-version;</seg>
|
---|
[6b71f17] | 113 | </seglistitem>
|
---|
| 114 | </segmentedlist>
|
---|
| 115 |
|
---|
| 116 | <variablelist>
|
---|
| 117 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 118 | <?dbfo list-presentation="list"?>
|
---|
| 119 | <?dbhtml list-presentation="table"?>
|
---|
| 120 |
|
---|
| 121 | <varlistentry id="libpng-config">
|
---|
| 122 | <term><command>libpng-config</command></term>
|
---|
| 123 | <listitem>
|
---|
| 124 | <para>is a symlink to <command>libpng12-config</command>.</para>
|
---|
| 125 | <indexterm zone="libpng libpng-config">
|
---|
| 126 | <primary sortas="g-libpng-config">libpng-config</primary>
|
---|
| 127 | </indexterm>
|
---|
| 128 | </listitem>
|
---|
| 129 | </varlistentry>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="libpng12-config">
|
---|
| 132 | <term><command>libpng12-config</command></term>
|
---|
| 133 | <listitem>
|
---|
| 134 | <para>provides configuration information for
|
---|
| 135 | <application>libpng</application>.</para>
|
---|
| 136 | <indexterm zone="libpng libpng12-config">
|
---|
| 137 | <primary sortas="b-libpng12-config">libpng12-config</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="libpng12">
|
---|
[14bea4d] | 143 | <term><filename class='libraryfile'>libpng.{so,a} and
|
---|
[1039de3] | 144 | libpng12.{so,a}</filename></term>
|
---|
[6b71f17] | 145 | <listitem>
|
---|
[e9116cc] | 146 | <para>are a collection of routines used to create and manipulate PNG
|
---|
| 147 | format graphics files. The PNG format was designed as a replacement for
|
---|
| 148 | GIF and, to a lesser extent, TIFF, with many improvements and extensions
|
---|
[6b71f17] | 149 | and lack of patent problems.</para>
|
---|
| 150 | <indexterm zone="libpng libpng12">
|
---|
[8042630] | 151 | <primary sortas="c-libpng12">libpng12.{so,a}</primary>
|
---|
[6b71f17] | 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | </variablelist>
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
[f45b1953] | 159 |
|
---|
| 160 | </sect1>
|
---|