source: general/graphlib/openjpeg2.xml@ 92d2b83

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 92d2b83 was 92d2b83, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to curl-7.55.0.
Update to tcl-core-8.6.7 and tk-8.6.7.
Update to openjpeg2-2.2.0.
Update to gnupg-2.1.23.

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

  • Property mode set to 100644
File size: 6.1 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;.tar.gz">
8 <!ENTITY openjpeg2-download-ftp " ">
9 <!ENTITY openjpeg2-md5sum "269bb0b175476f3addcc0d03bd9a97b6">
10 <!ENTITY openjpeg2-size "2.7 MB">
11 <!ENTITY openjpeg2-buildsize "18 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 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>OpenJPEG-&openjpeg2-version;</title>
24
25 <indexterm zone="openjpeg2">
26 <primary sortas="a-openjpeg2">OpenJPEG</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to OpenJPEG</title>
31
32 <para>
33 <application>OpenJPEG</application> is an open-source implementation of
34 the JPEG-2000 standard. OpenJPEG fully respects the JPEG-2000
35 specifications and can compress/decompress lossless 16-bit images.
36 </para>
37
38 &lfs80_checked;
39 &gcc7_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&openjpeg2-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&openjpeg2-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &openjpeg2-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &openjpeg2-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &openjpeg2-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &openjpeg2-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <note>
64 <para>
65 The URL to the source tarball shown above
66 downloads with the correct name, openjpeg-&openjpeg2-version;.tar.gz,
67 if using a browser such as Firefox or a command line utility
68 such as wget.
69<!--
70 The <application>OpenJPEG 2</application> source tarball shown above
71 downloads with the correct name, openjpeg-&openjpeg2-version;.tar.gz,
72 if using a browser such as Firefox. If you prefer to use a command
73 line program such as wget, you normally would obtain
74 v&openjpeg2-version;.tar.gz. To obtain this package with the proper
75 filename, run:
76
77<screen><userinput>wget -c &openjpeg2-download-http; \
78 -O openjpeg-&openjpeg2-version;.tar.gz</userinput></screen>
79-->
80 </para>
81 </note>
82
83 <bridgehead renderas="sect3">OpenJPEG Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="cmake"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="lcms2"/>,
93 <xref linkend="libpng"/>,
94 <xref linkend="libtiff"/>, and
95 <xref linkend="doxygen"/> (to build the API documentation)
96 </para>
97
98 <para condition="html" role="usernotes">User Notes:
99 <ulink url="&blfs-wiki;/openjpeg2"/></para>
100
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of OpenJPEG</title>
105
106 <para>
107 Install <application>OpenJPEG</application> by running the
108 following commands:
109 </para>
110
111<screen><userinput>mkdir -v build &amp;&amp;
112cd build &amp;&amp;
113
114cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
115make</userinput></screen>
116
117<!-- Thread discussing the tests, fixing instructions,
118 but obtaining poor results:
119 http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
120-->
121 <para>This package does not come with a working test suite.</para>
122
123 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
124
125<screen role="root"><userinput>make install &amp;&amp;
126
127pushd ../doc &amp;&amp;
128 for man in man/man?/* ; do
129 install -v -D -m 644 $man /usr/share/$man
130 done
131popd</userinput></screen>
132
133 </sect2>
134<!--
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para><option>-DBUILD_TESTING=ON</option>: This switch enables
139 building the test suite.</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-2.1 and /usr/lib/openjpeg-2.1</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>converts various image formats to the jpeg2000 format.</para>
167 <indexterm zone="openjpeg2 opj_compress">
168 <primary sortas="b-opj_compress">opj_compress</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="opj_decompress">
174 <term><command>opj_decompress</command></term>
175 <listitem>
176 <para>converts jpeg2000 images to other image types.</para>
177 <indexterm zone="openjpeg2 opj_decompress">
178 <primary sortas="b-opj_decompress">opj_decompress</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="opj_dump">
184 <term><command>opj_dump</command></term>
185 <listitem>
186 <para>reads in a jpeg2000 image and dumps the contents to stdout.</para>
187 <indexterm zone="openjpeg2 opj_dump">
188 <primary sortas="b-opj_dump">opj_dump</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.