[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
|
---|
| 28 | by 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
|
---|
| 33 | url="&libpng-download-http;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download (FTP): <ulink
|
---|
| 35 | url="&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] | 46 | url="&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
|
---|
| 55 | commands:</para>
|
---|
| 56 |
|
---|
| 57 | <screen><userinput><command>patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch &&
|
---|
[52d29f7] | 58 | make prefix=/usr ZLIBINC=/usr/include \
|
---|
| 59 | ZLIBLIB=/usr/lib -f scripts/makefile.linux &&
|
---|
| 60 | make 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
|
---|
| 68 | forces <application>libpng</application> to look for the
|
---|
[446bd7c] | 69 | <application>zlib</application> includes and libraries where they are
|
---|
[014d11ad] | 70 | installed.</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
|
---|
| 75 | an <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
|
---|
| 104 | create and manipulate <acronym>PNG</acronym> format graphics files. The
|
---|
| 105 | <acronym>PNG</acronym> format was designed as a
|
---|
| 106 | replacement for <acronym>GIF</acronym> and, to a lesser extent,
|
---|
| 107 | <acronym>TIFF</acronym>, with many improvements and extensions and lack of
|
---|
| 108 | patent 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 |
|
---|