source: general/graphlib/jasper.xml@ c336440

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 c336440 was c336440, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Make jasper's install more consistent with dependencies

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