source: general/graphlib/libpng.xml@ 9f12e36

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 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

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