[tracker-miners] extract/pdf: fix poppler-glib header name
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] extract/pdf: fix poppler-glib header name
- Date: Thu, 21 Jun 2018 22:07:02 +0000 (UTC)
commit 4b734ab3463b83122f7002ec966dacb21c2ab67d
Author: Jan Tojnar <jtojnar gmail com>
Date: Thu Apr 26 12:37:51 2018 +0200
extract/pdf: fix poppler-glib header name
The extractor was trying to include <glib/poppler.h> but poppler-glib.pc
contains the following:
Cflags: -I${includedir}/poppler/glib
This resulted in the header not being found on NixOS.
This patch switches to the correct header name, congruent with the
documentation:
https://people.freedesktop.org/~ajohnson/docs/poppler-glib/PopplerDocument.html#PopplerDocument.includes
https://bugzilla.gnome.org/show_bug.cgi?id=795573
src/tracker-extract/tracker-extract-pdf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker-extract/tracker-extract-pdf.c b/src/tracker-extract/tracker-extract-pdf.c
index 59669cce5..55aad9ea2 100644
--- a/src/tracker-extract/tracker-extract-pdf.c
+++ b/src/tracker-extract/tracker-extract-pdf.c
@@ -35,7 +35,7 @@
#include <glib.h>
#include <glib/gstdio.h>
-#include <glib/poppler.h>
+#include <poppler.h>
#include <gio/gunixoutputstream.h>
#include <gio/gunixinputstream.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]