xpdf has been orphaned in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848631
I use xpdf, so I'd like to help fix it. Maybe eventually help to maintain it.
This bug says that the "whole word" search feature in xpdf doesn't work. I can reproduce on xpdf version 3.04-3 in Stretch. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743631
This bug is affected by xpdf/TextOutputDev.cc
file's GBool TextPage::findText()
function, I think. There's a debian patch poppler-findtext.patch
which changes a lot of calls to findText() from having a gFalse
value to using the wholeWord
value which is set by the checkbox in the find dialog box. This smells fishy to me. Then on line 3771 in xpdf/TextOutputDev.cc
there's a conditional check of !wholeword || (other things)
which without the debian patch always would just evaluate to True but now that the wholeWord value is actually being passed in, it sometimes doesn't...
There's a git repo on Alioth for xpdf: https://anonscm.debian.org/cgit/collab-maint/xpdf.git
In order to build from source, we need to run automake --add-missing --copy
and autoreconf --install
to generate the proper files for autotools.
But then trying to run ./configure
results in an error like:
config.status: error: cannot find input file: `fofi/Makefile.in'
Because there is no fofi/
directory... Possibly this is due to using host provided poppler instead of the FoFi system?
I don't know enough about wtf fofi is...