[epiphany] Use gobject-introspection 0.9.5 syntax



commit 2d67545a24df8c486588043ab43c5af322251ab5
Author: Xan Lopez <xan gnome org>
Date:   Mon Oct 4 18:36:24 2010 +0900

    Use gobject-introspection 0.9.5 syntax

 configure.ac    |    2 +-
 src/Makefile.am |   10 ++++++----
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ab4f745..16166e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -212,7 +212,7 @@ EPIPHANY_FEATURES=
 # GObject Introspection
 # *********************
 
-GOBJECT_INTROSPECTION_CHECK([0.6.7])
+GOBJECT_INTROSPECTION_CHECK([0.9.5])
 
 if test "$found_introspection" = "yes"; then
   EPIPHANY_FEATURES="$EPIPHANY_FEATURES introspection"
diff --git a/src/Makefile.am b/src/Makefile.am
index 9906cff..50e0abf 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -336,8 +336,10 @@ EPHY_GIR_C_FILES = \
 Epiphany-$(EPIPHANY_API_VERSION).gir: $(INTROSPECTION_SCANNER) $(EPHY_GIR_H_FILES) \
                                       $(EPHY_GIR_C_FILES) epiphany
 	$(AM_V_GEN) PKG_CONFIG_PATH=$(top_builddir)/data:$$PKG_CONFIG_PATH \
-	$(INTROSPECTION_SCANNER) -v \
-		--namespace Epiphany \
+	$(INTROSPECTION_SCANNER) -v --warn-all \
+		--identifier-prefix=Ephy \
+		--symbol-prefix=ephy \
+		--namespace=Epiphany \
 		--nsversion=$(EPIPHANY_API_VERSION) \
 		--add-include-path=. \
 		--add-include-path=$(srcdir) \
@@ -345,8 +347,8 @@ Epiphany-$(EPIPHANY_API_VERSION).gir: $(INTROSPECTION_SCANNER) $(EPHY_GIR_H_FILE
 		--include=libxml2-2.0 \
 		--include=WebKit-3.0 \
 		--program=./epiphany \
-		--output $@ \
-		--pkg epiphany-$(EPIPHANY_API_VERSION) \
+		--output=$@ \
+		--pkg=epiphany-$(EPIPHANY_API_VERSION) \
 		-DEPIPHANY_COMPILATION \
 		-I$(top_srcdir)/embed \
 		-I$(top_srcdir)/lib \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]