summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2012-01-23 23:44:33 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2012-01-24 02:01:27 +0100
commitc4ac4ca2bfdd01feb5049a83be781fab14bb7050 (patch)
tree697a16af8d223ed26fc15433ef9c0de63eae713a
parenta43aea896653d6c092b05dcb5a805548ec61ebb5 (diff)
build: fix vapigen error and warnings
Thanks to Jeremy Bicha for the bug report and testing solution. https://bugs.freedesktop.org/show_bug.cgi?id=45154
-rw-r--r--vapi/Makefile.am5
-rw-r--r--vapi/SpiceClientGLib-2.0.metadata1
2 files changed, 5 insertions, 1 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index ccb5b65..e19aefc 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -15,11 +15,14 @@ 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) \
+ --metadatadir=$(srcdir) \
--library spice-client-glib-2.0 \
+ --pkg gio-2.0 \
$<
spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi: $(top_builddir)/gtk/SpiceClientGtk-$(SPICE_GTK_API_VERSION).gir spice-client-glib-2.0.vapi
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