source: general/graphlib/libpng.xml@ c3185e4

10.0 10.1 11.0 11.1 11.2 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since c3185e4 was c3185e4, checked in by Fernando de Oliveira <fernando@…>, 7 years ago

Update to libpng-1.6.17.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15807 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libpng-download-http "&sourceforge-repo;/libpng/libpng-&libpng-version;.tar.xz">
8 <!ENTITY libpng-download-ftp " ">
9 <!ENTITY libpng-md5sum "430a9b76b78533235cd4b9b26ce75c7e">
10 <!ENTITY libpng-size "900 KB">
11 <!ENTITY libpng-buildsize "14 MB (additional 1 MB for the tests)">
12 <!ENTITY libpng-time "0.1 SBU (additional 0.2 SBU for the tests)">
13
14 <!ENTITY apng-version "1.6.17">
15
16 <!ENTITY apng-patch
17 "&sourceforge-repo;/libpng-apng/libpng-&apng-version;-apng.patch.gz">
18]>
19
20<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
21 <?dbhtml filename="libpng.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>libpng-&libpng-version;</title>
29
30 <indexterm zone="libpng">
31 <primary sortas="a-libpng">libpng</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to libpng</title>
36
37 <para>
38 The <application>libpng</application> package contains libraries used
39 by other programs for reading and writing PNG files. The PNG format
40 was designed as a replacement for GIF and, to a lesser extent, TIFF,
41 with many improvements and extensions and lack of patent problems.
42 </para>
43
44 &lfs77_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&libpng-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&libpng-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &libpng-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &libpng-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &libpng-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &libpng-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
81 <itemizedlist spacing="compact">
82 <listitem>
83 <para>
84 Optional patch to include animated png functionality in
85 <application>libpng</application> (required to use the system
86 <application>libpng</application> in
87 <application>Firefox</application>): <ulink url="&apng-patch;"/>
88 </para>
89 </listitem>
90 </itemizedlist>
91
92 <para condition="html" role="usernotes">
93 User Notes: <ulink url="&blfs-wiki;/libpng"/>
94 </para>
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of libpng</title>
99
100 <para>
101 If you want to patch libpng to support apng files, apply the patch:
102 </para>
103
104<screen><userinput>gzip -cd ../libpng-&apng-version;-apng.patch.gz | patch -p1</userinput></screen>
105
106 <para>
107 Install <application>libpng</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 To test the results, issue: <command>make check</command>.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>make install &amp;&amp;
123mkdir -v /usr/share/doc/libpng-&libpng-version; &amp;&amp;
124cp -v README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
132 href="../../xincludes/static-libraries.xml"/>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Libraries</segtitle>
142 <segtitle>Installed Directories</segtitle>
143
144 <seglistitem>
145 <seg>
146 libpng-config (symlink), libpng16-config, pngfix and png-fix-itxt
147 </seg>
148 <seg>
149 libpng.so and libpng16.so
150 </seg>
151 <seg>
152 /usr/include/libpng16 and
153 /usr/share/doc/libpng-&libpng-version;
154 </seg>
155 </seglistitem>
156 </segmentedlist>
157
158 <variablelist>
159 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
160 <?dbfo list-presentation="list"?>
161 <?dbhtml list-presentation="table"?>
162
163 <varlistentry id="pngfix">
164 <term><command>pngfix</command></term>
165 <listitem>
166 <para>
167 tests, optimizes and optionally fixes the zlib header in PNG files.
168 Optionally, when fixing, strips ancillary chunks from the file.
169 </para>
170 <indexterm zone="libpng pngfix">
171 <primary sortas="b-pngfix">pngfix</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="png-fix-itxt">
177 <term><command>png-fix-itxt</command></term>
178 <listitem>
179 <para>
180 fixes PNG files that have an incorrect length field in the
181 iTXt chunks.
182 </para>
183 <indexterm zone="libpng png-fix-itxt">
184 <primary sortas="b-png-fix-itxt">png-fix-itxt</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="libpng-config">
190 <term><command>libpng-config</command></term>
191 <listitem>
192 <para>
193 is a shell script that provides configuration information
194 for applications wanting to use
195 <application>libpng</application>.
196 </para>
197 <indexterm zone="libpng libpng-config">
198 <primary sortas="b-libpng-config">libpng-config</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libpng-lin">
204 <term><filename class="libraryfile">libpng.so</filename></term>
205 <listitem>
206 <para>
207 contain routines used to create and manipulate PNG
208 format graphics files.
209 </para>
210 <indexterm zone="libpng libpng-lin">
211 <primary sortas="c-libpng">libpng.so</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 </variablelist>
217
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.