[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 " ">
|
---|
[83e98db] | 9 | <!ENTITY exiv2-md5sum "7b53f59708efc7f9840e34503eacb41f">
|
---|
| 10 | <!ENTITY exiv2-size "42 MB">
|
---|
| 11 | <!ENTITY exiv2-buildsize "119 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 |
|
---|
| 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 |
|
---|
[fc561d1] | 33 | &lfs120_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">
|
---|
[75129f2] | 90 | <xref linkend="brotli"/>,
|
---|
| 91 | <xref linkend="curl"/>, and
|
---|
[1e99ba7] | 92 | <xref linkend="inih"/>
|
---|
[338015f] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
[fa9660c] | 97 | <ulink url="https://www.libssh.org/">libssh</ulink>
|
---|
[338015f] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Optional for documentation</bridgehead>
|
---|
| 101 | <para role="optional">
|
---|
| 102 | <xref linkend="doxygen"/>,
|
---|
[60ddbaf] | 103 | <xref linkend="graphviz"/>, and
|
---|
[338015f] | 104 | <xref linkend="libxslt"/>
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[47969a6] | 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
| 110 | <title>Installation of Exiv2</title>
|
---|
[42a7d50] | 111 | <!--
|
---|
[09f0998] | 112 | <para>
|
---|
| 113 | First, disable building a sample program that fails:
|
---|
| 114 | </para>
|
---|
[fc935fb] | 115 |
|
---|
| 116 | <screen><userinput>sed -i '/conntest/s/^/#/' samples/CMakeLists.txt</userinput></screen>
|
---|
[42a7d50] | 117 | -->
|
---|
[c627795] | 118 | <para>
|
---|
| 119 | Install <application>Exiv2</application> by running the following
|
---|
| 120 | commands:
|
---|
| 121 | </para>
|
---|
[47969a6] | 122 |
|
---|
[1a7dcc4] | 123 | <screen><userinput>mkdir build &&
|
---|
[fc935fb] | 124 | cd build &&
|
---|
[338015f] | 125 |
|
---|
[fc935fb] | 126 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 127 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 128 | -DEXIV2_ENABLE_VIDEO=yes \
|
---|
| 129 | -DEXIV2_ENABLE_WEBREADY=yes \
|
---|
| 130 | -DEXIV2_ENABLE_CURL=yes \
|
---|
| 131 | -DEXIV2_BUILD_SAMPLES=no \
|
---|
| 132 | -G "Unix Makefiles" .. &&
|
---|
[47969a6] | 133 | make</userinput></screen>
|
---|
| 134 |
|
---|
[c627795] | 135 | <para>
|
---|
| 136 | This package does not come with a test suite.
|
---|
| 137 | </para>
|
---|
[47969a6] | 138 |
|
---|
[c627795] | 139 | <para>
|
---|
| 140 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 141 | </para>
|
---|
[47969a6] | 142 |
|
---|
[fc935fb] | 143 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[47969a6] | 144 |
|
---|
| 145 | </sect2>
|
---|
[c627795] | 146 |
|
---|
[47969a6] | 147 | <sect2 role="commands">
|
---|
| 148 | <title>Command Explanations</title>
|
---|
| 149 |
|
---|
[338015f] | 150 | <para>
|
---|
[fc935fb] | 151 | <parameter>-DEXIV2_ENABLE_VIDEO=yes</parameter>:
|
---|
[338015f] | 152 | This switch enables managing video metadata.
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <para>
|
---|
[fc935fb] | 156 | <parameter>-DEXIV2_ENABLE_WEBREADY=yes</parameter>:
|
---|
[338015f] | 157 | This switch enables managing web image metadata.
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
| 160 | <para>
|
---|
[fc935fb] | 161 | <parameter>-DEXIV2_BUILD_SAMPLES=no</parameter>:
|
---|
| 162 | This switch is necessary to suppress building and installing
|
---|
[22c91155] | 163 | sample programs. If the sample programs are built, 34 additional
|
---|
[fc935fb] | 164 | programs are installed in /usr/bin.
|
---|
[338015f] | 165 | </para>
|
---|
| 166 |
|
---|
| 167 | <para>
|
---|
[fc935fb] | 168 | <parameter>-DEXIV2_ENABLE_CURL=yes</parameter>:
|
---|
| 169 | This switch is necessary to enable network/http capabilities.
|
---|
[338015f] | 170 | </para>
|
---|
| 171 |
|
---|
[1e99ba7] | 172 | <para>
|
---|
| 173 | <option>-DEXIV2_ENABLE_INIH=no</option>:
|
---|
| 174 | Use this switch if you have not installed <xref linkend="inih"/>.
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
[09b33fb] | 177 | <para>
|
---|
| 178 | <option>-DEXIV2_ENABLE_BROTLI=no</option>:
|
---|
| 179 | Use this switch if you have not installed <xref linkend="brotli"/>.
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
[47969a6] | 182 | </sect2>
|
---|
[c627795] | 183 |
|
---|
[47969a6] | 184 | <sect2 role="content">
|
---|
| 185 | <title>Contents</title>
|
---|
| 186 |
|
---|
| 187 | <segmentedlist>
|
---|
| 188 | <segtitle>Installed Program</segtitle>
|
---|
[c627795] | 189 | <segtitle>Installed Library</segtitle>
|
---|
[fc935fb] | 190 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 191 |
|
---|
| 192 | <seglistitem>
|
---|
[c627795] | 193 | <seg>
|
---|
| 194 | exiv2
|
---|
| 195 | </seg>
|
---|
| 196 | <seg>
|
---|
[fc935fb] | 197 | libexiv2.so and
|
---|
[c744d0a5] | 198 | libexiv2-xmp.a
|
---|
[c627795] | 199 | </seg>
|
---|
[c3c56b2] | 200 | <seg>
|
---|
[8558044] | 201 | /usr/include/exiv2 <!--and
|
---|
[c744d0a5] | 202 | /usr/share/exiv2 -->
|
---|
[c3c56b2] | 203 | </seg>
|
---|
[47969a6] | 204 | </seglistitem>
|
---|
| 205 | </segmentedlist>
|
---|
| 206 |
|
---|
| 207 | <variablelist>
|
---|
| 208 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 209 | <?dbfo list-presentation="list"?>
|
---|
| 210 | <?dbhtml list-presentation="table"?>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="exiv2-prog">
|
---|
| 213 | <term><command>exiv2</command></term>
|
---|
| 214 | <listitem>
|
---|
[c627795] | 215 | <para>
|
---|
[4c24eb0a] | 216 | is a utility used to dump Exif data
|
---|
[c627795] | 217 | </para>
|
---|
[47969a6] | 218 | <indexterm zone="exiv2 exiv2-prog">
|
---|
| 219 | <primary sortas="b-exiv2">exiv2</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | </variablelist>
|
---|
| 225 |
|
---|
| 226 | </sect2>
|
---|
| 227 |
|
---|
| 228 | </sect1>
|
---|