[Pkg-osm-maint] Bug#745860: osm-gps-map: Does not display OpenStreetMap tiles
Gordon JC Pearce
gordonjcp at gjcp.net
Fri Apr 25 21:03:16 UTC 2014
Justification: renders package unusable
osm-gps-map doesn't show OSM tiles. This is because of a policy change within OSM that requires clients to have a "true" User-Agent string. osm-gps-map 0.7.3 reports itself to be some form of Mozilla, which has been blocked by the tileservers.
The fix is to change line 146 of src/osm-gps-map-widget.c from:
#define USER_AGENT "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/20071127 Firefox/184.108.40.206"
#define USER_AGENT "libosmgpsmap/0.7.3"
and recompile. Unfortunately in compiling using standard dpkg-buildpkg scripts I run into other problems related to GIR, which I cannot resolve.
This problem shows up on Ubuntu 12.04 and onwards, which apparently use their own build of the Debian packages without any changes.
More information about the Pkg-osm-maint