From: Aurélien Zanelli Date: Sat, 30 Apr 2016 16:20:00 +0000 (+0200) Subject: g-i: use only "ges/ges.h" as c-include for introspection X-Git-Tag: 1.19.3~493^2~1018 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4257605141268f61a3a92d566ea350d5bd0ac368;p=platform%2Fupstream%2Fgstreamer.git g-i: use only "ges/ges.h" as c-include for introspection This is the only header which shall be included by user. Otherwise some language using gir to generate binding, e.g Vala, will includes all headers files in alphabetical order which causes compilation errors due to incomplete type. https://bugzilla.gnome.org/show_bug.cgi?id=765856 --- diff --git a/ges/Makefile.am b/ges/Makefile.am index 23e3f78..b71704f 100644 --- a/ges/Makefile.am +++ b/ges/Makefile.am @@ -176,7 +176,6 @@ BUILT_GIRSOURCES = GES-@GST_API_VERSION@.gir gir_headers=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@include_HEADERS)) gir_sources=$(patsubst %,$(srcdir)/%, $(libges_@GST_API_VERSION@_la_SOURCES)) -gir_cincludes=$(patsubst %,--c-include='ges/%',$(libges_@GST_API_VERSION@include_HEADERS)) GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ @@ -185,7 +184,7 @@ GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la --identifier-prefix=GES \ --symbol-prefix=ges \ --warn-all \ - $(gir_cincludes) \ + --c-include='ges/ges.h' \ -I$(top_srcdir) \ -I$(top_builddir) \ --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \