Boomaga / boomaga

Boomaga provides a virtual printer for CUPS. This can be used for print preview or for print booklets.
Other
182 stars 34 forks source link

compatibility with poppler #52

Closed fossili closed 6 years ago

fossili commented 7 years ago

yesterday received poppler 0.41.0-0ubuntu1.2 . Printing to boomaga results in no graphical display of printed document and empty page when printed on printer. Boomaga used was 0.91. Operating system Mint 18.1 and Mint 18.2 cinnamon. Version 0.41.0-0ubuntu1.1 works. Backup was a good idea after all :) However it cannot stay like this. The new version of poppler seems to be offered for update very strongly...

stormy-gh commented 7 years ago

Boomaga 0.9.1-1trusty.deb has the same issue on Ubuntu 14.04. I found that this change causes problem: QDir().mkpath(outFileName + "/.."); ====> QFileInfo(outFileName).dir().mkpath("."); The result is: /usr/lib/x86_64-linux-gnu/boomaga/boomagamerger: symbol lookup error: /usr/lib/x86_64-linux-gnu/boomaga/boomagamerger: undefined symbol: _ZN6PDFDoc15markPageObjectsEP4DictP4XRefS3_j

To confirm this, I have changed this line back in source code and make deb. Boomaga start working again. So problem is caused by commit 61de231f90be73411ca1727a3aff5b4fa19f0d22 "Fixed Issue #50 Can't open file from .cache folder".

SokoloffA commented 7 years ago

This is a duplicate of Issue https://github.com/Boomaga/boomaga/issues/53

SokoloffA commented 7 years ago

For Ubuntu guys

Hi guys, I made the packages for different versions of Ubuntu and published they on ppa. I forced versions of libpoppler-dev. I hope this will solve our problems. Please leave feedback - is in your distributions the program works or not.


For Mint guys

Kick your maintainers, about to upgrade the package and specify depends like:

libpoppler-dev (>= 0.44.0-3ubuntu2.1)

Versions for different libpopplerXX can be found in .dsc files on my ppa

budinero commented 7 years ago

Hi, I'm using boomaga in Arch. Since some days I get white pages documents when printing to boomaga. Is this related to the poppler problem? Arch has 0.60.1 poppler version now. I tried to rebuid but with same results...

SokoloffA commented 7 years ago

@budinero Yes this is problem with poppler on Arch https://github.com/Boomaga/boomaga/issues/56#issuecomment-333200746

Now I'm writing PDF parser from scrach. So I hope the problems with the poppler will soon be gone.

SokoloffA commented 7 years ago

I wrote my own PDF parser instead of poppler-private. Please test the drop_poppler branch.

SokoloffA commented 6 years ago

Since the release of 1.0, the program does not use private poppler library to parse PDF files. So I'm closing the issue.