Your message dated Tue, 03 Nov 2009 21:42:12 +0000
with message-id <e1n5r8m-0007jw...@ries.debian.org>
and subject line Bug#554178: fixed in geoclue 0.11.1-6
has caused the Debian Bug report #554178,
regarding hostip API has changed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
554178: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554178
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: geoclue-hostip
Version: 0.11.1-5+b1
Severity: serious
Justification: renders package unusable

The hostip XML API has changed. freedesktop bug #24058[0] has been
opened with a patch to fix this. At the time of writing, upstream
appear very quiet in responding and pushing this fix, which is a
shame. It'd be nice to get this into Debian though.

I've attached the patch here for your convenience.

Thanks,

0. https://bugs.freedesktop.org/show_bug.cgi?id=24058

-- 
Jonny Lamb, UK
jo...@debian.org
From: Danielle Madeley <danielle.made...@collabora.co.uk>
Date: Mon, 21 Sep 2009 03:52:06 +0000 (+1000)
Subject: Fix HostIP provider to work with latest web API
X-Git-Url: 
http://git.collabora.co.uk/?p=user%2Fdanni%2Fgeoclue.git;a=commitdiff_plain;h=031705068aeb82f5dad378c36757d5679d125432

Fix HostIP provider to work with latest web API

The web API from api.hostip.info has removed the 'hostip' namespace. All of
the XPath queries required updating to remove the hostip namespace, otherwise
they don't match anything.
---

diff --git a/providers/hostip/geoclue-hostip.c 
b/providers/hostip/geoclue-hostip.c
index f9eda08..7419c83 100644
--- a/providers/hostip/geoclue-hostip.c
+++ b/providers/hostip/geoclue-hostip.c
@@ -42,13 +42,11 @@
 
 #define HOSTIP_NS_GML_NAME "gml"
 #define HOSTIP_NS_GML_URI "http://www.opengis.net/gml";
-#define HOSTIP_NS_HOSTIP_NAME "hostip"
-#define HOSTIP_NS_HOSTIP_URI "http://www.hostip.info/api";
 
-#define HOSTIP_COUNTRY_XPATH 
"//gml:featureMember/hostip:Hostip/hostip:countryName"
-#define HOSTIP_COUNTRYCODE_XPATH 
"//gml:featureMember/hostip:Hostip/hostip:countryAbbrev"
-#define HOSTIP_LOCALITY_XPATH "//gml:featureMember/hostip:Hostip/gml:name"
-#define HOSTIP_LATLON_XPATH 
"//gml:featureMember/hostip:Hostip//gml:coordinates"
+#define HOSTIP_COUNTRY_XPATH "//gml:featureMember/Hostip/countryName"
+#define HOSTIP_COUNTRYCODE_XPATH "//gml:featureMember/Hostip/countryAbbrev"
+#define HOSTIP_LOCALITY_XPATH "//gml:featureMember/Hostip/gml:name"
+#define HOSTIP_LATLON_XPATH "//gml:featureMember/Hostip//gml:coordinates"
 
 static void geoclue_hostip_init (GeoclueHostip *obj);
 static void geoclue_hostip_position_init (GcIfacePositionClass  *iface);
@@ -101,7 +99,6 @@ geoclue_hostip_get_position (GcIfacePosition        *iface,
                return FALSE;
        }
        
-       
        if (gc_web_service_get_string (obj->web_service, 
                                        &coord_str, HOSTIP_LATLON_XPATH)) {
                if (sscanf (coord_str, "%lf,%lf", longitude , latitude) == 2) {
@@ -240,8 +237,6 @@ geoclue_hostip_init (GeoclueHostip *obj)
        gc_web_service_set_base_url (obj->web_service, HOSTIP_URL);
        gc_web_service_add_namespace (obj->web_service,
                                      HOSTIP_NS_GML_NAME, HOSTIP_NS_GML_URI);
-       gc_web_service_add_namespace (obj->web_service,
-                                     HOSTIP_NS_HOSTIP_NAME, 
HOSTIP_NS_HOSTIP_URI);
 }
 
 static void

--- End Message ---
--- Begin Message ---
Source: geoclue
Source-Version: 0.11.1-6

We believe that the bug you reported is fixed in the latest version of
geoclue, which is due to be installed in the Debian FTP archive:

geoclue-examples_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-examples_0.11.1-6_amd64.deb
geoclue-geonames_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-geonames_0.11.1-6_amd64.deb
geoclue-gpsd_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-gpsd_0.11.1-6_amd64.deb
geoclue-gsmloc_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-gsmloc_0.11.1-6_amd64.deb
geoclue-hostip_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-hostip_0.11.1-6_amd64.deb
geoclue-localnet_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-localnet_0.11.1-6_amd64.deb
geoclue-manual_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-manual_0.11.1-6_amd64.deb
geoclue-plazes_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-plazes_0.11.1-6_amd64.deb
geoclue-yahoo_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue-yahoo_0.11.1-6_amd64.deb
geoclue_0.11.1-6.diff.gz
  to main/g/geoclue/geoclue_0.11.1-6.diff.gz
geoclue_0.11.1-6.dsc
  to main/g/geoclue/geoclue_0.11.1-6.dsc
geoclue_0.11.1-6_amd64.deb
  to main/g/geoclue/geoclue_0.11.1-6_amd64.deb
libgeoclue-dev_0.11.1-6_amd64.deb
  to main/g/geoclue/libgeoclue-dev_0.11.1-6_amd64.deb
libgeoclue0_0.11.1-6_amd64.deb
  to main/g/geoclue/libgeoclue0_0.11.1-6_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 554...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bernd Zeimetz <b...@debian.org> (supplier of updated geoclue package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 03 Nov 2009 20:00:20 +0100
Source: geoclue
Binary: geoclue libgeoclue0 libgeoclue-dev geoclue-manual geoclue-hostip 
geoclue-plazes geoclue-gpsd geoclue-geonames geoclue-gsmloc geoclue-localnet 
geoclue-yahoo geoclue-examples
Architecture: source amd64
Version: 0.11.1-6
Distribution: unstable
Urgency: low
Maintainer: Craig Andrews <candr...@integralblue.com>
Changed-By: Bernd Zeimetz <b...@debian.org>
Description: 
 geoclue    - Geographic information framework
 geoclue-examples - GeoClue example clients
 geoclue-geonames - Geocoder provider for GeoClue (geonames)
 geoclue-gpsd - Position server for GeoClue (GPS)
 geoclue-gsmloc - Position server for GeoClue (GSM)
 geoclue-hostip - Position server for GeoClue (hostip)
 geoclue-localnet - Position server for GeoClue (GPS)
 geoclue-manual - Position server for GeoClue (manual)
 geoclue-plazes - Position server for GeoClue (Plazes)
 geoclue-yahoo - Map and geocode server for GeoClue (Yahoo)
 libgeoclue-dev - C API for GeoClue (development files)
 libgeoclue0 - C API for GeoClue
Closes: 536269 554178
Changes: 
 geoclue (0.11.1-6) unstable; urgency=low
 .
   * [b5dc4a22] Cleaning up git buildpackage config.
   * [e2dd0d25] Bump compat to level 7.
   * [59e22383] Merge branch 'dh'
   * [80f5bd5a] Adding debian/clean for dh_clean, drop extra rules.
   * [2fa2135d] Copy config.guess/sub and clean up after build.
   * [0d7df15a] Adding patch to fix wrong comment syntax in example code.
     (Closes: #536269) - thanks to Marco TĂșlio Gontijo e Silva
   * [aa3f625c] Fix HostIP provider to work with latest web API (Closes:
     #554178) - thanks to Jonny Lamb
   * [773831aa] Use dh_quilt_* in debian/rules.
   * [47ecb429] Bumping Standards-Version to 3.8.3, no changes needed.
Checksums-Sha1: 
 fbeaa577915e8aec8c3b870ded3dcfb34f98fba3 1576 geoclue_0.11.1-6.dsc
 1eb2b6d2434baf24320911f6c92aa037ee4a6e0e 7513 geoclue_0.11.1-6.diff.gz
 d046d0699543d71e1028ee8ff7bb04d6cc632209 20652 geoclue_0.11.1-6_amd64.deb
 66c434cfdfdd9d605703561b7ce1245680df8433 26550 libgeoclue0_0.11.1-6_amd64.deb
 3164576ed110e90338f675a318aca4ffe6372730 86394 
libgeoclue-dev_0.11.1-6_amd64.deb
 f6d4a9b2f8018e0e411f7ac643379c7c6f118ca7 8936 geoclue-manual_0.11.1-6_amd64.deb
 7582dd09e6f34ab4a1933ab60b732aa6ed0618a5 8280 geoclue-hostip_0.11.1-6_amd64.deb
 693ca5db2eb2a1755c938fcfd1d06e58d1829e00 8618 geoclue-plazes_0.11.1-6_amd64.deb
 e5edac31d2229475129e9d26dfb7a1a3b4ad3fbb 9270 geoclue-gpsd_0.11.1-6_amd64.deb
 625637045ccd5d8a0d84a1d6c6ee747efb2c06c0 8694 
geoclue-geonames_0.11.1-6_amd64.deb
 d7697b253f2169ccb05692018a783256ed304642 8584 geoclue-gsmloc_0.11.1-6_amd64.deb
 31abbd1ae51f955ac50392314ba1197190581480 10738 
geoclue-localnet_0.11.1-6_amd64.deb
 00a023bce00981ecdfdf3767ed036a8f0eb84870 8074 geoclue-yahoo_0.11.1-6_amd64.deb
 0c6ce63e803d33689327a555c171351a38100497 13446 
geoclue-examples_0.11.1-6_amd64.deb
Checksums-Sha256: 
 c35666987543c5410171764a16e84788a71e8457b3f23b17fa31b955b5df4c6c 1576 
geoclue_0.11.1-6.dsc
 1c8fa154047f99f9550a89db774ab84b2d7d7f2693d36e38df11c1af882151a0 7513 
geoclue_0.11.1-6.diff.gz
 253654faa2debb873d5c39edeffc1efed65af6500db992ea7f184df5dfa385f5 20652 
geoclue_0.11.1-6_amd64.deb
 737a0a98da085bad059e10758abfb141edd77bf4de418cc131b12274f344d085 26550 
libgeoclue0_0.11.1-6_amd64.deb
 20a644c3c0cb554b46665a55a89bc816bc2838e5d81ce08887bc270efc5ce83e 86394 
libgeoclue-dev_0.11.1-6_amd64.deb
 7c5f711e98c15a7fddb542af53cd4bd9a57d4db693f540f7ae7c6eb8e0d36860 8936 
geoclue-manual_0.11.1-6_amd64.deb
 9441d900bca267f403d7345c26e7cf62f84306f80fa03bca503b4ccce1619c5f 8280 
geoclue-hostip_0.11.1-6_amd64.deb
 362bf2fde9e39afb92ff446521cbe7c4513fe65c315ff148cddcd9279bbde39f 8618 
geoclue-plazes_0.11.1-6_amd64.deb
 97a33d0e82947c0e11aa27aee30815f570baa8489dddc0415850d12be9196405 9270 
geoclue-gpsd_0.11.1-6_amd64.deb
 f38e814972c981183a0b905b56f9e11f7d1e01eb31c57362cc36eb43a20c042c 8694 
geoclue-geonames_0.11.1-6_amd64.deb
 e235258cc31c3217a54de83465124aa2390f38f483b398a1d0f426077b3999c9 8584 
geoclue-gsmloc_0.11.1-6_amd64.deb
 f4c93b33ecf92c7317698b2c599dfd4bad9628be58e29be006f62427d4f0d0d2 10738 
geoclue-localnet_0.11.1-6_amd64.deb
 a1bd01fd2669fed90594ebd273e934df1be9d7609727305abad3d3db17982872 8074 
geoclue-yahoo_0.11.1-6_amd64.deb
 97c3b074569b825d44402fd1278c79325fdd575f4175443609b510f4c0472fe0 13446 
geoclue-examples_0.11.1-6_amd64.deb
Files: 
 144c2fec80e8269876fcade664d22ec2 1576 utils optional geoclue_0.11.1-6.dsc
 7368004b3650e117d76d47c20e0ae647 7513 utils optional geoclue_0.11.1-6.diff.gz
 7871d46be83dfb9d925d8480a5ccf802 20652 utils optional 
geoclue_0.11.1-6_amd64.deb
 c725728e296a007d35105fd748f39667 26550 libs optional 
libgeoclue0_0.11.1-6_amd64.deb
 ef0ab9b2782d1f60c7b6ec4bd3065898 86394 libdevel optional 
libgeoclue-dev_0.11.1-6_amd64.deb
 51f2c771cd95506f74f9a3c8d1c555a3 8936 doc optional 
geoclue-manual_0.11.1-6_amd64.deb
 814dc63ec3a07d0d26ab2ad0ae4ceac8 8280 utils optional 
geoclue-hostip_0.11.1-6_amd64.deb
 983dbc0e9b5ced496397c060b4949f18 8618 utils optional 
geoclue-plazes_0.11.1-6_amd64.deb
 f64737af67823649509e30331b00440a 9270 utils optional 
geoclue-gpsd_0.11.1-6_amd64.deb
 96fce17dfb77391d37820918c124af09 8694 utils optional 
geoclue-geonames_0.11.1-6_amd64.deb
 813a18de5a6f92c4af649b8a60a66bb9 8584 utils optional 
geoclue-gsmloc_0.11.1-6_amd64.deb
 6c36558438c69669357ec56616d65aed 10738 utils optional 
geoclue-localnet_0.11.1-6_amd64.deb
 ac0037d3bfb1ed0c2e8dd8c2b72e9b88 8074 utils optional 
geoclue-yahoo_0.11.1-6_amd64.deb
 910b2b2dc5289211a4c5d86c59f650fe 13446 devel optional 
geoclue-examples_0.11.1-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkrwgbcACgkQBnqtBMk7/3kSZwCfYLt/Q+9YaZMUVQ9moIMTNZX+
I48An2WV0pc44Uy8NEDSooaSbUPoOXlu
=aH2a
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to