On 2016-04-13 18:12 +0200, Sven Joachim wrote:

> On 2016-04-13 23:19 +0900, Roger Shimizu wrote:
>
>> I find another way, may be considered tricky though.
>> I find screen actually uses libtinfo.so, but not uses libtic.so, which
>> includes in libtinfo5-udeb.
>> After I applied the patch below to removed libtic.so from
>> libtinfo5-udeb, the dependency becomes normal as ARCH armel:
>>
>> $ dpkg-deb -I libtinfo5-udeb_6.0+20160319-2_amd64.udeb
>> Depends: libc6-udeb (>= 2.19)
>>
>> diff --git a/debian/libtinfo5-udeb.install b/debian/libtinfo5-udeb.install
>> index c6aa24a..576962e 100644
>> --- a/debian/libtinfo5-udeb.install
>> +++ b/debian/libtinfo5-udeb.install
>> @@ -1,2 +1 @@
>>  usr/lib/*/libtinfo.so.*
>> -usr/lib/*/libtic.so.*

Okay, I have done just that now.

> I don't like that, since the information in the libtinfo5 shlibs file
> information then becomes incorrect.  The shlibs file says that udebs
> with binaries linking to libtic should depend on libtinfo5-udeb, but
> libtinfo5-udeb would not actually contain the library.

To fix this, I have chosen to adjust the shlibs file with a sed command
in debian/rules after dh_installdeb.  Perhaps not too pretty, but it's
short and does the job.

Building screen from the screen-udeb branch seems to work correctly,
please double-check that.

Cheers,
       Sven

Reply via email to