[palapeli] Fix dependencies, search for KF5DocTools
Review Request #127568 - Created April 3, 2016 and submitted
Fix dependencies, search for KF5DocTools
Build is fine, runtime not (crashes at startup before and after commit)
Re crashing at startup - possibly this is because of failure to load Palapeli's plugins.
If you have an empty user's data directory, the first thing Palapeli does is to retrieve the image-files for the sample jigsaw-puzzles (Castle of Maintenon, etc.), then slice them into pieces, shuffle them and store them in the user's data-directory, then finally bring up the item-list of sample puzzles on the screen. So a lot of Palapeli code gets exercised the first time a user loads the game.
Slicing requires loading a plugin library (called libpala IIRC). Loading plugins requires kdeinit and friends to be running --- in the file-environment in which you are testing, which is not necessarily the same as the desktop's normal file-environment. One of them (I forget which) loads the plugins.
You can easily check if this is what is going wrong by looking at the stderr log of Palapeli. There should be some message about failing to find or load plugins.