source: general/graphlib/openjpeg2.xml@ 9ac88cc5

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

It's déjâ vu all over again (e.g. r19076). Add sed to gst-plugins-bad so that it will build if current openjpeg2, but not the old version, is present.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19349 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 &lfs81_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 -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
96make</userinput></screen>
97
98<!-- Thread discussing the tests, fixing instructions,
99 but obtaining poor results:
100 http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
101-->
102 <para>This package does not come with a working test suite.</para>
103
104 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
105
106<screen role="root"><userinput>make install &amp;&amp;
107
108pushd ../doc &amp;&amp;
109 for man in man/man?/* ; do
110 install -v -D -m 644 $man /usr/share/$man
111 done
112popd</userinput></screen>
113
114 </sect2>
115<!--
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
119 <para><option>-DBUILD_TESTING=ON</option>: This switch enables
120 building the test suite.</para>
121
122 </sect2>-->
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directories</segtitle>
131
132 <seglistitem>
133 <seg>opj_compress, opj_decompress, and opj_dump</seg>
134 <seg>libopenjp2.so</seg>
135 <seg>/usr/include/openjpeg-2.1 and /usr/lib/openjpeg-2.1</seg>
136 </seglistitem>
137 </segmentedlist>
138
139 <variablelist>
140 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
141 <?dbfo list-presentation="list"?>
142 <?dbhtml list-presentation="table"?>
143
144 <varlistentry id="opj_compress">
145 <term><command>opj_compress</command></term>
146 <listitem>
147 <para>converts various image formats to the jpeg2000 format.</para>
148 <indexterm zone="openjpeg2 opj_compress">
149 <primary sortas="b-opj_compress">opj_compress</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="opj_decompress">
155 <term><command>opj_decompress</command></term>
156 <listitem>
157 <para>converts jpeg2000 images to other image types.</para>
158 <indexterm zone="openjpeg2 opj_decompress">
159 <primary sortas="b-opj_decompress">opj_decompress</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="opj_dump">
165 <term><command>opj_dump</command></term>
166 <listitem>
167 <para>reads in a jpeg2000 image and dumps the contents to stdout.</para>
168 <indexterm zone="openjpeg2 opj_dump">
169 <primary sortas="b-opj_dump">opj_dump</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 </variablelist>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.