epiphany/epiphany-fix-introspection-build.patch

33 lines
1.3 KiB
Diff

commit 78b9eac0fca36e27c83c7678b18962ba286f041b
Author: Vincent Untz <vuntz@gnome.org>
Date: Fri Oct 1 18:36:23 2010 +0200
introspection: Fix build by telling g-ir-scanner what the prefix is
https://bugzilla.gnome.org/show_bug.cgi?id=631119
Index: epiphany-2.30.6/src/Makefile.am
===================================================================
--- epiphany-2.30.6.orig/src/Makefile.am
+++ epiphany-2.30.6/src/Makefile.am
@@ -350,6 +350,7 @@ Epiphany-$(EPIPHANY_API_VERSION).gir: $(
--include=WebKit-1.0 \
--program=./epiphany \
--output $@ \
+ --strip-prefix=Ephy \
--pkg epiphany-$(EPIPHANY_API_VERSION) \
-DEPIPHANY_COMPILATION \
-I$(top_srcdir)/embed \
Index: epiphany-2.30.6/src/Makefile.in
===================================================================
--- epiphany-2.30.6.orig/src/Makefile.in
+++ epiphany-2.30.6/src/Makefile.in
@@ -1594,6 +1594,7 @@ stamp-ephy-dbus-client-bindings.h: $(top
@HAVE_INTROSPECTION_TRUE@ --include=WebKit-1.0 \
@HAVE_INTROSPECTION_TRUE@ --program=./epiphany \
@HAVE_INTROSPECTION_TRUE@ --output $@ \
+@HAVE_INTROSPECTION_TRUE@ --strip-prefix=Ephy \
@HAVE_INTROSPECTION_TRUE@ --pkg epiphany-$(EPIPHANY_API_VERSION) \
@HAVE_INTROSPECTION_TRUE@ -DEPIPHANY_COMPILATION \
@HAVE_INTROSPECTION_TRUE@ -I$(top_srcdir)/embed \