source: general/graphlib/exiv2.xml

trunk
Last change on this file was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Tags

  • Property mode set to 100644
File size: 5.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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/archive/v&exiv2-version;/exiv2-&exiv2-version;.tar.gz">
8 <!ENTITY exiv2-download-ftp " ">
9 <!ENTITY exiv2-md5sum "75a8766216a15ad104f09ab4a0eab7ca">
10 <!ENTITY exiv2-size "43 MB">
11 <!ENTITY exiv2-buildsize "127 MB (with tests)">
12 <!ENTITY exiv2-time "0.3 SBU (Using parallelism=4, with tests)">
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 &lfs121_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 </sect2>
108
109 <sect2 role="installation">
110 <title>Installation of Exiv2</title>
111<!--
112 <para>
113 First, disable building a sample program that fails:
114 </para>
115
116<screen><userinput>sed -i '/conntest/s/^/#/' samples/CMakeLists.txt</userinput></screen>
117-->
118 <para>
119 Install <application>Exiv2</application> by running the following
120 commands:
121 </para>
122
123<screen><userinput>mkdir build &amp;&amp;
124cd build &amp;&amp;
125
126cmake -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" .. &amp;&amp;
133make</userinput></screen>
134
135 <para>
136 To test the results, issue: <command>make test</command>
137 </para>
138
139 <para>
140 Now, as the <systemitem class="username">root</systemitem> user:
141 </para>
142
143<screen role="root"><userinput>make install</userinput></screen>
144
145 </sect2>
146
147 <sect2 role="commands">
148 <title>Command Explanations</title>
149
150 <para>
151 <parameter>-DEXIV2_ENABLE_VIDEO=yes</parameter>:
152 This switch enables managing video metadata.
153 </para>
154
155 <para>
156 <parameter>-DEXIV2_ENABLE_WEBREADY=yes</parameter>:
157 This switch enables managing web image metadata.
158 </para>
159
160 <para>
161 <parameter>-DEXIV2_BUILD_SAMPLES=no</parameter>:
162 This switch is necessary to suppress building and installing
163 sample programs. If the sample programs are built, 34 additional
164 programs are installed in /usr/bin.
165 </para>
166
167 <para>
168 <parameter>-DEXIV2_ENABLE_CURL=yes</parameter>:
169 This switch is necessary to enable network/http capabilities.
170 </para>
171
172 <para>
173 <option>-DEXIV2_ENABLE_INIH=no</option>:
174 Use this switch if you have not installed <xref linkend="inih"/>.
175 </para>
176
177 <para>
178 <option>-DEXIV2_ENABLE_BROTLI=no</option>:
179 Use this switch if you have not installed <xref linkend="brotli"/>.
180 </para>
181
182 </sect2>
183
184 <sect2 role="content">
185 <title>Contents</title>
186
187 <segmentedlist>
188 <segtitle>Installed Program</segtitle>
189 <segtitle>Installed Library</segtitle>
190 <segtitle>Installed Directories</segtitle>
191
192 <seglistitem>
193 <seg>
194 exiv2
195 </seg>
196 <seg>
197 libexiv2.so <!-- and
198 libexiv2-xmp.a -->
199 </seg>
200 <seg>
201 /usr/include/exiv2 and
202 /usr/lib/cmake/exiv2
203 </seg>
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>
215 <para>
216 is a utility used to dump Exif data
217 </para>
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>
Note: See TracBrowser for help on using the repository browser.