Re: [PATCH spice-gtk 2/2] build: Fix VAPI include directory

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

 



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() ?


>                          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




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]