[bd81e201] | 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 |
|
---|
[9ac88cc5] | 7 | <!-- TODO : when upgrading, consider changing or reinstating the
|
---|
| 8 | sed in gst10-plugins-bad so that the new headers will be found -->
|
---|
[c9d79c2] | 9 | <!ENTITY openjpeg2-download-http "https://github.com/uclouvain/openjpeg/archive/v&openjpeg2-version;/openjpeg-&openjpeg2-version;.tar.gz">
|
---|
[bd81e201] | 10 | <!ENTITY openjpeg2-download-ftp " ">
|
---|
[2263933] | 11 | <!ENTITY openjpeg2-md5sum "3b9941dc7a52f0376694adb15a72903f">
|
---|
[0fc5e82b] | 12 | <!ENTITY openjpeg2-size "2.1 MB">
|
---|
[2263933] | 13 | <!ENTITY openjpeg2-buildsize "15 MB">
|
---|
[0fc5e82b] | 14 | <!ENTITY openjpeg2-time "0.3 SBU">
|
---|
[bd81e201] | 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 |
|
---|
[a06368b] | 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>
|
---|
[bd81e201] | 39 |
|
---|
[7ebcf19] | 40 | &lfs10_checked;
|
---|
[bd81e201] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[09f0998] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&openjpeg2-download-http;"/>
|
---|
| 47 | </para>
|
---|
[bd81e201] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[09f0998] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&openjpeg2-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[bd81e201] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[09f0998] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &openjpeg2-md5sum;
|
---|
| 57 | </para>
|
---|
[bd81e201] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[09f0998] | 60 | <para>
|
---|
| 61 | Download size: &openjpeg2-size;
|
---|
| 62 | </para>
|
---|
[bd81e201] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[09f0998] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &openjpeg2-buildsize;
|
---|
| 67 | </para>
|
---|
[bd81e201] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[09f0998] | 70 | <para>
|
---|
| 71 | Estimated build time: &openjpeg2-time;
|
---|
| 72 | </para>
|
---|
[bd81e201] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 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">
|
---|
[09f0998] | 85 | <xref linkend="lcms2"/>,
|
---|
| 86 | <xref linkend="libpng"/>,
|
---|
| 87 | <xref linkend="libtiff"/>, and
|
---|
| 88 | <xref linkend="doxygen"/> (to build the API documentation)
|
---|
[bd81e201] | 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 |
|
---|
[73bd2c4] | 99 | <para>
|
---|
| 100 | Install <application>OpenJPEG</application> by running the
|
---|
| 101 | following commands:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
[2263933] | 104 | <screen><userinput>mkdir -v build &&
|
---|
[a06368b] | 105 | cd build &&
|
---|
[059a1a5c] | 106 |
|
---|
[5b23c1e] | 107 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 108 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 109 | -DBUILD_STATIC_LIBS=OFF .. &&
|
---|
[bd81e201] | 110 | make</userinput></screen>
|
---|
| 111 |
|
---|
[a06368b] | 112 | <!-- Thread discussing the tests, fixing instructions,
|
---|
| 113 | but obtaining poor results:
|
---|
| 114 | http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
|
---|
| 115 | -->
|
---|
[09f0998] | 116 | <para>
|
---|
| 117 | This package does not come with a working test suite.
|
---|
| 118 | </para>
|
---|
[bd81e201] | 119 |
|
---|
[09f0998] | 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
[bd81e201] | 123 |
|
---|
| 124 | <screen role="root"><userinput>make install &&
|
---|
[059a1a5c] | 125 |
|
---|
[a06368b] | 126 | pushd ../doc &&
|
---|
[92d2b83] | 127 | for man in man/man?/* ; do
|
---|
| 128 | install -v -D -m 644 $man /usr/share/$man
|
---|
| 129 | done
|
---|
[a06368b] | 130 | popd</userinput></screen>
|
---|
[bd81e201] | 131 |
|
---|
| 132 | </sect2>
|
---|
[a06368b] | 133 | <!--
|
---|
[bd81e201] | 134 | <sect2 role="commands">
|
---|
| 135 | <title>Command Explanations</title>
|
---|
| 136 |
|
---|
[09f0998] | 137 | <para>
|
---|
| 138 | <option>-DBUILD_TESTING=ON</option>: This switch enables
|
---|
| 139 | building the test suite.
|
---|
| 140 | </para>
|
---|
[bd81e201] | 141 |
|
---|
[a06368b] | 142 | </sect2>-->
|
---|
[bd81e201] | 143 |
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Libraries</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
| 153 | <seg>opj_compress, opj_decompress, and opj_dump</seg>
|
---|
| 154 | <seg>libopenjp2.so</seg>
|
---|
[2263933] | 155 | <seg>/usr/include/openjpeg-2.3 and /usr/lib/openjpeg-2.3</seg>
|
---|
[bd81e201] | 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
| 158 |
|
---|
| 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
| 162 | <?dbhtml list-presentation="table"?>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="opj_compress">
|
---|
| 165 | <term><command>opj_compress</command></term>
|
---|
| 166 | <listitem>
|
---|
[09f0998] | 167 | <para>
|
---|
| 168 | converts various image formats to the jpeg2000 format.
|
---|
| 169 | </para>
|
---|
[bd81e201] | 170 | <indexterm zone="openjpeg2 opj_compress">
|
---|
| 171 | <primary sortas="b-opj_compress">opj_compress</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="opj_decompress">
|
---|
| 177 | <term><command>opj_decompress</command></term>
|
---|
| 178 | <listitem>
|
---|
[09f0998] | 179 | <para>
|
---|
| 180 | converts jpeg2000 images to other image types.
|
---|
| 181 | </para>
|
---|
[bd81e201] | 182 | <indexterm zone="openjpeg2 opj_decompress">
|
---|
| 183 | <primary sortas="b-opj_decompress">opj_decompress</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="opj_dump">
|
---|
| 189 | <term><command>opj_dump</command></term>
|
---|
| 190 | <listitem>
|
---|
[09f0998] | 191 | <para>
|
---|
| 192 | reads in a jpeg2000 image and dumps the contents to stdout.
|
---|
| 193 | </para>
|
---|
[bd81e201] | 194 | <indexterm zone="openjpeg2 opj_dump">
|
---|
| 195 | <primary sortas="b-opj_dump">opj_dump</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | </variablelist>
|
---|
| 201 |
|
---|
| 202 | </sect2>
|
---|
| 203 |
|
---|
| 204 | </sect1>
|
---|