glfs/gnome/platform/gexiv2.xml
Pierre Labastie 31120d7c05 Update to gexiv2-0.14.1
gexiv2 FTBFS against exiv2-0.28 (reported by r1c0n3r0 on #lfs-support).
There is an upstream fix, but it does not apply to 0.14.0. So
update to 0.14.1 and add the patch.
2023-05-27 10:15:18 +02:00

189 lines
5.0 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;
<!-- gexiv2 -->
<!ENTITY gexiv2-download-http "&gnome-download-http;/gexiv2/&gexiv2-minor;/gexiv2-&gexiv2-version;.tar.xz">
<!ENTITY gexiv2-download-ftp "&gnome-download-ftp;/gexiv2/&gexiv2-minor;/gexiv2-&gexiv2-version;.tar.xz">
<!ENTITY gexiv2-md5sum "b4a7b5e0f2e50a8d295bb2782e071a7f">
<!ENTITY gexiv2-size "379 KB">
<!ENTITY gexiv2-buildsize "3.7 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>
&lfs113_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>
<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>
</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)
<!-- <xref linkend="python2"/> (for the Python2 module) -->
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gexiv2"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of gexiv2</title>
<para>
FIrst apply some fixes allowing to build against exiv2-0.28 and above:
</para>
<screen><userinput>patch -Np1 -i ../gexiv2-&gexiv2-version;-exiv_0_28-1.patch</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>