2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-02-09 05:13:13 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2023-11-08 03:28:40 +08:00
|
|
|
<!ENTITY exiv2-download-http "https://github.com/Exiv2/exiv2/archive/v&exiv2-version;/exiv2-&exiv2-version;.tar.gz">
|
2011-02-09 05:13:13 +08:00
|
|
|
<!ENTITY exiv2-download-ftp " ">
|
2023-11-08 03:28:40 +08:00
|
|
|
<!ENTITY exiv2-md5sum "c4d05b86bda11c15163903822d0eebfb">
|
|
|
|
<!ENTITY exiv2-size "43 MB">
|
|
|
|
<!ENTITY exiv2-buildsize "122 MB (with tests)">
|
|
|
|
<!ENTITY exiv2-time "0.5 SBU (Using parallelism=4, with tests)">
|
2011-02-09 05:13:13 +08:00
|
|
|
]>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<sect1 id="exiv2" xreflabel="Exiv2-&exiv2-version;">
|
2011-02-09 05:13:13 +08:00
|
|
|
<?dbhtml filename="exiv2.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>Exiv2-&exiv2-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="exiv2">
|
2012-08-01 07:44:40 +08:00
|
|
|
<primary sortas="a-Exiv2">Exiv2</primary>
|
2011-02-09 05:13:13 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Exiv2</title>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
2013-02-12 02:51:17 +08:00
|
|
|
<application>Exiv2</application> is a C++ library and a command
|
2015-06-27 02:47:07 +08:00
|
|
|
line utility for managing image and video metadata.
|
2012-08-01 07:44:40 +08:00
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
|
2023-08-20 08:38:45 +08:00
|
|
|
&lfs120_checked;
|
2011-02-09 05:13:13 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&exiv2-download-http;"/>
|
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&exiv2-download-ftp;"/>
|
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &exiv2-md5sum;
|
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Download size: &exiv2-size;
|
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &exiv2-buildsize;
|
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &exiv2-time;
|
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2021-06-20 05:22:26 +08:00
|
|
|
<!--
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
2021-05-18 06:05:41 +08:00
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required patch:
|
2022-09-12 00:22:05 +08:00
|
|
|
<ulink url="&patch-root;/exiv2-&exiv2-version;-security_fixes-1.patch"/>
|
2021-05-18 06:05:41 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2021-06-20 05:22:26 +08:00
|
|
|
-->
|
2021-05-18 06:05:41 +08:00
|
|
|
|
2015-07-26 00:05:00 +08:00
|
|
|
<bridgehead renderas="sect3">Exiv2 dependencies</bridgehead>
|
|
|
|
|
2019-03-14 00:53:40 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="cmake"/>
|
|
|
|
</para>
|
|
|
|
|
2015-06-27 02:47:07 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2019-03-14 00:53:40 +08:00
|
|
|
<para role="recommended">
|
2023-06-02 03:02:53 +08:00
|
|
|
<xref linkend="brotli"/>,
|
|
|
|
<xref linkend="curl"/>, and
|
2023-05-27 15:06:04 +08:00
|
|
|
<xref linkend="inih"/>
|
2015-06-27 02:47:07 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2022-09-08 15:07:11 +08:00
|
|
|
<ulink url="https://www.libssh.org/">libssh</ulink>
|
2015-06-27 02:47:07 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional for documentation</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="doxygen"/>,
|
2017-10-16 02:23:25 +08:00
|
|
|
<xref linkend="graphviz"/>, and
|
2015-06-27 02:47:07 +08:00
|
|
|
<xref linkend="libxslt"/>
|
|
|
|
</para>
|
|
|
|
|
2011-02-09 05:13:13 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Exiv2</title>
|
2019-05-05 10:55:03 +08:00
|
|
|
<!--
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
First, disable building a sample program that fails:
|
|
|
|
</para>
|
2019-01-03 09:37:08 +08:00
|
|
|
|
|
|
|
<screen><userinput>sed -i '/conntest/s/^/#/' samples/CMakeLists.txt</userinput></screen>
|
2019-05-05 10:55:03 +08:00
|
|
|
-->
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Exiv2</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
|
2021-06-20 05:22:26 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
2019-01-03 09:37:08 +08:00
|
|
|
cd build &&
|
2015-06-27 02:47:07 +08:00
|
|
|
|
2019-01-03 09:37:08 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DEXIV2_ENABLE_VIDEO=yes \
|
|
|
|
-DEXIV2_ENABLE_WEBREADY=yes \
|
|
|
|
-DEXIV2_ENABLE_CURL=yes \
|
|
|
|
-DEXIV2_BUILD_SAMPLES=no \
|
|
|
|
-G "Unix Makefiles" .. &&
|
2011-02-09 05:13:13 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
2023-11-08 03:28:40 +08:00
|
|
|
To test the results, issue: <command>make test</command>
|
2012-08-01 07:44:40 +08:00
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
|
2019-01-03 09:37:08 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2011-02-09 05:13:13 +08:00
|
|
|
|
|
|
|
</sect2>
|
2012-08-01 07:44:40 +08:00
|
|
|
|
2011-02-09 05:13:13 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2015-06-27 02:47:07 +08:00
|
|
|
<para>
|
2019-01-03 09:37:08 +08:00
|
|
|
<parameter>-DEXIV2_ENABLE_VIDEO=yes</parameter>:
|
2015-06-27 02:47:07 +08:00
|
|
|
This switch enables managing video metadata.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2019-01-03 09:37:08 +08:00
|
|
|
<parameter>-DEXIV2_ENABLE_WEBREADY=yes</parameter>:
|
2015-06-27 02:47:07 +08:00
|
|
|
This switch enables managing web image metadata.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2019-01-03 09:37:08 +08:00
|
|
|
<parameter>-DEXIV2_BUILD_SAMPLES=no</parameter>:
|
|
|
|
This switch is necessary to suppress building and installing
|
2019-01-12 09:33:37 +08:00
|
|
|
sample programs. If the sample programs are built, 34 additional
|
2019-01-03 09:37:08 +08:00
|
|
|
programs are installed in /usr/bin.
|
2015-06-27 02:47:07 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2019-01-03 09:37:08 +08:00
|
|
|
<parameter>-DEXIV2_ENABLE_CURL=yes</parameter>:
|
|
|
|
This switch is necessary to enable network/http capabilities.
|
2015-06-27 02:47:07 +08:00
|
|
|
</para>
|
|
|
|
|
2023-05-27 15:06:04 +08:00
|
|
|
<para>
|
|
|
|
<option>-DEXIV2_ENABLE_INIH=no</option>:
|
|
|
|
Use this switch if you have not installed <xref linkend="inih"/>.
|
|
|
|
</para>
|
|
|
|
|
2023-06-02 03:25:27 +08:00
|
|
|
<para>
|
|
|
|
<option>-DEXIV2_ENABLE_BROTLI=no</option>:
|
|
|
|
Use this switch if you have not installed <xref linkend="brotli"/>.
|
|
|
|
</para>
|
|
|
|
|
2011-02-09 05:13:13 +08:00
|
|
|
</sect2>
|
2012-08-01 07:44:40 +08:00
|
|
|
|
2011-02-09 05:13:13 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2012-08-01 07:44:40 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2019-01-03 09:37:08 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2011-02-09 05:13:13 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<seg>
|
|
|
|
exiv2
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2019-01-03 09:37:08 +08:00
|
|
|
libexiv2.so and
|
2020-07-01 09:28:12 +08:00
|
|
|
libexiv2-xmp.a
|
2012-08-01 07:44:40 +08:00
|
|
|
</seg>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
2021-09-07 01:42:49 +08:00
|
|
|
/usr/include/exiv2 <!--and
|
2020-07-01 09:28:12 +08:00
|
|
|
/usr/share/exiv2 -->
|
2013-01-26 00:32:25 +08:00
|
|
|
</seg>
|
2011-02-09 05:13:13 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="exiv2-prog">
|
|
|
|
<term><command>exiv2</command></term>
|
|
|
|
<listitem>
|
2012-08-01 07:44:40 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a utility used to dump Exif data
|
2012-08-01 07:44:40 +08:00
|
|
|
</para>
|
2011-02-09 05:13:13 +08:00
|
|
|
<indexterm zone="exiv2 exiv2-prog">
|
|
|
|
<primary sortas="b-exiv2">exiv2</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|