[grilo] bindings: add gmodule as link dependency



commit 59502f8a864229f084fdc5270c0349f332e9eb05
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Thu Sep 2 18:53:58 2010 +0200

    bindings: add gmodule as link dependency
    
    As the commit b23869 modifies the ABI exposing a GModule instance, so we need
    to communicate the new linkage dependency to the bindings.
    
    Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>

 bindings/vala/Makefile.am    |    3 ++-
 bindings/vala/grilo-0.1.deps |    1 +
 src/Makefile.am              |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/bindings/vala/Makefile.am b/bindings/vala/Makefile.am
index 5df4474..8df09f3 100644
--- a/bindings/vala/Makefile.am
+++ b/bindings/vala/Makefile.am
@@ -43,6 +43,7 @@ nsfiles_src = $(foreach target,$(targets_u),$(target).namespace.in)
 nsfiles = $(foreach target,$(targets_u),$(target).namespace)
 
 # "source" files for vapigen
+depsfiles = $(foreach target,$(targets),$(target).deps)
 gifiles = $(foreach target,$(targets),$(target).gi)
 metadatafiles = $(foreach target,$(targets),$(target).metadata)
 
@@ -65,6 +66,6 @@ endif
 
 all: $(vapifiles)
 
-EXTRA_DIST = $(filesfiles_src) $(nsfiles_src) $(metadatafiles) $(vapifiles)
+EXTRA_DIST = $(depsfiles) $(filesfiles_src) $(nsfiles_src) $(metadatafiles) $(vapifiles)
 CLEANFILES = $(gifiles)
 DISTCLEANFILES = $(vapifiles) $(filesfiles) $(nsfiles)
diff --git a/bindings/vala/grilo-0.1.deps b/bindings/vala/grilo-0.1.deps
new file mode 100644
index 0000000..13f9b50
--- /dev/null
+++ b/bindings/vala/grilo-0.1.deps
@@ -0,0 +1 @@
+gmodule-2.0
diff --git a/src/Makefile.am b/src/Makefile.am
index 0a1b563..1708025 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -94,7 +94,7 @@ introspection_sources = \
 	$(lib GRL_NAME@_la_SOURCES)
 
 Grl- GRL_MAJORMINOR@.gir: lib GRL_NAME@.la
-Grl_0_1_gir_INCLUDES = GObject-2.0
+Grl_0_1_gir_INCLUDES = GObject-2.0 GModule-2.0
 Grl_0_1_gir_CFLAGS = $(lib GRL_NAME@_la_CFLAGS)
 Grl_0_1_gir_LIBS = lib GRL_NAME@.la
 Grl_0_1_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))



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