Re: Bug#129699: ITP: race -- A 3D arcade overhead car game.
On Fri, 18 Jan 2002, Ben Armstrong wrote:
> Ugh. I think you'll find it's more work than simply providing a multi
> binary package. I favour simpler solutions that work well in other
> environments (think non-Debian). I'd rather improve the child-friendliness
> of free software in general than devise complicated Debian-specific
> solutions.
Hmm, yes or no. Perhaps we find a clever wrapper which cares about this
stuff? This could perhaps also handle multi binary images.
> We'll have to carefully think this one over before we go making
> an unofficial policy and recommendations to upstream, as some solutions
> are clearly superior to others. Whatever we decide on should be fairly
> trivial to implement in most cases, and should not be Debian-specific.
A wrapper would not do any Debian-specific to the upstream source.
I have something in mind like:
ln -s <reasonable_path_to_wrapper>/junior /usr/games/<game_to_wrap>
Perhaps
reasonable_path_to_wrapper = /usr/share/junior
- but I'm not sure
This wrapper script should do something like
if [ user tagged as normal child ] ; then
source /etc/junior/$0
<path_to_real_binary>$0 $JUNIOR_OPTIONS
else
<path_to_real_binary>$0
fi
Than we need an
/etc/junior/<game_to_wrap> which sets
JUNIOR_OPTIONS="--child"
or something like that.
Kind regards
Andreas.
Reply to: