Created attachment 220039 [details] Patch to upgrade spice-protocol to 0.14.3 Upgrade spice-protocol to 0.14.3
oops, thought i was maintainer of this port but am not.
(In reply to Jack from comment #0) I tried to upgrade it previously and IIRC one of the dependencies (probably it was spice-gtk) didn't have a released version compatible with this version. I'll test it again a little later.
(In reply to Roman Bogorodskiy from comment #2) spice-gtk seems to build fine, though spice-protocol needs MESON_ARGS= -Ddatadir=libdata to get .pc file installed into proper location.
(In reply to Roman Bogorodskiy from comment #3) devel/libspice-server fails with: libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/usr/local/include/pixman-1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/opus -I/usr/include -DG_LOG_DOMAIN=\"Spice\" -I/usr/local/include/spice-1 -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT pixman_utils.lo -MD -MP -MF .deps/pixman_utils.Tpo -c pixman_utils.c -o pixman_utils.o >/dev/null 2>&1 generated_server_demarshallers.c:1469:28: error: use of undeclared identifier 'SPICE_TUNNEL_SERVICE_TYPE_IPP' if (type__value == SPICE_TUNNEL_SERVICE_TYPE_IPP) { ^ generated_server_demarshallers.c:1480:36: error: use of undeclared identifier 'SPICE_TUNNEL_IP_TYPE_IPv4' if (type__value == SPICE_TUNNEL_IP_TYPE_IPv4) { ^ generated_server_demarshallers.c:1523:22: error: use of undeclared identifier 'SPICE_TUNNEL_SERVICE_TYPE_IPP' if (out->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { ^ generated_server_demarshallers.c:1525:31: error: use of undeclared identifier 'SPICE_TUNNEL_IP_TYPE_IPv4' if (out->u.ip.type == SPICE_TUNNEL_IP_TYPE_IPv4) { ^ 4 errors generated. gmake[6]: *** [Makefile:598: libspice_common_server_la-generated_server_demarshallers.lo] Error 1
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/229207599
spice-gtk now requires >=0.14.3 now so can't upgrade spice-gtk until this port is updated. subprojects/spice-common/meson.build:110:2: ERROR: Invalid version of dependency, need 'spice-protocol' ['>= 0.14.3'] found '0.12.15'.
(In reply to Jack from comment #6) I think we're still blocked by devel/libspice-server (I didn't double check, but I don't see any updates there and it's unlikely it works with the newer spice-protocol now). So I think we need to update it first to unblock other updates.
Created attachment 224176 [details] updated patch with pkgconfig path fixed
libspice-server PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255142 Need to commit both at the same time as the new version of libspice-server depends on a new version of spice-protocol, and the old version of libspice-server doesn't work with the new spice-protocol.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=50b1ebdc6b2dec201f1986654be39b913504b9fd commit 50b1ebdc6b2dec201f1986654be39b913504b9fd Author: Jack <xxjack12xx@gmail.com> AuthorDate: 2021-05-08 04:02:42 +0000 Commit: Roman Bogorodskiy <novel@FreeBSD.org> CommitDate: 2021-05-08 11:05:40 +0000 devel/spice-protocol: update to 0.14.3 PR: 251434 devel/spice-protocol/Makefile | 7 ++++--- devel/spice-protocol/distinfo | 6 +++--- devel/spice-protocol/pkg-plist | 3 --- 3 files changed, 7 insertions(+), 9 deletions(-)