[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 " ">
|
---|
[89efcadc] | 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">
|
---|
[e468571] | 14 | ]>
|
---|
| 15 |
|
---|
[7d645679] | 16 | <sect1 id="geoclue2" xreflabel="GeoClue-&geoclue2-version;">
|
---|
[e468571] | 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 |
|
---|
[db8d276a] | 39 | &lfs111_checked;
|
---|
[e468571] | 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">
|
---|
[dbb8c43] | 85 | <xref linkend="ModemManager"/>,
|
---|
| 86 | <xref linkend="vala"/>, and
|
---|
[2f29b7e] | 87 | <xref linkend="avahi"/>
|
---|
[e468571] | 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
[22c91155] | 92 | <xref linkend="gtk-doc"/> and
|
---|
[e468571] | 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 |
|
---|
[22c91155] | 109 | <screen><userinput>mkdir build &&
|
---|
[147c286] | 110 | cd build &&
|
---|
[22c91155] | 111 |
|
---|
[adf17153] | 112 | meson --prefix=/usr --buildtype=release -Dgtk-doc=false .. &&
|
---|
[22c91155] | 113 | ninja</userinput></screen>
|
---|
[e468571] | 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 |
|
---|
[22c91155] | 123 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[e468571] | 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
[adf17153] | 130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 131 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 132 |
|
---|
[e468571] | 133 | <para>
|
---|
[22c91155] | 134 | <option>-D3g-source=false</option>: This switch disables
|
---|
[e468571] | 135 | the 3G backend. Use it if you have not installed the
|
---|
| 136 | <application>ModemManager</application> package.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <para>
|
---|
[22c91155] | 140 | <option>-Dmodem-gps-source=false</option>: This switch disables
|
---|
[e468571] | 141 | the modem GPS backend. Use it if you have not installed the
|
---|
| 142 | <application>ModemManager</application> package.
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
[22c91155] | 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 |
|
---|
[5a58155] | 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 |
|
---|
[e468571] | 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>
|
---|
[dd6246f] | 178 | libgeoclue-2.so
|
---|
[e468571] | 179 | </seg>
|
---|
| 180 | <seg>
|
---|
[939653d] | 181 | /etc/geoclue,
|
---|
[22c91155] | 182 | /usr/include/libgeoclue-2.0,
|
---|
| 183 | /usr/libexec/geoclue-2.0, and
|
---|
| 184 | /usr/share/gtk-doc/html/{geoclue,libgeoclue}
|
---|
[e468571] | 185 | </seg>
|
---|
| 186 | </seglistitem>
|
---|
| 187 | </segmentedlist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | </sect1>
|
---|