source: general/graphlib/jasper.xml@ 86918e9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 86918e9 was 86918e9, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to jasper-2.0.6.
Update to gsl-2.3.
Update to gnutls-3.5.7.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18059 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.6 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 "http://www.ece.uvic.ca/~frodo/jasper/software/jasper-&jasper-version;.tar.gz">
8 <!ENTITY jasper-download-ftp " ">
9 <!ENTITY jasper-md5sum "cebd4d423995521b6d65a19ac3851922">
10 <!ENTITY jasper-size "1.6 MB">
11 <!ENTITY jasper-buildsize "20 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 <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 &lfs7a_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">JasPer Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Recommended</bridgehead>
63 <para role="recommended">
64 <xref linkend="libjpeg"/>
65 </para>
66
67 <bridgehead renderas="sect4">Optional</bridgehead>
68 <para role="optional">
69 <xref linkend="freeglut"/> (required for <command>jiv</command>, see
70 Command Explanations below),
71 <xref linkend="doxygen"/> (needed for generating html documentation), and
72 <xref linkend="texlive"/> (needed to regnerate the pdf documention)
73 </para>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/jasper"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of JasPer</title>
82
83<screen><userinput>mkdir BUILD &amp;&amp;
84cd BUILD &amp;&amp;
85
86cmake -DCMAKE_INSTALL_PREFIX=/usr \
87 -DCMAKE_BUILD_TYPE=Release \
88 -DCMAKE_SKIP_INSTALL_RPATH=YES \
89 .. &amp;&amp;
90make</userinput></screen>
91
92 <para>To test the results, issue: <command>make test</command>.</para>
93
94 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
95
96<screen role="root"><userinput>make install</userinput></screen>
97
98 <para>If you wish to install the PDF files for the Reference Manual and a
99 tutorial on the JPEG-2000 standard, run the following commands as the
100 <systemitem class="username">root</systemitem> user:</para>
101
102<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/jasper-&jasper-version;/html &amp;&amp;
103install -v -m644 ../doc/*.pdf /usr/share/doc/jasper-&jasper-version;</userinput></screen>
104
105 <para>If <xref linkend="doxygen"/> was installed, the html documentation
106 was automatically built. If desired, install these files as the <systemitem
107 class="username">root</systemitem> user:</para>
108
109<screen role="root"><userinput>cp -Rv doc/html/* /usr/share/doc/jasper-&jasper-version;/jtml</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <para><option>-DCMAKE_EXE_LINKER_FLAGS="-lGL -lGLU"</option>: This option
117 is needed so the <command>jiv</command> program can be sucessfully built.
118 If <xref linkend="freeglut"/> is installed, this option is required.</para>
119
120 <para><option>-DCMAKE_SKIP_INSTALL_RPATH=YES</option>: This option removes
121 embedded library search paths.</para>
122
123 </sect2>
124
125 <sect2 role="content">
126 <title>Contents</title>
127
128 <segmentedlist>
129 <segtitle>Installed Programs</segtitle>
130 <segtitle>Installed Library</segtitle>
131 <segtitle>Installed Directories</segtitle>
132
133 <seglistitem>
134 <seg>imgcmp, imginfo, jasper, and jiv</seg>
135 <seg>libjasper.so</seg>
136 <seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="imgcmp">
146 <term><command>imgcmp</command></term>
147 <listitem>
148 <para>compares two images of the same geometry.</para>
149 <indexterm zone="jasper imgcmp">
150 <primary sortas="b-imgcmp">imgcmp</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="imginfo">
156 <term><command>imginfo</command></term>
157 <listitem>
158 <para>displays information about an image.</para>
159 <indexterm zone="jasper imginfo">
160 <primary sortas="b-imginfo">imginfo</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="jasper-command">
166 <term><command>jasper</command></term>
167 <listitem>
168 <para>converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
169 and RAS).</para>
170 <indexterm zone="jasper jasper">
171 <primary sortas="b-jasper">jasper</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="jiv">
177 <term><command>jiv</command></term>
178 <listitem>
179 <para>displays images.</para>
180 <indexterm zone="jasper jiv">
181 <primary sortas="b-jiv">jiv</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="jasper-lib">
187 <term><filename class='libraryfile'>libjasper.so</filename></term>
188 <listitem>
189 <para>is a library used by programs for reading and writing
190 JPEG2000 format files.</para>
191 <indexterm zone="jasper jasper-lib">
192 <primary sortas="c-libjasper">libjasper.so</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 </variablelist>
198
199 </sect2>
200
201</sect1>
Note: See TracBrowser for help on using the repository browser.