source: general/graphlib/libpng.xml@ 2efcd60d

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 2efcd60d was a6ffd3b1, checked in by Bruce Dubbs <bdubbs@…>, 15 years ago

Updated to libpng-1.2.34.

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

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