GNOME Bugzilla – Bug 768443
gnome-contacts fails to compile with libchamplain from git
Last modified: 2016-08-01 22:13:39 UTC
gnome-contacts/src/contacts-address-map.vala:55:58: error: ‘CHAMPLAIN_MAP_SOURCE_OSM_MAPQUEST’ undeclared (first use in this function) This is due to this commit: https://git.gnome.org/browse/libchamplain/commit/?id=4ef6b1804a3e68fe993a16ef027eb40c097fefb6
This fixed it for me but I don't know if it is the correct thing: diff --git a/src/contacts-address-map.vala b/src/contacts-address-map.vala index c8a8167..491e1db 100644 --- a/src/contacts-address-map.vala +++ b/src/contacts-address-map.vala @@ -52,7 +52,7 @@ public class Contacts.AddressMap : Frame { map_grid.add (map); map_view = new Champlain.View (); - map_view.set_map_source (map_factory.create (MAP_SOURCE_OSM_MAPQUEST)); + map_view.set_map_source (map_factory.create (MAP_SOURCE_OSM_MAPNIK)); map_view.zoom_level = map_view.max_zoom_level - 2; map.get_stage ().add_child (map_view); I basically just replaced MAPQUEST with MAPNIK after looking at the first patch in bug 764841.
*** This bug has been marked as a duplicate of bug 769372 ***