source: general/graphlib/libpng.xml@ 76ae9a2

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 76ae9a2 was 76ae9a2, checked in by Ken Moffat <ken@…>, 14 years ago

Add some entities for LFS-6.6 and LFS-svn.

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