glfs/general/graphlib/lcms.xml
Randy McMurchy 1604a5bd3b Added a patch to fix a build issue, added documentation installation commands, updated build entities and added indexing tags to the lcms instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3736 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-04-15 22:45:20 +00:00

167 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 lcms-download-http "http://www.littlecms.com/lcms-&lcms-version;.tar.gz">
<!ENTITY lcms-download-ftp " ">
<!ENTITY lcms-md5sum "5a803460aeb10e762d97e11a37462a69">
<!ENTITY lcms-size "654 KB">
<!ENTITY lcms-buildsize "18.4 MB">
<!ENTITY lcms-time "0.34 SBU (includes building the Python module)">
]>
<sect1 id="lcms" xreflabel="lcms-&lcms-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="lcms.html"?>
<title>lcms-&lcms-version;</title>
<indexterm zone="lcms">
<primary sortas="a-Lcms">Lcms</primary></indexterm>
<sect2>
<title>Introduction to <application>lcms</application></title>
<para>The lcms library is used by other programs to provide
color management facilities.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&lcms-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&lcms-download-ftp;"/></para></listitem>
<listitem><para>Download MD5 sum: &lcms-md5sum;</para></listitem>
<listitem><para>Download size: &lcms-size;</para></listitem>
<listitem><para>Estimated disk space required:
&lcms-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&lcms-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required patch (if building the
<application>Python</application> module): <ulink
url="&patch-root;/lcms-&lcms-version;-gcc343-1.patch"/></para></listitem>
</itemizedlist>
</sect3>
<sect3><title><application>lcms</application> dependencies</title>
<sect4><title>Optional</title>
<para><xref linkend="libtiff"/>,
<xref linkend="libjpeg"/> and
<xref linkend="python"/> (with
<ulink url="http://www.swig.org/">SWIG</ulink>)</para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>lcms</application></title>
<para>Install <application>lcms</application> by running the following
commands:</para>
<screen><userinput><command>patch -Np1 -i ../lcms-&lcms-version;-gcc343-1.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</command></userinput></screen>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/lcms-&lcms-version; &amp;&amp;
install -v -m644 doc/* /usr/share/doc/lcms-&lcms-version;</command></userinput></screen>
</sect2>
<sect2>
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>icc2ps, icclink, icctrans, wtpt and optionally, tifficc and jpegicc</seg>
<seg>liblcms.[so,a] and the optional _lcms.so Python module</seg>
<seg>/usr/share/doc/lcms-&lcms-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<varlistentry id="icc2ps">
<term><command>icc2ps</command></term>
<listitem><para>generates PostScript <acronym>CRD</acronym> or
<acronym>CSA</acronym> from <acronym>ICC</acronym> profiles.</para>
<indexterm zone="lcms icc2ps">
<primary sortas="b-icc2ps">icc2ps</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="icclink">
<term><command>icclink</command></term>
<listitem><para>links two or more profiles into a single device link
profile.</para>
<indexterm zone="lcms icclink">
<primary sortas="b-icclink">icclink</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="icctrans">
<term><command>icctrans</command></term>
<listitem><para>is a color space conversion calculator.</para>
<indexterm zone="lcms icctrans">
<primary sortas="b-icctrans">icctrans</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="wtpt">
<term><command>wtpt</command></term>
<listitem><para>shows media white of profiles, identifying black body
locus.</para>
<indexterm zone="lcms wtpt">
<primary sortas="b-wtpt">wtpt</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="tifficc">
<term><command>tifficc</command></term>
<listitem><para>is an <acronym>ICC</acronym> profile applier for
<acronym>TIFF</acronym> files.</para>
<indexterm zone="lcms tifficc">
<primary sortas="b-tifficc">tifficc</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="jpegicc">
<term><command>jpegicc</command></term>
<listitem><para>is an <acronym>ICC</acronym> profile applier for
<acronym>JPEG</acronym> files.</para>
<indexterm zone="lcms jpegicc">
<primary sortas="b-jpegicc">jpegicc</primary>
</indexterm></listitem>
</varlistentry>
<varlistentry id="liblcms">
<term><filename class='libraryfile'>liblcms.[so,a]</filename></term>
<listitem><para>is used by the <application>lcms</application> programs as
well as other programs to provide color management facilities.</para>
<indexterm zone="lcms liblcms">
<primary sortas="c-liblcms">liblcms.[so,a]</primary>
</indexterm></listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>