Description of problem: 3.1.5-3 dropped wkhtmltopdf in favour of fop but still calls wkhtmltopdf if it is available. -3 dropped the patch that removed the arguments that require a patched version of QT (--header-spacing, etc.), so now publican FTBFS or FTB anything. Version-Release number of selected component (if applicable): publican-3.1.5-3 How reproducible: try rebuilding publican itself with wkhtmltopdf installed Actual results: error message (multiple times): The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --footer-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.The switch --xsl-style-sheet, is not support using unpatched qt, and will be ignored.wkhtmltopdf: cannot connect to X server wkhtmltopdf died, PDF generation failed. Check log for details. at /home/whot/fedora/git/publican/Publican-v3.1.5/blib/script/publican line 921. Expected results: no error message, but some soothing confirmation that everything went well, we can reduce the threat level, turn off the alarm and generally go on with our lives. oh, and a build of the documentation would be nice too. and a pony. Additional info: Looks like bug 953728.
restoring nopdfcover.patch is sufficient to work around it though it then still dynamically picks wkhtmltopdf instad of fop.
Even with nopdfcover.patch in place, the wkhtmltopdf output was unusable. Fortunately, Publican 3.2 allows you to specify the PDF engine, so I'll rebase on that.
Publican version to rebase is now 3.2.1.
Nevermind, I see this is now in updates-testing.
From the wkhtmltopdf help page: Currently the list of features only supported with patch QT includes: * Printing more then one HTML document into a PDF file. * Running without an X11 server. * Adding a document outline to the PDF file. * Adding headers and footers to the PDF file. * Generating a table of contents. * Adding links in the generated PDF file. * Printing using the screen media-type. * Disabling the smart shrink feature of webkit. It is not possible for us to get this X11 dep resolved with an unpatched QT. Systems wishing to build books in environments without the patched QT or an X11 server should use the --pdftool option. e.g. $ publican build --langs en-US --pdftool fop --formats html,pdf,txt