[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
|
---|
[0d7900a] | 37 | location-aware applications as simple as possible.
|
---|
[11daca34] | 38 | </para>
|
---|
| 39 |
|
---|
[46db8b5] | 40 | &lfs78_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 |
|
---|
[595cda07] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch (if GPSD is installed):
|
---|
| 81 | <ulink url="&patch-root;/geoclue-&geoclue-version;-gpsd_fix-1.patch"/>
|
---|
| 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
| 85 |
|
---|
[11daca34] | 86 | <bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
[2d7d257e] | 90 | <xref linkend="dbus-glib"/>,
|
---|
| 91 | <xref linkend="GConf"/> and
|
---|
| 92 | <xref linkend="libxslt"/>
|
---|
[eeb64e8] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Recommended if you are building GNOME</bridgehead>
|
---|
| 96 | <para role="recommended">
|
---|
[0d7900a] | 97 | <xref linkend="libsoup"/> and
|
---|
[595cda07] | 98 | <xref linkend="NetworkManager"/>
|
---|
[11daca34] | 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 102 | <para role="optional">
|
---|
[2c8f113] | 103 | <ulink url="https://savannah.nongnu.org/projects/gpsd">GPSD</ulink>,
|
---|
[eeb64e8] | 104 | <xref linkend="gtk2"/> and
|
---|
[595cda07] | 105 | <ulink url="http://ofono.org/">oFono</ulink>
|
---|
[11daca34] | 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <para condition="html" role="usernotes">
|
---|
| 109 | User Notes: <ulink url="&blfs-wiki;/geoclue"/>
|
---|
| 110 | </para>
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="installation">
|
---|
| 114 | <title>Installation of GeoClue</title>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Install <application>GeoClue</application> by running the following
|
---|
| 118 | commands:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
[595cda07] | 121 | <screen><userinput>patch -Np1 -i ../geoclue-&geoclue-version;-gpsd_fix-1.patch &&
|
---|
[99e4509] | 122 |
|
---|
[595cda07] | 123 | sed -i "s@ -Werror@@" configure &&
|
---|
[eeb64e8] | 124 | sed -i "s@libnm_glib@libnm-glib@g" configure &&
|
---|
[99e4509] | 125 |
|
---|
[eeb64e8] | 126 | sed -i "s@geoclue/libgeoclue.la@& -lgthread-2.0@g" \
|
---|
| 127 | providers/skyhook/Makefile.in &&
|
---|
[99e4509] | 128 |
|
---|
[682f45b2] | 129 | ./configure --prefix=/usr &&
|
---|
[11daca34] | 130 | make</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | This package does not come with a test suite.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="commands">
|
---|
| 144 | <title>Command Explanations</title>
|
---|
| 145 |
|
---|
| 146 | <para>
|
---|
[595cda07] | 147 | <command>sed -i "s@ -Werror@@" configure</command>: This
|
---|
| 148 | <command>sed</command> removes <parameter>-Werror</parameter> from the
|
---|
| 149 | <envar>CFLAGS</envar> variable, otherwise the build will fail with
|
---|
| 150 | <application>gcc-4.7</application>.
|
---|
[11daca34] | 151 | </para>
|
---|
| 152 |
|
---|
[eeb64e8] | 153 | <para>
|
---|
| 154 | <command>sed -i "s@libnm_glib@libnm-glib@g" configure</command>:
|
---|
[595cda07] | 155 | This <command>sed</command> fixes detection of
|
---|
| 156 | <application>NetworkManager</application> libraries.
|
---|
[eeb64e8] | 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
| 160 | <command>sed -i "s@geoclue/libgeoclue.la@& -lgthread-2.0@g" ..
|
---|
[595cda07] | 161 | </command>: This <command>sed</command> fixes building
|
---|
| 162 | <application>GeoClue</application> with recent
|
---|
| 163 | <application>binutils</application>.
|
---|
[eeb64e8] | 164 | </para>
|
---|
[11daca34] | 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | <sect2 role="content">
|
---|
| 168 | <title>Contents</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
[c3c56b2] | 171 | <segtitle>Installed Programs</segtitle>
|
---|
[11daca34] | 172 | <segtitle>Installed Library</segtitle>
|
---|
[c3c56b2] | 173 | <segtitle>Installed Directory</segtitle>
|
---|
[11daca34] | 174 |
|
---|
| 175 | <seglistitem>
|
---|
[c3c56b2] | 176 | <seg>
|
---|
| 177 | None
|
---|
| 178 | </seg>
|
---|
[11daca34] | 179 | <seg>
|
---|
[595cda07] | 180 | libgeoclue.so
|
---|
[11daca34] | 181 | </seg>
|
---|
| 182 | <seg>
|
---|
[682f45b2] | 183 | /usr/include/geoclue, /usr/share/geoclue-providers,
|
---|
[595cda07] | 184 | and /usr/share/gtk-doc/html/geoclue
|
---|
[11daca34] | 185 | </seg>
|
---|
| 186 | </seglistitem>
|
---|
| 187 | </segmentedlist>
|
---|
| 188 |
|
---|
| 189 | <variablelist>
|
---|
| 190 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 191 | <?dbfo list-presentation="list"?>
|
---|
| 192 | <?dbhtml list-presentation="table"?>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="libgeoclue">
|
---|
| 195 | <term><filename class="libraryfile">libgeoclue.so</filename></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
| 198 | contains functions that provide the
|
---|
| 199 | <application>GeoClue</application> geoinformation application
|
---|
[595cda07] | 200 | programming interface.
|
---|
[11daca34] | 201 | </para>
|
---|
| 202 | <indexterm zone="geoclue libgeoclue">
|
---|
| 203 | <primary sortas="c-libgeoclue">libgeoclue.so</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 | </variablelist>
|
---|
| 208 | </sect2>
|
---|
| 209 | </sect1>
|
---|