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

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since df96e92 was 2a72ab9, checked in by Ken Moffat <ken@…>, 10 months ago

Tags.

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