Comments regarding astromenace_1.3.1+repack-1_amd64.changes

Boris Pek tehnick-8 at yandex.ru
Thu May 16 11:25:26 UTC 2013


Hi,

> why using a postinst script at all?

It is used for generating game data file "gamedata.vfs". Files from the
package astromenace-data are updated rarely, but structure of file
"gamedata.vfs" is changed very often. GAME_BUILD variable in sources is used
for checking if current data file suitable for current build of program.
In fact GAME_BUILD can be changed dozens of times between stable releases of
program. So each updating of package astromenace to new version require
re-generating "gamedata.vfs".

> Fonts should be created as symlinks using debian/links, and unpacking files belonging to
> another binary should normally be done by the other binary itself.

Current solution saves space on user hard drive. Only compressed tarball is
stored on user system. Copying files or creating synlinks have no difference
because these temporary files are deleted after generating "gamedata.vfs".

You may read discussion during preparing these packages here:
http://bugs.debian.org/696385

Packaging logic was changed few times [1][2] and current variant is optimal.
[1] http://anonscm.debian.org/gitweb/?p=pkg-games/astromenace.git
[2] http://anonscm.debian.org/gitweb/?p=pkg-games/astromenace-data.git

Best regards,
Boris



More information about the Pkg-games-devel mailing list