[tlbuild] poppler and xetex

Peter Breitenlohner peb at mppmu.mpg.de
Mon Nov 26 09:11:32 CET 2012


On Sun, 25 Nov 2012, Norbert Preining wrote:

> it seems the change to kpse-poppler-flags.m4:
> @@ -33,11 +33,10 @@ AC_DEFUN([KPSE_POPPLER_OPTIONS],
> # ----------------------
> AC_DEFUN([KPSE_POPPLER_SYSTEM_FLAGS],
> [AC_REQUIRE([_KPSE_CHECK_PKG_CONFIG])[]dnl
> -if $PKG_CONFIG poppler --atleast-version=0.12; then
> -  POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
> -  POPPLER_INCLUDES="$POPPLER_VERSION `$PKG_CONFIG poppler --cflags`"
> +if $PKG_CONFIG poppler --atleast-version=0.18; then
> +  POPPLER_INCLUDES=`$PKG_CONFIG poppler --cflags`
>   POPPLER_LIBS=`$PKG_CONFIG poppler --libs`
> elif test "x$need_poppler:$with_system_poppler" = xyes:yes; then
> -  AC_MSG_ERROR([did not find poppler-0.12 or better])
> +  AC_MSG_ERROR([did not find poppler-0.18 or better])
> fi
> ]) # KPSE_POPPLER_SYSTEM_FLAGS
>
> is a good idea, but xetex somehow depends on POPPLER_VERSION which is
> not any longer defined:

Hi Norbert,

my mistake.  I assumed that POPPLER_VERSION is defined in poppler-config.h
since 0.18, but in fact it was only introduced in 0.19.  I have now changed
the requirement for system-poppler to be at least 0.20 from 3012-05-10.

Regards
Peter


More information about the tlbuild mailing list