Introduction to GeoClue

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.

This package is known to build and work properly using an LFS-7.7 systemd platform.

Package Information

Additional Downloads

GeoClue Dependencies


dbus-glib-0.104, GConf-3.2.6 and libxslt-1.1.28

Recommended if you are building GNOME


GPSD, GTK+-2.24.28 and oFono

User Notes:

Installation of GeoClue

Install GeoClue by running the following commands:

patch -Np1 -i ../geoclue-0.12.0-gpsd_fix-1.patch &&

sed -i "s@ -Werror@@" configure &&
sed -i "s@libnm_glib@libnm-glib@g" configure &&

sed -i "s@geoclue/ -lgthread-2.0@g" \
       providers/skyhook/ &&

./configure --prefix=/usr --disable-static &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i "s@ -Werror@@" configure: This sed removes -Werror from the CFLAGS variable, otherwise the build will fail with gcc-4.7.

sed -i "s@libnm_glib@libnm-glib@g" configure: This sed fixes detection of NetworkManager libraries.

sed -i "s@geoclue/ -lgthread-2.0@g" .. : This sed fixes building GeoClue with recent binutils.

--disable-static: This switch prevents installation of static versions of the libraries.


Installed Programs: None
Installed Library:
Installed Directory: /usr/include/geoclue, /usr/share/geoclue-providers, and /usr/share/gtk-doc/html/geoclue

Short Descriptions

contains functions that provide the GeoClue geoinformation application programming interface.

Last updated on 2015-07-31 23:26:22 -0500