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