glfs/general/graphlib/jasper.xml
Douglas R. Reno 932eaaeacb Final tags for the night
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23558 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-08-18 05:50:43 +00:00

227 lines
6.3 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 jasper-download-http "http://www.ece.uvic.ca/~frodo/jasper/software/jasper-&jasper-version;.tar.gz">
<!ENTITY jasper-download-ftp " ">
<!ENTITY jasper-md5sum "23561b51da8eb5d0dc85b91eff3d9a7f">
<!ENTITY jasper-size "1.6 MB">
<!ENTITY jasper-buildsize "11 MB (with tests)">
<!ENTITY jasper-time "0.3 SBU (with tests)">
]>
<sect1 id="jasper" xreflabel="JasPer-&jasper-version;">
<?dbhtml filename="jasper.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>JasPer-&jasper-version;</title>
<indexterm zone="jasper">
<primary sortas="a-jasper-&jasper-version;">JasPer</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to JasPer</title>
<para>
The <application>JasPer</application> Project is an open-source
initiative to provide a free software-based reference implementation
of the JPEG-2000 codec.
</para>
&lfs10_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&jasper-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&jasper-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &jasper-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &jasper-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &jasper-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &jasper-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">JasPer Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="libjpeg"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="freeglut"/> (required for <command>jiv</command>),
<xref linkend="doxygen"/> (needed for generating html documentation), and
<xref linkend="texlive"/> (needed to regnerate the pdf documentation)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/jasper"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of JasPer</title>
<screen><userinput>mkdir BUILD &amp;&amp;
cd BUILD &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_INSTALL_RPATH=YES \
-DJAS_ENABLE_DOC=NO \
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-&jasper-version; \
.. &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make test</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>
<para>
<parameter>-DCMAKE_SKIP_INSTALL_RPATH=YES</parameter>: This option
removes embedded library search paths.
</para>
<para>
<parameter>-DJAS_ENABLE_DOC=NO</parameter>: This option disables
rebuilding the pdf documentation if <xref linkend="texlive"/>
is installed.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>imgcmp, imginfo, jasper, and jiv</seg>
<seg>libjasper.so</seg>
<seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="imgcmp">
<term><command>imgcmp</command></term>
<listitem>
<para>
compares two images of the same geometry.
</para>
<indexterm zone="jasper imgcmp">
<primary sortas="b-imgcmp">imgcmp</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="imginfo">
<term><command>imginfo</command></term>
<listitem>
<para>
displays information about an image.
</para>
<indexterm zone="jasper imginfo">
<primary sortas="b-imginfo">imginfo</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="jasper-command">
<term><command>jasper</command></term>
<listitem>
<para>
converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
and RAS).
</para>
<indexterm zone="jasper jasper">
<primary sortas="b-jasper">jasper</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="jiv">
<term><command>jiv</command></term>
<listitem>
<para>
displays images.
</para>
<indexterm zone="jasper jiv">
<primary sortas="b-jiv">jiv</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="jasper-lib">
<term><filename class='libraryfile'>libjasper.so</filename></term>
<listitem>
<para>
is a library used by programs for reading and writing
JPEG2000 format files.
</para>
<indexterm zone="jasper jasper-lib">
<primary sortas="c-libjasper">libjasper.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>