chocolate-doom split

Alexandre Detiste alexandre.detiste at gmail.com
Sat May 9 08:51:36 UTC 2015


Le mardi 5 mai 2015, 08:37:07 Fabian Greffrath a écrit :
> Hi Simon and Alexandre,
> 
> Am Montag, den 04.05.2015, 14:41 +0100 schrieb Simon McVittie: 
> > Recommends: freedm | game-data-packager seems sufficient, tbh.
> 
> having slept about it, I think I will follow Simon's advice and
> recommend "freedm | g-d-p" for chocolate-doom and only "g-d-p" for the
> other ports.
> 
> After all, all the other packages in the list are either non-free, or
> purely virtual or inofficial and not apt-get-able. So, it doesn't help
> to have them listed at all.

I understand, users may well not understand why these aren't apt-get-able;
and this "Recommends:" may feel like a false promise :-(.

And for another example, scummvm
can't recommends 100-some virtual data packages.

What GDP would really need is proper support of 'Enhances:'
in the various tools, so all the data packages would
Recommends + Enhances the engine package.

> ... handle things his/her way.
> 
> - Fabian

I have come with something else to solve my house-keeping problem.

This is only needed if you have some computer left almost unattended
with aggresive auto-removals; here my daughter's one;
but can be any desktop/laptop you setup up
with "forever testing" and just forget about it.



#!/bin/bash
set -e
control=$(mktemp)
cat << __EOF__ > $control
Section: local/games
Priority: optional
Standards-Version: 3.9.6
Package: keep-games-installed
Maintainer: Alexandre Detiste <alexandre.detiste at gmail.com>
Architecture: all
Description: dummy package to keep games data installed
 This will mark all game-data-packager
 generated files as used.
 .
 This way, they never get removed by deborphan
 unattended-upgrades or aptitude.
Suggests:
__EOF__

while read shortname
do
        read packages
        echo $packages
        for package in $packages
        do
                echo " $package," >> $control
        done
done < /usr/share/games/game-data-packager/bash_completion

equivs-build $control
rm $control
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150509/030ca1f1/attachment.sig>


More information about the Pkg-games-devel mailing list