source: general/graphlib/libraw.xml@ 461c584

10.0 10.1 11.0 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 461c584 was 461c584, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to btrfs-progs-v4.15.1

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

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