glfs/general/graphlib/lcms2.xml
2023-08-18 16:30:17 -05:00

215 lines
6.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY lcms2-download-http "https://github.com/mm2/Little-CMS/releases/download/lcms&lcms2-version;/lcms2-&lcms2-version;.tar.gz">
<!ENTITY lcms2-download-ftp " ">
<!ENTITY lcms2-md5sum "7f7baa3e605c961b9301135105ee9a34">
<!ENTITY lcms2-size "7.1 MB">
<!ENTITY lcms2-buildsize "20 MB (with the tests)">
<!ENTITY lcms2-time "0.2 SBU (with the tests)">
]>
<sect1 id="lcms2" xreflabel="Little CMS-&lcms2-version;">
<?dbhtml filename="lcms2.html"?>
<title>Little CMS-&lcms2-version;</title>
<indexterm zone="lcms2">
<primary sortas="a-little-cms2">Little CMS2</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Little CMS2</title>
<para>
The Little Color Management System is a small-footprint color management
engine, with special focus on accuracy and performance. It uses
the International Color Consortium standard (ICC), which is the modern
standard for color management.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&lcms2-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&lcms2-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &lcms2-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &lcms2-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &lcms2-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &lcms2-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Little CMS2 Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="libjpeg"/> and
<xref linkend="libtiff"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Little CMS2</title>
<!-- Will be fixed in the next release (2.15 or 2.14.1?)
https://github.com/mm2/Little-CMS/commit/93629504f8175e0002 -->
<para>
Apply the upstream fix for an issue breaking colord:
</para>
<screen><userinput>sed '/BufferSize &lt; TagSize/,+1 s/goto Error/TagSize = BufferSize/' \
-i src/cmsio0.c</userinput></screen>
<para>
Install <application>Little CMS2</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>jpgicc, linkicc, psicc, tificc, and transicc</seg>
<seg>liblcms2.so</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="jpgicc">
<term><command>jpgicc</command></term>
<listitem>
<para>
is the Little CMS ICC profile applier for JPEG
</para>
<indexterm zone="lcms2 jpgicc">
<primary sortas="b-jpgicc">jpgicc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="linkicc">
<term><command>linkicc</command></term>
<listitem>
<para>
is the Little CMS ICC device link generator
</para>
<indexterm zone="lcms2 linkicc">
<primary sortas="b-linkicc">linkicc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="psicc">
<term><command>psicc</command></term>
<listitem>
<para>
is the Little CMS ICC PostScript generator
</para>
<indexterm zone="lcms2 psicc">
<primary sortas="b-psicc">psicc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="tificc">
<term><command>tificc</command></term>
<listitem>
<para>
is the Little CMS ICC tiff generator
</para>
<indexterm zone="lcms2 tificc">
<primary sortas="b-tificc">tificc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="transicc">
<term><command>transicc</command></term>
<listitem>
<para>
is the Little CMS ColorSpace conversion calculator
</para>
<indexterm zone="lcms2 transicc">
<primary sortas="b-transicc">transicc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="liblcms2">
<term><filename class="libraryfile">liblcms2.so</filename></term>
<listitem>
<para>
contains functions that implement the lcms2 API
</para>
<indexterm zone="lcms2 liblcms2">
<primary sortas="c-liblcms2">liblcms2.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>