Check return values of malloc/realloc in zip_read

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Revert "Keep track of the minimum Depth / time on the planner."

This reverts commit 9a497b1cb0f38e8a7e04e29543da5241a38d2195.
Real fixup

Fixes: #358
WIP drop_stone_mode
Fix building in git shallow clones

If we are building from a shallow clone, just guess the version based on
whats hard-coded in VERSION and append a -git to show thats it somwhere
behind that.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Make GlobeGPS a dummy on android
Disable usermanual on android
Stub out the printing support on android
Only rely on pkg-config when building for android

Its easier to have qmake pickup the pkg-config files than the shell
scripts, so don't run them when we building for android. We might pick
up the hosts version of the libraries form the scripts

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Introduce android specific file