From cb40da4a9dcc0698819a702a126f354067180e22 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 23 Jan 2012 16:10:49 -0500 Subject: [PATCH] vala: Fix srcdir != builddir We need to look for the .metadata file in the source directory, otherwise we silently generate a binding with a namespace of "Tp", not "TelepathyGLib". https://bugs.freedesktop.org/show_bug.cgi?id=49802 --- vala/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/vala/Makefile.am b/vala/Makefile.am index faefefa..8076076 100644 --- a/vala/Makefile.am +++ b/vala/Makefile.am @@ -15,6 +15,7 @@ pkgconfigdir = ${libdir}/pkgconfig telepathy-glib.vapi: $(top_builddir)/telepathy-glib/TelepathyGLib-0.12.gir $(VAPIGEN_V)$(VAPIGEN) \ --library telepathy-glib \ + --metadatadir=$(top_srcdir)/telepathy-glib \ --pkg gio-2.0 \ $< \ $(NULL) -- 1.7.7.6