[tex-k] libpoppler support in TeX Live source tree

Norbert Preining preining at logic.at
Tue May 5 17:59:20 CEST 2009

On Di, 05 Mai 2009, Peter Breitenlohner wrote:
> (1) before including any of that I'd like to have an OK from Jonathan (for
> xetex), Taco (for luatex), and Thanh (for pdftex).

Of course. I just sent it here that those three can take a look and
include it, or fix it, or whatever.

Let us hope they are listening.

I will need it anyway for Debian if it is not included now ;-)
And other dist builder will also profit from the patch.

> (2) the patch isn't quite what I want. I assume on your system you get
> 	pkg-config poppler --cflags => '-I/usr/include/poppler '


> and consequently the Makefile contains
> 	XPDF_INCLUDES = -I/usr/include/poppler -I/usr/include/poppler/goo
> where the second piece could even now go away. Thus, in
> luatexdir/image/pdftoepdf.cc, you ought to use
> 	#include <poppler-config.h>
> 	#include <goo/GooString.h>
> 	#include <goo/gmem.h>
> 	#include <goo/gfile.h>

Yes, that might be. But since I wasn't sure about the actual include
magic I did what works now.

Cleanups are much appreciated ;-)

> Moreover in the pdftex/luatex/xetex files I'd prefer
> 	#include <Object.h>
> instead of
> 	#include "Object.h"
> etc., but that might be an independent changeset.

FIne with me, but I think they are there from current sources, not from
my changes, so I didn't touch these things.

Best wishes


Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
Zaphod grinned two manic grins, sauntered over to the bar
and bought most of it.
                 --- Zaphod in paradise.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

More information about the tex-k mailing list