[6054745] | 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 "21f569be043057b754d87e3062e2345a">
|
---|
| 10 | <!ENTITY libraw-size "1.4 MB">
|
---|
| 11 | <!ENTITY libraw-buildsize "21 MB">
|
---|
| 12 | <!ENTITY libraw-time "0.4 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libraw" xreflabel="libraw-&libraw-version;">
|
---|
| 16 | <?dbhtml filename="libraw.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy: fernando $</othername>
|
---|
| 20 | <date>$Date: 2014-02-20 08:45:35 -0600 (Thu, 20 Feb 2014) $</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 |
|
---|
[80b8a40] | 37 | &lfs76_checked;
|
---|
[6054745] | 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>./configure --prefix=/usr \
|
---|
| 102 | --enable-jpeg \
|
---|
| 103 | --enable-jasper \
|
---|
| 104 | --enable-lcms \
|
---|
| 105 | --disable-static \
|
---|
| 106 | --docdir=/usr/share/doc/libraw-&libraw-version; &&
|
---|
| 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | This package does not come with a test suite.
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | <option>--enable-jpeg</option>: This switch enables
|
---|
| 126 | support for jpeg. Remove if you don't have
|
---|
| 127 | <xref linkend="libjpeg"/> installed.
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | <option>--enable-jasper</option>: This switch enables
|
---|
| 132 | support for jasper. Remove if you don't have
|
---|
| 133 | <xref linkend="jasper"/> installed.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
[c7cce61] | 137 | <option>--enable-lcms</option>: This switch enables
|
---|
[6054745] | 138 | support for Little CMS2. Remove if you don't have
|
---|
| 139 | <xref linkend="lcms2"/> installed.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 143 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="content">
|
---|
| 148 | <title>Contents</title>
|
---|
| 149 |
|
---|
| 150 | <segmentedlist>
|
---|
| 151 | <segtitle>Installed Programs</segtitle>
|
---|
| 152 | <segtitle>Installed Library</segtitle>
|
---|
| 153 | <segtitle>Installed Directories</segtitle>
|
---|
| 154 |
|
---|
| 155 | <seglistitem>
|
---|
| 156 | <seg>
|
---|
| 157 | 4channels, dcraw_half, mem_image, postprocessing_benchmark,
|
---|
| 158 | simple_dcraw, dcraw_emu, half_mt, multirender_test, raw-identify,
|
---|
| 159 | and unprocessed_raw
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
| 162 | libraw.so and libraw_r.so
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | /usr/include/libraw and
|
---|
| 166 | /usr/share/doc/libraw-&libraw-version;
|
---|
| 167 | </seg>
|
---|
| 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 | <!--
|
---|
| 171 | <variablelist>
|
---|
| 172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 173 | <?dbfo list-presentation="list"?>
|
---|
| 174 | <?dbhtml list-presentation="table"?>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="libraw-lib">
|
---|
| 177 | <term><filename class='libraryfile'>libraw.so</filename></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>
|
---|
| 180 | contains functions used for parsing, editing, and saving
|
---|
| 181 | data.
|
---|
| 182 | </para>
|
---|
| 183 | <indexterm zone="libraw libraw-lib">
|
---|
| 184 | <primary sortas="c-libraw">libraw.so</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | </variablelist>
|
---|
| 190 | -->
|
---|
| 191 | </sect2>
|
---|
| 192 |
|
---|
| 193 | </sect1>
|
---|