source: general/graphlib/openjpeg2.xml@ 5b23c1e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.4 9.0 9.1 bdubbs/svn elogind gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5b23c1e was 5b23c1e, checked in by Ken Moffat <ken@…>, 6 years ago

OpenJPEG-2 : disable the static lib.

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

  • Property mode set to 100644
File size: 5.5 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 "6a1f8aaa1fe55d2088e3a9c942e0f698">
12 <!ENTITY openjpeg2-size "2.1 MB">
13 <!ENTITY openjpeg2-buildsize "16 MB">
14 <!ENTITY openjpeg2-time "0.3 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 &lfs83_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&openjpeg2-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&openjpeg2-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &openjpeg2-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &openjpeg2-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &openjpeg2-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &openjpeg2-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">OpenJPEG Dependencies</bridgehead>
65
66 <bridgehead renderas="sect4">Required</bridgehead>
67 <para role="required">
68 <xref linkend="cmake"/>
69 </para>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional">
73 <xref linkend="lcms2"/>,
74 <xref linkend="libpng"/>,
75 <xref linkend="libtiff"/>, and
76 <xref linkend="doxygen"/> (to build the API documentation)
77 </para>
78
79 <para condition="html" role="usernotes">User Notes:
80 <ulink url="&blfs-wiki;/openjpeg2"/></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of OpenJPEG</title>
86
87 <para>
88 Install <application>OpenJPEG</application> by running the
89 following commands:
90 </para>
91
92<screen><userinput>mkdir -v build &amp;&amp;
93cd build &amp;&amp;
94
95cmake -DCMAKE_BUILD_TYPE=Release \
96 -DCMAKE_INSTALL_PREFIX=/usr \
97 -DBUILD_STATIC_LIBS=OFF .. &amp;&amp;
98make</userinput></screen>
99
100<!-- Thread discussing the tests, fixing instructions,
101 but obtaining poor results:
102 http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
103-->
104 <para>This package does not come with a working test suite.</para>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>make install &amp;&amp;
109
110pushd ../doc &amp;&amp;
111 for man in man/man?/* ; do
112 install -v -D -m 644 $man /usr/share/$man
113 done
114popd</userinput></screen>
115
116 </sect2>
117<!--
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para><option>-DBUILD_TESTING=ON</option>: This switch enables
122 building the test suite.</para>
123
124 </sect2>-->
125
126 <sect2 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
130 <segtitle>Installed Programs</segtitle>
131 <segtitle>Installed Libraries</segtitle>
132 <segtitle>Installed Directories</segtitle>
133
134 <seglistitem>
135 <seg>opj_compress, opj_decompress, and opj_dump</seg>
136 <seg>libopenjp2.so</seg>
137 <seg>/usr/include/openjpeg-2.1 and /usr/lib/openjpeg-2.1</seg>
138 </seglistitem>
139 </segmentedlist>
140
141 <variablelist>
142 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
143 <?dbfo list-presentation="list"?>
144 <?dbhtml list-presentation="table"?>
145
146 <varlistentry id="opj_compress">
147 <term><command>opj_compress</command></term>
148 <listitem>
149 <para>converts various image formats to the jpeg2000 format.</para>
150 <indexterm zone="openjpeg2 opj_compress">
151 <primary sortas="b-opj_compress">opj_compress</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="opj_decompress">
157 <term><command>opj_decompress</command></term>
158 <listitem>
159 <para>converts jpeg2000 images to other image types.</para>
160 <indexterm zone="openjpeg2 opj_decompress">
161 <primary sortas="b-opj_decompress">opj_decompress</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="opj_dump">
167 <term><command>opj_dump</command></term>
168 <listitem>
169 <para>reads in a jpeg2000 image and dumps the contents to stdout.</para>
170 <indexterm zone="openjpeg2 opj_dump">
171 <primary sortas="b-opj_dump">opj_dump</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 </variablelist>
177
178 </sect2>
179
180</sect1>
Note: See TracBrowser for help on using the repository browser.