source: general/graphlib/openjpeg2.xml@ b7a6574b

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 b7a6574b was b7a6574b, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to OpenJPEG-2.4.0

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

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