[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 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GeoClue-&geoclue-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="geoclue">
|
---|
| 26 | <primary sortas="a-geoclue">GeoClue</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GeoClue</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>GeoClue</application> is a modular geoinformation service
|
---|
| 34 | built on top of the <application>D-Bus</application> messaging system. The
|
---|
| 35 | goal of the <application>GeoClue</application> project is to make creating
|
---|
[0d7900a] | 36 | location-aware applications as simple as possible.
|
---|
[11daca34] | 37 | </para>
|
---|
| 38 |
|
---|
[6827378] | 39 | &lfs80_checked;
|
---|
[11daca34] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&geoclue-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&geoclue-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &geoclue-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &geoclue-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &geoclue-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &geoclue-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[595cda07] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Required patch (if GPSD is installed):
|
---|
| 80 | <ulink url="&patch-root;/geoclue-&geoclue-version;-gpsd_fix-1.patch"/>
|
---|
| 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
| 84 |
|
---|
[11daca34] | 85 | <bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 88 | <para role="required">
|
---|
[2d7d257e] | 89 | <xref linkend="dbus-glib"/>,
|
---|
| 90 | <xref linkend="GConf"/> and
|
---|
| 91 | <xref linkend="libxslt"/>
|
---|
[eeb64e8] | 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Recommended if you are building GNOME</bridgehead>
|
---|
| 95 | <para role="recommended">
|
---|
[0d7900a] | 96 | <xref linkend="libsoup"/> and
|
---|
[595cda07] | 97 | <xref linkend="NetworkManager"/>
|
---|
[11daca34] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 101 | <para role="optional">
|
---|
[2c8f113] | 102 | <ulink url="https://savannah.nongnu.org/projects/gpsd">GPSD</ulink>,
|
---|
[eeb64e8] | 103 | <xref linkend="gtk2"/> and
|
---|
[0e107e3] | 104 | <ulink url="https://01.org/ofono">oFono</ulink>
|
---|
[11daca34] | 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para condition="html" role="usernotes">
|
---|
| 108 | User Notes: <ulink url="&blfs-wiki;/geoclue"/>
|
---|
| 109 | </para>
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="installation">
|
---|
| 113 | <title>Installation of GeoClue</title>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | Install <application>GeoClue</application> by running the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
[595cda07] | 120 | <screen><userinput>patch -Np1 -i ../geoclue-&geoclue-version;-gpsd_fix-1.patch &&
|
---|
[99e4509] | 121 |
|
---|
[595cda07] | 122 | sed -i "s@ -Werror@@" configure &&
|
---|
[eeb64e8] | 123 | sed -i "s@libnm_glib@libnm-glib@g" configure &&
|
---|
[99e4509] | 124 |
|
---|
[eeb64e8] | 125 | sed -i "s@geoclue/libgeoclue.la@& -lgthread-2.0@g" \
|
---|
| 126 | providers/skyhook/Makefile.in &&
|
---|
[99e4509] | 127 |
|
---|
[682f45b2] | 128 | ./configure --prefix=/usr &&
|
---|
[11daca34] | 129 | make</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | This package does not come with a test suite.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="commands">
|
---|
| 143 | <title>Command Explanations</title>
|
---|
| 144 |
|
---|
| 145 | <para>
|
---|
[595cda07] | 146 | <command>sed -i "s@ -Werror@@" configure</command>: This
|
---|
| 147 | <command>sed</command> removes <parameter>-Werror</parameter> from the
|
---|
| 148 | <envar>CFLAGS</envar> variable, otherwise the build will fail with
|
---|
| 149 | <application>gcc-4.7</application>.
|
---|
[11daca34] | 150 | </para>
|
---|
| 151 |
|
---|
[eeb64e8] | 152 | <para>
|
---|
| 153 | <command>sed -i "s@libnm_glib@libnm-glib@g" configure</command>:
|
---|
[595cda07] | 154 | This <command>sed</command> fixes detection of
|
---|
| 155 | <application>NetworkManager</application> libraries.
|
---|
[eeb64e8] | 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <para>
|
---|
| 159 | <command>sed -i "s@geoclue/libgeoclue.la@& -lgthread-2.0@g" ..
|
---|
[595cda07] | 160 | </command>: This <command>sed</command> fixes building
|
---|
| 161 | <application>GeoClue</application> with recent
|
---|
| 162 | <application>binutils</application>.
|
---|
[eeb64e8] | 163 | </para>
|
---|
[11daca34] | 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="content">
|
---|
| 167 | <title>Contents</title>
|
---|
| 168 |
|
---|
| 169 | <segmentedlist>
|
---|
[c3c56b2] | 170 | <segtitle>Installed Programs</segtitle>
|
---|
[11daca34] | 171 | <segtitle>Installed Library</segtitle>
|
---|
[c3c56b2] | 172 | <segtitle>Installed Directory</segtitle>
|
---|
[11daca34] | 173 |
|
---|
| 174 | <seglistitem>
|
---|
[c3c56b2] | 175 | <seg>
|
---|
| 176 | None
|
---|
| 177 | </seg>
|
---|
[11daca34] | 178 | <seg>
|
---|
[595cda07] | 179 | libgeoclue.so
|
---|
[11daca34] | 180 | </seg>
|
---|
| 181 | <seg>
|
---|
[682f45b2] | 182 | /usr/include/geoclue, /usr/share/geoclue-providers,
|
---|
[595cda07] | 183 | and /usr/share/gtk-doc/html/geoclue
|
---|
[11daca34] | 184 | </seg>
|
---|
| 185 | </seglistitem>
|
---|
| 186 | </segmentedlist>
|
---|
| 187 |
|
---|
| 188 | <variablelist>
|
---|
| 189 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 190 | <?dbfo list-presentation="list"?>
|
---|
| 191 | <?dbhtml list-presentation="table"?>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="libgeoclue">
|
---|
| 194 | <term><filename class="libraryfile">libgeoclue.so</filename></term>
|
---|
| 195 | <listitem>
|
---|
| 196 | <para>
|
---|
| 197 | contains functions that provide the
|
---|
| 198 | <application>GeoClue</application> geoinformation application
|
---|
[595cda07] | 199 | programming interface.
|
---|
[11daca34] | 200 | </para>
|
---|
| 201 | <indexterm zone="geoclue libgeoclue">
|
---|
| 202 | <primary sortas="c-libgeoclue">libgeoclue.so</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 | </variablelist>
|
---|
| 207 | </sect2>
|
---|
| 208 | </sect1>
|
---|