[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 " ">
|
---|
[fdc7b924] | 9 | <!ENTITY libpng-md5 "21030102f99f81c37276403e5956d198">
|
---|
[62b734d] | 10 | <!ENTITY libpng-size "371 KB">
|
---|
| 11 | <!ENTITY libpng-buildsize "5.6 MB">
|
---|
[5391b98a] | 12 | <!ENTITY libpng-time "0.2 SBU">
|
---|
[52d29f7] | 13 |
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
[f45b1953] | 16 | <sect1 id="libpng" xreflabel="libpng-&libpng-version;">
|
---|
[5391b98a] | 17 | <sect1info>
|
---|
[5cd0959d] | 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
[5391b98a] | 20 | </sect1info>
|
---|
[7f72cbf] | 21 | <?dbhtml filename="libpng.html"?>
|
---|
[5391b98a] | 22 |
|
---|
[f45b1953] | 23 | <title>libpng-&libpng-version;</title>
|
---|
| 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
|
---|
| 29 | by 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
|
---|
| 34 | url="&libpng-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP): <ulink
|
---|
| 36 | url="&libpng-download-ftp;"/></para></listitem>
|
---|
[e8be2c6] | 37 | <listitem><para>MD5 Sum: &libpng-md5;</para></listitem>
|
---|
[52d29f7] | 38 | <listitem><para>Download size: &libpng-size;</para></listitem>
|
---|
| 39 | <listitem><para>Estimated Disk space required:
|
---|
| 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'>
|
---|
| 47 | <listitem><para>Required Patch to explicitly link libpng against system libraries: <ulink
|
---|
[014d11ad] | 48 | url="&patch-root;/libpng-&libpng-version;-link_to_proper_libs-1.patch"/></para></listitem>
|
---|
[52d29f7] | 49 | </itemizedlist></sect3>
|
---|
[014d11ad] | 50 |
|
---|
[52d29f7] | 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2>
|
---|
| 54 | <title>Installation of <application>libpng</application></title>
|
---|
[014d11ad] | 55 |
|
---|
| 56 | <para>Install <application>libpng</application> by running the following
|
---|
| 57 | commands:</para>
|
---|
| 58 |
|
---|
| 59 | <screen><userinput><command>patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch &&
|
---|
[52d29f7] | 60 | make prefix=/usr ZLIBINC=/usr/include \
|
---|
| 61 | ZLIBLIB=/usr/lib -f scripts/makefile.linux &&
|
---|
| 62 | make prefix=/usr install -f scripts/makefile.linux</command></userinput></screen>
|
---|
[014d11ad] | 63 |
|
---|
[52d29f7] | 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2>
|
---|
| 67 | <title>Command explanations</title>
|
---|
[014d11ad] | 68 |
|
---|
[52d29f7] | 69 | <para><parameter>ZLIBINC=/usr/include ZLIBLIB=/usr/lib</parameter>: This
|
---|
| 70 | forces <application>libpng</application> to look for the
|
---|
[446bd7c] | 71 | <application>zlib</application> includes and libraries where they are
|
---|
[014d11ad] | 72 | installed.</para>
|
---|
| 73 |
|
---|
[446bd7c] | 74 | <para><parameter>-f scripts/makefile.linux</parameter>: This points
|
---|
| 75 | <command>make</command> at the <application>Linux</application> version of the
|
---|
| 76 | <filename>Makefile</filename> as <application>libpng</application> doesn't use
|
---|
| 77 | an <application>autoconf</application> routine. Instead it has various
|
---|
| 78 | <filename>Makefile</filename>s for different platforms.</para>
|
---|
[52d29f7] | 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2>
|
---|
| 83 | <title>Configuring <application>libpng</application></title>
|
---|
[014d11ad] | 84 |
|
---|
[52d29f7] | 85 | <sect3><title>Configuration Information</title>
|
---|
[014d11ad] | 86 |
|
---|
| 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 88 |
|
---|
[52d29f7] | 89 | </sect3>
|
---|
[014d11ad] | 90 |
|
---|
[52d29f7] | 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2>
|
---|
| 94 | <title>Contents</title>
|
---|
[014d11ad] | 95 |
|
---|
| 96 | <para>The <application>libpng</application> package contains
|
---|
[446bd7c] | 97 | <filename class="libraryfile">libpng</filename> libraries and
|
---|
[014d11ad] | 98 | <command>libpng-config</command>.</para>
|
---|
| 99 |
|
---|
[52d29f7] | 100 | </sect2>
|
---|
[014d11ad] | 101 |
|
---|
[52d29f7] | 102 | <sect2><title>Description</title>
|
---|
[014d11ad] | 103 |
|
---|
[62b734d] | 104 | <sect3><title>libpng libraries</title>
|
---|
| 105 | <para>The <filename class="libraryfile">libpng</filename> libraries are
|
---|
| 106 | a collection of routines used to
|
---|
[52d29f7] | 107 | create and manipulate <acronym>PNG</acronym> format graphics files. The
|
---|
| 108 | <acronym>PNG</acronym> format was designed as a
|
---|
| 109 | replacement for <acronym>GIF</acronym> and, to a lesser extent,
|
---|
| 110 | <acronym>TIFF</acronym>, with many improvements and extensions and lack of
|
---|
| 111 | patent problems.</para></sect3>
|
---|
[014d11ad] | 112 |
|
---|
[52d29f7] | 113 | <sect3><title>libpng-config</title>
|
---|
| 114 | <para><command>libpng-config</command> provides configuration info for
|
---|
| 115 | <application>libpng</application>.</para></sect3>
|
---|
[014d11ad] | 116 |
|
---|
[52d29f7] | 117 | </sect2>
|
---|
[f45b1953] | 118 |
|
---|
| 119 | </sect1>
|
---|