[introspection] Enable gobject-introspection again

This commit is contained in:
Behdad Esfahbod 2013-08-22 19:03:21 -04:00
parent 757a7a9018
commit 23027f7611
2 changed files with 32 additions and 24 deletions

View File

@ -52,7 +52,7 @@ m4_define([hb_libtool_current],
HB_LIBTOOL_VERSION_INFO=hb_libtool_current:hb_libtool_revision:hb_libtool_age HB_LIBTOOL_VERSION_INFO=hb_libtool_current:hb_libtool_revision:hb_libtool_age
AC_SUBST(HB_LIBTOOL_VERSION_INFO) AC_SUBST(HB_LIBTOOL_VERSION_INFO)
dnl GOBJECT_INTROSPECTION_CHECK([0.9.0]) GOBJECT_INTROSPECTION_CHECK([1.32.0])
GTK_DOC_CHECK([1.15],[--flavour no-tmpl]) GTK_DOC_CHECK([1.15],[--flavour no-tmpl])
# Functions and headers # Functions and headers
@ -409,6 +409,7 @@ Test / platform shapers (not normally needed):
Old HarfBuzz: ${have_hb_old} Old HarfBuzz: ${have_hb_old}
Uniscribe: ${have_uniscribe} Uniscribe: ${have_uniscribe}
Documentation: Other features:
Referece docs: ${enable_gtk_doc} Documentation: ${enable_gtk_doc}
Introspection: ${found_introspection}
]) ])

View File

@ -353,26 +353,33 @@ TESTS_ENVIRONMENT = \
HBHEADERS="$(HBHEADERS) $(HBNODISTHEADERS)" \ HBHEADERS="$(HBHEADERS) $(HBNODISTHEADERS)" \
$(NULL) $(NULL)
#-include $(INTROSPECTION_MAKEFILE) -include $(INTROSPECTION_MAKEFILE)
#INTROSPECTION_GIRS = hb-1.0.gir INTROSPECTION_GIRS = harfbuzz-$(HB_VERSION_MAJOR).0.gir # What does the 0 mean anyway?!
#INTROSPECTION_SCANNER_ARGS = -I$(srcdir) -n hb --identifier-prefix=hb_ INTROSPECTION_SCANNER_ARGS = -I$(srcdir) -n hb --identifier-prefix=hb_ --warn-all
#INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
#
#if HAVE_INTROSPECTION if HAVE_INTROSPECTION
#
#hb-1.0.gir: libharfbuzz.la harfbuzz-0.0.gir: libharfbuzz.la
#hb_1_0_gir_INCLUDES = GObject-2.0 harfbuzz_0_0_gir_INCLUDES = GObject-2.0
#hb_1_0_gir_CFLAGS = $(INCLUDES) $(HBCFLAGS) -DHB_H -DHB_H_IN -DHB_OT_H -DHB_OT_H_IN harfbuzz_0_0_gir_CFLAGS = \
#hb_1_0_gir_LIBS = libharfbuzz.la $(INCLUDES) \
#hb_1_0_gir_FILES = $(HBHEADERS) $(HBNODISTHEADERS) $(HBCFLAGS) \
# -DHB_H \
#girdir = $(datadir)/gir-1.0 -DHB_H_IN \
#gir_DATA = $(INTROSPECTION_GIRS) -DHB_OT_H \
# -DHB_OT_H_IN \
#typelibdir = $(libdir)/girepository-1.0 $(NULL)
#typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) harfbuzz_0_0_gir_LIBS = libharfbuzz.la
# harfbuzz_0_0_gir_FILES = $(HBHEADERS) $(HBNODISTHEADERS)
#CLEANFILES += $(gir_DATA) $(typelib_DATA)
#endif girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
typelibdir = $(libdir)/girepository-1.0
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
-include $(top_srcdir)/git.mk -include $(top_srcdir)/git.mk