source: general/graphlib/libpng.xml@ c5835e1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 c5835e1 was c5835e1, checked in by Larry Lawrence <larry@…>, 20 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
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 " ">
[5391b98a]9<!ENTITY libpng-size "369 KB">
10<!ENTITY libpng-buildsize "4.5 MB">
11<!ENTITY libpng-time "0.2 SBU">
[52d29f7]12
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"?>
[5391b98a]21
[f45b1953]22<title>libpng-&libpng-version;</title>
23
[52d29f7]24<sect2>
25<title>Introduction to <application>libpng</application></title>
[014d11ad]26
[52d29f7]27<para>The <application>libpng</application> package contains libraries used
28by other programs for reading and writing <acronym>PNG</acronym> files.</para>
[014d11ad]29
[52d29f7]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>
[014d11ad]42
[52d29f7]43<sect3><title>Additional downloads</title>
44<itemizedlist spacing='compact'>
45<listitem><para>Required Patch to explicitly link libpng against system libraries: <ulink
[014d11ad]46url="&patch-root;/libpng-&libpng-version;-link_to_proper_libs-1.patch"/></para></listitem>
[52d29f7]47</itemizedlist></sect3>
[014d11ad]48
[52d29f7]49</sect2>
50
51<sect2>
52<title>Installation of <application>libpng</application></title>
[014d11ad]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;
[52d29f7]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>
[014d11ad]61
[52d29f7]62</sect2>
63
64<sect2>
65<title>Command explanations</title>
[014d11ad]66
[52d29f7]67<para><parameter>ZLIBINC=/usr/include ZLIBLIB=/usr/lib</parameter>: This
68forces <application>libpng</application> to look for the
[446bd7c]69<application>zlib</application> includes and libraries where they are
[014d11ad]70installed.</para>
71
[446bd7c]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>
[52d29f7]77
78</sect2>
79
80<sect2>
81<title>Configuring <application>libpng</application></title>
[014d11ad]82
[52d29f7]83<sect3><title>Configuration Information</title>
[014d11ad]84
85<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
86
[52d29f7]87</sect3>
[014d11ad]88
[52d29f7]89</sect2>
90
91<sect2>
92<title>Contents</title>
[014d11ad]93
94<para>The <application>libpng</application> package contains
[446bd7c]95<filename class="libraryfile">libpng</filename> libraries and
[014d11ad]96<command>libpng-config</command>.</para>
97
[52d29f7]98</sect2>
[014d11ad]99
[52d29f7]100<sect2><title>Description</title>
[014d11ad]101
[52d29f7]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>
[014d11ad]109
[52d29f7]110<sect3><title>libpng-config</title>
111<para><command>libpng-config</command> provides configuration info for
112<application>libpng</application>.</para></sect3>
[014d11ad]113
[52d29f7]114</sect2>
[f45b1953]115
116</sect1>
117
Note: See TracBrowser for help on using the repository browser.