source: general/graphlib/openjpeg2.xml@ 243cb60

11.2 plabs/python-mods trunk xry111/soup3
Last change on this file since 243cb60 was 243cb60, checked in by Xi Ruoyao <xry111@…>, 4 months ago

openjpeg: fix hard-coded major.minor version in directory list

  • Property mode set to 100644
File size: 5.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 openjpeg2-download-http "https://github.com/uclouvain/openjpeg/archive/v&openjpeg2-version;/openjpeg-&openjpeg2-version;.tar.gz">
8 <!ENTITY openjpeg2-download-ftp " ">
9 <!ENTITY openjpeg2-md5sum "5cbb822a1203dd75b85639da4f4ecaab">
10 <!ENTITY openjpeg2-size "1.8 MB">
11 <!ENTITY openjpeg2-buildsize "13 MB">
12 <!ENTITY openjpeg2-time "0.2 SBU">
13]>
14
15<sect1 id="openjpeg2" xreflabel="OpenJPEG-&openjpeg2-version;">
16 <?dbhtml filename="openjpeg2.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>OpenJPEG-&openjpeg2-version;</title>
23
24 <indexterm zone="openjpeg2">
25 <primary sortas="a-openjpeg2">OpenJPEG</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to OpenJPEG</title>
30
31 <para>
32 <application>OpenJPEG</application> is an open-source implementation of
33 the JPEG-2000 standard. OpenJPEG fully respects the JPEG-2000
34 specifications and can compress/decompress lossless 16-bit images.
35 </para>
36
37 &lfs111_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&openjpeg2-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&openjpeg2-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &openjpeg2-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &openjpeg2-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &openjpeg2-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &openjpeg2-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">OpenJPEG Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="cmake"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="lcms2"/>,
83 <xref linkend="libpng"/>,
84 <xref linkend="libtiff"/>, and
85 <xref linkend="doxygen"/> (to build the API documentation)
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/openjpeg2"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of OpenJPEG</title>
95
96 <para>
97 Install <application>OpenJPEG</application> by running the
98 following commands:
99 </para>
100
101<screen><userinput>mkdir -v build &amp;&amp;
102cd build &amp;&amp;
103
104cmake -DCMAKE_BUILD_TYPE=Release \
105 -DCMAKE_INSTALL_PREFIX=/usr \
106 -DBUILD_STATIC_LIBS=OFF .. &amp;&amp;
107make</userinput></screen>
108
109<!-- Thread discussing the tests, fixing instructions,
110 but obtaining poor results:
111 http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
112
113 There does not seem to be a test suite at all. 2022-05-15 (openjpeg-2.5.0)
114-->
115 <para>
116 This package does not come with a test suite.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install &amp;&amp;
124
125pushd ../doc &amp;&amp;
126 for man in man/man?/* ; do
127 install -v -D -m 644 $man /usr/share/$man
128 done
129popd</userinput></screen>
130
131 </sect2>
132<!--
133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
136 <para>
137 <option>-DBUILD_TESTING=ON</option>: This switch enables
138 building the test suite.
139 </para>
140
141 </sect2>-->
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Programs</segtitle>
148 <segtitle>Installed Libraries</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <seglistitem>
152 <seg>opj_compress, opj_decompress, and opj_dump</seg>
153 <seg>libopenjp2.so</seg>
154 <seg>/usr/include/openjpeg-&openjpeg2-majmin-version; and /usr/lib/openjpeg-&openjpeg2-majmin-version;</seg>
155 </seglistitem>
156 </segmentedlist>
157
158 <variablelist>
159 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
160 <?dbfo list-presentation="list"?>
161 <?dbhtml list-presentation="table"?>
162
163 <varlistentry id="opj_compress">
164 <term><command>opj_compress</command></term>
165 <listitem>
166 <para>
167 converts various image formats to the jpeg2000 format
168 </para>
169 <indexterm zone="openjpeg2 opj_compress">
170 <primary sortas="b-opj_compress">opj_compress</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="opj_decompress">
176 <term><command>opj_decompress</command></term>
177 <listitem>
178 <para>
179 converts jpeg2000 images to other image types
180 </para>
181 <indexterm zone="openjpeg2 opj_decompress">
182 <primary sortas="b-opj_decompress">opj_decompress</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="opj_dump">
188 <term><command>opj_dump</command></term>
189 <listitem>
190 <para>
191 reads in a jpeg2000 image and dumps the contents to stdout
192 </para>
193 <indexterm zone="openjpeg2 opj_dump">
194 <primary sortas="b-opj_dump">opj_dump</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 </variablelist>
200
201 </sect2>
202
203</sect1>
Note: See TracBrowser for help on using the repository browser.