source: general/graphlib/libpng.xml@ af9079e8

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

Various stats/url fixes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19599 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-dl;/libpng/libpng-&libpng-version;.tar.xz">
8 <!ENTITY libpng-download-ftp " ">
9 <!ENTITY libpng-md5sum "c05b6ca7190a5e387b78657dbe5536b2">
10 <!ENTITY libpng-size "976 KB">
11 <!ENTITY libpng-buildsize "17 MB (with tests)">
12 <!ENTITY libpng-time "less than 0.1 SBU (using parallelism=4; add 0.7 SBU for tests)">
13
14 <!ENTITY apng-version "&libpng-version;">
15 <!ENTITY apng-md5sum "d7a82f1aa85ba628556fb7bd1428668b">
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 <othername>$LastChangedBy$</othername>
26 <date>$Date$</date>
27 </sect1info>
28
29 <title>libpng-&libpng-version;</title>
30
31 <indexterm zone="libpng">
32 <primary sortas="a-libpng">libpng</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to libpng</title>
37
38 <para>
39 The <application>libpng</application> package contains libraries used
40 by other programs for reading and writing PNG files. The PNG format
41 was designed as a replacement for GIF and, to a lesser extent, TIFF,
42 with many improvements and extensions and lack of patent problems.
43 </para>
44
45 &lfs81_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 <listitem>
94 <para>
95 Patch md5sum: &apng-md5sum;
96 </para>
97 </listitem>
98 </itemizedlist>
99
100 <para condition="html" role="usernotes">
101 User Notes: <ulink url="&blfs-wiki;/libpng"/>
102 </para>
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of libpng</title>
107
108 <para>
109 If you want to patch libpng to support apng files, apply it here:
110 </para>
111
112<screen><userinput>gzip -cd ../libpng-&apng-version;-apng.patch.gz | patch -p1</userinput></screen>
113
114 <para>
115 Install <application>libpng</application> by running the following
116 commands:
117 </para>
118
119<screen><userinput>LIBS=-lpthread ./configure --prefix=/usr --disable-static &amp;&amp;
120make</userinput></screen>
121
122 <para>
123 To test the results, issue: <command>make check</command>.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>make install &amp;&amp;
131mkdir -v /usr/share/doc/libpng-&libpng-version; &amp;&amp;
132cp -v README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
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.