Hi Robert,
On 5/22/26 9:31 PM, Robert Lillack wrote:
Hi there,
the attached port contains an update of wayland/wlroots to
wayland/wlroots/0.19 and wayland/wlroots/0.20. This split (instead of a
simple upgrade 0.19->0.20) is necessary, because none of the current
reverse dependencies of wlroots are updated to support wlroots 0.20,
yet. To allow adding new ports (like river, see other thread) that need
0.20, we need to be able to install both versions in parallel.
I tried to model the sub-directories like it's done for the different
versions of llvm, feel free to give feedback to improve the structure.
I think that's a good idea with the following remarks which you should take
with a grain of salt, because people more knowledgeable than me should (and
hopefully will) weigh in:
* My instinct would be to name the SUBDIRs 19 and 20 instead of 0.19 and 0.20
* I think that EPOCH=0 needs to be added to Makefile.inc
* ... which turns the PKGSPEC for both into >=0.19v0,<0.20v0 / >=0.20v0,<0.21v0
* I think that you need to add a "@pkgpath wayland/wlroots" to the PLISTs
* I think that the @conflict markers should be aligned with the PKGSPECs
* MODWLROOTS_LIB_DEPENDS needs tweaking
(assuming that the SUBDIRs are 19/ and 20/):
MODWLROOTS_LIB_DEPENDS = wayland/wlroots/${MODWLROOTS_VERSION:C/0\.//g}
With that I get two wlroots packages that at a first glance look sane to me.
cheers,
Volker