[ed733658] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[39dcb8be] | 7 | <!ENTITY jasper-download-http "http://www.ece.uvic.ca/~frodo/jasper/software/jasper-&jasper-version;.tar.gz">
|
---|
[13fdaba] | 8 | <!ENTITY jasper-download-ftp " ">
|
---|
[39dcb8be] | 9 | <!ENTITY jasper-md5sum "124a0d62df74d763af590fdcfb63afae">
|
---|
| 10 | <!ENTITY jasper-size "1.1 MB">
|
---|
| 11 | <!ENTITY jasper-buildsize "10.9 MB">
|
---|
| 12 | <!ENTITY jasper-time "0.1 SBU">
|
---|
[ed733658] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="jasper" xreflabel="JasPer-&jasper-version;">
|
---|
| 16 | <?dbhtml filename="jasper.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[880c568] | 23 | <title>JasPer-&jasper-version;</title>
|
---|
[ed733658] | 24 |
|
---|
| 25 | <indexterm zone="jasper">
|
---|
| 26 | <primary sortas="a-jasper-&jasper-version;">JasPer</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to JasPer</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>JasPer</application> Project is an open-source
|
---|
| 33 | initiative to provide a free software-based reference implementation of the
|
---|
| 34 | JPEG-2000 codec.</para>
|
---|
| 35 |
|
---|
[f3f4cbb] | 36 | &lfs7a_checked;
|
---|
[ed733658] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&jasper-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&jasper-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &jasper-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &jasper-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &jasper-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &jasper-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[13fdaba] | 60 | <bridgehead renderas="sect3">JasPer Dependencies</bridgehead>
|
---|
[ed733658] | 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[f18a6f9] | 63 | <para role="recommended">
|
---|
[f11b659] | 64 | <xref linkend="libjpeg"/>
|
---|
| 65 | </para>
|
---|
| 66 |
|
---|
| 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 68 | <para role="optional">
|
---|
| 69 | <xref linkend="freeglut"/> (required for <command>jiv</command>)
|
---|
| 70 | </para>
|
---|
[ed733658] | 71 |
|
---|
| 72 | <para condition="html" role="usernotes">User Notes:
|
---|
| 73 | <ulink url="&blfs-wiki;/jasper"/></para>
|
---|
| 74 |
|
---|
| 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2 role="installation">
|
---|
[13fdaba] | 78 | <title>Installation of JasPer</title>
|
---|
[ed733658] | 79 |
|
---|
[39dcb8be] | 80 | <screen><userinput>./configure --prefix=/usr \
|
---|
[fc6725ee] | 81 | --enable-shared \
|
---|
| 82 | --disable-static \
|
---|
| 83 | --mandir=/usr/share/man &&
|
---|
[ed733658] | 84 | make</userinput></screen>
|
---|
| 85 |
|
---|
| 86 | <para>This package does not come with a testsuite.</para>
|
---|
| 87 |
|
---|
| 88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 89 |
|
---|
| 90 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 91 |
|
---|
[13fdaba] | 92 | <para>If you wish to install the PDF files for the Reference Manual and a
|
---|
| 93 | tutorial on the JPEG-2000 standard, run the following commands as the
|
---|
| 94 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[ed733658] | 95 |
|
---|
| 96 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/jasper-&jasper-version; &&
|
---|
| 97 | install -v -m644 doc/*.pdf /usr/share/doc/jasper-&jasper-version;</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="commands">
|
---|
| 102 | <title>Command Explanations</title>
|
---|
| 103 |
|
---|
[d278ced] | 104 | <para><parameter>--enable-shared</parameter>: This switch
|
---|
[ed733658] | 105 | causes the shared library to be built.</para>
|
---|
| 106 |
|
---|
[a9880a8b] | 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 108 | href="../../xincludes/static-libraries.xml"/>
|
---|
[39dcb8be] | 109 | <!--
|
---|
| 110 | <para><option>- -x-includes=DIR - -x-libraries=DIR</option>: These tell the
|
---|
[13fdaba] | 111 | <command>configure</command> script where to find <application>Xorg</application>
|
---|
| 112 | if it is not in
|
---|
[ed733658] | 113 | <filename class='directory'>/usr/X11</filename>,
|
---|
| 114 | <filename class='directory'>/usr/X11R6</filename>, or
|
---|
| 115 | <filename class='directory'>/usr</filename>.</para>
|
---|
[39dcb8be] | 116 | -->
|
---|
[ed733658] | 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Library</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>imgcmp, imginfo, jasper, jiv, and tmrdemo</seg>
|
---|
[a9880a8b] | 129 | <seg>libjasper.so</seg>
|
---|
[ed733658] | 130 | <seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
|
---|
| 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | <variablelist>
|
---|
| 135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 136 | <?dbfo list-presentation="list"?>
|
---|
| 137 | <?dbhtml list-presentation="table"?>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="imgcmp">
|
---|
| 140 | <term><command>imgcmp</command></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>compares two images of the same geometry.</para>
|
---|
| 143 | <indexterm zone="jasper imgcmp">
|
---|
| 144 | <primary sortas="b-imgcmp">imgcmp</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="imginfo">
|
---|
| 150 | <term><command>imginfo</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>displays information about an image.</para>
|
---|
| 153 | <indexterm zone="jasper imginfo">
|
---|
| 154 | <primary sortas="b-imginfo">imginfo</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="jasper-command">
|
---|
| 160 | <term><command>jasper</command></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
|
---|
| 163 | and RAS).</para>
|
---|
| 164 | <indexterm zone="jasper jasper">
|
---|
| 165 | <primary sortas="b-jasper">jasper</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="jiv">
|
---|
| 171 | <term><command>jiv</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>displays images.</para>
|
---|
| 174 | <indexterm zone="jasper jiv">
|
---|
| 175 | <primary sortas="b-jiv">jiv</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="tmrdemo">
|
---|
| 181 | <term><command>tmrdemo</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>is a timer demonstration program.</para>
|
---|
| 184 | <indexterm zone="jasper tmrdemo">
|
---|
| 185 | <primary sortas="b-tmrdemo">tmrdemo</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="jasper-lib">
|
---|
[a9880a8b] | 191 | <term><filename class='libraryfile'>libjasper.so</filename></term>
|
---|
[ed733658] | 192 | <listitem>
|
---|
[2f12da13] | 193 | <para>is a library used by programs for reading and writing
|
---|
[ed733658] | 194 | JPEG2000 format files.</para>
|
---|
| 195 | <indexterm zone="jasper jasper-lib">
|
---|
[a9880a8b] | 196 | <primary sortas="c-libjasper">libjasper.so</primary>
|
---|
[ed733658] | 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | </variablelist>
|
---|
| 202 |
|
---|
| 203 | </sect2>
|
---|
| 204 |
|
---|
| 205 | </sect1>
|
---|