[e468571] | 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
|
---|
[22c91155] | 8 | "https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/&geoclue2-version;/geoclue-&geoclue2-version;.tar.bz2">
|
---|
[e468571] | 9 | <!ENTITY geoclue2-download-ftp " ">
|
---|
[8b281cb6] | 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">
|
---|
[e468571] | 14 | ]>
|
---|
| 15 |
|
---|
[7d645679] | 16 | <sect1 id="geoclue2" xreflabel="GeoClue-&geoclue2-version;">
|
---|
[e468571] | 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 |
|
---|
[d54f002] | 36 | &lfs120_checked;
|
---|
[e468571] | 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
|
---|
[8b281cb6] | 77 | <xref linkend="libsoup3"/>
|
---|
[e468571] | 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 81 | <para role="recommended">
|
---|
[dbb8c43] | 82 | <xref linkend="ModemManager"/>,
|
---|
| 83 | <xref linkend="vala"/>, and
|
---|
[2f29b7e] | 84 | <xref linkend="avahi"/>
|
---|
[e468571] | 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 88 | <para role="optional">
|
---|
[22c91155] | 89 | <xref linkend="gtk-doc"/> and
|
---|
[e468571] | 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 |
|
---|
[22c91155] | 103 | <screen><userinput>mkdir build &&
|
---|
[147c286] | 104 | cd build &&
|
---|
[22c91155] | 105 |
|
---|
[91318eb] | 106 | meson setup --prefix=/usr \
|
---|
| 107 | --buildtype=release \
|
---|
| 108 | -Dgtk-doc=false \
|
---|
| 109 | .. &&
|
---|
[22c91155] | 110 | ninja</userinput></screen>
|
---|
[e468571] | 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 |
|
---|
[22c91155] | 120 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[e468571] | 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="commands">
|
---|
| 125 | <title>Command Explanations</title>
|
---|
| 126 |
|
---|
[adf17153] | 127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 128 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 129 |
|
---|
[e468571] | 130 | <para>
|
---|
[22c91155] | 131 | <option>-D3g-source=false</option>: This switch disables
|
---|
[e468571] | 132 | the 3G backend. Use it if you have not installed the
|
---|
| 133 | <application>ModemManager</application> package.
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
[22c91155] | 137 | <option>-Dmodem-gps-source=false</option>: This switch disables
|
---|
[e468571] | 138 | the modem GPS backend. Use it if you have not installed the
|
---|
| 139 | <application>ModemManager</application> package.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
[22c91155] | 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 |
|
---|
[5a58155] | 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 |
|
---|
[e468571] | 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>
|
---|
[dd6246f] | 175 | libgeoclue-2.so
|
---|
[e468571] | 176 | </seg>
|
---|
| 177 | <seg>
|
---|
[939653d] | 178 | /etc/geoclue,
|
---|
[22c91155] | 179 | /usr/include/libgeoclue-2.0,
|
---|
| 180 | /usr/libexec/geoclue-2.0, and
|
---|
| 181 | /usr/share/gtk-doc/html/{geoclue,libgeoclue}
|
---|
[e468571] | 182 | </seg>
|
---|
| 183 | </seglistitem>
|
---|
| 184 | </segmentedlist>
|
---|
| 185 |
|
---|
| 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 | </sect1>
|
---|