mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
3af39b172b
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7913 af4574ff-66df-0310-9fd7-8a98e5e911e0
230 lines
7.4 KiB
XML
230 lines
7.4 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/~mdadams/jasper/software/jasper-&jasper-version;.zip">
|
|
<!ENTITY jasper-download-ftp " ">
|
|
<!ENTITY jasper-md5sum "a342b2b4495b3e1394e161eb5d85d754">
|
|
<!ENTITY jasper-size "1.4 MB">
|
|
<!ENTITY jasper-buildsize "11.1 MB (without the static library)">
|
|
<!ENTITY jasper-time "0.3 SBU">
|
|
]>
|
|
|
|
<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>
|
|
|
|
&lfs65_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">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/jasper-&jasper-version;-security_fixes-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">JasPer Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="unzip"/></para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="optional"><xref linkend="libjpeg"/>,
|
|
<xref linkend="x-window-system"/>, and
|
|
<xref linkend="mesalib"/> or <xref linkend="freeglut"/></para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/jasper"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of JasPer</title>
|
|
|
|
<note>
|
|
<para>The package source is distributed in <filename class="extension">.zip</filename>
|
|
format and requires <command>unzip</command>, but it has been correctly packaged
|
|
and will create the jasper-&jasper-version; directory when you unzip it.</para>
|
|
</note>
|
|
|
|
<screen><userinput>patch -Np1 -i ../jasper-&jasper-version;-security_fixes-1.patch &&
|
|
./configure --prefix=/usr --enable-shared &&
|
|
make</userinput></screen>
|
|
|
|
<para>This package does not come with a testsuite.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
<para>If you wish to install the PDF files for the Reference Manual and a
|
|
tutorial on the JPEG-2000 standard, run the following commands as the
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/jasper-&jasper-version; &&
|
|
install -v -m644 doc/*.pdf /usr/share/doc/jasper-&jasper-version;</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>--enable-shared</command>: This command
|
|
causes the shared library to be built.</para>
|
|
|
|
<para><option>--disable-static</option>: This causes the
|
|
static library to not be built.</para>
|
|
|
|
<para><option>--x-includes=DIR --x-libraries=DIR</option>: These tell the
|
|
<command>configure</command> script where to find <application>Xorg</application>
|
|
if it is not in
|
|
<filename class='directory'>/usr/X11</filename>,
|
|
<filename class='directory'>/usr/X11R6</filename>, or
|
|
<filename class='directory'>/usr</filename>.</para>
|
|
|
|
</sect2>
|
|
|
|
<!-- commented because make install has run ldconfig
|
|
<sect2 role="configuration">
|
|
<title>Configuring JasPer</title>
|
|
|
|
<sect3>
|
|
<title>Configuration Information</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
|
href="../../xincludes/lib-config.xml"/>
|
|
|
|
</sect3>
|
|
|
|
</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, jiv, and tmrdemo</seg>
|
|
<seg>libjasper.{so,a}</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="tmrdemo">
|
|
<term><command>tmrdemo</command></term>
|
|
<listitem>
|
|
<para>is a timer demonstration program.</para>
|
|
<indexterm zone="jasper tmrdemo">
|
|
<primary sortas="b-tmrdemo">tmrdemo</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="jasper-lib">
|
|
<term><filename class='libraryfile'>libjasper.{so,a}</filename></term>
|
|
<listitem>
|
|
<para>a library used by programs for reading and writing
|
|
JPEG2000 format files.</para>
|
|
<indexterm zone="jasper jasper-lib">
|
|
<primary sortas="c-jasper">libjasper.{so,a}</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|