After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768443 - gnome-contacts fails to compile with libchamplain from git
gnome-contacts fails to compile with libchamplain from git
Status: RESOLVED DUPLICATE of bug 769372
Product: gnome-contacts
Classification: Core
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-07-05 12:52 UTC by Hussam Al-Tayeb
Modified: 2016-08-01 22:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hussam Al-Tayeb 2016-07-05 12:52:23 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
Comment 1 Hussam Al-Tayeb 2016-07-05 14:10:09 UTC
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.
Comment 2 Hussam Al-Tayeb 2016-08-01 22:13:39 UTC

*** This bug has been marked as a duplicate of bug 769372 ***