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