On Sun, Mar 08, 2020 at 10:28:43PM +0100, Andreas Henriksson wrote:
> Please consider adding a fixer that can convert old-style (WET)
> 'dh $@ --with foo' to new-style dh-sequence-foo for the addons
> that support the new (DRY) style of hooking in addons to the
> dh sequencer[1] (when using debhelper >= 12).
>
> Please also make sure to drop the old build-dependency that is no longer
> needed when using the dh-sequence-* virtual package as build-dependency.
> (This might be difficult to do correctly as there might be other reasons
> why keeping the build-dep around is the correct thing to do sometimes?)
>
> For example in the Debian Gnome Team the gir and gnome addons are
> commonly used and both of them support dh-sequence-{gir,gnome}
> virtual package style nowadays provided by gobject-introspection
> and gnome-pkg-tools binary packages respectively.
>
> eg. a package that still needs this conversion is gnome-autoar.
> (And while looking at this packages debian/rules it might be nice to
> have simple cleanups that detects when some of the overrides can be
> dropped once they've become the default in future debhelper compat
> levels, like 'dh_missing --fail-missing' and 'dh_makeshlibs -- -c4'
> will at some point in the future.)
That sounds like a great idea; I've filed
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953736 to have
lintian flag packages that can be updated.
jelmer
--
Jelmer Vernooij
PGP Key: https://www.jelmer.uk/D729A457.asc
signature.asc
Description: PGP signature