Hello Pino. Thank you for the patches. I am ill situated to process your patches at the moment, but will be pleased to do so later. Alternately, feel free to incorporate the patches yourself and to upload NMU at your convenience: you need not wait for me.
On Wed, Oct 10, 2012 at 3:45 PM, Pino Toscano <p...@debian.org> wrote: > Source: derivations > Version: 0.53.20120414-1.1 > Severity: normal > Tags: patch > > Hi, > > libextractor uses the private poppler core API, and thus is likely to > break on new upstream releases. > With poppler >= 0.20.x (should be since 0.20.3, to be precise), > compiling stuff using the private core headers really needs the poppler > include path added to the CFLAGS/CXXFLAGS; this causes derivations to > not compile. > > It seems derivations has no way to add/set CXXFLAGS while building, > so the fix is in two parts: > * cflags: > a patch to pass CXXFLAGS, if set, to g++ > * Makefile: > a real makefile which should replace the symlink btool/PDF/Makefile; > what it does is just including ../Makefile-subdir (the makefile it > was a symlink to), but setting CXXFLAGS first with the flags for > poppler, got using pkg-config (which must be added to the build > dependencies) > * debian.diff: > following what said above, add pkg-config to the build-depends-indep > > (Note that poppler 0.20 or greater is not for Wheezy, but for Jessie, > so this fix can wait after the release.) > > Thanks, > -- > Pino >