[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lintian ERROR saying dpatch is obsolete



Steve Langasek <vorlon@debian.org> writes:

> On Sun, Nov 27, 2011 at 06:44:04PM +0100, Luk Claes wrote:
>> Besides it would be great that everyone uploading has a big reminder to
>> switch away from dpatch. Switching to v3 quilt should be easy.
>
> There are several features of dpatch that can't be trivially migrated to v3
> quilt.
>
>  - Custom patch commands, as already discussed.  Yes, we should get rid of
>    them, but that doesn't make it easy to convert them.

echo skip-patches >>debian/source/options

And then in a pre-build target, do the scripting magic, and call dh $@
--with quilt or something similar, and in clean, do the reverse.

It needs minimal work, but it's - in my opinion - trivial
nevertheless. Less trivial than turning a 00list into series and living
happily ever after, but still trivial.

>  - Conditional application of patches.  Some packages have patches that are
>    only applied on a per-architecture or per-target-distribution basis.

This, indeed, is not trivial to do with 3.0 (quilt). I see this as a 3.0
(quilt) feature, though. But perhaps just my opinion.

>  - Patches that don't unapply cleanly after build can be dealt with via
>    'rm -rf' with a custom patch system, but must be made to unapply cleanly
>    with v3 (quilt).

This too, is a v3 (quilt) feature, as far as I'm concerned.

-- 
|8]


Reply to: