Raising the epoch of the 'prboom-plus' package, turning it into a transitional package

Simon McVittie smcv at debian.org
Mon Aug 23 10:28:51 BST 2021


On Mon, 23 Aug 2021 at 10:53:12 +0200, Fabian Greffrath wrote:
> The downside is that dsda-coom introduced a new versioning scheme which
> is currently at v0.21.0, whereas prboom-plus is already at 2.6.1um. To
> provide for an easy upgrade path for prboom-plus users, I'd like to
> introduce the dsda-doom package with an epoch. Since prboom-plus
> already has epoch 2, this would necessarily be epoch 3.

Could you build dsda-doom as version 0.21.0-1 with no epoch, while
attaching an epoch to only the prboom-plus transitional binary package?
Something like this:

    # d/control
    Source: dsda-doom

    Package: dsda-doom

    Package: prboom-plus
    Section: oldlibs

and

    # d/rules
    override_dh_gencontrol:
            dh_gencontrol -pprboom-plus -- -v3:$(DEB_VERSION_UPSTREAM_REVISION)
            dh_gencontrol --remaining-packages

libreoffice, e2fsprogs and rxvt-unicode are among the packages that use
this technique already.

That would make the "cost" of the epoch naturally disappear when the
prboom-plus transitional package is removed in bookworm+1 or later.

    smcv



More information about the Pkg-games-devel mailing list