gir-repository r100 - in trunk: . gir
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gir-repository r100 - in trunk: . gir
- Date: Thu, 25 Sep 2008 19:39:38 +0000 (UTC)
Author: walters
Date: Thu Sep 25 19:39:38 2008
New Revision: 100
URL: http://svn.gnome.org/viewvc/gir-repository?rev=100&view=rev
Log:
Bug 553621: Add PopplerGLib
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/gir/Makefile.am
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Sep 25 19:39:38 2008
@@ -41,6 +41,11 @@
have_pango=true, have_pango=false)
AM_CONDITIONAL(BUILD_PANGO, $have_pango)
+dnl poppler
+PKG_CHECK_MODULES(POPPLER, poppler-glib >= 0.8,
+ have_poppler=true, have_poppler=false)
+AM_CONDITIONAL(BUILD_POPPLER, $have_poppler)
+
dnl gtk+
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 1.12.0,
have_gtk=true, have_gtk=false)
Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am (original)
+++ trunk/gir/Makefile.am Thu Sep 25 19:39:38 2008
@@ -152,6 +152,25 @@
BUILT_GIRSOURCES += PangoX.gir
endif
+#poppler
+if BUILD_POPPLER
+POPPLER_INCLUDEDIR=`pkg-config --variable=includedir poppler-glib`/poppler
+POPPLER_LIBDIR=`pkg-config --variable=libdir poppler-glib`
+PopplerGlib.gir: $(G_IR_SCANNER)
+ $(G_IR_SCANNER) -v --namespace PopplerGlib \
+ --include=GObject.gir \
+ --include=$(srcdir)/Pango.gir \
+ --include=$(srcdir)/Gdk.gir \
+ --include=$(srcdir)/cairo.gir \
+ --library=poppler-glib \
+ $(NOCLOSURE) \
+ --output $@ \
+ --pkg gobject-2.0 \
+ -I$(POPPLER_INCLUDEDIR) \
+ $(POPPLER_INCLUDEDIR)/glib/*.h
+BUILT_GIRSOURCES += PopplerGlib.gir
+endif
+
# atk
if BUILD_ATK
ATK_INCLUDEDIR=`pkg-config --variable=includedir atk`/atk-1.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]