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/~frodo/jasper/software/jasper-&jasper-version;.tar.gz">
|
---|
8 | <!ENTITY jasper-download-ftp " ">
|
---|
9 | <!ENTITY jasper-md5sum "137d435ea37d383863f6765b32867383">
|
---|
10 | <!ENTITY jasper-size "1.3 MB">
|
---|
11 | <!ENTITY jasper-buildsize "9.3 MB (with tests)">
|
---|
12 | <!ENTITY jasper-time "0.2 SBU (with tests)">
|
---|
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 |
|
---|
23 | <title>JasPer-&jasper-version;</title>
|
---|
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>
|
---|
33 | The <application>JasPer</application> Project is an open-source
|
---|
34 | initiative to provide a free software-based reference implementation
|
---|
35 | of the JPEG-2000 codec.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs10_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&jasper-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&jasper-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &jasper-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &jasper-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &jasper-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &jasper-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">JasPer Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="cmake"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="recommended">
|
---|
83 | <xref linkend="libjpeg"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
87 | <para role="optional">
|
---|
88 | <xref linkend="freeglut"/> (required for <command>jiv</command>),
|
---|
89 | <xref linkend="doxygen"/> (needed for generating html documentation), and
|
---|
90 | <xref linkend="texlive"/> (needed to regnerate the pdf documentation)
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <para condition="html" role="usernotes">User Notes:
|
---|
94 | <ulink url="&blfs-wiki;/jasper"/></para>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="installation">
|
---|
99 | <title>Installation of JasPer</title>
|
---|
100 |
|
---|
101 | <note>
|
---|
102 | <para>
|
---|
103 | The tarball <emphasis>jasper-&jasper-version;.tar.gz</emphasis> will
|
---|
104 | extract to
|
---|
105 | <emphasis>jasper-version-&jasper-version;</emphasis>.
|
---|
106 | </para>
|
---|
107 | </note>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Install <application>JasPer</application> by running the following
|
---|
111 | commands:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen><userinput>mkdir BUILD &&
|
---|
115 | cd BUILD &&
|
---|
116 |
|
---|
117 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
118 | -DCMAKE_BUILD_TYPE=Release \
|
---|
119 | -DCMAKE_SKIP_INSTALL_RPATH=YES \
|
---|
120 | -DJAS_ENABLE_DOC=NO \
|
---|
121 | -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-&jasper-version; \
|
---|
122 | .. &&
|
---|
123 | make</userinput></screen>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | To test the results, issue: <command>make test</command>.
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="commands">
|
---|
138 | <title>Command Explanations</title>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | <parameter>-DCMAKE_SKIP_INSTALL_RPATH=YES</parameter>: This option
|
---|
142 | removes embedded library search paths.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | <parameter>-DJAS_ENABLE_DOC=NO</parameter>: This option disables
|
---|
147 | rebuilding the pdf documentation if <xref linkend="texlive"/>
|
---|
148 | is installed.
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2 role="content">
|
---|
154 | <title>Contents</title>
|
---|
155 |
|
---|
156 | <segmentedlist>
|
---|
157 | <segtitle>Installed Programs</segtitle>
|
---|
158 | <segtitle>Installed Library</segtitle>
|
---|
159 | <segtitle>Installed Directories</segtitle>
|
---|
160 |
|
---|
161 | <seglistitem>
|
---|
162 | <seg>imgcmp, imginfo, jasper, and jiv</seg>
|
---|
163 | <seg>libjasper.so</seg>
|
---|
164 | <seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
|
---|
165 | </seglistitem>
|
---|
166 | </segmentedlist>
|
---|
167 |
|
---|
168 | <variablelist>
|
---|
169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
170 | <?dbfo list-presentation="list"?>
|
---|
171 | <?dbhtml list-presentation="table"?>
|
---|
172 |
|
---|
173 | <varlistentry id="imgcmp">
|
---|
174 | <term><command>imgcmp</command></term>
|
---|
175 | <listitem>
|
---|
176 | <para>
|
---|
177 | compares two images of the same geometry.
|
---|
178 | </para>
|
---|
179 | <indexterm zone="jasper imgcmp">
|
---|
180 | <primary sortas="b-imgcmp">imgcmp</primary>
|
---|
181 | </indexterm>
|
---|
182 | </listitem>
|
---|
183 | </varlistentry>
|
---|
184 |
|
---|
185 | <varlistentry id="imginfo">
|
---|
186 | <term><command>imginfo</command></term>
|
---|
187 | <listitem>
|
---|
188 | <para>
|
---|
189 | displays information about an image.
|
---|
190 | </para>
|
---|
191 | <indexterm zone="jasper imginfo">
|
---|
192 | <primary sortas="b-imginfo">imginfo</primary>
|
---|
193 | </indexterm>
|
---|
194 | </listitem>
|
---|
195 | </varlistentry>
|
---|
196 |
|
---|
197 | <varlistentry id="jasper-command">
|
---|
198 | <term><command>jasper</command></term>
|
---|
199 | <listitem>
|
---|
200 | <para>
|
---|
201 | converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
|
---|
202 | and RAS).
|
---|
203 | </para>
|
---|
204 | <indexterm zone="jasper jasper">
|
---|
205 | <primary sortas="b-jasper">jasper</primary>
|
---|
206 | </indexterm>
|
---|
207 | </listitem>
|
---|
208 | </varlistentry>
|
---|
209 |
|
---|
210 | <varlistentry id="jiv">
|
---|
211 | <term><command>jiv</command></term>
|
---|
212 | <listitem>
|
---|
213 | <para>
|
---|
214 | displays images.
|
---|
215 | </para>
|
---|
216 | <indexterm zone="jasper jiv">
|
---|
217 | <primary sortas="b-jiv">jiv</primary>
|
---|
218 | </indexterm>
|
---|
219 | </listitem>
|
---|
220 | </varlistentry>
|
---|
221 |
|
---|
222 | <varlistentry id="jasper-lib">
|
---|
223 | <term><filename class='libraryfile'>libjasper.so</filename></term>
|
---|
224 | <listitem>
|
---|
225 | <para>
|
---|
226 | is a library used by programs for reading and writing
|
---|
227 | JPEG2000 format files.
|
---|
228 | </para>
|
---|
229 | <indexterm zone="jasper jasper-lib">
|
---|
230 | <primary sortas="c-libjasper">libjasper.so</primary>
|
---|
231 | </indexterm>
|
---|
232 | </listitem>
|
---|
233 | </varlistentry>
|
---|
234 |
|
---|
235 | </variablelist>
|
---|
236 |
|
---|
237 | </sect2>
|
---|
238 |
|
---|
239 | </sect1>
|
---|