source: general/graphlib/exiv2.xml@ a1a89ee

trunk
Last change on this file since a1a89ee was cea4ddf, checked in by Xi Ruoyao <xry111@…>, 4 weeks ago

exiv2: Get rid of rpath

  • Property mode set to 100644
File size: 6.1 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 -DCMAKE_SKIP_INSTALL_RPATH=ON \
133 -G Ninja .. &amp;&amp;
134ninja</userinput></screen>
135
136 <para>
137 To test the results, issue: <command>make test</command>
138 </para>
139
140 <para>
141 Now, as the <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"><userinput>ninja install</userinput></screen>
145
146 </sect2>
147
148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/cmake-skip-install-rpath.xml"/>
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 <para>
177 <option>-DEXIV2_ENABLE_INIH=no</option>:
178 Use this switch if you have not installed <xref linkend="inih"/>.
179 </para>
180
181 <para>
182 <option>-DEXIV2_ENABLE_BROTLI=no</option>:
183 Use this switch if you have not installed <xref linkend="brotli"/>.
184 </para>
185
186 </sect2>
187
188 <sect2 role="content">
189 <title>Contents</title>
190
191 <segmentedlist>
192 <segtitle>Installed Program</segtitle>
193 <segtitle>Installed Library</segtitle>
194 <segtitle>Installed Directories</segtitle>
195
196 <seglistitem>
197 <seg>
198 exiv2
199 </seg>
200 <seg>
201 libexiv2.so <!-- and
202 libexiv2-xmp.a -->
203 </seg>
204 <seg>
205 /usr/include/exiv2 and
206 /usr/lib/cmake/exiv2
207 </seg>
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>
219 <para>
220 is a utility used to dump Exif data
221 </para>
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>
Note: See TracBrowser for help on using the repository browser.