source: general/graphlib/libpng.xml@ 3cf6041d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 9.0 9.1 gimp3 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 upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3cf6041d was 3cf6041d, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Archive alpine

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

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