source: general/graphlib/libpng.xml@ ea97e13

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 ea97e13 was ea97e13, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated build entities and added indexing tags to libpng

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

  • Property mode set to 100644
File size: 5.0 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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">
[c5835e1]8<!ENTITY libpng-download-ftp " ">
[757e931]9<!ENTITY libpng-md5 "00cea4539bea4bd34cbf8b82ff9589cd">
10<!ENTITY libpng-size "376 KB">
[ea97e13]11<!ENTITY libpng-buildsize "5.75 MB">
12<!ENTITY libpng-time "0.13 SBU">
[52d29f7]13]>
14
[f45b1953]15<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
[5391b98a]16<sect1info>
[5cd0959d]17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
[5391b98a]19</sect1info>
[7f72cbf]20<?dbhtml filename="libpng.html"?>
[f45b1953]21<title>libpng-&libpng-version;</title>
[ea97e13]22<indexterm zone="libpng">
23<primary sortas="a-Libpng">Libpng</primary></indexterm>
[f45b1953]24
[52d29f7]25<sect2>
26<title>Introduction to <application>libpng</application></title>
[014d11ad]27
[52d29f7]28<para>The <application>libpng</application> package contains libraries used
29by other programs for reading and writing <acronym>PNG</acronym> files.</para>
[014d11ad]30
[52d29f7]31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP): <ulink
34url="&libpng-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink
36url="&libpng-download-ftp;"/></para></listitem>
[239e8ca]37<listitem><para>Download MD5 Sum: &libpng-md5;</para></listitem>
[52d29f7]38<listitem><para>Download size: &libpng-size;</para></listitem>
[757e931]39<listitem><para>Estimated disk space required:
[52d29f7]40&libpng-buildsize;</para></listitem>
41<listitem><para>Estimated build time:
42&libpng-time;</para></listitem></itemizedlist>
43</sect3>
[014d11ad]44
[52d29f7]45<sect3><title>Additional downloads</title>
46<itemizedlist spacing='compact'>
[ea97e13]47<listitem><para>Required Patch to explicitly link
48<application>libpng</application> against system libraries: <ulink
49url="&patch-root;/libpng-&libpng-version;-link_to_proper_libs-1.patch"/></para>
50</listitem>
[52d29f7]51</itemizedlist></sect3>
[014d11ad]52
[52d29f7]53</sect2>
54
55<sect2>
56<title>Installation of <application>libpng</application></title>
[014d11ad]57
58<para>Install <application>libpng</application> by running the following
59commands:</para>
60
61<screen><userinput><command>patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch &amp;&amp;
[52d29f7]62make prefix=/usr ZLIBINC=/usr/include \
[ea97e13]63 ZLIBLIB=/usr/lib -f scripts/makefile.linux</command></userinput></screen>
64
65<para>Now, as the root user:</para>
66
67<screen><userinput role='root'><command>make prefix=/usr install -f scripts/makefile.linux</command></userinput></screen>
[014d11ad]68
[52d29f7]69</sect2>
70
71<sect2>
72<title>Command explanations</title>
[014d11ad]73
[52d29f7]74<para><parameter>ZLIBINC=/usr/include ZLIBLIB=/usr/lib</parameter>: This
75forces <application>libpng</application> to look for the
[446bd7c]76<application>zlib</application> includes and libraries where they are
[014d11ad]77installed.</para>
78
[446bd7c]79<para><parameter>-f scripts/makefile.linux</parameter>: This points
80<command>make</command> at the <application>Linux</application> version of the
81<filename>Makefile</filename> as <application>libpng</application> doesn't use
[ea97e13]82an <application>autoconf</application> routine. Instead, it has various
[446bd7c]83<filename>Makefile</filename>s for different platforms.</para>
[52d29f7]84
85</sect2>
86
87<sect2>
88<title>Configuring <application>libpng</application></title>
[014d11ad]89
[52d29f7]90<sect3><title>Configuration Information</title>
[014d11ad]91
92<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
93
[52d29f7]94</sect3>
[014d11ad]95
[52d29f7]96</sect2>
97
98<sect2>
99<title>Contents</title>
[014d11ad]100
[ea97e13]101<segmentedlist>
102<segtitle>Installed Programs</segtitle>
103<segtitle>Installed Libraries</segtitle>
104<segtitle>Installed Directory</segtitle>
105
106<seglistitem>
107<seg>libpng-config and libpng12-config</seg>
108<seg>libpng.[so,a] and libpng12.[so,a]</seg>
109<seg>/usr/include/libpng12</seg>
110</seglistitem>
111</segmentedlist>
112
113<variablelist>
114<bridgehead renderas="sect3">Short Descriptions</bridgehead>
115<?dbfo list-presentation="list"?>
116
117<varlistentry id="libpng-config">
118<term><command>libpng-config</command></term>
119<listitem><para>is a symlink to <command>libpng12-config</command>.</para>
120<indexterm zone="libpng libpng-config">
121<primary sortas="g-libpng-config">libpng-config</primary>
122</indexterm></listitem>
123</varlistentry>
124
125<varlistentry id="libpng12-config">
126<term><command>libpng12-config</command></term>
127<listitem><para>provides configuration information for
128<application>libpng</application>.</para>
129<indexterm zone="libpng libpng12-config">
130<primary sortas="b-libpng12-config">libpng12-config</primary>
131</indexterm></listitem>
132</varlistentry>
133
134<varlistentry id="libpng12">
135<term><filename class='libraryfile'>libpng.[so,a] and
136libpng12.[so,a]</filename></term>
137<listitem><para>libraries are a collection of routines used to create and
138manipulate <acronym>PNG</acronym> format graphics files. The
139<acronym>PNG</acronym> format was designed as a replacement for
140<acronym>GIF</acronym> and, to a lesser extent, <acronym>TIFF</acronym>, with
141many improvements and extensions and lack of patent problems.</para>
142<indexterm zone="libpng libpng12">
143<primary sortas="c-libpng">libpng.[so,a]</primary>
144</indexterm></listitem>
145</varlistentry>
146</variablelist>
[014d11ad]147
[52d29f7]148</sect2>
[f45b1953]149
150</sect1>
Note: See TracBrowser for help on using the repository browser.