source: general/graphlib/libpng.xml@ 063c012

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 063c012 was 063c012, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Update to libpng-1.6.39.

  • Property mode set to 100644
File size: 6.6 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-dl;/libpng/libpng-&libpng-version;.tar.xz">
8 <!ENTITY libpng-download-ftp " ">
9 <!ENTITY libpng-md5sum "aa1ae92e172417039bda072b702f6326">
10 <!ENTITY libpng-size "1000 KB">
11 <!ENTITY libpng-buildsize "15 MB (with tests)">
12 <!ENTITY libpng-time "0.1 SBU (add 0.5 SBU for tests)">
13
14 <!ENTITY apng-version "1.6.39">
15 <!ENTITY apng-md5sum "cd63b667723d6cc75e95eca3224f33f7">
16
17 <!ENTITY apng-patch
18 "&sourceforge-dl;/sourceforge/libpng-apng/libpng-&apng-version;-apng.patch.gz">
19]>
20
21<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
22 <?dbhtml filename="libpng.html"?>
23
24 <sect1info>
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 &lfs112_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 Recommended 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>,
88 <application>Seamonkey</application>, and
89 <application>Thunderbird</application>): <ulink url="&apng-patch;"/>
90 </para>
91 </listitem>
92 <listitem>
93 <para>
94 Patch md5sum: &apng-md5sum;
95 </para>
96 </listitem>
97 </itemizedlist>
98
99 <para condition="html" role="usernotes">
100 User Notes: <ulink url="&blfs-wiki;/libpng"/>
101 </para>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of libpng</title>
106
107 <para>
108 If you want to patch libpng to support apng files, apply it here:
109 </para>
110
111<screen><userinput>gzip -cd ../libpng-&apng-version;-apng.patch.gz | patch -p1</userinput></screen>
112
113 <para>
114 Install <application>libpng</application> by running the following
115 commands:
116 </para>
117
118<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
119make</userinput></screen>
120
121 <para>
122 To test the results, issue: <command>make check</command>.
123 </para>
124
125 <para>
126 Now, as the <systemitem class="username">root</systemitem> user:
127 </para>
128
129<screen role="root"><userinput>make install &amp;&amp;
130mkdir -v /usr/share/doc/libpng-&libpng-version; &amp;&amp;
131cp -v README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></screen>
132
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
139 href="../../xincludes/static-libraries.xml"/>
140
141 </sect2>
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Programs</segtitle>
148 <segtitle>Installed Libraries</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <seglistitem>
152 <seg>
153 libpng-config (symlink), libpng16-config, pngfix and png-fix-itxt
154 </seg>
155 <seg>
156 libpng.so
157 </seg>
158 <seg>
159 /usr/include/libpng16 and
160 /usr/share/doc/libpng-&libpng-version;
161 </seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="pngfix">
171 <term><command>pngfix</command></term>
172 <listitem>
173 <para>
174 tests, optimizes and optionally fixes the zlib header in PNG files.
175 Optionally, when fixing, strips ancillary chunks from the file
176 </para>
177 <indexterm zone="libpng pngfix">
178 <primary sortas="b-pngfix">pngfix</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="png-fix-itxt">
184 <term><command>png-fix-itxt</command></term>
185 <listitem>
186 <para>
187 fixes PNG files that have an incorrect length field in the
188 iTXt chunks
189 </para>
190 <indexterm zone="libpng png-fix-itxt">
191 <primary sortas="b-png-fix-itxt">png-fix-itxt</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="libpng-config">
197 <term><command>libpng-config</command></term>
198 <listitem>
199 <para>
200 is a shell script that provides configuration information
201 for applications wanting to use
202 <application>libpng</application>
203 </para>
204 <indexterm zone="libpng libpng-config">
205 <primary sortas="b-libpng-config">libpng-config</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="libpng-lin">
211 <term><filename class="libraryfile">libpng.so</filename></term>
212 <listitem>
213 <para>
214 contain routines used to create and manipulate PNG
215 format graphics files
216 </para>
217 <indexterm zone="libpng libpng-lin">
218 <primary sortas="c-libpng">libpng.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 </variablelist>
224
225 </sect2>
226
227</sect1>
Note: See TracBrowser for help on using the repository browser.