Fix build with poppler < 0.51

Authored by volkov on May 21 2019, 3:49 PM.


Diff Detail

R223 Okular
No Linters Available
No Unit Test Coverage
Build Status
Buildable 12025
Build 12043: arc lint + arc unit
volkov created this revision.May 21 2019, 3:49 PM
Restricted Application added a project: Okular. · View Herald TranscriptMay 21 2019, 3:49 PM
Restricted Application added a subscriber: okular-devel. · View Herald Transcript
volkov requested review of this revision.May 21 2019, 3:49 PM
sander accepted this revision.May 22 2019, 8:37 AM
This revision is now accepted and ready to land.May 22 2019, 8:37 AM
volkov closed this revision.May 22 2019, 12:33 PM
joaonetto added a subscriber: joaonetto.EditedMay 22 2019, 8:14 PM

This broke the compilation process on my machine. I just tested with a clean version of KDE Neon, Poppler 0.62, and it doesn't compile, something about FormFieldsSignatures.

Must also say that after I reverted back the commit, it compiled.

Is this only happening to me?

Edit: Tried with Poppler 0.76.1, still gave me error, error in the pastebin:

Cmake Log showing Poppler 0.76.1

aacid added a subscriber: aacid.May 22 2019, 8:57 PM

I've reverted the changeset since it was breaking the build

My error. Apologies!

Sorry. I didn't add #include <config-okular-poppler.h> to formfields.h.
Correct fix: D21363.