glfs/general/graphlib/libjpeg.xml
Igor Živković c0c32c4794 Added a test suite note to libjpeg.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3687 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-04-06 23:23:50 +00:00

168 lines
5.2 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libjpeg-download-http "http://www.ijg.org/files/jpegsrc.v&libjpeg-version;.tar.gz">
<!ENTITY libjpeg-download-ftp "ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v&libjpeg-version;.tar.gz">
<!ENTITY libjpeg-md5sum "dbd5f3b47ed13132f04c685d608a7547">
<!ENTITY libjpeg-size "599 KB">
<!ENTITY libjpeg-buildsize "4.6 MB">
<!ENTITY libjpeg-time "0.15 SBU">
]>
<sect1 id="libjpeg" xreflabel="libjpeg-&libjpeg-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="libjpeg.html"?>
<title>libjpeg-&libjpeg-version;</title>
<indexterm zone="libjpeg">
<primary sortas="a-Libjpeg">Libjpeg</primary></indexterm>
<sect2>
<title>Introduction to <application>libjpeg</application></title>
<para>The <application>libjpeg</application> package contains libraries
that allow compression of image files based on the Joint Photographic Experts
Group standard. It is a "lossy" compression algorithm.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP):
<ulink url="&libjpeg-download-http;"/></para></listitem>
<listitem><para>Download (FTP):
<ulink url="&libjpeg-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &libjpeg-md5sum;</para></listitem>
<listitem><para>Download size: &libjpeg-size;</para></listitem>
<listitem><para>Estimated disk space required:
&libjpeg-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&libjpeg-time;</para></listitem></itemizedlist>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>libjpeg</application></title>
<para>Install <application>libjpeg</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr --enable-static --enable-shared &amp;&amp;
make</command></userinput></screen>
<para>To test the results, issue: <command>make test</command>.</para>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><parameter>--enable-static --enable-shared</parameter>: These switches
tell <application>libjpeg</application> to build both shared and static
libraries.</para>
</sect2>
<sect2>
<title>Configuring <application>libjpeg</application></title>
<sect3><title>Configuration Information</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
</sect3>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>cjpeg, djpeg, jpegtran, rdjpgcom and wrjpgcom</seg>
<seg>libjpeg.[so,a]</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="cjpeg">
<term><command>cjpeg</command></term>
<listitem><para>compresses image files to produce a
<acronym>JPEG</acronym>/<acronym>JFIF</acronym> file on the standard
output. Currently supported input file formats are:
<acronym>PPM</acronym> (PBMPLUS color format), <acronym>PGM</acronym>
(PBMPLUS gray-scale format), <acronym>BMP</acronym>, and Targa.</para>
<indexterm zone="libjpeg cjpeg">
<primary sortas="b-cjpeg">cjpeg</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="djpeg">
<term><command>djpeg</command></term>
<listitem><para>decompresses image files from
<acronym>JPEG</acronym>/<acronym>JFIF</acronym> format to either
<acronym>PPM</acronym> (PBMPLUS color format), <acronym>PGM</acronym>
(PBMPLUS gray-scale format), <acronym>BMP</acronym>, or Targa
format.</para>
<indexterm zone="libjpeg djpeg">
<primary sortas="b-djpeg">djpeg</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="jpegtran">
<term><command>jpegtran</command></term>
<listitem><para>is used for lossless transformation of
<acronym>JPEG</acronym> files.</para>
<indexterm zone="libjpeg jpegtran">
<primary sortas="b-jpegtran">jpegtran</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="rdjpgcom">
<term><command>rdjpgcom</command></term>
<listitem><para>displays text comments from within a <acronym>JPEG</acronym>
file.</para>
<indexterm zone="libjpeg rdjpgcom">
<primary sortas="b-rdjpgcom">rdjpgcom</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="wrjpgcom">
<term><command>wrjpgcom</command></term>
<listitem><para>inserts text comments into a <acronym>JPEG</acronym>
file.</para>
<indexterm zone="libjpeg wrjpgcom">
<primary sortas="b-wrjpgcom">wrjpgcom</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="libjpeg-lib">
<term><filename class='libraryfile'>libjpeg.[so,a]</filename></term>
<listitem><para>library is used by many programs for reading and writing
<acronym>JPEG</acronym> format files.</para>
<indexterm zone="libjpeg libjpeg-lib">
<primary sortas="c-libjpeg">libjpeg.[so,a]</primary>
</indexterm></listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>