source: general/graphlib/openjpeg2.xml@ 0bd02907

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since 0bd02907 was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 5 months ago

Tags

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