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-md5 "00cea4539bea4bd34cbf8b82ff9589cd">
|
---|
10 | <!ENTITY libpng-size "376 KB">
|
---|
11 | <!ENTITY libpng-buildsize "5.6 MB">
|
---|
12 | <!ENTITY libpng-time "0.14 SBU">
|
---|
13 |
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="libpng" xreflabel="libpng-&libpng-version;">
|
---|
17 | <sect1info>
|
---|
18 | <othername>$LastChangedBy$</othername>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 | <?dbhtml filename="libpng.html"?>
|
---|
22 |
|
---|
23 | <title>libpng-&libpng-version;</title>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>libpng</application></title>
|
---|
27 |
|
---|
28 | <para>The <application>libpng</application> package contains libraries used
|
---|
29 | by other programs for reading and writing <acronym>PNG</acronym> files.</para>
|
---|
30 |
|
---|
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>
|
---|
37 | <listitem><para>Download MD5 Sum: &libpng-md5;</para></listitem>
|
---|
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>
|
---|
44 |
|
---|
45 | <sect3><title>Additional downloads</title>
|
---|
46 | <itemizedlist spacing='compact'>
|
---|
47 | <listitem><para>Required Patch to explicitly link libpng against system libraries: <ulink
|
---|
48 | url="&patch-root;/libpng-&libpng-version;-link_to_proper_libs-1.patch"/></para></listitem>
|
---|
49 | </itemizedlist></sect3>
|
---|
50 |
|
---|
51 | </sect2>
|
---|
52 |
|
---|
53 | <sect2>
|
---|
54 | <title>Installation of <application>libpng</application></title>
|
---|
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 &&
|
---|
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>
|
---|
63 |
|
---|
64 | </sect2>
|
---|
65 |
|
---|
66 | <sect2>
|
---|
67 | <title>Command explanations</title>
|
---|
68 |
|
---|
69 | <para><parameter>ZLIBINC=/usr/include ZLIBLIB=/usr/lib</parameter>: This
|
---|
70 | forces <application>libpng</application> to look for the
|
---|
71 | <application>zlib</application> includes and libraries where they are
|
---|
72 | installed.</para>
|
---|
73 |
|
---|
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>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2>
|
---|
83 | <title>Configuring <application>libpng</application></title>
|
---|
84 |
|
---|
85 | <sect3><title>Configuration Information</title>
|
---|
86 |
|
---|
87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
88 |
|
---|
89 | </sect3>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2>
|
---|
94 | <title>Contents</title>
|
---|
95 |
|
---|
96 | <para>The <application>libpng</application> package contains
|
---|
97 | <filename class="libraryfile">libpng</filename> libraries and
|
---|
98 | <command>libpng-config</command>.</para>
|
---|
99 |
|
---|
100 | </sect2>
|
---|
101 |
|
---|
102 | <sect2><title>Description</title>
|
---|
103 |
|
---|
104 | <sect3><title>libpng libraries</title>
|
---|
105 | <para>The <filename class="libraryfile">libpng</filename> libraries are
|
---|
106 | a collection of routines used to
|
---|
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>
|
---|
112 |
|
---|
113 | <sect3><title>libpng-config</title>
|
---|
114 | <para><command>libpng-config</command> provides configuration info for
|
---|
115 | <application>libpng</application>.</para></sect3>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | </sect1>
|
---|