[Build-common-hackers] Bug#596713: Bug#596713: cdbs: Please document how to override use of dh_gencontrol

Andres Mejia mcitadel at gmail.com
Sat Sep 18 00:04:47 UTC 2010


On Monday 13 September 2010 13:32:11 Jonas Smedegaard wrote:
> Hi Andres,
> 
> On Mon, Sep 13, 2010 at 12:44:51PM -0400, Andres Mejia wrote:
> >chromium-browser at one point required manually adding some extra
> >dependencies in Depends field, so there was a need to override part of
> >debhelper.mk that ran dh_gencontrol. It was documented however that in
> >order to do this, the target 'binary-makedeb-IMPL/%' had to be
> >overridden.
> >
> >Please provide some form of documentation that explains the above use
> >case. I'm sure there are similar use cases too, such as overridding
> >dh_shlibdeps.
> 
> Thanks for reporting this!
> 
> Documentation for CDBS certainly is lacking behind :-(
> 
> Could you point to the specific phrase in the documentation that is
> wrong?

Sorry. Meant to say "it was *not* documented ..." In other words, it was not 
documented however that in order to do this, the target
'binary-makedeb-IMPL/%' had to be overridden.

> Depending on what exactly you wanted to do, I believe the proper
> approach is to set DEB_DH_SHLIBDEPS_ARGS.

dpkg-shlibdeps won't help in the case where a library is dlopened, thus making 
it necessary to manually add the dependencies in for a package.

> 
> Kind regards,
> 
>   - Jonas

-- 
Regards,
Andres Mejia





More information about the Build-common-hackers mailing list