[evince] Bump poppler requirements to 0.33.0
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Bump poppler requirements to 0.33.0
- Date: Tue, 2 Feb 2016 16:59:28 +0000 (UTC)
commit 5a4912bdbbf3c8000e77a093cf366276eeb56283
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Mon Feb 1 10:39:02 2016 -0800
Bump poppler requirements to 0.33.0
It is the newer poppler stable release. It has new API required
by Evince to handle annotations (since 0.26.0 at least), and it
has improvements that makes Evince work properly.
0.33.0 is old enough to keep poppler as sysdep in jhbuild.
https://bugzilla.gnome.org/show_bug.cgi?id=751322
backend/pdf/ev-poppler.cc | 4 ----
configure.ac | 7 +------
2 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index f3a6510..214094f 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -3508,11 +3508,7 @@ pdf_document_annotations_save_annotation (EvDocumentAnnotations *document_annota
poppler_rect.y2 = height - ev_rect.y1;
if (poppler_annot_markup_has_popup (markup))
-#ifdef HAVE_POPPLER_ANNOT_MARKUP_SET_POPUP_RECTANGLE
poppler_annot_markup_set_popup_rectangle (markup, &poppler_rect);
-#else
- poppler_annot_markup_set_popup (markup, &poppler_rect);
-#endif
else
poppler_annot_markup_set_popup (markup, &poppler_rect);
}
diff --git a/configure.ac b/configure.ac
index 6146250..e85e820 100644
--- a/configure.ac
+++ b/configure.ac
@@ -521,7 +521,7 @@ AC_ARG_ENABLE([pdf],
[enable_pdf=yes])
if test "x$enable_pdf" = "xyes"; then
- POPPLER_REQUIRED=0.24.0
+ POPPLER_REQUIRED=0.33.0
PKG_CHECK_MODULES(POPPLER, poppler-glib >= $POPPLER_REQUIRED libxml-2.0 >=
$LIBXML_REQUIRED,enable_pdf=yes,enable_pdf=no)
if test "x$enable_pdf" = "xyes"; then
@@ -534,11 +534,6 @@ if test "x$enable_pdf" = "xyes"; then
if test x$enable_cairo_ps = xyes; then
AC_DEFINE([HAVE_CAIRO_PS], [1], [defined if cairo-ps is available])
fi
-
- evince_save_LIBS=$LIBS
- LIBS="$LIBS $POPPLER_LIBS"
- AC_CHECK_FUNCS(poppler_annot_markup_set_popup_rectangle)
- LIBS=$evince_save_LIBS
else
AC_MSG_ERROR("PDF support is disabled since poppler-glib library version $POPPLER_REQUIRED or
newer not found")
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]