source: general/graphlib/libpng.xml@ 20f09631

10.0 10.1 11.0 11.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 20f09631 was 20f09631, checked in by Fernando de Oliveira <fernando@…>, 7 years ago
  • Update to GNOME-3.18.2.
  • Update to libpng-1.6.19.
  • Update to ffmpeg-2.8.2.
  • FFmpeg-2.8.1 does not build with libvpx-1.5.0. same holds for 2.8.2
  • xinit: Nothing has to be anything less yet "nodump".
  • libreoffice: reinstate what should not have been deleted and include verbose, because I like.
  • LXQt pre-install instructions: I do want extra lines here, although who modified implied that they were so bad instructions and he was only trying to improve.
  • openjdk: as agreed but not done, make test suite optional.

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

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