source: general/graphlib/libpng.xml@ c5835e1

10.0 10.1 11.0 11.1 11.2 6.0 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 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since c5835e1 was c5835e1, checked in by Larry Lawrence <larry@…>, 18 years ago

pdf adjustment

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

  • Property mode set to 100644
File size: 3.8 KB
Line 
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">
8<!ENTITY libpng-download-ftp " ">
9<!ENTITY libpng-size "369 KB">
10<!ENTITY libpng-buildsize "4.5 MB">
11<!ENTITY libpng-time "0.2 SBU">
12
13]>
14
15<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="libpng.html"?>
21
22<title>libpng-&libpng-version;</title>
23
24<sect2>
25<title>Introduction to <application>libpng</application></title>
26
27<para>The <application>libpng</application> package contains libraries used
28by other programs for reading and writing <acronym>PNG</acronym> files.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink
33url="&libpng-download-http;"/></para></listitem>
34<listitem><para>Download (FTP): <ulink
35url="&libpng-download-ftp;"/></para></listitem>
36<listitem><para>Download size: &libpng-size;</para></listitem>
37<listitem><para>Estimated Disk space required:
38&libpng-buildsize;</para></listitem>
39<listitem><para>Estimated build time:
40&libpng-time;</para></listitem></itemizedlist>
41</sect3>
42
43<sect3><title>Additional downloads</title>
44<itemizedlist spacing='compact'>
45<listitem><para>Required Patch to explicitly link libpng against system libraries: <ulink
46url="&patch-root;/libpng-&libpng-version;-link_to_proper_libs-1.patch"/></para></listitem>
47</itemizedlist></sect3>
48
49</sect2>
50
51<sect2>
52<title>Installation of <application>libpng</application></title>
53
54<para>Install <application>libpng</application> by running the following
55commands:</para>
56
57<screen><userinput><command>patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch &amp;&amp;
58make prefix=/usr ZLIBINC=/usr/include \
59 ZLIBLIB=/usr/lib -f scripts/makefile.linux &amp;&amp;
60make prefix=/usr install -f scripts/makefile.linux</command></userinput></screen>
61
62</sect2>
63
64<sect2>
65<title>Command explanations</title>
66
67<para><parameter>ZLIBINC=/usr/include ZLIBLIB=/usr/lib</parameter>: This
68forces <application>libpng</application> to look for the
69<application>zlib</application> includes and libraries where they are
70installed.</para>
71
72<para><parameter>-f scripts/makefile.linux</parameter>: This points
73<command>make</command> at the <application>Linux</application> version of the
74<filename>Makefile</filename> as <application>libpng</application> doesn't use
75an <application>autoconf</application> routine. Instead it has various
76<filename>Makefile</filename>s for different platforms.</para>
77
78</sect2>
79
80<sect2>
81<title>Configuring <application>libpng</application></title>
82
83<sect3><title>Configuration Information</title>
84
85<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
86
87</sect3>
88
89</sect2>
90
91<sect2>
92<title>Contents</title>
93
94<para>The <application>libpng</application> package contains
95<filename class="libraryfile">libpng</filename> libraries and
96<command>libpng-config</command>.</para>
97
98</sect2>
99
100<sect2><title>Description</title>
101
102<sect3><title>png libraries</title>
103<para>The <acronym>PNG</acronym> library is a collection of routines used to
104create and manipulate <acronym>PNG</acronym> format graphics files. The
105<acronym>PNG</acronym> format was designed as a
106replacement for <acronym>GIF</acronym> and, to a lesser extent,
107<acronym>TIFF</acronym>, with many improvements and extensions and lack of
108patent problems.</para></sect3>
109
110<sect3><title>libpng-config</title>
111<para><command>libpng-config</command> provides configuration info for
112<application>libpng</application>.</para></sect3>
113
114</sect2>
115
116</sect1>
117
Note: See TracBrowser for help on using the repository browser.