source: general/graphlib/libpng.xml@ d0c5ea3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 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 d0c5ea3 was d0c5ea3, checked in by Ken Moffat <ken@…>, 14 years ago

Update to libpng-1.2.44. Tested with LFS-6.6 on x86_64.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8453 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 "&sourceforge-repo;/libpng/libpng-&libpng-version;.tar.bz2">
8 <!ENTITY libpng-download-ftp " ">
9 <!ENTITY libpng-md5sum "e3ac7879d62ad166a6f0c7441390d12b">
10 <!ENTITY libpng-size "643 KB">
11 <!ENTITY libpng-buildsize "14.7 MB">
12 <!ENTITY libpng-time "0.2 SBU">
13]>
14
15<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
16 <?dbhtml filename="libpng.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libpng-&libpng-version;</title>
24
25 <indexterm zone="libpng">
26 <primary sortas="a-Libpng">Libpng</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libpng</title>
31
32 <para>The <application>libpng</application> package contains libraries used
33 by other programs for reading and writing PNG files.</para>
34
35 <!-- Checked with 6.6
36 &lfs65_checked; -->
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&libpng-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&libpng-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &libpng-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &libpng-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &libpng-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &libpng-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing='compact'>
62 <listitem>
63 <para>iOptional patch to include apng functionality in
64 <application>libpng</application> : <ulink
65 url="&patch-root;/libpng-&libpng-version;-apng-1.patch"/></para>
66 <para>Although rejected by upstream, the patch is required if you want
67 to use the system <application>libpng</application> in
68 <application>Firefox</application> 3.</para>
69 </listitem>
70 </itemizedlist>
71
72 <para condition="html" role="usernotes">User Notes:
73 <ulink url="&blfs-wiki;/libpng"/></para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of libpng</title>
79
80 <para>If you want to patch libpng to support apng files, apply the patch:</para>
81
82<screen><userinput>patch -Np1 -i ../libpng-&libpng-version;-apng-1.patch
83</userinput></screen>
84
85 <para>Install <application>libpng</application> by running the following
86 commands:</para>
87
88<screen><userinput>./configure --prefix=/usr &amp;&amp;
89make</userinput></screen>
90
91 <para>To test the results, issue: <command>make check</command>.</para>
92
93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
94
95<screen role="root"><userinput>make install &amp;&amp;
96
97install -v -m755 -d /usr/share/doc/libpng-&libpng-version; &amp;&amp;
98install -v -m644 README libpng-&libpng-version;.txt \
99 /usr/share/doc/libpng-&libpng-version;</userinput></screen>
100
101 </sect2>
102
103 <!-- <sect2 role="commands">
104 <title>Command Explanations</title>
105
106 <para><parameter>ZLIBINC=; ZLIBLIB=</parameter>: This
107 forces <application>libpng</application> to look for the
108 <application>Zlib</application> includes and libraries in the default locations
109 (<filename class='directory'>/usr/include</filename> and
110 <filename class='directory'>/usr/lib</filename> respectively).</para>
111
112 <para><parameter>-f scripts/makefile.linux</parameter>: This points
113 <command>make</command> at the <application>Linux</application> version of the
114 <filename>Makefile</filename> as <application>libpng</application> doesn't use
115 an <application>Autoconf</application> routine. Instead, it has various
116 <filename>Makefile</filename>s for different platforms.</para>
117
118 </sect2> -->
119
120 <!-- <sect2 role="configuration">
121 <title>Configuring libpng</title>
122
123 <sect3>
124 <title>Configuration Information</title>
125
126 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
127 href="../../xincludes/lib-config.xml"/>
128
129 </sect3>
130
131 </sect2> -->
132
133 <sect2 role="content">
134 <title>Contents</title>
135
136 <segmentedlist>
137 <segtitle>Installed Programs</segtitle>
138 <segtitle>Installed Libraries</segtitle>
139 <segtitle>Installed Directories</segtitle>
140
141 <seglistitem>
142 <seg>libpng-config and libpng12-config</seg>
143 <seg>libpng.{so,a} and libpng12.{so,a}</seg>
144 <seg>/usr/include/libpng12 and
145 /usr/share/doc/libpng-&libpng-version;</seg>
146 </seglistitem>
147 </segmentedlist>
148
149 <variablelist>
150 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
151 <?dbfo list-presentation="list"?>
152 <?dbhtml list-presentation="table"?>
153
154 <varlistentry id="libpng-config">
155 <term><command>libpng-config</command></term>
156 <listitem>
157 <para>is a symlink to <command>libpng12-config</command>.</para>
158 <indexterm zone="libpng libpng-config">
159 <primary sortas="g-libpng-config">libpng-config</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="libpng12-config">
165 <term><command>libpng12-config</command></term>
166 <listitem>
167 <para>provides configuration information for
168 <application>libpng</application>.</para>
169 <indexterm zone="libpng libpng12-config">
170 <primary sortas="b-libpng12-config">libpng12-config</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="libpng12">
176 <term><filename class='libraryfile'>libpng.{so,a} and
177 libpng12.{so,a}</filename></term>
178 <listitem>
179 <para>are a collection of routines used to create and manipulate PNG
180 format graphics files. The PNG format was designed as a replacement for
181 GIF and, to a lesser extent, TIFF, with many improvements and extensions
182 and lack of patent problems.</para>
183 <indexterm zone="libpng libpng12">
184 <primary sortas="c-libpng12">libpng12.{so,a}</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.