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.4 platform.
Download (HTTP): https://launchpad.net/geoclue/trunk/0.12/+download/geoclue-0.12.0.tar.gz
Download MD5 sum: 33af8307f332e0065af056ecba65fec2
Download size: 556 KB
Estimated disk space required: 11 MB
Estimated build time: 0.1 SBU
Required patch (if GPSD is installed): http://www.linuxfromscratch.org/patches/blfs/svn/geoclue-0.12.0-gpsd_fix-1.patch
dbus-glib-0.100.2, GConf-3.2.6 and libxslt-1.1.28
libsoup-2.42.2 and NetworkManager-0.9.8.2
GPSD, GTK+-2.24.20 and oFono
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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/libgeoclue.la@& -lgthread-2.0@g" \ providers/skyhook/Makefile.in && ./configure --prefix=/usr --libexecdir=/usr/lib/geoclue && make
This package does not come with a test suite.
Now, as the root
user:
make install
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/libgeoclue.la@& -lgthread-2.0@g" .. : This sed fixes building GeoClue with recent binutils.
--libexecdir=/usr/lib/geoclue
: This
option installs GeoClue's private
executables into /usr/lib/geoclue
.
Last updated on 2013-08-25 04:52:57 -0700