source: general/graphlib/openjpeg2.xml@ e59eceb

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

Tag xfce core and dependencies

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18332 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 "40a7bfdcc66280b3c1402a0eb1a27624">
10 <!ENTITY openjpeg2-size "1.9 MB">
11 <!ENTITY openjpeg2-buildsize "13 MB">
12 <!ENTITY openjpeg2-time "0.1 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
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&openjpeg2-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&openjpeg2-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &openjpeg2-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &openjpeg2-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &openjpeg2-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &openjpeg2-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <note>
63 <para>
64 The <application>OpenJPEG 2</application> source tarball shown above
65 downloads with the correct name, openjpeg-&openjpeg2-version;.tar.gz,
66 if using a browser such as Firefox. If you prefer to use a command
67 line program such as wget, you normally would obtain
68 v&openjpeg2-version;.tar.gz. To obtain this package with the proper
69 filename, run:
70
71<screen><userinput>wget -c &openjpeg2-download-http; \
72 -O openjpeg-&openjpeg2-version;.tar.gz</userinput></screen>
73 </para>
74 </note>
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 -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
108make</userinput></screen>
109
110<!-- Thread discussing the tests, fixing instructions,
111 but obtaining poor results:
112 http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
113-->
114 <para>This package does not come with a working test suite.</para>
115
116 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
117
118<screen role="root"><userinput>make install &amp;&amp;
119
120pushd ../doc &amp;&amp;
121for man in man/man?/* ; do
122 install -v -D -m 644 $man /usr/share/$man
123done &amp;&amp;
124popd</userinput></screen>
125
126 </sect2>
127<!--
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <para><option>-DBUILD_TESTING=ON</option>: This switch enables
132 building the test suite.</para>
133
134 </sect2>-->
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Libraries</segtitle>
142 <segtitle>Installed Directories</segtitle>
143
144 <seglistitem>
145 <seg>opj_compress, opj_decompress, and opj_dump</seg>
146 <seg>libopenjp2.so</seg>
147 <seg>/usr/include/openjpeg-2.1 and /usr/lib/openjpeg-2.1</seg>
148 </seglistitem>
149 </segmentedlist>
150
151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
155
156 <varlistentry id="opj_compress">
157 <term><command>opj_compress</command></term>
158 <listitem>
159 <para>converts various image formats to the jpeg2000 format.</para>
160 <indexterm zone="openjpeg2 opj_compress">
161 <primary sortas="b-opj_compress">opj_compress</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="opj_decompress">
167 <term><command>opj_decompress</command></term>
168 <listitem>
169 <para>converts jpeg2000 images to other image types.</para>
170 <indexterm zone="openjpeg2 opj_decompress">
171 <primary sortas="b-opj_decompress">opj_decompress</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="opj_dump">
177 <term><command>opj_dump</command></term>
178 <listitem>
179 <para>reads in a jpeg2000 image and dumps the contents to stdout.</para>
180 <indexterm zone="openjpeg2 opj_dump">
181 <primary sortas="b-opj_dump">opj_dump</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.