glfs/gnome/platform/gexiv2.xml
Douglas R. Reno e8b3f50d33 Tags
2024-02-17 02:49:09 -06:00

200 lines
5.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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;
<!-- gexiv2 -->
<!ENTITY gexiv2-download-http "&gnome-download-http;/gexiv2/&gexiv2-minor;/gexiv2-&gexiv2-version;.tar.xz">
<!ENTITY gexiv2-download-ftp " ">
<!ENTITY gexiv2-md5sum "1e65556fad5d24a4c365696544d8c945">
<!ENTITY gexiv2-size "384 KB">
<!ENTITY gexiv2-buildsize "4.0 MB (with tests)">
<!ENTITY gexiv2-time "0.1 SBU (with parallelism=4 and tests)">
]>
<sect1 id="gexiv2" xreflabel="gexiv2-&gexiv2-version;">
<?dbhtml filename="gexiv2.html"?>
<title>gexiv2-&gexiv2-version;</title>
<indexterm zone="gexiv2">
<primary sortas="a-gexiv2">gexiv2</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to gexiv2</title>
<para>
gexiv2 is a GObject-based wrapper around the Exiv2 library.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&gexiv2-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&gexiv2-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &gexiv2-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &gexiv2-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &gexiv2-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &gexiv2-time;
</para>
</listitem>
</itemizedlist>
<!-- applied in 0.14.2
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch to build against exiv2-0.28 and above:
<ulink url="&patch-root;/gexiv2-&gexiv2-version;-exiv_0_28-1.patch"/>
</para>
<para>
Required patch to build on i686 systems:
<ulink url="&patch-root;/gexiv2-&gexiv2-version;-buildfixes-1.patch"/>
</para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">gexiv2 Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="exiv2"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="vala"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/> (for documentation)
</para>
</sect2>
<sect2 role="installation">
<title>Installation of gexiv2</title>
<!-- applied in 0.14.2
<para>
First apply some fixes allowing to build against exiv2-0.28 and above:
</para>
<screen><userinput remap="pre">patch -Np1 -i ../gexiv2-&gexiv2-version;-exiv_0_28-1.patch</userinput></screen>
<para>
Next, if you are on an i686 system, fix the build by adjusting types:
</para>
<screen><userinput remap="pre">case $(uname -m) in
i?86) patch -Np1 -i ../gexiv2-&gexiv2-version;-buildfixes-1.patch ;;
esac</userinput></screen>
-->
<para>
Install <application>gexiv2</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>
To test the results, run:
</para>
<screen remap="test"><userinput>meson configure -Dtests=true &amp;&amp;
ninja test</userinput></screen>
<para>
As the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/meson-buildtype-release.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libgexiv2.so
</seg>
<seg>
/usr/include/gexiv2
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libgexiv2">
<term><filename class="libraryfile">libgexiv2.so</filename></term>
<listitem>
<para>
provides a wrapper around the Exiv2 library
</para>
<indexterm zone="gexiv2 libgexiv2">
<primary sortas="c-libgexiv2">libgexiv2.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>