Browse Source

xap/evince: Fixed bug in text selection.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
4673054a89
  1. 12
      xap/evince/evince-2.30.3-poppler.diff
  2. 2
      xap/evince/evince.SlackBuild

12
xap/evince/evince-2.30.3-poppler.diff

@ -1,9 +1,15 @@
diff -Naur evince-2.30.3.orig/backend/pdf/ev-poppler.cc evince-2.30.3/backend/pdf/ev-poppler.cc
--- evince-2.30.3.orig/backend/pdf/ev-poppler.cc 2010-06-24 10:19:28.000000000 +0200
+++ evince-2.30.3/backend/pdf/ev-poppler.cc 2011-05-02 13:44:13.041881785 +0200
@@ -1986,7 +1986,7 @@
+++ evince-2.30.3/backend/pdf/ev-poppler.cc 2011-05-25 16:48:02.010814626 +0200
@@ -1982,11 +1982,11 @@
poppler_page_get_size (poppler_page, NULL, &height);
r.x1 = points->x1;
- r.y1 = height - points->y2;
+ r.y1 = points->y1;
r.x2 = points->x2;
r.y2 = height - points->y1;
- r.y2 = height - points->y1;
+ r.y2 = points->y2;
- retval = poppler_page_get_text (poppler_page,
+ retval = poppler_page_get_selected_text (poppler_page,

2
xap/evince/evince.SlackBuild

@ -33,7 +33,7 @@ WGET=${WGET:-http://ftp.gnome.org/pub/GNOME/sources/evince/2.30/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-evince}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

Loading…
Cancel
Save