[Libosinfo] [PATCH] build: Fix .vapi generation

Fabiano Fidêncio fidencio at redhat.com
Wed Jan 20 17:25:30 UTC 2016


On Wed, Jan 20, 2016 at 6:12 PM, Fabiano Fidêncio <fidencio at redhat.com> wrote:
> After a267020e272a generation of the .vapi file broke. It no longer has
> path_pattern property while get_path_pattern) is still there.
> Adding nodist_libosinfo_1_0_include_HEADERS to the list of the files
> passed to the .gir generation solves the problem.

Just would like to mention that the patch doesn't break VPATH build
neither "make distcheck"

> ---
>  osinfo/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am
> index 410a4c1..ddece61 100644
> --- a/osinfo/Makefile.am
> +++ b/osinfo/Makefile.am
> @@ -191,7 +191,7 @@ Libosinfo_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 libxml2-2.0
>  Libosinfo_1_0_gir_PACKAGES = gobject-2.0 gio-2.0 libxml-2.0 libxslt
>  Libosinfo_1_0_gir_EXPORT_PACKAGES = libosinfo-1.0
>  Libosinfo_1_0_gir_LIBS = libosinfo-1.0.la
> -Libosinfo_1_0_gir_FILES = $(libosinfo_1_0_include_HEADERS) $(libosinfo_1_0_la_SOURCES) $(nodist_libosinfo_1_0_la_SOURCES)
> +Libosinfo_1_0_gir_FILES = $(libosinfo_1_0_include_HEADERS) $(nodist_libosinfo_1_0_include_HEADERS) $(libosinfo_1_0_la_SOURCES) $(nodist_libosinfo_1_0_la_SOURCES)
>  Libosinfo_1_0_gir_CFLAGS = $(libosinfo_1_0_la_CFLAGS)
>  Libosinfo_1_0_gir_SCANNERFLAGS = --identifier-prefix=Osinfo --symbol-prefix=osinfo --c-include="osinfo/osinfo.h"
>  INTROSPECTION_GIRS += Libosinfo-1.0.gir
> --
> 2.5.0
>




More information about the Libosinfo mailing list