source: general/graphlib/libpng.xml@ 1039de3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 1039de3 was 1039de3, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #3

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

  • Property mode set to 100644
File size: 6.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libpng-download-http "http://prdownloads.sourceforge.net/libpng/libpng-&libpng-version;.tar.bz2">
8 <!ENTITY libpng-download-ftp " ">
9 <!ENTITY libpng-md5sum "00cea4539bea4bd34cbf8b82ff9589cd">
10 <!ENTITY libpng-size "376 KB">
11 <!ENTITY libpng-buildsize "5.75 MB">
12 <!ENTITY libpng-time "0.13 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 <keywordset>
22 <keyword role="package">libpng-&libpng-version;.tar</keyword>
23 <keyword role="ftpdir">libpng</keyword>
24 </keywordset>
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>The <application>libpng</application> package contains libraries used
37 by other programs for reading and writing PNG files.</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&libpng-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&libpng-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &libpng-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &libpng-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &libpng-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &libpng-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing='compact'>
63 <listitem>
64 <para>Required Patch to explicitly link
65 <application>libpng</application> against system libraries: <ulink
66 url="&patch-root;/libpng-&libpng-version;-link_to_proper_libs-1.patch"/></para>
67 </listitem>
68 </itemizedlist>
69
70 <para condition="html" role="usernotes">User Notes:
71 <ulink url="&blfs-wiki;/libpng"/></para>
72
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of Libpng</title>
77
78 <para>Install <application>libpng</application> by running the following
79 commands:</para>
80
81<screen><userinput>patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch &amp;&amp;
82make prefix=/usr ZLIBINC= \
83 ZLIBLIB= -f scripts/makefile.linux</userinput></screen>
84
85 <para>To test the results, issue: <command>make -f scripts/makefile.linux
86 test</command>.</para>
87
88 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
89
90<screen role="root"><userinput>make prefix=/usr install -f scripts/makefile.linux</userinput></screen>
91
92 </sect2>
93
94 <sect2 role="commands">
95 <title>Command Explanations</title>
96
97 <para><parameter>ZLIBINC=; ZLIBLIB=</parameter>: This
98 forces <application>libpng</application> to look for the
99 <application>Zlib</application> includes and libraries in the default locations
100 (<filename class='directory'>/usr/include</filename> and
101 <filename class='directory'>/usr/lib</filename> respectively).</para>
102
103 <para><parameter>-f scripts/makefile.linux</parameter>: This points
104 <command>make</command> at the <application>Linux</application> version of the
105 <filename>Makefile</filename> as <application>libpng</application> doesn't use
106 an <application>Autoconf</application> routine. Instead, it has various
107 <filename>Makefile</filename>s for different platforms.</para>
108
109 </sect2>
110
111 <sect2 role="configuration">
112 <title>Configuring Libpng</title>
113
114 <sect3>
115 <title>Configuration Information</title>
116
117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
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>
133 <seg>libpng.{so,a} and libpng12.{so,a}</seg>
134 <seg>/usr/include/libpng12</seg>
135 </seglistitem>
136 </segmentedlist>
137
138 <variablelist>
139 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
140 <?dbfo list-presentation="list"?>
141 <?dbhtml list-presentation="table"?>
142
143 <varlistentry id="libpng-config">
144 <term><command>libpng-config</command></term>
145 <listitem>
146 <para>is a symlink to <command>libpng12-config</command>.</para>
147 <indexterm zone="libpng libpng-config">
148 <primary sortas="g-libpng-config">libpng-config</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="libpng12-config">
154 <term><command>libpng12-config</command></term>
155 <listitem>
156 <para>provides configuration information for
157 <application>libpng</application>.</para>
158 <indexterm zone="libpng libpng12-config">
159 <primary sortas="b-libpng12-config">libpng12-config</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="libpng12">
165 <term><filename class='libraryfile'>libpng.{so,a} and
166 libpng12.{so,a}</filename></term>
167 <listitem>
168 <para>are a collection of routines used to create and manipulate PNG
169 format graphics files. The PNG format was designed as a replacement for
170 GIF and, to a lesser extent, TIFF, with many improvements and extensions
171 and lack of patent problems.</para>
172 <indexterm zone="libpng libpng12">
173 <primary sortas="c-libpng">libpng.{so,a}</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 </variablelist>
179
180 </sect2>
181
182</sect1>
Note: See TracBrowser for help on using the repository browser.