[goffice] Make introspection stuff build when no libgoffice is installed.



commit 7c6f172a12b931ade14b454dfa5d24705aab7c7f
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sun Jul 22 21:30:02 2012 +0200

    Make introspection stuff build when no libgoffice is installed.

 ChangeLog           |    5 +++++
 goffice/Makefile.am |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e607116..1918943 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-22  Jean Brefort  <jean brefort normalesup org>
+
+	* goffice/Makefile.am: make introspection stuff build when no libgoffice
+	is installed.
+
 2012-07-21  Jean Brefort  <jean brefort normalesup org>
 
 	* goffice/component/go-component.c (go_component_stop_editing): do not
diff --git a/goffice/Makefile.am b/goffice/Makefile.am
index cf16e8c..d93dd7a 100644
--- a/goffice/Makefile.am
+++ b/goffice/Makefile.am
@@ -156,8 +156,8 @@ GOffice- GOFFICE_API_VER@.gir: $(INTROSPECTION_SCANNER)
 	    --libtool="$(LIBTOOL)" \
 	    --nsversion="@GOFFICE_API_VER@" \
 	    --output $@ \
-	    --pkg libgoffice- GOFFICE_API_VER@ \
 	    -I$(top_srcdir) \
+		$(GOFFICE_CFLAGS) \
 	    `perl -pe "s{^}{$(srcdir)/}" $(builddir)/list_of_sources`
 
 if HAVE_INTROSPECTION



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