Poppler 0.16.7

I noticed that the version of Poppler (PDF rendering library, used by ePDFview) compiled in T2 is rather old, so I have compiled the latest, 0.16.7.

Hmmm, it complained about a conflict in zlib.h, it turns out that zlib.h in zlib 1.2.5 (the latest) is broken. Most of the distros patch it, but T2 doesn't. The stock zlib.h in zlib 1.2.5 works for most cases.

Anyway, I patched it:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/zlib/files/zlib-1.2.5-lfs-decls.patch?revision=1.3

Then Poppler compiled ok.

I also modified the template for Poppler in Woof, to create extra symlinks for those cases where apps are linked against older versions of libpoppler*.

This is happening in my experimental Wary "5.2".


Posted on 4 Sep 2011, 17:15


Comments:

Posted on 4 Sep 2011, 17:22 by BarryK
zlib bug
This is where the zlib bug is discussed:

http://lists.freedesktop.org/archives/poppler-bugs/2011-January/006020.html