[gnome-contacts] Fix build failures with vala <0.54



commit dd49ab586158a6298134cea42df64581586d3747
Author: Jay Faulkner <jay jvf cc>
Date:   Sat Apr 16 18:12:53 2022 -0700

    Fix build failures with vala <0.54
    
    gnome-contacts 42.0 fails to build with earlier versions of vala
    with "error: `GLib.GenericArray<Contacts.VcardTypeMapping?>'
    does not have an `iterator' method".
    
    See https://bugs.gentoo.org/838727 for additional information.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 75cbdde9..82a86b24 100644
--- a/meson.build
+++ b/meson.build
@@ -33,7 +33,7 @@ min_folks_version = '0.14'
 min_glib_version = '2.58' # We also use this value for --target-glib, so scratch the micro version.
 
 # We know that compiling on a lower version doesn't work
-min_vala_version = '0.40.10'
+min_vala_version = '0.54.0'
 if valac.version().version_compare('<' + min_vala_version)
   error('Your Vala installation is too old (@0@).'.format(valac.version())
       + ' Please make sure you have at least Vala ' + min_vala_version)


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