Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: tdlib: split into tdlib and tde2e
To:
Klemens Nanni <kn@openbsd.org>, ports <ports@openbsd.org>
Cc:
Theo Buehler <tb@theobuehler.org>, Stuart Henderson <stu@spacehopper.org>
Date:
Fri, 23 May 2025 12:08:08 +0200

Download raw body.

Thread
On 22/05/25 03:53, Klemens Nanni wrote:
> 21.05.2025 08:28, Klemens Nanni пишет:
>> net/tdesktop needs net/tdlib with -TD_E2E_ONLY=ON, which is really a second
>> port as it exposes private API;  it is a different library in the same repo.
>>
>> FLAVORS / MULTI_PACKAGE is not an option due to conflicts and overall complexity.
>>
>> Splitting net/tdlib/tdlib and net/tdlib/tde2e with common Makefile.inc makes
>> stuff easy, doesn't change anything for existing tdlib consumers (net/py-telegram).
>>
>> The diff adjusts the only consumer, attached is net/tdlib/ without CVS bits.
> Here's the split as diff, in case that's easier to review.
> Needs 'mkdir -p /usr/ports/net/tdlib/td{lib,e2e}/pkg/' before applying.
>
> Also, distinfo now remains where it was, just like patches.
>
>> With that nothing changes in tdlib and tdesktop against tde2e just works.
>>
>> Feedback? OK?


sorry for the delay.  LGTM, ok op@


Thank you!