source: general/graphlib/jasper.xml@ 83e98db

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 83e98db was ac0d66d, checked in by Douglas R. Reno <renodr@…>, 16 months ago

Tags for PHP dependencies

  • Property mode set to 100644
File size: 6.8 KB
Line 
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 "https://github.com/jasper-software/jasper/archive/version-&jasper-version;/jasper-&jasper-version;.tar.gz">
8 <!ENTITY jasper-download-ftp " ">
9 <!ENTITY jasper-md5sum "1578be3c1e329fdaae35d98dd804ed95">
10 <!ENTITY jasper-size "1.9 MB">
11 <!ENTITY jasper-buildsize "9.5 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 &lfs113_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 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/jasper"/></para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of JasPer</title>
96
97 <note>
98 <para>
99 The tarball <emphasis>jasper-&jasper-version;.tar.gz</emphasis> will
100 extract to
101 <emphasis>jasper-version-&jasper-version;</emphasis>.
102 </para>
103 </note>
104<!--
105 <para>
106 First, fix a problem that happens due to cmake-3.22:
107 </para>
108
109<screen><userinput remap="pre">sed -i '/GLUT_glut_LIBRARY/s/^/#/' build/cmake/modules/JasOpenGL.cmake</userinput></screen>
110-->
111 <para>
112 Install <application>JasPer</application> by running the following
113 commands:
114 </para>
115
116<screen><userinput>mkdir BUILD &amp;&amp;
117cd BUILD &amp;&amp;
118
119cmake -DCMAKE_INSTALL_PREFIX=/usr \
120 -DCMAKE_BUILD_TYPE=Release \
121 -DCMAKE_SKIP_INSTALL_RPATH=YES \
122 -DJAS_ENABLE_DOC=NO \
123 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-&jasper-version; \
124 .. &amp;&amp;
125make</userinput></screen>
126
127 <para>
128 To test the results, issue: <command>make test</command>.
129 </para>
130
131 <para>
132 Now, as the <systemitem class="username">root</systemitem> user:
133 </para>
134
135<screen role="root"><userinput>make install</userinput></screen>
136
137 </sect2>
138
139 <sect2 role="commands">
140 <title>Command Explanations</title>
141
142 <para>
143 <parameter>-DCMAKE_SKIP_INSTALL_RPATH=YES</parameter>: This option
144 removes embedded library search paths.
145 </para>
146
147 <para>
148 <parameter>-DJAS_ENABLE_DOC=NO</parameter>: This option disables
149 rebuilding the pdf documentation if <xref linkend="texlive"/>
150 is installed.
151 </para>
152
153 </sect2>
154
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Library</segtitle>
161 <segtitle>Installed Directories</segtitle>
162
163 <seglistitem>
164 <seg>imgcmp, imginfo, jasper, and jiv</seg>
165 <seg>libjasper.so</seg>
166 <seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="imgcmp">
176 <term><command>imgcmp</command></term>
177 <listitem>
178 <para>
179 compares two images of the same geometry
180 </para>
181 <indexterm zone="jasper imgcmp">
182 <primary sortas="b-imgcmp">imgcmp</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="imginfo">
188 <term><command>imginfo</command></term>
189 <listitem>
190 <para>
191 displays information about an image
192 </para>
193 <indexterm zone="jasper imginfo">
194 <primary sortas="b-imginfo">imginfo</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="jasper-command">
200 <term><command>jasper</command></term>
201 <listitem>
202 <para>
203 converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
204 and RAS)
205 </para>
206 <indexterm zone="jasper jasper">
207 <primary sortas="b-jasper">jasper</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="jiv">
213 <term><command>jiv</command></term>
214 <listitem>
215 <para>
216 displays images
217 </para>
218 <indexterm zone="jasper jiv">
219 <primary sortas="b-jiv">jiv</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="jasper-lib">
225 <term><filename class="libraryfile">libjasper.so</filename></term>
226 <listitem>
227 <para>
228 is a library used by programs for reading and writing
229 JPEG2000 format files
230 </para>
231 <indexterm zone="jasper jasper-lib">
232 <primary sortas="c-libjasper">libjasper.so</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 </variablelist>
238
239 </sect2>
240
241</sect1>
Note: See TracBrowser for help on using the repository browser.