Subject: bug#43797: astromenace does not work

From: Efraim Flashner <[email-masked]>
Date: Mon, 5 Oct 2020 15:03:17 +0300

On Mon, Oct 05, 2020 at 02:44:19PM +0300, Efraim Flashner wrote:
> On Mon, Oct 05, 2020 at 01:33:53PM +0200, zimoun wrote:
> > Dear,
> > 
> > Thank you for the report.
> > 
> > First, there is no substitute; which is often a bad sign.  If Cuirass
> > wizard reads, is it possible to trigger again the build of
> > 'astromenace'.
> > 
> > <https://data.guix.gnu.org/repository/1/branch/master/package/astromenace/output-history>
> > 
> > 
> > On Sun, 4 Oct 2020 at 23:16, Luis Felipe via Bug reports for GNU Guix
> > <[email-masked]> wrote:
> > >
> > > Hi, I'm using guix b61e057. Just installed AstroMenace and it does not start. Trying to launch it from a terminal prints the following error:
> > >
> > > AstroMenace 1.4.1
> > > VFS version 190427
> > > Compiled against SDL version 2.0.12
> > > Linking against SDL version 2.0.12
> > > vw_OpenVFS(): Can't find VFS file share/astromenace/gamedata.vfs
> > > main(): gamedata.vfs file not found or corrupted.
> > 
> > Well, the file 'gamedata.vfs' seems to be a file which needs to be
> > built (it does not appear in the upstream source).  And I am not sure
> > this file is compliant with "free" licenses; Debian locates it in
> > 'non-free', for example.
> > 
> > All the best,
> > simon
> > 
> 
> As far as the file being built, an excerpt from the build log:
> VFS file was opened /tmp/guix-build-astromenace-1.4.1.drv-0/source/gamedata/models/models.pack
> models/tracked/tank-07.vw3d file added to VFS.
> models/earthfighter/sf-illum01.vw2d file added to VFS.
> models/militarybuilding/aa-gun-01.vw3d file added to VFS.
> models/earthfighter/sf-09.vw3d file added to VFS.
> models/alienmothership/alm-02.vw3d file added to VFS.
> <..snip..>
> models/normalmap/planet_asteroids_nm.tga file added to VFS.
> models/normalmap/q_class2_nm.tga file added to VFS.
> models/normalmap/bomber_nm.tga file added to VFS.
> models/normalmap/buildings_nm.tga file added to VFS.
> lang/pl/menu/button_weaponry_in.tga file added to VFS.
> lang/pl/menu/button_weaponry_out.tga file added to VFS.
> VFS file was created /tmp/guix-build-astromenace-1.4.1.drv-0/build/gamedata.vfs
> 
> As for Debian placing it in non-free, it might be worth checking the
> licenses and files again.
> 

From the debian packaging of astromenace-data¹,
RAW_VFS_DATA/MODELS/models.pack is precompiled because the source of the
artwork wasn't released for distribution, but the precompiled assets are
CC-BY-SA-3.0 (Debian has 1.3.2 with CC-3, our source is 1.4.1 with a
CC-4 license file).

¹ https://sources.debian.org/src/astromenace-data/1.3.2+repack-3/debian/copyright/#L34

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted