source: general/graphlib/openjpeg2.xml@ 56fb8e3

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 56fb8e3 was 56fb8e3, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Fix download note for openjpeg2

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

  • Property mode set to 100644
File size: 5.9 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 <application>OpenJPEG 2</application> source tarball shown above
66 downloads with the correct name, openjpeg-&openjpeg2-version;.tar.gz,
67 if using a browser such as Firefox. If you prefer to use a command
68 line program such as wget, you normally would obtain
69 v&openjpeg2-version;.tar.gz. To obtain this package with the proper
70 filename, run:
71
72<screen><userinput>wget -c &openjpeg2-download-http; \
73 -O openjpeg-&openjpeg2-version;.tar.gz</userinput></screen>
74 </para>
75 </note>
76
77 <bridgehead renderas="sect3">OpenJPEG Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required">
81 <xref linkend="cmake"/>
82 </para>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional">
86 <xref linkend="lcms2"/>,
87 <xref linkend="libpng"/>,
88 <xref linkend="libtiff"/>, and
89 <xref linkend="doxygen"/> (to build the API documentation)
90 </para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/openjpeg2"/></para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of OpenJPEG</title>
99
100 <para>
101 Install <application>OpenJPEG</application> by running the
102 following commands:
103 </para>
104
105<screen><userinput>mkdir -v build &amp;&amp;
106cd build &amp;&amp;
107
108cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
109make</userinput></screen>
110
111<!-- Thread discussing the tests, fixing instructions,
112 but obtaining poor results:
113 http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
114-->
115 <para>This package does not come with a working test suite.</para>
116
117 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
118
119<screen role="root"><userinput>make install &amp;&amp;
120
121pushd ../doc &amp;&amp;
122 for man in man/man?/* ; do
123 install -v -D -m 644 $man /usr/share/$man
124 done
125popd</userinput></screen>
126
127 </sect2>
128<!--
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para><option>-DBUILD_TESTING=ON</option>: This switch enables
133 building the test suite.</para>
134
135 </sect2>-->
136
137 <sect2 role="content">
138 <title>Contents</title>
139
140 <segmentedlist>
141 <segtitle>Installed Programs</segtitle>
142 <segtitle>Installed Libraries</segtitle>
143 <segtitle>Installed Directories</segtitle>
144
145 <seglistitem>
146 <seg>opj_compress, opj_decompress, and opj_dump</seg>
147 <seg>libopenjp2.so</seg>
148 <seg>/usr/include/openjpeg-2.1 and /usr/lib/openjpeg-2.1</seg>
149 </seglistitem>
150 </segmentedlist>
151
152 <variablelist>
153 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
154 <?dbfo list-presentation="list"?>
155 <?dbhtml list-presentation="table"?>
156
157 <varlistentry id="opj_compress">
158 <term><command>opj_compress</command></term>
159 <listitem>
160 <para>converts various image formats to the jpeg2000 format.</para>
161 <indexterm zone="openjpeg2 opj_compress">
162 <primary sortas="b-opj_compress">opj_compress</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="opj_decompress">
168 <term><command>opj_decompress</command></term>
169 <listitem>
170 <para>converts jpeg2000 images to other image types.</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>reads in a jpeg2000 image and dumps the contents to stdout.</para>
181 <indexterm zone="openjpeg2 opj_dump">
182 <primary sortas="b-opj_dump">opj_dump</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.