Index | Thread | Search

From:
Antoine Jacoutot <ajacoutot@bsdfrog.org>
Subject:
Re: wayland/wlroots : introduce mod_wlroots
To:
ports@openbsd.org, Matthieu Herrb <matthieu@openbsd.org>
Date:
Mon, 04 Aug 2025 12:16:28 +0200

Download raw body.

Thread
On August 4, 2025 11:37:56 AM GMT+02:00, Matthieu Herrb <matthieu@openbsd.org> wrote:
>On Mon, Aug 04, 2025 at 11:24:28AM +0200, Antoine Jacoutot wrote:
>> On Mon, Aug 04, 2025 at 10:55:10AM +0200, Matthieu Herrb wrote:
>> > Hi,
>> > 
>> > Since wlroots upstreams has decided to include the library version
>> > number in  its name, managing dependencies on wlroots over updates
>> > (and 0.19.0 is ready) has become a bit annoying.
>> > 
>> > The diff below intruduces a wlroots module and uses it in the current
>> > ports depending on wlroots.
>> > 
>> > Comments? Ok?
>> 
>> I think you could simplify this by making it explicit in the module instead of
>> its consumers.
>> 
>> +               wayland/wlroots>=${MODWLR_VERSION_MAIN}
>> 
>> Also that will not prevent having to bump all consumers when wlroots
>> is updated.
>
>Generally the consumers needs to be updated to catch up with wlroots
>API breakage anyways. But I'd like to simplify the work.

Sure. But I still think managing LIB_DEPENDS in the module would simplify things.
And as a matter of fact we should do the same with WANTLIB. 

--
Antoine