[11daca34] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY geoclue-download-http
|
---|
| 8 | "https://launchpad.net/geoclue/trunk/0.12/+download/geoclue-0.12.0.tar.gz">
|
---|
| 9 | <!ENTITY geoclue-download-ftp " ">
|
---|
| 10 | <!ENTITY geoclue-md5sum "33af8307f332e0065af056ecba65fec2">
|
---|
| 11 | <!ENTITY geoclue-size "556 KB">
|
---|
| 12 | <!ENTITY geoclue-buildsize "11 MB">
|
---|
| 13 | <!ENTITY geoclue-time "0.1 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="geoclue" xreflabel="GeoClue-&geoclue-version;">
|
---|
| 17 | <?dbhtml filename="geoclue.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>GeoClue-&geoclue-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="geoclue">
|
---|
| 27 | <primary sortas="a-geoclue">GeoClue</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to GeoClue</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | <application>GeoClue</application> is a modular geoinformation service
|
---|
| 35 | built on top of the <application>D-Bus</application> messaging system. The
|
---|
| 36 | goal of the <application>GeoClue</application> project is to make creating
|
---|
| 37 | location-aware applications as simple as possible.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[eeb64e8] | 40 | &lfs70_checked;
|
---|
[11daca34] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&geoclue-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&geoclue-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download MD5 sum: &geoclue-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download size: &geoclue-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &geoclue-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &geoclue-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 79 | <para role="required">
|
---|
[2d7d257e] | 80 | <xref linkend="dbus-glib"/>,
|
---|
| 81 | <xref linkend="GConf"/> and
|
---|
| 82 | <xref linkend="libxslt"/>
|
---|
[eeb64e8] | 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Recommended if you are building GNOME</bridgehead>
|
---|
| 86 | <para role="recommended">
|
---|
[2d7d257e] | 87 | <xref linkend="libsoup"/> and
|
---|
| 88 | <xref linkend="NetworkManager"/>.
|
---|
[11daca34] | 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 92 | <para role="optional">
|
---|
[eeb64e8] | 93 | <ulink url="http://gpsd.berlios.de/">GPSD</ulink>,
|
---|
| 94 | <xref linkend="gtk2"/> and
|
---|
| 95 | <ulink url="http://ofono.org/">oFono</ulink>.
|
---|
[11daca34] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para condition="html" role="usernotes">
|
---|
| 99 | User Notes: <ulink url="&blfs-wiki;/geoclue"/>
|
---|
| 100 | </para>
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of GeoClue</title>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Install <application>GeoClue</application> by running the following
|
---|
| 108 | commands:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
[eeb64e8] | 111 | <screen><userinput>sed -i "s@ -Werror@@" configure &&
|
---|
| 112 | sed -i "s@libnm_glib@libnm-glib@g" configure &&
|
---|
| 113 | sed -i "s@geoclue/libgeoclue.la@& -lgthread-2.0@g" \
|
---|
| 114 | providers/skyhook/Makefile.in &&
|
---|
[11daca34] | 115 | ./configure --prefix=/usr --libexecdir=/usr/lib/geoclue &&
|
---|
| 116 | make</userinput></screen>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
| 119 | This package does not come with a test suite.
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
| 123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
[eeb64e8] | 133 | <command>sed -i "s@ -Werror@@" configure</command>: This sed removes
|
---|
[11daca34] | 134 | -Werror from the CFLAGS, otherwise the build will fail with gcc-4.7.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
[eeb64e8] | 137 | <para>
|
---|
| 138 | <command>sed -i "s@libnm_glib@libnm-glib@g" configure</command>:
|
---|
| 139 | This sed fixes detection of NetworkManager libraries.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | <command>sed -i "s@geoclue/libgeoclue.la@& -lgthread-2.0@g" ..
|
---|
| 144 | </command>: This sed fixes building geoclue with recent binutils.
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
[11daca34] | 147 | <para>
|
---|
| 148 | <option>--libexecdir=/usr/lib/geoclue</option>: This option installs its
|
---|
| 149 | private executables into /usr/lib/geoclue.
|
---|
| 150 | </para>
|
---|
| 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | <sect2 role="content">
|
---|
| 154 | <title>Contents</title>
|
---|
| 155 |
|
---|
| 156 | <segmentedlist>
|
---|
| 157 | <segtitle>Installed Library</segtitle>
|
---|
| 158 | <segtitle>Installed Directories</segtitle>
|
---|
| 159 |
|
---|
| 160 | <seglistitem>
|
---|
| 161 | <seg>
|
---|
| 162 | libgeoclue.so.
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | /usr/lib/geoclue and /usr/share/geoclue-providers.
|
---|
| 166 | </seg>
|
---|
| 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="libgeoclue">
|
---|
| 176 | <term><filename class="libraryfile">libgeoclue.so</filename></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
| 179 | contains functions that provide the
|
---|
| 180 | <application>GeoClue</application> geoinformation application
|
---|
| 181 | programming interface
|
---|
| 182 | </para>
|
---|
| 183 | <indexterm zone="geoclue libgeoclue">
|
---|
| 184 | <primary sortas="c-libgeoclue">libgeoclue.so</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 | </variablelist>
|
---|
| 189 | </sect2>
|
---|
| 190 | </sect1>
|
---|