source: general/graphlib/libjpeg-turbo.xml@ 45ab6c7

11.0 ken/refactor-virt lazarus qt5new trunk
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 5 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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