[evince] Libview: fix first time introspection generation
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Libview: fix first time introspection generation
- Date: Fri, 6 Jul 2012 16:46:37 +0000 (UTC)
commit a0be53792f0c54fbd8da106fa9e8b59c570c74ae
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Thu Jul 5 15:51:36 2012 +0200
Libview: fix first time introspection generation
Generating EvinceView was relying on an already installed
evince-document pkgconfig file. Fix it by looking at uninstalled
data.
https://bugzilla.gnome.org/show_bug.cgi?id=678971
libview/Makefile.am | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/libview/Makefile.am b/libview/Makefile.am
index 7392658..c187ab8 100644
--- a/libview/Makefile.am
+++ b/libview/Makefile.am
@@ -131,15 +131,18 @@ EvinceView_ EV_API_VERSION_U@_gir_FILES = \
$(INST_H_SRC_FILES) \
$(INST_H_BUILT_FILES) \
$(filter %.c,$(libevview3_la_SOURCES))
-EvinceView_ EV_API_VERSION_U@_gir_INCLUDES = GLib-2.0 GObject-2.0 Gio-2.0 Gdk-3.0 GdkPixbuf-2.0 Gtk-3.0 EvinceDocument-$(EV_API_VERSION)
+EvinceView_ EV_API_VERSION_U@_gir_INCLUDES = GLib-2.0 GObject-2.0 Gio-2.0 Gdk-3.0 GdkPixbuf-2.0 Gtk-3.0
EvinceView_ EV_API_VERSION_U@_gir_LIBS = libevview3.la
EvinceView_ EV_API_VERSION_U@_gir_CFLAGS = \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- -DEVINCE_COMPILATION
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ -I$(top_srcdir)/libdocument \
+ -I$(top_builddir)/libdocument \
+ -DEVINCE_COMPILATION
EvinceView_ EV_API_VERSION_U@_gir_EXPORT_PACKAGES = evince-view-$(EV_API_VERSION)
EvinceView_ EV_API_VERSION_U@_gir_SCANNERFLAGS = \
--add-include-path=$(top_builddir)/libdocument \
+ --include-uninstalled=$(top_builddir)/libdocument/EvinceDocument-$(EV_API_VERSION).gir \
--identifier-prefix=Ev \
--symbol-prefix=ev
INTROSPECTION_GIRS = EvinceView-$(EV_API_VERSION).gir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]