[gnome-maps] build: Fix libgfbgraph dependency



commit 38b3b453e7fb8d778df6e6e5b4b6eee9bc3b738b
Author: James Westman <james flyingpimonster net>
Date:   Tue Jun 16 18:59:12 2020 -0500

    build: Fix libgfbgraph dependency
    
    GFBGraph has been updated to 0.3, which caused Maps to fail with the error
    "Unsatisfied dependency: GFBGraph" if built with freshly downloaded
    dependencies. Fixed by updating the package requirement in main.js.
    
    Also added the dependency in Meson. This way, if it happens again in the
    future, we'll get a build error rather than a runtime error.

 meson.build | 3 ++-
 src/main.js | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index e1a9d003..00321237 100644
--- a/meson.build
+++ b/meson.build
@@ -37,7 +37,8 @@ libmaps_deps = [
        dependency('geocode-glib-1.0', version: '>= 3.15.2'),
        dependency('champlain-0.12', version: '>= 0.12.14'),
        dependency('libxml-2.0'),
-       dependency('rest-0.7', version: '>= 0.7.90')
+       dependency('rest-0.7', version: '>= 0.7.90'),
+       dependency('libgfbgraph-0.3')
 ]
 
 msgfmt = find_program('msgfmt')
diff --git a/src/main.js b/src/main.js
index d93f0408..5e74bed3 100644
--- a/src/main.js
+++ b/src/main.js
@@ -29,7 +29,7 @@ pkg.require({ 'cairo': '1.0',
               'GeocodeGlib': '1.0',
               'Gdk': '3.0',
               'GdkPixbuf': '2.0',
-              'GFBGraph': '0.2',
+              'GFBGraph': '0.3',
               'Gio': '2.0',
               'GLib': '2.0',
               'Goa': '1.0',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]