source: general/graphlib/libpng.xml@ 31ab0f7

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 31ab0f7 was 31ab0f7, checked in by Krejzi <krejzi@…>, 11 years ago

Package updates.

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

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