source: general/graphlib/libraw.xml@ dd8ae08

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 dd8ae08 was dd8ae08, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to kde-plasma-5.7.3.
Update to kf5-apps-16.08.0.
Update to kf5-5.25.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17692 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 &lfs7a_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>CXX="g++ -Wno-narrowing" \
102./configure --prefix=/usr \
103 --enable-jpeg \
104 --enable-jasper \
105 --enable-lcms \
106 --disable-static \
107 --docdir=/usr/share/doc/libraw-&libraw-version; &amp;&amp;
108make</userinput></screen>
109
110 <para>
111 This package does not come with a test suite.
112 </para>
113
114 <para>
115 Now, as the <systemitem class="username">root</systemitem> user:
116 </para>
117
118<screen role="root"><userinput>make install</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para>
126 <envar>CXX="g++ -Wno-narrowing"</envar>: This environment variable
127 disables a warning that prevents the package from compiling.
128 </para>
129
130 <para>
131 <option>--enable-jpeg</option>: This switch enables
132 support for jpeg. Remove if you don't have
133 <xref linkend="libjpeg"/> installed.
134 </para>
135
136 <para>
137 <option>--enable-jasper</option>: This switch enables
138 support for jasper. Remove if you don't have
139 <xref linkend="jasper"/> installed.
140 </para>
141
142 <para>
143 <option>--enable-lcms</option>: This switch enables
144 support for Little CMS2. Remove if you don't have
145 <xref linkend="lcms2"/> installed.
146 </para>
147
148 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
149 href="../../xincludes/static-libraries.xml"/>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <note>
157 <para>
158 All the installed programs are examples of libraw use.
159 </para>
160 </note>
161
162 <segmentedlist>
163 <segtitle>Installed Programs</segtitle>
164 <segtitle>Installed Library</segtitle>
165 <segtitle>Installed Directories</segtitle>
166
167 <seglistitem>
168 <seg>
169 4channels, dcraw_emu, dcraw_half, half_mt, mem_image,
170 multirender_test, postprocessing_benchmark, raw-identify,
171 simple_dcraw, and unprocessed_raw
172 </seg>
173 <seg>
174 libraw.so and libraw_r.so
175 </seg>
176 <seg>
177 /usr/include/libraw and
178 /usr/share/doc/libraw-&libraw-version;
179 </seg>
180 </seglistitem>
181 </segmentedlist>
182
183 <variablelist>
184 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
185 <?dbfo list-presentation="list"?>
186 <?dbhtml list-presentation="table"?>
187
188 <varlistentry id="_4channels">
189 <term><command>4channels</command></term>
190 <listitem>
191 <para>
192 generates four TIFF files from RAW data, one file per channel.
193 </para>
194 <indexterm zone="libraw _4channels">
195 <primary sortas="b-_4channels">4channels</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="dcraw_half">
201 <term><command>dcraw_half</command></term>
202 <listitem>
203 <para>
204 emulates "dcraw -h" (see <ulink
205 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
206 DCRAW manpage</ulink>).
207 </para>
208 <indexterm zone="libraw dcraw_half">
209 <primary sortas="b-dcraw_half">dcraw_half</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="mem_image">
215 <term><command>mem_image</command></term>
216 <listitem>
217 <para>
218 emulates "dcraw [-4] [-6] [-e]" (see <ulink
219 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
220 DCRAW manpage</ulink>).
221 </para>
222 <indexterm zone="libraw mem_image">
223 <primary sortas="b-mem_image">mem_image</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="postprocessing_benchmark">
229 <term><command>postprocessing_benchmark</command></term>
230 <listitem>
231 <para>
232 creates eight different renderings from one source file.
233 The first and fourth one should be identical.
234 </para>
235 <indexterm zone="libraw postprocessing_benchmark">
236 <primary sortas="b-postprocessing_benchmark">
237 postprocessing_benchmark</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="simple_dcraw">
243 <term><command>simple_dcraw</command></term>
244 <listitem>
245 <para>
246 emulates call to "dcraw [-D] [-T] [-v] [-e] [-4]" (see <ulink
247 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
248 DCRAW manpage</ulink>).
249 </para>
250 <indexterm zone="libraw simple_dcraw">
251 <primary sortas="b-simple_dcraw">simple_dcraw</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="dcraw_emu">
257 <term><command>dcraw_emu</command></term>
258 <listitem>
259 <para>
260 is an almost complete dcraw emulator (see <ulink
261 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
262 DCRAW manpage</ulink>).
263 </para>
264 <indexterm zone="libraw dcraw_emu">
265 <primary sortas="b-dcraw_emu">dcraw_emu</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="half_mt">
271 <term><command>half_mt</command></term>
272 <listitem>
273 <para>
274 emulates call to "dcraw -h [-w] [-a] [-v]" (see <ulink
275 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
276 DCRAW manpage</ulink>).
277 </para>
278 <indexterm zone="libraw half_mt">
279 <primary sortas="b-half_mt">half_mt</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="multirender_test">
285 <term><command>multirender_test</command></term>
286 <listitem>
287 <para>
288 creates eight different renderings from one source file.
289 The first and fourth one should be identical.
290 </para>
291 <indexterm zone="libraw multirender_test">
292 <primary sortas="b-multirender_test">multirender_test</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="raw-identify">
298 <term><command>raw-identify</command></term>
299 <listitem>
300 <para>
301 emulates call to "dcraw -i [-v]" (see <ulink
302 url="http://www.http://www.cybercom.net/~dcoffin/dcraw/dcraw.1.html">
303 DCRAW manpage</ulink>).
304 </para>
305 <indexterm zone="libraw raw-identify">
306 <primary sortas="b-raw-identify">half_mt</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="unprocessed_raw">
312 <term><command>unprocessed_raw</command></term>
313 <listitem>
314 <para>
315 generates unprocessed raw image: with masked pixels and without
316 black subtraction.
317 </para>
318 <indexterm zone="libraw unprocessed_raw">
319 <primary sortas="b-unprocessed_raw">unprocessed_raw</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324<!-- <varlistentry id="libraw-lib">
325 <term><filename class='libraryfile'>libraw.so</filename></term>
326 <listitem>
327 <para>
328 contains functions used for parsing, editing, and saving
329 data.
330 </para>
331 <indexterm zone="libraw libraw-lib">
332 <primary sortas="c-libraw">libraw.so</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry> -->
336
337 </variablelist>
338
339 </sect2>
340
341</sect1>
Note: See TracBrowser for help on using the repository browser.