From: Owen W. Taylor <otaylor@fishsoup.net>
Date: Mon, 4 Oct 2010 21:50:35 +0000 (-0400)
Subject: Fix introspection build for library renames
X-Git-Tag: EVINCE_2_91_1~17
X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=4d9b2a07e14d683911863edb330dd098b9ee51ae;p=evince.git

Fix introspection build for library renames

Use the new evdocument3 and evview3 names for the libraries when running
g-ir-scanner.

https://bugzilla.gnome.org/show_bug.cgi?id=631360
---

diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am
index 7ca7fc8c..43d03519 100644
--- a/libdocument/Makefile.am
+++ b/libdocument/Makefile.am
@@ -158,7 +158,7 @@ EvinceDocument-$(EV_API_VERSION).gir: libevdocument3.la Makefile $(INST_H_FILES)
 	--include=Gdk-2.0 \
 	--include=GdkPixbuf-2.0 \
 	--include=Gtk-2.0 \
-	--library=evdocument \
+	--library=evdocument3 \
 	--libtool="$(SAVED_LIBTOOL)" \
 	--output $@ \
 	--pkg evince-document-$(EV_API_VERSION) \
diff --git a/libview/Makefile.am b/libview/Makefile.am
index 5e116975..37435b42 100644
--- a/libview/Makefile.am
+++ b/libview/Makefile.am
@@ -131,7 +131,7 @@ EvinceView-$(EV_API_VERSION).gir: libevview3.la Makefile $(INST_H_FILES) $(filte
 	--include=GdkPixbuf-2.0 \
 	--include=Gtk-2.0 \
 	--include=EvinceDocument-$(EV_API_VERSION) \
-	--library=evview \
+	--library=evview3 \
 	--libtool="$(LIBTOOL)" \
 	--output $@ \
 	--pkg evince-document-$(EV_API_VERSION) \