source: general/graphlib/libpng.xml@ 177e2f9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 177e2f9 was 177e2f9, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

libpng-1.6.11
MesaLib-10.2.1
qpdf-5.1.2
nspr-4.10.6
MariaDB-10.0.11: move switch -DWITH_EMBEDDED_SERVER=ON to parameter.

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