source: general/graphlib/libjpeg-turbo.xml@ 09f0998

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 09f0998 was 09f0998, checked in by Pierre Labastie <pieere@…>, 20 months ago

Format general/graphlib

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

  • Property mode set to 100644
File size: 7.7 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 "d01d9e0c28c27bc0de9f4e2e8ff49855">
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 &lfs91_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 <option>-DWITH_JPEG8=ON</option>: 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>
174 compresses image files to produce a JPEG/JFIF file on the
175 standard output. Currently supported input file formats are: PPM
176 (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
177 BMP, and Targa.
178 </para>
179 <indexterm zone="libjpeg cjpeg">
180 <primary sortas="b-cjpeg">cjpeg</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="djpeg">
186 <term><command>djpeg</command></term>
187 <listitem>
188 <para>
189 decompresses image files from JPEG/JFIF format to either
190 PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
191 BMP, or Targa format.
192 </para>
193 <indexterm zone="libjpeg djpeg">
194 <primary sortas="b-djpeg">djpeg</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="jpegtran">
200 <term><command>jpegtran</command></term>
201 <listitem>
202 <para>
203 is used for lossless transformation of JPEG files.
204 </para>
205 <indexterm zone="libjpeg jpegtran">
206 <primary sortas="b-jpegtran">jpegtran</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="rdjpgcom">
212 <term><command>rdjpgcom</command></term>
213 <listitem>
214 <para>
215 displays text comments from within a JPEG file.
216 </para>
217 <indexterm zone="libjpeg rdjpgcom">
218 <primary sortas="b-rdjpgcom">rdjpgcom</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="tjbench">
224 <term><command>tjbench</command></term>
225 <listitem>
226 <para>
227 is used to benchmark the performance of libjpeg-turbo.
228 </para>
229 <indexterm zone="libjpeg tjbench">
230 <primary sortas="b-tjbench">tjbench</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="wrjpgcom">
236 <term><command>wrjpgcom</command></term>
237 <listitem>
238 <para>
239 inserts text comments into a JPEG file.
240 </para>
241 <indexterm zone="libjpeg wrjpgcom">
242 <primary sortas="b-wrjpgcom">wrjpgcom</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="libjpeg-lib">
248 <term><filename class="libraryfile">libjpeg.so</filename></term>
249 <listitem>
250 <para>
251 contains functions used for reading and writing JPEG images.
252 </para>
253 <indexterm zone="libjpeg libjpeg-lib">
254 <primary sortas="c-libjpeg">libjpeg.so</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 </variablelist>
260
261 </sect2>
262
263</sect1>
Note: See TracBrowser for help on using the repository browser.