Re: [core] bindings: add gmodule as link dependency
- From: Víctor M. Jáquez L. <vjaquez igalia com>
- To: grilo-list gnome org
- Subject: Re: [core] bindings: add gmodule as link dependency
- Date: Fri, 3 Sep 2010 16:27:07 +0200
On Thu, Sep 02, 2010 at 06:58:53PM +0200, Víctor Manuel Jáquez Leal wrote:
> As the commit "core: unload plugins properly by calling g_module_close when
> appropriate." modifies the ABI exposing a GModule instance, so we need to
> communicate the new linkage dependency to the bindings.
Oops! Iago, you forgot push this patch. I'll do it now, for now grilo has been
broke its introspection support
vmjl
>
> 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(-)
> create mode 100644 bindings/vala/grilo-0.1.deps
>
> 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]