2012-03-29 20:18:14 +08:00
|
|
|
<?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"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2012-09-27 04:18:27 +08:00
|
|
|
&lfs72_checked;
|
2012-03-29 20:18:14 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2013-01-21 00:51:05 +08:00
|
|
|
<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>
|
|
|
|
|
2012-03-29 20:18:14 +08:00
|
|
|
<bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2012-04-24 08:21:16 +08:00
|
|
|
<xref linkend="dbus-glib"/>,
|
|
|
|
<xref linkend="GConf"/> and
|
|
|
|
<xref linkend="libxslt"/>
|
2012-03-30 18:27:58 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended if you are building GNOME</bridgehead>
|
|
|
|
<para role="recommended">
|
2012-04-24 08:21:16 +08:00
|
|
|
<xref linkend="libsoup"/> and
|
2013-01-21 00:51:05 +08:00
|
|
|
<xref linkend="NetworkManager"/>
|
2012-03-29 20:18:14 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2013-01-18 07:57:02 +08:00
|
|
|
<ulink url="https://savannah.nongnu.org/projects/gpsd">GPSD</ulink>,
|
2012-03-30 18:27:58 +08:00
|
|
|
<xref linkend="gtk2"/> and
|
2013-01-21 00:51:05 +08:00
|
|
|
<ulink url="http://ofono.org/">oFono</ulink>
|
2012-03-29 20:18:14 +08:00
|
|
|
</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>
|
|
|
|
|
2013-01-21 00:51:05 +08:00
|
|
|
<screen><userinput>patch -Np1 -i ../geoclue-&geoclue-version;-gpsd_fix-1.patch &&
|
|
|
|
sed -i "s@ -Werror@@" configure &&
|
2012-03-30 18:27:58 +08:00
|
|
|
sed -i "s@libnm_glib@libnm-glib@g" configure &&
|
|
|
|
sed -i "s@geoclue/libgeoclue.la@& -lgthread-2.0@g" \
|
|
|
|
providers/skyhook/Makefile.in &&
|
2012-03-29 20:18:14 +08:00
|
|
|
./configure --prefix=/usr --libexecdir=/usr/lib/geoclue &&
|
|
|
|
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>
|
2013-01-21 00:51:05 +08:00
|
|
|
<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>.
|
2012-03-29 20:18:14 +08:00
|
|
|
</para>
|
|
|
|
|
2012-03-30 18:27:58 +08:00
|
|
|
<para>
|
|
|
|
<command>sed -i "s@libnm_glib@libnm-glib@g" configure</command>:
|
2013-01-21 00:51:05 +08:00
|
|
|
This <command>sed</command> fixes detection of
|
|
|
|
<application>NetworkManager</application> libraries.
|
2012-03-30 18:27:58 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<command>sed -i "s@geoclue/libgeoclue.la@& -lgthread-2.0@g" ..
|
2013-01-21 00:51:05 +08:00
|
|
|
</command>: This <command>sed</command> fixes building
|
|
|
|
<application>GeoClue</application> with recent
|
|
|
|
<application>binutils</application>.
|
2012-03-30 18:27:58 +08:00
|
|
|
</para>
|
|
|
|
|
2012-03-29 20:18:14 +08:00
|
|
|
<para>
|
2013-01-21 00:51:05 +08:00
|
|
|
<option>--libexecdir=/usr/lib/geoclue</option>: This option installs
|
|
|
|
<application>GeoClue's</application> private executables into
|
|
|
|
<filename class="libraryfile">/usr/lib/geoclue</filename>.
|
2012-03-29 20:18:14 +08:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
2013-01-21 00:51:05 +08:00
|
|
|
libgeoclue.so
|
2012-03-29 20:18:14 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2013-01-21 00:51:05 +08:00
|
|
|
/usr/include/geoclue, /usr/lib/geoclue, /usr/share/geoclue-providers,
|
|
|
|
and /usr/share/gtk-doc/html/geoclue
|
2012-03-29 20:18:14 +08:00
|
|
|
</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
|
2013-01-21 00:51:05 +08:00
|
|
|
programming interface.
|
2012-03-29 20:18:14 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="geoclue libgeoclue">
|
|
|
|
<primary sortas="c-libgeoclue">libgeoclue.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|