summaryrefslogtreecommitdiff
path: root/app-misc/geoclue
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/geoclue')
-rw-r--r--app-misc/geoclue/Manifest11
-rw-r--r--app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-fallback-mac.patch16
-rw-r--r--app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-flag.patch79
-rw-r--r--app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch73
-rw-r--r--app-misc/geoclue/files/geoclue-2.4.1-fix-GLIBC-features.patch44
-rw-r--r--app-misc/geoclue/geoclue-0.12.99.ebuild71
-rw-r--r--app-misc/geoclue/geoclue-2.4.7.ebuild59
-rw-r--r--app-misc/geoclue/metadata.xml25
8 files changed, 378 insertions, 0 deletions
diff --git a/app-misc/geoclue/Manifest b/app-misc/geoclue/Manifest
new file mode 100644
index 000000000000..950b27937a36
--- /dev/null
+++ b/app-misc/geoclue/Manifest
@@ -0,0 +1,11 @@
+AUX geoclue-0.12.0_p20110307-use-fallback-mac.patch 511 SHA256 21fa236ae8d18e708e19198336d25180902055196987ca15048be707729febe8 SHA512 e2845272cca268c4658c3e836efd7b49bc53e7690125bc48a7d1d9d0b82b46ea88fff427ee73fa2045c74c2dfe21d45497341032363713a6401a735110bcd1e0 WHIRLPOOL 3672f61433b53bfca07496fd679785f4362ab4f57065ec40619c10c1c006a5fd82ac8a114d8d53cc1e903ac59b8a909aadb3598ee716a047d29922fc5f65ee94
+AUX geoclue-0.12.0_p20110307-use-flag.patch 2571 SHA256 30771a233355c31eeae0694e275454875feac47797eb1990714946875323e5b5 SHA512 9558635f1c520f26c30edcd2512934a6f3238c0fabf88e2e5b345aa8521575faad2e734d84e99071b827cc81724fab27299f2b838a48993e3110d2fa6ba82eef WHIRLPOOL bbae6a830b1886d967dbe746e96bec0dce787458500acb2ccc2f1af881fab201c2bdcd53d3a7f7ab96c7ae1a25d363d022804561d9c90f1208101d3d77bf8d21
+AUX geoclue-0.12.99-gpsd.patch 2073 SHA256 0abf0404525bc69da2365562eecb6e828547086de455fb2d9b0ac41a41fbe216 SHA512 9a5280af319cea99567fbbaf8174f11de71f9dbbeb146c4ad42a19df1d84f7573c9cd72560b7185065e5b8507770f77fa3cc06b3e45e0a56fdf3d3e5b717f0bc WHIRLPOOL e8e3072ae9acba711a550cab6d05e73c1d047e039a3707686bfea0a832158a5dc60ebc3f1c8860312afcfdebd9a484dabe45798aa721868b81086bea1fab9ab2
+AUX geoclue-2.4.1-fix-GLIBC-features.patch 1449 SHA256 ab8f1480d69c37720a499ff2e8b00472e4ce924e13f6f5d1e97e51bca8ddf8fa SHA512 27d2d750d2cc52714276d5b4431444c31e0ff59fc1fabf659efe77d427dad67de376e6bf4aa55882ced21c56ef1d4dff05aeac62372a5174acf7e5f40d5f061b WHIRLPOOL bc8c5f10c86d86a7f20df8fde02cf58b1ee56fcf49c1e5933a6dec411b592a7c94b39c437e3dd3aa652851860b9ac4926609d5934a0d7548fc2de4aefcef4eb5
+DIST geoclue-0.12.99.tar.gz 608074 SHA256 fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72 SHA512 32f946c9ee66cff2a6564b275d5f7bdf0d42832166c9fbeccb0aa55f3c3370fd8de114ad26477df6a2ee9d22250a5b104ec384032b28c3a62c356baea05d1bc2 WHIRLPOOL fc7e96d6646a7fa527807db2a3375a714243fb935f064b9acbb84f8652cc64e19d2655979c053e2f1b433c69a47a393123bc4bb2f8f16395a3ecbba668c9f1bd
+DIST geoclue-2.4.7.tar.xz 368472 SHA256 d17b96bb5799a84723385ea5704235565e9c3dedd2b7afac475a06e550ae0ea6 SHA512 472cf923abfd40dee296eee2e6888c47f273ad709e1bdcce534bd794cf9f7073ceabd6addf918277e10498e094af5a6e9539b5cf24171577e78bc3b0b2d17b72 WHIRLPOOL 10eb6a1303e6841fb2c210fa0f1c63c82c10d80b24974e8865aae32145a1c584c981f60d5b45c9e72154f28dd1e82bcd913eae11365db27cfd4f76492b4ff1b0
+EBUILD geoclue-0.12.99.ebuild 1976 SHA256 ea7214221a381b9858bbfc462b967458ca8a91e2f47f3def958a9b2edfd83bfc SHA512 ded60d1f1045cf6d05963fcb49eba167445526833651c095874c01b5dba837075b0ae4a0e4586f31a3dcaf56dcd4b2ee6019e926608f4e5218d0bea7db9eddc8 WHIRLPOOL eb9ba92ea113a342829d2f3b1bea7ac086ebb4e37798f7873e35cb310df081790f2eaa1ff2afab1cce60325f09d6722b268dc569de28e69975c9ee7422d3ab26
+EBUILD geoclue-2.4.7.ebuild 1569 SHA256 998733c1b9611eafd00c28763c194bd6c7850af06034c440b984b2ccf79ddaa0 SHA512 5cd0ecc2e692bac02e46686eb77ce6a0bba96086f6b353615ea474e99eae12e53d0aedd98541754bedf724f6b723e82de97598f6dcf8200d031b541b52d07320 WHIRLPOOL b04619c647624bb7db66d269deefce7622cacce6dfcf5474d4f4c7003c8fcb60c9d9745bf7b9002b4a5b94bf35a7169801bc0d1692a611a71b0176524554c6ab
+MISC ChangeLog 6369 SHA256 f46c04e2130247c449e79865ab3c576d15f36c25a9ae025a87d3743a3a7c35a1 SHA512 0992ef9aac14b5feae74b827d0bf57a67952b9d19405001213cbaba743c7583024d8c624d92165dfb995e1e33663dede416cd8e8e4fc206ad0b16702c9ada6a8 WHIRLPOOL a022f5fcffa91d697fe95f49659714f0893871b4523c7fa8750eff6becc9b04bb16f54ca0dcd2fd291e19208056bb24763da3da4cc664205ffdbbca11b90acd2
+MISC ChangeLog-2015 5919 SHA256 0df44cec06e1cc3b029b60d37580a6f142ca363641108a6e16231b9acedc6159 SHA512 541057c4e904ed375777d51187aa80b1c093708870258239d2e3272b6dd506a508f432c5b554bd5a0b1d61ea247755ee61f8a3ede528d9007881f31dbb626373 WHIRLPOOL d1c1e786c9b34620fcd8c8293aac7d6742ce60d31d7cfd6597a260023fe3c41619809d7853bd7c80b2fc2595fc7a6f6be7094b82e9c8b29519d71fb0c1061d1b
+MISC metadata.xml 1252 SHA256 15d787020724649cc54888c46c593eca4c44cb1589983fa2c38929506a20dfe5 SHA512 809d9b3afe58bf9e00bc826dbc7e2253461426084f8290d2b53ff0785666ec7b3626997b453a36a8eefcbae220f2f273008c3c51a7071a13da54e4e897d5c5ae WHIRLPOOL 76bd9bdead47d2bf53234a73d74e8cf896d54fb52d88c011aa07c2373d47009bd06451da0195e40c47e576c2af265fd82ce41046813a93daf7e33d071c9db372
diff --git a/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-fallback-mac.patch b/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-fallback-mac.patch
new file mode 100644
index 000000000000..9c9115a284ef
--- /dev/null
+++ b/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-fallback-mac.patch
@@ -0,0 +1,16 @@
+Force geoclue to use the "fallback" mac address fetching code.
+The NM-based code does not seem to work.
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- src/connectivity.c
++++ src/connectivity.c
+@@ -218,7 +218,7 @@
+ geoclue_connectivity_get_router_mac (GeoclueConnectivity *self)
+ {
+ if (self == NULL ||
+- GEOCLUE_CONNECTIVITY_GET_INTERFACE (self)->get_router_mac == NULL) {
++ GEOCLUE_CONNECTIVITY_GET_INTERFACE (self)->get_router_mac == NULL || 1) {
+ char *mac = NULL;
+ guint i;
+ int ret_val;
diff --git a/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-flag.patch b/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-flag.patch
new file mode 100644
index 000000000000..236c98928ba7
--- /dev/null
+++ b/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-flag.patch
@@ -0,0 +1,79 @@
+Add configure options for all providers except localnet.
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- configure.ac
++++ configure.ac
+@@ -158,7 +158,71 @@
+ AC_SUBST(CONNECTIVITY_LIBS)
+ AC_SUBST(CONNECTIVITY_CFLAGS)
+
+-PROVIDER_SUBDIRS="example hostip geonames nominatim manual plazes localnet yahoo gsmloc"
++PROVIDER_SUBDIRS="localnet"
++
++AC_ARG_ENABLE(hostip,
++ AS_HELP_STRING([--enable-hostip=@<:@no/yes/auto@:>@],
++ [build with hostip support]), ,
++ enable_hostip=auto)
++
++if test "x$enable_hostip" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS hostip"
++fi
++
++AC_ARG_ENABLE(geonames,
++ AS_HELP_STRING([--enable-geonames=@<:@no/yes/auto@:>@],
++ [build with geonames support]), ,
++ enable_geonames=auto)
++
++if test "x$enable_geonames" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS geonames"
++fi
++
++AC_ARG_ENABLE(nominatim,
++ AS_HELP_STRING([--enable-nominatim=@<:@no/yes/auto@:>@],
++ [build with nominatim support]), ,
++ enable_nominatim=auto)
++
++if test "x$enable_nominatim" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS nominatim"
++fi
++
++AC_ARG_ENABLE(manual,
++ AS_HELP_STRING([--enable-manual=@<:@no/yes/auto@:>@],
++ [build with manual support]), ,
++ enable_manual=auto)
++
++if test "x$enable_manual" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS manual"
++fi
++
++AC_ARG_ENABLE(plazes,
++ AS_HELP_STRING([--enable-plazes=@<:@no/yes/auto@:>@],
++ [build with plazes support]), ,
++ enable_plazes=auto)
++
++if test "x$enable_plazes" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS plazes"
++fi
++
++AC_ARG_ENABLE(yahoo,
++ AS_HELP_STRING([--enable-yahoo=@<:@no/yes/auto@:>@],
++ [build with yahoo support]), ,
++ enable_yahoo=auto)
++
++if test "x$enable_yahoo" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS yahoo"
++fi
++
++AC_ARG_ENABLE(gsmloc,
++ AS_HELP_STRING([--enable-gsmloc=@<:@no/yes/auto@:>@],
++ [build with gsmloc support]), ,
++ enable_gsmloc=auto)
++
++if test "x$enable_gsmloc" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS gsmloc"
++fi
++
+
+ # -----------------------------------------------------------
+ # gypsy / gpsd / skyhook
diff --git a/app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch b/app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch
new file mode 100644
index 000000000000..51160d6296e0
--- /dev/null
+++ b/app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch
@@ -0,0 +1,73 @@
+Description: Refactoring to support new libgps API
+Author: James Page <james.page@ubuntu.com>
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40996
+Forwarded: no
+
+--- providers/gpsd/geoclue-gpsd.c
++++ providers/gpsd/geoclue-gpsd.c
+@@ -40,7 +40,12 @@
+ #include <geoclue/gc-iface-position.h>
+ #include <geoclue/gc-iface-velocity.h>
+
++#if GPSD_API_MAJOR_VERSION >= 5
++/* gps_data conflicts with gps_data function */
++typedef struct gps_data_t gps_data_l;
++#else
+ typedef struct gps_data_t gps_data;
++#endif
+ typedef struct gps_fix_t gps_fix;
+
+ /* only listing used tags */
+@@ -59,7 +64,11 @@
+ char *host;
+ char *port;
+
++#if GPSD_API_MAJOR_VERSION >= 5
++ gps_data_l *gpsdata;
++#else
+ gps_data *gpsdata;
++#endif
+
+ gps_fix *last_fix;
+
+@@ -394,10 +403,16 @@
+ static gboolean
+ geoclue_gpsd_start_gpsd (GeoclueGpsd *self)
+ {
++#if GPSD_API_MAJOR_VERSION >= 5
++ int status = gps_open (self->host, self->port, self->gpsdata);
++ if (status == 0) {
++ gps_stream(self->gpsdata, WATCH_ENABLE | WATCH_NMEA, NULL);
++#else
+ self->gpsdata = gps_open (self->host, self->port);
+ if (self->gpsdata) {
+ gps_stream(self->gpsdata, WATCH_ENABLE | WATCH_NMEA | POLL_NONBLOCK, NULL);
+ gps_set_raw_hook (self->gpsdata, gpsd_raw_hook);
++#endif
+ return TRUE;
+ } else {
+ g_warning ("gps_open() failed, is gpsd running (host=%s,port=%s)?", self->host, self->port);
+@@ -410,10 +425,23 @@
+ {
+ GeoclueGpsd *self = (GeoclueGpsd*)data;
+ if (self->gpsdata) {
++#if GPSD_API_MAJOR_VERSION >= 5
++ /* gps_poll and gps_set_raw_hook no longer present in this API version */
++ if (gps_waiting(self->gpsdata, 500)) {
++ if (gps_read(self->gpsdata) == -1) {
++ geoclue_gpsd_set_status (self, GEOCLUE_STATUS_ERROR);
++ geoclue_gpsd_stop_gpsd(self);
++ return FALSE;
++ } else {
++ /* Call existing raw_hook to process the data */
++ gpsd_raw_hook(self->gpsdata, NULL, 0);
++ }
++#else
+ if (gps_poll(self->gpsdata) < 0) {
+ geoclue_gpsd_set_status (self, GEOCLUE_STATUS_ERROR);
+ geoclue_gpsd_stop_gpsd(self);
+ return FALSE;
++#endif
+ }
+ }
+ return TRUE;
diff --git a/app-misc/geoclue/files/geoclue-2.4.1-fix-GLIBC-features.patch b/app-misc/geoclue/files/geoclue-2.4.1-fix-GLIBC-features.patch
new file mode 100644
index 000000000000..b27bf5d44c01
--- /dev/null
+++ b/app-misc/geoclue/files/geoclue-2.4.1-fix-GLIBC-features.patch
@@ -0,0 +1,44 @@
+This has been edited to fit geoclue that import the code from geocode-glib.
+--Anthony G. Basile
+
+From 3ce317a218c255b8a8025f8f2a6010ce500dc0ee Mon Sep 17 00:00:00 2001
+From: "Anthony G. Basile" <blueness@gentoo.org>
+Date: Tue, 22 Mar 2016 09:48:00 +0000
+Subject: [PATCH] Use __UCLIBC__ when checking for GLIBC features
+
+Commit f0f85d8d introduces __GLIBC__ to check for glibc only features.
+However this is not sufficient for uClibc because it shares code with
+glibc. To select for features in glibc but not uClibc, we need
+defined(__GLIBC__) && !defined(__UCLIBC__).
+
+https://bugzilla.gnome.org/show_bug.cgi?id=764021
+---
+ geocode-glib/geocode-glib.c | 4 ++--
+ geocode-glib/test-gcglib.c | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/geocode-glib/geocode-glib.c b/src/geocode-glib/geocode-glib.c
+index 4e3b3fd..6215fd1 100644
+--- a/src/geocode-glib/geocode-glib.c
++++ b/src/geocode-glib/geocode-glib.c
+@@ -213,7 +213,7 @@ _geocode_object_get_lang (void)
+ return geocode_object_get_lang_for_locale (setlocale (LC_MESSAGES, NULL));
+ }
+
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+ static gpointer
+ is_number_after_street (gpointer data)
+ {
+@@ -246,7 +246,7 @@ is_number_after_street (gpointer data)
+ gboolean
+ _geocode_object_is_number_after_street (void)
+ {
+-#ifndef __GLIBC__
++#if !defined(__GLIBC__) || defined(__UCLIBC__)
+ return FALSE;
+ #else
+ static GOnce once = G_ONCE_INIT;
+--
+2.7.3
+
diff --git a/app-misc/geoclue/geoclue-0.12.99.ebuild b/app-misc/geoclue/geoclue-0.12.99.ebuild
new file mode 100644
index 000000000000..2e7e56b9b28f
--- /dev/null
+++ b/app-misc/geoclue/geoclue-0.12.99.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="A geoinformation D-Bus service"
+HOMEPAGE="https://freedesktop.org/wiki/Software/GeoClue"
+SRC_URI="https://freedesktop.org/~hadess/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd"
+IUSE="connman geonames gps gsmloc gtk hostip manual networkmanager nominatim plazes skyhook static-libs yahoo-geo"
+
+REQUIRED_USE="skyhook? ( networkmanager )"
+
+RDEPEND=">=dev-libs/dbus-glib-0.100
+ >=dev-libs/glib-2
+ dev-libs/libxml2
+ sys-apps/dbus
+ gps? ( sci-geosciences/gpsd )
+ gtk? ( x11-libs/gtk+:2 )
+ networkmanager? ( net-misc/networkmanager )
+ skyhook? ( net-libs/libsoup )"
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc-am
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.12.0_p20110307-use-flag.patch \
+ "${FILESDIR}"/${PN}-0.12.0_p20110307-use-fallback-mac.patch \
+ "${FILESDIR}"/${P}-gpsd.patch
+
+ sed -i -e '/CFLAGS/s:-g ::' configure.ac || die #399177
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ # Conic is only for Maemo. Don't enable.
+ # Gypsy has multiple vulnerabilities:
+ # https://bugs.freedesktop.org/show_bug.cgi?id=33431
+ econf \
+ --disable-silent-rules \
+ $(use_enable static-libs static) \
+ --disable-schemas-compile \
+ $(use_enable gtk tests) \
+ $(use_enable gtk) \
+ --disable-conic \
+ $(use_enable connman) \
+ $(use_enable networkmanager) \
+ --disable-gypsy \
+ $(use_enable gps gpsd) \
+ $(use_enable skyhook) \
+ $(use_enable geonames) \
+ $(use_enable gsmloc) \
+ $(use_enable hostip) \
+ $(use_enable manual) \
+ $(use_enable nominatim) \
+ $(use_enable plazes) \
+ $(use_enable yahoo-geo yahoo) \
+ --with-html-dir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ use gtk && dobin test/.libs/geoclue-test-gui
+ prune_libtool_files
+}
diff --git a/app-misc/geoclue/geoclue-2.4.7.ebuild b/app-misc/geoclue/geoclue-2.4.7.ebuild
new file mode 100644
index 000000000000..4748e7b60d88
--- /dev/null
+++ b/app-misc/geoclue/geoclue-2.4.7.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit gnome2 systemd user versionator
+
+MY_PV=$(get_version_component_range 1-2)
+DESCRIPTION="A geoinformation D-Bus service"
+HOMEPAGE="https://freedesktop.org/wiki/Software/GeoClue"
+SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${MY_PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2"
+SLOT="2.0"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd"
+IUSE="+introspection +modemmanager zeroconf"
+
+RDEPEND="
+ >=dev-libs/glib-2.34:2
+ >=dev-libs/json-glib-0.14
+ >=net-libs/libsoup-2.42:2.4
+ sys-apps/dbus
+ introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+ modemmanager? ( >=net-misc/modemmanager-1 )
+ zeroconf? ( >=net-dns/avahi-0.6.10 )
+ !<sci-geosciences/geocode-glib-3.10.0
+"
+DEPEND="${RDEPEND}
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1
+ >=dev-util/intltool-0.40
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.4.1-fix-GLIBC-features.patch
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # debug only affects CFLAGS
+ gnome2_src_configure \
+ --enable-backend \
+ --with-dbus-service-user=geoclue \
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
+ $(use_enable introspection) \
+ $(use_enable modemmanager 3g-source) \
+ $(use_enable modemmanager cdma-source) \
+ $(use_enable modemmanager modem-gps-source) \
+ $(use_enable zeroconf nmea-source)
+}
+
+pkg_preinst() {
+ enewgroup geoclue
+ enewuser geoclue -1 -1 /var/lib/geoclue geoclue
+ gnome2_pkg_preinst
+}
diff --git a/app-misc/geoclue/metadata.xml b/app-misc/geoclue/metadata.xml
new file mode 100644
index 000000000000..7bf3bd754bec
--- /dev/null
+++ b/app-misc/geoclue/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="geonames">Install geonames.org provider</flag>
+ <flag name="gsmloc">Install GSM location provider</flag>
+ <flag name="gtk">Install gtk-based geoclue-test-gui</flag>
+ <flag name="hostip">Install hostip.info provder</flag>
+ <flag name="manual">Install manual provider</flag>
+ <flag name="modemmanager">Enable geolocation through 3G or GPS enabled hardware through <pkg>net-misc/modemmanager</pkg>.</flag>
+ <flag name="nominatim">Install openstreetmap.org provider</flag>
+ <flag name="plazes">Install plazes.com provider</flag>
+ <flag name="skyhook">Install skyhookwireless.com provider</flag>
+ <flag name="yahoo-geo">Install Yahoo geolocation provider</flag>
+ <flag name="zeroconf">Enable retrieval of GPS location from Android devices with https://wiki.gnome.org/Apps/GeoclueShare</flag>
+ </use>
+</pkgmetadata>