Bug#886392: hedgewars: Minimize build dependencies instead of depending on all of fpc

Graham Inggs ginggs at debian.org
Fri Jan 5 10:20:21 UTC 2018


Source: hedgewars
Version: 0.9.23-dfsg-1
Severity: wishlist

Hi Maintainers

Installing the build dependency fpc takes up about 400MB of disk space 
and pulls in fp-docs and fpc-source.  Minimizing this to only the 
packages required:
fp-compiler
fp-units-misc
fp-units-gfx
...only takes up around 50MB of space.
I have recently made similar changes to doublecmd and ddrescueview.

You will also need to adjust the check in debian/rules when setting 
BUILD_ENGINE_C.  Instead of checking whether package fpc is installed, 
maybe just check for the existence of /usr/bin/fpc ?

However, looking at hedgewars' build logs, it appears that it FTBFS 
everywhere without a Pascal compiler anyway, so maybe just always depend 
on the Pascal dependencies and always set BUILD_ENGINE_C := NO .

Regards
Graham



More information about the Pkg-games-devel mailing list