source: general/graphlib/libpng.xml@ a3f014c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a3f014c was a3f014c, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to elfutils-0.170.
Update to libpng-1.6.31.
Update to autovivification-0.17 (Perl Module).
Update to wayland-protocols-1.10.

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

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