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