#792091 game-data-packager: GPD should check installed engine version first

#792091#5
Date:
2015-07-11 06:59:33 UTC
From:
To:
A few games (Sfinx, Inherit the earth/German,
Zork Grand Inquisitor, Zork Nemesis)
only work with scummvm (>= 1.8.0).

While this precise release is due soon, GDP should catch
this error early and not at the 'dpkg -i' stage.

Tricky: this has to be done by package, not by game,
as the English version of "Inherit the earth" works
with older scummvm releases.
--------------------------------------------------------

LC_ALL=C LANG=C ./run sfinx --no-search -i
INFO:game-data-packager:downloading http://localhost/sfinx-en-v1.1.zip
INFO:game-data-packager:will not produce "sfinx-pl-data" because pl is not in
LANGUAGE selection
INFO:game-data-packager:generating package sfinx-en-data
generated "/home/tchet/git/game-data-packager/sfinx-en-data_1.1+42_all.deb"
using su(1) to obtain root privileges and install the package(s)
Password:
dpkg: regarding .../sfinx-en-data_1.1+42_all.deb containing sfinx-en-data:
 sfinx-en-data breaks scummvm (<< 1.8.0)
  scummvm (version 1.7.0+dfsg-2) is present and installed.

dpkg: error processing archive /home/tchet/git/game-data-packager/sfinx-en-
data_1.1+42_all.deb (--install):
 installing sfinx-en-data would break scummvm, and
 deconfiguration is not permitted (--auto-deconfigure might help)
Errors were encountered while processing:
 /home/tchet/git/game-data-packager/sfinx-en-data_1.1+42_all.deb

#792091#10
Date:
2015-07-13 08:15:52 UTC
From:
To:
control: severity -1 minor

Easy part is done, tricky not yet, keeping this bug open;
but lowering severity as only 1 package is impacted
for 1 month or 2 and this is explained in help_text too.