mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
189 lines
5.1 KiB
XML
189 lines
5.1 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY geoclue2-download-http
|
|
"https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/&geoclue2-version;/geoclue-&geoclue2-version;.tar.bz2">
|
|
<!ENTITY geoclue2-download-ftp " ">
|
|
<!ENTITY geoclue2-md5sum "08bacd3b45311ee6c20e4240be7bc348">
|
|
<!ENTITY geoclue2-size "104 KB">
|
|
<!ENTITY geoclue2-buildsize "6.9 MB">
|
|
<!ENTITY geoclue2-time "0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="geoclue2" xreflabel="GeoClue-&geoclue2-version;">
|
|
<?dbhtml filename="geoclue2.html"?>
|
|
|
|
|
|
<title>GeoClue-&geoclue2-version;</title>
|
|
|
|
<indexterm zone="geoclue2">
|
|
<primary sortas="a-geoclue">GeoClue</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to GeoClue</title>
|
|
|
|
<para>
|
|
<application>GeoClue</application> is a modular geoinformation service
|
|
built on top of the <application>D-Bus</application> messaging system. The
|
|
goal of the <application>GeoClue</application> project is to make creating
|
|
location-aware applications as simple as possible.
|
|
</para>
|
|
|
|
&lfs120_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&geoclue2-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&geoclue2-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &geoclue2-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &geoclue2-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &geoclue2-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &geoclue2-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">GeoClue Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="json-glib"/> and
|
|
<xref linkend="libsoup3"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="ModemManager"/>,
|
|
<xref linkend="vala"/>, and
|
|
<xref linkend="avahi"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="gtk-doc"/> and
|
|
<xref linkend="libnotify"/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of GeoClue</title>
|
|
|
|
<para>
|
|
Install <application>GeoClue</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir build &&
|
|
cd build &&
|
|
|
|
meson setup --prefix=/usr \
|
|
--buildtype=release \
|
|
-Dgtk-doc=false \
|
|
.. &&
|
|
ninja</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/meson-buildtype-release.xml"/>
|
|
|
|
<para>
|
|
<option>-D3g-source=false</option>: This switch disables
|
|
the 3G backend. Use it if you have not installed the
|
|
<application>ModemManager</application> package.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-Dmodem-gps-source=false</option>: This switch disables
|
|
the modem GPS backend. Use it if you have not installed the
|
|
<application>ModemManager</application> package.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-Dcdma-source=false</option>: This switch disables the
|
|
CDMA source backend. Use it if you have not installed the
|
|
<application>ModemManager</application> package.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-Dnmea-source=false</option>: This switch disables the
|
|
NMEA source. Use it if you have not installed the
|
|
<application>Avahi</application> package.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-Ddemo-agent=false</option>: This switch disables the
|
|
demo. Use it if you have not installed the
|
|
<application>libnotify</application> package.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libgeoclue-2.so
|
|
</seg>
|
|
<seg>
|
|
/etc/geoclue,
|
|
/usr/include/libgeoclue-2.0,
|
|
/usr/libexec/geoclue-2.0, and
|
|
/usr/share/gtk-doc/html/{geoclue,libgeoclue}
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|