[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 " ">
|
---|
[c6afa0d] | 9 | <!ENTITY jasper-md5sum "23561b51da8eb5d0dc85b91eff3d9a7f">
|
---|
[e37f388] | 10 | <!ENTITY jasper-size "1.6 MB">
|
---|
[5f8f3c5] | 11 | <!ENTITY jasper-buildsize "11 MB (with tests)">
|
---|
[e37f388] | 12 | <!ENTITY jasper-time "0.3 SBU (with tests)">
|
---|
[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 |
|
---|
[272f28b] | 36 | &lfs83_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 |
|
---|
[25e7f9b7] | 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required">
|
---|
| 64 | <xref linkend="cmake"/>
|
---|
| 65 | </para>
|
---|
| 66 |
|
---|
[ed733658] | 67 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[f18a6f9] | 68 | <para role="recommended">
|
---|
[f11b659] | 69 | <xref linkend="libjpeg"/>
|
---|
| 70 | </para>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 73 | <para role="optional">
|
---|
[14f0e13e] | 74 | <xref linkend="freeglut"/> (required for <command>jiv</command>),
|
---|
[e37f388] | 75 | <xref linkend="doxygen"/> (needed for generating html documentation), and
|
---|
[17b685f1] | 76 | <xref linkend="texlive"/> (needed to regnerate the pdf documentation)
|
---|
[f11b659] | 77 | </para>
|
---|
[ed733658] | 78 |
|
---|
| 79 | <para condition="html" role="usernotes">User Notes:
|
---|
| 80 | <ulink url="&blfs-wiki;/jasper"/></para>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
[13fdaba] | 85 | <title>Installation of JasPer</title>
|
---|
[ed733658] | 86 |
|
---|
[e37f388] | 87 | <screen><userinput>mkdir BUILD &&
|
---|
| 88 | cd BUILD &&
|
---|
| 89 |
|
---|
[86918e9] | 90 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 91 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 92 | -DCMAKE_SKIP_INSTALL_RPATH=YES \
|
---|
[c6afa0d] | 93 | -DJAS_ENABLE_DOC=NO \
|
---|
[14f0e13e] | 94 | -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-&jasper-version; \
|
---|
[e37f388] | 95 | .. &&
|
---|
[ed733658] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[e37f388] | 98 | <para>To test the results, issue: <command>make test</command>.</para>
|
---|
[ed733658] | 99 |
|
---|
| 100 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 101 |
|
---|
| 102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
[c336440] | 109 | <para><option>-DCMAKE_SKIP_INSTALL_RPATH=YES</option>: This option removes
|
---|
[e37f388] | 110 | embedded library search paths.</para>
|
---|
| 111 |
|
---|
[c6afa0d] | 112 | <para><option>-DJAS_ENABLE_DOC=NO</option>: This option disables
|
---|
| 113 | rebuilding the pdf documentation if <xref linkend="texlive"/>
|
---|
| 114 | is installed.</para>
|
---|
| 115 |
|
---|
[ed733658] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Programs</segtitle>
|
---|
| 123 | <segtitle>Installed Library</segtitle>
|
---|
| 124 | <segtitle>Installed Directories</segtitle>
|
---|
| 125 |
|
---|
| 126 | <seglistitem>
|
---|
[e37f388] | 127 | <seg>imgcmp, imginfo, jasper, and jiv</seg>
|
---|
[a9880a8b] | 128 | <seg>libjasper.so</seg>
|
---|
[ed733658] | 129 | <seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
|
---|
| 130 | </seglistitem>
|
---|
| 131 | </segmentedlist>
|
---|
| 132 |
|
---|
| 133 | <variablelist>
|
---|
| 134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 135 | <?dbfo list-presentation="list"?>
|
---|
| 136 | <?dbhtml list-presentation="table"?>
|
---|
| 137 |
|
---|
| 138 | <varlistentry id="imgcmp">
|
---|
| 139 | <term><command>imgcmp</command></term>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>compares two images of the same geometry.</para>
|
---|
| 142 | <indexterm zone="jasper imgcmp">
|
---|
| 143 | <primary sortas="b-imgcmp">imgcmp</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 | </listitem>
|
---|
| 146 | </varlistentry>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="imginfo">
|
---|
| 149 | <term><command>imginfo</command></term>
|
---|
| 150 | <listitem>
|
---|
| 151 | <para>displays information about an image.</para>
|
---|
| 152 | <indexterm zone="jasper imginfo">
|
---|
| 153 | <primary sortas="b-imginfo">imginfo</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="jasper-command">
|
---|
| 159 | <term><command>jasper</command></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
|
---|
| 162 | and RAS).</para>
|
---|
| 163 | <indexterm zone="jasper jasper">
|
---|
| 164 | <primary sortas="b-jasper">jasper</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="jiv">
|
---|
| 170 | <term><command>jiv</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>displays images.</para>
|
---|
| 173 | <indexterm zone="jasper jiv">
|
---|
| 174 | <primary sortas="b-jiv">jiv</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="jasper-lib">
|
---|
[a9880a8b] | 180 | <term><filename class='libraryfile'>libjasper.so</filename></term>
|
---|
[ed733658] | 181 | <listitem>
|
---|
[2f12da13] | 182 | <para>is a library used by programs for reading and writing
|
---|
[ed733658] | 183 | JPEG2000 format files.</para>
|
---|
| 184 | <indexterm zone="jasper jasper-lib">
|
---|
[a9880a8b] | 185 | <primary sortas="c-libjasper">libjasper.so</primary>
|
---|
[ed733658] | 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | </variablelist>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | </sect1>
|
---|