[Build-common-hackers] Bug#596713: cdbs: Please document how to override use of dh_gencontrol
dr at jones.dk
Sat Sep 18 07:38:54 UTC 2010
Hi again, Andres,
On Fri, Sep 17, 2010 at 08:04:47PM -0400, Andres Mejia wrote:
>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
>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.
Ah, ok. Thanks for clarifying.
>> 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.
Are you shure you don't mean dh_shlibdeps above? I believe (but have
not played with it) that you can spoon-feed dependencies as options to
dpkg-shlibdeps, and thus to dh_shlibdeps as well.
Could you provide an example of the approach you believe necessary?
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
More information about the Build-common-hackers