Adding Bryan C. Everly, MAINTAINER of x11/lumina.

On Thu, 19 Dec 2019 22:19:52 +0100
Matthias Kilian <k...@outback.escape.de> wrote:

> On Wed, Dec 18, 2019 at 12:30:37AM -0500, George Koehler wrote:
> > I built your 0.83.0 with ports-gcc on powerpc (macppc).  The good news
> > is that the build completed, so I can still build other ports that
> > depend on poppler.
> > 
> > I looked for a port that would use poppler to view a PDF file.  I found
> > and built x11/lumina and tried lumina-pdf.  A PDF of 89 pages causes
> > lumina-pdf to run out of memory and crash.  A PDF of 7 pages almost
> > works, but colors are wrong.  White is still white, but some black text
> > becomes blue, and other colors are worse.  These symptoms might not be
> > new; I didn't try viewing a PDF with poppler before 0.83.0, and I don't
> > know whether the color problem is in lumina or in poppler.  The macppc
> > is big-endian, but some code might assume little-endian color.
> 
> It would be nice if anyone else with macppc could do some similar
> tests with poppler-0.82.0, so we can see wether this is a regression
> or not.

There is no regression, and the problems are in lumina-pdf,
not in poppler.

I pkg_delete(1)d poppler-0.83.0, then updated my macppc to the recent
powerpc snapshot packages, so I'm now on poppler-0.82.0.  The snapshot's
lumina-pdf built with poppler-0.82.0 has exactly the same problems as
my earlier build of lumina-pdf with poppler-0.83.0: the 89-page PDF runs
out of memory and crashes, and the 7-page PDF has wrong color.

I pkg_add(1)ed apvlv, another PDF viewer that depends on poppler.
"apvlv $file.pdf" works with both files: no crash, correct color.  This
proves to me that poppler-0.82.0 works on macppc.  (I have not yet tried
apvlv with poppler-0.83.0 because I would need to rebuild 0.83.0, then
build apvlv.)

I conclude that
 - poppler-0.83.0 is just as good as 0.82.0, and
 - lumina-pdf has problems, while other PDF viewers work with poppler.

These are the PDF files:

http://tack.sourceforge.net/olddocs/em.pdf (190K) is the 89-page PDF,
mostly black text on white.  When lumina-pdf tries to open this, it
writes many memory errors to the terminal, like
  QImage: out of memory, returning null
  Out of memory
  "Error: unable to allocate 383 entries"
It usually crashes, but my last run got stuck without crashing.  top(1)
shows lumina-pdf with SIZE 512M and RES 544M.  I have a data limit per
process of 512M (from datasize-cur=512M for staff in /etc/login.conf).
This old macppc machine has a 32-bit address space.

https://www.thc.texas.gov/public/upload/forms/six-flags-over-texas.pdf
(422K) is the 7-page PDF.  Colors are wrong in lumina-pdf.

If these problems only happen on macppc (32-bit big-endian), they might
persist until some macppc user fixes them.
  --George

Reply via email to