Niels Thykier, le sam. 12 sept. 2020 17:46:03 +0200, a ecrit:
> It occurs to me that this can be done via a custom dh addon using
> something like:

That's not exactly simple :)

My general concern is about making free software contribution as simple
as possible. When discussing with people about bug fixing etc. I would
tell them that I like the Debian way of hacking software: apt-get source
... ; apt-get build-dep ... ; modify source ; dpkg-buildpackage, and
voilĂ , you have a modified package in your usual testing environment
(unlike getting source from upstream, with different dependencies
compatibilities etc.).

But the "modify source ; dpkg-buildpackage" part needs to be as simple
as possible for people to consider this as an accessible thing to
do. That's why I'm looking for a solution that people would be able to
use easily, e.g. an environment variable that we could document them to
use, such as

DH_REBUILD=dh_auto_build dpkg-buildpackage -B -nc
or
DH_REBUILD=dh_auto_configure dpkg-buildpackage -B -nc

depending on the need.

Samuel

Reply via email to