source: general/graphlib/jasper.xml@ 25e7f9b7

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 25e7f9b7 was 25e7f9b7, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Fix the gmime package version
Add Cmake as a dependency in JasPer. Thanks to Spiky in IRC for the report.

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

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