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

Re: [pkg-wine-party] Move sonames2elf to debhelper?



On Sun, Feb 5, 2017 at 3:06 PM, Jens Reyer wrote:
> On 02/05/2017 08:34 PM, Michael Gilbert wrote:
>> sonames2elf seems like it solves a broader problem and probably
>> doesn't really belong in the wine package itself.
>>
>> Would it be possible to add it as an option to dh_shlibdeps?  That
>> might also help solve some older debhelper bugs like #35733?
>
> Yes, definitely.  It has already been suggested very long ago
> (#596715, dpkg-shlibdeps: Please allow to manually add
> library dependencies via shlibdeps).
>
> Unfortunately (without having looked at the debhelper code) I assume
> that is beyond my capabilities.

dh_shlibdeps is only about 100 lines of perl. It should be somewhat
straightforward to implement sonames2elf using perl's system call to
call cc.

dpkg-shlibdeps is also only about 500 lines of perl, if that's where it belongs.

Good luck!

Best wishes,
Mike



Reply to: