source: general/graphlib/libpng.xml@ 757e931

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 757e931 was 757e931, checked in by Igor Živković <igor@…>, 19 years ago

Updated to libpng-1.2.8.

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

  • Property mode set to 100644
File size: 3.9 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 " ">
[757e931]9<!ENTITY libpng-md5 "00cea4539bea4bd34cbf8b82ff9589cd">
10<!ENTITY libpng-size "376 KB">
[62b734d]11<!ENTITY libpng-buildsize "5.6 MB">
[757e931]12<!ENTITY libpng-time "0.14 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
29by 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
34url="&libpng-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink
36url="&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>
[757e931]39<listitem><para>Estimated disk space required:
[52d29f7]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]48url="&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
57commands:</para>
58
59<screen><userinput><command>patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch &amp;&amp;
[52d29f7]60make prefix=/usr ZLIBINC=/usr/include \
61 ZLIBLIB=/usr/lib -f scripts/makefile.linux &amp;&amp;
62make 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
70forces <application>libpng</application> to look for the
[446bd7c]71<application>zlib</application> includes and libraries where they are
[014d11ad]72installed.</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
77an <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
106a collection of routines used to
[52d29f7]107create and manipulate <acronym>PNG</acronym> format graphics files. The
108<acronym>PNG</acronym> format was designed as a
109replacement for <acronym>GIF</acronym> and, to a lesser extent,
110<acronym>TIFF</acronym>, with many improvements and extensions and lack of
111patent 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>
Note: See TracBrowser for help on using the repository browser.