source: general/graphlib/libjpeg-turbo.xml@ a1f2d184

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a1f2d184 was eecab611, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Update to libjpeg-turbo-1.3.1
Update to libgpg-error-1.13

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

  • Property mode set to 100644
File size: 7.3 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-repo;/libjpeg-turbo/libjpeg-turbo-&libjpeg-turbo-version;.tar.gz">
8 <!ENTITY libjpeg-download-ftp " ">
9 <!ENTITY libjpeg-md5sum "2c3a68129dac443a72815ff5bb374b05">
10 <!ENTITY libjpeg-size "1.3 MB">
11 <!ENTITY libjpeg-buildsize "14 MB">
12 <!ENTITY libjpeg-time "0.3 SBU">
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 &lfs75_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>sed -i -e '/^docdir/ s:$:/libjpeg-turbo-&libjpeg-turbo-version;:' \
97 -e '/^exampledir/ s:$:/libjpeg-turbo-&libjpeg-turbo-version;:' Makefile.in &amp;&amp;
98
99./configure --prefix=/usr \
100 --mandir=/usr/share/man \
101 --with-jpeg8 \
102 --disable-static &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 To test the results, issue: <command>make test</command>.
107 </para>
108
109 <para>
110 Now, as the <systemitem class="username">root</systemitem> user:
111 </para>
112
113<screen role="root"><userinput>make install</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para>
121 <command>sed -i -e ...</command> This command fixes Makefile.in to install
122 documentation and examples in a version specific directory.
123 </para>
124
125 <para>
126 <parameter>--with-jpeg8</parameter>: This switch enables compatibility
127 with <application>libjpeg</application> version 8.
128 </para>
129
130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="../../xincludes/static-libraries.xml"/>
132
133 </sect2>
134
135 <sect2 role="content">
136 <title>Contents</title>
137
138 <segmentedlist>
139 <segtitle>Installed Programs</segtitle>
140 <segtitle>Installed Libraries</segtitle>
141 <segtitle>Installed Directories</segtitle>
142
143 <seglistitem>
144 <seg>
145 cjpeg, djpeg, jpegtran, rdjpgcom, tjbench, and wrjpgcom
146 </seg>
147 <seg>
148 libjpeg.so and libturbojpeg.so
149 </seg>
150 <seg>
151 /usr/share/doc/libjpeg-turbo-&libjpeg-turbo-version;
152 </seg>
153 </seglistitem>
154 </segmentedlist>
155
156 <variablelist>
157 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
158 <?dbfo list-presentation="list"?>
159 <?dbhtml list-presentation="table"?>
160
161 <varlistentry id="cjpeg">
162 <term><command>cjpeg</command></term>
163 <listitem>
164 <para>compresses image files to produce a JPEG/JFIF file on the
165 standard output. Currently supported input file formats are: PPM
166 (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
167 BMP, and Targa.</para>
168 <indexterm zone="libjpeg cjpeg">
169 <primary sortas="b-cjpeg">cjpeg</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry id="djpeg">
175 <term><command>djpeg</command></term>
176 <listitem>
177 <para>decompresses image files from JPEG/JFIF format to either
178 PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
179 BMP, or Targa format.</para>
180 <indexterm zone="libjpeg djpeg">
181 <primary sortas="b-djpeg">djpeg</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="jpegtran">
187 <term><command>jpegtran</command></term>
188 <listitem>
189 <para>is used for lossless transformation of JPEG files.</para>
190 <indexterm zone="libjpeg jpegtran">
191 <primary sortas="b-jpegtran">jpegtran</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="rdjpgcom">
197 <term><command>rdjpgcom</command></term>
198 <listitem>
199 <para>displays text comments from within a JPEG file.</para>
200 <indexterm zone="libjpeg rdjpgcom">
201 <primary sortas="b-rdjpgcom">rdjpgcom</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="tjbench">
207 <term><command>tjbench</command></term>
208 <listitem>
209 <para>is used to benchmark the performance of libjpeg-turbo.</para>
210 <indexterm zone="libjpeg tjbench">
211 <primary sortas="b-tjbench">tjbench</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="wrjpgcom">
217 <term><command>wrjpgcom</command></term>
218 <listitem>
219 <para>inserts text comments into a JPEG file.</para>
220 <indexterm zone="libjpeg wrjpgcom">
221 <primary sortas="b-wrjpgcom">wrjpgcom</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="libjpeg-lib">
227 <term><filename class="libraryfile">libjpeg.so</filename></term>
228 <listitem>
229 <para>
230 contains functions used for reading and writing
231 JPEG images.
232 </para>
233 <indexterm zone="libjpeg libjpeg-lib">
234 <primary sortas="c-libjpeg">libjpeg.so</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 </variablelist>
240
241 </sect2>
242
243</sect1>
Note: See TracBrowser for help on using the repository browser.