xpdf-2.01 has a hard dependency on lesstif but it works with OpenMotif too. Thus it should'nt depend on lesstif, but on lesstif OR openmotif instead. I have tested it with x11-libs/openmotif-2.2.2-r1 (without any lesstif on the system) and encountered no failures. Possible bad behaivior when emerging this ebuild: Also I think this ebuild will overwrite many openmotif files (i.e. includes etc.) with lesstif files if installed on a openmotif system. But I guess this is more a openmotif/ lesstif problem.
according to the home page it _should_ be built against motif now
I tried to compile xpdf with x11-libs/openmotif (2.2.2-r1), but i wasn't able to compile /usr/bin/xpdf (other programs pdfimages, pdfinfo, etc. without problems) any special changes to the ebuild file? (except removing line --with-freetype2-library=/usr/lib, see comments #13091)
Same here: I need to have "the real thing" (openmotif) installed and permanently loaded (for nedit, xplore and some other apps I heavily use). I do not want to mess up my system with the clone (lesstif). As there is a security alert against the old xpdf version, having a new xpdf emerge which does not depend on lesstif is *urgent*. Please increase severity/priority!
"I tried to compile xpdf with x11-libs/openmotif (2.2.2-r1), but i wasn't able to compile /usr/bin/xpdf" I didn't made any changes to the ebuild to compile it against OpenMotif at all. I just used the --nodeps switch from emerge to disable the installation of lesstif, so 'emerge --nodeps xpdf' was all I did. I guess the problems you had (you never mentionen what problems) have nothing to do with OpenMotif, as according to comment #1 using Motif is the official way to build xpdf.
I set Daniel Ahlberg into the CC field, he did the security update.
the problem is a warning during configure... configure: WARNING: Couldn't find X / Motif -- you will be able to pdftops, pdftotext, pdfinfo, pdffonts, and pdfimages, but not xpdf at the moment i have only openmotif installed, no lesstif. i had installed both, but then removed lesstif and openmotif, installed openmotif again and then tried to build xpdf to get the new version of xpdf i reinstalled lesstif, installed xpd and removed lesstif. after that i reinstalled openmotif due to compatibility issues openmotif/lesstif
Well, I guess if the ebuild doesn't work for some people with openmotif it's a good reason to require lesstif and not openmotif until this issue is debugged.
As soon as virtual/motif is in place the dependency will be changed. This shouldn't take more than a couple of days.
virtual/motif is in place. If you have installed lesstif just becuse of the dependency in xpdf you can unmerge lesstif and re-emerge xpdf.
still not able to compile /usr/bin/xpdf configure: WARNING: Couldn't find X / Motif -- you will be able to compile pdftops, pdftotext, pdfinfo, pdffonts, and pdfimages, but not xpdf i have installed openmotif (virtual/motif), no lesstif installed... # emerge -p motif These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/openmotif-2.2.2-r1 maybe it's a local problem, but this warning will be prompted even after uninstalling xpdf & openmotif and reinstalling both packages
checking whether to use Xm library... (cached) /usr/X11R6/lib checking where to find the Xm header files... (cached) /usr/X11R6/include/Xm checking Xm/XmAll.h usability... no checking Xm/XmAll.h presence... no checking for Xm/XmAll.h... no configure: WARNING: requested Xm library not found!
adding --with-Xm-includes=/usr/X11R6/include will resolve the Xm checking problems for openmotif (see comment #11, there i added the wrong Xm include directory, xpdf configure is checking Xm/XmAll.h) --- changed ebuild file --- src_compile() { ./configure --enable-freetype2 \ --with-freetype2-includes=/usr/include/freetype2 \ --with-Xm-includes=/usr/X11R6/include \ --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --with-gzip || die lesstif and openmotif are using different Xm include directories...
this can be closed now.