Ignore:
Timestamp:
06/12/2004 10:56:28 PM (20 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
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
Children:
d3edf27
Parents:
bfe245f
Message:

XML Updates to Part III from DJ

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/libpng.xml

    rbfe245f r52d29f7  
     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 "ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.gimp.org/gimp/libs/libpng-&libpng-version;.tar.bz2">
     9<!ENTITY libpng-size "376 KB">
     10<!ENTITY libpng-buildsize "4.1 MB">
     11<!ENTITY libpng-time "0.16 SBU">
     12
     13]>
     14
    115<sect1 id="libpng" xreflabel="libpng-&libpng-version;">
    216<?dbhtml filename="libpng.html"?>
    317<title>libpng-&libpng-version;</title>
    418
    5 &libpng-intro;
    6 &libpng-inst;
    7 &libpng-exp;
    8 &libpng-config;
    9 &libpng-desc;
     19<sect2>
     20<title>Introduction to <application>libpng</application></title>
     21                                                                               
     22<para>The <application>libpng</application> package contains libraries used
     23by other programs for reading and writing <acronym>PNG</acronym> files.</para>
     24                                                                               
     25<sect3><title>Package information</title>
     26<itemizedlist spacing='compact'>
     27<listitem><para>Download (HTTP): <ulink
     28url="&libpng-download-http;"/></para></listitem>
     29<listitem><para>Download (FTP): <ulink
     30url="&libpng-download-ftp;"/></para></listitem>
     31<listitem><para>Download size: &libpng-size;</para></listitem>
     32<listitem><para>Estimated Disk space required:
     33&libpng-buildsize;</para></listitem>
     34<listitem><para>Estimated build time:
     35&libpng-time;</para></listitem></itemizedlist>
     36</sect3>
     37                                                                               
     38<sect3><title>Additional downloads</title>
     39<itemizedlist spacing='compact'>
     40<listitem><para>Required Patch to explicitly link libpng against system libraries: <ulink
     41url="&patch-root;/libpng-&libpng-version;-link-to-proper-libs.patch"/></para></listitem>
     42</itemizedlist></sect3>
     43                                                                               
     44</sect2>
     45
     46<sect2>
     47<title>Installation of <application>libpng</application></title>
     48                                                                               
     49<para>Install <application>libpng</application> by running the following commands:</para>
     50                                                                               
     51<screen><userinput><command>patch -Np1 -i ../libpng-&libpng-version;-link-to-proper-libs.patch &amp;&amp;
     52make prefix=/usr ZLIBINC=/usr/include \
     53    ZLIBLIB=/usr/lib -f scripts/makefile.linux &amp;&amp;
     54make prefix=/usr install -f scripts/makefile.linux</command></userinput></screen>
     55                                                                               
     56</sect2>
     57
     58<sect2>
     59<title>Command explanations</title>
     60                                                                             
     61<para><parameter>ZLIBINC=/usr/include ZLIBLIB=/usr/lib</parameter>: This
     62forces <application>libpng</application> to look for the
     63<application>zlib</application> includes and libraries where we have them installed.</para>
     64                                                                             
     65<para><parameter>-f scripts/makefile.linux</parameter>: This points make at the
     66Linux version of the makefile as <application>libpng</application> doesn't use
     67an autoconf routine. Instead it has various makefiles for different
     68platforms.</para>
     69
     70</sect2>
     71
     72<sect2>
     73<title>Configuring <application>libpng</application></title>
     74                                                                               
     75<sect3><title>Configuration Information</title>
     76                                                                               
     77<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/> 
     78                                                                               
     79</sect3>
     80                                                                               
     81</sect2>
     82
     83<sect2>
     84<title>Contents</title>
     85                                                                               
     86<para>The <application>libpng</application> package contains <filename class="libraryfile">
     87libpng</filename> libraries and <command>libpng-config</command>.</para>
     88                                                                               
     89</sect2>
     90                                                                               
     91<sect2><title>Description</title>
     92                                                                               
     93<sect3><title>png libraries</title>
     94<para>The <acronym>PNG</acronym> library is a collection of routines used to
     95create and manipulate <acronym>PNG</acronym> format graphics files. The
     96<acronym>PNG</acronym> format was designed as a
     97replacement for <acronym>GIF</acronym> and, to a lesser extent,
     98<acronym>TIFF</acronym>, with many improvements and extensions and lack of
     99patent problems.</para></sect3>
     100                                                                               
     101<sect3><title>libpng-config</title>
     102<para><command>libpng-config</command> provides configuration info for
     103<application>libpng</application>.</para></sect3>
     104                                                                               
     105</sect2>
    10106
    11107</sect1>
Note: See TracChangeset for help on using the changeset viewer.