På torsdag 9. juli 2026 kl. 23:40, skrev Volker Schlecht
<[email protected]>:

> Here's an update to wayland/scenefx that is now based on wlroots-0.20
>
> I'm unsure about the new patches. While it builds and works, I'm wondering
> if there is a nicer/better/more elegant way to handle this, but I'm a bit
> out of my depth here.
>
> I'm also attaching an update to wayland/mango which would otherwise break
> with the scenefx update.
>
> Tests and feedback welcome!

Tested/Built on current/amd64.

Only applicable unstandard thing is using wayland-1.25.91 wip if that
makes any difference.

// Applied patch
$ cd /usr/ports/wayland/scenefx/ && patch -l -p0 -E < /tmp/scenefx-0.5.diff

// Built and did tests/checks
$ cd /usr/ports/wayland/scenefx/ && make build package test ; make 
port-lib-depends-check check-shlib-syms

===>  Regression tests for scenefx-0.5
exec /usr/bin/env -i LC_CTYPE="en_US.UTF-8" PORTSDIR="/usr/ports" 
LIBTOOL="/usr/bin/libtool"  LIBscenefx-0.5_LTVERSION='-version-info 0:0:0' 
libscenefx_0_5_ltversion=0.0 
PATH='/usr/ports/pobj/scenefx-0.5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
 PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  CFLAGS='-O2 
-pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  HOME='/scenefx-0.5_writes_to_HOME' 
PICFLAG="-fpic"  BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644  DIRMODE=755 
 INSTALL_COPY=-c INSTALL_STRIP=-s  MANGRP=bin MANOWN=root MANMODE=644 
BSD_INSTALL_PROGRAM="/usr/ports/pobj/scenefx-0.5/bin/install -c -s -m 755"  
BSD_INSTALL_SCRIPT="/usr/ports/pobj/scenefx-0.5/bin/install -c -m 755"  
BSD_INSTALL_DATA="/usr/ports/pobj/scenefx-0.5/bin/install -c -m 644"  
BSD_INSTALL_MAN="/usr/ports/pobj/scenefx-0.5/bin/install -c -m 644"  
BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/scenefx-0.5/bin/install -d -m 755"  
BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/scenefx-0.5/bin/install -d -m 755"  
BSD_INSTALL_DATA_DIR="/usr/ports/pobj/scenefx-0.5/bin/install -d -m 755"  
BSD_INSTALL_MAN_DIR="/usr/ports/pobj/scenefx-0.5/bin/install -d -m 755"   
/usr/local/bin/meson test --num-processes 1  --print-errorlogs -C 
/usr/ports/pobj/scenefx-0.5/build-amd64
No tests defined.

scenefx-0.5(wayland/scenefx):
Missing: lcms2.3 from lcms2-2.18pl20260420 
(/usr/local/lib/libscenefx-0.5.so.0.0)
WANTLIB += lcms2
*** Error 1 in target 'port-lib-depends-check' (ignored)
/usr/local/lib/libscenefx-0.5.so.0.0 --> 
/usr/ports/pobj/scenefx-0.5/fake-amd64/usr/local/lib/libscenefx-0.5.so.0.0
No dynamic export changes
--
// Not sure about lcms2; plist looks correct

// Updated scenefx
# TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap -u scenefx
scenefx-0.4.1p0->0.5: ok
--

// Applied patch
$ cd /usr/ports/wayland/mango/ && patch -l -p0 -E < /tmp/mango-0.15.diff

// Built and did tests/checks
$ cd /usr/ports/wayland/mango/ && make build package test ; make 
port-lib-depends-check check-shlib-syms

===>  Regression tests for mango-0.15.0
exec /usr/bin/env -i LC_CTYPE="en_US.UTF-8" PORTSDIR="/usr/ports" 
LIBTOOL="/usr/bin/libtool"  
PATH='/usr/ports/pobj/mango-0.15.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
 PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  CFLAGS='-O2 
-pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  HOME='/mango-0.15.0_writes_to_HOME' 
PICFLAG="-fpic"  BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644  DIRMODE=755 
 INSTALL_COPY=-c INSTALL_STRIP=-s  MANGRP=bin MANOWN=root MANMODE=644 
BSD_INSTALL_PROGRAM="/usr/ports/pobj/mango-0.15.0/bin/install -c -s -m 755"  
BSD_INSTALL_SCRIPT="/usr/ports/pobj/mango-0.15.0/bin/install -c -m 755"  
BSD_INSTALL_DATA="/usr/ports/pobj/mango-0.15.0/bin/install -c -m 644"  
BSD_INSTALL_MAN="/usr/ports/pobj/mango-0.15.0/bin/install -c -m 644"  
BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/mango-0.15.0/bin/install -d -m 755"  
BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/mango-0.15.0/bin/install -d -m 755"  
BSD_INSTALL_DATA_DIR="/usr/ports/pobj/mango-0.15.0/bin/install -d -m 755"  
BSD_INSTALL_MAN_DIR="/usr/ports/pobj/mango-0.15.0/bin/install -d -m 755"   
/usr/local/bin/meson test --num-processes 1  --print-errorlogs -C 
/usr/ports/pobj/mango-0.15.0/build-amd64
No tests defined.
--
// Tests and checks had no problem; plist checks out.

// Updated mango
# TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap -u scenefx 
mango
mango-0.14.4->0.15.0: ok
--

No nits or grammer/spelling issues that I can find.

Built and installed just fine.

Just lcms2 WANTLIB and bumping SHARED_LIBS for scenefx maybe? I would
err on the side of caution. The port-lib-depends-check says it is fine,
but as this is a wlroots/0.19 to wlroots/0.20 upgrade it could use a
major or minor SHARED_LIBS bump? Not sure which if any.

Can't really comment on the new patches. Sorry.

Hope this helps! May you stay cool and have further success in hacking.
--
yaydn

Reply via email to