Description of problem: Current version of calibre needs poppler's class DCTStream, which is not present now. Log snippet: /builddir/build/BUILD/calibre/src/calibre/ebooks/pdf/images.cpp: In member function 'void calibre_reflow::XMLImages::add(GfxState*, Object*, Stream*, unsigned int, unsigned int, GfxImageColorMap*, bool, int*, bool)': /builddir/build/BUILD/calibre/src/calibre/ebooks/pdf/images.cpp:129:17: error: 'DCTStream' was not declared in this scope /builddir/build/BUILD/calibre/src/calibre/ebooks/pdf/images.cpp:129:28: error: expected primary-expression before ')' token /builddir/build/BUILD/calibre/src/calibre/ebooks/pdf/images.cpp:129:29: error: expected ')' before 'str' Version-Release number of selected component (if applicable): calibre-0.8.11-2 Actual results: Build fails. Expected results: Build succeed. Additional info: See the bug #735175 for more info and scratch-build of poppler-0.17.3. This was introduced by upstream commit "Sanitize headers a big" (mainly by correction of definition of ENABLE_LIBJPEG - see definition of DCTStream class in poppler/Stream.h)
Created attachment 522322 [details] make calibre build with poppler-0.17.3 Hi, I've prepared a patch based on the one created by Caolan for bug #735182. Calibre builds well with it. Btw, you can update BuildRequires to require poppler-qt-devel since poppler doesn't contain poppler-qt4-devel subpackage now. Regards Marek
Applied. Thanks! If you want commit access to apply things like these, feel free to apply.