[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 |
|
---|
| 7 | <!ENTITY jasper-download-http "http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-&jasper-version;.zip">
|
---|
[13fdaba] | 8 | <!ENTITY jasper-download-ftp " ">
|
---|
[ed733658] | 9 | <!ENTITY jasper-md5sum "a342b2b4495b3e1394e161eb5d85d754">
|
---|
| 10 | <!ENTITY jasper-size "1.4 MB">
|
---|
| 11 | <!ENTITY jasper-buildsize "11.1 MB (without the static library)">
|
---|
| 12 | <!ENTITY jasper-time "0.3 SBU">
|
---|
| 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 |
|
---|
[aed3e6ec] | 36 | &lfs77_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 |
|
---|
| 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Required patch: <ulink
|
---|
[b292906] | 64 | url="&patch-root;/jasper-&jasper-version;-security_fixes-2.patch"/></para>
|
---|
[ed733658] | 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
[13fdaba] | 68 | <bridgehead renderas="sect3">JasPer Dependencies</bridgehead>
|
---|
[ed733658] | 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 71 | <para role="required"><xref linkend="unzip"/></para>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[f18a6f9] | 74 | <para role="recommended">
|
---|
[f11b659] | 75 | <xref linkend="libjpeg"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 79 | <para role="optional">
|
---|
| 80 | <xref linkend="freeglut"/> (required for <command>jiv</command>)
|
---|
| 81 | </para>
|
---|
[ed733658] | 82 |
|
---|
| 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/jasper"/></para>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
[13fdaba] | 89 | <title>Installation of JasPer</title>
|
---|
[ed733658] | 90 |
|
---|
| 91 | <note>
|
---|
[13fdaba] | 92 | <para>The package source is distributed in <filename class="extension">.zip</filename>
|
---|
[ed733658] | 93 | format and requires <command>unzip</command>, but it has been correctly packaged
|
---|
| 94 | and will create the jasper-&jasper-version; directory when you unzip it.</para>
|
---|
| 95 | </note>
|
---|
| 96 |
|
---|
[c68d3a7] | 97 | <screen><userinput>patch -Np1 -i ../jasper-&jasper-version;-security_fixes-2.patch &&
|
---|
[fc6725ee] | 98 | ./configure --prefix=/usr \
|
---|
| 99 | --enable-shared \
|
---|
| 100 | --disable-static \
|
---|
| 101 | --mandir=/usr/share/man &&
|
---|
[ed733658] | 102 | make</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>This package does not come with a testsuite.</para>
|
---|
| 105 |
|
---|
| 106 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 107 |
|
---|
| 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 109 |
|
---|
[13fdaba] | 110 | <para>If you wish to install the PDF files for the Reference Manual and a
|
---|
| 111 | tutorial on the JPEG-2000 standard, run the following commands as the
|
---|
| 112 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[ed733658] | 113 |
|
---|
| 114 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/jasper-&jasper-version; &&
|
---|
| 115 | install -v -m644 doc/*.pdf /usr/share/doc/jasper-&jasper-version;</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
[f11b659] | 122 | <para><parameter>--enable-shared</parameter>: This command
|
---|
[ed733658] | 123 | causes the shared library to be built.</para>
|
---|
| 124 |
|
---|
[a9880a8b] | 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 126 | href="../../xincludes/static-libraries.xml"/>
|
---|
[ed733658] | 127 |
|
---|
[13fdaba] | 128 | <para><option>--x-includes=DIR --x-libraries=DIR</option>: These tell the
|
---|
| 129 | <command>configure</command> script where to find <application>Xorg</application>
|
---|
| 130 | if it is not in
|
---|
[ed733658] | 131 | <filename class='directory'>/usr/X11</filename>,
|
---|
| 132 | <filename class='directory'>/usr/X11R6</filename>, or
|
---|
| 133 | <filename class='directory'>/usr</filename>.</para>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
[13fdaba] | 137 | <!-- commented because make install has run ldconfig
|
---|
[ed733658] | 138 | <sect2 role="configuration">
|
---|
[13fdaba] | 139 | <title>Configuring JasPer</title>
|
---|
[ed733658] | 140 |
|
---|
| 141 | <sect3>
|
---|
| 142 | <title>Configuration Information</title>
|
---|
| 143 |
|
---|
[e05cd03f] | 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[ed733658] | 145 | href="../../xincludes/lib-config.xml"/>
|
---|
| 146 |
|
---|
| 147 | </sect3>
|
---|
| 148 |
|
---|
[13fdaba] | 149 | </sect2>-->
|
---|
[ed733658] | 150 |
|
---|
| 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Programs</segtitle>
|
---|
| 156 | <segtitle>Installed Library</segtitle>
|
---|
| 157 | <segtitle>Installed Directories</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
| 160 | <seg>imgcmp, imginfo, jasper, jiv, and tmrdemo</seg>
|
---|
[a9880a8b] | 161 | <seg>libjasper.so</seg>
|
---|
[ed733658] | 162 | <seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
|
---|
| 163 | </seglistitem>
|
---|
| 164 | </segmentedlist>
|
---|
| 165 |
|
---|
| 166 | <variablelist>
|
---|
| 167 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 168 | <?dbfo list-presentation="list"?>
|
---|
| 169 | <?dbhtml list-presentation="table"?>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="imgcmp">
|
---|
| 172 | <term><command>imgcmp</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>compares two images of the same geometry.</para>
|
---|
| 175 | <indexterm zone="jasper imgcmp">
|
---|
| 176 | <primary sortas="b-imgcmp">imgcmp</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="imginfo">
|
---|
| 182 | <term><command>imginfo</command></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>displays information about an image.</para>
|
---|
| 185 | <indexterm zone="jasper imginfo">
|
---|
| 186 | <primary sortas="b-imginfo">imginfo</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="jasper-command">
|
---|
| 192 | <term><command>jasper</command></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
|
---|
| 195 | and RAS).</para>
|
---|
| 196 | <indexterm zone="jasper jasper">
|
---|
| 197 | <primary sortas="b-jasper">jasper</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="jiv">
|
---|
| 203 | <term><command>jiv</command></term>
|
---|
| 204 | <listitem>
|
---|
| 205 | <para>displays images.</para>
|
---|
| 206 | <indexterm zone="jasper jiv">
|
---|
| 207 | <primary sortas="b-jiv">jiv</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="tmrdemo">
|
---|
| 213 | <term><command>tmrdemo</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>is a timer demonstration program.</para>
|
---|
| 216 | <indexterm zone="jasper tmrdemo">
|
---|
| 217 | <primary sortas="b-tmrdemo">tmrdemo</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="jasper-lib">
|
---|
[a9880a8b] | 223 | <term><filename class='libraryfile'>libjasper.so</filename></term>
|
---|
[ed733658] | 224 | <listitem>
|
---|
| 225 | <para>a library used by programs for reading and writing
|
---|
| 226 | JPEG2000 format files.</para>
|
---|
| 227 | <indexterm zone="jasper jasper-lib">
|
---|
[a9880a8b] | 228 | <primary sortas="c-libjasper">libjasper.so</primary>
|
---|
[ed733658] | 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | </variablelist>
|
---|
| 234 |
|
---|
| 235 | </sect2>
|
---|
| 236 |
|
---|
| 237 | </sect1>
|
---|