[tlbuild] poppler and xetex

Norbert Preining preining at logic.at
Sun Nov 25 06:21:34 CET 2012


Hi Peter,

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:
../../../texk/web2c/xetexdir/XeTeX_ext.c: In function ‘initversionstring’:
../../../texk/web2c/xetexdir/XeTeX_ext.c:204:13: error: ‘POPPLER_VERSION’ undeclared (first use in this function)
../../../texk/web2c/xetexdir/XeTeX_ext.c:204:13: note: each undeclared identifier is reported only once for each function it appears in

which comes from
	...
	+ strlen(POPPLER_VERSION)
	....

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
BOTLEY
The prominent stain on a man's trouser crotch seen on his return from
the lavatory. A botley proper is caused by an accident with the push
taps, and should not be confused with any stain caused by insufficient
waggling of the willy.
			--- Douglas Adams, The Meaning of Liff


More information about the tlbuild mailing list