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