[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 |
|
---|
[e77eea37] | 7 | <!ENTITY openjpeg2-download-http "&sourceforge-repo;/openjpeg.mirror/openjpeg-&openjpeg2-version;.tar.gz">
|
---|
[bd81e201] | 8 | <!ENTITY openjpeg2-download-ftp " ">
|
---|
| 9 | <!ENTITY openjpeg2-md5sum "f6419fcc233df84f9a81eb36633c6db6">
|
---|
| 10 | <!ENTITY openjpeg2-size "1.7 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 |
|
---|
[a06368b] | 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>
|
---|
[bd81e201] | 37 |
|
---|
[f89fc45] | 38 | &lfs77_checked; &gcc5_checked;
|
---|
[bd81e201] | 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 | <bridgehead renderas="sect3">OpenJPEG Dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 65 | <para role="required">
|
---|
| 66 | <xref linkend="cmake"/>
|
---|
| 67 | </para>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 70 | <para role="optional">
|
---|
| 71 | <xref linkend="lcms2"/>,
|
---|
| 72 | <xref linkend="libpng"/>,
|
---|
| 73 | <xref linkend="libtiff"/>, and
|
---|
| 74 | <xref linkend="doxygen"/> (to build the API documentation)
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/openjpeg2"/></para>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of OpenJPEG</title>
|
---|
| 84 |
|
---|
[73bd2c4] | 85 | <para>
|
---|
| 86 | Install <application>OpenJPEG</application> by running the
|
---|
| 87 | following commands:
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
[a06368b] | 90 | <screen><userinput>mkdir -v build &&
|
---|
| 91 | cd build &&
|
---|
[059a1a5c] | 92 |
|
---|
[bd81e201] | 93 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
---|
| 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
[a06368b] | 96 | <!-- Thread discussing the tests, fixing instructions,
|
---|
| 97 | but obtaining poor results:
|
---|
| 98 | http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
|
---|
| 99 | -->
|
---|
| 100 | <para>This package does not come with a working test suite.</para>
|
---|
[bd81e201] | 101 |
|
---|
| 102 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 103 |
|
---|
| 104 | <screen role="root"><userinput>make install &&
|
---|
[059a1a5c] | 105 |
|
---|
[a06368b] | 106 | pushd ../doc &&
|
---|
[bd81e201] | 107 | for man in man/man?/* ; do
|
---|
| 108 | install -v -D -m 644 $man /usr/share/$man
|
---|
[a06368b] | 109 | done &&
|
---|
| 110 | popd</userinput></screen>
|
---|
[bd81e201] | 111 |
|
---|
| 112 | </sect2>
|
---|
[a06368b] | 113 | <!--
|
---|
[bd81e201] | 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
| 117 | <para><option>-DBUILD_TESTING=ON</option>: This switch enables
|
---|
| 118 | building the test suite.</para>
|
---|
| 119 |
|
---|
[a06368b] | 120 | </sect2>-->
|
---|
[bd81e201] | 121 |
|
---|
| 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
| 126 | <segtitle>Installed Programs</segtitle>
|
---|
| 127 | <segtitle>Installed Libraries</segtitle>
|
---|
| 128 | <segtitle>Installed Directories</segtitle>
|
---|
| 129 |
|
---|
| 130 | <seglistitem>
|
---|
| 131 | <seg>opj_compress, opj_decompress, and opj_dump</seg>
|
---|
| 132 | <seg>libopenjp2.so</seg>
|
---|
| 133 | <seg>/usr/include/openjpeg-2.1 and /usr/lib/openjpeg-2.1</seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="opj_compress">
|
---|
| 143 | <term><command>opj_compress</command></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>converts various image formats to the jpeg2000 format.</para>
|
---|
| 146 | <indexterm zone="openjpeg2 opj_compress">
|
---|
| 147 | <primary sortas="b-opj_compress">opj_compress</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="opj_decompress">
|
---|
| 153 | <term><command>opj_decompress</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>converts jpeg2000 images to other image types.</para>
|
---|
| 156 | <indexterm zone="openjpeg2 opj_decompress">
|
---|
| 157 | <primary sortas="b-opj_decompress">opj_decompress</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="opj_dump">
|
---|
| 163 | <term><command>opj_dump</command></term>
|
---|
| 164 | <listitem>
|
---|
| 165 | <para>reads in a jpeg2000 image and dumps the contents to stdout.</para>
|
---|
| 166 | <indexterm zone="openjpeg2 opj_dump">
|
---|
| 167 | <primary sortas="b-opj_dump">opj_dump</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | </variablelist>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | </sect1>
|
---|