aboutsummaryrefslogtreecommitdiff
path: root/libs/vips/patches/001-no_introspection.patch
diff options
context:
space:
mode:
authorW. Michael Petullo <mike@flyn.org>2018-01-13 18:10:13 -0500
committerW. Michael Petullo <mike@flyn.org>2018-01-13 18:10:13 -0500
commitd5f11b2cfc93091fa5791ca67a4519b398bfc5af (patch)
treec8ec9dc322521bcba2c0d0d3d94f663239a003dc /libs/vips/patches/001-no_introspection.patch
parenta5fdaeb52c4c28e21c9681f27e0f6bf440ad2a06 (diff)
vips: update to 8.6.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Diffstat (limited to 'libs/vips/patches/001-no_introspection.patch')
-rw-r--r--libs/vips/patches/001-no_introspection.patch73
1 files changed, 73 insertions, 0 deletions
diff --git a/libs/vips/patches/001-no_introspection.patch b/libs/vips/patches/001-no_introspection.patch
new file mode 100644
index 000000000..54db29200
--- /dev/null
+++ b/libs/vips/patches/001-no_introspection.patch
@@ -0,0 +1,73 @@
+diff -u --recursive vips-8.6.1-vanilla/configure.ac vips-8.6.1/configure.ac
+--- vips-8.6.1-vanilla/configure.ac 2018-01-13 17:27:19.375813474 -0500
++++ vips-8.6.1/configure.ac 2018-01-13 17:27:38.486871756 -0500
+@@ -53,9 +53,6 @@
+ AC_SUBST(LIBRARY_REVISION)
+ AC_SUBST(LIBRARY_AGE)
+
+-# init introspection support
+-GOBJECT_INTROSPECTION_CHECK([1.30.0])
+-
+ # gir needs a list of source files to scan for introspection
+ #
+ # build with a glob and a list of files to exclude from scanning
+diff -u --recursive vips-8.6.1-vanilla/libvips/Makefile.am vips-8.6.1/libvips/Makefile.am
+--- vips-8.6.1-vanilla/libvips/Makefile.am 2018-01-13 17:27:19.366813446 -0500
++++ vips-8.6.1/libvips/Makefile.am 2018-01-13 17:27:57.256929001 -0500
+@@ -70,56 +70,3 @@
+ echo "#define VIPS_SONAME \"$$dlname\"" >> soname.h && \
+ cp soname.h $(DESTDIR)$(pkgincludedir) && \
+ rm soname.h
+-
+--include $(INTROSPECTION_MAKEFILE)
+-INTROSPECTION_GIRS =
+-INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
+-INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+-
+-if HAVE_INTROSPECTION
+-
+-AM_CPPFLAGS = \
+- -I${top_srcdir}/libvips/include \
+- @VIPS_CFLAGS@ \
+- @VIPS_INCLUDES@ \
+- @INTROSPECTION_CFLAGS@
+-AM_LDFLAGS = \
+- @INTROSPECTION_LIBS@ \
+- @LDFLAGS@
+-LDADD = @INTROSPECTION_LIBS@ @VIPS_CFLAGS@ libvips.la @VIPS_LIBS@
+-
+-noinst_PROGRAMS = \
+- introspect
+-introspect_SOURCES = \
+- introspect.c
+-
+-# we can't get the _SOURCES lists from the subdirs directly, we get passed it
+-# by configure instead
+-introspection_sources = @vips_introspection_sources@
+-
+-# we make the vips8 API
+-Vips-8.0.gir: introspect
+-Vips_8_0_gir_INCLUDES = GObject-2.0
+-Vips_8_0_gir_CFLAGS = $(INCLUDES) -I${top_srcdir}/libvips/include
+-Vips_8_0_gir_LIBS = libvips.la
+-Vips_8_0_gir_FILES = $(introspection_sources)
+-INTROSPECTION_GIRS += Vips-8.0.gir
+-
+-# don't use
+-# --warn-all --verbose
+-# too annoying
+-Vips_8_0_gir_SCANNERFLAGS = \
+- --program=./introspect$(EXEEXT) \
+- --identifier-prefix=Vips \
+- --identifier-prefix=vips \
+- --symbol-prefix=vips \
+- --c-include=vips/vips.h
+-
+-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