* [gentoo-commits] gentoo-x86 commit in app-misc/tracker/files: tracker-0.8.17-poppler-0.16.patch
@ 2011-01-28 12:08 Pacho Ramos (pacho)
0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2011-01-28 12:08 UTC (permalink / raw
To: gentoo-commits
pacho 11/01/28 12:08:28
Added: tracker-0.8.17-poppler-0.16.patch
Log:
Fix build against poppler-0.16 with PLD linux patch (bug #349921).
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Revision Changes Path
1.1 app-misc/tracker/files/tracker-0.8.17-poppler-0.16.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/files/tracker-0.8.17-poppler-0.16.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tracker/files/tracker-0.8.17-poppler-0.16.patch?rev=1.1&content-type=text/plain
Index: tracker-0.8.17-poppler-0.16.patch
===================================================================
--- tracker-0.8.17/configure.ac~ 2010-09-02 16:26:20.000000000 +0200
+++ tracker-0.8.17/configure.ac 2010-12-29 11:51:10.848878668 +0100
@@ -1150,6 +1150,11 @@
[enable_poppler_glib=auto])
if test "x$enable_poppler_glib" != "xno" ; then
+ PKG_CHECK_EXISTS([poppler-glib >= 0.16], [have_poppler_0_16_0=yes])
+ if test "x$have_poppler_0_16_0" = "xyes"; then
+ AC_DEFINE([HAVE_POPPLER_0_16_0], [1], [Define to 1 if you have Poppler version 0.16.0 or higher.])
+ fi
+
PKG_CHECK_MODULES(POPPLER_GLIB,
[poppler-glib >= $POPPLER_GLIB_REQUIRED],
[have_poppler_glib=yes],
--- tracker-0.8.17/src/tracker-extract/tracker-extract-pdf.c~ 2010-09-02 14:51:00.000000000 +0200
+++ tracker-0.8.17/src/tracker-extract/tracker-extract-pdf.c 2010-12-29 11:55:36.165545335 +0100
@@ -243,7 +243,11 @@
rect.x1 = rect.y1 = 0;
poppler_page_get_size (page, &rect.x2, &rect.y2);
+#if defined (HAVE_POPPLER_0_16_0)
+ text = poppler_page_get_selected_text (page, POPPLER_SELECTION_WORD, &rect);
+#else
text = poppler_page_get_text (page, POPPLER_SELECTION_WORD, &rect);
+#endif
t = tracker_text_normalize (text, n_words - words, &normalized_words);
words += normalized_words;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-28 12:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 12:08 [gentoo-commits] gentoo-x86 commit in app-misc/tracker/files: tracker-0.8.17-poppler-0.16.patch Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox