[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[47969a6] | 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 |
|
---|
[4b67e8b] | 7 | <!ENTITY exiv2-download-http "https://github.com/Exiv2/exiv2/archive/v&exiv2-version;/exiv2-&exiv2-version;.tar.gz">
|
---|
[47969a6] | 8 | <!ENTITY exiv2-download-ftp " ">
|
---|
[8ae45f0] | 9 | <!ENTITY exiv2-md5sum "9944863400a43e79583b790f710b86c2">
|
---|
| 10 | <!ENTITY exiv2-size "44 MB">
|
---|
| 11 | <!ENTITY exiv2-buildsize "133 MB (with tests)">
|
---|
[698d5e6] | 12 | <!ENTITY exiv2-time "0.3 SBU (Using parallelism=4, with tests)">
|
---|
[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>
|
---|
[180d6519] | 29 | <application>Exiv2</application> contains a C++ library and a command
|
---|
[338015f] | 30 | line utility for managing image and video metadata.
|
---|
[c627795] | 31 | </para>
|
---|
[47969a6] | 32 |
|
---|
[41a19c4] | 33 | &lfs122_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 |
|
---|
[cbfa153] | 126 | cmake -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 127 | -D CMAKE_BUILD_TYPE=Release \
|
---|
| 128 | -D EXIV2_ENABLE_VIDEO=yes \
|
---|
| 129 | -D EXIV2_ENABLE_WEBREADY=yes \
|
---|
| 130 | -D EXIV2_ENABLE_CURL=yes \
|
---|
| 131 | -D EXIV2_BUILD_SAMPLES=no \
|
---|
| 132 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 133 | -G Ninja .. &&
|
---|
[cea4ddf] | 134 | ninja</userinput></screen>
|
---|
[47969a6] | 135 |
|
---|
[c627795] | 136 | <para>
|
---|
[0b1b6aa7] | 137 | To test the results, issue: <command>ninja test</command>.
|
---|
[c627795] | 138 | </para>
|
---|
[47969a6] | 139 |
|
---|
[c627795] | 140 | <para>
|
---|
| 141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 142 | </para>
|
---|
[47969a6] | 143 |
|
---|
[cea4ddf] | 144 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[47969a6] | 145 |
|
---|
| 146 | </sect2>
|
---|
[c627795] | 147 |
|
---|
[47969a6] | 148 | <sect2 role="commands">
|
---|
| 149 | <title>Command Explanations</title>
|
---|
| 150 |
|
---|
[cea4ddf] | 151 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 152 | href="../../xincludes/cmake-skip-install-rpath.xml"/>
|
---|
| 153 |
|
---|
[338015f] | 154 | <para>
|
---|
[cbfa153] | 155 | <parameter>-D EXIV2_ENABLE_VIDEO=yes</parameter>:
|
---|
[338015f] | 156 | This switch enables managing video metadata.
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
[cbfa153] | 160 | <parameter>-D EXIV2_ENABLE_WEBREADY=yes</parameter>:
|
---|
[338015f] | 161 | This switch enables managing web image metadata.
|
---|
| 162 | </para>
|
---|
| 163 |
|
---|
| 164 | <para>
|
---|
[cbfa153] | 165 | <parameter>-D EXIV2_BUILD_SAMPLES=no</parameter>:
|
---|
[fc935fb] | 166 | This switch is necessary to suppress building and installing
|
---|
[22c91155] | 167 | sample programs. If the sample programs are built, 34 additional
|
---|
[fc935fb] | 168 | programs are installed in /usr/bin.
|
---|
[338015f] | 169 | </para>
|
---|
| 170 |
|
---|
| 171 | <para>
|
---|
[cbfa153] | 172 | <parameter>-D EXIV2_ENABLE_CURL=yes</parameter>:
|
---|
[fc935fb] | 173 | This switch is necessary to enable network/http capabilities.
|
---|
[338015f] | 174 | </para>
|
---|
| 175 |
|
---|
[1e99ba7] | 176 | <para>
|
---|
[cbfa153] | 177 | <option>-D EXIV2_ENABLE_INIH=no</option>:
|
---|
[1e99ba7] | 178 | Use this switch if you have not installed <xref linkend="inih"/>.
|
---|
| 179 | </para>
|
---|
| 180 |
|
---|
[09b33fb] | 181 | <para>
|
---|
[cbfa153] | 182 | <option>-D EXIV2_ENABLE_BROTLI=no</option>:
|
---|
[09b33fb] | 183 | Use this switch if you have not installed <xref linkend="brotli"/>.
|
---|
| 184 | </para>
|
---|
| 185 |
|
---|
[47969a6] | 186 | </sect2>
|
---|
[c627795] | 187 |
|
---|
[47969a6] | 188 | <sect2 role="content">
|
---|
| 189 | <title>Contents</title>
|
---|
| 190 |
|
---|
| 191 | <segmentedlist>
|
---|
| 192 | <segtitle>Installed Program</segtitle>
|
---|
[c627795] | 193 | <segtitle>Installed Library</segtitle>
|
---|
[fc935fb] | 194 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 195 |
|
---|
| 196 | <seglistitem>
|
---|
[c627795] | 197 | <seg>
|
---|
| 198 | exiv2
|
---|
| 199 | </seg>
|
---|
| 200 | <seg>
|
---|
[698d5e6] | 201 | libexiv2.so <!-- and
|
---|
| 202 | libexiv2-xmp.a -->
|
---|
[c627795] | 203 | </seg>
|
---|
[c3c56b2] | 204 | <seg>
|
---|
[698d5e6] | 205 | /usr/include/exiv2 and
|
---|
| 206 | /usr/lib/cmake/exiv2
|
---|
[c3c56b2] | 207 | </seg>
|
---|
[47969a6] | 208 | </seglistitem>
|
---|
| 209 | </segmentedlist>
|
---|
| 210 |
|
---|
| 211 | <variablelist>
|
---|
| 212 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 213 | <?dbfo list-presentation="list"?>
|
---|
| 214 | <?dbhtml list-presentation="table"?>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="exiv2-prog">
|
---|
| 217 | <term><command>exiv2</command></term>
|
---|
| 218 | <listitem>
|
---|
[c627795] | 219 | <para>
|
---|
[4c24eb0a] | 220 | is a utility used to dump Exif data
|
---|
[c627795] | 221 | </para>
|
---|
[47969a6] | 222 | <indexterm zone="exiv2 exiv2-prog">
|
---|
| 223 | <primary sortas="b-exiv2">exiv2</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | </variablelist>
|
---|
| 229 |
|
---|
| 230 | </sect2>
|
---|
| 231 |
|
---|
| 232 | </sect1>
|
---|