source: general/graphlib/libraw.xml@ 4c1494d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 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 4c1494d was 4c1494d, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to LibRaw-0.17.2.
Update to libevdev-1.5.1.

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

  • Property mode set to 100644
File size: 10.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 libraw-download-http "http://www.libraw.org/data/LibRaw-&libraw-version;.tar.gz">
8 <!ENTITY libraw-download-ftp " ">
9 <!ENTITY libraw-md5sum "456626300777209def1ea784910f326a">
10 <!ENTITY libraw-size "1.4 MB">
11 <!ENTITY libraw-buildsize "14 MB">
12 <!ENTITY libraw-time "0.2 SBU">
13]>
14
15<sect1 id="libraw" xreflabel="libraw-&libraw-version;">
16 <?dbhtml filename="libraw.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libraw-&libraw-version;</title>
24
25 <indexterm zone="libraw">
26 <primary sortas="a-libraw">libraw</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libraw</title>
31
32 <para>
33 <application>Libraw</application> is a library for reading RAW files
34 obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others).
35 </para>
36
37 &lfs79_checked;
38 &gcc6_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&libraw-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&libraw-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &libraw-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &libraw-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &libraw-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &libraw-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">libraw Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="libjpeg"/>,
79 <xref linkend="jasper"/>, and
80 <xref linkend="lcms2"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <ulink url="http://www.libraw.org/download">LibRaw-demosaic-pack-GPL2</ulink> and
86 <ulink url="http://www.libraw.org/download">LibRaw-demosaic-pack-GPL3</ulink>
87 </para>
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/libraw"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of libraw</title>
96
97 <para>
98 Install <application>libraw</application> by running the following
99 commands:
100 </para>
101
102<screen><userinput>CXX="g++ -Wno-narrowing" \
103./configure --prefix=/usr \
104 --enable-jpeg \
105 --enable-jasper \
106 --enable-lcms \
107 --disable-static \
108 --docdir=/usr/share/doc/libraw-&libraw-version; &amp;&amp;
109make</userinput></screen>
110
111 <para>
112 This package does not come with a test suite.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para>
127 <envar>CXX="g++ -Wno-narrowing"</envar>: This environment variable
128 disables a warning that prevents the package from compiling.
129 </para>
130
131 <para>
132 <option>--enable-jpeg</option>: This switch enables
133 support for jpeg. Remove if you don't have
134 <xref linkend="libjpeg"/> installed.
135 </para>
136
137 <para>
138 <option>--enable-jasper</option>: This switch enables
139 support for jasper. Remove if you don't have
140 <xref linkend="jasper"/> installed.
141 </para>
142
143 <para>
144 <option>--enable-lcms</option>: This switch enables
145 support for Little CMS2. Remove if you don't have
146 <xref linkend="lcms2"/> installed.
147 </para>
148
149 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
150 href="../../xincludes/static-libraries.xml"/>
151
152 </sect2>
153
154 <sect2 role="content">
155 <title>Contents</title>
156
157 <note>
158 <para>
159 All the installed programs are examples of libraw use.
160 </para>
161 </note>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Library</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 4channels, dcraw_emu, dcraw_half, half_mt, mem_image,
171 multirender_test, postprocessing_benchmark, raw-identify,
172 simple_dcraw, and unprocessed_raw
173 </seg>
174 <seg>
175 libraw.so and libraw_r.so
176 </seg>
177 <seg>
178 /usr/include/libraw and
179 /usr/share/doc/libraw-&libraw-version;
180 </seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
189 <varlistentry id="_4channels">
190 <term><command>4channels</command></term>
191 <listitem>
192 <para>
193 generates four TIFF files from RAW data, one file per channel.
194 </para>
195 <indexterm zone="libraw _4channels">
196 <primary sortas="b-_4channels">4channels</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="dcraw_half">
202 <term><command>dcraw_half</command></term>
203 <listitem>
204 <para>
205 emulates "dcraw -h" (see <ulink
206 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
207 DCRAW manpage</ulink>).
208 </para>
209 <indexterm zone="libraw dcraw_half">
210 <primary sortas="b-dcraw_half">dcraw_half</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="mem_image">
216 <term><command>mem_image</command></term>
217 <listitem>
218 <para>
219 emulates "dcraw [-4] [-6] [-e]" (see <ulink
220 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
221 DCRAW manpage</ulink>).
222 </para>
223 <indexterm zone="libraw mem_image">
224 <primary sortas="b-mem_image">mem_image</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="postprocessing_benchmark">
230 <term><command>postprocessing_benchmark</command></term>
231 <listitem>
232 <para>
233 creates eight different renderings from one source file.
234 The first and fourth one should be identical.
235 </para>
236 <indexterm zone="libraw postprocessing_benchmark">
237 <primary sortas="b-postprocessing_benchmark">
238 postprocessing_benchmark</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="simple_dcraw">
244 <term><command>simple_dcraw</command></term>
245 <listitem>
246 <para>
247 emulates call to "dcraw [-D] [-T] [-v] [-e] [-4]" (see <ulink
248 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
249 DCRAW manpage</ulink>).
250 </para>
251 <indexterm zone="libraw simple_dcraw">
252 <primary sortas="b-simple_dcraw">simple_dcraw</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="dcraw_emu">
258 <term><command>dcraw_emu</command></term>
259 <listitem>
260 <para>
261 is an almost complete dcraw emulator (see <ulink
262 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
263 DCRAW manpage</ulink>).
264 </para>
265 <indexterm zone="libraw dcraw_emu">
266 <primary sortas="b-dcraw_emu">dcraw_emu</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="half_mt">
272 <term><command>half_mt</command></term>
273 <listitem>
274 <para>
275 emulates call to "dcraw -h [-w] [-a] [-v]" (see <ulink
276 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
277 DCRAW manpage</ulink>).
278 </para>
279 <indexterm zone="libraw half_mt">
280 <primary sortas="b-half_mt">half_mt</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="multirender_test">
286 <term><command>multirender_test</command></term>
287 <listitem>
288 <para>
289 creates eight different renderings from one source file.
290 The first and fourth one should be identical.
291 </para>
292 <indexterm zone="libraw multirender_test">
293 <primary sortas="b-multirender_test">multirender_test</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="raw-identify">
299 <term><command>raw-identify</command></term>
300 <listitem>
301 <para>
302 emulates call to "dcraw -i [-v]" (see <ulink
303 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
304 DCRAW manpage</ulink>).
305 </para>
306 <indexterm zone="libraw raw-identify">
307 <primary sortas="b-raw-identify">half_mt</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="unprocessed_raw">
313 <term><command>unprocessed_raw</command></term>
314 <listitem>
315 <para>
316 generates unprocessed raw image: with masked pixels and without
317 black subtraction.
318 </para>
319 <indexterm zone="libraw unprocessed_raw">
320 <primary sortas="b-unprocessed_raw">unprocessed_raw</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325<!-- <varlistentry id="libraw-lib">
326 <term><filename class='libraryfile'>libraw.so</filename></term>
327 <listitem>
328 <para>
329 contains functions used for parsing, editing, and saving
330 data.
331 </para>
332 <indexterm zone="libraw libraw-lib">
333 <primary sortas="c-libraw">libraw.so</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry> -->
337
338 </variablelist>
339
340 </sect2>
341
342</sect1>
Note: See TracBrowser for help on using the repository browser.