From cd6cafd1040df1e974e0dd9033355ea764823b19 Mon Sep 17 00:00:00 2001 From: Johannes Schneider Date: Tue, 27 Oct 2026 16:00:09 +0000 Subject: [PATCH] neatvnc: add nettle PACKAGECONFIG, disabled by default The nettle crypto backend (RSA-AES security type) has no PACKAGECONFIG, so meson auto-detects it from the sysroot: non-deterministic, nettle missing from DEPENDS, and broken against nettle 4.0 (split sha.h, changed EAX arity) which neatvnc 1.0.1 has not adopted. Add the toggle with its nettle/hogweed/gmp deps and default it off, so the build is deterministic and green on nettle 4.0; gnutls TLS is unaffected. The real fix is a nettle-4.0 port of src/crypto/nettle in neatvnc upstream; this only keeps the recipe building meanwhile. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Johannes Schneider Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/neatvnc/neatvnc_1.0.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc_1.0.1.bb b/meta-oe/recipes-graphics/neatvnc/neatvnc_1.0.1.bb index 5946994b53..ab462bcf08 100644 --- a/meta-oe/recipes-graphics/neatvnc/neatvnc_1.0.1.bb +++ b/meta-oe/recipes-graphics/neatvnc/neatvnc_1.0.1.bb @@ -13,6 +13,7 @@ DEPENDS = "libdrm pixman aml zlib" PACKAGECONFIG ??= "" PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" +PACKAGECONFIG[nettle] = "-Dnettle=enabled,-Dnettle=disabled,nettle hogweed gmp" PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng"