GeoClue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the GeoClue project is to make creating location-aware applications as simple as possible.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/2.6.0/geoclue-2.6.0.tar.bz2
Download MD5 sum: 07ed45bc145e87d7f76fa521d5412f29
Download size: 96 KB
Estimated disk space required: 6.5 MB
Estimated build time: 0.3 SBU
JSON-GLib-1.6.6 and libsoup-2.74.2
ModemManager-1.18.10, Vala-0.56.2, and Avahi-0.8
GTK-Doc-1.33.2 and libnotify-0.8.1
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/geoclue2
Install GeoClue by running the following commands:
mkdir build && cd build && meson --prefix=/usr --buildtype=release -Dgtk-doc=false .. && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D3g-source=false
: This switch disables
the 3G backend. Use it if you have not installed the ModemManager package.
-Dmodem-gps-source=false
: This switch
disables the modem GPS backend. Use it if you have not installed
the ModemManager package.
-Dcdma-source=false
: This switch
disables the CDMA source backend. Use it if you have not installed
the ModemManager package.
-Dnmea-source=false
: This switch
disables the NMEA source. Use it if you have not installed the
Avahi package.
-Ddemo-agent=false
: This switch
disables the demo. Use it if you have not installed the
libnotify package.