source: general/graphlib/jasper.xml

trunk
Last change on this file was 8141191, checked in by Bruce Dubbs <bdubbs@…>, 4 weeks ago

Update to jasper-4.2.3.

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 "https://github.com/jasper-software/jasper/archive/version-&jasper-version;/jasper-&jasper-version;.tar.gz">
8 <!ENTITY jasper-download-ftp " ">
9 <!ENTITY jasper-md5sum "a1ba86fdad2e800d0cb233c13cd13cb3">
10 <!ENTITY jasper-size "1.9 MB">
11 <!ENTITY jasper-buildsize "9.4 MB (with tests)">
12 <!ENTITY jasper-time "0.3 SBU (with tests)">
13]>
14
15<sect1 id="jasper" xreflabel="JasPer-&jasper-version;">
16 <?dbhtml filename="jasper.html"?>
17
18
19 <title>JasPer-&jasper-version;</title>
20
21 <indexterm zone="jasper">
22 <primary sortas="a-jasper-&jasper-version;">JasPer</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to JasPer</title>
27
28 <para>
29 The <application>JasPer</application> Project is an open-source
30 initiative to provide a free software-based reference implementation
31 of the JPEG-2000 codec.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&jasper-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&jasper-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &jasper-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &jasper-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &jasper-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &jasper-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">JasPer Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="cmake"/>
75 </para>
76
77 <bridgehead renderas="sect4">Recommended</bridgehead>
78 <para role="recommended">
79 <xref linkend="libjpeg"/>
80 </para>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <xref linkend="freeglut"/> (required for <command>jiv</command>),
85 <xref linkend="doxygen"/> (needed for generating html documentation), and
86 <xref linkend="texlive"/> (needed to regenerate the pdf documentation)
87 </para>
88
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of JasPer</title>
93
94 <note>
95 <para>
96 The tarball <emphasis>jasper-&jasper-version;.tar.gz</emphasis> will
97 extract to
98 <emphasis>jasper-version-&jasper-version;</emphasis>.
99 </para>
100 </note>
101<!--
102 <para>
103 First, fix a problem that happens due to cmake-3.22:
104 </para>
105
106<screen><userinput remap="pre">sed -i '/GLUT_glut_LIBRARY/s/^/#/' build/cmake/modules/JasOpenGL.cmake</userinput></screen>
107-->
108 <para>
109 Install <application>JasPer</application> by running the following
110 commands:
111 </para>
112
113<screen><userinput>mkdir BUILD &amp;&amp;
114cd BUILD &amp;&amp;
115
116cmake -DCMAKE_INSTALL_PREFIX=/usr \
117 -DCMAKE_BUILD_TYPE=Release \
118 -DCMAKE_SKIP_INSTALL_RPATH=YES \
119 -DJAS_ENABLE_DOC=NO \
120 -DALLOW_IN_SOURCE_BUILD=YES \
121 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-&jasper-version; \
122 .. &amp;&amp;
123make</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 <para>
152 <parameter>-DALLOW_IN_SOURCE_BUILD=YES</parameter>: This switch allows
153 building from within the source tree. In our case, this is needed to
154 allow us to build inside of the BUILD directory instead of needing to
155 create another directory outside of the source tree.
156 </para>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Library</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>imgcmp, imginfo, jasper, and jiv</seg>
170 <seg>libjasper.so</seg>
171 <seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
172 </seglistitem>
173 </segmentedlist>
174
175 <variablelist>
176 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <?dbfo list-presentation="list"?>
178 <?dbhtml list-presentation="table"?>
179
180 <varlistentry id="imgcmp">
181 <term><command>imgcmp</command></term>
182 <listitem>
183 <para>
184 compares two images of the same geometry
185 </para>
186 <indexterm zone="jasper imgcmp">
187 <primary sortas="b-imgcmp">imgcmp</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="imginfo">
193 <term><command>imginfo</command></term>
194 <listitem>
195 <para>
196 displays information about an image
197 </para>
198 <indexterm zone="jasper imginfo">
199 <primary sortas="b-imginfo">imginfo</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="jasper-command">
205 <term><command>jasper</command></term>
206 <listitem>
207 <para>
208 converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
209 and RAS)
210 </para>
211 <indexterm zone="jasper jasper">
212 <primary sortas="b-jasper">jasper</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="jiv">
218 <term><command>jiv</command></term>
219 <listitem>
220 <para>
221 displays images
222 </para>
223 <indexterm zone="jasper jiv">
224 <primary sortas="b-jiv">jiv</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="jasper-lib">
230 <term><filename class="libraryfile">libjasper.so</filename></term>
231 <listitem>
232 <para>
233 is a library used by programs for reading and writing
234 JPEG2000 format files
235 </para>
236 <indexterm zone="jasper jasper-lib">
237 <primary sortas="c-libjasper">libjasper.so</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 </variablelist>
243
244 </sect2>
245
246</sect1>
Note: See TracBrowser for help on using the repository browser.