glfs/general/graphlib/exiv2.xml
Ken Moffat 7ee3d2dc14 tags
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22003 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-08-19 18:11:15 +00:00

210 lines
5.4 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!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;
<!ENTITY exiv2-download-http "http://www.exiv2.org/builds/exiv2-&exiv2-version;-Source.tar.gz">
<!ENTITY exiv2-download-ftp " ">
<!ENTITY exiv2-md5sum "8c39c39dc8141bb158e8e9d663bcbf21">
<!ENTITY exiv2-size "26 MB">
<!ENTITY exiv2-buildsize "70 MB">
<!ENTITY exiv2-time "0.2 SBU (Using parallelism=4)">
]>
<sect1 id="exiv2" xreflabel="Exiv2-&exiv2-version;">
<?dbhtml filename="exiv2.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Exiv2-&exiv2-version;</title>
<indexterm zone="exiv2">
<primary sortas="a-Exiv2">Exiv2</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Exiv2</title>
<para>
<application>Exiv2</application> is a C++ library and a command
line utility for managing image and video metadata.
</para>
&lfs90_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&exiv2-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&exiv2-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &exiv2-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &exiv2-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &exiv2-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &exiv2-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Exiv2 dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="curl"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="http://www.libssh.org/">libssh</ulink>
</para>
<bridgehead renderas="sect4">Optional for documentation</bridgehead>
<para role="optional">
<xref linkend="doxygen"/>,
<xref linkend="graphviz"/>, and
<xref linkend="libxslt"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/exiv2"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Exiv2</title>
<!--
<para>First, disable building a sample program that fails:</para>
<screen><userinput>sed -i '/conntest/s/^/#/' samples/CMakeLists.txt</userinput></screen>
-->
<para>
Install <application>Exiv2</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
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" .. &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>-DEXIV2_ENABLE_VIDEO=yes</parameter>:
This switch enables managing video metadata.
</para>
<para>
<parameter>-DEXIV2_ENABLE_WEBREADY=yes</parameter>:
This switch enables managing web image metadata.
</para>
<para>
<parameter>-DEXIV2_BUILD_SAMPLES=no</parameter>:
This switch is necessary to suppress building and installing
sample programs. If the sample programs are built, 34 additional
programs are installed in /usr/bin.
</para>
<para>
<parameter>-DEXIV2_ENABLE_CURL=yes</parameter>:
This switch is necessary to enable network/http capabilities.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
exiv2
</seg>
<seg>
libexiv2.so and
libxmp.a
</seg>
<seg>
/usr/include/exiv2 and
/usr/share/exiv2
</seg>
</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>
<para>
is a utility used to dump Exif data.
</para>
<indexterm zone="exiv2 exiv2-prog">
<primary sortas="b-exiv2">exiv2</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>