summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-08-29 20:05:43 +0200
committerpiernov <piernov@piernov.org>2011-08-29 20:05:43 +0200
commita50576c52d383538d3f9cad3223a0d9064956c1e (patch)
tree1bd6e4a4a0ae080edbbc0d7aebee7cc697326d64
parent3ebe2f3dc4a80db6a22e36057a93826ad1cebe27 (diff)
downloadgnome3-a50576c52d383538d3f9cad3223a0d9064956c1e.tar.gz
gnome3-a50576c52d383538d3f9cad3223a0d9064956c1e.tar.bz2
gnome3-a50576c52d383538d3f9cad3223a0d9064956c1e.tar.xz
gnome3-a50576c52d383538d3f9cad3223a0d9064956c1e.zip
geoclue 0.12-1 ajout port
-rw-r--r--geoclue/.footprint.i68675
-rw-r--r--geoclue/.footprint.x86_6475
-rw-r--r--geoclue/.md5sum.i6863
-rw-r--r--geoclue/.md5sum.x86_643
-rw-r--r--geoclue/Pkgfile30
-rw-r--r--geoclue/geoclue-NMCrash.patch31
-rw-r--r--geoclue/geoclue-nm08.patch11
7 files changed, 228 insertions, 0 deletions
diff --git a/geoclue/.footprint.i686 b/geoclue/.footprint.i686
new file mode 100644
index 0000000..6a2f7c0
--- /dev/null
+++ b/geoclue/.footprint.i686
@@ -0,0 +1,75 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/geoclue/
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-address.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-geoclue.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-geocode.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-position.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-reverse-geocode.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-velocity.h
+-rw-r--r-- root/root usr/include/geoclue/gc-provider.h
+-rw-r--r-- root/root usr/include/geoclue/gc-web-service.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-accuracy.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-address-details.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-address.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-enum-types.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-error.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-geocode.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-master-client.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-master.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-position.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-provider.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-reverse-geocode.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-types.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-velocity.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libgeoclue.a
+-rwxr-xr-x root/root usr/lib/libgeoclue.la
+lrwxrwxrwx root/root usr/lib/libgeoclue.so -> libgeoclue.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libgeoclue.so.0 -> libgeoclue.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libgeoclue.so.0.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/geoclue.pc
+drwxr-xr-x root/root usr/libexec/
+-rwxr-xr-x root/root usr/libexec/geoclue-example
+-rwxr-xr-x root/root usr/libexec/geoclue-geonames
+-rwxr-xr-x root/root usr/libexec/geoclue-gpsd
+-rwxr-xr-x root/root usr/libexec/geoclue-gsmloc
+-rwxr-xr-x root/root usr/libexec/geoclue-gypsy
+-rwxr-xr-x root/root usr/libexec/geoclue-hostip
+-rwxr-xr-x root/root usr/libexec/geoclue-localnet
+-rwxr-xr-x root/root usr/libexec/geoclue-manual
+-rwxr-xr-x root/root usr/libexec/geoclue-master
+-rwxr-xr-x root/root usr/libexec/geoclue-nominatim
+-rwxr-xr-x root/root usr/libexec/geoclue-plazes
+-rwxr-xr-x root/root usr/libexec/geoclue-skyhook
+-rwxr-xr-x root/root usr/libexec/geoclue-yahoo
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/services/
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Master.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
+drwxr-xr-x root/root usr/share/geoclue-providers/
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-example.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-geonames.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-gpsd.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-gsmloc.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-gypsy.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-hostip.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-localnet.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-manual.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-nominatim.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-plazes.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-skyhook.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-yahoo.provider
diff --git a/geoclue/.footprint.x86_64 b/geoclue/.footprint.x86_64
new file mode 100644
index 0000000..6a2f7c0
--- /dev/null
+++ b/geoclue/.footprint.x86_64
@@ -0,0 +1,75 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/geoclue/
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-address.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-geoclue.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-geocode.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-position.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-reverse-geocode.h
+-rw-r--r-- root/root usr/include/geoclue/gc-iface-velocity.h
+-rw-r--r-- root/root usr/include/geoclue/gc-provider.h
+-rw-r--r-- root/root usr/include/geoclue/gc-web-service.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-accuracy.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-address-details.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-address.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-enum-types.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-error.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-geocode.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-master-client.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-master.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-position.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-provider.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-reverse-geocode.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-types.h
+-rw-r--r-- root/root usr/include/geoclue/geoclue-velocity.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libgeoclue.a
+-rwxr-xr-x root/root usr/lib/libgeoclue.la
+lrwxrwxrwx root/root usr/lib/libgeoclue.so -> libgeoclue.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libgeoclue.so.0 -> libgeoclue.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libgeoclue.so.0.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/geoclue.pc
+drwxr-xr-x root/root usr/libexec/
+-rwxr-xr-x root/root usr/libexec/geoclue-example
+-rwxr-xr-x root/root usr/libexec/geoclue-geonames
+-rwxr-xr-x root/root usr/libexec/geoclue-gpsd
+-rwxr-xr-x root/root usr/libexec/geoclue-gsmloc
+-rwxr-xr-x root/root usr/libexec/geoclue-gypsy
+-rwxr-xr-x root/root usr/libexec/geoclue-hostip
+-rwxr-xr-x root/root usr/libexec/geoclue-localnet
+-rwxr-xr-x root/root usr/libexec/geoclue-manual
+-rwxr-xr-x root/root usr/libexec/geoclue-master
+-rwxr-xr-x root/root usr/libexec/geoclue-nominatim
+-rwxr-xr-x root/root usr/libexec/geoclue-plazes
+-rwxr-xr-x root/root usr/libexec/geoclue-skyhook
+-rwxr-xr-x root/root usr/libexec/geoclue-yahoo
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/services/
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Master.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
+-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
+drwxr-xr-x root/root usr/share/geoclue-providers/
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-example.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-geonames.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-gpsd.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-gsmloc.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-gypsy.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-hostip.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-localnet.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-manual.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-nominatim.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-plazes.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-skyhook.provider
+-rw-r--r-- root/root usr/share/geoclue-providers/geoclue-yahoo.provider
diff --git a/geoclue/.md5sum.i686 b/geoclue/.md5sum.i686
new file mode 100644
index 0000000..efbf70e
--- /dev/null
+++ b/geoclue/.md5sum.i686
@@ -0,0 +1,3 @@
+f6b6030c085ad61cbe66b7cd02a84b56 geoclue-0.12.tar.bz2
+a659858b9661dc49bf6dc9ffecf860ab geoclue-NMCrash.patch
+fbc5a7d43c7010aab592622543044d08 geoclue-nm08.patch
diff --git a/geoclue/.md5sum.x86_64 b/geoclue/.md5sum.x86_64
new file mode 100644
index 0000000..efbf70e
--- /dev/null
+++ b/geoclue/.md5sum.x86_64
@@ -0,0 +1,3 @@
+f6b6030c085ad61cbe66b7cd02a84b56 geoclue-0.12.tar.bz2
+a659858b9661dc49bf6dc9ffecf860ab geoclue-NMCrash.patch
+fbc5a7d43c7010aab592622543044d08 geoclue-nm08.patch
diff --git a/geoclue/Pkgfile b/geoclue/Pkgfile
new file mode 100644
index 0000000..8228018
--- /dev/null
+++ b/geoclue/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Service de geoinformation modulaire.
+# URL: http://geoclue.freedesktop.org
+# Maintainer: NuTyX GNOME team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: gconf, gtk, gypsy, libgnome-keyring, sqlite3, libproxy, libsoup
+# Run on: gconf, gtk, gypsy, libgnome-keyring, sqlite3, libproxy, libsoup
+
+name=geoclue
+version=0.12
+release=1
+source=(http://cgit.freedesktop.org/$name/snapshot/$name-$version.tar.bz2
+ geoclue-NMCrash.patch
+ geoclue-nm08.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < ../geoclue-NMCrash.patch
+ patch -p1 < ../geoclue-nm08.patch
+ ./autogen.sh
+ sed "s/-Werror//g" -i configure
+ ./configure --prefix=/usr \
+ --disable-gtk-doc \
+ --enable-gtk=yes \
+ --enable-networkmanager=yes \
+ --enable-gypsy=yes \
+ --enable-gpsd=yes \
+ --enable-skyhook=yes
+ make
+ make DESTDIR=$PKG install
+}
diff --git a/geoclue/geoclue-NMCrash.patch b/geoclue/geoclue-NMCrash.patch
new file mode 100644
index 0000000..d2afc87
--- /dev/null
+++ b/geoclue/geoclue-NMCrash.patch
@@ -0,0 +1,31 @@
+From bcf9ee4f44625eddad4c267fedc507d9eeeaf3f4 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess@hadess.net>
+Date: Tue, 29 Jun 2010 18:47:21 +0000
+Subject: Fix crasher when NetworkManager has no devices
+
+https://bugs.freedesktop.org/show_bug.cgi?id=28066
+---
+diff --git a/src/connectivity-networkmanager.c b/src/connectivity-networkmanager.c
+index 1061201..a7b8971 100644
+--- a/src/connectivity-networkmanager.c
++++ b/src/connectivity-networkmanager.c
+@@ -248,16 +248,12 @@ cache_ap_mac (GeoclueNetworkManager *self)
+ guint i;
+
+ devices = nm_client_get_devices (self->client);
+- if (devices == NULL) {
+- g_free (self->cache_ap_mac);
+- self->cache_ap_mac = NULL;
+- }
+
+ g_free (self->cache_ap_mac);
+ self->cache_ap_mac = NULL;
+ self->ap_strength = 0;
+
+- for (i = 0; i < devices->len; i++) {
++ for (i = 0; devices != NULL && i < devices->len; i++) {
+ NMDevice *device = g_ptr_array_index (devices, i);
+ if (NM_IS_DEVICE_WIFI (device)) {
+ get_best_ap (self, device);
+--
+cgit v0.8.3-6-g21f6
diff --git a/geoclue/geoclue-nm08.patch b/geoclue/geoclue-nm08.patch
new file mode 100644
index 0000000..a483c66
--- /dev/null
+++ b/geoclue/geoclue-nm08.patch
@@ -0,0 +1,11 @@
+--- geoclue-0.11.1.1/configure.ac.orig 2009-10-26 10:49:36.000000000 +0000
++++ geoclue-0.11.1.1/configure.ac 2009-10-26 10:50:03.000000000 +0000
+@@ -123,7 +123,7 @@
+ if test "x$enable_networkmanager" != "xno"; then
+ PKG_CHECK_MODULES(NETWORK_MANAGER,
+ [
+- NetworkManager libnm_glib
++ NetworkManager libnm-glib
+ ], have_networkmanager="yes", have_networkmanager="no")
+
+ if test "x$have_networkmanager" = "xyes"; then