]> err.no Git - libchamplain/commitdiff
Fix GObject-introspection
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Mon, 19 Oct 2009 05:03:21 +0000 (01:03 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Mon, 19 Oct 2009 05:03:21 +0000 (01:03 -0400)
It probably never really worked before

NEWS
champlain-gtk/Makefile.am
champlain/Makefile.am

diff --git a/NEWS b/NEWS
index 920abfdf05ead6844c9cfc4fe0658a3a2eb5596c..fdff99f704f70cbebcf00c675e6641685277eb3a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,7 @@ libchamplain 0.4.1 (2009-10-18)
 ===============================
 
 Stable release
-Python and Perl bindings are in a working state.
+GObject-introspection, Python and Perl bindings are in a working state.
 
 Enhancements:
 
index 9e2a5c332ccb886677b4ae7bfc2ff69af3f64069..0cfd454ad3ad737225e08c45593fe6eac70c97cf 100644 (file)
@@ -43,9 +43,13 @@ GtkChamplain-0.4.gir: $(INTROSPECTION_SCANNER) libchamplain-gtk-0.4.la
        $(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
        --namespace GtkChamplain --nsversion=0.4 \
        --strip-prefix=GtkChamplain \
-       $(INCLUDES) \
-       --add-include-path=$(srcdir) --add-include=path=. \
+       $(GTK_DEPS_CFLAGS) \
+       $(SOUP_CFLAGS) \
+       -I$(top_srcdir)                 \
+       -DCHAMPLAIN_COMPILATION         \
+       --add-include-path=$(builddir) \
        --c-include="$(libchamplain_include_HEADERS)" \
+       --include=Champlain-0.4 \
        --include=Clutter-1.0 \
        --include=Gtk-2.0 \
        --library=champlain-gtk-0.4 \
@@ -53,7 +57,8 @@ GtkChamplain-0.4.gir: $(INTROSPECTION_SCANNER) libchamplain-gtk-0.4.la
        --output $@ \
        --pkg gobject-2.0 \
        --pkg gtk+-2.0 \
-       $(libchamplain_gtk_0_4_la_SOURCES) $(libchamplain_include_HEADERS)
+       $(addprefix $(srcdir)/,$(libchamplain_gtk_0_4_la_SOURCES)) \
+       $(addprefix $(srcdir)/,$(libchamplain_include_HEADERS))
 
 BUILT_GIRSOURCES += GtkChamplain-0.4.gir
 
index 4ac1cfef42d4e771e3d936b0e75a25337fa6884b..ae0cc02eefb8cd68c20618536a3db4d3146e2ba1 100644 (file)
@@ -164,8 +164,12 @@ Champlain-0.4.gir: $(INTROSPECTION_SCANNER) libchamplain-0.4.la
        $(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
        --namespace Champlain --nsversion=0.4 \
        --strip-prefix=Champlain \
-       $(INCLUDES) \
-       --add-include-path=$(srcdir) --add-include=path=. \
+       $(DEPS_CFLAGS) \
+       $(SOUP_CFLAGS) \
+       -I$(top_srcdir)/tidy            \
+       -I$(top_srcdir)                 \
+       -DCHAMPLAIN_COMPILATION         \
+       --add-include-path=$(builddir) \
        --c-include="$(libchamplain_include_HEADERS)" \
        --include=Clutter-1.0 \
        --include=Gtk-2.0 \
@@ -174,7 +178,8 @@ Champlain-0.4.gir: $(INTROSPECTION_SCANNER) libchamplain-0.4.la
        --output $@ \
        --pkg gobject-2.0 \
        --pkg gtk+-2.0 \
-       $(libchamplain_0_4_la_SOURCES) $(libchamplain_include_HEADERS)
+       $(addprefix $(srcdir)/,$(libchamplain_0_4_la_SOURCES)) \
+       $(addprefix $(srcdir)/,$(libchamplain_include_HEADERS))
 
 BUILT_GIRSOURCES += Champlain-0.4.gir