On Thu, 7 Apr 2011 10:47:04 +0300
Ozan Türkyılmaz <ozan.turkyil...@gmail.com> wrote:
> I think it tries to do a configure with GConf but fails as needed
> schemes did not installed.
2.30.3 is last working version, but it requires attached patch
to work.
2.32.0 can not be built even with complete gnome 2.32
WBR, Daniil Bratashov.
--- backend/pdf/ev-poppler.cc 2010-06-24 10:19:28.000000000 +0200
+++ backend/pdf/ev-poppler.cc 2011-02-02 10:46:54.000000000 +0100
@@ -1974,12 +1974,18 @@
EvRectangle *points)
{
PopplerPage *poppler_page;
- PopplerRectangle r;
- double height;
char *retval;
-
+
poppler_page = POPPLER_PAGE (rc->page->backend_page);
+#ifdef HAVE_POPPLER_PAGE_GET_SELECTED_TEXT
+ retval = poppler_page_get_selected_text (poppler_page,
+ (PopplerSelectionStyle)style,
+ (PopplerRectangle *)points);
+#else
+ PopplerRectangle r;
+ double height;
+
poppler_page_get_size (poppler_page, NULL, &height);
r.x1 = points->x1;
r.y1 = height - points->y2;
@@ -1989,6 +1995,7 @@
retval = poppler_page_get_text (poppler_page,
(PopplerSelectionStyle)style,
&r);
+#endif /* HAVE_POPPLER_PAGE_GET_SELECTED_TEXT */
return retval;
}
--- configure.ac
+++ configure.ac
@@ -493,9 +493,10 @@ if test "x$enable_pdf" = "xyes"; then
evince_save_LIBS=$LIBS
LIBS="$LIBS $POPPLER_LIBS"
AC_CHECK_FUNCS(poppler_page_render)
AC_CHECK_FUNCS(poppler_page_get_image)
AC_CHECK_FUNCS(poppler_annot_file_attachment_get_attachment)
+ AC_CHECK_FUNCS(poppler_page_get_selected_text)
LIBS=$evince_save_LIBS
PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)
if test x$enable_cairo_pdf = xyes; then
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/