source: general/graphlib/libpng.xml@ 78fe2b4

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 78fe2b4 was 78fe2b4, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to Fontconfig-2.7.0.

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

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