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 geoclue2-download-http
|
---|
8 | "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/&geoclue2-version;/geoclue-&geoclue2-version;.tar.bz2">
|
---|
9 | <!ENTITY geoclue2-download-ftp " ">
|
---|
10 | <!ENTITY geoclue2-md5sum "07ed45bc145e87d7f76fa521d5412f29">
|
---|
11 | <!ENTITY geoclue2-size "96 KB">
|
---|
12 | <!ENTITY geoclue2-buildsize "6.5 MB">
|
---|
13 | <!ENTITY geoclue2-time "0.3 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="geoclue2" xreflabel="GeoClue-&geoclue2-version;">
|
---|
17 | <?dbhtml filename="geoclue2.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>GeoClue-&geoclue2-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="geoclue2">
|
---|
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
|
---|
36 | location-aware applications as simple as possible.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs111_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&geoclue2-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&geoclue2-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &geoclue2-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &geoclue2-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &geoclue2-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &geoclue2-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="json-glib"/> and
|
---|
80 | <xref linkend="libsoup"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
84 | <para role="recommended">
|
---|
85 | <xref linkend="ModemManager"/>,
|
---|
86 | <xref linkend="vala"/>, and
|
---|
87 | <xref linkend="avahi"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
91 | <para role="optional">
|
---|
92 | <xref linkend="gtk-doc"/> and
|
---|
93 | <xref linkend="libnotify"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <para condition="html" role="usernotes">
|
---|
97 | User Notes: <ulink url="&blfs-wiki;/geoclue2"/>
|
---|
98 | </para>
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="installation">
|
---|
102 | <title>Installation of GeoClue</title>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | Install <application>GeoClue</application> by running the following
|
---|
106 | commands:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen><userinput>mkdir build &&
|
---|
110 | cd build &&
|
---|
111 |
|
---|
112 | meson --prefix=/usr --buildtype=release -Dgtk-doc=false .. &&
|
---|
113 | ninja</userinput></screen>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | This package does not come with a test suite.
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="commands">
|
---|
128 | <title>Command Explanations</title>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
131 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
132 |
|
---|
133 | <para>
|
---|
134 | <option>-D3g-source=false</option>: This switch disables
|
---|
135 | the 3G backend. Use it if you have not installed the
|
---|
136 | <application>ModemManager</application> package.
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | <para>
|
---|
140 | <option>-Dmodem-gps-source=false</option>: This switch disables
|
---|
141 | the modem GPS backend. Use it if you have not installed the
|
---|
142 | <application>ModemManager</application> package.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | <option>-Dcdma-source=false</option>: This switch disables the
|
---|
147 | CDMA source backend. Use it if you have not installed the
|
---|
148 | <application>ModemManager</application> package.
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | <option>-Dnmea-source=false</option>: This switch disables the
|
---|
153 | NMEA source. Use it if you have not installed the
|
---|
154 | <application>Avahi</application> package.
|
---|
155 | </para>
|
---|
156 |
|
---|
157 | <para>
|
---|
158 | <option>-Ddemo-agent=false</option>: This switch disables the
|
---|
159 | demo. Use it if you have not installed the
|
---|
160 | <application>libnotify</application> package.
|
---|
161 | </para>
|
---|
162 |
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 | <sect2 role="content">
|
---|
166 | <title>Contents</title>
|
---|
167 |
|
---|
168 | <segmentedlist>
|
---|
169 | <segtitle>Installed Programs</segtitle>
|
---|
170 | <segtitle>Installed Libraries</segtitle>
|
---|
171 | <segtitle>Installed Directories</segtitle>
|
---|
172 |
|
---|
173 | <seglistitem>
|
---|
174 | <seg>
|
---|
175 | None
|
---|
176 | </seg>
|
---|
177 | <seg>
|
---|
178 | libgeoclue-2.so
|
---|
179 | </seg>
|
---|
180 | <seg>
|
---|
181 | /etc/geoclue,
|
---|
182 | /usr/include/libgeoclue-2.0,
|
---|
183 | /usr/libexec/geoclue-2.0, and
|
---|
184 | /usr/share/gtk-doc/html/{geoclue,libgeoclue}
|
---|
185 | </seg>
|
---|
186 | </seglistitem>
|
---|
187 | </segmentedlist>
|
---|
188 |
|
---|
189 | </sect2>
|
---|
190 |
|
---|
191 | </sect1>
|
---|