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