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