source: general/graphlib/libjpeg-turbo.xml@ 97828bc

10.0 10.1 11.0 11.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 97828bc was 97828bc, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Fix AccountsService md5sum

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

  • Property mode set to 100644
File size: 7.5 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 "b12a3fcf1d078db38410f27718a91b83">
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="nasm"/> or <xref linkend="yasm"/>
81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/libjpeg-turbo"/>
85 </para>
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libjpeg-turbo</title>
90
91 <para>
92 Install <application>libjpeg-turbo</application> by running the
93 following commands:
94 </para>
95
96<screen><userinput>
97mkdir 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/$PROGRAM \
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 <parameter>- -with-jpeg8</parameter>: 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>compresses image files to produce a JPEG/JFIF file on the
173 standard output. Currently supported input file formats are: PPM
174 (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
175 BMP, and Targa.</para>
176 <indexterm zone="libjpeg cjpeg">
177 <primary sortas="b-cjpeg">cjpeg</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="djpeg">
183 <term><command>djpeg</command></term>
184 <listitem>
185 <para>decompresses image files from JPEG/JFIF format to either
186 PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
187 BMP, or Targa format.</para>
188 <indexterm zone="libjpeg djpeg">
189 <primary sortas="b-djpeg">djpeg</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="jpegtran">
195 <term><command>jpegtran</command></term>
196 <listitem>
197 <para>is used for lossless transformation of JPEG files.</para>
198 <indexterm zone="libjpeg jpegtran">
199 <primary sortas="b-jpegtran">jpegtran</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="rdjpgcom">
205 <term><command>rdjpgcom</command></term>
206 <listitem>
207 <para>displays text comments from within a JPEG file.</para>
208 <indexterm zone="libjpeg rdjpgcom">
209 <primary sortas="b-rdjpgcom">rdjpgcom</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="tjbench">
215 <term><command>tjbench</command></term>
216 <listitem>
217 <para>is used to benchmark the performance of libjpeg-turbo.</para>
218 <indexterm zone="libjpeg tjbench">
219 <primary sortas="b-tjbench">tjbench</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="wrjpgcom">
225 <term><command>wrjpgcom</command></term>
226 <listitem>
227 <para>inserts text comments into a JPEG file.</para>
228 <indexterm zone="libjpeg wrjpgcom">
229 <primary sortas="b-wrjpgcom">wrjpgcom</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="libjpeg-lib">
235 <term><filename class="libraryfile">libjpeg.so</filename></term>
236 <listitem>
237 <para>
238 contains functions used for reading and writing
239 JPEG images.
240 </para>
241 <indexterm zone="libjpeg libjpeg-lib">
242 <primary sortas="c-libjpeg">libjpeg.so</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 </variablelist>
248
249 </sect2>
250
251</sect1>
Note: See TracBrowser for help on using the repository browser.