You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.9 KiB

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -53,9 +53,6 @@ AC_SUBST(LIBRARY_CURRENT)
  4. AC_SUBST(LIBRARY_REVISION)
  5. AC_SUBST(LIBRARY_AGE)
  6. -# init introspection support
  7. -GOBJECT_INTROSPECTION_CHECK([1.30.0])
  8. -
  9. # gir needs a list of source files to scan for introspection
  10. #
  11. # build with a glob and a list of files to exclude from scanning
  12. --- a/libvips/Makefile.am
  13. +++ b/libvips/Makefile.am
  14. @@ -68,56 +68,3 @@ install-exec-hook:
  15. echo "#define VIPS_SONAME \"$$dlname\"" >> soname.h && \
  16. cp soname.h $(DESTDIR)$(pkgincludedir) && \
  17. rm soname.h
  18. -
  19. --include $(INTROSPECTION_MAKEFILE)
  20. -INTROSPECTION_GIRS =
  21. -INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
  22. -INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
  23. -
  24. -if HAVE_INTROSPECTION
  25. -
  26. -AM_CPPFLAGS = \
  27. - -I${top_srcdir}/libvips/include \
  28. - @VIPS_CFLAGS@ \
  29. - @VIPS_INCLUDES@ \
  30. - @INTROSPECTION_CFLAGS@
  31. -AM_LDFLAGS = \
  32. - @INTROSPECTION_LIBS@ \
  33. - @LDFLAGS@
  34. -LDADD = @INTROSPECTION_LIBS@ @VIPS_CFLAGS@ libvips.la @VIPS_LIBS@
  35. -
  36. -noinst_PROGRAMS = \
  37. - introspect
  38. -introspect_SOURCES = \
  39. - introspect.c
  40. -
  41. -# we can't get the _SOURCES lists from the subdirs directly, we get passed it
  42. -# by configure instead
  43. -introspection_sources = @vips_introspection_sources@
  44. -
  45. -# we make the vips8 API
  46. -Vips-8.0.gir: introspect
  47. -Vips_8_0_gir_INCLUDES = GObject-2.0
  48. -Vips_8_0_gir_CFLAGS = $(INCLUDES) -I${top_srcdir}/libvips/include
  49. -Vips_8_0_gir_LIBS = libvips.la
  50. -Vips_8_0_gir_FILES = $(introspection_sources)
  51. -INTROSPECTION_GIRS += Vips-8.0.gir
  52. -
  53. -# don't use
  54. -# --warn-all --verbose
  55. -# too annoying
  56. -Vips_8_0_gir_SCANNERFLAGS = \
  57. - --program=./introspect$(EXEEXT) \
  58. - --identifier-prefix=Vips \
  59. - --identifier-prefix=vips \
  60. - --symbol-prefix=vips \
  61. - --c-include=vips/vips.h
  62. -
  63. -girdir = $(datadir)/gir-1.0
  64. -gir_DATA = $(INTROSPECTION_GIRS)
  65. -
  66. -typelibdir = $(libdir)/girepository-1.0
  67. -typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
  68. -
  69. -CLEANFILES += $(gir_DATA) $(typelib_DATA)
  70. -endif