[47969a6] | 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 |
|
---|
[c6b192c] | 7 | <!ENTITY exiv2-download-http "https://www.exiv2.org/builds/exiv2-&exiv2-version;-Source.tar.gz">
|
---|
[47969a6] | 8 | <!ENTITY exiv2-download-ftp " ">
|
---|
[c744d0a5] | 9 | <!ENTITY exiv2-md5sum "68a59595e8617284b2e1eee528ae1f77">
|
---|
| 10 | <!ENTITY exiv2-size "25 MB">
|
---|
| 11 | <!ENTITY exiv2-buildsize "76 MB">
|
---|
| 12 | <!ENTITY exiv2-time "0.3 SBU (Using parallelism=4)">
|
---|
[47969a6] | 13 | ]>
|
---|
| 14 |
|
---|
[c627795] | 15 | <sect1 id="exiv2" xreflabel="Exiv2-&exiv2-version;">
|
---|
[47969a6] | 16 | <?dbhtml filename="exiv2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Exiv2-&exiv2-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="exiv2">
|
---|
[c627795] | 25 | <primary sortas="a-Exiv2">Exiv2</primary>
|
---|
[47969a6] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Exiv2</title>
|
---|
| 30 |
|
---|
[c627795] | 31 | <para>
|
---|
[0d7900a] | 32 | <application>Exiv2</application> is a C++ library and a command
|
---|
[338015f] | 33 | line utility for managing image and video metadata.
|
---|
[c627795] | 34 | </para>
|
---|
[47969a6] | 35 |
|
---|
[d437f756] | 36 | &lfs101_checked;
|
---|
[47969a6] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[c627795] | 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&exiv2-download-http;"/>
|
---|
| 43 | </para>
|
---|
[47969a6] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[c627795] | 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&exiv2-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
[47969a6] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[c627795] | 51 | <para>
|
---|
| 52 | Download MD5 sum: &exiv2-md5sum;
|
---|
| 53 | </para>
|
---|
[47969a6] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[c627795] | 56 | <para>
|
---|
| 57 | Download size: &exiv2-size;
|
---|
| 58 | </para>
|
---|
[47969a6] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[c627795] | 61 | <para>
|
---|
| 62 | Estimated disk space required: &exiv2-buildsize;
|
---|
| 63 | </para>
|
---|
[47969a6] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[c627795] | 66 | <para>
|
---|
| 67 | Estimated build time: &exiv2-time;
|
---|
| 68 | </para>
|
---|
[47969a6] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[f7c3c7b] | 72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 73 | <itemizedlist spacing="compact">
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Required patch:
|
---|
| 77 | <ulink url="&patch-root;/exiv2-&exiv2-version;-security_fixes-1.patch"/>
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[73fe507] | 82 | <bridgehead renderas="sect3">Exiv2 dependencies</bridgehead>
|
---|
| 83 |
|
---|
[87cfb74] | 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 85 | <para role="required">
|
---|
| 86 | <xref linkend="cmake"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
[338015f] | 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[87cfb74] | 90 | <para role="recommended">
|
---|
[338015f] | 91 | <xref linkend="curl"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 95 | <para role="optional">
|
---|
| 96 | <ulink url="http://www.libssh.org/">libssh</ulink>
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional for documentation</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
| 101 | <xref linkend="doxygen"/>,
|
---|
[60ddbaf] | 102 | <xref linkend="graphviz"/>, and
|
---|
[338015f] | 103 | <xref linkend="libxslt"/>
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
[47969a6] | 106 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 107 | <ulink url="&blfs-wiki;/exiv2"/>
|
---|
| 108 | </para>
|
---|
[47969a6] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
| 112 | <title>Installation of Exiv2</title>
|
---|
[42a7d50] | 113 | <!--
|
---|
[09f0998] | 114 | <para>
|
---|
| 115 | First, disable building a sample program that fails:
|
---|
| 116 | </para>
|
---|
[fc935fb] | 117 |
|
---|
| 118 | <screen><userinput>sed -i '/conntest/s/^/#/' samples/CMakeLists.txt</userinput></screen>
|
---|
[42a7d50] | 119 | -->
|
---|
[c627795] | 120 | <para>
|
---|
| 121 | Install <application>Exiv2</application> by running the following
|
---|
| 122 | commands:
|
---|
| 123 | </para>
|
---|
[47969a6] | 124 |
|
---|
[f7c3c7b] | 125 | <screen><userinput>patch -Np1 -i ../exiv2-&exiv2-version;-security_fixes-1.patch &&
|
---|
| 126 | mkdir build &&
|
---|
[fc935fb] | 127 | cd build &&
|
---|
[338015f] | 128 |
|
---|
[fc935fb] | 129 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 130 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 131 | -DEXIV2_ENABLE_VIDEO=yes \
|
---|
| 132 | -DEXIV2_ENABLE_WEBREADY=yes \
|
---|
| 133 | -DEXIV2_ENABLE_CURL=yes \
|
---|
| 134 | -DEXIV2_BUILD_SAMPLES=no \
|
---|
| 135 | -G "Unix Makefiles" .. &&
|
---|
[47969a6] | 136 | make</userinput></screen>
|
---|
| 137 |
|
---|
[c627795] | 138 | <para>
|
---|
| 139 | This package does not come with a test suite.
|
---|
| 140 | </para>
|
---|
[47969a6] | 141 |
|
---|
[c627795] | 142 | <para>
|
---|
| 143 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 144 | </para>
|
---|
[47969a6] | 145 |
|
---|
[fc935fb] | 146 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[47969a6] | 147 |
|
---|
| 148 | </sect2>
|
---|
[c627795] | 149 |
|
---|
[47969a6] | 150 | <sect2 role="commands">
|
---|
| 151 | <title>Command Explanations</title>
|
---|
| 152 |
|
---|
[338015f] | 153 | <para>
|
---|
[fc935fb] | 154 | <parameter>-DEXIV2_ENABLE_VIDEO=yes</parameter>:
|
---|
[338015f] | 155 | This switch enables managing video metadata.
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <para>
|
---|
[fc935fb] | 159 | <parameter>-DEXIV2_ENABLE_WEBREADY=yes</parameter>:
|
---|
[338015f] | 160 | This switch enables managing web image metadata.
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <para>
|
---|
[fc935fb] | 164 | <parameter>-DEXIV2_BUILD_SAMPLES=no</parameter>:
|
---|
| 165 | This switch is necessary to suppress building and installing
|
---|
[22c91155] | 166 | sample programs. If the sample programs are built, 34 additional
|
---|
[fc935fb] | 167 | programs are installed in /usr/bin.
|
---|
[338015f] | 168 | </para>
|
---|
| 169 |
|
---|
| 170 | <para>
|
---|
[fc935fb] | 171 | <parameter>-DEXIV2_ENABLE_CURL=yes</parameter>:
|
---|
| 172 | This switch is necessary to enable network/http capabilities.
|
---|
[338015f] | 173 | </para>
|
---|
| 174 |
|
---|
[47969a6] | 175 | </sect2>
|
---|
[c627795] | 176 |
|
---|
[47969a6] | 177 | <sect2 role="content">
|
---|
| 178 | <title>Contents</title>
|
---|
| 179 |
|
---|
| 180 | <segmentedlist>
|
---|
| 181 | <segtitle>Installed Program</segtitle>
|
---|
[c627795] | 182 | <segtitle>Installed Library</segtitle>
|
---|
[fc935fb] | 183 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 184 |
|
---|
| 185 | <seglistitem>
|
---|
[c627795] | 186 | <seg>
|
---|
| 187 | exiv2
|
---|
| 188 | </seg>
|
---|
| 189 | <seg>
|
---|
[fc935fb] | 190 | libexiv2.so and
|
---|
[c744d0a5] | 191 | libexiv2-xmp.a
|
---|
[c627795] | 192 | </seg>
|
---|
[c3c56b2] | 193 | <seg>
|
---|
[c744d0a5] | 194 | /usr/include/exiv2 <!--and
|
---|
| 195 | /usr/share/exiv2 -->
|
---|
[c3c56b2] | 196 | </seg>
|
---|
[47969a6] | 197 | </seglistitem>
|
---|
| 198 | </segmentedlist>
|
---|
| 199 |
|
---|
| 200 | <variablelist>
|
---|
| 201 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 202 | <?dbfo list-presentation="list"?>
|
---|
| 203 | <?dbhtml list-presentation="table"?>
|
---|
| 204 |
|
---|
| 205 | <varlistentry id="exiv2-prog">
|
---|
| 206 | <term><command>exiv2</command></term>
|
---|
| 207 | <listitem>
|
---|
[c627795] | 208 | <para>
|
---|
[4c24eb0a] | 209 | is a utility used to dump Exif data
|
---|
[c627795] | 210 | </para>
|
---|
[47969a6] | 211 | <indexterm zone="exiv2 exiv2-prog">
|
---|
| 212 | <primary sortas="b-exiv2">exiv2</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
| 217 | </variablelist>
|
---|
| 218 |
|
---|
| 219 | </sect2>
|
---|
| 220 |
|
---|
| 221 | </sect1>
|
---|