source: general/graphlib/libjpeg-turbo.xml@ 5b5575b1

10.0 10.1 11.0 8.4 9.0 9.1 bdubbs/svn elogind ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 5b5575b1 was 5b5575b1, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

iBring Chapter 10 up to date

Update to pixman-0.36.0.
Update to opencv_contrib-3.4.4.
Update to libwebp-1.0.1.
Update to librsvg-2.44.9.
Update to libjpeg-turbo-2.0.1.
Update to harfbuzz-2.2.0.
Update to babl-0.1.60.
Update to LibRaw-0.19.1.

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

  • Property mode set to 100644
File size: 7.6 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 libjpeg-download-http "&sourceforge-dl;/libjpeg-turbo/libjpeg-turbo-&libjpeg-turbo-version;.tar.gz">
8 <!ENTITY libjpeg-download-ftp " ">
9 <!ENTITY libjpeg-md5sum "1b05a66aa9b006fd04ed29f408e68f46">
10 <!ENTITY libjpeg-size "2.1 MB">
11 <!ENTITY libjpeg-buildsize "31 MB (with tests)">
12 <!ENTITY libjpeg-time "0.3 SBU (using parallelism=4; with tests)">
13]>
14
15<sect1 id="libjpeg" xreflabel="libjpeg-turbo-&libjpeg-turbo-version;">
16 <?dbhtml filename="libjpeg.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libjpeg-turbo-&libjpeg-turbo-version;</title>
24
25 <indexterm zone="libjpeg">
26 <primary sortas="a-libjpeg-turbo">libjpeg-turbo</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libjpeg-turbo</title>
31
32 <para>
33 <application>libjpeg-turbo</application> is a fork of the original
34 IJG <application>libjpeg</application> which uses SIMD to accelerate
35 baseline JPEG compression and decompression.
36 <application>libjpeg</application> is a library that implements JPEG
37 image encoding, decoding and transcoding.
38 </para>
39
40 &lfs83_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&libjpeg-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&libjpeg-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &libjpeg-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &libjpeg-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &libjpeg-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &libjpeg-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">libjpeg-turbo Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="cmake"/> and
81 <xref linkend="nasm"/> or
82 <xref linkend="yasm"/>
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/libjpeg-turbo"/>
87 </para>
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of libjpeg-turbo</title>
92
93 <para>
94 Install <application>libjpeg-turbo</application> by running the
95 following commands:
96 </para>
97
98<screen><userinput>mkdir build &amp;&amp;
99cd build &amp;&amp;
100
101cmake -DCMAKE_INSTALL_PREFIX=/usr \
102 -DCMAKE_BUILD_TYPE=RELEASE \
103 -DENABLE_STATIC=FALSE \
104 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/libjpeg-turbo-&libjpeg-turbo-version; \
105 -DCMAKE_INSTALL_DEFAULT_LIBDIR=lib \
106 .. &amp;&amp;
107make</userinput></screen>
108
109 <para>
110 To test the results, issue: <command>make test</command>.
111 </para>
112
113 <note><para>
114 If installing <application>libjpeg-turbo</application> over an older jpeg
115 installation, not all library symbolic links are updated properly. To fix
116 this before installation, run the following as the <systemitem
117 class="username">root</systemitem> user:</para>
118
119<screen role="root"><userinput>rm -f /usr/lib/libjpeg.so*</userinput></screen>
120
121 </note>
122
123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
126
127<screen role="root"><userinput>make install</userinput></screen>
128
129 </sect2>
130<!--
131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
134 <para>
135 <parameter>- -with-jpeg8</parameter>: This switch enables compatibility
136 with <application>libjpeg</application> version 8.
137 </para>
138
139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
140 href="../../xincludes/static-libraries.xml"/>
141
142 </sect2>
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>
154 cjpeg, djpeg, jpegtran, rdjpgcom, tjbench, and wrjpgcom
155 </seg>
156 <seg>
157 libjpeg.so and libturbojpeg.so
158 </seg>
159 <seg>
160 /usr/share/doc/libjpeg-turbo-&libjpeg-turbo-version;
161 </seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="cjpeg">
171 <term><command>cjpeg</command></term>
172 <listitem>
173 <para>compresses image files to produce a JPEG/JFIF file on the
174 standard output. Currently supported input file formats are: PPM
175 (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
176 BMP, and Targa.</para>
177 <indexterm zone="libjpeg cjpeg">
178 <primary sortas="b-cjpeg">cjpeg</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="djpeg">
184 <term><command>djpeg</command></term>
185 <listitem>
186 <para>decompresses image files from JPEG/JFIF format to either
187 PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
188 BMP, or Targa format.</para>
189 <indexterm zone="libjpeg djpeg">
190 <primary sortas="b-djpeg">djpeg</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="jpegtran">
196 <term><command>jpegtran</command></term>
197 <listitem>
198 <para>is used for lossless transformation of JPEG files.</para>
199 <indexterm zone="libjpeg jpegtran">
200 <primary sortas="b-jpegtran">jpegtran</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="rdjpgcom">
206 <term><command>rdjpgcom</command></term>
207 <listitem>
208 <para>displays text comments from within a JPEG file.</para>
209 <indexterm zone="libjpeg rdjpgcom">
210 <primary sortas="b-rdjpgcom">rdjpgcom</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="tjbench">
216 <term><command>tjbench</command></term>
217 <listitem>
218 <para>is used to benchmark the performance of libjpeg-turbo.</para>
219 <indexterm zone="libjpeg tjbench">
220 <primary sortas="b-tjbench">tjbench</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="wrjpgcom">
226 <term><command>wrjpgcom</command></term>
227 <listitem>
228 <para>inserts text comments into a JPEG file.</para>
229 <indexterm zone="libjpeg wrjpgcom">
230 <primary sortas="b-wrjpgcom">wrjpgcom</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="libjpeg-lib">
236 <term><filename class="libraryfile">libjpeg.so</filename></term>
237 <listitem>
238 <para>
239 contains functions used for reading and writing
240 JPEG images.
241 </para>
242 <indexterm zone="libjpeg libjpeg-lib">
243 <primary sortas="c-libjpeg">libjpeg.so</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 </variablelist>
249
250 </sect2>
251
252</sect1>
Note: See TracBrowser for help on using the repository browser.