[csw-devel] SF.net SVN: gar:[21540] csw/mgar/pkg/evince/trunk/files
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Tue Jul 23 14:36:23 CEST 2013
Revision: 21540
http://gar.svn.sourceforge.net/gar/?rev=21540&view=rev
Author: cgrzemba
Date: 2013-07-23 12:36:21 +0000 (Tue, 23 Jul 2013)
Log Message:
-----------
evince/trunk: fix poppler api 2nd attempt
Added Paths:
-----------
csw/mgar/pkg/evince/trunk/files/0002-poppler-api-changed.patch
Removed Paths:
-------------
csw/mgar/pkg/evince/trunk/files/0002-poppler-api-changed.patch
Deleted: csw/mgar/pkg/evince/trunk/files/0002-poppler-api-changed.patch
===================================================================
--- csw/mgar/pkg/evince/trunk/files/0002-poppler-api-changed.patch 2013-07-23 09:20:33 UTC (rev 21539)
+++ csw/mgar/pkg/evince/trunk/files/0002-poppler-api-changed.patch 2013-07-23 12:36:21 UTC (rev 21540)
@@ -1,11 +0,0 @@
---- a/backend/pdf/ev-poppler.cc
-+++ b/backend/pdf/ev-poppler.cc
-@@ -1986,7 +1986,7 @@ pdf_selection_get_selected_text (EvSelection *selection,
- r.x2 = points->x2;
- r.y2 = height - points->y1;
-
-- retval = poppler_page_get_text (poppler_page,
-+ retval = poppler_page_get_selected_text (poppler_page,
- (PopplerSelectionStyle)style,
- &r);
-
Added: csw/mgar/pkg/evince/trunk/files/0002-poppler-api-changed.patch
===================================================================
--- csw/mgar/pkg/evince/trunk/files/0002-poppler-api-changed.patch (rev 0)
+++ csw/mgar/pkg/evince/trunk/files/0002-poppler-api-changed.patch 2013-07-23 12:36:21 UTC (rev 21540)
@@ -0,0 +1,39 @@
+From c7c832fdb52b64d32e2554daf52f8834b906fc7f Mon Sep 17 00:00:00 2001
+From: Carsten Grzemba <cgrzemba at opencsw.org>
+Date: Tue, 23 Jul 2013 14:31:15 +0200
+Subject: [PATCH] poppler api changed
+
+---
+ backend/pdf/ev-poppler.cc | 11 +----------
+ 1 file changed, 1 insertion(+), 10 deletions(-)
+
+diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
+index fef0738..671d39b 100644
+--- a/backend/pdf/ev-poppler.cc
++++ b/backend/pdf/ev-poppler.cc
+@@ -1974,21 +1974,12 @@ pdf_selection_get_selected_text (EvSelection *selection,
+ EvRectangle *points)
+ {
+ PopplerPage *poppler_page;
+- PopplerRectangle r;
+- double height;
+ char *retval;
+
+ poppler_page = POPPLER_PAGE (rc->page->backend_page);
+-
+- poppler_page_get_size (poppler_page, NULL, &height);
+- r.x1 = points->x1;
+- r.y1 = height - points->y2;
+- r.x2 = points->x2;
+- r.y2 = height - points->y1;
+-
+ retval = poppler_page_get_text (poppler_page,
+ (PopplerSelectionStyle)style,
+- &r);
++ (PopplerRectangle *)points);
+
+ return retval;
+ }
+--
+1.8.3.1
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list