glfs/archive/geoclue.xml
Pierre Labastie 3f2db3a638 Remove sect1info tags
They only contain a date tag that is nowhere used.
2022-11-29 08:58:07 +01:00

206 lines
5.9 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 geoclue-download-http
"https://launchpad.net/geoclue/trunk/0.12/+download/geoclue-0.12.0.tar.gz">
<!ENTITY geoclue-download-ftp " ">
<!ENTITY geoclue-md5sum "33af8307f332e0065af056ecba65fec2">
<!ENTITY geoclue-size "556 KB">
<!ENTITY geoclue-buildsize "11 MB">
<!ENTITY geoclue-time "0.1 SBU">
]>
<sect1 id="geoclue" xreflabel="GeoClue-&geoclue-version;">
<?dbhtml filename="geoclue.html"?>
<title>GeoClue-&geoclue-version;</title>
<indexterm zone="geoclue">
<primary sortas="a-geoclue">GeoClue</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to GeoClue</title>
<para>
<application>GeoClue</application> is a modular geoinformation service
built on top of the <application>D-Bus</application> messaging system. The
goal of the <application>GeoClue</application> project is to make creating
location-aware applications as simple as possible.
</para>
&lfs80_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&geoclue-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&geoclue-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &geoclue-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &geoclue-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &geoclue-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &geoclue-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch (if GPSD is installed):
<ulink url="&patch-root;/geoclue-&geoclue-version;-gpsd_fix-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="dbus-glib"/>,
<xref linkend="GConf"/> and
<xref linkend="libxslt"/>
</para>
<bridgehead renderas="sect4">Recommended if you are building GNOME</bridgehead>
<para role="recommended">
<xref linkend="libsoup"/> and
<xref linkend="NetworkManager"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="https://savannah.nongnu.org/projects/gpsd">GPSD</ulink>,
<xref linkend="gtk2"/> and
<ulink url="https://01.org/ofono">oFono</ulink>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/geoclue"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of GeoClue</title>
<para>
Install <application>GeoClue</application> by running the following
commands:
</para>
<screen><userinput>patch -Np1 -i ../geoclue-&geoclue-version;-gpsd_fix-1.patch &amp;&amp;
sed -i "s@ -Werror@@" configure &amp;&amp;
sed -i "s@libnm_glib@libnm-glib@g" configure &amp;&amp;
sed -i "s@geoclue/libgeoclue.la@&amp; -lgthread-2.0@g" \
providers/skyhook/Makefile.in &amp;&amp;
./configure --prefix=/usr &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>
<command>sed -i "s@ -Werror@@" configure</command>: This
<command>sed</command> removes <parameter>-Werror</parameter> from the
<envar>CFLAGS</envar> variable, otherwise the build will fail with
<application>gcc-4.7</application>.
</para>
<para>
<command>sed -i "s@libnm_glib@libnm-glib@g" configure</command>:
This <command>sed</command> fixes detection of
<application>NetworkManager</application> libraries.
</para>
<para>
<command>sed -i "s@geoclue/libgeoclue.la@&amp; -lgthread-2.0@g" ..
</command>: This <command>sed</command> fixes building
<application>GeoClue</application> with recent
<application>binutils</application>.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libgeoclue.so
</seg>
<seg>
/usr/include/geoclue, /usr/share/geoclue-providers,
and /usr/share/gtk-doc/html/geoclue
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libgeoclue">
<term><filename class="libraryfile">libgeoclue.so</filename></term>
<listitem>
<para>
contains functions that provide the
<application>GeoClue</application> geoinformation application
programming interface.
</para>
<indexterm zone="geoclue libgeoclue">
<primary sortas="c-libgeoclue">libgeoclue.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>