source: general/graphlib/libpng.xml@ e2abad8e

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 e2abad8e was b960e3ec, checked in by Ken Moffat <ken@…>, 12 years ago

Fix 'other' (g-) indexing, apart from truetype - move that to the end of the section. Also correct xorriso (prog) and bazaar (package).

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

  • Property mode set to 100644
File size: 5.8 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
[b690f72]7 <!ENTITY libpng-download-http
[de05930]8 "&sourceforge-repo;/libpng/libpng-&libpng-version;.tar.xz">
[8042630]9 <!ENTITY libpng-download-ftp " ">
[e0f14b5]10 <!ENTITY libpng-md5sum "0fd51add1da6a0e470e0c726c59171b9">
11 <!ENTITY libpng-size "690 KB">
[de05930]12 <!ENTITY libpng-buildsize "8.5 MB">
[5eda319]13 <!ENTITY libpng-time "0.1 SBU">
[b690f72]14 <!ENTITY apng-patch
15 "&sourceforge-repo2;/projects/libpng-apng/files/libpng15/&libpng-version;/libpng-&libpng-version;-apng.patch.gz">
[52d29f7]16]>
17
[f45b1953]18<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
[6b71f17]19 <?dbhtml filename="libpng.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
[8042630]26 <title>libpng-&libpng-version;</title>
[6b71f17]27
28 <indexterm zone="libpng">
29 <primary sortas="a-Libpng">Libpng</primary>
30 </indexterm>
31
[13d6079]32 <sect2 role="package">
[8042630]33 <title>Introduction to libpng</title>
[6b71f17]34
[de05930]35 <para>
36 The <application>libpng</application> package contains libraries used by
37 other programs for reading and writing PNG files. The PNG format was
38 designed as a replacement for GIF and, to a lesser extent, TIFF, with many
39 improvements and extensions and lack of patent problems.
40 </para>
[6b71f17]41
[4c77a949]42 &lfs71_checked;
[a263ccb3]43
[6b71f17]44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>Download (HTTP): <ulink url="&libpng-download-http;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download (FTP): <ulink url="&libpng-download-ftp;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download MD5 sum: &libpng-md5sum;</para>
54 </listitem>
55 <listitem>
56 <para>Download size: &libpng-size;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated disk space required: &libpng-buildsize;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated build time: &libpng-time;</para>
63 </listitem>
64 </itemizedlist>
65
[57fc33d3]66 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[b690f72]67 <itemizedlist spacing="compact">
[6b71f17]68 <listitem>
[de05930]69 <para>
70 Optional patch to include animated png functionality in
[a38269c]71 <application>libpng</application> (required to use the system
[de05930]72 <application>libpng</application> in
[a38269c]73 <application>Firefox</application>): <ulink url="&apng-patch;"/>
[de05930]74 </para>
[6b71f17]75 </listitem>
[57fc33d3]76 </itemizedlist>
[6b71f17]77
[de05930]78 <para condition="html" role="usernotes">
79 User Notes: <ulink url="&blfs-wiki;/libpng"/>
80 </para>
[6b71f17]81 </sect2>
82
83 <sect2 role="installation">
[8042630]84 <title>Installation of libpng</title>
[6b71f17]85
[de05930]86 <para>
87 If you want to patch libpng to support apng files, apply the patch:
88 </para>
[d0c5ea3]89
[7c29359]90<screen><userinput>gzip -cd ../libpng-&libpng-version;-apng.patch.gz | patch -p1</userinput></screen>
[d0c5ea3]91
[de05930]92 <para>
93 Install <application>libpng</application> by running the following
94 commands:
95 </para>
[6b71f17]96
[e0f14b5]97<screen><userinput>./configure --prefix=/usr \
98 --disable-static &amp;&amp;
[8042630]99make</userinput></screen>
100
[2dbb7a74]101 <para>To test the results, issue: <command>make test</command>.</para>
[6b71f17]102
[de05930]103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
[6b71f17]106
[8042630]107<screen role="root"><userinput>make install &amp;&amp;
[b690f72]108mkdir /usr/share/doc/libpng-&libpng-version; &amp;&amp;
109cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version;</userinput></screen>
[6b71f17]110 </sect2>
111
[5eda319]112 <sect2 role="commands">
113 <title>Command Explanations</title>
114
[de05930]115 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
116 href="../../xincludes/static-libraries.xml"/>
[5eda319]117 </sect2>
118
[6b71f17]119 <sect2 role="content">
120 <title>Contents</title>
121
122 <segmentedlist>
123 <segtitle>Installed Programs</segtitle>
124 <segtitle>Installed Libraries</segtitle>
[9de6f91]125 <segtitle>Installed Directories</segtitle>
[6b71f17]126
127 <seglistitem>
[de05930]128 <seg>
129 libpng-config and
130 libpng15-config
131 </seg>
132 <seg>
133 libpng.so and
134 libpng15.so
135 </seg>
136 <seg>
137 /usr/include/libpng15 and
138 /usr/share/doc/libpng-&libpng-version;
139 </seg>
[6b71f17]140 </seglistitem>
141 </segmentedlist>
142
143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
147
148 <varlistentry id="libpng-config">
149 <term><command>libpng-config</command></term>
150 <listitem>
[5eda319]151 <para>is a symlink to <command>libpng15-config</command>.</para>
[6b71f17]152 <indexterm zone="libpng libpng-config">
[b960e3ec]153 <primary sortas="b-libpng-config">libpng-config</primary>
[6b71f17]154 </indexterm>
155 </listitem>
156 </varlistentry>
157
[5eda319]158 <varlistentry id="libpng15-config">
159 <term><command>libpng15-config</command></term>
[6b71f17]160 <listitem>
[de05930]161 <para>
162 is a shell script that provides configuration information for
163 applications wanting to use <application>libpng</application>.
164 </para>
[5eda319]165 <indexterm zone="libpng libpng15-config">
166 <primary sortas="b-libpng15-config">libpng15-config</primary>
[6b71f17]167 </indexterm>
168 </listitem>
169 </varlistentry>
170
[5eda319]171 <varlistentry id="libpng15">
[b690f72]172 <term><filename class="libraryfile">libpng.so and
[5eda319]173 libpng15.so</filename></term>
[6b71f17]174 <listitem>
[de05930]175 <para>
176 contain routines used to create and manipulate PNG format graphics
177 files.
178 </para>
[5eda319]179 <indexterm zone="libpng libpng15">
180 <primary sortas="c-libpng15">libpng15.so</primary>
[6b71f17]181 </indexterm>
182 </listitem>
183 </varlistentry>
184 </variablelist>
185 </sect2>
[f45b1953]186</sect1>
Note: See TracBrowser for help on using the repository browser.