On 09/03/2018 10:30 AM, Eduardo Lima (Etrunko) wrote: > On 09/03/2018 09:46 AM, Frediano Ziglio wrote: >> If gir files are not installed generate_vapi is not able to >> find generated gir files, so look also in src generated files. >> >> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> >> --- >> vapi/meson.build | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/vapi/meson.build b/vapi/meson.build >> index 4737715..de9adb9 100644 >> --- a/vapi/meson.build >> +++ b/vapi/meson.build >> @@ -7,6 +7,7 @@ if spice_gtk_has_vala >> gnome.generate_vapi('spice-client-gtk-3.0', >> install : true, >> packages : ['gtk+-3.0', 'spice-client-glib-2.0'], >> + gir_dirs : join_paths(meson.build_root(), 'src'), > > Have you tried meson.current_build_dir() instead of join_paths() ? Oops, I overlooked this one, this is about vala, and I thought it had to do with the introspection. > > >> vapi_dirs : meson.current_build_dir(), >> sources : spice_client_gtk_gir[0]) >> endif >> > > -- Eduardo de Barros Lima (Etrunko) Software Engineer - RedHat etrunko@xxxxxxxxxx _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel