From ca1130be5767ebd589982b3df3279e5b61fcd55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 23 Jan 2012 23:44:33 +0100 Subject: [PATCH spice-gtk] build: fix vapigen error and warnings https://bugs.freedesktop.org/show_bug.cgi?id=45154 --- vapi/Makefile.am | 5 ++++- vapi/SpiceClientGLib-2.0.metadata | 1 + 2 files changed, 5 insertions(+), 1 deletions(-) create mode 100644 vapi/SpiceClientGLib-2.0.metadata diff --git a/vapi/Makefile.am b/vapi/Makefile.am index ccb5b65..b3fb2c1 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -15,11 +15,13 @@ BUILT_SOURCES = $(vapi_DATA) EXTRA_DIST = \ spice-client-gtk-2.0.deps \ spice-client-gtk-3.0.deps \ + SpiceClientGLib-2.0.metadata \ $(NULL) -spice-client-glib-2.0.vapi: $(top_builddir)/gtk/SpiceClientGLib-2.0.gir +spice-client-glib-2.0.vapi: $(top_builddir)/gtk/SpiceClientGLib-2.0.gir SpiceClientGLib-2.0.metadata $(AM_V_GEN)$(VAPIGEN) \ --library spice-client-glib-2.0 \ + --metadatadir=$(srcdir) \ $< spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi: $(top_builddir)/gtk/SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir spice-client-glib-2.0.vapi @@ -27,6 +29,7 @@ spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi: $(top_builddir)/gtk/SpiceClientG --vapidir=$(builddir) \ --girdir=$(top_builddir)/gtk \ --pkg spice-client-glib-2.0 \ + --pkg gio-2.0 \ --pkg gtk+-$(GTK_API_VERSION) \ --library spice-client-gtk-$(SPICE_GTK_API_VERSION) \ $< diff --git a/vapi/SpiceClientGLib-2.0.metadata b/vapi/SpiceClientGLib-2.0.metadata new file mode 100644 index 0000000..acb7f57 --- /dev/null +++ b/vapi/SpiceClientGLib-2.0.metadata @@ -0,0 +1 @@ +Channel.open_fd#virtual_method skip -- 1.7.7.5