mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
geoclue: Update to 2.4.4
Also drop redundant and now unusable patch. Signed-off-by: Zeeshan Ali <zeeshan.ali@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
2ed5ad2e40
commit
e05f59e096
@ -1,30 +0,0 @@
|
||||
Upstream-Status: Upstream-Status: Inappropriate [poky 9.0 has older libsoup]
|
||||
|
||||
Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
|
||||
|
||||
diff --git a/src/gclue-ipclient.c b/src/gclue-ipclient.c
|
||||
index 09add30..1771d5c 100644
|
||||
--- a/src/gclue-ipclient.c
|
||||
+++ b/src/gclue-ipclient.c
|
||||
@@ -83,7 +83,7 @@ gclue_ipclient_init (GClueIpclient *ipclient)
|
||||
{
|
||||
ipclient->priv = G_TYPE_INSTANCE_GET_PRIVATE ((ipclient), GCLUE_TYPE_IPCLIENT, GClueIpclientPrivate);
|
||||
|
||||
- ipclient->priv->soup_session = soup_session_new ();
|
||||
+ ipclient->priv->soup_session = soup_session_sync_new ();
|
||||
}
|
||||
|
||||
/**
|
||||
diff --git a/src/geoip-server/geoip-update.c b/src/geoip-server/geoip-update.c
|
||||
index 6cce7b2..ef672ba 100644
|
||||
--- a/src/geoip-server/geoip-update.c
|
||||
+++ b/src/geoip-server/geoip-update.c
|
||||
@@ -214,7 +214,7 @@ main (int argc, char **argv)
|
||||
path = GEOIP_DATABASE_PATH;
|
||||
}
|
||||
|
||||
- session = soup_session_new ();
|
||||
+ session = soup_session_sync_new ();
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (db_info_map); i++) {
|
||||
SoupMessage *msg = NULL;
|
||||
@ -1,33 +0,0 @@
|
||||
SUMMARY = "The Geolocation Service"
|
||||
DESCRIPTION = "Geoclue is a D-Bus service that provides location information. \
|
||||
The primary goal of the Geoclue project is to make creating location-aware applications \
|
||||
as simple as possible, while the secondary goal is to ensure that no application \
|
||||
can access location information without explicit permission from user."
|
||||
LICENSE = "GPLv2.0+"
|
||||
SECTION = "console/network"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=8114b83a0435d8136b47bd70111ce5cd"
|
||||
|
||||
DEPENDS = "glib-2.0 dbus dbus-glib json-glib libsoup-2.4 intltool-native"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc
|
||||
|
||||
SRC_URI = " \
|
||||
http://www.freedesktop.org/software/geoclue/releases/2.0/geoclue-${PV}.tar.xz \
|
||||
file://soup-session-fix.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "401ff99d530b177c62afacef0a33efd9"
|
||||
SRC_URI[sha256sum] = "4a82f184e55a163d86e0ad69bbe1bba9960bb5094220fe1f01350bceda8c67a1"
|
||||
|
||||
PACKAGECONFIG[geoip] = "--enable-geoip-server,--disable-geoip-server,geoip"
|
||||
|
||||
EXTRA_OECONF += " \
|
||||
--with-dbus-service-user=root \
|
||||
--with-dbus-sys-dir=${sysconfdir}/dbus-1/system.d \
|
||||
"
|
||||
|
||||
FILES_${PN} += " \
|
||||
${datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service \
|
||||
${datadir}/geoclue-2.0/geoclue-interface.xml \
|
||||
"
|
||||
53
meta-oe/recipes-navigation/geoclue/geoclue_2.4.4.bb
Normal file
53
meta-oe/recipes-navigation/geoclue/geoclue_2.4.4.bb
Normal file
@ -0,0 +1,53 @@
|
||||
SUMMARY = "The Geolocation Service"
|
||||
DESCRIPTION = "Geoclue is a D-Bus service that provides location information. \
|
||||
The primary goal of the Geoclue project is to make creating location-aware applications \
|
||||
as simple as possible, while the secondary goal is to ensure that no application \
|
||||
can access location information without explicit permission from user."
|
||||
LICENSE = "GPLv2.0+"
|
||||
SECTION = "console/network"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=8114b83a0435d8136b47bd70111ce5cd"
|
||||
|
||||
DEPENDS = "glib-2.0 dbus json-glib libsoup-2.4 intltool-native"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc
|
||||
|
||||
SRC_URI = " \
|
||||
http://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-${PV}.tar.xz \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "d2a5b05f4bad032673fe23afbce27926"
|
||||
SRC_URI[sha256sum] = "9c43fb9d0c12067ea64400500abb0640194947d4c2c55e38545afe5d9c5c315c"
|
||||
|
||||
export BUILD_SYS
|
||||
export HOST_SYS
|
||||
export STAGING_INCDIR
|
||||
export STAGING_LIBDIR
|
||||
|
||||
# Without this line, package is delcared a library and named libgeoclue*
|
||||
AUTO_LIBNAME_PKGS = ""
|
||||
|
||||
PACKAGECONFIG ??= "3g modem-gps cdma nmea lib"
|
||||
PACKAGECONFIG[3g] = "--enable-3g-source,--disable-3g-source,modemmanager"
|
||||
PACKAGECONFIG[modem-gps] = "--enable-modem-gps-source,--disable-modem-gps-source,modemmanager"
|
||||
PACKAGECONFIG[cdma] = "--enable-cdma-source,--disable-cdma-source,modemmanager"
|
||||
PACKAGECONFIG[nmea] = "--enable-nmea-source,--disable-nmea-source,avahi"
|
||||
PACKAGECONFIG[lib] = "--enable-libgeoclue,--disable-libgeoclue,gobject-introspection"
|
||||
|
||||
EXTRA_OECONF += " \
|
||||
--with-dbus-service-user=root \
|
||||
--with-dbus-sys-dir=${sysconfdir}/dbus-1/system.d \
|
||||
--enable-demo-agent=no \
|
||||
"
|
||||
|
||||
FILES_${PN} += " \
|
||||
${datadir}/dbus-1/system-services \
|
||||
${libdir} \
|
||||
${systemd_unitdir} \
|
||||
${prefix}/libexec \
|
||||
"
|
||||
|
||||
FILES_${PN}-dev += " \
|
||||
${datadir}/dbus-1/interfaces \
|
||||
${datadir}/gir-1.0 \
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user