[gjs: 6/7] build: Bump gobject-introspection requirement to 1.61.2



commit 7830663dede22ccd565669f9019adca259dccdaa
Author: Philip Chimento <philip chimento gmail com>
Date:   Thu Sep 5 23:02:21 2019 -0700

    build: Bump gobject-introspection requirement to 1.61.2
    
    Porting to Meson exposed a bug in the gobject-introspection test file
    warnlib.c, which is installed but includes config.h. This bug was fixed
    in gobject-introspection 1.61.2.
    
    The bug was hidden by the autotools build, which just tacks the same
    include directories onto everything that's compiled, so it erroneously
    picked up GJS's config.h.

 configure.ac | 2 +-
 meson.build  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4b3b510d..e3a807eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,7 +63,7 @@ AX_VALGRIND_CHECK
 # Checks for libraries.
 m4_define(glib_required_version, 2.58.0)
 
-GOBJECT_INTROSPECTION_REQUIRE([1.41.4])
+GOBJECT_INTROSPECTION_REQUIRE([1.61.2])
 
 GLIB_REQUIREMENT="glib-2.0 >= glib_required_version"
 GOBJECT_REQUIREMENT="gobject-2.0 >= glib_required_version"
diff --git a/meson.build b/meson.build
index c4c8fb05..16c86f5d 100644
--- a/meson.build
+++ b/meson.build
@@ -88,7 +88,7 @@ gobject = dependency('gobject-2.0', version: glib_required_version,
 gio = dependency('gio-2.0', version: glib_required_version,
     fallback: ['glib', 'libgio_dep'])
 ffi = dependency('libffi', fallback: ['libffi', 'ffi_dep'])
-gi = dependency('gobject-introspection-1.0', version: '>= 1.41.4',
+gi = dependency('gobject-introspection-1.0', version: '>= 1.61.2',
     fallback: ['gobject-introspection', 'girepo_dep'])
 spidermonkey = dependency('mozjs-60')
 cairo = dependency('cairo', required: get_option('cairo'))


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