Skip to contentSkip to conversation

clightd: Port ALS sensor to libiio 1.0

PATCH New Khem Raj 1 participant 76 messages Nov 25 RISC-V

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 clightd: Port ALS sensor to libiio 1.0

libiio 1.0 replaced the 0.x API used by the ALS iio buffer capture (iio_create_local_context, iio_device_create_buffer, iio_buffer_refill, iio_channel_enable without a mask) and moved the header to <iio/iio.h>, so clightd no longer compiles. Upstream has no port yet; add a patch that uses the "local:" context, a channels mask and a one-block iio_stream, and frees everything on error paths.

Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only.

AI-Generated: Uses Claude Code

---
 ...1-sensors-als-Port-to-libiio-1.0-API.patch | 165 ++++++++++++++++++
 .../recipes-multimedia/clight/clightd_5.9.bb  |   2 +
 2 files changed, 167 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/clight/clightd/0001-sensors-als-Port-to-libiio-1.0-API.patch
meta-multimedia/recipes-multimedia/clight/clightd/0001-sensors-als-Port-to-libiio-1.0-API.patch new file +165 -0
new file mode 100644
index 0000000000..59b1c016bf
@@ -0,0 +1,165 @@
+From 3b4827e17401ec026a2d82e1632d3c456a5191c8 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Sun, 22 Nov 2026 23:35:34 -0800
+Subject: [PATCH] sensors/als: Port to libiio 1.0 API
+
+libiio 1.0 breaks the 0.x API: the header moved to <iio/iio.h>,
+iio_create_local_context() is gone (use iio_create_context() with the
+"local:" URI), channels are enabled in an iio_channels_mask, and
+buffers are read through an iio_stream instead of
+iio_device_create_buffer()/iio_buffer_refill(). Functions returning
+pointers now report errors with pointer-encoded error codes.
+
+Use a stream with a single one-sample block, which waits for a fresh
+sample on every capture like the old refill did, and release the
+context, mask and stream on every exit path.
+
+Upstream-Status: Pending
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ src/modules/sensors/als.c | 74 ++++++++++++++++++++++++++-------------
+ 1 file changed, 49 insertions(+), 25 deletions(-)
+
+diff --git a/src/modules/sensors/als.c b/src/modules/sensors/als.c
+index eee98e6..8bb67ee 100644
+--- a/src/modules/sensors/als.c
++++ b/src/modules/sensors/als.c
+@@ -1,6 +1,6 @@
+ #include <sensor.h>
+ #include <udev.h>
+-#include <iio.h>
++#include <iio/iio.h>
+ #include <sys/time.h>
+ #include "als.h"
+ 
+@@ -67,17 +67,21 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int
+     INFO("[IIO-BUF] Start capture: '%s' sysname.\n", sysname);
+     
+     
++    struct iio_channels_mask *mask = NULL;
++    struct iio_stream *stream = NULL;
++
+     /* Getting local iio device context */
+-    struct iio_context *local_ctx = iio_create_local_context();
+-    if (!local_ctx) {
+-        fprintf(stderr, "Failed to create local iio ctx.\n");
++    struct iio_context *local_ctx = iio_create_context(NULL, "local:");
++    int err = iio_err(local_ctx);
++    if (err) {
++        fprintf(stderr, "Failed to create local iio ctx: %s\n", strerror(-err));
+         return ctr;
+     }
+     
+     const struct iio_device *dev = iio_context_find_device(local_ctx, sysname);
+     if (!dev) {
+-        fprintf(stderr, "Couldn't find device '%s': %m\n", sysname);
+-        return ctr;
++        fprintf(stderr, "Couldn't find device '%s'.\n", sysname);
++        goto out;
+     }
+     
+     INFO("[IIO-BUF] Found device.\n");
+@@ -91,32 +95,45 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int
+     
+     INFO("[IIO-BUF] Channel name: '%s'.\n", channel_name);
+     
+-    struct iio_channel *ch = iio_device_find_channel(dev, channel_name, false);
++    const struct iio_channel *ch = iio_device_find_channel(dev, channel_name, false);
+     if (!ch) {
+-        fprintf(stderr, "Failed to fetch '%s' channel: %m\n", channel_name);
+-        return ctr;
++        fprintf(stderr, "Failed to fetch '%s' channel.\n", channel_name);
++        goto out;
+     }
+     
+     if (iio_channel_is_output(ch)) {
+         fprintf(stderr, "Wrong output channel selected.\n");
+-        return ctr;
++        goto out;
+     }
+     if (!iio_channel_is_scan_element(ch)) {
+         fprintf(stderr, "Channel is not a scan element.\n");
+-        return ctr;
++        goto out;
+     }
+     
+-    iio_channel_enable(ch);
+-    if (!iio_channel_is_enabled(ch)) {
++    mask = iio_create_channels_mask(iio_device_get_channels_count(dev));
++    if (!mask) {
++        fprintf(stderr, "Failed to create channels mask.\n");
++        goto out;
++    }
++    iio_channel_enable(ch, mask);
++    if (!iio_channel_is_enabled(ch, mask)) {
+         fprintf(stderr, "Failed to enable channel '%s'!\n", channel_name);
+-        return ctr;
++        goto out;
+     }
+     
+     INFO("[IIO-BUF] Creating buffer.\n");
+-    struct iio_buffer *rxbuf = iio_device_create_buffer(dev, 1, false);
++    struct iio_buffer *rxbuf = iio_device_get_buffer(dev, 0);
+     if (!rxbuf) {
+-        fprintf(stderr, "Failed to allocated buffer: %m\n");
+-        return ctr;
++        fprintf(stderr, "Device has no buffer.\n");
++        goto out;
++    }
++    /* A single block of a single sample: each capture waits for a fresh sample */
++    stream = iio_buffer_create_stream(rxbuf, 1, 1, mask);
++    err = iio_err(stream);
++    if (err) {
++        stream = NULL;
++        fprintf(stderr, "Failed to allocated buffer: %s\n", strerror(-err));
++        goto out;
+     }
+     
+     // Load scale
+@@ -124,7 +141,7 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int
+     const struct iio_data_format *fmt = iio_channel_get_data_format(ch);
+     if (!fmt) {
+         fprintf(stderr, "Failed to fetch channel format.\n");
+-        return ctr;
++        goto out;
+     }
+     if (fmt->with_scale) {
+         scale = fmt->scale;
+@@ -133,14 +150,14 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int
+     INFO("[IIO-BUF] Data fmt: bits: %d | signed: %d | len: %d | rep: %d | scale: %f | has_scale: %d | shift: %d.\n", 
+            fmt->bits, fmt->is_signed, fmt->length, fmt->repeat, fmt->scale, fmt->with_scale, fmt->shift);
+ 
+-    const size_t read_size = fmt->bits / 8;
+     for (int i = 0; i < num_captures; i++) {
+-        int ret = iio_buffer_refill(rxbuf);
+-        INFO("[IIO-BUF] Refill ret: %d/%ld\n", ret, read_size);
+-        if (ret == read_size) {
++        const struct iio_block *block = iio_stream_get_next_block(stream);
++        err = iio_err(block);
++        INFO("[IIO-BUF] Refill ret: %d\n", err);
++        if (!err) {
+             int64_t val = 0;
+-            if (ret == read_size) {
+-                iio_channel_read(ch, rxbuf, &val, read_size);
++            size_t ret = iio_channel_read(ch, block, &val, sizeof(val), false);
++            if (ret > 0) {
+                 INFO("[IIO-BUF] Read %ld\n", val);
+                 double illuminance = (double)val * scale;
+                 ctr++;
+@@ -150,7 +167,14 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int
+         }
+         usleep(interval * 1000);
+     }
+-    iio_buffer_destroy(rxbuf);
++
++out:
++    if (stream) {
++        iio_stream_destroy(stream);
++    }
++    if (mask) {
++        iio_channels_mask_destroy(mask);
++    }
+     iio_context_destroy(local_ctx);
+     return ctr;
+ }
meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb +2 -0
index 037b94c3a2..57782ba537 100644
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 SRCREV = "d4e88b1d351d61151c99a399abd526d9b7dda12d"
 SRC_URI = "git://github.com/FedeDP/${BPN};protocol=https;branch=master;tag=${PV} \
+           file://0001-sensors-als-Port-to-libiio-1.0-API.patch \
 "
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 
 inherit cmake pkgconfig systemd features_check
 
author
#1 lore raw

PATCH 1/5 wolfssl: Restrict upstream check to stable release tags

The repository also carries wolfEntropy and wolfRand tags; the version check reported wolfEntropyv7.0.0 as a wolfssl 7.0.0 release.

AI-Generated: Uses Claude Code

---
 meta-networking/recipes-connectivity/wolfssl/wolfssl_5.9.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/wolfssl/wolfssl_5.9.4.bb +2 -0
index a2b41b2d3c..0259115bc8 100644
@@ -19,6 +19,8 @@ SRC_URI = " \
 
 SRCREV = "3c5eead44904df64e6a5a1f4ebdce377d35a849a"
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)-stable"
+
 
 inherit autotools ptest
 
author
#2 lore raw

PATCH 1/55 sdbus-c++: Fix flaky integration tests on slow machines

In reply to Khem Raj

sdbus-c++-integration-tests fails intermittently in the ptest image on qemuarm64 (qemu TCG, no KVM) when the build host is busy running other testimage tasks:

- CallsMethodWithLargeArgument sends ~30 MB in one method call with the default 25 second D-Bus timeout. That takes 13-16 s on an idle qemu and 40-50 s under load, so it fails with org.freedesktop.DBus.Error.Timeout. Use a 120 second timeout.

- ThrowsTimeoutErrorWhen{Method,ClientSideAsyncMethod}TimesOut require the timeout error within 50 ms; under load it took up to 57 ms. Allow 500 ms, still well below the 1 s operation the tests time out.

With both patches, 10 repeats of the integration tests under heavy host and guest CPU contention pass; without them 4 of 10 failed.

AI-Generated: Uses Claude Code

---
 ...er-timeout-for-the-large-argument-me.patch | 40 ++++++++++++++
 ...measured-timeout-bound-in-timeout-te.patch | 52 +++++++++++++++++++
 .../recipes-core/sdbus-c++/sdbus-c++_2.3.1.bb |  2 +
 3 files changed, 94 insertions(+)
 create mode 100644 meta-oe/recipes-core/sdbus-c++/sdbus-c++/0002-tests-Use-a-longer-timeout-for-the-large-argument-me.patch
 create mode 100644 meta-oe/recipes-core/sdbus-c++/sdbus-c++/0003-tests-Relax-the-measured-timeout-bound-in-timeout-te.patch
meta-oe/recipes-core/sdbus-c++/sdbus-c++/0002-tests-Use-a-longer-timeout-for-the-large-argument-me.patch new file +40 -0
new file mode 100644
index 0000000000..5737a4a88b
@@ -0,0 +1,40 @@
+From 1c000e89c9a1ebe914ef8a581de7a2fbab629fd9 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Sat, 31 Oct 2026 10:45:54 -0700
+Subject: [PATCH 1/2] tests: Use a longer timeout for the large argument method
+ call
+
+CallsMethodWithLargeArgument sends a map of 400000 strings (about 30 MB)
+in one synchronous method call with the default 25 second D-Bus method
+call timeout. Marshalling, transferring and unmarshalling that much data
+takes 13-16 seconds on an idle emulated (qemu TCG) aarch64 machine and
+more than 40 seconds when the host is busy, so the test fails with
+org.freedesktop.DBus.Error.Timeout.
+
+Call the method with an explicit 120 second timeout instead.
+
+Upstream-Status: Submitted [https://github.com/Kistler-Group/sdbus-cpp/pull/564]
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ tests/integrationtests/DBusMethodsTests.cpp | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/tests/integrationtests/DBusMethodsTests.cpp b/tests/integrationtests/DBusMethodsTests.cpp
+index 345cf4e..3066317 100644
+--- a/tests/integrationtests/DBusMethodsTests.cpp
++++ b/tests/integrationtests/DBusMethodsTests.cpp
+@@ -309,7 +309,12 @@ TYPED_TEST(SdbusTestObject, CallsMethodWithLargeArgument)
+         //totalSize += sizeof(int) + collection[i].size();
+     }
+     //printf("Sending large message with collection of size %zu bytes\n", totalSize);
+-    this->m_proxy->sendLargeMessage(collection);
++    // Marshalling and transferring ~30 MB takes long on slow (e.g. emulated) machines,
++    // so don't let the call run into the default 25s method call timeout
++    this->m_proxy->getProxy().callMethod("sendLargeMessage")
++                             .onInterface("org.sdbuscpp.integrationtests")
++                             .withTimeout(120s)
++                             .withArguments(collection);
+ }
+ 
+ TYPED_TEST(SdbusTestObject, CanSendCallsAndReceiveRepliesWithLargeData)
meta-oe/recipes-core/sdbus-c++/sdbus-c++/0003-tests-Relax-the-measured-timeout-bound-in-timeout-te.patch new file +52 -0

52 lines not on this page · raw message

meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.3.1.bb +2 -0
index b752025dd4..276132273d 100644
@@ -19,6 +19,8 @@ DEPENDS += "expat"
 SRCREV = "ca073434d2c03c2b619f7e23f285cebbf32c7e46"
 SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master;tag=v${PV} \
            file://0001-test-Fix-error-factory-test-for-musl-libc-compatibil.patch \
+           file://0002-tests-Use-a-longer-timeout-for-the-large-argument-me.patch \
+           file://0003-tests-Relax-the-measured-timeout-bound-in-timeout-te.patch \
            file://run-ptest"
 
 EXTRA_OECMAKE = "-DSDBUSCPP_BUILD_CODEGEN=OFF \
author
#3 lore raw

PATCH 2/5 frr: Backport libyang 5.x/6.x API support

In reply to Khem Raj

FRR 10.7.1 does not build against libyang 5.x or 6.x: lyd_new_term_bin(), lyd_change_term_bin() and LYD_ANYDATA_VALUETYPE are gone, lyd_new_path2() and lyd_new_list() changed parameters, LY_ARRAY_COUNT became LYA_COUNT and the internal YANG modules are now loaded from the filesystem.

Backport the libyang API changes from FRR master (PRs #21459 and #23988) as one patch, in preparation for the libyang 6.4.13 upgrade. No FRR release carries them yet. Checked with a host build of the patched 10.7.1 against libyang 6.4.13; the unpatched tree fails there. The backported code still supports libyang >= 2.1.128.

Anchor UPSTREAM_CHECK_GITTAGREGEX so only frr-X.Y[.Z] release tags match.

AI-Generated: Uses Claude Code

---
 ...-lib-Support-libyang-5.x-and-6.x-API.patch | 1037 +++++++++++++++++
 .../recipes-protocols/frr/frr_10.7.1.bb       |    3 +-
 2 files changed, 1039 insertions(+), 1 deletion(-)
 create mode 100644 meta-networking/recipes-protocols/frr/frr/0003-lib-Support-libyang-5.x-and-6.x-API.patch
meta-networking/recipes-protocols/frr/frr/0003-lib-Support-libyang-5.x-and-6.x-API.patch new file +1037 -0
new file mode 100644
index 0000000000..3f798235a4
@@ -0,0 +1,1037 @@
+From 9e738d6f2fa385e308b53acb351e08d6959f4024 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Sun, 22 Nov 2026 23:36:38 -0800
+Subject: [PATCH] lib: Support libyang 5.x and 6.x API
+
+libyang 5.x and 6.x removed lyd_new_term_bin(), lyd_change_term_bin()
+and LYD_ANYDATA_VALUETYPE, changed the lyd_new_path2() and
+lyd_new_list() parameters, renamed LY_ARRAY_COUNT to LYA_COUNT and no
+longer embeds its internal YANG modules, so FRR 10.7.1 fails to build
+against them. Backport the FRR master changes that handle this:
+
+93efe414c lib: Remove ly_strerrcode(), ly_strvecode() replacements
+612508b1a lib: Remove lyd_new_ext_term(), lyd_change_term_bin() wrappers
+7d090ee1a lib: Remove parameter from wrapper for lyd_new_path2()
+bc48c533c lib: Adjust parameters to wrapper for lyd_new_list()
+849a12bab lib: Use lyd_new_term() in generic getter functions
+e5da38bfc lib: Replace use of lyd_new_term_bin()
+e5018afba lib: Add ly_yang_module_dir() to search directories
+21f1ad831 lib: Ensure LY_ARRAY_COUNT is defined
+c287e27b9 build: Remove libyang 4.x-specific warning
+5ba394a63 lib: yang: Tweak code ordering in header file
+778f1fa9e lib: yang: Adjust conditionals that handle renamed macros
+05b67d075 lib: yang: Fix log message formatting
+
+Upstream-Status: Backport [https://github.com/FRRouting/frr/pull/21459, https://github.com/FRRouting/frr/pull/23988]
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ configure.ac                          |  16 +--
+ lib/if.c                              |  80 ++---------
+ lib/mgmt_be_client.c                  |  22 +--
+ lib/northbound.c                      |   5 +-
+ lib/northbound.h                      |  18 +++
+ lib/northbound_cli.c                  |   4 +-
+ lib/northbound_grpc.cpp               |   6 +-
+ lib/northbound_oper.c                 | 191 +++++++++++++++++---------
+ lib/yang.c                            | 185 ++++++-------------------
+ lib/yang.h                            |  49 +++----
+ mgmtd/mgmt_vty_frontend.c             |   4 +-
+ tests/lib/northbound/test_oper_data.c |   7 +-
+ 12 files changed, 238 insertions(+), 349 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 8778c24f2..85a25e933 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2094,20 +2094,6 @@ PKG_CHECK_MODULES([LIBYANG], [libyang >= 2.1.128], , [
+ AC_MSG_ERROR([m4_normalize([libyang >= 2.1.128 is required, and was not found on your system.
+ Please consult doc/developer/building-libyang.rst for instructions on installing or building libyang.])])])
+ 
+-LIBYANG_MAJOR=$(pkg-config --modversion libyang | cut -f1 -d.)
+-if test "$LIBYANG_MAJOR" -ge 4 && test "$LIBYANG_MAJOR" -lt 5; then
+-  dnl NOTE: binary encoding (LYD_LYB) is no longer supported in v4,
+-  dnl so v3 may be more efficient for certain use cases
+-  AC_MSG_WARN([m4_normalize([
+-    Libyang v4 is supported; however libyang v3 or v5+ is suggested. Libyang
+-    v4 changed its binary encoding (LYD_LYB) format to a very restricted
+-    subset of users which does not include FRR. This mean FRR will always use
+-    JSON or XML even when passing intermediate results internally. This restriction
+-    was reverted in v5.
+-    ])
+-  ])
+-fi
+-
+ ac_cflags_save="$CFLAGS"
+ CFLAGS="$CFLAGS $LIBYANG_CFLAGS"
+ AC_CHECK_MEMBER([struct lyd_node.priv], [], [
+@@ -2121,7 +2107,7 @@ AC_CHECK_LIB([yang],[lyd_find_xpath3],[],[AC_MSG_ERROR([m4_normalize([
+ libyang missing lyd_find_xpath3])])])
+ dnl -- don't add lyd_new_list3 to this list unless bug is fixed upstream
+ dnl -- https://github.com/CESNET/libyang/issues/2149
+-AC_CHECK_FUNCS([ly_strerrcode ly_strvecode lyd_trim_xpath])
++AC_CHECK_FUNCS([ly_yang_module_dir lyd_trim_xpath])
+ 
+ CFLAGS="$ac_cflags_save"
+ 
+diff --git a/lib/if.c b/lib/if.c
+index 2791481be..04570114b 100644
+--- a/lib/if.c
++++ b/lib/if.c
+@@ -1762,71 +1762,6 @@ static enum nb_error lib_interface_vrf_get(const struct nb_node *nb_node, const
+ 	return NB_OK;
+ }
+ 
+-/*
+- * XPath: /frr-interface:lib/interface/state/if-index
+- */
+-static enum nb_error lib_interface_state_if_index_get(const struct nb_node *nb_node,
+-						      const void *list_entry,
+-						      struct lyd_node *parent)
+-{
+-	const struct lysc_node *snode = nb_node->snode;
+-	const struct interface *ifp = list_entry;
+-	int32_t value = ifp->ifindex;
+-
+-	if (yang_new_term_bin(parent, snode->module, snode->name, &value, sizeof(value),
+-			      LYD_NEW_PATH_UPDATE, NULL))
+-		return NB_ERR_RESOURCE;
+-	return NB_OK;
+-}
+-
+-/*
+- * XPath: /frr-interface:lib/interface/state/mtu[6]
+- */
+-static enum nb_error lib_interface_state_mtu_get(const struct nb_node *nb_node,
+-						 const void *list_entry, struct lyd_node *parent)
+-{
+-	const struct lysc_node *snode = nb_node->snode;
+-	const struct interface *ifp = list_entry;
+-	uint32_t value = ifp->mtu;
+-
+-	if (yang_new_term_bin(parent, snode->module, snode->name, &value, sizeof(value),
+-			      LYD_NEW_PATH_UPDATE, NULL))
+-		return NB_ERR_RESOURCE;
+-	return NB_OK;
+-}
+-
+-/*
+- * XPath: /frr-interface:lib/interface/state/speed
+- */
+-static enum nb_error lib_interface_state_speed_get(const struct nb_node *nb_node,
+-						   const void *list_entry, struct lyd_node *parent)
+-{
+-	const struct lysc_node *snode = nb_node->snode;
+-	const struct interface *ifp = list_entry;
+-	uint32_t value = ifp->speed;
+-
+-	if (yang_new_term_bin(parent, snode->module, snode->name, &value, sizeof(value),
+-			      LYD_NEW_PATH_UPDATE, NULL))
+-		return NB_ERR_RESOURCE;
+-	return NB_OK;
+-}
+-
+-/*
+- * XPath: /frr-interface:lib/interface/state/metric
+- */
+-static enum nb_error lib_interface_state_metric_get(const struct nb_node *nb_node,
+-						    const void *list_entry, struct lyd_node *parent)
+-{
+-	const struct lysc_node *snode = nb_node->snode;
+-	const struct interface *ifp = list_entry;
+-	uint32_t value = ifp->metric;
+-
+-	if (yang_new_term_bin(parent, snode->module, snode->name, &value, sizeof(value),
+-			      LYD_NEW_PATH_UPDATE, NULL))
+-		return NB_ERR_RESOURCE;
+-	return NB_OK;
+-}
+-
+ /*
+  * XPath: /frr-interface:lib/interface/state/phy-address
+  */
+@@ -1877,31 +1812,36 @@ const struct frr_yang_module_info frr_interface_info = {
+ 		{
+ 			.xpath = "/frr-interface:lib/interface/state/if-index",
+ 			.cbs = {
+-				.get = lib_interface_state_if_index_get,
++				.get = nb_oper_int32_get,
++				.get_elem = (void *)(intptr_t)offsetof(struct interface, ifindex),
+ 			}
+ 		},
+ 		{
+ 			.xpath = "/frr-interface:lib/interface/state/mtu",
+ 			.cbs = {
+-				.get = lib_interface_state_mtu_get,
++				.get = nb_oper_uint32_get,
++				.get_elem = (void *)(intptr_t)offsetof(struct interface, mtu),
+ 			}
+ 		},
+ 		{
+ 			.xpath = "/frr-interface:lib/interface/state/mtu6",
+ 			.cbs = {
+-				.get = lib_interface_state_mtu_get,
++				.get = nb_oper_uint32_get,
++				.get_elem = (void *)(intptr_t)offsetof(struct interface, mtu),
+ 			}
+ 		},
+ 		{
+ 			.xpath = "/frr-interface:lib/interface/state/speed",
+ 			.cbs = {
+-				.get = lib_interface_state_speed_get,
++				.get = nb_oper_uint32_get,
++				.get_elem = (void *)(intptr_t)offsetof(struct interface, speed),
+ 			}
+ 		},
+ 		{
+ 			.xpath = "/frr-interface:lib/interface/state/metric",
+ 			.cbs = {
+-				.get = lib_interface_state_metric_get,
++				.get = nb_oper_uint32_get,
++				.get_elem = (void *)(intptr_t)offsetof(struct interface, metric),
+ 			}
+ 		},
+ 		{
+diff --git a/lib/mgmt_be_client.c b/lib/mgmt_be_client.c
+index 42b4ce974..2a7654e32 100644
+--- a/lib/mgmt_be_client.c
++++ b/lib/mgmt_be_client.c
+@@ -851,7 +851,7 @@ static void be_client_handle_rpc(struct mgmt_be_client *client, uint64_t txn_id,
+ 		 * It is especially needed for actions, because their parents
+ 		 * may hold necessary information.
+ 		 */
+-		err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, 0, NULL, &input);
++		err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, NULL, &input);
+ 	}
+ 	if (err) {
+ 		be_client_send_error(client, txn_id, rpc_msg->req_id, false, -EINVAL,
+@@ -859,7 +859,7 @@ static void be_client_handle_rpc(struct mgmt_be_client *client, uint64_t txn_id,
+ 		return;
+ 	}
+ 
+-	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, 0, NULL, &output);
++	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, NULL, &output);
+ 	if (err) {
+ 		lyd_free_all(input);
+ 		be_client_send_error(client, txn_id, rpc_msg->req_id, false,
+@@ -1244,15 +1244,16 @@ static enum nb_error clients_client_state_candidate_config_version_get(
+ 	const struct nb_node *nb_node, const void *parent_list_entry, struct lyd_node *parent)
+ {
+ 	const struct lysc_node *snode = nb_node->snode;
+-	uint64_t value;
++	uint64_t version;
++	char value[21]; /* UINT64_MAX has 20 digits */
+ 
+ 	if (__be_client->config_txn)
+-		value = __be_client->config_txn->candidate_config->version;
++		version = __be_client->config_txn->candidate_config->version;
+ 	else
+-		value = __be_client->running_config->version;
++		version = __be_client->running_config->version;
+ 
+-	if (yang_new_term_bin(parent, snode->module, snode->name, &value, sizeof(value),
+-			      LYD_NEW_PATH_UPDATE, NULL))
++	snprintfrr(value, sizeof(value), "%" PRIu64, version);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
+ 		return NB_ERR_RESOURCE;
+ 
+ 	return NB_OK;
+@@ -1266,10 +1267,11 @@ static enum nb_error clients_client_state_running_config_version_get(const struc
+ 								     struct lyd_node *parent)
+ {
+ 	const struct lysc_node *snode = nb_node->snode;
+-	uint64_t value = __be_client->running_config->version;
++	uint64_t version = __be_client->running_config->version;
++	char value[21]; /* UINT64_MAX has 20 digits */
+ 
+-	if (yang_new_term_bin(parent, snode->module, snode->name, &value, sizeof(value),
+-			      LYD_NEW_PATH_UPDATE, NULL))
++	snprintfrr(value, sizeof(value), "%" PRIu64, version);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
+ 		return NB_ERR_RESOURCE;
+ 
+ 	return NB_OK;
+diff --git a/lib/northbound.c b/lib/northbound.c
+index ac004d27c..6bfa8b204 100644
+--- a/lib/northbound.c
++++ b/lib/northbound.c
+@@ -738,7 +738,7 @@ static LY_ERR dnode_create(struct nb_config *candidate, const char *xpath, const
+ 	struct lyd_node *dnode = NULL;
+ 	LY_ERR err;
+ 
+-	err = yang_new_path2(candidate->dnode, ly_native_ctx, xpath, value, 0, 0, options, NULL,
++	err = yang_new_path2(candidate->dnode, ly_native_ctx, xpath, value, 0, options, NULL,
+ 			     &dnode);
+ 	if (err) {
+ 		flog_warn(EC_LIB_LIBYANG, "%s: lyd_new_path(%s) failed: %d",
+@@ -907,8 +907,7 @@ static int nb_candidate_edit_tree_add(struct nb_config *candidate,
+ 	 * merged later with candidate.
+ 	 */
+ 	if (parent_xpath) {
+-		err = yang_new_path2(NULL, ly_native_ctx, parent_xpath, NULL, 0, 0, 0, &tree,
+-				     &parent);
++		err = yang_new_path2(NULL, ly_native_ctx, parent_xpath, NULL, 0, 0, &tree, &parent);
+ 		if (err) {
+ 			yang_print_errors(ly_native_ctx, errmsg, errmsg_len);
+ 			ret = NB_ERR;
+diff --git a/lib/northbound.h b/lib/northbound.h
+index f48cc34e3..f1d10702d 100644
+--- a/lib/northbound.h
++++ b/lib/northbound.h
+@@ -1610,6 +1610,24 @@ extern void *nb_oper_walk_finish_arg(void *walk);
+ extern void *nb_oper_walk_cb_arg(void *walk);
+ 
+ /* Generic getter functions */
++extern enum nb_error nb_oper_int8_get(const struct nb_node *nb_node,
++				      const void *parent_list_entry, struct lyd_node *parent);
++
++extern enum nb_error nb_oper_int16_get(const struct nb_node *nb_node,
++				       const void *parent_list_entry, struct lyd_node *parent);
++
++extern enum nb_error nb_oper_int32_get(const struct nb_node *nb_node,
++				       const void *parent_list_entry, struct lyd_node *parent);
++
++extern enum nb_error nb_oper_int64_get(const struct nb_node *nb_node,
++				       const void *parent_list_entry, struct lyd_node *parent);
++
++extern enum nb_error nb_oper_uint8_get(const struct nb_node *nb_node,
++				       const void *parent_list_entry, struct lyd_node *parent);
++
++extern enum nb_error nb_oper_uint16_get(const struct nb_node *nb_node,
++					const void *parent_list_entry, struct lyd_node *parent);
++
+ extern enum nb_error nb_oper_uint32_get(const struct nb_node *nb_node,
+ 					const void *parent_list_entry, struct lyd_node *parent);
+ 
+diff --git a/lib/northbound_cli.c b/lib/northbound_cli.c
+index 98ac568f7..b8ff194e0 100644
+--- a/lib/northbound_cli.c
++++ b/lib/northbound_cli.c
+@@ -298,7 +298,7 @@ int nb_cli_rpc(struct vty *vty, const char *xpath, struct lyd_node **output_p)
+ 	}
+ 
+ 	/* create input tree */
+-	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, 0, NULL, &input);
++	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, NULL, &input);
+ 	assert(err == LY_SUCCESS);
+ 
+ 	for (size_t i = 0; i < vty->num_rpc_params; i++) {
+@@ -319,7 +319,7 @@ int nb_cli_rpc(struct vty *vty, const char *xpath, struct lyd_node **output_p)
+ 	assert(err == LY_SUCCESS);
+ 
+ 	/* create output tree root for population in the callback */
+-	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, 0, NULL, &output);
++	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, NULL, &output);
+ 	assert(err == LY_SUCCESS);
+ 
+ 	ret = nb_callback_rpc(nb_node, xpath, input, output, errmsg,
+diff --git a/lib/northbound_grpc.cpp b/lib/northbound_grpc.cpp
+index 97d5418a9..25ef9fa9a 100644
+--- a/lib/northbound_grpc.cpp
++++ b/lib/northbound_grpc.cpp
+@@ -1032,8 +1032,7 @@ grpc::Status HandleUnaryExecute(
+ 				    "Unknown data path");
+ 
+ 	// Create input data tree.
+-	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, (LYD_ANYDATA_VALUETYPE)0, 0,
+-			     NULL, &input_tree);
++	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, NULL, &input_tree);
+ 	if (err != LY_SUCCESS) {
+ 		return grpc::Status(grpc::StatusCode::INVALID_ARGUMENT,
+ 				    "Invalid data path");
+@@ -1061,8 +1060,7 @@ grpc::Status HandleUnaryExecute(
+ 	}
+ 
+ 	// Create output data tree.
+-	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, (LYD_ANYDATA_VALUETYPE)0, 0,
+-			     NULL, &output_tree);
++	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, NULL, &output_tree);
+ 	if (err != LY_SUCCESS) {
+ 		lyd_free_tree(input_tree);
+ 		return grpc::Status(grpc::StatusCode::INVALID_ARGUMENT,
+diff --git a/lib/northbound_oper.c b/lib/northbound_oper.c
+index 1c9984867..23e0d854d 100644
+--- a/lib/northbound_oper.c
++++ b/lib/northbound_oper.c
+@@ -441,7 +441,7 @@ static enum nb_error nb_op_xpath_to_trunk(const char *xpath_in, char **xpath_out
+ 
+ 	ly_temp_log_options(&llopts);
+ 	for (;;) {
+-		err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, LYD_NEW_PATH_UPDATE,
++		err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, LYD_NEW_PATH_UPDATE,
+ 				     NULL, trunk);
+ 		if (err == LY_SUCCESS)
+ 			break;
+@@ -1555,10 +1555,9 @@ static enum nb_error _walk(struct nb_op_yield_state *ys, bool is_resume)
+ 					ys->non_specific_predicate[at_clevel] = true;
+ 				else {
+ 					flog_err(EC_LIB_NB_OPERATIONAL_DATA,
+-						  "%s: unable to create node for specific query string: %s: %s",
+-						  __func__,
+-						  ys->query_tokens[at_clevel],
+-						  yang_ly_strerrcode(err));
++						 "%s: unable to create node for specific query string: %s: %s",
++						 __func__, ys->query_tokens[at_clevel],
++						 ly_strerrcode(err));
+ 					ret = NB_ERR;
+ 					goto done;
+ 				}
+@@ -1829,7 +1828,8 @@ static enum nb_error _walk(struct nb_op_yield_state *ys, bool is_resume)
+ 			 */
+ 
+ 			if (!node) {
+-				err = yang_lyd_new_list(ni[-1].inner, sib, &ni->keys, &node);
++				err = yang_lyd_new_list(ni[-1].inner, sib->module, sib->name,
++							&ni->keys, &node);
+ 				if (err) {
+ 					ret = NB_ERR_RESOURCE;
+ 					goto done;
+@@ -2226,7 +2226,7 @@ static void *nb_op_root_walk_branch_finished(struct nb_op_yield_state *ys, enum
+ 				if (err) {
+ 					flog_err(EC_LIB_NB_OPERATIONAL_DATA,
+ 						 "%s: unable to merge data tree: %s", __func__,
+-						 yang_ly_strerrcode(err));
++						 ly_strerrcode(err));
+ 					ret = NB_ERR_RESOURCE;
+ 					break;
+ 				}
+@@ -2346,69 +2346,113 @@ enum nb_error nb_oper_iterate_legacy(const char *xpath,
+ 	return ret;
+ }
+ 
+-static const char *_adjust_ptr(struct lysc_node_leaf *lsnode, const char *valuep, size_t *size)
++enum nb_error nb_oper_int8_get(const struct nb_node *nb_node, const void *parent_list_entry,
++			       struct lyd_node *parent)
+ {
+-	switch (lsnode->type->basetype) {
+-	case LY_TYPE_INT8:
+-	case LY_TYPE_UINT8:
+-#if BYTE_ORDER == BIG_ENDIAN
+-		valuep += 7;
+-#endif
+-		*size = 1;
+-		break;
+-	case LY_TYPE_INT16:
+-	case LY_TYPE_UINT16:
+-#if BYTE_ORDER == BIG_ENDIAN
+-		valuep += 6;
+-#endif
+-		*size = 2;
+-		break;
+-	case LY_TYPE_INT32:
+-	case LY_TYPE_UINT32:
+-#if BYTE_ORDER == BIG_ENDIAN
+-		valuep += 4;
+-#endif
+-		*size = 4;
+-		break;
+-	case LY_TYPE_INT64:
+-	case LY_TYPE_UINT64:
+-		*size = 8;
+-		break;
+-	case LY_TYPE_UNKNOWN:
+-	case LY_TYPE_BINARY:
+-	case LY_TYPE_STRING:
+-	case LY_TYPE_BITS:
+-	case LY_TYPE_BOOL:
+-	case LY_TYPE_DEC64:
+-	case LY_TYPE_EMPTY:
+-	case LY_TYPE_ENUM:
+-	case LY_TYPE_IDENT:
+-	case LY_TYPE_INST:
+-	case LY_TYPE_LEAFREF:
+-	case LY_TYPE_UNION:
+-	default:
+-		assert(0);
+-	}
+-	return valuep;
++	struct lysc_node_leaf *lsnode = (struct lysc_node_leaf *)nb_node->snode;
++	struct lysc_node *snode = &lsnode->node;
++	ssize_t offset = (ssize_t)nb_node->cbs.get_elem;
++	void *valuep = (char *)parent_list_entry + offset;
++	char value[5]; /* INT8_MIN has a sign and then 3 digits */
++
++	if (lsnode->type->basetype != LY_TYPE_INT8)
++		return NB_ERR_VALIDATION;
++
++	snprintfrr(value, sizeof(value), "%" PRId8, *(int8_t *)valuep);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
++		return NB_ERR_RESOURCE;
++	return NB_OK;
+ }
+ 
+-enum nb_error nb_oper_uint64_get(const struct nb_node *nb_node, const void *parent_list_entry,
+-				 struct lyd_node *parent)
++enum nb_error nb_oper_int16_get(const struct nb_node *nb_node, const void *parent_list_entry,
++				struct lyd_node *parent)
++{
++	struct lysc_node_leaf *lsnode = (struct lysc_node_leaf *)nb_node->snode;
++	struct lysc_node *snode = &lsnode->node;
++	ssize_t offset = (ssize_t)nb_node->cbs.get_elem;
++	void *valuep = (char *)parent_list_entry + offset;
++	char value[7]; /* INT16_MIN has a sign and then 5 digits */
++
++	if (lsnode->type->basetype != LY_TYPE_INT16)
++		return NB_ERR_VALIDATION;
++
++	snprintfrr(value, sizeof(value), "%" PRId16, *(int16_t *)valuep);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
++		return NB_ERR_RESOURCE;
++	return NB_OK;
++}
++
++enum nb_error nb_oper_int32_get(const struct nb_node *nb_node, const void *parent_list_entry,
++				struct lyd_node *parent)
++{
++	struct lysc_node_leaf *lsnode = (struct lysc_node_leaf *)nb_node->snode;
++	struct lysc_node *snode = &lsnode->node;
++	ssize_t offset = (ssize_t)nb_node->cbs.get_elem;
++	void *valuep = (char *)parent_list_entry + offset;
++	char value[12]; /* INT32_MIN has a sign and then 10 digits */
++
++	if (lsnode->type->basetype != LY_TYPE_INT32)
++		return NB_ERR_VALIDATION;
++
++	snprintfrr(value, sizeof(value), "%" PRId32, *(int32_t *)valuep);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
++		return NB_ERR_RESOURCE;
++	return NB_OK;
++}
++
++enum nb_error nb_oper_int64_get(const struct nb_node *nb_node, const void *parent_list_entry,
++				struct lyd_node *parent)
++{
++	struct lysc_node_leaf *lsnode = (struct lysc_node_leaf *)nb_node->snode;
++	struct lysc_node *snode = &lsnode->node;
++	ssize_t offset = (ssize_t)nb_node->cbs.get_elem;
++	void *valuep = (char *)parent_list_entry + offset;
++	char value[22]; /* INT64_MIN has a sign and then 20 digits */
++
++	if (lsnode->type->basetype != LY_TYPE_INT64)
++		return NB_ERR_VALIDATION;
++
++	snprintfrr(value, sizeof(value), "%" PRId64, *(int64_t *)valuep);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
++		return NB_ERR_RESOURCE;
++	return NB_OK;
++}
++
++enum nb_error nb_oper_uint8_get(const struct nb_node *nb_node, const void *parent_list_entry,
++				struct lyd_node *parent)
+ {
+ 	struct lysc_node_leaf *lsnode = (struct lysc_node_leaf *)nb_node->snode;
+ 	struct lysc_node *snode = &lsnode->node;
+ 	ssize_t offset = (ssize_t)nb_node->cbs.get_elem;
+-	uint64_t ubigval = *(uint64_t *)((char *)parent_list_entry + offset);
+-	const char *valuep;
+-	size_t size;
++	void *valuep = (char *)parent_list_entry + offset;
++	char value[4]; /* UINT8_MAX has 3 digits */
+ 
+-	valuep = _adjust_ptr(lsnode, (const char *)&ubigval, &size);
+-	if (yang_new_term_bin(parent, snode->module, snode->name, valuep, size,
+-			      LYD_NEW_PATH_UPDATE, NULL))
++	if (lsnode->type->basetype != LY_TYPE_UINT8)
++		return NB_ERR_VALIDATION;
++
++	snprintfrr(value, sizeof(value), "%" PRIu8, *(uint8_t *)valuep);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
+ 		return NB_ERR_RESOURCE;
+ 	return NB_OK;
+ }
+ 
++enum nb_error nb_oper_uint16_get(const struct nb_node *nb_node, const void *parent_list_entry,
++				 struct lyd_node *parent)
++{
++	struct lysc_node_leaf *lsnode = (struct lysc_node_leaf *)nb_node->snode;
++	struct lysc_node *snode = &lsnode->node;
++	ssize_t offset = (ssize_t)nb_node->cbs.get_elem;
++	void *valuep = (char *)parent_list_entry + offset;
++	char value[6]; /* UINT16_MAX has 5 digits */
++
++	if (lsnode->type->basetype != LY_TYPE_UINT16)
++		return NB_ERR_VALIDATION;
++
++	snprintfrr(value, sizeof(value), "%" PRIu16, *(uint16_t *)valuep);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
++		return NB_ERR_RESOURCE;
++	return NB_OK;
++}
+ 
+ enum nb_error nb_oper_uint32_get(const struct nb_node *nb_node, const void *parent_list_entry,
+ 				 struct lyd_node *parent)
+@@ -2416,13 +2460,32 @@ enum nb_error nb_oper_uint32_get(const struct nb_node *nb_node, const void *pare
+ 	struct lysc_node_leaf *lsnode = (struct lysc_node_leaf *)nb_node->snode;
+ 	struct lysc_node *snode = &lsnode->node;
+ 	ssize_t offset = (ssize_t)nb_node->cbs.get_elem;
+-	uint64_t ubigval = *(uint64_t *)((char *)parent_list_entry + offset);
+-	const char *valuep;
+-	size_t size;
++	void *valuep = (char *)parent_list_entry + offset;
++	char value[11]; /* UINT32_MAX has 10 digits */
++
++	if (lsnode->type->basetype != LY_TYPE_UINT32)
++		return NB_ERR_VALIDATION;
++
++	snprintfrr(value, sizeof(value), "%" PRIu32, *(uint32_t *)valuep);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
++		return NB_ERR_RESOURCE;
++	return NB_OK;
++}
++
++enum nb_error nb_oper_uint64_get(const struct nb_node *nb_node, const void *parent_list_entry,
++				 struct lyd_node *parent)
++{
++	struct lysc_node_leaf *lsnode = (struct lysc_node_leaf *)nb_node->snode;
++	struct lysc_node *snode = &lsnode->node;
++	ssize_t offset = (ssize_t)nb_node->cbs.get_elem;
++	void *valuep = (char *)parent_list_entry + offset;
++	char value[21]; /* UINT64_MAX has 20 digits */
++
++	if (lsnode->type->basetype != LY_TYPE_UINT64)
++		return NB_ERR_VALIDATION;
+ 
+-	valuep = _adjust_ptr(lsnode, (const char *)&ubigval, &size);
+-	if (yang_new_term_bin(parent, snode->module, snode->name, valuep, size,
+-			      LYD_NEW_PATH_UPDATE, NULL))
++	snprintfrr(value, sizeof(value), "%" PRIu64, *(uint64_t *)valuep);
++	if (lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL))
+ 		return NB_ERR_RESOURCE;
+ 	return NB_OK;
+ }
+diff --git a/lib/yang.c b/lib/yang.c
+index 0ea252d98..c32e6b881 100644
+--- a/lib/yang.c
++++ b/lib/yang.c
+@@ -707,7 +707,7 @@ struct lyd_node *yang_state_new(struct lyd_node *tree, const char *path, const c
+ 	struct lyd_node *dnode, *parent;
+ 	LY_ERR err;
+ 
+-	err = yang_new_path2(tree, ly_native_ctx, path, value, 0, 0, LYD_NEW_PATH_UPDATE, &parent,
++	err = yang_new_path2(tree, ly_native_ctx, path, value, 0, LYD_NEW_PATH_UPDATE, &parent,
+ 			     &dnode);
+ 	assert(err == LY_SUCCESS);
+ 
+@@ -886,9 +886,9 @@ static void ly_zlog_cb(LY_LOG_LEVEL level, const char *msg, const char *data_pat
+ 		zlog(priority, "libyang: %s (%s)", msg, data_path);
+ #if (LY_VERSION_MAJOR >= 3)
+ 	else if (schema_path)
+-		zlog(priority, "libyang %s (%s)\n", msg, schema_path);
++		zlog(priority, "libyang: %s (%s)", msg, schema_path);
+ 	else if (line)
+-		zlog(priority, "libyang %s (line %" PRIu64 ")\n", msg, line);
++		zlog(priority, "libyang: %s (line %" PRIu64 ")", msg, line);
+ #endif
+ 	else
+ 		zlog(priority, "libyang: %s", msg);
+@@ -916,7 +916,7 @@ LY_ERR yang_parse_data(const char *xpath, LYD_FORMAT format, bool as_subtree, bo
+ 		 * a common YANG JSON technique (vs XML which starts all
+ 		 * data trees from the root).
+ 		 */
+-		err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, 0, &parent, &subtree);
++		err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, &parent, &subtree);
+ 		if (err != LY_SUCCESS)
+ 			goto done;
+ 		err = lyd_find_path(parent, xpath, false, &subtree);
+@@ -1016,7 +1016,7 @@ LY_ERR yang_parse_restconf_rpc(const char *xpath, LYD_FORMAT format, const char
+ 		return LY_ENOTFOUND;
+ 	}
+ 	/* Get the tree for the RPC/Action */
+-	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, 0, NULL, &dnode);
++	err = yang_new_path2(NULL, ly_native_ctx, xpath, NULL, 0, 0, NULL, &dnode);
+ 	if (err) {
+ 		zlog_err("Failed to create parent node for action: %s", ly_last_errmsg());
+ 		goto done;
+@@ -1070,8 +1070,7 @@ LY_ERR yang_parse_rpc(const char *xpath, LYD_FORMAT format, const char *data, bo
+ 			return LY_EINVAL;
+ 		}
+ 
+-		err = yang_new_path2(NULL, ly_native_ctx, parent_xpath, NULL, 0, 0, 0, NULL,
+-				     &parent);
++		err = yang_new_path2(NULL, ly_native_ctx, parent_xpath, NULL, 0, 0, NULL, &parent);
+ 		XFREE(MTYPE_TMP, parent_xpath);
+ 		if (err) {
+ 			zlog_err("Failed to create parent node for action: %s",
+@@ -1230,12 +1229,13 @@ void yang_debugging_set(bool enable)
+ struct ly_ctx *yang_ctx_new_setup(bool embedded_modules, bool explicit_compile, bool load_library)
+ {
+ 	struct ly_ctx *ctx = NULL;
+-	const char *yang_models_path = YANG_MODELS_PATH;
++	char search_dir[PATH_MAX] = {};
+ 	uint options;
+ 	LY_ERR err;
+ 
+-	if (access(yang_models_path, R_OK | X_OK)) {
+-		yang_models_path = NULL;
++	if (access(YANG_MODELS_PATH, R_OK | X_OK) == 0) {
++		strlcat(search_dir, YANG_MODELS_PATH, sizeof(search_dir));
++	} else {
+ 		if (errno == ENOENT)
+ 			zlog_info("yang model directory \"%s\" does not exist",
+ 				  YANG_MODELS_PATH);
+@@ -1245,6 +1245,12 @@ struct ly_ctx *yang_ctx_new_setup(bool embedded_modules, bool explicit_compile,
+ 				     YANG_MODELS_PATH);
+ 	}
+ 
++#ifdef HAVE_LY_YANG_MODULE_DIR
++	if (search_dir[0])
++		strlcat(search_dir, ":", sizeof(search_dir));
++	strlcat(search_dir, ly_yang_module_dir(), sizeof(search_dir));
++#endif
++
+ 	options = LY_CTX_DISABLE_SEARCHDIR_CWD;
+ #if (LY_VERSION_MAJOR >= 4)
+ 	options |= LY_CTX_LYB_HASHES;
+@@ -1253,7 +1259,7 @@ struct ly_ctx *yang_ctx_new_setup(bool embedded_modules, bool explicit_compile,
+ 		options |= LY_CTX_NO_YANGLIBRARY;
+ 	if (explicit_compile)
+ 		options |= LY_CTX_EXPLICIT_COMPILE;
+-	err = ly_ctx_new(yang_models_path, options, &ctx);
++	err = ly_ctx_new(search_dir, options, &ctx);
+ 	if (err)
+ 		return NULL;
+ 
+@@ -1537,7 +1543,7 @@ int yang_xpath_pop_node(char *xpath)
+  * Safe to remove after libyang v2.1.xxx is required (.144 has a bug so
+  * something > .144) https://github.com/CESNET/libyang/issues/2149
+  */
+-LY_ERR yang_lyd_new_list(struct lyd_node *parent, const struct lysc_node *snode,
++LY_ERR yang_lyd_new_list(struct lyd_node *parent, const struct lys_module *module, const char *name,
+ 			 const struct yang_list_keys *list_keys, struct lyd_node **node)
+ {
+ #if defined(HAVE_LYD_NEW_LIST3) && 0
+@@ -1548,7 +1554,7 @@ LY_ERR yang_lyd_new_list(struct lyd_node *parent, const struct lysc_node *snode,
+ 	for (int i = 0; i < list_keys->num; i++)
+ 		keys[i] = list_keys->key[i];
+ 
+-	err = lyd_new_list3(parent, snode->module, snode->name, keys, NULL, 0, node);
++	err = lyd_new_list3(parent, module, name, keys, NULL, 0, node);
+ 	return err;
+ #else
+ 	struct lyd_node *pnode = parent;
+@@ -1557,36 +1563,28 @@ LY_ERR yang_lyd_new_list(struct lyd_node *parent, const struct lysc_node *snode,
+ 	assert(list_keys->num <= 8);
+ 	switch (list_keys->num) {
+ 	case 0:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node);
++		return lyd_new_list(pnode, module, name, false, node);
+ 	case 1:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node, keys[0]);
++		return lyd_new_list(pnode, module, name, false, node, keys[0]);
+ 	case 2:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node, keys[0], keys[1]);
++		return lyd_new_list(pnode, module, name, false, node, keys[0], keys[1]);
+ 	case 3:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node, keys[0], keys[1], keys[2]);
++		return lyd_new_list(pnode, module, name, false, node, keys[0], keys[1], keys[2]);
+ 	case 4:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node, keys[0], keys[1], keys[2], keys[3]);
++		return lyd_new_list(pnode, module, name, false, node, keys[0], keys[1], keys[2],
++				    keys[3]);
+ 	case 5:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node, keys[0], keys[1], keys[2], keys[3],
+-				    keys[4]);
++		return lyd_new_list(pnode, module, name, false, node, keys[0], keys[1], keys[2],
++				    keys[3], keys[4]);
+ 	case 6:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node, keys[0], keys[1], keys[2], keys[3],
+-				    keys[4], keys[5]);
++		return lyd_new_list(pnode, module, name, false, node, keys[0], keys[1], keys[2],
++				    keys[3], keys[4], keys[5]);
+ 	case 7:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node, keys[0], keys[1], keys[2], keys[3],
+-				    keys[4], keys[5], keys[6]);
++		return lyd_new_list(pnode, module, name, false, node, keys[0], keys[1], keys[2],
++				    keys[3], keys[4], keys[5], keys[6]);
+ 	case 8:
+-		return lyd_new_list(pnode, snode->module, snode->name, false,
+-				    node, keys[0], keys[1], keys[2], keys[3],
+-				    keys[4], keys[5], keys[6], keys[7]);
++		return lyd_new_list(pnode, module, name, false, node, keys[0], keys[1], keys[2],
++				    keys[3], keys[4], keys[5], keys[6], keys[7]);
+ 	}
+ 	_Static_assert(LIST_MAXKEYS == 8, "max key mismatch in switch unroll");
+ 	/*NOTREACHED*/
+@@ -1604,9 +1602,8 @@ LY_ERR yang_lyd_trim_xpath(struct lyd_node **root, const char *xpath)
+ #ifdef HAVE_LYD_TRIM_XPATH
+ 	err = lyd_trim_xpath(root, xpath, NULL);
+ 	if (err) {
+-		flog_err_sys(EC_LIB_LIBYANG,
+-			     "cannot obtain specific result for xpath \"%s\": %s",
+-			     xpath, yang_ly_strerrcode(err));
++		flog_err_sys(EC_LIB_LIBYANG, "cannot obtain specific result for xpath \"%s\": %s",
++			     xpath, ly_strerrcode(err));
+ 		return err;
+ 	}
+ 	return LY_SUCCESS;
+@@ -1621,9 +1618,8 @@ LY_ERR yang_lyd_trim_xpath(struct lyd_node **root, const char *xpath)
+ 	err = yang_lyd_find_xpath3(NULL, *root, xpath, LY_VALUE_JSON, NULL,
+ 				   NULL, &set);
+ 	if (err) {
+-		flog_err_sys(EC_LIB_LIBYANG,
+-			     "cannot obtain specific result for xpath \"%s\": %s",
+-			     xpath, yang_ly_strerrcode(err));
++		flog_err_sys(EC_LIB_LIBYANG, "cannot obtain specific result for xpath \"%s\": %s",
++			     xpath, ly_strerrcode(err));
+ 		return err;
+ 	}
+ 	/*
+@@ -1718,10 +1714,7 @@ LY_ERR yang_lyd_parse_data(const struct ly_ctx *ctx, struct lyd_node *parent,
+  * Handle NBC API changes between versions of Libyang
+  */
+ 
+-#undef lyd_new_term_bin
+-#undef lyd_change_term_bin
+ #undef lyd_new_path2
+-#undef lyd_new_ext_term
+ 
+ #if (LY_VERSION_MAJOR >= 4)
+ #define LY_SZ(x) ((x)*8)
+@@ -1729,110 +1722,12 @@ LY_ERR yang_lyd_parse_data(const struct ly_ctx *ctx, struct lyd_node *parent,
+ #define LY_SZ(x) (x)
+ #endif
+ 
+-LY_ERR yang_new_term_bin(struct lyd_node *parent, const struct lys_module *module,
+-			 const char *name, const void *value, uint32_t size, uint32_t options,
+-			 struct lyd_node **node)
+-{
+-	return lyd_new_term_bin(parent, module, name, value, LY_SZ(size), options, node);
+-}
+-
+-LY_ERR yang_change_term_bin(struct lyd_node *term, const void *value, uint32_t size)
+-{
+-	return lyd_change_term_bin(term, value, LY_SZ(size));
+-}
+-
+ LY_ERR yang_new_path2(struct lyd_node *parent, const struct ly_ctx *ctx, const char *path,
+-		      const void *value, uint32_t size, LYD_ANYDATA_VALUETYPE value_type,
+-		      uint32_t options, struct lyd_node **new_parent, struct lyd_node **new_node)
++		      const void *value, uint32_t value_size_bytes, uint32_t options,
++		      struct lyd_node **new_parent, struct lyd_node **new_node)
+ {
+-	return lyd_new_path2(parent, ctx, path, value, LY_SZ(size), value_type, options,
++	return lyd_new_path2(parent, ctx, path, value, LY_SZ(value_size_bytes), 0, options,
+ 			     new_parent, new_node);
+ }
+ 
+-#if (LY_VERSION_MAJOR >= 3) && (LY_VERSION_MAJOR < 5)
+-LY_ERR yang_new_ext_term(const struct lysc_ext_instance *ext, const char *name, const void *value,
+-			 uint32_t size, uint32_t options, struct lyd_node **node)
+-{
+-	return lyd_new_ext_term(ext, name, value, LY_SZ(size), options, node);
+-}
+-#endif
+ #undef LY_SZ
+-
+-/*
+- * Safe to remove after libyang v2.1.128 is required
+- */
+-const char *yang_ly_strerrcode(LY_ERR err)
+-{
+-#ifdef HAVE_LY_STRERRCODE
+-	return ly_strerrcode(err);
+-#else
+-	switch (err) {
+-	case LY_SUCCESS:
+-		return "ok";
+-	case LY_EMEM:
+-		return "out of memory";
+-	case LY_ESYS:
+-		return "system error";
+-	case LY_EINVAL:
+-		return "invalid value given";
+-	case LY_EEXIST:
+-		return "item exists";
+-	case LY_ENOTFOUND:
+-		return "item not found";
+-	case LY_EINT:
+-		return "operation interrupted";
+-	case LY_EVALID:
+-		return "validation failed";
+-	case LY_EDENIED:
+-		return "access denied";
+-	case LY_EINCOMPLETE:
+-		return "incomplete";
+-	case LY_ERECOMPILE:
+-		return "compile error";
+-	case LY_ENOT:
+-		return "not";
+-	case LY_EPLUGIN:
+-	case LY_EOTHER:
+-		return "other";
+-	default:
+-		return "unknown";
+-	}
+-#endif
+-}
+-
+-/*
+- * Safe to remove after libyang v2.1.128 is required
+- */
+-const char *yang_ly_strvecode(LY_VECODE vecode)
+-{
+-#ifdef HAVE_LY_STRVECODE
+-	return ly_strvecode(vecode);
+-#else
+-	switch (vecode) {
+-	case LYVE_SUCCESS:
+-		return "";
+-	case LYVE_SYNTAX:
+-		return "syntax";
+-	case LYVE_SYNTAX_YANG:
+-		return "yang-syntax";
+-	case LYVE_SYNTAX_YIN:
+-		return "yin-syntax";
+-	case LYVE_REFERENCE:
+-		return "reference";
+-	case LYVE_XPATH:
+-		return "xpath";
+-	case LYVE_SEMANTICS:
+-		return "semantics";
+-	case LYVE_SYNTAX_XML:
+-		return "xml-syntax";
+-	case LYVE_SYNTAX_JSON:
+-		return "json-syntax";
+-	case LYVE_DATA:
+-		return "data";
+-	case LYVE_OTHER:
+-		return "other";
+-	default:
+-		return "unknown";
+-	}
+-#endif
+-}
+diff --git a/lib/yang.h b/lib/yang.h
+index 2092c7f39..652df9a64 100644
+--- a/lib/yang.h
++++ b/lib/yang.h
+@@ -10,6 +10,7 @@
+ #include "memory.h"
+ 
+ #include <libyang/libyang.h>
++#include <libyang/version.h>
+ #ifdef HAVE_SYSREPO
+ #include <sysrepo.h>
+ #endif
+@@ -20,16 +21,25 @@
+ extern "C" {
+ #endif
+ 
+-#include <libyang/version.h>
+-#if (LY_VERSION_MAJOR >= 4)
++/* libyang 4.2.0+ */
++#ifdef LYD_PRINT_SIBLINGS
+ #define LYD_PRINT_WITHSIBLINGS LYD_PRINT_SIBLINGS
+ #endif
+ 
+-#if (LY_VERSION_MAJOR >= 5)
++/* libyang 4.7.0+ */
++#ifdef LYD_PARSE_LYB_SKIP_MODULE_CHECK
+ #define LYD_PARSE_LYB_SKIP_CTX_CHECK LYD_PARSE_LYB_SKIP_MODULE_CHECK
+-#define LYD_API_PARENT_TYPE(p)	     (p)
+-#else
++#endif
++
++/* libyang 6.3.0+ */
++#ifdef LYA_COUNT
++#define LY_ARRAY_COUNT LYA_COUNT
++#endif
++
++#if (LY_VERSION_MAJOR < 5)
+ #define LYD_API_PARENT_TYPE(p) ((struct lyd_node_inner *)(p))
++#else
++#define LYD_API_PARENT_TYPE(p) (p)
+ #endif
+ 
+ struct frr_yang_module_info;
+@@ -936,10 +946,9 @@ extern LY_ERR yang_resolve_snode_xpath(struct ly_ctx *ly_ctx, const char *xpath,
+ /*
+  * Libyang future functions
+  */
+-extern const char *yang_ly_strerrcode(LY_ERR err);
+-extern const char *yang_ly_strvecode(LY_VECODE vecode);
+-extern LY_ERR yang_lyd_new_list(struct lyd_node *parent, const struct lysc_node *snode,
+-				const struct yang_list_keys *keys, struct lyd_node **nodes);
++extern LY_ERR yang_lyd_new_list(struct lyd_node *parent, const struct lys_module *module,
++				const char *name, const struct yang_list_keys *keys,
++				struct lyd_node **nodes);
+ extern LY_ERR yang_lyd_trim_xpath(struct lyd_node **rootp, const char *xpath);
+ extern LY_ERR yang_lyd_parse_data(const struct ly_ctx *ctx,
+ 				  struct lyd_node *parent, struct ly_in *in,
+@@ -952,31 +961,11 @@ extern LY_ERR yang_lyd_parse_data(const struct ly_ctx *ctx,
+  * Handle NBC API changes between versions of Libyang
+  */
+ 
+-/* Use this helper function to deal with change in value_size units */
+-extern LY_ERR yang_new_term_bin(struct lyd_node *parent, const struct lys_module *module,
+-				const char *name, const void *value, uint32_t value_size,
+-				uint32_t options, struct lyd_node **node);
+-#define lyd_new_term_bin(...)                                                                     \
+-	_Pragma("GCC error \"Use yang_new_term_bin() instead of lyd_new_term_bin()\"")
+-
+-LY_ERR yang_change_term_bin(struct lyd_node *term, const void *value, uint32_t value_size_bits);
+-#define lyd_change_term_bin(...)                                                                  \
+-	_Pragma("GCC error \"Use yang_change_term_bin() instead of lyd_new_change_term_bin()\"")
+-
+ extern LY_ERR yang_new_path2(struct lyd_node *parent, const struct ly_ctx *ctx, const char *path,
+-			     const void *value, uint32_t value_size_bits,
+-			     LYD_ANYDATA_VALUETYPE value_type, uint32_t options,
++			     const void *value, uint32_t value_size_bytes, uint32_t options,
+ 			     struct lyd_node **new_parent, struct lyd_node **new_node);
+ #define lyd_new_path2(...) _Pragma("GCC error \"Use yang_new_path2() instead of lyd_new_path2()\"")
+ 
+-#if (LY_VERSION_MAJOR >= 3) && (LY_VERSION_MAJOR < 5)
+-extern LY_ERR yang_new_ext_term(const struct lysc_ext_instance *ext, const char *name,
+-				const void *value, uint32_t value_size_bits, uint32_t options,
+-				struct lyd_node **node);
+-#define lyd_new_ext_term(...)                                                                     \
+-	_Pragma("GCC error \"Use yang_new_ext_term() instead of lyd_new_ext_term()\"")
+-#endif
+-
+ #ifdef __cplusplus
+ }
+ #endif
+diff --git a/mgmtd/mgmt_vty_frontend.c b/mgmtd/mgmt_vty_frontend.c
+index d6156b7aa..dffb3b472 100644
+--- a/mgmtd/mgmt_vty_frontend.c
++++ b/mgmtd/mgmt_vty_frontend.c
+@@ -219,9 +219,9 @@ static void vty_out_yang_error(struct vty *vty, LYD_FORMAT format, const struct
+ 	else if (ei->level == LY_LLWRN)
+ 		severity = "warning";
+ 
+-	ecode = yang_ly_strerrcode(err);
++	ecode = ly_strerrcode(err);
+ 	if (err == LY_EVALID && ei->vecode != LYVE_SUCCESS)
+-		evalid = yang_ly_strvecode(ei->vecode);
++		evalid = ly_strvecode(ei->vecode);
+ 
+ 	switch (format) {
+ 	case LYD_XML:
+diff --git a/tests/lib/northbound/test_oper_data.c b/tests/lib/northbound/test_oper_data.c
+index c16cecb19..e7756a4c3 100644
+--- a/tests/lib/northbound/test_oper_data.c
++++ b/tests/lib/northbound/test_oper_data.c
+@@ -249,12 +249,11 @@ static enum nb_error frr_test_module_c2cont_c2value_get(const struct nb_node *nb
+ 							struct lyd_node *parent)
+ {
+ 	const struct lysc_node *snode = nb_node->snode;
+-	uint32_t value = htole32(0xAB010203);
++	char value[11]; /* UINT32_MAX has 10 digits */
+ 	LY_ERR err;
+ 
+-	/* Note that this api expects 'value' to be in little-endian form */
+-	err = yang_new_term_bin(parent, snode->module, snode->name, &value, sizeof(value),
+-				LYD_NEW_PATH_UPDATE, NULL);
++	snprintfrr(value, sizeof(value), "%" PRIu32, 0xAB010203);
++	err = lyd_new_term(parent, snode->module, snode->name, value, LYD_NEW_PATH_UPDATE, NULL);
+ 	assert(err == LY_SUCCESS);
+ 
+ 	return NB_OK;
meta-networking/recipes-protocols/frr/frr_10.7.1.bb +2 -1
index d0ddf2ea7d..a8e2f0e3ae 100644
@@ -14,10 +14,11 @@ SRC_URI = "git://github.com/FRRouting/frr.git;protocol=https;branch=stable/${@oe
            file://frr.pam \
            file://0001-lib-Don-t-use-paths-in-bison-output-defines-directiv.patch \
            file://0002-configure-Only-try-the-OpenBSD-libunwind-location-on.patch \
+           file://0003-lib-Support-libyang-5.x-and-6.x-API.patch \
            "
 SRCREV = "f8c0b08dcb0c78f9e42b9b86ae70b049e4e617c1"
 
-UPSTREAM_CHECK_GITTAGREGEX = "frr-(?P<pver>\d+(\.\d+)+)$"
+UPSTREAM_CHECK_GITTAGREGEX = "^frr-(?P<pver>\d+(\.\d+)+)$"
 
 CVE_PRODUCT = "frrouting"
 
author
#4 lore raw

PATCH 3/5 geoipupdate: upgrade 3.1.1 -> 8.0.0

In reply to Khem Raj

Upstream rewrote geoipupdate in Go in 4.x (CHANGELOG.md):
- Only GeoIP2/GeoLite2 .mmdb databases are downloaded, using a MaxMind account; GeoIP.conf takes AccountID, LicenseKey and EditionIDs instead of UserId and ProductIds.
- 7.0.0 switched to new download endpoints (downloads redirect to an R2 storage host) and requires GEOIPUPDATE_VERBOSE to be 0 or 1.
- 8.0.0 stops updating on the first error, fixes the Docker config file and no longer retries proxy CONNECT 4xx errors.

Replace the autotools recipe with a go-mod one built from the v8.0.0 tag; zlib and curl are no longer needed. The config file and database paths are set at link time to ${sysconfdir}/GeoIP.conf and ${datadir}/GeoIP. Rewrite the shipped GeoIP.conf in the new format and fix the cron entry (it lacked the user field of /etc/cron.d and called /usr/local/bin/geoipupdate). Move the files from the versioned geoipupdate-3.1.1 directory to geoipupdate/. Drop the docker and release helper scripts from the installed Go sources, they would make ${PN}-dev depend on bash and perl.

geoipupdate-go-mods.inc and geoipupdate-licenses.inc were produced with the do_update_modules algorithm of go-mod-update-modules.bbclass (go list -deps of cmd/geoipupdate); flock and pflag are marked BSD-3-Clause by hand, as the license finder does not recognise them.

geoipupdate 8 no longer updates the legacy GeoIP .dat files that the geoip and geoip-perl recipes use; those keep their bundled databases. Only packagegroup-meta-networking pulls in geoipupdate.

License-Update: the C version was GPL-2.0-only (checksummed via ChangeLog.md); the Go version is Apache-2.0 OR MIT (LICENSE-APACHE, LICENSE-MIT), and the Go module dependencies add BSD-3-Clause and MIT.

Replace the GitHub tags page check with UPSTREAM_CHECK_GITTAGREGEX matching release tags only.

AI-Generated: Uses Claude Code

---
 .../geoip/geoipupdate-3.1.1/GeoIP.conf        | 11 ------
 .../geoip/geoipupdate-go-mods.inc             | 13 +++++++
 .../geoip/geoipupdate-licenses.inc            | 15 +++++++
 .../geoip/geoipupdate/GeoIP.conf              | 12 ++++++
 .../geoipupdate.cron                          |  2 +-
 .../geoip/geoipupdate_3.1.1.bb                | 35 -----------------
 .../geoip/geoipupdate_8.0.0.bb                | 39 +++++++++++++++++++
 7 files changed, 80 insertions(+), 47 deletions(-)
 delete mode 100644 meta-networking/recipes-support/geoip/geoipupdate-3.1.1/GeoIP.conf
 create mode 100644 meta-networking/recipes-support/geoip/geoipupdate-go-mods.inc
 create mode 100644 meta-networking/recipes-support/geoip/geoipupdate-licenses.inc
 create mode 100644 meta-networking/recipes-support/geoip/geoipupdate/GeoIP.conf
 rename meta-networking/recipes-support/geoip/{geoipupdate-3.1.1 => geoipupdate}/geoipupdate.cron (59%)
 delete mode 100644 meta-networking/recipes-support/geoip/geoipupdate_3.1.1.bb
 create mode 100644 meta-networking/recipes-support/geoip/geoipupdate_8.0.0.bb
meta-networking/recipes-support/geoip/geoipupdate-3.1.1/GeoIP.conf deleted +0 -11
deleted file mode 100644
index 134cfed1f5..0000000000
@@ -1,11 +0,0 @@
-# The following UserId and LicenseKey are required placeholders:
-UserId 999999
-LicenseKey 000000000000
-
-# Include one or more of the following ProductIds:
-# * GeoLite2-City - GeoLite 2 City
-# * GeoLite2-Country - GeoLite2 Country
-# * 506 - GeoLite Legacy Country
-# * 517 - GeoLite Legacy ASN
-# * 533 - GeoLite Legacy City
-ProductIds GeoLite2-City GeoLite2-Country 506 517 533
meta-networking/recipes-support/geoip/geoipupdate-go-mods.inc new file +13 -0
new file mode 100644
index 0000000000..dfe603f211
@@ -0,0 +1,13 @@
+
+# This file has been generated by go-mod-update-modules.bbclass
+#
+# Do not modify it by hand, as the contents will be replaced when
+# running the update-modules task.
+
+SRC_URI += "\
+    gomod://github.com/cenkalti/backoff/v5;version=v5.0.3;sha256sum=58e4d9014277bc1c5c7ab64539137923964cc3920303a4f771d02a532939bedb \
+    gomod://github.com/gofrs/flock;version=v0.13.0;sha256sum=171560e83110e199cc9f4f8959d442c563c8ab6b26c100dd67b7a2fe265339ce \
+    gomod://github.com/spf13/pflag;version=v1.0.10;sha256sum=a246b8c9d3daa87d6c634cdfee1bdf7fa53d5817eeef4fa0c6da43edd12de4ca \
+    gomod://golang.org/x/sync;version=v0.22.0;sha256sum=4bc67d258ce7867cfc1a43765c43d98b4c49b90c46dd0b86f896a5a4909fade0 \
+    gomod://golang.org/x/sys;version=v0.46.0;sha256sum=36dc83b6bc5884d260cdbd9d09e597b1eed64d15dfdc374ca6e31aef99d533d7 \
+"
meta-networking/recipes-support/geoip/geoipupdate-licenses.inc new file +15 -0
new file mode 100644
index 0000000000..289be21033
@@ -0,0 +1,15 @@
+
+# This file has been generated by go-mod-update-modules.bbclass
+#
+# Do not modify it by hand, as the contents will be replaced when
+# running the update-modules task.
+
+LICENSE += "AND BSD-3-Clause AND MIT"
+
+LIC_FILES_CHKSUM += "\
+    file://pkg/mod/github.com/cenkalti/backoff/[email protected]/LICENSE;md5=1571d94433e3f3aa05267efd4dbea68b;spdx=MIT \
+    file://pkg/mod/github.com/gofrs/[email protected]/LICENSE;md5=f852ccc601f58d934aff3a71b042ba08;spdx=BSD-3-Clause \
+    file://pkg/mod/github.com/spf13/[email protected]/LICENSE;md5=1e8b7dc8b906737639131047a590f21d;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/[email protected]/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+    file://pkg/mod/golang.org/x/[email protected]/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \
+"
meta-networking/recipes-support/geoip/geoipupdate/GeoIP.conf new file +12 -0
new file mode 100644
index 0000000000..e302ad6700
@@ -0,0 +1,12 @@
+# GeoIP.conf for geoipupdate 4.x and later. It only downloads GeoIP2 and
+# GeoLite2 (.mmdb) databases, the legacy GeoIP (.dat) ones are not available.
+# See https://dev.maxmind.com/geoip/updating-databases for the format.
+
+# The following AccountID and LicenseKey are required placeholders:
+AccountID 999999
+LicenseKey 000000000000
+
+# Enter the edition IDs of the databases you would like to update.
+EditionIDs GeoLite2-Country GeoLite2-City
+
+DatabaseDirectory /usr/share/GeoIP
meta-networking/recipes-support/geoip/geoipupdate/geoipupdate.cron renamed from meta-networking/recipes-support/geoip/geoipupdate-3.1.1/geoipupdate.cron +1 -1
similarity index 59%
rename from meta-networking/recipes-support/geoip/geoipupdate-3.1.1/geoipupdate.cron
rename to meta-networking/recipes-support/geoip/geoipupdate/geoipupdate.cron
index 40597a856e..1bf6e58e2f 100644
@@ -1,5 +1,5 @@
 # top of crontab
 [email protected]
 
-32 11 * * 4 /usr/local/bin/geoipupdate
+32 11 * * 4 root /usr/bin/geoipupdate
 # end of crontab
meta-networking/recipes-support/geoip/geoipupdate_3.1.1.bb deleted +0 -35
deleted file mode 100644
index 57441765c2..0000000000
@@ -1,35 +0,0 @@
-SUMMARY = "Crontab entry to provide weekly updates of the GeoIP free databases."
-DESCRIPTION = "update databases for GeoIP"
-
-HOMEPAGE = "http://dev.maxmind.com/geoip/"
-SECTION = "net"
-
-DEPENDS = "zlib curl"
-
-SRC_URI = "https://github.com/maxmind/geoipupdate/releases/download/v3.1.1/geoipupdate-3.1.1.tar.gz \
-           file://GeoIP.conf \
-           file://geoipupdate.cron \
-          "
-SRC_URI[sha256sum] = "3de22e3fe3282024288a00807bbea9a1ffa2d1e8fe9c611f4b14a5b4d8ebe08a"
-
-UPSTREAM_CHECK_URI = "https://github.com/maxmind/geoipupdate/tags"
-UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
-
-LICENSE = "GPL-2.0-only"
-
-LIC_FILES_CHKSUM = "\
-file://ChangeLog.md;md5=30029632df335cb696f68ecc2a428987 \
-"
-FILES:${PN} = "/usr/share/GeoIP \
-              /etc/GeoIP.conf \
-             /etc/cron.d/geoipupdate.cron \
-             /usr/bin/geoipupdate \
-"
-inherit autotools
-
-do_install:append() {
-    install -d ${D}/${sysconfdir}
-    install -d ${D}/${sysconfdir}/cron.d
-    install ${UNPACKDIR}/GeoIP.conf ${D}/${sysconfdir}/
-    install ${UNPACKDIR}/geoipupdate.cron ${D}/${sysconfdir}/cron.d/
-}
meta-networking/recipes-support/geoip/geoipupdate_8.0.0.bb new file +39 -0
new file mode 100644
index 0000000000..01d99119ef
@@ -0,0 +1,39 @@
+SUMMARY = "Crontab entry to provide weekly updates of the GeoIP free databases."
+DESCRIPTION = "update databases for GeoIP"
+
+HOMEPAGE = "http://dev.maxmind.com/geoip/"
+SECTION = "net"
+
+LICENSE = "(Apache-2.0 OR MIT)"
+LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE-APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \
+                    file://src/${GO_IMPORT}/LICENSE-MIT;md5=995598bc9de2b4c987c2cb87fc24f341"
+require ${BPN}-licenses.inc
+
+SRC_URI = "git://github.com/maxmind/geoipupdate.git;protocol=https;branch=main;tag=v${PV};destsuffix=${GO_SRCURI_DESTSUFFIX} \
+           file://GeoIP.conf \
+           file://geoipupdate.cron \
+           "
+SRCREV = "07618e0e7cacbe7aaebbc26cafb54c2a9f2f3bc3"
+require ${BPN}-go-mods.inc
+
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
+
+GO_IMPORT = "github.com/maxmind/geoipupdate/v8"
+GO_INSTALL = "${GO_IMPORT}/cmd/geoipupdate"
+GO_LINKSHARED = ""
+GO_EXTRA_LDFLAGS = "-X main.version=${PV} \
+                    -X main.defaultConfigFile=${sysconfdir}/GeoIP.conf \
+                    -X main.defaultDatabaseDirectory=${datadir}/GeoIP"
+
+inherit go-mod go-mod-update-modules
+
+do_install:append() {
+    install -d ${D}${sysconfdir}/cron.d
+    install -m 0644 ${UNPACKDIR}/GeoIP.conf ${D}${sysconfdir}/
+    install -m 0644 ${UNPACKDIR}/geoipupdate.cron ${D}${sysconfdir}/cron.d/
+    install -d ${D}${datadir}/GeoIP
+    # release and docker helper scripts would pull bash and perl into ${PN}-dev
+    rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/dev-bin ${D}${libdir}/go/src/${GO_IMPORT}/docker
+}
+
+FILES:${PN} += "${datadir}/GeoIP"
author
#5 lore raw

PATCH 4/5 arno-iptables-firewall: Fix upstream version check

In reply to Khem Raj

UPSTREAM_CHECK_GITTAGREGEX requires a letter suffix, so plain release tags such as 2.1.3 are never considered and the check stops at 2.1.2a. Make the suffix optional and anchor the regex so the whole tag has to match. The check now reports 2.1.3.

AI-Generated: Uses Claude Code

---
 .../arno-iptables-firewall/arno-iptables-firewall_2.1.2a.bb     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.2a.bb +1 -1
index bd7f7a992e..4a6b601c56 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://gpl_license.txt;md5=11c7b65c4a4acb9d5175f7e9bf99c403"
 SRCREV = "4651194df5f985ebfc989da0a20d62b9baecf314"
 SRC_URI = "git://github.com/arno-iptables-firewall/aif;branch=master;protocol=https;tag=${PV}"
 
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(?:[a-z]))"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+[a-z]?)$"
 
 inherit systemd
 
author
#6 lore raw

PATCH 2/55 libgpiod: Fix intermittent gpiocli monitor ptest failure

In reply to Khem Raj

test_monitor_all_lines_on_request toggles line 1 twice, with line 4 in between, before reading any event. gpio-sim delivers both changes of line 1 as one interrupt when they happen before it is handled, so the rising edge is lost:

ASSERT: '41610700648 falling "foo" 41610665414 rising 4' did not match '[0-9]+ rising\s+"foo"'

Wait for each event before triggering the next one. In a qemux86-64 guest this took the test from 12 of 20 runs failing to none.

AI-Generated: Uses Claude Code

---
 ...for-each-event-in-test_monitor_all_l.patch | 53 +++++++++++++++++++
 .../libgpiod/libgpiod_2.3.2.bb                |  1 +
 2 files changed, 54 insertions(+)
 create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch
meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch new file +53 -0
new file mode 100644
index 0000000000..f3eac65455
@@ -0,0 +1,53 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Wed, 28 Oct 2026 07:55:33 -0700
+Subject: [PATCH] dbus: tests: wait for each event in
+ test_monitor_all_lines_on_request
+
+The test pulls line 1 up, line 4 up and line 1 down again in quick
+succession and only then reads the monitor output. gpio-sim raises the
+line interrupts through irq_sim, so two changes of the same line that
+happen before the interrupt is handled are delivered as one interrupt,
+and as edge detection is set to both edges the kernel derives the edge
+type from the line value read in the handler. The rising edge on line 1
+is then lost and only a falling edge is reported, timestamped after the
+rising edge on line 4:
+
+  ASSERT: '41610700648 falling "foo" 41610665414 rising  4' did not
+  match '[0-9]+ rising\s+"foo"'
+
+This fails intermittently, in 12 of 20 runs in a qemux86-64 guest.
+
+Wait for each event before triggering the next one, like the gpiomon
+tests in gpio-tools-test.bash do.
+
+Upstream-Status: Submitted [https://lore.kernel.org/linux-gpio/[email protected]/]
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ dbus/client/gpiocli-test.bash | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/dbus/client/gpiocli-test.bash b/dbus/client/gpiocli-test.bash
+index 5160f57..ede69c9 100755
+--- a/dbus/client/gpiocli-test.bash
++++ b/dbus/client/gpiocli-test.bash
+@@ -1421,13 +1421,13 @@ test_monitor_all_lines_on_request() {
+ 	dut_run gpiocli monitor -r "$request"
+ 
+ 	gpiosim_set_pull sim0 1 pull-up
++	dut_regex_match "[0-9]+ rising\\s+\"foo\""
++
+ 	gpiosim_set_pull sim0 4 pull-up
+-	gpiosim_set_pull sim0 1 pull-down
++	dut_regex_match "[0-9]+ rising\\s+4"
+ 
+-	dut_read
+-	output_regex_match "[0-9]+ rising\\s+\"foo\""
+-	output_regex_match "[0-9]+ rising\\s+4"
+-	output_regex_match "[0-9]+ falling\\s+\"foo\""
++	gpiosim_set_pull sim0 1 pull-down
++	dut_regex_match "[0-9]+ falling\\s+\"foo\""
+ 
+ 	gpiodbus_release_request "$request"
+ }
meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb +1 -0
index eb1c454f8c..b77ca581a9 100644
@@ -25,6 +25,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:"
 
 SRC_URI += " \
     file://gpio-manager.init \
+    file://0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch \
 "
 
 SRC_URI[sha256sum] = "dc48fb87cd72019745acb201599caf559556b5d913844df0ed011067d19e9a6b"
author
#7 lore raw

PATCH 3/55 libgpiod: Fix intermittent gpiocli multiple lines monitor ptest failure

In reply to Khem Raj

test_monitor_multiple_lines_by_name has the same race which was fixed in test_monitor_all_lines_on_request: it toggles line foo twice, with line xyz in between, before reading any event. gpio-sim delivers both changes of foo as one interrupt when they happen before it is handled, so the rising edge is lost:

ASSERT: '45056166795 falling "foo" 45056147828 rising "xyz"' did not match '[0-9]+ rising\s+"foo"'

Wait for each event before triggering the next one. In a qemux86-64 guest this took the test from 13 of 20 runs failing to none, and ptest-runner libgpiod passed 12 of 12 runs on the rebuilt image.

AI-Generated: Uses Claude Code

---
 ...for-each-event-in-test_monitor_multi.patch | 55 +++++++++++++++++++
 .../libgpiod/libgpiod_2.3.2.bb                |  1 +
 2 files changed, 56 insertions(+)
 create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-2.x/0002-dbus-tests-wait-for-each-event-in-test_monitor_multi.patch
meta-oe/recipes-support/libgpiod/libgpiod-2.x/0002-dbus-tests-wait-for-each-event-in-test_monitor_multi.patch new file +55 -0
new file mode 100644
index 0000000000..f38859d354
@@ -0,0 +1,55 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Sun, 1 Nov 2026 03:45:13 +0000
+Subject: [PATCH] dbus: tests: wait for each event in
+ test_monitor_multiple_lines_by_name
+
+The test pulls line foo up, line xyz up and line foo down again in quick
+succession and only then reads the monitor output, which is the same
+race test_monitor_all_lines_on_request had. Two changes of the same line
+that happen before the gpio-sim interrupt is handled are delivered as
+one interrupt, and as edge detection is set to both edges the kernel
+derives the edge type from the line value read in the handler. The
+rising edge on foo is then lost and only a falling edge is reported,
+timestamped after the rising edge on xyz:
+
+  ASSERT: '45056166795 falling "foo" 45056147828 rising  "xyz"' did not
+  match '[0-9]+ rising\s+"foo"'
+
+This fails intermittently, in 13 of 20 runs in a qemux86-64 guest.
+
+Wait for each event before triggering the next one. Matching the next
+line of output instead of searching all of it also makes the test
+verify that the change of line bar, which is not monitored, is ignored.
+
+Upstream-Status: Submitted [https://lore.kernel.org/linux-gpio/[email protected]/]
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ dbus/client/gpiocli-test.bash | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/dbus/client/gpiocli-test.bash b/dbus/client/gpiocli-test.bash
+index ede69c9..ebddcbf 100755
+--- a/dbus/client/gpiocli-test.bash
++++ b/dbus/client/gpiocli-test.bash
+@@ -1376,14 +1376,14 @@ test_monitor_multiple_lines_by_name() {
+ 	dut_run gpiocli monitor foo xyz
+ 
+ 	gpiosim_set_pull sim0 1 pull-up
++	dut_regex_match "[0-9]+ rising\\s+\"foo\""
++
+ 	gpiosim_set_pull sim0 5 pull-up # This should be ignored
+ 	gpiosim_set_pull sim0 11 pull-up
+-	gpiosim_set_pull sim0 1 pull-down
++	dut_regex_match "[0-9]+ rising\\s+\"xyz\""
+ 
+-	dut_read
+-	output_regex_match "[0-9]+ rising\\s+\"foo\""
+-	output_regex_match "[0-9]+ rising\\s+\"xyz\""
+-	output_regex_match "[0-9]+ falling\\s+\"foo\""
++	gpiosim_set_pull sim0 1 pull-down
++	dut_regex_match "[0-9]+ falling\\s+\"foo\""
+ 
+ 	gpiodbus_release_request "$request"
+ }
meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb +1 -0
index b77ca581a9..2cf1b0f563 100644
@@ -26,6 +26,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:"
 SRC_URI += " \
     file://gpio-manager.init \
     file://0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch \
+    file://0002-dbus-tests-wait-for-each-event-in-test_monitor_multi.patch \
 "
 
 SRC_URI[sha256sum] = "dc48fb87cd72019745acb201599caf559556b5d913844df0ed011067d19e9a6b"
author
#8 lore raw

PATCH 4/55 snapper: upgrade 0.13.1 -> 0.13.2

In reply to Khem Raj

- Add snapper-sync script and service to synchronize the highest snapshot number, and allow disabling all-time unique snapshot numbers
- snbk: new meta-parse command validates info.xml checksums using libcrypto, so OpenSSL is now a build dependency; libsnapper soversion bumped to 8.2.0
- Improve error handling when snapperd is disconnected from D-Bus or the client uid cannot be detected; service files now depend on dbus
- Fix LVM device name parsing with escaped hyphens, CRLF handling in config files and a memory leak on error paths
- Hardening: validate STOMP content-length before reading frames, validate unsigned JSON config values in the zypp plugin, handle NULL D-Bus connections in pam_snapper

Add openssl to DEPENDS for the libcrypto check, and point CAT_BIN at the target cat, which the new snbk tool would otherwise take from the build host. Add an upstream check that skips the yast-snapper tags in the same repository.

AI-Generated: Uses Claude Code

---
 .../snapper/{snapper_0.13.1.bb => snapper_0.13.2.bb}   | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/snapper/{snapper_0.13.1.bb => snapper_0.13.2.bb} (86%)
meta-oe/recipes-support/snapper/snapper_0.13.2.bb renamed from meta-oe/recipes-support/snapper/snapper_0.13.1.bb +7 -3
similarity index 86%
rename from meta-oe/recipes-support/snapper/snapper_0.13.1.bb
rename to meta-oe/recipes-support/snapper/snapper_0.13.2.bb
index aa8547b33d..920a4fb274 100644
@@ -3,13 +3,16 @@ HOMEPAGE = "https://github.com/openSUSE/snapper"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses zlib"
+DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses openssl zlib"
 
 # Build separation is slightly broken
 inherit autotools-brokensep pkgconfig gettext manpages
 
-SRC_URI = "git://github.com/openSUSE/snapper.git;protocol=https;branch=master"
-SRCREV = "8cfc33817b91dbf7194d7fd043dc378026d01db5"
+SRC_URI = "git://github.com/openSUSE/snapper.git;protocol=https;branch=master;tag=v${PV}"
+SRCREV = "43475845a712bc2327cec2ed641063df406705de"
+
+# The repository also carries yast-snapper tags
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 EXTRA_OECONF += "--disable-zypp"
 
@@ -24,6 +27,7 @@ export RM_BIN = "${bindir}/rm"
 export RMDIR_BIN = "${bindir}/rmdir"
 export MKDIR_BIN = "${bindir}/mkdir"
 export TOUCH_BIN = "${bindir}/touch"
+export CAT_BIN = "${bindir}/cat"
 export CP_BIN = "${bindir}/cp"
 export REALPATH_BIN = "${bindir}/realpath"
 export SHA256SUM_BIN = "${bindir}/sha256sum"
author
#9 lore raw

PATCH 5/55 glaze: upgrade 8.3.0 -> 9.1.0

In reply to Khem Raj

- 9.0.0 breaking: MessagePack/CBOR variants are written in their declared shape and MessagePack structs as keyed maps, so data written by older versions may not read back
- 9.0.0 removes glz::invoke_update, shared_async_map/vector, glz::hostname_include and disable_padding_on/off; meta<T>::skip now applies to all keyed formats
- Reads no longer resize the caller's buffer for padding, making small reads several times faster; glz::custom works in every format
- Networking: HTTPS server negotiates TLS 1.3 and TLS 1.0/1.1 are refused; HTTP client gains redirect following, progress callbacks and HEAD/DELETE/OPTIONS
- 9.1.0 adds std::chrono::utc_clock support and aligned BEVE complex arrays, and stricter TOML, CSV, BSON and JSON Pointer parsing
- Many robustness fixes: bounded HTTP headers, route captures, BEVE lazy cursors and an out-of-bounds write in the CSV number writer

Add an upstream check for the release tags.

AI-Generated: Uses Claude Code

---
 .../recipes-support/glaze/{glaze_8.3.0.bb => glaze_9.1.0.bb}  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-support/glaze/{glaze_8.3.0.bb => glaze_9.1.0.bb} (89%)
meta-oe/recipes-support/glaze/glaze_9.1.0.bb renamed from meta-oe/recipes-support/glaze/glaze_8.3.0.bb +3 -1
similarity index 89%
rename from meta-oe/recipes-support/glaze/glaze_8.3.0.bb
rename to meta-oe/recipes-support/glaze/glaze_9.1.0.bb
index e1bef79ba5..266dbfad69 100644
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
 
 SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
 
-SRCREV = "dce5e0f7ec572725ec369a0bc59a00eeb2270a9a"
+SRCREV = "43b175e7446862b84ed07b2e5f5138433777680e"
+
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake
 
author
#10 lore raw

PATCH 5/5 vlan: Fix upstream version check

In reply to Khem Raj

vlan.sourcearchive.com now serves an unrelated site, so the check finds nothing. SRC_URI already fetches from Ubuntu's Launchpad archive; check the Launchpad source package page instead, which links each release as vlan/<version>-<debian revision>.

AI-Generated: Uses Claude Code

---
 meta-networking/recipes-connectivity/vlan/vlan_1.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-connectivity/vlan/vlan_1.9.bb +2 -2
index 845c3cf53c..d4793cf457 100644
@@ -12,8 +12,8 @@ SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/vlan/1.9-3
 SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
 SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"
 
-UPSTREAM_CHECK_URI = "http://vlan.sourcearchive.com/"
-UPSTREAM_CHECK_REGEX = "/(?P<pver>\d+(\.\d+)+)/"
+UPSTREAM_CHECK_URI = "https://launchpad.net/ubuntu/+source/vlan"
+UPSTREAM_CHECK_REGEX = "vlan/(?P<pver>\d+(\.\d+)+)-"
 
 S = "${UNPACKDIR}/${BPN}"
 
author
#11 lore raw

PATCH 6/55 pam-plugin-ldapdb: upgrade 1.3.1 -> 2.0.0

In reply to Khem Raj

- Security: reject usernames containing DN metacharacters so they cannot alter the generated binddn, and disable LDAP referral chasing so credentials are not sent to referred hosts
- Use LDAPv3 explicitly and ldap_sasl_bind_s instead of the deprecated ldap_simple_bind_s
- New timeout= option for connection and bind timeouts (default 10 s); unknown, duplicate or malformed module arguments are logged
- Behavior change: uri and binddn are required, binddn must contain %s, and directory errors return PAM_AUTHINFO_UNAVAIL
- Fix LDAP handle and file-descriptor leaks per authentication, range- check minimum_uid/maximum_uid, and stop exceptions crossing the PAM C interface
- Makefile honors CXXFLAGS, adds hardening flags and detects the PAM module directory

The project moved to github.com/smackysnacks/pam_ldapdb. Fetch the v2.0.0 tag and add an upstream check.

2.0.0 uses struct timeval without including <sys/time.h>, which breaks the musl build; add a patch for it. Anchor UPSTREAM_CHECK_GITTAGREGEX to release tags.

AI-Generated: Uses Claude Code

---
 ...nclude-sys-time.h-for-struct-timeval.patch | 32 +++++++++++++++++++
 .../pam/pam-plugin-ldapdb_1.3.1.bb            | 21 ------------
 .../pam/pam-plugin-ldapdb_2.0.0.bb            | 25 +++++++++++++++
 3 files changed, 57 insertions(+), 21 deletions(-)
 create mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-Include-sys-time.h-for-struct-timeval.patch
 delete mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb
 create mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb_2.0.0.bb
meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-Include-sys-time.h-for-struct-timeval.patch new file +32 -0
new file mode 100644
index 0000000000..8d0025e0e7
@@ -0,0 +1,32 @@
+From ac86beda314368dead44083a99cece306e72fed7 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Mon, 23 Nov 2026 01:10:11 -0800
+Subject: [PATCH] Include sys/time.h for struct timeval
+
+pam_ldapdb.cpp uses struct timeval for the LDAP network timeout.
+glibc headers pull in <sys/time.h> indirectly, musl does not, so
+the build fails with:
+
+  pam_ldapdb.cpp:55:20: error: variable has incomplete type 'struct timeval'
+
+Include it explicitly.
+
+Upstream-Status: Submitted [https://github.com/smackysnacks/pam_ldapdb/pull/15]
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ pam_ldapdb.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/pam_ldapdb.cpp b/pam_ldapdb.cpp
+index 6b73ca5..cccc33b 100644
+--- a/pam_ldapdb.cpp
++++ b/pam_ldapdb.cpp
+@@ -3,6 +3,7 @@
+ #include <pwd.h>
+ #include <stdexcept>
+ #include <string>
++#include <sys/time.h>
+ #include <syslog.h>
+ #include <utility>
+ 
meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb deleted +0 -21
deleted file mode 100644
index 2886137b7d..0000000000
@@ -1,21 +0,0 @@
-SUMMARY = "PAM searchless LDAP authentication module"
-HOMEPAGE = "https://github.com/rmbreak/pam_ldapdb"
-BUGTRACKER = "https://github.com/rmbreak/pam_ldapdb/issues"
-SECTION = "libs"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d"
-
-DEPENDS = "libpam openldap"
-
-inherit features_check
-REQUIRED_DISTRO_FEATURES = "pam"
-
-SRCREV = "3e026863cad1fd45c760ee1bc93ef4f0606cc852"
-SRC_URI = "git://github.com/rmbreak/pam_ldapdb;branch=master;protocol=https"
-
-
-do_install () {
-    oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security
-}
-
-FILES:${PN} += "${base_libdir}/security/pam_ldapdb.so"
meta-oe/recipes-extended/pam/pam-plugin-ldapdb_2.0.0.bb new file +25 -0
new file mode 100644
index 0000000000..709d798133
@@ -0,0 +1,25 @@
+SUMMARY = "PAM searchless LDAP authentication module"
+HOMEPAGE = "https://github.com/smackysnacks/pam_ldapdb"
+BUGTRACKER = "https://github.com/smackysnacks/pam_ldapdb/issues"
+SECTION = "libs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d"
+
+DEPENDS = "libpam openldap"
+
+inherit features_check
+REQUIRED_DISTRO_FEATURES = "pam"
+
+SRCREV = "f8ad9921f94d683d9cd40566694709308a12ae71"
+SRC_URI = "git://github.com/smackysnacks/pam_ldapdb;branch=master;protocol=https;tag=v${PV} \
+           file://0001-Include-sys-time.h-for-struct-timeval.patch \
+           "
+
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
+
+
+do_install () {
+    oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security
+}
+
+FILES:${PN} += "${base_libdir}/security/pam_ldapdb.so"
author
#12 lore raw

PATCH 7/55 breakpad: upgrade 2023.06.01 -> 2024.02.16

In reply to Khem Raj

- Fix integer overflows in the processor's map/range code and a buffer overflow in symbol serialization caused by an integer overflow
- dump_syms: support zstd-compressed ELF sections (--enable-zstd), capture inline info in DW_TAG_lexical_block, and add a switch to report DWARF warnings
- Linux: always map ELF files from offset 0 and handle ARMEABI binaries on ARM64 kernels in the ptrace dumper
- Processor: read extended x86 contexts, recognise new SEGV_* codes and fix ARM64 stack walking (illegal downcast) and StackwalkerAddressList
- Helper scripts are ported to Python 3

Drop the std::find_if include patch, which is upstream. Fetch the release tag and add an upstream check.

AI-Generated: Uses Claude Code

---
 ...ixed-missing-include-for-std-find_if.patch | 31 -------------------
 ...d_2023.06.01.bb => breakpad_2024.02.16.bb} |  7 +++--
 2 files changed, 4 insertions(+), 34 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/breakpad/breakpad/0001-Fixed-missing-include-for-std-find_if.patch
 rename meta-oe/recipes-devtools/breakpad/{breakpad_2023.06.01.bb => breakpad_2024.02.16.bb} (98%)
meta-oe/recipes-devtools/breakpad/breakpad/0001-Fixed-missing-include-for-std-find_if.patch deleted +0 -31
deleted file mode 100644
index 943daf4d00..0000000000
@@ -1,31 +0,0 @@
-From 45ea097e864e566771d756c92619e984815acd1e Mon Sep 17 00:00:00 2001
-From: Nathan Moinvaziri <[email protected]>
-Date: Tue, 19 Dec 2023 14:35:05 -0800
-Subject: [PATCH] Fixed missing include for std::find_if.
-
-Throws an error when compiling on Windows.
-
-Upstream-Status: Backport [https://github.com/google/breakpad/commit/898a997855168c0e6a689072fefba89246271a5d]
-Change-Id: Ieb34c00cf199aaa1b45a440086c48b8ed363b3c7
-Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5137658
-Reviewed-by: Ivan Penkov <[email protected]>
-Signed-off-by: Khem Raj <[email protected]>
----
- src/common/module.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/common/module.cc b/src/common/module.cc
-index 0eb5aad8..b6f5da7e 100644
---- a/src/common/module.cc
-+++ b/src/common/module.cc
-@@ -42,6 +42,7 @@
- #include <stdio.h>
- #include <string.h>
- 
-+#include <algorithm>
- #include <functional>
- #include <iostream>
- #include <memory>
--- 
-2.43.0
-
meta-oe/recipes-devtools/breakpad/breakpad_2024.02.16.bb renamed from meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb +4 -3
similarity index 98%
rename from meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb
rename to meta-oe/recipes-devtools/breakpad/breakpad_2024.02.16.bb
index 26f6ab9195..cbf6e458dc 100644
@@ -20,13 +20,15 @@ PE = "2"
 
 SRCREV_FORMAT = "breakpad_gtest_protobuf_lss"
 
-SRCREV_breakpad = "8988364bcddd9b194b0bf931c10bc125987330ed"
+SRCREV_breakpad = "f80f2888031b0570783011476a5e862fb7d848a1"
 #v1.11.0
 SRCREV_gtest = "e2239ee6043f73722e7aa812a459f54a28552929"
 SRCREV_protobuf = "cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac"
 SRCREV_lss = "9719c1e1e676814c456b55f5f070eabad6709d31"
 
-SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https \
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+
+SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https;tag=v${PV} \
            git://github.com/google/googletest.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/testing/gtest;name=gtest;branch=main;protocol=https \
            git://github.com/protocolbuffers/protobuf.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/protobuf/protobuf;name=protobuf;branch=main;protocol=https \
            git://chromium.googlesource.com/linux-syscall-support;protocol=https;branch=main;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/lss;name=lss \
@@ -37,7 +39,6 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=h
            file://0004-elf_reader.cc-include-sys-reg.h-to-get-__WORDSIZE-on.patch \
            file://mcontext.patch \
            file://0001-Remove-HAVE_GETCONTEXT-check-to-add-local-implementa.patch \
-           file://0001-Fixed-missing-include-for-std-find_if.patch \
            file://0001-module_factory-move-CreateModule-out-of-line-to-fix-.patch \
            file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \
            file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \
author
#13 lore raw

PATCH 8/55 assimp: upgrade 6.0.x snapshot -> 6.0.6

In reply to Khem Raj

- Large hardening pass across importers (OBJ, PLY, FBX, glTF2, MD2/MDL/MDL7, MDC, Q3BSP, Q3D, IQM, LWO, X3D, COB, Blender, STEP, OpenGEX and more): many out-of-bounds reads/writes, integer overflows, null dereferences and leaks found by fuzzing are fixed
- New safe allocator and stricter bounds validation in parser and allocation paths
- glTF2: fix normalized skin weights, KHR_texture_transform mapping and sparse accessors; exporter gains unsigned short indices and KHR_texture_basisu metadata fixes
- DXF gains POINT entity support; fix binary STL import on big-endian hosts
- Windows ARM64 support; PyAssimp drops Python 2 and gains tests; tests can be installed via CMake

Use the v6.0.6 release tag instead of a master snapshot labelled 5.x, which already carried 6.0 code. Drop the CVE-2026-117608 patch, which is part of v6.0.6, and add an upstream check.

AI-Generated: Uses Claude Code

---
 .../assimp/assimp/CVE-2026-117608.patch       | 62 -------------------
 .../assimp/{assimp_git.bb => assimp_6.0.6.bb} |  8 +--
 2 files changed, 3 insertions(+), 67 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch
 rename meta-oe/recipes-graphics/assimp/{assimp_git.bb => assimp_6.0.6.bb} (88%)
meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch deleted +0 -62
deleted file mode 100644
index 2a388cb147..0000000000
@@ -1,62 +0,0 @@
-From 9b9c149237ff7bf7f71db8eba7b6cc707e00e0bc Mon Sep 17 00:00:00 2001
-From: venkatchalla06 <[email protected]>
-Date: Sun, 25 Oct 2026 19:48:47 +0530
-Subject: [PATCH] MD2: compute the frame-table bounds check in 64-bit (integer
- overflow) (#6963)
-
-The header validation rejects out-of-file offsets with
-    offsetFrames + numFrames * frameSize >= fileSize
-but numFrames is an attacker-controlled uint32 and frameSize is an unsigned
-int that grows with numVertices (another uint32 field), so the product is a
-32-bit multiply that can wrap. The AI_MAX_ALLOC guards above bound numFrames
-only against sizeof(MD2::Frame) (~44 bytes, ceiling ~48M), while frameSize can
-be far larger (e.g. numVertices=1014 -> 4096), so numFrames ~= 2^20 already
-wraps numFrames*frameSize to a small value and the check passes. The frame
-vertices are then read out of bounds (heap OOB read / info leak).
-
-Compute frameSize and the four offset+count*size checks in 64-bit so the
-products cannot wrap. Reachable from Assimp::Importer::ReadFile() on a crafted
-.md2 (MD2 is default-enabled). Confirmed with AddressSanitizer
-(heap-buffer-overflow READ in InternReadFile); valid .md2 files
-(dolphin/horse/flag/faerie) still load unchanged.
-
-Co-authored-by: Claude Opus 4.8 <[email protected]>
-Co-authored-by: Kim Kulling <[email protected]>
-(cherry picked from commit 7dbc85d9218fae017d4fad70269e7569f7b0c870)
-
-CVE: CVE-2026-117608
-Upstream-Status: Backport [https://github.com/assimp/assimp/commit/7dbc85d9218fae017d4fad70269e7569f7b0c870]
-Signed-off-by: Ankur Tyagi <[email protected]>
----
- code/AssetLib/MD2/MD2Loader.cpp | 18 +++++++++++-------
- 1 file changed, 11 insertions(+), 7 deletions(-)
-
-diff --git a/code/AssetLib/MD2/MD2Loader.cpp b/code/AssetLib/MD2/MD2Loader.cpp
-index f7101560d..adce318f8 100644
---- a/code/AssetLib/MD2/MD2Loader.cpp
-+++ b/code/AssetLib/MD2/MD2Loader.cpp
-@@ -171,13 +171,17 @@ void MD2Importer::ValidateHeader( )
-     }
- 
-     // -1 because Frame already contains one
--    unsigned int frameSize = sizeof (MD2::Frame) + (m_pcHeader->numVertices - 1) * sizeof(MD2::Vertex);
--
--    if (m_pcHeader->offsetSkins     + m_pcHeader->numSkins * sizeof (MD2::Skin)         >= fileSize ||
--        m_pcHeader->offsetTexCoords + m_pcHeader->numTexCoords * sizeof (MD2::TexCoord) >= fileSize ||
--        m_pcHeader->offsetTriangles + m_pcHeader->numTriangles * sizeof (MD2::Triangle) >= fileSize ||
--        m_pcHeader->offsetFrames    + m_pcHeader->numFrames * frameSize                 >= fileSize ||
--        m_pcHeader->offsetEnd           > fileSize)
-+    // Compute in 64-bit: numVertices/numFrames are attacker-controlled uint32 header
-+    // fields, so numFrames * frameSize (frameSize itself grows with numVertices) overflows
-+    // a 32-bit product and can wrap past the file-size check below. The AI_MAX_ALLOC guards
-+    // above only bound each count against sizeof(element), not against this product.
-+    const uint64_t frameSize = (uint64_t)sizeof(MD2::Frame) + (uint64_t)(m_pcHeader->numVertices - 1) * sizeof(MD2::Vertex);
-+
-+    if ((uint64_t)m_pcHeader->offsetSkins     + (uint64_t)m_pcHeader->numSkins     * sizeof(MD2::Skin)     >= fileSize ||
-+        (uint64_t)m_pcHeader->offsetTexCoords + (uint64_t)m_pcHeader->numTexCoords * sizeof(MD2::TexCoord) >= fileSize ||
-+        (uint64_t)m_pcHeader->offsetTriangles + (uint64_t)m_pcHeader->numTriangles * sizeof(MD2::Triangle) >= fileSize ||
-+        (uint64_t)m_pcHeader->offsetFrames    + (uint64_t)m_pcHeader->numFrames    * frameSize             >= fileSize ||
-+        m_pcHeader->offsetEnd > fileSize)
-     {
-         throw DeadlyImportError("Invalid MD2 header: Some offsets are outside the file");
-     }
meta-oe/recipes-graphics/assimp/assimp_6.0.6.bb renamed from meta-oe/recipes-graphics/assimp/assimp_git.bb +3 -5
similarity index 88%
rename from meta-oe/recipes-graphics/assimp/assimp_git.bb
rename to meta-oe/recipes-graphics/assimp/assimp_6.0.6.bb
index 5fd56f719d..b21bf16574 100644
@@ -9,13 +9,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f2d38c9e0d63058b051065fb7b1102a8"
 
 DEPENDS = "zlib"
 
-SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master \
-           file://CVE-2026-117608.patch \
-"
+SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master;tag=v${PV}"
 
-SRCREV = "fe1965b3e73f7c241265e8e5b3015764936a6ce5"
+SRCREV = "a79ff6bbce54d3e01186a918dc6374ed55317426"
 
-PV = "5.x+git${SRCPV}"
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake
 
author
#14 lore raw

PATCH 9/55 glm: upgrade 0.9.9.8 -> 1.0.3

In reply to Khem Raj

- 1.0.0 adds GLM_EXT_scalar/vector_reciprocal, GLM_EXT_matrix_integer, iround/uround and constexpr dot/cross, and fixes decompose, quaternion pow/euler conversion, adjugate and angle sign
- 1.0.1 adds C++17 [[nodiscard]] support and aligned vec3 SIMD, and fixes shear and smoothstep SIMD
- 1.0.2 adds packed/aligned quaternion types, GLM_GTX_structured_bindings, GLM_GTX_iteration and infinitePerspectiveRH/LH; unit tests are no longer built by default (GLM_BUILD_TESTS)
- 1.0.3 adds reflection matrices, reverts the quaternion rotate direction change and fixes vec4 to vec3 conversion and swizzles with GLM_FORCE_SIZE_T_LENGTH
- GLM 1.1 will require C++17

1.0.3 is tagged on the 1.0 branch. Drop both patches: the quaternion fix is upstream and the rest only touched the test suite, which is not built by default anymore. Add an upstream check.

AI-Generated: Uses Claude Code

---
 .../0001-Do-not-use-Werror-with-clang.patch   |  32 ----
 .../glm/glm/0001-Silence-clang-warnings.patch | 145 ------------------
 .../glm/{glm_0.9.9.8.bb => glm_1.0.3.bb}      |   9 +-
 3 files changed, 4 insertions(+), 182 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/glm/glm/0001-Do-not-use-Werror-with-clang.patch
 delete mode 100644 meta-oe/recipes-graphics/glm/glm/0001-Silence-clang-warnings.patch
 rename meta-oe/recipes-graphics/glm/{glm_0.9.9.8.bb => glm_1.0.3.bb} (85%)
meta-oe/recipes-graphics/glm/glm/0001-Do-not-use-Werror-with-clang.patch deleted +0 -32
deleted file mode 100644
index dee2749898..0000000000
@@ -1,32 +0,0 @@
-From ee405855bca7d6399ff1a1aef952010056c84ff6 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Wed, 1 Mar 2023 21:08:09 -0800
-Subject: [PATCH] Do not use -Werror with clang
-
-Too many warnings to handle for a distro build
-
-Signed-off-by: Khem Raj <[email protected]>
----
-Upstream-Status: Pending
-
- test/CMakeLists.txt | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index e7f85f19..0b6fd980 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -197,10 +197,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- 		message("GLM: Clang - ${CMAKE_CXX_COMPILER_ID} compiler")
- 	endif()
- 
--	add_compile_options(-Werror -Weverything)
--	add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct -Wno-nested-anon-types)
--	add_compile_options(-Wno-undefined-reinterpret-cast -Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes -Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare -Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral)
--
- elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
- 	if(NOT GLM_QUIET)
- 		message("GLM: GCC - ${CMAKE_CXX_COMPILER_ID} compiler")
--- 
-2.39.2
-
meta-oe/recipes-graphics/glm/glm/0001-Silence-clang-warnings.patch deleted +0 -145

145 lines not on this page · raw message

meta-oe/recipes-graphics/glm/glm_1.0.3.bb renamed from meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb +4 -5
similarity index 85%
rename from meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb
rename to meta-oe/recipes-graphics/glm/glm_1.0.3.bb
index 7f29c1fab9..0c6d72ebd3 100644
@@ -9,16 +9,15 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://copying.txt;md5=462e4b97f73ef12f8171c3c546ce4e8d"
 
 SRC_URI = " \
-    git://github.com/g-truc/glm;branch=master;protocol=https \
-    file://0001-Silence-clang-warnings.patch \
-    file://0001-Do-not-use-Werror-with-clang.patch \
+    git://github.com/g-truc/glm;branch=1.0;protocol=https;tag=${PV} \
     file://glmConfig.cmake.in \
     file://glmConfigVersion.cmake.in \
     file://glm.pc.in \
     file://glmTargets.cmake \
 "
-SRCREV = "efec5db081e3aad807d0731e172ac597f6a39447"
-PV .= "+0.9.9.9+git"
+SRCREV = "8d1fd52e5ab5590e2c81768ace50c72bae28f2ed"
+
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
 
 
 inherit cmake
author
#15 lore raw

PATCH 10/55 cjose: upgrade 0.6.2.8 -> 0.8.1

In reply to Khem Raj

- Switch from the OpenIDC 0.6.2.x fork back to upstream cisco/cjose, which merged the fork's security fixes and adds a CMake build next to autotools; the libcjose.so.0 ABI is kept
- 0.6.3: many security fixes, including a heap overflow in AES key unwrap, a pre-auth DoS via OPENSSL_cleanse after failed RSA decrypt, minimum 2048-bit RSA and HMAC key lengths, critical header and alg/key-type checks
- 0.7.0: A128GCM/A192GCM content encryption and caller-supplied IV APIs; RSA1_5 key encryption is now a build-time opt-in, off by default
- 0.8.0: RSA-OAEP-256, ECDH-ES+A*KW, ES256K/secp256k1 and OKP keys with Ed25519/Ed448 signing; OpenSSL types removed from public headers; fix HMAC over non-oct keys
- 0.8.1: refuse valueless private JWK members, multi-prime RSA keys, private epk members and non-disjoint JWE header names, which may reject input 0.8.0 accepted

Switch from the OpenIDC 0.6.2.x fork to the 0.8.x branch of the original cisco/cjose project, which is maintained again. Add an upstream check; the tags have no v prefix.

AI-Generated: Uses Claude Code

---
 .../cjose/{cjose_0.6.2.8.bb => cjose_0.8.1.bb}            | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/cjose/{cjose_0.6.2.8.bb => cjose_0.8.1.bb} (51%)
meta-oe/recipes-support/cjose/cjose_0.8.1.bb renamed from meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb +5 -3
similarity index 51%
rename from meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb
rename to meta-oe/recipes-support/cjose/cjose_0.8.1.bb
index 492ee0d143..07a91face3 100644
@@ -1,11 +1,13 @@
 SUMMARY = "C library implementing the Javascript Object Signing and Encryption (JOSE)"
-HOMEPAGE = "https://github.com/OpenIDC/cjose"
+HOMEPAGE = "https://github.com/cisco/cjose"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7249e2f9437adfb8c88d870438042f0e"
 
-SRC_URI = "git://github.com/OpenIDC/cjose;protocol=https;branch=version-0.6.2.x;tag=v${PV}"
+SRC_URI = "git://github.com/cisco/cjose;protocol=https;branch=0.8.x;tag=${PV}"
 
-SRCREV = "e787ace6a203d483038a793fd58f958a2f9b48c1"
+SRCREV = "6fdb5fe75a86acb9cd34ca2eb13d9e090a6df588"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 
 DEPENDS = "openssl libcheck jansson"
 
author
#16 lore raw

PATCH 11/55 zabbix: upgrade 7.4.16 -> 8.0.0

In reply to Khem Raj

- New major LTS release: OpenTelemetry-based application performance monitoring (traces, metrics, logs) with ClickHouse as history and telemetry backend; OpenTelemetry collector on the proxy
- Complex event processing, a JSON item value type, an MCP server for AI agents, a mobile app, dashboard export/import and Elasticsearch 8.x/9.x support
- Removed: deprecated macros, host/template massupdate and hostinterface.replacehostinterfaces API methods, HTTP agent JSON/XML validation and pre-1.6 agent support
- Breaking: changed API access defaults, SAML signing enabled by default, TLS verification for HTTP-based templates and media types, extended UnsafeUserParameters, read-only built-ins in JavaScript preprocessing
- Raised minimum PHP and database versions (Elasticsearch now needs 8.0 or newer)

Derive the download directory from PV and add an upstream check against the tags of the GitHub mirror.

AI-Generated: Uses Claude Code

---
 .../zabbix/{zabbix_7.4.16.bb => zabbix_8.0.0.bb}           | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-connectivity/zabbix/{zabbix_7.4.16.bb => zabbix_8.0.0.bb} (90%)
meta-oe/recipes-connectivity/zabbix/zabbix_8.0.0.bb renamed from meta-oe/recipes-connectivity/zabbix/zabbix_7.4.16.bb +5 -2
similarity index 90%
rename from meta-oe/recipes-connectivity/zabbix/zabbix_7.4.16.bb
rename to meta-oe/recipes-connectivity/zabbix/zabbix_8.0.0.bb
index 568235e698..b66967b71d 100644
@@ -23,11 +23,14 @@ DEPENDS  = "libevent libpcre2 openldap virtual/libiconv zlib"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-SRC_URI = "https://cdn.zabbix.com/zabbix/sources/stable/7.4/${BPN}-${PV}.tar.gz \
+SRC_URI = "https://cdn.zabbix.com/zabbix/sources/stable/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-${PV}.tar.gz \
     file://0001-Fix-configure.ac.patch \
     file://zabbix-agent.service \
 "
-SRC_URI[sha256sum] = "0e2c391dc184acce8e34250e7326a51e19c8bcee31e67b8497f5526247ecd261"
+SRC_URI[sha256sum] = "55469ac599fd1443370ecf4288655d4d62109ad3a686711c4f3e0d428338ca77"
+
+UPSTREAM_CHECK_URI = "https://github.com/zabbix/zabbix/tags"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
 
 inherit autotools-brokensep pkgconfig systemd useradd
 
author
#17 lore raw

PATCH 12/55 lmdb: upgrade 0.9.35 -> 0.9.36

In reply to Khem Raj

- Reject zero-length values in DUPSORT databases and add more input validation for MDB_MULTIPLE puts
- Fix writes of 2GB values, limit sub-page growth when re-adding existing data and fix mdb_stat page counts for DUPSORT databases
- Platform fixes: metapage sync and SIGPIPE in mdb_copy on macOS, no fdatasync on FreeBSD 11.0 and older, large writes on Windows

Stay on the 0.9 series: 1.0 changes the on-disk format, so existing 0.9 databases cannot be opened without a dump and load. Restrict the upstream check to 0.9 releases.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-dbs/lmdb/{lmdb_0.9.35.bb => lmdb_0.9.36.bb} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-dbs/lmdb/{lmdb_0.9.35.bb => lmdb_0.9.36.bb} (89%)
meta-oe/recipes-dbs/lmdb/lmdb_0.9.36.bb renamed from meta-oe/recipes-dbs/lmdb/lmdb_0.9.35.bb +4 -1
similarity index 89%
rename from meta-oe/recipes-dbs/lmdb/lmdb_0.9.35.bb
rename to meta-oe/recipes-dbs/lmdb/lmdb_0.9.36.bb
index 36f2056914..8ed1853500 100644
@@ -14,7 +14,10 @@ SRC_URI = "git://github.com/LMDB/lmdb.git;nobranch=1;protocol=https;tag=LMDB_${P
            file://0001-make-set-soname-on-liblmdb.patch;patchdir=../.. \
            "
 
-SRCREV = "69087ced3cb6082f7dcfb4fc2dcaa3b68a7e2e8c"
+SRCREV = "028f61b6832032174f893484719ed4848d8d60db"
+
+# Stay on 0.9: 1.0 changes the on-disk format
+UPSTREAM_CHECK_GITTAGREGEX = "LMDB_(?P<pver>0\.9(\.\d+)+)"
 
 inherit ptest
 
author
#18 lore raw

PATCH 13/55 adw-gtk3: upgrade 5.10 -> 6.5

In reply to Khem Raj

- 6.0 brings message dialogs closer to libadwaita, makes libhandy viewswitcher buttons look like normal buttons and tweaks colors
- Later releases adopt libadwaita's classic notebook style, adjust titlebuttons and OSD/column header styling and add focus-ring transitions
- 6.4: the GTK4 theme requires GTK 4.20 or later, since it uses CSS @media queries for the dark variant
- 6.5 targets GNOME 50 and replaces deprecated sass usage

Since 6.0 the theme is built with Dart Sass, which OE does not provide, and its SCSS no longer compiles with sassc. Install the CSS from the upstream release tarball instead and add an upstream check for the releases.

License-Update: the release tarball has no LICENSE file; use the common LGPL-2.1-only text
AI-Generated: Uses Claude Code

---
 .../gnome-themes/adw-gtk3_5.10.bb             | 15 ------------
 .../gnome-themes/adw-gtk3_6.5.bb              | 24 +++++++++++++++++++
 2 files changed, 24 insertions(+), 15 deletions(-)
 delete mode 100644 meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb
 create mode 100644 meta-oe/recipes-gnome/gnome-themes/adw-gtk3_6.5.bb
meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb deleted +0 -15
deleted file mode 100644
index 70da55c137..0000000000
@@ -1,15 +0,0 @@
-SUMMARY = "An unofficial GTK3 port of libadwaita."
-HOMEPAGE = "http://github.com/lassekongo83/adw-gtk3"
-SECTION = "graphics"
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
-
-DEPENDS = "sassc-native"
-
-inherit meson
-
-SRC_URI = "git://github.com/lassekongo83/adw-gtk3.git;protocol=https;branch=main;tag=v${PV}"
-
-SRCREV = "c2e74c9d2a5c3895b8025ac1d4b9e4cced71fbe9"
-
-FILES:${PN} = "${datadir}/themes"
meta-oe/recipes-gnome/gnome-themes/adw-gtk3_6.5.bb new file +24 -0
new file mode 100644
index 0000000000..1bbdd1abf9
@@ -0,0 +1,24 @@
+SUMMARY = "An unofficial GTK3 port of libadwaita."
+HOMEPAGE = "https://github.com/lassekongo83/adw-gtk3"
+SECTION = "graphics"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
+
+# Building needs Dart Sass, which OE lacks, so install upstream's prebuilt CSS
+SRC_URI = "https://github.com/lassekongo83/adw-gtk3/releases/download/v${PV}/adw-gtk3v${PV}.tar.xz;subdir=${BP}"
+SRC_URI[sha256sum] = "a81780fadfc432be0fc3d89c4ebb41aa28e4f032d42c36f9789c57dd10cfa41c"
+
+UPSTREAM_CHECK_URI = "https://github.com/lassekongo83/adw-gtk3/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
+
+inherit allarch
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install() {
+    install -d ${D}${datadir}/themes
+    cp -R --no-preserve=ownership ${S}/adw-gtk3 ${S}/adw-gtk3-dark ${D}${datadir}/themes/
+}
+
+FILES:${PN} = "${datadir}/themes"
author
#19 lore raw

PATCH 14/55 wxwidgets: upgrade 3.2.11 -> 3.2.12

In reply to Khem Raj

- API and ABI compatible bug-fix release in the 3.2 stable branch
- Security: fix buffer overflow with invalid cached help books and handling of TGA files with invalid size
- wxGTK: implement wxTaskBarIcon using AppIndicator, use wxApp::SetClassName() as the Wayland app-id, fix a possible wxWebRequestCURL hang and a wxWebView memory leak
- Several wxHTML fixes (image maps, printing background, file types) and updated Unicode mapping tables
- Add wxPATH_RMDIR_PARENTS flag to wxFileName::Rmdir()

Stay on the 3.2 stable series; 3.3 is the development branch. Restrict the upstream check to the stable (even) minor versions.

License-Update: docs/licence.txt replaces the FSF postal address with a link to gnu.org; terms unchanged
AI-Generated: Uses Claude Code

---
 .../wxwidgets/{wxwidgets_3.2.11.bb => wxwidgets_3.2.12.bb} | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-extended/wxwidgets/{wxwidgets_3.2.11.bb => wxwidgets_3.2.12.bb} (95%)
meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.12.bb renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.11.bb +4 -3
similarity index 95%
rename from meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.11.bb
rename to meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.12.bb
index 51f3fdb39d..d6a8de6bdb 100644
@@ -7,7 +7,7 @@ BUGTRACKER = "https://trac.wxwidgets.org/"
 # distributing the sources of an application using the library even in the
 # case of static linking.
 LICENSE = "LGPL-2.0-or-later WITH WxWindows-exception-3.1"
-LIC_FILES_CHKSUM = "file://docs/licence.txt;md5=981f50a934828620b08f44d75db557c6"
+LIC_FILES_CHKSUM = "file://docs/licence.txt;md5=7971b9ce85ba3665488582c8e9ec6188"
 
 inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt', 'cmake_qt5', 'cmake', d)}
 inherit lib_package binconfig pkgconfig
@@ -25,9 +25,10 @@ SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=3.2;protocol=https;
            file://0006-Fix-locale-on-musl.patch \
            file://0007-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch \
            "
-SRCREV = "749625e0ea4d70d1f75494aa52231d835531a618"
+SRCREV = "3b7c7fc839093ad28146bd17555af2565c792c96"
 
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+# Even minor versions are the stable series
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d*[02468]\.\d+)$"
 
 # These can be either 'builtin' or 'sys' and builtin means cloned soures are
 # build. So these cannot be PACKAGECONFIGs and let's use libs where we can (see
author
#20 lore raw

PATCH 15/55 pstack: upgrade 2.18.4 -> 2.19.1

In reply to Khem Raj

- Add Go goroutine support
- pyrdb prints many more Python value types (float, complex, bytearray, slice, range, set, ...) and handles Python 3.12 integers; updated offsets for Python 3.12 and 3.14 and 32-bit fixes
- Robustness: bounds-check reader operations, tolerate broken program headers in debug images and use PT_DYNAMIC for symbol hash tables
- Don't deliver SIGTRAP to a process while waiting to attach; less scanning of core notes

pstack_2.18.4.bb was copied from the tk recipe when it was added and never built pstack. Replace it and pstack_git.bb (2.11) with one recipe using pstack.inc. Use the upstream install rules, which also install the soname links the hand-written do_install missed, skip the install RPATH and package the unversioned libhdbg.so LD_PRELOAD library separately. Drop the cross-compile test patch, which is upstream, and add an upstream check.

AI-Generated: Uses Claude Code

---
 ...e-issue-of-cross-compilation-failure.patch | 28 ---------------
 meta-oe/recipes-devtools/pstack/pstack.inc    | 28 ++++-----------
 .../recipes-devtools/pstack/pstack_2.18.4.bb  | 35 -------------------
 .../{pstack_git.bb => pstack_2.19.1.bb}       |  9 +++--
 4 files changed, 11 insertions(+), 89 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch
 delete mode 100644 meta-oe/recipes-devtools/pstack/pstack_2.18.4.bb
 rename meta-oe/recipes-devtools/pstack/{pstack_git.bb => pstack_2.19.1.bb} (52%)
meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch deleted +0 -28
deleted file mode 100644
index 2b54750e7a..0000000000
@@ -1,28 +0,0 @@
-From a8c3996d3f8d9b8f3a2888b7062c1139263c5aba Mon Sep 17 00:00:00 2001
-From: Wen Yang <[email protected]>
-Date: Mon, 23 Jun 2025 02:06:53 +0800
-Subject: [PATCH] tests: fix the issue of cross compilation failure
-
-By replacing objcopy with MAKE_OBJCOPY, pstack could support both
-native and cross compilation.
-
-Upstream-Status: Backport [https://github.com/peadar/pstack/pull/38]
----
- tests/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
-index 71a62a7..bf11a04 100644
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -38,7 +38,7 @@ SET_TARGET_PROPERTIES(noreturn PROPERTIES COMPILE_FLAGS "-O2 -g")
-
- add_custom_command(
-    OUTPUT basic-no-unwind-gen
--   COMMAND objcopy --strip-debug --remove-section .eh_frame basic basic-no-unwind
-+   COMMAND ${CMAKE_OBJCOPY} --strip-debug --remove-section .eh_frame basic basic-no-unwind
-    VERBATIM )
-
- add_custom_target(basic-no-unwind ALL DEPENDS basic basic-no-unwind-gen)
---
-2.25.1
meta-oe/recipes-devtools/pstack/pstack.inc +7 -21
index 778438a272..e2b255873a 100644
@@ -15,27 +15,13 @@ DEPENDS += "zlib xz libunwind elfutils"
 
 RDEPENDS:${PN} += "elfutils"
 
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 ${B}/pstack ${D}${bindir}/pstack
-
-    install -d ${D}${libdir}
-    install -m 0755 ${B}/libprocman.so.${PV} ${D}${libdir}/libprocman.so.${PV}
-    ln -sf libprocman.so.${PV} ${D}${libdir}/libprocman.so
-    install -m 0755 ${B}/libdwelf.so.${PV}  ${D}${libdir}/libdwelf.so.${PV}
-    ln -sf libdwelf.so.${PV}  ${D}${libdir}/libdwelf.so
-}
-
-PACKAGES = "${PN}"
-FILES:${PN} = "${bindir}/pstack"
-FILES:${PN} += "${libdir}/libprocman.so.${PV}"
-FILES:${PN} += "${libdir}/libdwelf.so.${PV}"
-
-PACKAGES += "${PN}-dbg"
-FILES:${PN}-dbg += "${base_bindir}/.debug ${base_sbindir}/.debug ${bindir}/.debug ${sbindir}/.debug"
-
-PACKAGES += "${PN}-dev"
-FILES:${PN}-dev += "${base_libdir}/*.so"
+EXTRA_OECMAKE += "-DCMAKE_SKIP_INSTALL_RPATH=ON"
+
+# libhdbg.so is an unversioned LD_PRELOAD heap debugging library
+PACKAGES =+ "${PN}-hdbg"
+FILES:${PN}-hdbg = "${libdir}/libhdbg.so"
+
+FILES:${PN} += "${datadir}/pstack"
 
 TOOLCHAIN = "gcc"
 
meta-oe/recipes-devtools/pstack/pstack_2.18.4.bb deleted +0 -35
deleted file mode 100644
index 8a1e1c6664..0000000000
@@ -1,35 +0,0 @@
-SUMMARY = "A from-scratch implementation of pstack using DWARF debugging \
-and unwind information. Works for C/C++, Go, Rust, and Python."
-
-HOMEPAGE = "https://github.com/peadar/pstack"
-SECTION = "devel/pstack"
-
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=671019a96ba80415b696240ed2ca5e80"
-
-DEPENDS = "tcl virtual/libx11 libxt zip-native"
-
-SRC_URI = "git://github.com/peadar/pstack;branch=master;tag=v${PV};protocol=https \
-           file://0001-reader.h-include-cstdint-for-uintmax_t-intmax_t.patch \
-          "
-SRCREV = "b78d16e9497fd36350e4e8bd37f31f8dab5b5651"
-
-PACKAGES =+ "${PN}-lib"
-
-SOLIBS = ".so"
-FILES_SOLIBSDEV = ""
-
-# isn't getting picked up by shlibs code
-RDEPENDS:${PN} += "tk-lib"
-RDEPENDS:${PN}:class-native = ""
-
-BBCLASSEXTEND = "native nativesdk"
-
-inherit binconfig features_check
-
-REQUIRED_DISTRO_FEATURES = "x11"
-
-SYSROOT_DIRS += "${bindir_crossscripts}"
-
-# Fix some paths that might be used by Tcl extensions
-BINCONFIG_GLOB = "*Config.sh"
meta-oe/recipes-devtools/pstack/pstack_2.19.1.bb renamed from meta-oe/recipes-devtools/pstack/pstack_git.bb +4 -5
similarity index 52%
rename from meta-oe/recipes-devtools/pstack/pstack_git.bb
rename to meta-oe/recipes-devtools/pstack/pstack_2.19.1.bb
index 0785ef2ab7..c791354307 100644
@@ -1,9 +1,8 @@
 require pstack.inc
 
-SRCREV = "1e1734be3adb6d9c81b57c5cc3d0c8fbc43bdee3"
-PV = "2.11"
-
-SRC_URI = "git://github.com/peadar/pstack.git;branch=master;protocol=https \
-           file://0001-tests-fix-the-issue-of-cross-compilation-failure.patch \
+SRC_URI = "git://github.com/peadar/pstack.git;branch=master;protocol=https;tag=v${PV} \
            file://0001-reader.h-include-cstdint-for-uintmax_t-intmax_t.patch \
           "
+SRCREV = "6bb443b3fe8f6515cdae33b908780627aac92b96"
+
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
author
#21 lore raw

PATCH 16/55 sdbus-c++-libsystemd: upgrade 259.8 -> 262

In reply to Khem Raj

- libsystemd: new sd-varlink protocol-upgrade helpers, SD_ELF_NOTE_DLOPEN_ANCHORED() in sd-dlopen.h, and sd_id128_from_string() accepts urn:uuid: strings
- libsystemd no longer links against libgcrypt; journal sealing moved to OpenSSL
- systemd-repart: supports Encrypt= combined with Verity=data, honors $SOURCE_DATE_EPOCH for reproducible images, and gains --cow= and -n for --dry-run
- systemd-repart: MakeSymlinks= expands specifiers in the target, and the legacy FactoryReset EFI variable is no longer honored (use FactoryResetRequest)

Require oe-core's systemd.inc so the recipe follows oe-core's systemd version and sources instead of carrying copies.

systemd 262 needs libucontext on musl (as in oe-core's systemd recipe), so add it to DEPENDS for libc-musl. The static libsystemd then needs -lucontext on its users' link line, so add it to libsystemd.pc.

AI-Generated: Uses Claude Code

---
 ...ystemd_259.8.bb => sdbus-c++-libsystemd_262.bb} | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-libsystemd_259.8.bb => sdbus-c++-libsystemd_262.bb} (78%)
meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb renamed from meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_259.8.bb +9 -5
similarity index 78%
rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_259.8.bb
rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb
index 280bc39c13..1dabb33bfb 100644
@@ -1,3 +1,5 @@
+require recipes-core/systemd/systemd.inc
+
 SUMMARY = "libsystemd static library"
 DESCRIPTION = "libsystemd static library built specifically as an integral component of sdbus-c++"
 
@@ -10,17 +12,14 @@ inherit meson pkgconfig
 
 DEPENDS += "gperf-native gettext-native util-linux libcap util-linux python3-jinja2-native"
 
-SRCREV = "6576434737de042cdd0f6e62f34f04818306c73b"
-SRCBRANCH = "v259-stable"
-SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV} \
-           file://static-libsystemd-pkgconfig.patch \
-           "
+SRC_URI += "file://static-libsystemd-pkgconfig.patch"
 
 PACKAGECONFIG ??= "gshadow idn"
 PACKAGECONFIG:remove:libc-musl = " gshadow idn"
 PACKAGECONFIG[gshadow] = "-Dgshadow=true,-Dgshadow=false"
 PACKAGECONFIG[idn] = "-Didn=true,-Didn=false"
 
+DEPENDS:append:libc-musl = " libucontext"
 CFLAGS:append:libc-musl = " -D__UAPI_DEF_ETHHDR=0 "
 
 # Enable systemd's in-tree musl support (mirrors oe-core's systemd recipe).
@@ -46,3 +45,8 @@ do_install () {
     install -d ${D}${libdir}/pkgconfig
     install ${B}/src/libsystemd/libsystemd.pc ${D}${libdir}/pkgconfig
 }
+
+# The static libsystemd uses getcontext/makecontext/swapcontext from libucontext on musl
+do_install:append:libc-musl () {
+    sed -i -e '/^Libs:/s/$/ -lucontext/' ${D}${libdir}/pkgconfig/libsystemd.pc
+}
author
#22 lore raw

PATCH 17/55 systemd-repart-native: upgrade 257.6 -> 262

In reply to Khem Raj

- libsystemd: new sd-varlink protocol-upgrade helpers, SD_ELF_NOTE_DLOPEN_ANCHORED() in sd-dlopen.h, and sd_id128_from_string() accepts urn:uuid: strings
- libsystemd no longer links against libgcrypt; journal sealing moved to OpenSSL
- systemd-repart: supports Encrypt= combined with Verity=data, honors $SOURCE_DATE_EPOCH for reproducible images, and gains --cow= and -n for --dry-run
- systemd-repart: MakeSymlinks= expands specifiers in the target, and the legacy FactoryReset EFI variable is no longer honored (use FactoryResetRequest)

Require oe-core's systemd.inc so the recipe follows oe-core's systemd version, sources and license files. systemd 262 removed the rootlibdir and rootprefix meson options, and the libsystemd-shared name is now derived from PV.

License-Update: license files now come from systemd.inc; the systemd 262 copies carry the older FSF postal address, terms unchanged
AI-Generated: Uses Claude Code

---
 ..._257.6.bb => systemd-repart-native_262.bb} | 21 ++++---------------
 1 file changed, 4 insertions(+), 17 deletions(-)
 rename meta-oe/recipes-core/systemd/{systemd-repart-native_257.6.bb => systemd-repart-native_262.bb} (58%)
meta-oe/recipes-core/systemd/systemd-repart-native_262.bb renamed from meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb +4 -17
similarity index 58%
rename from meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb
rename to meta-oe/recipes-core/systemd/systemd-repart-native_262.bb
index 8fb19b1b90..220e20e517 100644
@@ -3,19 +3,12 @@
 # Copyright Leica Geosystems AG
 #
 
+require recipes-core/systemd/systemd.inc
+
 SUMMARY = "systemd-repart"
 DESCRIPTION = "systemd-repart grows and adds partitions to a partition table, based on the configuration files described in repart.d(5), or generates a Discoverable Disk Image (DDI) for a system extension (sysext, see systemd-sysext(8))."
 HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd"
 
-LICENSE = "GPL-2.0-only AND LGPL-2.1-or-later"
-LICENSE:libsystemd = "LGPL-2.1-or-later"
-LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
-                    file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
-
-SRCREV = "00a12c234e2506f5cab683460199575f13c454db"
-SRCBRANCH = "v257-stable"
-SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH}"
-
 DEPENDS = " \
     cryptsetup-native \
     gperf-native \
@@ -28,16 +21,10 @@ inherit meson pkgconfig gettext native
 
 MESON_TARGET = "systemd-repart"
 
-# Helper variables to clarify locations. This mirrors the logic in systemd's
-# build system.
-rootprefix ?= "${root_prefix}"
-rootlibdir ?= "${base_libdir}"
-rootlibexecdir = "${rootprefix}/lib"
+SYSTEMD_MAJOR = "${@d.getVar('PV').split('.')[0]}"
 
 EXTRA_OEMESON += "-Dnobody-user=nobody \
     -Dnobody-group=nogroup \
-    -Drootlibdir=${rootlibdir} \
-    -Drootprefix=${rootprefix} \
     -Ddefault-locale=C \
     -Dmode=release \
     -Dsystem-alloc-uid-min=101 \
@@ -50,7 +37,7 @@ do_install() {
     install -d ${D}${bindir}/
     install -m 0755 ${B}/systemd-repart ${D}${bindir}/systemd-repart
     install -d ${D}${libdir}/
-    install -m 0644 ${B}/src/shared/libsystemd-shared-257.so ${D}${libdir}/libsystemd-shared-257.so
+    install -m 0644 ${B}/src/shared/libsystemd-shared-${SYSTEMD_MAJOR}.so ${D}${libdir}/libsystemd-shared-${SYSTEMD_MAJOR}.so
 
     install -d ${D}${libdir}/systemd/repart/
     cp -r ${S}/src/repart/definitions ${D}${libdir}/systemd/repart/
author
#23 lore raw

PATCH 18/55 cbindgen: upgrade 0.29.2 -> 0.29.4

In reply to Khem Raj

- Support constant enums and arrays
- In C23 mode, define sized enums as enums instead of typedefs
- Expose the line_endings option to the builder and allow pub access to ReprType fields
- Fix doc attribute parsing with block comments and also check CMSE ABIs

Inherit cargo-update-recipe-crates so the crate list can be regenerated (unchanged for this release), and list the git source first so the upstream check reads cbindgen tags instead of the first crate. Add the upstream check.

AI-Generated: Uses Claude Code

---
 .../cbindgen/{cbindgen_0.29.2.bb => cbindgen_0.29.4.bb}  | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/cbindgen/{cbindgen_0.29.2.bb => cbindgen_0.29.4.bb} (76%)
meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.4.bb renamed from meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb +6 -3
similarity index 76%
rename from meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb
rename to meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.4.bb
index 6b5fac9d47..b5a9df4a82 100644
@@ -3,12 +3,15 @@ HOMEPAGE = "https://github.com/mozilla/cbindgen"
 LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
 
-require cbindgen-crates.inc
 SRC_URI += "git://github.com/mozilla/cbindgen.git;protocol=https;branch=main;tag=v${PV}"
 SRC_URI += "file://0001-Use-libc-SYS_futex_time64-on-riscv32.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/getrandom-0.3.3/"
 
-SRCREV = "76f41c090c0587d940a0ef81a41c8b995f074926"
+SRCREV = "b826cb8911488fe8a209d2b693492c0c673e8cca"
+
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+
+require cbindgen-crates.inc
 
-inherit cargo pkgconfig
+inherit cargo cargo-update-recipe-crates pkgconfig
 
 BBCLASSEXTEND += "native"
author
#24 lore raw

PATCH 19/55 freerdp: Restrict upstream check to the 2.x series

In reply to Khem Raj

FreeRDP 3 is packaged separately as freerdp3, and the version check reported 3.x releases as updates for this recipe.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/freerdp/freerdp_2.11.8.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/freerdp/freerdp_2.11.8.bb +3 -0
index 4cb71e0fc1..f9bc82ab5f 100644
@@ -15,6 +15,9 @@ RDEPENDS:${PN}-ptest += "coreutils pcsc-lite-lib"
 PE = "1"
 
 SRCREV = "9b678b6d5a40ce01607d8c3b1b1416437c8416c4"
+
+# 3.x is packaged as freerdp3
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>2(\.\d+)+)$"
 SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \
            file://run-ptest \
            file://winpr-makecert-Build-with-install-RPATH.patch \
author
#25 lore raw

PATCH 20/55 zbar: Restrict upstream check to release tags

In reply to Khem Raj

The repository has an old iPhoneSDK-1.3.1 tag, which the version check reported as a newer zbar release.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/zbar/zbar_0.23.95.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/zbar/zbar_0.23.95.bb +2 -0
index e3e337d50e..ebe5c7a7aa 100644
@@ -14,6 +14,8 @@ SRC_URI = "git://github.com/mchehab/zbar.git;branch=master;protocol=https;tag=${
            "
 SRCREV = "dc19fcc7da58e8cf84ba1ec417e24b04609feb23"
 
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
+
 DEPENDS += "xmlto-native"
 
 PACKAGECONFIG ??= "\
author
#26 lore raw

PATCH 21/55 nodejs: upgrade 24.22.3 -> 26.13.1

In reply to Khem Raj

Node.js 26 'Lithium' became Active LTS on 2026-10-28; 24 is now in maintenance.
- Node 25: V8 14.1, permission model --allow-net, Web Storage on by default, SlowBuffer and other long-deprecated APIs removed.
- Node 26: V8 14.6, Temporal API enabled by default (needs Rust), Undici 8, npm 11.20, corepack no longer bundled.
- Removed: http writeHeader(), legacy _stream_* modules, --experimental-transform-types; module.register() is deprecated.
- Build needs GCC >= 13.2 or Clang >= 19.1, Python >= 3.10.
- 26.13.1 is a security release fixing CVE-2026-123828, CVE-2026-123829, CVE-2026-123862..123868, CVE-2026-123871..123875, CVE-2026-123877 and CVE-2026-126051 (http2, tls, http, permission).

Configure with --v8-disable-temporal-support: Temporal pulls in the Rust temporal_rs crate, and configure.py enables it whenever it finds cargo/rustc on the build host, so disable it for deterministic builds. Drop the GCC 15 ia32 -Wtemplate-body and histogram AVX2 patches, both are upstream. Drop the riscv hunk of the liftoff patch since that code no longer exists, and refresh the remaining patches for 26.13.1. Drop corepack from FILES since it is no longer installed. Add an upstream check restricted to the even-numbered (LTS) majors. Rename the nodejs-oe-cache-native recipe to 26.13 to match.

License-Update: LIEF copyright years updated to 2026, and the large_pages (Intel, MIT) section removed with src/large_pages.

V8 14.6 decodes hex with NEON intrinsics in src/objects/simd.cc that rely on implicit vector conversions. GCC rejects those, which breaks the host (BUILD_CXX) build on aarch64 build hosts, so pass -flax-vector-conversions to the host compiler there.

AI-Generated: Uses Claude Code

---
 ...plate-body-error-with-GCC-15-on-ia32.patch | 52 -------------------
 ...ram-restrict-avx2-dispatch-to-x86_64.patch | 44 ----------------
 .../0001-Do-not-use-glob-in-deps.patch        |  6 ++-
 .../0002-v8-don-t-override-ARM-CFLAGS.patch   |  8 +--
 .../0003-system-c-ares.patch                  |  4 +-
 ...-liftoff-Correct-function-signatures.patch | 30 +++--------
 ...ps-disable-io_uring-support-in-libuv.patch |  8 +--
 .../0007-positional-args.patch                |  3 +-
 .../0008-custom-env.patch                     |  2 +-
 .../0009-Using-native-binaries.patch          | 20 +++----
 ...y-case-equivalents-of-BMP-characters.patch |  6 +--
 .../nodejs/{nodejs-24 => nodejs-26}/run-ptest |  0
 .../oe-npm-cache                              |  0
 ....22.bb => nodejs-oe-cache-native_26.13.bb} |  0
 .../{nodejs_24.22.3.bb => nodejs_26.13.1.bb}  | 20 ++++---
 15 files changed, 50 insertions(+), 153 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs-24/0010-v8-fix-Wtemplate-body-error-with-GCC-15-on-ia32.patch
 delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs-24/0012-histogram-restrict-avx2-dispatch-to-x86_64.patch
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0001-Do-not-use-glob-in-deps.patch (94%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0002-v8-don-t-override-ARM-CFLAGS.patch (97%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0003-system-c-ares.patch (93%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0004-liftoff-Correct-function-signatures.patch (65%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0006-deps-disable-io_uring-support-in-libuv.patch (90%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0007-positional-args.patch (96%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0008-custom-env.patch (95%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0009-Using-native-binaries.patch (93%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch (98%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/run-ptest (100%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-24.22 => nodejs-oe-cache-26.13}/oe-npm-cache (100%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_24.22.bb => nodejs-oe-cache-native_26.13.bb} (100%)
 rename meta-oe/recipes-devtools/nodejs/{nodejs_24.22.3.bb => nodejs_26.13.1.bb} (91%)
meta-oe/recipes-devtools/nodejs/nodejs-24/0010-v8-fix-Wtemplate-body-error-with-GCC-15-on-ia32.patch deleted +0 -52
deleted file mode 100644
index 4053f97053..0000000000
@@ -1,52 +0,0 @@
-From 9f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a Mon Sep 17 00:00:00 2001
-From: Bin Cao <[email protected]>
-Date: Thu, 29 May 2026 12:00:00 +0800
-Subject: [PATCH] v8: fix -Wtemplate-body error with GCC 15 on ia32
-
-GCC 15 introduced -Wtemplate-body (enabled by default as an error) which
-performs stricter name lookup checking inside template bodies. In the
-Int64LoweringReducer template class (only compiled for 32-bit targets),
-the expression `__ Tuple<Word32, Word32>(...)` is ambiguous in a
-dependent context because GCC cannot determine whether `Tuple` after
-the `__` macro expansion (`Asm().`) refers to a template member function
-or the struct type `Tuple`.
-
-Add the C++ `template` disambiguator keyword to tell the compiler that
-`Tuple` is a dependent template name. This is the standards-correct fix
-and is backward-compatible with older GCC versions.
-
-This is a minimal backport of the fix already present in upstream V8
-(main branch), where the method was additionally renamed from `Tuple` to
-`MakeTuple`.
-
-Upstream-Status: Backport [https://github.com/nodejs/node/commit/7772a2df9d0b4db9947dbb902b4aec33c35401c0]
-Signed-off-by: Bin Cao <[email protected]>
----
- .../turboshaft/int64-lowering-reducer.h       | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h b/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
-index abcdef1..1234567 100644
---- a/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
-+++ b/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
-@@ -637,7 +637,7 @@ class Int64LoweringReducer : public Next {
-       result = __ Word32CountLeadingZeros(high);
-     }
- 
--    return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
-+    return __ template Tuple<Word32, Word32>(result, __ Word32Constant(0));
-   }
- 
-   V<Word32Pair> LowerCtz(V<Word32Pair> input) {
-@@ -650,7 +650,7 @@ class Int64LoweringReducer : public Next {
-       result = __ Word32CountTrailingZeros(low);
-     }
- 
--    return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
-+    return __ template Tuple<Word32, Word32>(result, __ Word32Constant(0));
-   }
- 
-   V<Word32Pair> LowerPopCount(V<Word32Pair> input) {
--- 
-2.43.0
-
meta-oe/recipes-devtools/nodejs/nodejs-24/0012-histogram-restrict-avx2-dispatch-to-x86_64.patch deleted +0 -44

44 lines not on this page · raw message

meta-oe/recipes-devtools/nodejs/nodejs-26/0001-Do-not-use-glob-in-deps.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0001-Do-not-use-glob-in-deps.patch +4 -2
similarity index 94%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0001-Do-not-use-glob-in-deps.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0001-Do-not-use-glob-in-deps.patch
index 622d25bbd3..de65a01829 100644
@@ -34,11 +34,13 @@ do_unpack[postfuncs] += "prune_sources"
 
 Upstream-Status: Inappropriate [embedded specific]
 
+diff --git a/Makefile b/Makefile
+index 15de440..c6f95ca 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -179,7 +179,7 @@ with-code-cache test-code-cache:
+@@ -181,7 +181,7 @@ with-code-cache test-code-cache:
  	$(warning '$@' target is a noop)
-
+ 
  out/Makefile: config.gypi common.gypi node.gyp \
 -	deps/*/*.gyp \
 +	deps/llhttp/llhttp.gyp deps/ada/ada.gyp deps/nbytes/nbytes.gyp \
meta-oe/recipes-devtools/nodejs/nodejs-26/0002-v8-don-t-override-ARM-CFLAGS.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0002-v8-don-t-override-ARM-CFLAGS.patch +4 -4
similarity index 97%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0002-v8-don-t-override-ARM-CFLAGS.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0002-v8-don-t-override-ARM-CFLAGS.patch
index cc920118a2..107103e452 100644
@@ -24,14 +24,14 @@ problems have been noted during compilation or runtime.
 Upstream-Status: Inappropriate [oe-specific]
 Signed-off-by: André Draszik <[email protected]>
 ---
- tools/v8_gypfiles/toolchain.gypi | 52 ++------------------------------
+ tools/v8_gypfiles/toolchain.gypi | 52 ++--------------------------------------
  1 file changed, 2 insertions(+), 50 deletions(-)
 
 diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi
-index 9d1b0987..4df15e60 100644
+index 3676848..ac6fee0 100644
 --- a/tools/v8_gypfiles/toolchain.gypi
 +++ b/tools/v8_gypfiles/toolchain.gypi
-@@ -203,31 +203,7 @@
+@@ -192,31 +192,7 @@
          'target_conditions': [
            ['_toolset=="host"', {
              'conditions': [
@@ -64,7 +64,7 @@ index 9d1b0987..4df15e60 100644
                  # Host not built with an Arm CXX compiler (simulator build).
                  'conditions': [
                    [ 'arm_float_abi=="hard"', {
-@@ -246,31 +222,7 @@
+@@ -235,31 +211,7 @@
            }],  # _toolset=="host"
            ['_toolset=="target"', {
              'conditions': [
meta-oe/recipes-devtools/nodejs/nodejs-26/0003-system-c-ares.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0003-system-c-ares.patch +2 -2
similarity index 93%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0003-system-c-ares.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0003-system-c-ares.patch
index 6f08c71e18..c8348a3985 100644
@@ -10,10 +10,10 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 9 insertions(+), 1 deletion(-)
 
 diff --git a/src/cares_wrap.h b/src/cares_wrap.h
-index 021ef1c9..820c5d88 100644
+index fd66a67..e3720e5 100644
 --- a/src/cares_wrap.h
 +++ b/src/cares_wrap.h
-@@ -23,7 +23,15 @@
+@@ -24,7 +24,15 @@
  # include <netdb.h>
  #endif  // __POSIX__
  
meta-oe/recipes-devtools/nodejs/nodejs-26/0004-liftoff-Correct-function-signatures.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0004-liftoff-Correct-function-signatures.patch +8 -22
similarity index 65%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0004-liftoff-Correct-function-signatures.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0004-liftoff-Correct-function-signatures.patch
index 5e617e6554..31547fae7b 100644
@@ -12,16 +12,15 @@ Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/v8/v8/+/3
 
 Signed-off-by: Archana Polampalli <[email protected]>
 ---
- deps/v8/src/wasm/baseline/liftoff-assembler.h               | 6 +++---
- .../src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h | 2 +-
- .../src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h | 2 +-
- 3 files changed, 5 insertions(+), 5 deletions(-)
+ deps/v8/src/wasm/baseline/liftoff-assembler.h                   | 6 +++---
+ deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h | 2 +-
+ 2 files changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/deps/v8/src/wasm/baseline/liftoff-assembler.h b/deps/v8/src/wasm/baseline/liftoff-assembler.h
-index 7cb2f500..713d16db 100644
+index 160ec7a..ea759a2 100644
 --- a/deps/v8/src/wasm/baseline/liftoff-assembler.h
 +++ b/deps/v8/src/wasm/baseline/liftoff-assembler.h
-@@ -681,7 +681,7 @@ class LiftoffAssembler : public MacroAssembler {
+@@ -622,7 +622,7 @@ class LiftoffAssembler : public MacroAssembler {
    void FinishCall(const ValueKindSig*, compiler::CallDescriptor*);
  
    // Move {src} into {dst}. {src} and {dst} must be different.
@@ -30,7 +29,7 @@ index 7cb2f500..713d16db 100644
  
    // Parallel register move: For a list of tuples <dst, src, kind>, move the
    // {src} register of kind {kind} into {dst}. If {src} equals {dst}, ignore
-@@ -851,8 +851,8 @@ class LiftoffAssembler : public MacroAssembler {
+@@ -824,8 +824,8 @@ class LiftoffAssembler : public MacroAssembler {
    inline void MoveStackValue(uint32_t dst_offset, uint32_t src_offset,
                               ValueKind);
  
@@ -42,10 +41,10 @@ index 7cb2f500..713d16db 100644
    inline void Spill(int offset, LiftoffRegister, ValueKind);
    inline void Spill(int offset, WasmValue);
 diff --git a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
-index bd59f162..56b4d70c 100644
+index a05d03b..b55d808 100644
 --- a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
 +++ b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
-@@ -672,7 +672,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
+@@ -684,7 +684,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
      pinned.set(dst_op.rm());
      LiftoffRegister tmp = kScratchReg2;
      // Save original value.
@@ -54,16 +53,3 @@ index bd59f162..56b4d70c 100644
  
      src = tmp;
      pinned.set(tmp);
-diff --git a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
-index a3c94af0..456e5334 100644
---- a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
-+++ b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
-@@ -452,7 +452,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
-     pinned.set(dst_op.rm());
-     LiftoffRegister tmp = GetUnusedRegister(src.reg_class(), pinned);
-     // Save original value.
--    Move(tmp, src, type.value_type());
-+    Move(tmp, src, type.value_type().kind());
- 
-     src = tmp;
-     pinned.set(tmp);
meta-oe/recipes-devtools/nodejs/nodejs-26/0006-deps-disable-io_uring-support-in-libuv.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0006-deps-disable-io_uring-support-in-libuv.patch +4 -4
similarity index 90%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0006-deps-disable-io_uring-support-in-libuv.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0006-deps-disable-io_uring-support-in-libuv.patch
index 50d63cf78c..743cf8e62d 100644
@@ -18,13 +18,14 @@ Signed-off-by: Martin Jansa <[email protected]>
 Updated by Jason Schonberg <[email protected]> August 1, 2025 for nodejs 22.18.0
 which uses libuv 1.51.0
 ---
- deps/uv/src/unix/linux.c | 29 +----------------------------
- 1 file changed, 1 insertion(+), 28 deletions(-)
+ deps/uv/src/unix/linux.c | 31 +------------------------------
+ 1 file changed, 1 insertion(+), 30 deletions(-)
 
 diff --git a/deps/uv/src/unix/linux.c b/deps/uv/src/unix/linux.c
+index 1109648..ca84eb5 100644
 --- a/deps/uv/src/unix/linux.c
 +++ b/deps/uv/src/unix/linux.c
-@@ -465,36 +465,7 @@
+@@ -462,36 +462,7 @@ static int uv__use_io_uring(uint32_t flags) {
    /* See https://github.com/libuv/libuv/issues/4283. */
    return 0; /* Random SIGSEGV in signal handler. */
  #else
@@ -62,4 +63,3 @@ diff --git a/deps/uv/src/unix/linux.c b/deps/uv/src/unix/linux.c
  #endif
  }
  
- 
meta-oe/recipes-devtools/nodejs/nodejs-26/0007-positional-args.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0007-positional-args.patch +1 -2
similarity index 96%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0007-positional-args.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0007-positional-args.patch
index 42b2e6c8e0..d34cbe4814 100644
@@ -9,6 +9,7 @@ Upstream-Status: Inappropriate [embedded specific]
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/test/fixtures/run-script/node_modules/.bin/positional-args b/test/fixtures/run-script/node_modules/.bin/positional-args
+index 18c7bfa..1739ce6 100755
 --- a/test/fixtures/run-script/node_modules/.bin/positional-args
 +++ b/test/fixtures/run-script/node_modules/.bin/positional-args
 @@ -1,3 +1,3 @@
@@ -16,5 +17,3 @@ diff --git a/test/fixtures/run-script/node_modules/.bin/positional-args b/test/f
 +#!/bin/sh
  echo "Arguments: '$@'"
  echo "The total number of arguments is: $#"
---
-2.34.1
meta-oe/recipes-devtools/nodejs/nodejs-26/0008-custom-env.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0008-custom-env.patch +1 -1
similarity index 95%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0008-custom-env.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0008-custom-env.patch
index 532d3c5f51..34f6b80348 100644
@@ -9,7 +9,7 @@ Upstream-Status: Inappropriate [embedded specific]
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/test/fixtures/run-script/node_modules/.bin/custom-env b/test/fixtures/run-script/node_modules/.bin/custom-env
-index e6f291c6..1430f2e9 100755
+index e6f291c..1430f2e 100755
 --- a/test/fixtures/run-script/node_modules/.bin/custom-env
 +++ b/test/fixtures/run-script/node_modules/.bin/custom-env
 @@ -1,2 +1,2 @@
meta-oe/recipes-devtools/nodejs/nodejs-26/0009-Using-native-binaries.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0009-Using-native-binaries.patch +10 -10
similarity index 93%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0009-Using-native-binaries.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0009-Using-native-binaries.patch
index 2e2d2bf3f7..baf7114bf4 100644
@@ -22,9 +22,10 @@ Signed-off-by: Archana Polampalli <[email protected]>
  2 files changed, 8 insertions(+)
 
 diff --git a/node.gyp b/node.gyp
+index 5334b8a..d2b3ce6 100644
 --- a/node.gyp
 +++ b/node.gyp
-@@ -993,6 +993,7 @@
+@@ -1062,6 +1062,7 @@
            'action_name': 'node_js2c',
            'process_outputs_as_sources': 1,
            'inputs': [
@@ -32,7 +33,7 @@ diff --git a/node.gyp b/node.gyp
              '<(node_js2c_exec)',
              '<@(library_files)',
              '<@(deps_files)',
-@@ -1013,6 +1014,7 @@
+@@ -1082,6 +1083,7 @@
            ],
            'action': [
              '<@(emulator)',
@@ -40,7 +41,7 @@ diff --git a/node.gyp b/node.gyp
              '<(node_js2c_exec)',
              '<@(_outputs)',
              'lib',
-@@ -1072,6 +1074,7 @@
+@@ -1141,6 +1143,7 @@
                    'action_name': 'node_mksnapshot',
                    'process_outputs_as_sources': 1,
                    'inputs': [
@@ -49,9 +50,10 @@ diff --git a/node.gyp b/node.gyp
                      '<(node_snapshot_main)',
                    ],
 diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
+index fd8394b..85dfc80 100644
 --- a/tools/v8_gypfiles/v8.gyp
 +++ b/tools/v8_gypfiles/v8.gyp
-@@ -113,6 +113,7 @@
+@@ -121,6 +121,7 @@
          {
            'action_name': 'run_torque_action',
            'inputs': [  # Order matters.
@@ -59,7 +61,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
              '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
              '<@(torque_files)',
            ],
-@@ -145,6 +146,7 @@
+@@ -153,6 +154,7 @@
            ],
            'action': [
              '<@(emulator)',
@@ -67,7 +69,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
              '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
              '-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated',
              '-v8-root', '<(V8_ROOT)',
-@@ -257,6 +259,7 @@
+@@ -265,6 +267,7 @@
          {
            'action_name': 'generate_bytecode_builtins_list_action',
            'inputs': [
@@ -75,7 +77,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
              '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bytecode_builtins_list_generator<(EXECUTABLE_SUFFIX)',
            ],
            'outputs': [
-@@ -443,6 +446,7 @@
+@@ -430,6 +433,7 @@
              ],
            },
            'inputs': [
@@ -83,7 +85,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
              '<(mksnapshot_exec)',
            ],
            'outputs': [
-@@ -1976,6 +1980,7 @@
+@@ -2084,6 +2088,7 @@
          {
            'action_name': 'run_gen-regexp-special-case_action',
            'inputs': [
@@ -91,5 +93,3 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
              '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen-regexp-special-case<(EXECUTABLE_SUFFIX)',
            ],
            'outputs': [
---
-2.34.1
meta-oe/recipes-devtools/nodejs/nodejs-26/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch +3 -3
similarity index 98%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch
index 36703eedd4..a1b1e9d71a 100644
@@ -47,7 +47,7 @@ Signed-off-by: Khem Raj <[email protected]>
  3 files changed, 77 insertions(+), 6 deletions(-)
 
 diff --git a/deps/v8/src/regexp/gen-regexp-special-case.cc b/deps/v8/src/regexp/gen-regexp-special-case.cc
-index 86f6b212c93..98f70975be1 100644
+index 86f6b21..98f7097 100644
 --- a/deps/v8/src/regexp/gen-regexp-special-case.cc
 +++ b/deps/v8/src/regexp/gen-regexp-special-case.cc
 @@ -9,6 +9,7 @@
@@ -111,7 +111,7 @@ index 86f6b212c93..98f70975be1 100644
  
  void WriteHeader(const char* header_filename) {
 diff --git a/deps/v8/src/regexp/regexp-parser.cc b/deps/v8/src/regexp/regexp-parser.cc
-index 2792cd0f1e9..dd883c3eddc 100644
+index 2792cd0..dd883c3 100644
 --- a/deps/v8/src/regexp/regexp-parser.cc
 +++ b/deps/v8/src/regexp/regexp-parser.cc
 @@ -10,6 +10,7 @@
@@ -158,7 +158,7 @@ index 2792cd0f1e9..dd883c3eddc 100644
    }
    // In the case where ICU is not included, we act as if the unicode flag is
 diff --git a/deps/v8/src/regexp/special-case.h b/deps/v8/src/regexp/special-case.h
-index 753c9231ede..80b88a308cc 100644
+index 753c923..80b88a3 100644
 --- a/deps/v8/src/regexp/special-case.h
 +++ b/deps/v8/src/regexp/special-case.h
 @@ -7,8 +7,8 @@
meta-oe/recipes-devtools/nodejs/nodejs-26/run-ptest renamed from meta-oe/recipes-devtools/nodejs/nodejs-24/run-ptest +0 -0
similarity index 100%
rename from meta-oe/recipes-devtools/nodejs/nodejs-24/run-ptest
rename to meta-oe/recipes-devtools/nodejs/nodejs-26/run-ptest
meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-26.13/oe-npm-cache renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-24.22/oe-npm-cache +0 -0
similarity index 100%
rename from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-24.22/oe-npm-cache
rename to meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-26.13/oe-npm-cache
meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_26.13.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_24.22.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_24.22.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_26.13.bb
meta-oe/recipes-devtools/nodejs/nodejs_26.13.1.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs_24.22.3.bb +13 -7
similarity index 91%
rename from meta-oe/recipes-devtools/nodejs/nodejs_24.22.3.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs_26.13.1.bb
index 166d1b018f..c42b07acf3 100644
@@ -1,8 +1,8 @@
 DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
 HOMEPAGE = "http://nodejs.org"
 LICENSE = "Apache-2.0 AND Artistic-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BlueOak-1.0.0 AND ISC AND MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=edc0683b77d2c503217642fa000b5b31"
-FILESEXTRAPATHS:prepend := "${THISDIR}/nodejs-24:"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=89253653f0ff2153f09502963f07bb42"
+FILESEXTRAPATHS:prepend := "${THISDIR}/nodejs-26:"
 
 CVE_PRODUCT = "nodejs node.js"
 
@@ -29,15 +29,17 @@ SRC_URI = "https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
            file://0006-deps-disable-io_uring-support-in-libuv.patch \
            file://0007-positional-args.patch \
            file://0008-custom-env.patch \
-           file://0010-v8-fix-Wtemplate-body-error-with-GCC-15-on-ia32.patch \
            file://0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch \
-           file://0012-histogram-restrict-avx2-dispatch-to-x86_64.patch \
            file://run-ptest \
            "
 SRC_URI:append:class-target = " \
            file://0009-Using-native-binaries.patch \
            "
-SRC_URI[sha256sum] = "48ca3aa8a9b02133356922ef4fc80200e00598c80a4ef446f7c39a459222593d"
+SRC_URI[sha256sum] = "a7f6204ff63b6a2cd274d48903285abb86ed53a99070e532d4c2fd787457d9e6"
+
+# Even-numbered majors are the LTS lines
+UPSTREAM_CHECK_URI = "https://nodejs.org/dist/"
+UPSTREAM_CHECK_REGEX = "v(?P<pver>\d*[02468]\.\d+\.\d+)/"
 
 S = "${UNPACKDIR}/node-v${PV}"
 
@@ -144,6 +146,7 @@ do_configure () {
     # $TARGET_ARCH settings don't match --dest-cpu settings
     python3 configure.py --verbose --prefix=${prefix} \
                --shared-openssl \
+               --v8-disable-temporal-support \
                --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
                --dest-os=linux \
                --libdir=${baselib} \
@@ -172,7 +175,7 @@ do_install_ptest () {
 }
 
 PACKAGES =+ "${PN}-npm"
-FILES:${PN}-npm = "${nonarch_libdir}/node_modules ${bindir}/npm ${bindir}/npx ${bindir}/corepack"
+FILES:${PN}-npm = "${nonarch_libdir}/node_modules ${bindir}/npm ${bindir}/npx"
 RDEPENDS:${PN}-npm = "bash python3-core python3-shell python3-datetime \
     python3-misc python3-multiprocessing"
 
@@ -198,7 +201,10 @@ python set_gyp_variables () {
         d.setVar("CC_host", d.getVar("BUILD_CC"))
         d.setVar("CFLAGS_host", d.getVar("BUILD_CFLAGS"))
         d.setVar("CXX_host", d.getVar("BUILD_CXX"))
-        d.setVar("CXXFLAGS_host", d.getVar("BUILD_CXXFLAGS"))
+        # V8's NEON hex decoding (src/objects/simd.cc) relies on implicit vector
+        # conversions, which GCC rejects without -flax-vector-conversions
+        d.setVar("CXXFLAGS_host", d.getVar("BUILD_CXXFLAGS") +
+                 (" -flax-vector-conversions" if d.getVar("BUILD_ARCH") == "aarch64" else ""))
         d.setVar("LDFLAGS_host", d.getVar("BUILD_LDFLAGS"))
         d.setVar("AR_host", d.getVar("BUILD_AR"))
 }
author
#27 lore raw

PATCH 22/55 libyang: upgrade 3.13.6 -> 6.4.13

In reply to Khem Raj

- 4.x: SO version 4, major LYB binary format optimizations
- 5.x: SO version 5, "bin" value functions removed, LYB uses complex encoding, anydata XPath support, schema mount improvements; the binary YANG modules were removed, the text modules are installed in ${datadir}/yang and loaded from there
- 6.x: keeps SO version 5; ietf-yang-semver/ietf-yang-revisions, experimental schema comparison, new yangupdate tool, sized array API (LY_ARRAY_COUNT renamed to LYA_COUNT), CBOR format with libcbor
- includes the fix for CVE-2026-41401

Drop CVE-2026-41401.patch, it is part of this release. Refresh the test_context patch. Add a cbor PACKAGECONFIG, off by default, so an available libcbor is not picked up by accident. Install the top-level modules directory and the schema_comparison data the new tests use for ptest. Add UPSTREAM_CHECK_GITTAGREGEX. FRR, the only user in the layers, got the libyang 5.x/6.x API backport in the previous commit.

AI-Generated: Uses Claude Code

---
 ...ntext-skip-test-case-test_searchdirs.patch |  6 +--
 .../libyang/libyang/CVE-2026-41401.patch      | 43 -------------------
 .../{libyang_3.13.6.bb => libyang_6.4.13.bb}  | 12 +++++-
 3 files changed, 13 insertions(+), 48 deletions(-)
 delete mode 100644 meta-oe/recipes-extended/libyang/libyang/CVE-2026-41401.patch
 rename meta-oe/recipes-extended/libyang/{libyang_3.13.6.bb => libyang_6.4.13.bb} (71%)
meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch +3 -3
index 70890e2485..8775f7025e 100644
@@ -13,14 +13,14 @@ Signed-off-by: Yi Zhao <[email protected]>
  1 file changed, 1 deletion(-)
 
 diff --git a/tests/utests/basic/test_context.c b/tests/utests/basic/test_context.c
-index 116b2ce36..4e96f4e96 100644
+index f3dfcaad..fd3e3f31 100644
 --- a/tests/utests/basic/test_context.c
 +++ b/tests/utests/basic/test_context.c
-@@ -1110,7 +1110,6 @@ int
+@@ -1131,7 +1131,6 @@ int
  main(void)
  {
      const struct CMUnitTest tests[] = {
 -        UTEST(test_searchdirs),
-         UTEST(test_options),
          UTEST(test_models),
          UTEST(test_imports),
+         UTEST(test_includes),
meta-oe/recipes-extended/libyang/libyang/CVE-2026-41401.patch deleted +0 -43

43 lines not on this page · raw message

meta-oe/recipes-extended/libyang/libyang_6.4.13.bb renamed from meta-oe/recipes-extended/libyang/libyang_3.13.6.bb +10 -2
similarity index 71%
rename from meta-oe/recipes-extended/libyang/libyang_3.13.6.bb
rename to meta-oe/recipes-extended/libyang/libyang_6.4.13.bb
index 7724b4c218..a6d23f30b8 100644
@@ -6,14 +6,14 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b69fd3b2815bbf1cef5c97f0eee2519a"
 
-SRCREV = "c2ddd01b9b810a30d6a7d6749a3bc9adeb7b01fb"
+SRCREV = "f7e0cc1bc99ec9280af1010a94ba8dd8ef448f6d"
 
 SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https;tag=v${PV} \
            file://0001-test_context-skip-test-case-test_searchdirs.patch \
            file://run-ptest \
-           file://CVE-2026-41401.patch \
            "
 
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 # Main dependencies
 inherit cmake pkgconfig lib_package ptest multilib_header
@@ -23,6 +23,9 @@ DEPENDS = " \
 "
 DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'cmocka', '', d)}"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[cbor] = "-DCMAKE_DISABLE_FIND_PACKAGE_CBOR=OFF,-DCMAKE_DISABLE_FIND_PACKAGE_CBOR=ON,libcbor"
+
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
 EXTRA_OECMAKE += " ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON -DENABLE_VALGRIND_TESTS=OFF', '', d)}"
 
@@ -41,6 +44,11 @@ do_install_ptest () {
     install -d ${D}${PTEST_PATH}/tests
     cp -f ${B}/tests/utest_* ${D}${PTEST_PATH}/tests/
     cp -fR ${S}/tests/modules ${D}${PTEST_PATH}/tests/
+    cp -fR ${S}/modules ${D}${PTEST_PATH}/
+    install -d ${D}${PTEST_PATH}/tests/utests/schema_comparison
+    cp -fR ${S}/tests/utests/schema_comparison/bc ${S}/tests/utests/schema_comparison/ed \
+        ${S}/tests/utests/schema_comparison/local_full_resolved ${S}/tests/utests/schema_comparison/nbc \
+        ${D}${PTEST_PATH}/tests/utests/schema_comparison/
     install -d ${D}${PTEST_PATH}/tests/plugins
     cp -f ${B}/tests/plugins/plugin_*.so ${D}${PTEST_PATH}/tests/plugins/
 }
author
#28 lore raw

PATCH 23/55 libnfs: upgrade 6.0.2 -> 8.1.0

In reply to Khem Raj

- 7.0.0: SONAME bump to libnfs.so.17 (struct rpc_stats grew), high/low priority RPC send queue; 7.0.1 renames _null_auth to libnfs_null_auth
- 8.0.0: SONAME libnfs.so.18, NFSv4.2 support, nfs_fallocate(), SEEK_DATA/SEEK_HOLE, nfs4_stat64() and named attributes
- 8.1.0: ABI compatible with 8.0.x; NFSv4.1 support, NFS over RDMA, RPCSEC_GSS reply verification and security fixes against malicious servers, including a use-after-free when a cut-short READ is resent

Drop 0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch, CMake now installs to CMAKE_INSTALL_FULL_LIBDIR/CMAKE_INSTALL_LIBDIR. Fetch by tag instead of a bare commit and add UPSTREAM_CHECK_GITTAGREGEX. TLS, Kerberos and RDMA support are autodetected by default; pin them with PACKAGECONFIGs (tls on, as gnutls was already a dependency; krb5 and rdma off) so the build is deterministic. Inherit pkgconfig, which the krb5-gssapi check uses. Users (qemu, gvfs) need a rebuild for the new SONAME.

The CMake build writes the absolute path of the GnuTLS library into libnfs.pc; add a patch that turns it into -lgnutls (buildpaths QA).

AI-Generated: Uses Claude Code

---
 ...espect-CMAKE_INSTALL_LIBDIR-for-mult.patch | 61 -------------------
 ...te-absolute-library-paths-into-libnf.patch | 48 +++++++++++++++
 .../libnfs/libnfs_6.0.2.bb                    | 17 ------
 .../libnfs/libnfs_8.1.0.bb                    | 22 +++++++
 4 files changed, 70 insertions(+), 78 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch
 create mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Do-not-write-absolute-library-paths-into-libnf.patch
 delete mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb
 create mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs_8.1.0.bb
meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch deleted +0 -61
deleted file mode 100644
index ffb6bfbea8..0000000000
@@ -1,61 +0,0 @@
-From 0d5d6a14f6e9c2ff8998ebb3acbefcad6221952f Mon Sep 17 00:00:00 2001
-From: Martin Jansa <[email protected]>
-Date: Wed, 3 May 2023 22:27:10 +0200
-Subject: [PATCH] CMakeLists.txt: respect ${CMAKE_INSTALL_LIBDIR} for multilib
-
-* fixes:
-  ERROR: libnfs-5.0.2-r0 do_package: QA Issue: libnfs: Files/directories were installed but not shipped in any package:
-    /usr/lib/libnfs.so
-    /usr/lib/libnfs.so.11.1.0
-    /usr/lib/libnfs.so.5.0.2
-    /usr/lib/pkgconfig
-    /usr/lib/cmake
-    /usr/lib/pkgconfig/libnfs.pc
-    /usr/lib/cmake/libnfs
-    /usr/lib/cmake/libnfs/libnfs-config-version.cmake
-    /usr/lib/cmake/libnfs/libnfs-config.cmake
-    /usr/lib/cmake/libnfs/libnfs-config-noconfig.cmake
-    /usr/lib/cmake/libnfs/FindNFS.cmake
-  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
-  libnfs: 11 installed and not shipped files. [installed-vs-shipped]
-
-  when libdir is /usr/lib64 with multilib
-
-Signed-off-by: Martin Jansa <[email protected]>
-Upstream-Status: Pending
----
- CMakeLists.txt     | 6 +++---
- lib/CMakeLists.txt | 4 ++--
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1b94d2e..a295403 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -7,11 +7,11 @@ project(libnfs
- set(SOVERSION 16.2.0 CACHE STRING "" FORCE)
- 
- set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for binaries")
--set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries")
-+set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" CACHE PATH "Installation directory for libraries")
- set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers")
- set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages")
--set(INSTALL_PKGCONFIG_DIR "${INSTALL_LIB_DIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
--set(INSTALL_CMAKE_DIR "${INSTALL_LIB_DIR}/cmake/libnfs" CACHE PATH "Installation directory for cmake (.cmake) files")
-+set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
-+set(INSTALL_CMAKE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake/libnfs" CACHE PATH "Installation directory for cmake (.cmake) files")
- 
- option(BUILD_SHARED_LIBS "Build shared libraries" ON)
- option(ENABLE_TESTS "Build and run test programs" OFF)
-diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
-index 987b735..9b2032f 100644
---- a/lib/CMakeLists.txt
-+++ b/lib/CMakeLists.txt
-@@ -24,5 +24,5 @@ set_target_properties(nfs PROPERTIES
- 
- install(TARGETS nfs EXPORT libnfs
-                     RUNTIME DESTINATION bin
--                    ARCHIVE DESTINATION lib
--                    LIBRARY DESTINATION lib)
-+                    ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-+                    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Do-not-write-absolute-library-paths-into-libnf.patch new file +48 -0

48 lines not on this page · raw message

meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb deleted +0 -17
deleted file mode 100644
index 49617eaa29..0000000000
@@ -1,17 +0,0 @@
-SUMMARY = "NFS client library"
-HOMEPAGE = "https://github.com/sahlberg/libnfs"
-LICENSE = "BSD-2-Clause AND GPL-3.0-only AND LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=825301ba17efc9d188ee0abd4b924ada"
-
-SRC_URI = "git://github.com/sahlberg/libnfs.git;protocol=https;branch=master \
-           file://0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch \
-           "
-SRCREV = "18c5c73ee88bb7dc8da0d55dc95164bb77e49dc6"
-
-DEPENDS += "gnutls"
-
-inherit cmake
-
-do_install:append() {
-	rm -f ${D}${libdir}/cmake/libnfs/libnfs-config.cmake
-}
meta-oe/recipes-connectivity/libnfs/libnfs_8.1.0.bb new file +22 -0
new file mode 100644
index 0000000000..4a11b6d42d
@@ -0,0 +1,22 @@
+SUMMARY = "NFS client library"
+HOMEPAGE = "https://github.com/sahlberg/libnfs"
+LICENSE = "BSD-2-Clause AND GPL-3.0-only AND LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=825301ba17efc9d188ee0abd4b924ada"
+
+SRC_URI = "git://github.com/sahlberg/libnfs.git;protocol=https;branch=master;tag=libnfs-${PV} \
+           file://0001-cmake-Do-not-write-absolute-library-paths-into-libnf.patch \
+           "
+SRCREV = "5c48d277783073a1be5aa3ce8ff1ca9a690c20a0"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^libnfs-(?P<pver>\d+(\.\d+)+)$"
+
+inherit cmake pkgconfig
+
+PACKAGECONFIG ??= "tls"
+PACKAGECONFIG[krb5] = "-DENABLE_KRB5=ON,-DENABLE_KRB5=OFF,krb5"
+PACKAGECONFIG[rdma] = "-DENABLE_RDMA=ON,-DENABLE_RDMA=OFF,rdma-core"
+PACKAGECONFIG[tls] = "-DENABLE_TLS=ON,-DENABLE_TLS=OFF,gnutls"
+
+do_install:append() {
+	rm -f ${D}${libdir}/cmake/libnfs/libnfs-config.cmake
+}
author
#29 lore raw

PATCH 24/55 nvme-cli: upgrade 2.16 -> 3.2

In reply to Khem Raj

- libnvme is now part of nvme-cli as libnvme3 (libnvme3.so.1, libnvme3.pc, headers in include/libnvme3) with NVMe 2.4 renames in its API; the separate libnvme 1.x library is no longer used
- nvme-fabrics.conf(.d) INI configuration replaces config.json and discovery.conf (converted on first use); key commands moved to "nvme keys", DH-HMAC-CHAP is now KX-HMAC-CHAP
- new nvme-discoverd and nvme-keysd daemons, nvme top, ownership registry/exclusion list, privsep and sandbox (tech previews)
- strict command line parsing: long options need two dashes and the full name, numbers are parsed strictly, --help goes to stdout
- gen-hostnqn must run as root; Meson >= 1.0 is required

Drop the libnvme dependency; the libnvme recipe stays for libblockdev, sedutil and NetworkManager, which use the 1.x API. Package the bundled library as libnvme3 with its own license. Pin the autodetected dependencies with PACKAGECONFIGs: keyutils and openssl on (as in the libnvme recipe), libarchive, libdbus, libkmod, liburing and nvme-discoverd (needs systemd) off; with nvme-discoverd off the legacy nvmf-autoconnect units, udev rules and dracut config are installed as before. Disable python bindings, nvme-keysd, tests and examples. Package the new NetworkManager dispatcher script. Drop the -Wno-error=incompatible-pointer-types workaround, the virtium plugin now uses time_t. Add UPSTREAM_CHECK_GITTAGREGEX.

License-Update: ccan/licenses/ replaced by a LICENSES/ directory (CC0-1.0, MIT, LGPL-2.1-or-later, LicenseRef-Gary-S-Brown-CRC32 for the shared crc32 code); LICENSE adds GPL-2.0-or-later, LGPL-2.1-or-later (bundled libnvme and shared code) and the CRC32 notice.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.16.bb | 34 ------------
 meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb  | 52 +++++++++++++++++++
 2 files changed, 52 insertions(+), 34 deletions(-)
 delete mode 100644 meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.16.bb
 create mode 100644 meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb
meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.16.bb deleted +0 -34
deleted file mode 100644
index 397537417e..0000000000
@@ -1,34 +0,0 @@
-SUMMARY = "NVMe management command line interface"
-HOMEPAGE = "https://github.com/linux-nvme/nvme-cli"
-SECTION = "console/utils"
-LICENSE = "CC0-1.0 AND GPL-2.0-only AND MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \
-                    file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
-                    file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
-DEPENDS = "json-c libnvme"
-SRCREV = "faf7326a2997dea91687fd3daa17fc405910a4c1"
-
-SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https;tag=v${PV}"
-
-inherit bash-completion meson pkgconfig systemd
-
-EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system"
-
-pkg_postinst_ontarget:${PN}-user () {
-    ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn
-    ${bindir}/uuidgen > ${sysconfdir}/nvme/hostid
-}
-
-PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion ${PN}-user"
-
-FILES:${PN} += "${systemd_system_unitdir}"
-FILES:${PN}-dracut = "${nonarch_libdir}/dracut/dracut.conf.d"
-FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions"
-ALLOW_EMPTY:${PN}-user = "1"
-
-RDEPENDS:${PN}-user = "util-linux-uuidgen"
-
-# This one is reproducible only on 32bit MACHINEs
-# http://errors.yoctoproject.org/Errors/Details/766964/
-# git/plugins/virtium/virtium-nvme.c:205:63: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
-CFLAGS += "-Wno-error=incompatible-pointer-types"
meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb new file +52 -0

52 lines not on this page · raw message

author
#30 lore raw

PATCH 25/55 postgresql: upgrade 18.6 -> 19.0

In reply to Khem Raj

- new major release: REPACK (CONCURRENTLY), plan advice extensions, logical replication of sequences and without a restart, WAIT FOR read-your-writes on standbys, parallel autovacuum of indexes
- removed RADIUS authentication and the MULE_INTERNAL encoding; standard_conforming_strings is always on; JIT is off by default
- C11 is required instead of C99
- the on-disk format changed: existing clusters need pg_upgrade or a dump and restore

Refresh 0003-configure.ac-bypass-autoconf-2.69-version-check.patch (copyright year context) and drop the line offsets from the other patches. The configure options are unchanged and none of the removed features had a PACKAGECONFIG. Add UPSTREAM_CHECK_URI/REGEX so the check looks at the source index instead of the v${PV} directory. pg-cron 1.6.8 (which declares PostgreSQL 19 support) and pgpool2 4.7.3 were compile-tested on the host against PostgreSQL 19.0.

AI-Generated: Uses Claude Code

---
 .../postgresql/files/0001-Add-support-for-RISC-V.patch      | 2 +-
 .../postgresql/files/0002-Improve-reproducibility.patch     | 2 +-
 ...03-configure.ac-bypass-autoconf-2.69-version-check.patch | 6 +++---
 .../files/0004-config_info.c-not-expose-build-info.patch    | 6 +++---
 .../0005-postgresql-fix-ptest-failure-of-sysviews.patch     | 4 ++--
 .../recipes-dbs/postgresql/files/not-check-libperl.patch    | 4 ++--
 meta-oe/recipes-dbs/postgresql/postgresql.inc               | 2 ++
 .../postgresql/{postgresql_18.6.bb => postgresql_19.0.bb}   | 2 +-
 8 files changed, 15 insertions(+), 13 deletions(-)
 rename meta-oe/recipes-dbs/postgresql/{postgresql_18.6.bb => postgresql_19.0.bb} (87%)
meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch +1 -1
index 8ab8f0970b..e1ebbd3fd9 100644
@@ -13,7 +13,7 @@ Signed-off-by: Leon Anavi <[email protected]>
  1 file changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
-index 2f73f9f..04b0f8a 100644
+index c9e5251..f893cef 100644
 --- a/src/include/storage/s_lock.h
 +++ b/src/include/storage/s_lock.h
 @@ -243,11 +243,12 @@ spin_delay(void)
meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch +1 -1
index 1fa3594b26..c1b0db3ce2 100644
@@ -24,7 +24,7 @@ Signed-off-by: Leon Anavi <[email protected]>
  1 file changed, 3 deletions(-)
 
 diff --git a/src/common/Makefile b/src/common/Makefile
-index 2c720ca..c3d889c 100644
+index cd48a55..49e3c32 100644
 --- a/src/common/Makefile
 +++ b/src/common/Makefile
 @@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.global
meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch +3 -3
index a874db39ff..4e69f6cf9c 100644
@@ -14,17 +14,17 @@ Signed-off-by: Leon Anavi <[email protected]>
  1 file changed, 4 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 3081ad7..3a0fc92 100644
+index 85150e2..db975ae 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
  
- AC_INIT([PostgreSQL], [18.6], [[email protected]], [], [https://www.postgresql.org/])
+ AC_INIT([PostgreSQL], [19.0], [[email protected]], [], [https://www.postgresql.org/])
  
 -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
 -Untested combinations of 'autoconf' and PostgreSQL versions are not
 -recommended.  You can remove the check from 'configure.ac' but it is then
 -your responsibility whether the result works or not.])])
- AC_COPYRIGHT([Copyright (c) 1996-2025, PostgreSQL Global Development Group])
+ AC_COPYRIGHT([Copyright (c) 1996-2026, PostgreSQL Global Development Group])
  AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
  AC_CONFIG_AUX_DIR(config)
meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch +3 -3
index 25a9bff52c..1e85374375 100644
@@ -15,10 +15,10 @@ Signed-off-by: Leon Anavi <[email protected]>
  2 files changed, 2 insertions(+), 70 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 3a0fc92..88b8f1c 100644
+index db975ae..6afd525 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2025, PostgreSQL Global Development Group])
+@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2026, PostgreSQL Global Development Group])
  AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
  AC_CONFIG_AUX_DIR(config)
  AC_PREFIX_DEFAULT(/usr/local/pgsql)
@@ -28,7 +28,7 @@ index 3a0fc92..88b8f1c 100644
  [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`]
  [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`]
 diff --git a/src/common/config_info.c b/src/common/config_info.c
-index 113a8a6..b8f21c8 100644
+index 572ae3a..34a4cae 100644
 --- a/src/common/config_info.c
 +++ b/src/common/config_info.c
 @@ -38,7 +38,7 @@ get_configdata(const char *my_exec_path, size_t *configdata_len)
meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch +2 -2
index 4e9b1a27c2..1c9760055d 100644
@@ -22,7 +22,7 @@ Signed-off-by: Leon Anavi <[email protected]>
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/src/test/regress/expected/sysviews.out b/src/test/regress/expected/sysviews.out
-index 83228cf..c378012 100644
+index 132b56a..318c39b 100644
 --- a/src/test/regress/expected/sysviews.out
 +++ b/src/test/regress/expected/sysviews.out
 @@ -66,7 +66,7 @@ and c1.path[c2.level] = c2.path[c2.level];
@@ -35,7 +35,7 @@ index 83228cf..c378012 100644
  ----
   t
 diff --git a/src/test/regress/sql/sysviews.sql b/src/test/regress/sql/sysviews.sql
-index 66179f0..0f15661 100644
+index 507e400..bebb838 100644
 --- a/src/test/regress/sql/sysviews.sql
 +++ b/src/test/regress/sql/sysviews.sql
 @@ -43,7 +43,7 @@ where c2.name = 'CacheMemoryContext'
meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch +2 -2
index 0a1406bc8d..4ef5d7df45 100644
@@ -21,10 +21,10 @@ Signed-off-by: Leon Anavi <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index 527437e..3081ad7 100644
+index 3ea316b..85150e2 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -2354,7 +2354,7 @@ Use --without-tcl to disable building PL/Tcl.])
+@@ -2432,7 +2432,7 @@ Use --without-tcl to disable building PL/Tcl.])
  fi
  
  # check for <perl.h>
meta-oe/recipes-dbs/postgresql/postgresql.inc +2 -0
index 2deb35b065..21dbad30f3 100644
@@ -32,6 +32,8 @@ SRC_URI = "https://ftp.postgresql.org/pub/source/v${PV}/${BP}.tar.bz2 \
     file://run-ptest \
     file://pg_config \
 "
+UPSTREAM_CHECK_URI = "https://ftp.postgresql.org/pub/source/"
+UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+)/"
 
 LEAD_SONAME = "libpq.so"
 
meta-oe/recipes-dbs/postgresql/postgresql_19.0.bb renamed from meta-oe/recipes-dbs/postgresql/postgresql_18.6.bb +1 -1
similarity index 87%
rename from meta-oe/recipes-dbs/postgresql/postgresql_18.6.bb
rename to meta-oe/recipes-dbs/postgresql/postgresql_19.0.bb
index 278d42ce3d..40631d8421 100644
@@ -12,6 +12,6 @@ SRC_URI += "\
    file://0001-tcl.m4-Recognize-tclsh9.patch \
    "
 
-SRC_URI[sha256sum] = "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"
+SRC_URI[sha256sum] = "a89fd70efbad6a08c7dbed8d4872e3af30170d9e5ca9dc7906523be95b4e692d"
 
 CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Doesn't apply to our configuration of postgresql so we can safely ignore it."
author
#31 lore raw

PATCH 26/55 mariadb: upgrade 11.4.13 -> 12.3.4

In reply to Khem Raj

12.3 is the newest long-term support series (11.4 -> 11.8 -> 12.3).
- optimizer hints (join order, index, subquery, MAX_EXECUTION_TIME), SYS_REFCURSOR, triggers on multiple events, faster binary logging
- new reserved words CONVERSION and TO_DATE
- removed system variables big_tables, large_page_size and storage_engine; the server no longer depends on the Galera package
- the bundled Connector/C stays at 3.4 (libmariadb.so.3)
- 12.3.4 fixes CVE-2026-101802, CVE-2026-101796, CVE-2026-101794, CVE-2026-101775, CVE-2026-101747 and more (13 CVEs); 12.3.3 fixed further CVEs, among them CVE-2026-92262 and CVE-2026-85748

Drop 0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch, it is part of this release. Rebase support-files-CMakeLists.txt-fix-do_populate_sysroot.patch and 0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch, refresh the other patches to drop line offsets. Package the new mariadb-plugin cmake files in libmysqlclient-dev, next to the server headers. Point the upstream check at archive.mariadb.org and limit it to the 12.3 LTS series instead of the GitHub tags page, which also lists the short-term releases.

12.3 no longer installs server/private/config.h, so drop it from oe_multilib_header.

AI-Generated: Uses Claude Code

---
 ...ve_11.4.13.bb => mariadb-native_12.3.4.bb} |   0
 meta-oe/recipes-dbs/mysql/mariadb.inc         |  10 +-
 ...NCRYPT-and-KDF-return-NULL-with-Open.patch | 290 ------------------
 ...ck-if-syscall-exists-before-using-it.patch |   9 +-
 ...fine-__NR_futex-if-it-does-not-exist.patch |   4 +-
 ...Lists.txt-fix-gen_lex_hash-not-found.patch |   6 +-
 ...CMakeLists.txt-fix-reproducible-buil.patch |   3 -
 .../0001-support-reproducible-builds.patch    |   7 +-
 .../configure.cmake-fix-valgrind.patch        |   4 +-
 .../mysql/mariadb/cross-compiling.patch       |   4 +-
 .../mysql/mariadb/fix-arm-atomic.patch        |   4 +-
 .../recipes-dbs/mysql/mariadb/riscv32.patch   |   2 +-
 ...akeLists.txt-fix-do_populate_sysroot.patch |   5 +-
 .../recipes-dbs/mysql/mariadb/sys_futex.patch |   2 +-
 .../{mariadb_11.4.13.bb => mariadb_12.3.4.bb} |   0
 15 files changed, 27 insertions(+), 323 deletions(-)
 rename meta-oe/recipes-dbs/mysql/{mariadb-native_11.4.13.bb => mariadb-native_12.3.4.bb} (100%)
 delete mode 100644 meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch
 rename meta-oe/recipes-dbs/mysql/{mariadb_11.4.13.bb => mariadb_12.3.4.bb} (100%)
meta-oe/recipes-dbs/mysql/mariadb-native_12.3.4.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.13.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.13.bb
rename to meta-oe/recipes-dbs/mysql/mariadb-native_12.3.4.bb
meta-oe/recipes-dbs/mysql/mariadb.inc +6 -4
index 434d176774..08cf5d9eb5 100644
@@ -25,11 +25,12 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://riscv32.patch \
            file://0001-support-reproducible-builds.patch \
            file://0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch \
-           file://0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch \
           "
-SRC_URI[sha256sum] = "1bb254b106d0a7ca871cfa18fa6e18d4b80a7430f9ec9d1571ec4271a13def96"
+SRC_URI[sha256sum] = "75aae4d48df905734e24a85b955bbcdc43f4b122b450bc4ad2bc92f5d1ac578d"
 
-UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags"
+UPSTREAM_CHECK_URI = "https://archive.mariadb.org/"
+# 12.3 is the current long-term support series
+UPSTREAM_CHECK_REGEX = "mariadb-(?P<pver>12\.3\.\d+)/"
 
 BINCONFIG_GLOB = "mysql_config"
 
@@ -168,7 +169,7 @@ mariadb_sysroot_preprocess () {
 
 do_install() {
     oe_runmake 'DESTDIR=${D}' install
-    oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h mysql/server/private/config.h
+    oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h
 
     install -d ${D}/${sysconfdir}/init.d
     install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/
@@ -248,6 +249,7 @@ FILES:libmysqlclient-dev = " \
     ${libdir}/libmysqlclient.so \
     ${libdir}/libmariadb.so \
     ${sysconfdir}/aclocal \
+    ${datadir}/cmake/mariadb-plugin \
     ${bindir}/mysql_config"
 FILES:libmysqlclient-staticdev = "\
     ${libdir}/*.a"
meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch deleted +0 -290

290 lines not on this page · raw message

meta-oe/recipes-dbs/mysql/mariadb/0001-aio_libaio-Check-if-syscall-exists-before-using-it.patch +3 -6
index ee0d1b37ae..6575c0ab6a 100644
@@ -23,10 +23,10 @@ Signed-off-by: Zoltán Böszörményi <[email protected]>
  1 file changed, 4 insertions(+)
 
 diff --git a/tpool/aio_libaio.cc b/tpool/aio_libaio.cc
-index 2ce69384cde..60f558afa87 100644
+index a4df1fe9..e6522de3 100644
 --- a/tpool/aio_libaio.cc
 +++ b/tpool/aio_libaio.cc
-@@ -58,6 +58,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/
+@@ -60,6 +60,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/
  static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev)
    noexcept
  {
@@ -34,7 +34,7 @@ index 2ce69384cde..60f558afa87 100644
    int saved_errno= errno;
    int ret= syscall(__NR_io_getevents, reinterpret_cast<long>(ctx),
                     min_nr, nr, ev, 0);
-@@ -67,6 +68,9 @@ static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev)
+@@ -69,6 +70,9 @@ static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev)
      errno= saved_errno;
    }
    return ret;
@@ -44,6 +44,3 @@ index 2ce69384cde..60f558afa87 100644
  }
  
  
--- 
-2.51.0
-
meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch +2 -2
index bfcd45b64b..0aed6d80f3 100644
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 3 insertions(+)
 
 diff --git a/storage/innobase/log/log0sync.cc b/storage/innobase/log/log0sync.cc
-index 0de283ca..265ab691 100644
+index 7eb0eb83..a6fdabe8 100644
 --- a/storage/innobase/log/log0sync.cc
 +++ b/storage/innobase/log/log0sync.cc
 @@ -66,6 +66,9 @@ Note that if write operation is very fast, a) or b) can be fine as alternative.
@@ -31,4 +31,4 @@ index 0de283ca..265ab691 100644
 +#endif
  #endif
  
- #include <atomic>
+ #include <algorithm>
meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch +3 -3
index 7c73699b08..caf3ec963c 100644
@@ -15,10 +15,10 @@ Signed-off-by: Mingli Yu <[email protected]>
  1 file changed, 22 insertions(+), 8 deletions(-)
 
 diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
-index 0195555e..507136cb 100644
+index f570e8b6..1463ffd5 100644
 --- a/sql/CMakeLists.txt
 +++ b/sql/CMakeLists.txt
-@@ -63,11 +63,18 @@
+@@ -63,11 +63,18 @@ ${SSL_INCLUDE_DIRS}
  ${CMAKE_BINARY_DIR}/sql
  )
  
@@ -41,7 +41,7 @@ index 0195555e..507136cb 100644
  
  FIND_PACKAGE(BISON 2.4)
  
-@@ -405,11 +412,18 @@
+@@ -441,11 +448,18 @@ IF(NOT CMAKE_CROSSCOMPILING OR DEFINED CMAKE_CROSSCOMPILING_EMULATOR)
    ADD_EXECUTABLE(gen_lex_hash gen_lex_hash.cc)
  ENDIF()
  
meta-oe/recipes-dbs/mysql/mariadb/0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch +0 -3
index c34ec92415..36971afa62 100644
@@ -35,6 +35,3 @@ index 1538b6cc..cdccb2c5 100644
  
  set(MRN_ALL_SOURCES
    ${MRN_SOURCES}
--- 
-2.34.1
-
meta-oe/recipes-dbs/mysql/mariadb/0001-support-reproducible-builds.patch +2 -5
index 10e6f03df6..bb4494884d 100644
@@ -17,10 +17,10 @@ Signed-off-by: Hongxu Jia <[email protected]>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
-index 3a7c9d36..ac868072 100644
+index 1463ffd5..bd66a081 100644
 --- a/sql/CMakeLists.txt
 +++ b/sql/CMakeLists.txt
-@@ -400,10 +400,10 @@ ELSE()
+@@ -435,10 +435,10 @@ ELSE()
    CONFIGURE_FILE(myskel.m4.in myskel.m4)
    BISON_TARGET(gen_mariadb_cc_hh ${CMAKE_CURRENT_BINARY_DIR}/yy_mariadb.yy
                                   ${CMAKE_CURRENT_BINARY_DIR}/yy_mariadb.cc
@@ -33,6 +33,3 @@ index 3a7c9d36..ac868072 100644
  ENDIF()
  
  IF(NOT CMAKE_CROSSCOMPILING OR DEFINED CMAKE_CROSSCOMPILING_EMULATOR)
--- 
-2.34.1
-
meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch +2 -2
index 2841a59a73..3e9a5fd3ee 100644
@@ -21,10 +21,10 @@ Signed-off-by: Mingli Yu <[email protected]>
  1 file changed, 2 insertions(+), 3 deletions(-)
 
 diff --git a/configure.cmake b/configure.cmake
-index 61f30a75..3e730082 100644
+index c8d7396..cf6d20e 100644
 --- a/configure.cmake
 +++ b/configure.cmake
-@@ -881,10 +881,9 @@ ENDIF()
+@@ -902,10 +902,9 @@ ENDIF()
  
  IF(WITH_VALGRIND)
    SET(HAVE_valgrind 1)
meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch +2 -2
index dc34c07d31..1db7b9a5ec 100644
@@ -14,10 +14,10 @@ Signed-off-by: Mingli Yu <[email protected]>
  1 file changed, 5 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3828420c..ee38615a 100644
+index 810c9c27..2978974d 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -428,11 +428,6 @@ CHECK_LIBFMT()
+@@ -460,11 +460,6 @@ CHECK_LIBFMT()
  ADD_SUBDIRECTORY(tpool)
  CHECK_SYSTEMD()
  
meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch +2 -2
index 39b7fad983..bfedecd441 100644
@@ -16,10 +16,10 @@ Signed-off-by: Mingli Yu <[email protected]>
  1 file changed, 3 insertions(+)
 
 diff --git a/storage/rocksdb/build_rocksdb.cmake b/storage/rocksdb/build_rocksdb.cmake
-index e89dbfc0..acc6b48e 100644
+index 7f8f1b7..68656c8 100644
 --- a/storage/rocksdb/build_rocksdb.cmake
 +++ b/storage/rocksdb/build_rocksdb.cmake
-@@ -490,6 +490,9 @@ list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/build_version.cc)
+@@ -542,6 +542,9 @@ list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/build_version.cc)
  
  ADD_CONVENIENCE_LIBRARY(rocksdblib ${SOURCES})
  target_link_libraries(rocksdblib ${THIRDPARTY_LIBS} ${SYSTEM_LIBS})
meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch +1 -1
index 24b86584e3..c49af2ecad 100644
@@ -8,7 +8,7 @@ Upstream-Status: Submitted [https://github.com/MariaDB/server/pull/1981/files#r2
 Signed-off-by: Khem Raj <[email protected]>
 --- a/include/my_rdtsc.h
 +++ b/include/my_rdtsc.h
-@@ -226,7 +226,7 @@ static inline ulonglong my_timer_cycles(
+@@ -225,7 +225,7 @@ static inline ulonglong my_timer_cycles(
          "sub %0, zero, %0\n"
          "and %1, %1, %0\n"
          : "=r"(result_hi0), "=r"(result_lo), "=r"(result_hi1));
meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch +3 -2
index 30c9e2452a..20ad1649c6 100644
@@ -15,10 +15,10 @@ Signed-off-by: Mingli Yu <[email protected]>
  1 file changed, 7 deletions(-)
 
 diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt
-index ee1d420e..a99c0605 100644
+index 26d9c1d..afa9011 100644
 --- a/support-files/CMakeLists.txt
 +++ b/support-files/CMakeLists.txt
-@@ -245,12 +245,5 @@ IF(UNIX AND NOT WITHOUT_SERVER)
+@@ -252,13 +252,6 @@ IF(UNIX AND NOT WITHOUT_SERVER)
        INSTALL(FILES rpm/enable_encryption.preset DESTINATION ${INSTALL_SYSCONF2DIR}
                COMPONENT IniFiles)
      ENDIF()
@@ -31,3 +31,4 @@ index ee1d420e..a99c0605 100644
 -                   COMPONENT SupportFiles)
    ENDIF(INSTALL_SYSCONFDIR)
  ENDIF()
+ 
meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch +1 -1
index 3840472213..3b77b38edb 100644
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 6 insertions(+)
 
 diff --git a/storage/innobase/sync/srw_lock.cc b/storage/innobase/sync/srw_lock.cc
-index 28b586de..3ee71142 100644
+index 5a419373..cfcd5393 100644
 --- a/storage/innobase/sync/srw_lock.cc
 +++ b/storage/innobase/sync/srw_lock.cc
 @@ -226,6 +226,12 @@ void ssux_lock_impl<spinloop>::wake() noexcept { WakeByAddressSingle(&readers);
meta-oe/recipes-dbs/mysql/mariadb_12.3.4.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_11.4.13.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb_11.4.13.bb
rename to meta-oe/recipes-dbs/mysql/mariadb_12.3.4.bb
author
#32 lore raw

PATCH 27/55 protobuf-c: Fix build with protobuf >= 34

In reply to Khem Raj

Protobuf 34 removed FieldDescriptor::label() from the C++ API, so protoc-gen-c fails to compile against protobuf 7.x. Backport the pending upstream fix (protobuf-c PR #797), which derives the label from is_repeated()/is_required(). It also builds with older protobuf.

Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only.

AI-Generated: Uses Claude Code

---
 ...Fix-compilation-against-protobuf-v34.patch | 210 ++++++++++++++++++
 .../protobuf/protobuf-c_1.5.2.bb              |   4 +-
 2 files changed, 213 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Fix-compilation-against-protobuf-v34.patch
meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Fix-compilation-against-protobuf-v34.patch new file +210 -0
new file mode 100644
index 0000000000..8fe2c3f08f
@@ -0,0 +1,210 @@
+From d39f001b4578966600de0aaf7fc665eec6e057e5 Mon Sep 17 00:00:00 2001
+From: Leon White <[email protected]>
+Date: Tue, 10 Mar 2026 10:37:18 +0100
+Subject: [PATCH] Fix compilation against protobuf v34
+
+FieldDescriptor::label() was removed in protobuf v34. Use a local
+FieldLabel() helper based on is_repeated()/is_required() instead.
+
+Upstream-Status: Submitted [https://github.com/protobuf-c/protobuf-c/pull/797]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ protoc-gen-c/c_bytes_field.cc     |  4 ++--
+ protoc-gen-c/c_enum_field.cc      |  4 ++--
+ protoc-gen-c/c_field.cc           | 10 +++++-----
+ protoc-gen-c/c_helpers.cc         | 11 +++++++++++
+ protoc-gen-c/c_helpers.h          |  5 +++++
+ protoc-gen-c/c_message_field.cc   |  4 ++--
+ protoc-gen-c/c_primitive_field.cc |  4 ++--
+ protoc-gen-c/c_string_field.cc    |  4 ++--
+ 8 files changed, 31 insertions(+), 15 deletions(-)
+
+diff --git a/protoc-gen-c/c_bytes_field.cc b/protoc-gen-c/c_bytes_field.cc
+index c8ac772..ab10117 100644
+--- a/protoc-gen-c/c_bytes_field.cc
++++ b/protoc-gen-c/c_bytes_field.cc
+@@ -94,7 +94,7 @@ BytesFieldGenerator::~BytesFieldGenerator() {}
+ 
+ void BytesFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer* printer) const
+ {
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+       printer->Print(variables_, "ProtobufCBinaryData $name$$deprecated$;\n");
+       break;
+@@ -135,7 +135,7 @@ std::string BytesFieldGenerator::GetDefaultValue(void) const
+ }
+ void BytesFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* printer) const
+ {
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+       printer->Print(variables_, "$default_value$");
+       break;
+diff --git a/protoc-gen-c/c_enum_field.cc b/protoc-gen-c/c_enum_field.cc
+index c3111f5..78ffb1c 100644
+--- a/protoc-gen-c/c_enum_field.cc
++++ b/protoc-gen-c/c_enum_field.cc
+@@ -95,7 +95,7 @@ EnumFieldGenerator::~EnumFieldGenerator() {}
+ 
+ void EnumFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer* printer) const
+ {
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+       printer->Print(variables_, "$type$ $name$$deprecated$;\n");
+       break;
+@@ -117,7 +117,7 @@ std::string EnumFieldGenerator::GetDefaultValue(void) const
+ }
+ void EnumFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* printer) const
+ {
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+       printer->Print(variables_, "$default$");
+       break;
+diff --git a/protoc-gen-c/c_field.cc b/protoc-gen-c/c_field.cc
+index 8d22343..8f83e1b 100644
+--- a/protoc-gen-c/c_field.cc
++++ b/protoc-gen-c/c_field.cc
+@@ -125,11 +125,11 @@ void FieldGenerator::GenerateDescriptorInitializerGeneric(google::protobuf::io::
+     variables["oneofname"] = CamelToLower(oneof->name());
+ 
+   if (FieldSyntax(descriptor_) == 3 &&
+-    descriptor_->label() == google::protobuf::FieldDescriptor::LABEL_OPTIONAL) {
++    FieldLabel(descriptor_) == google::protobuf::FieldDescriptor::LABEL_OPTIONAL) {
+     variables["LABEL"] = "NONE";
+     optional_uses_has = false;
+   } else {
+-    variables["LABEL"] = CamelToUpper(GetLabelName(descriptor_->label()));
++    variables["LABEL"] = CamelToUpper(GetLabelName(FieldLabel(descriptor_)));
+   }
+ 
+   if (descriptor_->has_default_value()) {
+@@ -145,11 +145,11 @@ void FieldGenerator::GenerateDescriptorInitializerGeneric(google::protobuf::io::
+ 
+   variables["flags"] = "0";
+ 
+-  if (descriptor_->label() == google::protobuf::FieldDescriptor::LABEL_REPEATED
++  if (FieldLabel(descriptor_) == google::protobuf::FieldDescriptor::LABEL_REPEATED
+    && is_packable_type (descriptor_->type())
+    && descriptor_->options().packed()) {
+     variables["flags"] += " | PROTOBUF_C_FIELD_FLAG_PACKED";
+-  } else if (descriptor_->label() == google::protobuf::FieldDescriptor::LABEL_REPEATED
++  } else if (FieldLabel(descriptor_) == google::protobuf::FieldDescriptor::LABEL_REPEATED
+    && is_packable_type (descriptor_->type())
+    && FieldSyntax(descriptor_) == 3
+    && !descriptor_->options().has_packed()) {
+@@ -179,7 +179,7 @@ void FieldGenerator::GenerateDescriptorInitializerGeneric(google::protobuf::io::
+     "  $value$,\n"
+     "  PROTOBUF_C_LABEL_$LABEL$,\n"
+     "  PROTOBUF_C_TYPE_$TYPE$,\n");
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+       printer->Print(variables, "  0,   /* quantifier_offset */\n");
+       break;
+diff --git a/protoc-gen-c/c_helpers.cc b/protoc-gen-c/c_helpers.cc
+index e5c177c..fcfc258 100644
+--- a/protoc-gen-c/c_helpers.cc
++++ b/protoc-gen-c/c_helpers.cc
+@@ -338,6 +338,17 @@ std::string GetLabelName(google::protobuf::FieldDescriptor::Label label) {
+   return "bad-label";
+ }
+ 
++google::protobuf::FieldDescriptor::Label FieldLabel(
++    const google::protobuf::FieldDescriptor* field) {
++  if (field->is_repeated()) {
++    return google::protobuf::FieldDescriptor::LABEL_REPEATED;
++  }
++  if (field->is_required()) {
++    return google::protobuf::FieldDescriptor::LABEL_REQUIRED;
++  }
++  return google::protobuf::FieldDescriptor::LABEL_OPTIONAL;
++}
++
+ unsigned
+ WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *values, compat::StringView name)
+ {
+diff --git a/protoc-gen-c/c_helpers.h b/protoc-gen-c/c_helpers.h
+index 6936999..210f17a 100644
+--- a/protoc-gen-c/c_helpers.h
++++ b/protoc-gen-c/c_helpers.h
+@@ -153,6 +153,11 @@ std::string FilenameIdentifier(compat::StringView filename);
+ // return 'required', 'optional', or 'repeated'
+ std::string GetLabelName(google::protobuf::FieldDescriptor::Label label);
+ 
++// Returns the field label in a way that is compatible with protobuf versions
++// where FieldDescriptor::label() is unavailable.
++google::protobuf::FieldDescriptor::Label FieldLabel(
++  const google::protobuf::FieldDescriptor* field);
++
+ // write IntRanges entries for a bunch of sorted values.
+ // returns the number of ranges there are to bsearch.
+ unsigned WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *values, compat::StringView name);
+diff --git a/protoc-gen-c/c_message_field.cc b/protoc-gen-c/c_message_field.cc
+index 9fca920..4366135 100644
+--- a/protoc-gen-c/c_message_field.cc
++++ b/protoc-gen-c/c_message_field.cc
+@@ -83,7 +83,7 @@ void MessageFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer*
+   vars["name"] = FieldName(descriptor_);
+   vars["type"] = FullNameToC(descriptor_->message_type()->full_name(), descriptor_->message_type()->file());
+   vars["deprecated"] = FieldDeprecated(descriptor_);
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+     case google::protobuf::FieldDescriptor::LABEL_OPTIONAL:
+       printer->Print(vars, "$type$ *$name$$deprecated$;\n");
+@@ -103,7 +103,7 @@ std::string MessageFieldGenerator::GetDefaultValue(void) const
+ }
+ void MessageFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* printer) const
+ {
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+     case google::protobuf::FieldDescriptor::LABEL_OPTIONAL:
+       printer->Print("NULL");
+diff --git a/protoc-gen-c/c_primitive_field.cc b/protoc-gen-c/c_primitive_field.cc
+index 588f60e..b3a4a46 100644
+--- a/protoc-gen-c/c_primitive_field.cc
++++ b/protoc-gen-c/c_primitive_field.cc
+@@ -109,7 +109,7 @@ void PrimitiveFieldGenerator::GenerateStructMembers(google::protobuf::io::Printe
+   vars["name"] = FieldName(descriptor_);
+   vars["deprecated"] = FieldDeprecated(descriptor_);
+ 
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+       printer->Print(vars, "$c_type$ $name$$deprecated$;\n");
+       break;
+@@ -156,7 +156,7 @@ void PrimitiveFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer*
+   } else {
+     vars["default_value"] = "0";
+   }
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+       printer->Print(vars, "$default_value$");
+       break;
+diff --git a/protoc-gen-c/c_string_field.cc b/protoc-gen-c/c_string_field.cc
+index 163f424..6aea8dd 100644
+--- a/protoc-gen-c/c_string_field.cc
++++ b/protoc-gen-c/c_string_field.cc
+@@ -94,7 +94,7 @@ void StringFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer*
+ {
+   const ProtobufCFileOptions opt = descriptor_->file()->options().GetExtension(pb_c_file);
+ 
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+     case google::protobuf::FieldDescriptor::LABEL_OPTIONAL:
+       if (opt.const_strings())
+@@ -138,7 +138,7 @@ void StringFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* pri
+   } else {
+     vars["default"] = "(char *)protobuf_c_empty_string";
+   }
+-  switch (descriptor_->label()) {
++  switch (FieldLabel(descriptor_)) {
+     case google::protobuf::FieldDescriptor::LABEL_REQUIRED:
+     case google::protobuf::FieldDescriptor::LABEL_OPTIONAL:
+       printer->Print(vars, "$default$");
meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.2.bb +3 -1
index 7fe514fe07..5740209e6b 100644
@@ -13,10 +13,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bd8de4f63e06b1ccc06e9f8dc5b1aa97"
 DEPENDS = "protobuf-native protobuf"
 
 SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https \
-"
+           file://0001-Fix-compilation-against-protobuf-v34.patch \
+           "
 SRC_URI:append:class-native = " file://0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch"
 
 SRCREV = "4719fdd7760624388c2c5b9d6759eb6a47490626"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 
 inherit autotools pkgconfig
author
#33 lore raw

PATCH 28/55 protobuf: upgrade 6.33.6 -> 7.36.2

In reply to Khem Raj

The C++ library major version moves from 6 to 7 at protoc v34; this recipe now builds protoc tag v36.2 (36.x branch).
- C++ API break in v34: FieldDescriptor::label(), is_optional() and has_optional_keyword() removed, generator headers made private, [[nodiscard]] added to many accessors, arena-enabled constructors of RepeatedField/RepeatedPtrField/Map made private
- Recursion limits added for JSON Any/WKT parsing and nested messages; integer overflow check in RepeatedPtrField::MergeFrom
- New protobuf_BUILD_LIBPROTOBUF option; tests are no longer built by default
- C++ and Python (python3-protobuf 7.36.2) are back on the same release

Both local patches still apply without fuzz. PV stays in the <cpp-major>.<protoc> form so PROTOC_VERSION/PROTOC_BRANCH derive v36.2 and 36.x. protobuf-c needs the label() fix from the previous commit.

Anchor UPSTREAM_CHECK_GITTAGREGEX to release tags only.

AI-Generated: Uses Claude Code

---
 .../protobuf/{protobuf_6.33.6.bb => protobuf_7.36.2.bb}   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf_6.33.6.bb => protobuf_7.36.2.bb} (95%)
meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb renamed from meta-oe/recipes-devtools/protobuf/protobuf_6.33.6.bb +4 -4
similarity index 95%
rename from meta-oe/recipes-devtools/protobuf/protobuf_6.33.6.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb
index 36642d3947..b83597965b 100644
@@ -16,7 +16,7 @@ PROTOC_BRANCH = "${@d.getVar('PV').split('.', 2)[1]}.x"
 DEPENDS = "zlib abseil-cpp jsoncpp"
 DEPENDS:append:class-target = " protobuf-native"
 
-SRCREV = "6e1998413a5bca7c058b85999667893f167434bc"
+SRCREV = "2c74169b34066ceb8ddb6b882fcb3fb32d737a55"
 
 SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=${PROTOC_BRANCH};protocol=https;tag=${PROTOC_VERSION} \
            file://run-ptest \
@@ -25,11 +25,11 @@ SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=${PROTOC_BRANCH}
            "
 
 # Upstream dropped the language-major prefix after v6.31.1: releases are now
-# tagged vNN.N (v33.6 == this recipe's 6.33.6, cf. PROTOC_VERSION above). Match
+# tagged vNN.N (v36.2 == this recipe's 7.36.2, cf. PROTOC_VERSION above). Match
 # those two-component tags so the real latest release is reported; the leading
-# "6." in PV means the comparison stays off-by-a-major, so this reads as UPDATE
+# C++ major in PV means the comparison stays off-by-a-major, so this reads as UPDATE
 # rather than MATCH even when current.
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+)$"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+\.\d+)$"
 
 CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp"
 
author
#34 lore raw

PATCH 29/55 android-tools: Fix build with protobuf >= 36

In reply to Khem Raj

protobuf 36's descriptor.h includes absl/log/log.h, whose LOG and VLOG macros replace the libbase ones that adb uses, so adb's D() trace macro expands to Abseil logging and fails with "use of undeclared identifier 'STATELESS'" (e.g. in daemon/jdwp_service.cpp).

Backport the fix from nmeum/android-tools, which includes descriptor.h first from sysdeps.h so libbase's macros win, adapted to the Debian 35.0.2 source layout.

This older source includes sysdeps.h late in more files, and the Debian makefiles also build adbd, so more sources need the same treatment:
include sysdeps.h (or the protobuf header) before libbase's logging headers, otherwise adb and adbd fail to link with absl VLogSite undefined and other files log through Abseil. Also rename usb_ffs.cpp's strings descriptor, which clashes with the global namespace strings declared by Abseil's cord.h.

Add an upstream version check against the Debian pool.

AI-Generated: Uses Claude Code

---
 ...-logging-macros-after-protobuf-inclu.patch |  67 +++++
 ...bbase-logging-macros-in-more-sources.patch | 257 ++++++++++++++++++
 .../android-tools/android-tools_35.0.2.bb     |   5 +
 3 files changed, 329 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/0017-adb-keep-libbase-logging-macros-after-protobuf-inclu.patch
 create mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/0018-adb-keep-libbase-logging-macros-in-more-sources.patch
meta-oe/recipes-devtools/android-tools/android-tools/0017-adb-keep-libbase-logging-macros-after-protobuf-inclu.patch new file +67 -0
new file mode 100644
index 0000000000..e76a9d345e
@@ -0,0 +1,67 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Felix Yan <[email protected]>
+Date: Thu, 27 Aug 2026 16:00:00 +0800
+Subject: [PATCH] adb: keep libbase logging macros after protobuf includes
+
+Protobuf 36's descriptor.h includes absl/log/log.h, which defines the
+short LOG and VLOG macros. Several adb sources include generated protobuf
+headers after adb's libbase logging/trace headers; those protobuf headers
+then replace adb's macros and make adb_trace.h's LOG(DEBUG) expand as
+Abseil logging, where DEBUG is not a valid severity.
+
+sysdeps.h is the first include for most adb translation units. Include
+descriptor.h first from it, so Abseil's short logging macros are seen
+before android-base/logging.h and adb_trace.h install adb's macros.
+Include sysdeps.h first from adb_install.cpp too.
+
+This keeps adb's logging behavior intact and avoids per-include macro
+save/restore blocks.
+
+Adapted to the Debian android-platform-tools 35.0.2 source layout. This
+version's sysdeps.h has no protobuf-first include yet, and has no
+mdns_tracker.cpp. Includes the adb_install.cpp change from the follow-up
+commit
+https://github.com/nmeum/android-tools/commit/9a1844a13b5519a879de88f1dcb1c06fcad15780
+
+Upstream-Status: Backport [https://github.com/nmeum/android-tools/commit/69a8c54dcd8c49d5b5eb22fa5c3c992d80e0bb2b]
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ packages/modules/adb/client/adb_install.cpp | 2 +-
+ packages/modules/adb/sysdeps.h              | 7 +++++++
+ 2 files changed, 8 insertions(+), 1 deletion(-)
+
+--- a/packages/modules/adb/client/adb_install.cpp
++++ b/packages/modules/adb/client/adb_install.cpp
+@@ -14,6 +14,7 @@
+  * limitations under the License.
+  */
+ 
++#include "sysdeps.h"
+ #include "adb_install.h"
+ 
+ #include <fcntl.h>
+@@ -39,7 +40,6 @@
+ #include "commandline.h"
+ #include "fastdeploy.h"
+ #include "incremental.h"
+-#include "sysdeps.h"
+ 
+ using namespace std::literals;
+ 
+--- a/packages/modules/adb/sysdeps.h
++++ b/packages/modules/adb/sysdeps.h
+@@ -24,6 +24,13 @@
+ #  undef _WIN32
+ #endif
+ 
++// Include protobuf headers first, because they expose Abseil's LOG/VLOG macros
++// that android-base/logging.h and adb_trace.h redefine later. Not all modules
++// that include sysdeps.h use protobufs, so only include them if they exist.
++#if __has_include("google/protobuf/descriptor.h")
++#include "google/protobuf/descriptor.h"
++#endif
++
+ #include <errno.h>
+ 
+ #include <optional>
meta-oe/recipes-devtools/android-tools/android-tools/0018-adb-keep-libbase-logging-macros-in-more-sources.patch new file +257 -0

257 lines not on this page · raw message

meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb +5 -0
index 38b522084d..c2c5ae4c86 100644
@@ -61,6 +61,8 @@ SRC_URI = "https://deb.debian.org/debian/pool/main/a/android-platform-tools/andr
            file://0014-daemon-auth-vendor-a-portable-b64_pton-for-non-glib.patch \
            file://0015-adbd-make-fs-config-opt-in-on-non-android-builds.patch \
            file://0016-libziparchive-include-cstdint-in-zip_writer.h.patch \
+           file://0017-adb-keep-libbase-logging-macros-after-protobuf-inclu.patch \
+           file://0018-adb-keep-libbase-logging-macros-in-more-sources.patch \
            "
 
 SRC_URI[orig.md5sum] = "352376965cdef7bd7505d8fefdd43d50"
@@ -68,6 +70,9 @@ SRC_URI[orig.sha256sum] = "ec1d317608db3328bfbddf7152c8d7f185c7c87b2175081416344
 SRC_URI[debian.md5sum] = "1de890bd272da9e8cd35bc9579802f1f"
 SRC_URI[debian.sha256sum] = "f03a89b82ea8dfbe3cb77d5326eedf0d15984f5896885e8c5df64cf421819579"
 
+UPSTREAM_CHECK_URI = "https://deb.debian.org/debian/pool/main/a/android-platform-tools/"
+UPSTREAM_CHECK_REGEX = "android-platform-tools_(?P<pver>\d+(\.\d+)+)\.orig\.tar"
+
 S = "${UNPACKDIR}/android-platform-tools-${PV}"
 B = "${UNPACKDIR}/${BPN}"
 
author
#35 lore raw

PATCH 30/55 ceres-solver: Support Eigen 5

In reply to Khem Raj

Eigen 5.0 uses strict version matching in Eigen3ConfigVersion.cmake, so find_package(Eigen3 3.3) rejects 5.0.x and configure fails. Its runtime thin/full SVD options are also deprecated in favour of compile-time options.

Backport the upstream fix, which searches for the version range 3.3...5 first and falls back to the old lookup for Eigen 3.x configs, and uses compile-time SVD options with Eigen >= 5. The CMake hunk is adjusted for 2.2.0, whose minimum is Eigen 3.3 instead of 3.3.4.

Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only.

AI-Generated: Uses Claude Code

---
 .../0001-Support-Eigen3-5.0.0.patch           | 91 +++++++++++++++++++
 .../ceres-solver/ceres-solver_2.2.0.bb        |  5 +-
 2 files changed, 95 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-support/ceres-solver/ceres-solver/0001-Support-Eigen3-5.0.0.patch
meta-oe/recipes-support/ceres-solver/ceres-solver/0001-Support-Eigen3-5.0.0.patch new file +91 -0
new file mode 100644
index 0000000000..2873e4d995
@@ -0,0 +1,91 @@
+From f9b7b6651b108136a16df44d91fb31735645f5a7 Mon Sep 17 00:00:00 2001
+From: Sergiu Deitsch <[email protected]>
+Date: Sun, 28 Sep 2025 08:35:06 +0200
+Subject: [PATCH] Support Eigen3 5.0.0
+
+Change-Id: I5cf476a6d8c090861f4ea4a254a35d39e36a6d68
+
+Adjusted for 2.2.0, which still requires Eigen 3.3 instead of 3.3.4.
+
+Upstream-Status: Backport [https://github.com/ceres-solver/ceres-solver/commit/f9b7b6651b108136a16df44d91fb31735645f5a7]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ CMakeLists.txt                     | 27 ++++++++++++++++++++++++++-
+ internal/ceres/covariance_impl.cc  |  5 +++++
+ internal/ceres/invert_psd_matrix.h |  4 ++++
+ 3 files changed, 35 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8e49c19..a186e99 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -180,9 +180,34 @@ endif (IOS)
+ 
+ unset(CERES_COMPILE_OPTIONS)
+ 
++# We call find_package multiple time with different versioning scheme to support
++# both Eigen3 3.x and 5.x. If the first invocation fails and Eigen3_DIR was set
++# to a possible location, e.g., during cross-compilation, failure to locate the
++# package will unset the variable. To avoid losing the path hint, we save it and
++# reuse it in the second find_package call.
++set (_Ceres_Eigen3_DIR)
++
++if (Eigen3_DIR)
++  set (_Ceres_Eigen3_DIR "${Eigen3_DIR}")
++endif (Eigen3_DIR)
++
+ # Eigen.
+ # Eigen delivers Eigen3Config.cmake since v3.3.3
+-find_package(Eigen3 3.3 REQUIRED)
++find_package(Eigen3 3.3...5 NO_MODULE)
++
++if (NOT Eigen3_FOUND)
++  if (_Ceres_Eigen3_DIR)
++    set (Eigen3_DIR "${_Ceres_Eigen3_DIR}")
++  endif (_Ceres_Eigen3_DIR)
++  # Eigen3's CMake package config prior to 5.0.0 does not support version ranges
++  # with different major version components. To ensure backward compatibility,
++  # we locate the package using the previous version scheme as a fallback
++  # mechanism.
++  find_package(Eigen3 3.3 REQUIRED)
++endif (NOT Eigen3_FOUND)
++
++unset (_Ceres_Eigen3_DIR)
++
+ if (Eigen3_FOUND)
+   message("-- Found Eigen version ${Eigen3_VERSION}: ${Eigen3_DIR}")
+   if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)" AND
+diff --git a/internal/ceres/covariance_impl.cc b/internal/ceres/covariance_impl.cc
+index 6e8362d..deb0ce1 100644
+--- a/internal/ceres/covariance_impl.cc
++++ b/internal/ceres/covariance_impl.cc
+@@ -723,8 +723,13 @@ bool CovarianceImpl::ComputeCovarianceValuesUsingDenseSVD() {
+   }
+   event_logger.AddEvent("ConvertToDenseMatrix");
+ 
++#if EIGEN_VERSION_AT_LEAST(5, 0, 0)
++  Eigen::BDCSVD<Matrix, Eigen::ComputeThinU | Eigen::ComputeThinV> svd(
++      dense_jacobian);
++#else   // !EIGEN_VERSION_AT_LEAST(5, 0, 0)
+   Eigen::BDCSVD<Matrix> svd(dense_jacobian,
+                             Eigen::ComputeThinU | Eigen::ComputeThinV);
++#endif  // EIGEN_VERSION_AT_LEAST(5, 0, 0)
+ 
+   event_logger.AddEvent("SingularValueDecomposition");
+ 
+diff --git a/internal/ceres/invert_psd_matrix.h b/internal/ceres/invert_psd_matrix.h
+index bc74900..34a4698 100644
+--- a/internal/ceres/invert_psd_matrix.h
++++ b/internal/ceres/invert_psd_matrix.h
+@@ -68,7 +68,11 @@ typename EigenTypes<kSize, kSize>::Matrix InvertPSDMatrix(
+ 
+   // For a thin SVD the number of columns of the matrix need to be dynamic.
+   using SVDMType = typename EigenTypes<kSize, Eigen::Dynamic>::Matrix;
++#if EIGEN_VERSION_AT_LEAST(5, 0, 0)
++  Eigen::JacobiSVD<SVDMType, Eigen::ComputeThinU | Eigen::ComputeThinV> svd(m);
++#else   // !EIGEN_VERSION_AT_LEAST(5, 0, 0)
+   Eigen::JacobiSVD<SVDMType> svd(m, Eigen::ComputeThinU | Eigen::ComputeThinV);
++#endif  // EIGEN_VERSION_AT_LEAST(5, 0, 0)
+   return svd.solve(MType::Identity(size, size));
+ }
+ 
meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb +4 -1
index 5368bdeeb4..5c6eaf4395 100644
@@ -5,8 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3585a26c9cd9ec0cb36a7d65542878ca"
 
 DEPENDS = "libeigen"
 
-SRC_URI = "git://github.com/ceres-solver/ceres-solver.git;branch=master;protocol=https"
+SRC_URI = "git://github.com/ceres-solver/ceres-solver.git;branch=master;protocol=https \
+           file://0001-Support-Eigen3-5.0.0.patch \
+           "
 SRCREV = "85331393dc0dff09f6fb9903ab0c4bfa3e134b01"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 
 inherit cmake
 
author
#36 lore raw

PATCH 31/55 libeigen: upgrade 3.4.1 -> 5.0.1

In reply to Khem Raj

Eigen 5.0 switches to semantic versioning (WORLD version stays 3, so the eigen3 include dir, eigen3.pc and Eigen3 CMake package remain).
- Requires C++14; EIGEN_HAS_CXX11 and similar macros removed
- CMake package modernized; Eigen3ConfigVersion uses strict matching, so users need a range such as 3.3...5 to accept 5.x
- LGPL code removed; Eigen::all/last moved to Eigen::placeholders; including internal src/ headers is now an error
- Runtime thin/full SVD options deprecated; aligned_allocator no longer derives from std::allocator; Euler angles and RNG changed
- 5.0.1 fixes alignment issues and a missing <version> include

Drop both backported patches (LGPL removal and the trivial eigen_packet_wrapper constructor), they are part of 5.0. Track the 5.0 branch and the release tag, and add an upstream version check. Disable the docs and demos, which now default on for top-level builds, and clear the pre-release/build strings so the generated Eigen/Version says 5.0.1 instead of 5.0.1-dev+<hash>. The GPL licence file is now only in the bench/btl benchmark suite, so point LIC_FILES_CHKSUM there; it is not installed.

License-Update: COPYING.GPL dropped upstream (GPL now only via bench/btl/COPYING); COPYING.MPL2 http->https URL and whitespace fix.

AI-Generated: Uses Claude Code

---
 ...igen_packet_wrapper-trivial-for-c-11.patch |   26 -
 ...0001-Remove-LGPL-Code-and-references.patch | 1030 -----------------
 .../{libeigen_3.4.1.bb => libeigen_5.0.1.bb}  |   20 +-
 3 files changed, 12 insertions(+), 1064 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libeigen/libeigen/0001-Make-eigen_packet_wrapper-trivial-for-c-11.patch
 delete mode 100644 meta-oe/recipes-support/libeigen/libeigen/0001-Remove-LGPL-Code-and-references.patch
 rename meta-oe/recipes-support/libeigen/{libeigen_3.4.1.bb => libeigen_5.0.1.bb} (65%)
meta-oe/recipes-support/libeigen/libeigen/0001-Make-eigen_packet_wrapper-trivial-for-c-11.patch deleted +0 -26
deleted file mode 100644
index 855bf01ae9..0000000000
@@ -1,26 +0,0 @@
-From 0295f81a835ef69e2bacd9e75ab5782eca398720 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Antonio=20S=C3=A1nchez?= <[email protected]>
-Date: Thu, 2 Oct 2025 17:53:19 +0000
-Subject: [PATCH] Make `eigen_packet_wrapper` trivial for c++11.
-
-Upstream-Status: Backport [https://gitlab.com/libeigen/eigen/-/commit/0295f81a835ef69e2bacd9e75ab5782eca398720]
----
- Eigen/src/Core/GenericPacketMath.h | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h
-index af45f3936..4aeb77de8 100644
---- a/Eigen/src/Core/GenericPacketMath.h
-+++ b/Eigen/src/Core/GenericPacketMath.h
-@@ -160,7 +160,11 @@ struct eigen_packet_wrapper
- {
-   EIGEN_ALWAYS_INLINE operator T&() { return m_val; }
-   EIGEN_ALWAYS_INLINE operator const T&() const { return m_val; }
-+#if EIGEN_HAS_CXX11
-+  EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
-+#else
-   EIGEN_ALWAYS_INLINE eigen_packet_wrapper() {};
-+#endif
-   EIGEN_ALWAYS_INLINE eigen_packet_wrapper(const T &v) : m_val(v) {}
-   EIGEN_ALWAYS_INLINE eigen_packet_wrapper& operator=(const T &v) {
-     m_val = v;
meta-oe/recipes-support/libeigen/libeigen/0001-Remove-LGPL-Code-and-references.patch deleted +0 -1030

1,030 lines not on this page · raw message

meta-oe/recipes-support/libeigen/libeigen_5.0.1.bb renamed from meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb +12 -8
similarity index 65%
rename from meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb
rename to meta-oe/recipes-support/libeigen/libeigen_5.0.1.bb
index 6e66683be9..6239b17da7 100644
@@ -1,23 +1,22 @@
 DESCRIPTION = "Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms."
 HOMEPAGE = "http://eigen.tuxfamily.org/"
 LICENSE = "Apache-2.0 AND BSD-3-Clause AND GPL-2.0-or-later AND MPL-2.0 AND Minpack"
-# The GPL code is only used for benchmark tests and does not affect what is installed.
+# The GPL code is only the bench/btl benchmark suite and does not affect what is installed.
 LICENSE:${PN} = "Apache-2.0 AND BSD-3-Clause AND MPL-2.0 AND Minpack"
 LICENSE:${PN}-dbg = "Apache-2.0 AND BSD-3-Clause AND MPL-2.0 AND Minpack"
 LICENSE:${PN}-dev = "Apache-2.0 AND BSD-3-Clause AND MPL-2.0 AND Minpack"
-LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad \
+LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=48a3fe23ed1353e0995dadfda05ffdb6 \
                     file://COPYING.APACHE;md5=8de23b8e93c63005353056b2475e9aa5 \
                     file://COPYING.BSD;md5=2dd0510ee95e59ca28834b875bc96596 \
-                    file://COPYING.GPL;md5=d32239bcb673463ab874e80d47fae504 \
+                    file://bench/btl/COPYING;md5=02023a9ab7f768bfdefdb98b629bb20d \
                     file://COPYING.MINPACK;md5=71d91b0f75ce79a75d3108a72bef8116 \
 "
 
-SRC_URI = "git://gitlab.com/libeigen/eigen.git;protocol=http;branch=3.4 \
-    file://0001-Remove-LGPL-Code-and-references.patch \
-    file://0001-Make-eigen_packet_wrapper-trivial-for-c-11.patch \
-"
+SRC_URI = "git://gitlab.com/libeigen/eigen.git;protocol=https;branch=5.0;tag=${PV}"
+
+SRCREV = "bc3b39870ecb690a623a3f49149a358b95c5781d"
 
-SRCREV = "d71c30c47858effcbd39967097a2d99ee48db464"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 
 inherit cmake
 
@@ -26,8 +25,13 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[blas] = "-DEIGEN_BUILD_BLAS=ON,-DEIGEN_BUILD_BLAS=OFF,libgfortran"
 PACKAGECONFIG[lapack] = "-DEIGEN_BUILD_LAPACK=ON,-DEIGEN_BUILD_LAPACK=OFF,libgfortran"
 
+# Empty pre-release/build strings keep the installed Eigen/Version at plain ${PV}
 EXTRA_OECMAKE += " \
     -DEIGEN_BUILD_TESTING=OFF \
+    -DEIGEN_BUILD_DOC=OFF \
+    -DEIGEN_BUILD_DEMOS=OFF \
+    -DEIGEN_PRERELEASE_VERSION= \
+    -DEIGEN_BUILD_VERSION= \
 "
 
 FILES:${PN}-dev += "${datadir}/eigen3/cmake"
author
#37 lore raw

PATCH 32/55 libiio: upgrade 0.26 -> 1.0.0

In reply to Khem Raj

First stable 1.x release; it breaks both the API and the ABI of 0.x.
- Header moved to <iio/iio.h>; SONAME is now libiio.so.1 with a frozen version script; errors are returned as pointer-encoded codes
- Contexts are created with iio_create_context(params, uri); attributes use iio_attr objects; streaming is block based (iio_channels_mask, iio_buffer_open, iio_block, iio_stream)
- New binary IIOD protocol negotiated at connect time, multi-buffer and DMABUF support; IIOD still serves v0.x clients
- A libiio.so.0 compatibility library keeps v0.x binaries running
- iio_readdev and iio_writedev merged into iio_rwdev

Track main and the v1.0.0 tag instead of the libiio-v0 branch. Add zstd to DEPENDS, which iiod needs for its USB/network/serial/async I/O support. The Python bindings are now a standalone pyproject package (pylibiio) without a CMake option, so build them with python_setuptools_build_meta from bindings/python when the libiio-python3 PACKAGECONFIG is enabled. Several sources are now MIT licensed, so add MIT and the per-package licences (utils are GPL-2.0-or-later, as before, and iiod has one BSD-3-Clause header).

License-Update: add MIT (new COPYING_MIT.txt) and the existing COPYING_GPL.txt; COPYING.txt is unchanged.

Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only.

AI-Generated: Uses Claude Code

---
 .../{libiio_0.26.bb => libiio_1.0.0.bb}       | 34 +++++++++++--------
 1 file changed, 20 insertions(+), 14 deletions(-)
 rename meta-oe/recipes-support/libiio/{libiio_0.26.bb => libiio_1.0.0.bb} (75%)
meta-oe/recipes-support/libiio/libiio_1.0.0.bb renamed from meta-oe/recipes-support/libiio/libiio_0.26.bb +20 -14
similarity index 75%
rename from meta-oe/recipes-support/libiio/libiio_0.26.bb
rename to meta-oe/recipes-support/libiio/libiio_1.0.0.bb
index dcd1ebffd9..9fc2e0909d 100644
@@ -1,22 +1,28 @@
 SUMMARY = "Library for interfacing with IIO devices"
 HOMEPAGE = "https://wiki.analog.com/resources/tools-software/linux-software/libiio"
 SECTION = "libs"
-LICENSE = "LGPL-2.1-or-later"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c"
-
-SRCREV = "a0eca0d2bf10326506fb762f0eec14255b27bef5"
+LICENSE = "LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later AND BSD-3-Clause"
+LICENSE:${PN} = "LGPL-2.1-or-later AND MIT"
+LICENSE:${PN}-iiod = "LGPL-2.1-or-later AND MIT AND BSD-3-Clause"
+LICENSE:${PN}-tests = "GPL-2.0-or-later"
+LICENSE:${PN}-python3 = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c \
+                    file://COPYING_GPL.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://COPYING_MIT.txt;md5=6adb420b1f4ed98678908c60d934265a \
+"
 
-SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https;branch=libiio-v0"
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+SRCREV = "9a929664fd3effa500430626803ac59ecf2f4ed3"
 
+SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https;branch=main;tag=v${PV}"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
-SETUPTOOLS_SETUP_PATH ?= "${B}/bindings/python/"
+PEP517_SOURCE_PATH = "${S}/bindings/python"
 
 DEPENDS = " \
-    flex-native bison-native libaio \
+    flex-native bison-native libaio zstd \
 "
 
-inherit cmake python3native systemd setuptools3 pkgconfig update-rc.d
+inherit python_setuptools_build_meta cmake systemd pkgconfig update-rc.d
 
 EXTRA_OECMAKE = " \
     -DCMAKE_BUILD_TYPE=RelWithDebInfo \
@@ -41,12 +47,12 @@ PACKAGECONFIG[network_backend] = "-DWITH_NETWORK_BACKEND=ON -DWITH_XML_BACKEND=O
 PACKAGECONFIG[serial_backend] = "-DWITH_SERIAL_BACKEND=ON -DWITH_XML_BACKEND=ON,-DWITH_SERIAL_BACKEND=off,libserialport libxml2"
 PACKAGECONFIG[xml_backend] = "-DWITH_XML_BACKEND=ON,${XML_BACKEND_DISABLE},libxml2"
 PACKAGECONFIG[dnssd] = "-DHAVE_DNS_SD=ON,-DHAVE_DNS_SD=off,avahi"
-PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF"
+PACKAGECONFIG[libiio-python3] = ""
 PACKAGECONFIG[hwmon] = "-DWITH_HWMON=ON,-DWITH_HWMON=OFF"
 
 PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python3"
 
-# Inheriting setuptools3 incorrectly adds the dependency on python3-core
+# Inheriting python_setuptools_build_meta incorrectly adds the dependency on python3-core
 # to ${PN} instead of to ${PN}-python3 where it belongs.
 RDEPENDS:${PN}:remove = "python3-core"
 RDEPENDS:${PN}-python3 = "${PN} python3-core python3-ctypes python3-stringold"
@@ -64,7 +70,7 @@ SYSTEMD_SERVICE:${PN}-iiod = "iiod.service"
 INITSCRIPT_PACKAGES = "${PN}-iiod"
 INITSCRIPT_NAME:${PN}-iiod = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'iiod', '', d)}"
 
-# Explicitly define do_configure, do_compile and do_install because both cmake and setuptools3 have
+# Explicitly define do_configure, do_compile and do_install because both cmake and python_pep517 have
 # EXPORT_FUNCTIONS do_configure do_compile do_install
 do_configure() {
     cmake_do_configure
@@ -72,14 +78,14 @@ do_configure() {
 
 do_compile() {
     if ${@bb.utils.contains('PACKAGECONFIG', 'libiio-python3', 'true', 'false', d)}; then
-        setuptools3_do_compile
+        python_pep517_do_compile
     fi
     cmake_do_compile
 }
 
 do_install() {
     if ${@bb.utils.contains('PACKAGECONFIG', 'libiio-python3', 'true', 'false', d)}; then
-        setuptools3_do_install
+        python_pep517_do_install
     fi
     cmake_do_install
 }
author
#38 lore raw

PATCH 33/55 fltk: upgrade 1.3.11 -> 1.4.5

In reply to Khem Raj

FLTK 1.4 is a new ABI (libfltk.so.1.4); the API is mostly source compatible with 1.3.
- New Wayland backend (hybrid Wayland/X11 library on Linux), with client-side decorations through libdecor and Cairo/Pango drawing
- HiDPI support and GUI scaling on all platforms
- CMake is the primary build system ("modern CMake" targets); the OPTION_* CMake options were renamed to FLTK_*
- New Fl_Flex and Fl_Grid layout widgets, fltk-options tool, SVG image support
- 1.4.1-1.4.5 are bug-fix releases (Wayland, X11, macOS, Windows)

Recipe changes: map the renamed CMake options (FLTK_BUILD_SHARED_LIBS, FLTK_USE_PTHREADS, FLTK_USE_XFT/XINERAMA/XFIXES/XCURSOR, FLTK_BUILD_GL, FLTK_OPTION_CAIRO_WINDOW); OPTION_USE_XDBE no longer exists. Add a wayland PACKAGECONFIG, enabled with the wayland distro feature, using the system libdecor; it also needs the X11 extensions because the library is hybrid. fltk-native and x11-only builds disable the Wayland backend. GL now links libGLU, so add libglu. Disable docs and examples. FLTK_CONFIG_PATH is no longer settable; the CMake files stay in ${datadir}/fltk and UseFLTK.cmake is gone, so sed all installed *.cmake files.

Patches: disable_test.patch touched the unused autotools Makefile; the Fl_Preferences dlopen guard and linking libdl are upstream; 1.4 always builds fluid when cross-compiling, so drop all four. Refresh the "do not export fluid" patch, which is still needed because fluid is not staged in the sysroot.

fltk-native: CMake cannot find the host libm in the native sysroot, so the trunc() check fails and the fallback definition clashes with glibc's declaration; preset HAVE_TRUNC.

License-Update: COPYING only switches its URLs to https and the bug tracker link from str.php to bugs.php.

Move UPSTREAM_CHECK_URI to fltk.inc and add an UPSTREAM_CHECK_REGEX matching the release source tarballs.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-support/fltk/fltk-native.bb   | 22 +++++-----
 meta-oe/recipes-support/fltk/fltk.bb          | 35 +++++++--------
 meta-oe/recipes-support/fltk/fltk.inc         | 23 ++++++----
 ...xx-do-not-use-dlopen-in-case-glibc-s.patch | 41 -----------------
 ...ways-build-fluid-and-export-pointers.patch | 31 -------------
 ...Lists.txt-Do-not-export-fluid-target.patch | 26 +++++------
 .../fltk/fltk/disable_test.patch              | 13 ------
 .../fltk/fltk/fltk-native-link-libdl.patch    | 44 -------------------
 8 files changed, 52 insertions(+), 183 deletions(-)
 delete mode 100644 meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch
 delete mode 100644 meta-oe/recipes-support/fltk/fltk/0002-always-build-fluid-and-export-pointers.patch
 delete mode 100644 meta-oe/recipes-support/fltk/fltk/disable_test.patch
 delete mode 100644 meta-oe/recipes-support/fltk/fltk/fltk-native-link-libdl.patch
meta-oe/recipes-support/fltk/fltk-native.bb +10 -12
index 322a28430f..8dab8daa41 100644
@@ -2,21 +2,19 @@ require ${BPN}.inc
 
 DEPENDS = "zlib-native jpeg-native libpng-native libxext-native libxft-native"
 
-SRC_URI += "file://fltk-native-link-libdl.patch"
-
-UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php"
-
 inherit native
 
 EXTRA_OECMAKE += " \
-    -DOPTION_BUILD_SHARED_LIBS=OFF \
-    -DOPTION_USE_THREADS=OFF \
-    -DOPTION_USE_XDBE=OFF \
-    -DOPTION_USE_XFT=OFF \
-    -DFLTK_BUILD_TEST=OFF \
-    -DOPTION_USE_XINERAMA=OFF \
-    -DOPTION_USE_XFIXES=OFF \
-    -DOPTION_USE_XCURSOR=OFF \
+    -DFLTK_BACKEND_WAYLAND=OFF \
+    -DFLTK_BUILD_SHARED_LIBS=OFF \
+    -DFLTK_BUILD_GL=OFF \
+    -DFLTK_USE_PTHREADS=OFF \
+    -DFLTK_USE_XFT=OFF \
+    -DFLTK_USE_XINERAMA=OFF \
+    -DFLTK_USE_XFIXES=OFF \
+    -DFLTK_USE_XCURSOR=OFF \
+    -DFLTK_USE_XRENDER=OFF \
+    -DHAVE_TRUNC=1 \
 "
 
 do_install:append() {
meta-oe/recipes-support/fltk/fltk.bb +16 -19
index 4278a2fa3d..8873086cb1 100644
@@ -1,35 +1,32 @@
 require ${BPN}.inc
 
-DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
+DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft libxrender"
 
 inherit features_check binconfig lib_package gtk-icon-cache mime mime-xdg
 REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += "file://0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch"
 
-UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php"
-
-EXTRA_OECMAKE = " \
-    -DOPTION_BUILD_SHARED_LIBS=ON \
-    -DOPTION_USE_THREADS=ON \
-    -DFLTK_BUILD_TEST=OFF \
-    -DOPTION_USE_XDBE=ON \
-    -DOPTION_USE_XFT=ON \
-    -DFLTK_CONFIG_PATH=${libdir}/cmake \
+EXTRA_OECMAKE += " \
+    -DFLTK_BUILD_SHARED_LIBS=ON \
+    -DFLTK_USE_PTHREADS=ON \
+    -DFLTK_USE_XFT=ON \
 "
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
+# The Wayland backend builds a hybrid Wayland/X11 library, which needs all optional X11 extensions
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland', d)} \
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xinerama xfixes xcursor', '', d)}"
 
-PACKAGECONFIG[cairo] = "-DOPTION_CAIRO=ON,-DOPTION_CAIRO=OFF,cairo"
-PACKAGECONFIG[opengl] = "-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl"
-PACKAGECONFIG[xinerama] = "-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama"
-PACKAGECONFIG[xfixes] = "-DOPTION_USE_XFIXES=ON,-DOPTION_USE_XFIXES=OFF,libxfixes"
-PACKAGECONFIG[xcursor] = "-DOPTION_USE_XCURSOR=ON,-DOPTION_USE_XCURSOR=OFF,libxcursor"
+PACKAGECONFIG[cairo] = "-DFLTK_OPTION_CAIRO_WINDOW=ON,-DFLTK_OPTION_CAIRO_WINDOW=OFF,cairo"
+FLTK_GL_DEPS = "virtual/libgl libglu ${@bb.utils.contains('PACKAGECONFIG', 'wayland', 'virtual/egl', '', d)}"
+PACKAGECONFIG[opengl] = "-DFLTK_BUILD_GL=ON,-DFLTK_BUILD_GL=OFF,${FLTK_GL_DEPS}"
+PACKAGECONFIG[wayland] = "-DFLTK_BACKEND_WAYLAND=ON -DFLTK_USE_SYSTEM_LIBDECOR=ON,-DFLTK_BACKEND_WAYLAND=OFF,wayland wayland-native wayland-protocols libxkbcommon libdecor cairo pango dbus"
+PACKAGECONFIG[xinerama] = "-DFLTK_USE_XINERAMA=ON,-DFLTK_USE_XINERAMA=OFF,libxinerama"
+PACKAGECONFIG[xfixes] = "-DFLTK_USE_XFIXES=ON,-DFLTK_USE_XFIXES=OFF,libxfixes"
+PACKAGECONFIG[xcursor] = "-DFLTK_USE_XCURSOR=ON,-DFLTK_USE_XCURSOR=OFF,libxcursor"
 
 do_install:append() {
-    sed -i -e 's,${TMPDIR},,g' ${D}${bindir}/fltk-config
-    sed -i -e 's,${TMPDIR},,g' ${D}${datadir}/fltk/UseFLTK.cmake
-    sed -i -e 's,${TMPDIR},,g' ${D}${datadir}/fltk/FLTK-Targets.cmake
+    sed -i -e 's,${TMPDIR},,g' ${D}${bindir}/fltk-config ${D}${datadir}/fltk/*.cmake
 }
 
 python populate_packages:prepend () {
meta-oe/recipes-support/fltk/fltk.inc +14 -9
index ab4aea73b4..dcbbe700c4 100644
@@ -2,18 +2,23 @@ SUMMARY = "FLTK is a cross-platform C++ GUI toolkit"
 HOMEPAGE = "https://www.fltk.org"
 SECTION = "libs"
 LICENSE = "LGPL-2.0-only AND LicenseRef-FLTK"
-LIC_FILES_CHKSUM = "file://COPYING;md5=f6b26344a24a941a01a5b0826e80b5ca"
+LIC_FILES_CHKSUM = "file://COPYING;md5=353c9fd4163eef6500f7e057aed0b083"
 
-SRC_URI = " \
-    https://github.com/fltk/fltk/releases/download/release-${PV}/${BP}-source.tar.bz2 \
-    file://disable_test.patch \
-    file://0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch \
-    file://0002-always-build-fluid-and-export-pointers.patch \
-"
+SRC_URI = "https://github.com/fltk/fltk/releases/download/release-${PV}/${BP}-source.tar.bz2"
+
+PV = "1.4.5"
+SRC_URI[sha256sum] = "b5a52489b7ffae196db2076adb4c1b18170db0d047f5e93539a382603461564b"
 
-PV = "1.3.11"
-SRC_URI[sha256sum] = "ca2e144e5f89173cd094cc273940d56230b1bf613083a0792e6406dc191cd99f"
+UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php"
+UPSTREAM_CHECK_REGEX = "fltk-(?P<pver>\d+(\.\d+)+)-source\.tar"
 
 inherit cmake pkgconfig
 
+EXTRA_OECMAKE += " \
+    -DFLTK_BUILD_TEST=OFF \
+    -DFLTK_BUILD_EXAMPLES=OFF \
+    -DFLTK_BUILD_HTML_DOCS=OFF \
+    -DFLTK_BUILD_PDF_DOCS=OFF \
+"
+
 TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2"
meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch deleted +0 -41

41 lines not on this page · raw message

meta-oe/recipes-support/fltk/fltk/0002-always-build-fluid-and-export-pointers.patch deleted +0 -31
deleted file mode 100644
index 0d91aab3a1..0000000000
@@ -1,31 +0,0 @@
-From 16010cb1a69ea2326d8102b7f1e34b65aca4b278 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Sat, 22 May 2021 12:33:15 +0200
-Subject: [PATCH] always build fluid and export pointers
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- CMake/export.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMake/export.cmake b/CMake/export.cmake
-index 6e8bc5d..71b6f6c 100644
---- a/CMake/export.cmake
-+++ b/CMake/export.cmake
-@@ -20,7 +20,7 @@
- #######################################################################
- 
- # Set the fluid executable path
--if (CMAKE_CROSSCOMPILING)
-+if (FALSE)
-   find_file(FLUID_PATH
-     NAMES fluid fluid.exe
-     PATHS ENV PATH
--- 
-2.31.1
-
meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch +12 -14
index 72bb48a32c..6c3058d9ac 100644
@@ -22,21 +22,19 @@ Upstream-Status: Inappropriate [OE specific]
 
 Signed-off-by: Andreas Müller <[email protected]>
 ---
- fluid/CMakeLists.txt | 1 -
- 1 file changed, 1 deletion(-)
+ fluid/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/fluid/CMakeLists.txt b/fluid/CMakeLists.txt
-index 472c84c..f971121 100644
+index 7792446..df5a391 100644
 --- a/fluid/CMakeLists.txt
 +++ b/fluid/CMakeLists.txt
-@@ -86,7 +86,6 @@ if (APPLE AND (NOT OPTION_APPLE_X11))
-   install (TARGETS fluid DESTINATION ${FLTK_BINDIR})
- else()
-   install (TARGETS fluid
--    EXPORT FLTK-Targets
-     RUNTIME DESTINATION ${FLTK_BINDIR}
-     LIBRARY DESTINATION ${FLTK_LIBDIR}
-     ARCHIVE DESTINATION ${FLTK_LIBDIR}
--- 
-2.31.1
-
+@@ -194,7 +194,7 @@ target_link_libraries(fluid-lib PUBLIC fltk::images)
+ 
+ # Build targets
+ 
+-make_target(fluid TRUE "${MAIN_FILES}" fluid-lib fluid TRUE)
++make_target(fluid TRUE "${MAIN_FILES}" fluid-lib fluid FALSE)
+ 
+ # Build the console app on Windows
+ # This is done for all Windows targets, even if cross-compiling.
meta-oe/recipes-support/fltk/fltk/disable_test.patch deleted +0 -13
deleted file mode 100644
index fe8be5a652..0000000000
@@ -1,13 +0,0 @@
-Upstream-Status: Pending
-
---- a/Makefile.orig	2015-11-26 15:35:31.485357862 +0800
-+++ b/Makefile	2015-11-26 15:35:37.037357764 +0800
-@@ -18,7 +18,7 @@
- 
- include makeinclude
- 
--DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid test documentation
-+DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid documentation
- 
- all: makeinclude fltk-config
- 	for dir in $(DIRS); do\
meta-oe/recipes-support/fltk/fltk/fltk-native-link-libdl.patch deleted +0 -44

44 lines not on this page · raw message

author
#39 lore raw

PATCH 34/55 lua-std-normalize: Add recipe

In reply to Khem Raj

std.normalize provides deterministic versions of core Lua functions across Lua 5.1-5.5 and LuaJIT; 5.1 adds a bit32 library for every host. luaposix 39 requires std.normalize >= 5.1 at runtime.

It is pure Lua, so install the modules directly and fill in the version template that luke would otherwise expand.

Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only.

AI-Generated: Uses Claude Code

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 .../lua-std-normalize_5.1.bb                  | 31 +++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/lua-std-normalize/lua-std-normalize_5.1.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
index 9158b9acf1..90446efaa0 100644
@@ -270,6 +270,7 @@ RDEPENDS:packagegroup-meta-oe-devtools = "\
     libxerces-c \
     lshw \
     ltrace \
+    lua-std-normalize \
     luajit \
     luaposix \
     mcpp \
meta-oe/recipes-devtools/lua-std-normalize/lua-std-normalize_5.1.bb new file +31 -0
new file mode 100644
index 0000000000..b764685f3b
@@ -0,0 +1,31 @@
+SUMMARY = "Normalized Lua functions"
+DESCRIPTION = "std.normalize injects deterministic versions of core Lua \
+functions that do not behave identically across Lua implementations into a \
+module's lexical environment."
+HOMEPAGE = "https://github.com/lua-stdlib/normalize"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=06275ffb1a4a2c92e56a9bd5e3e38b4c"
+
+SRC_URI = "git://github.com/lua-stdlib/normalize.git;protocol=https;branch=release-v${PV};tag=v${PV}"
+SRCREV = "f3e8d7639d62cebe18829f6e1284f9e4faeb78a6"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)*)$"
+
+LUA_VERSION = "5.5"
+
+inherit allarch
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install() {
+    install -d ${D}${datadir}/lua/${LUA_VERSION}/std/normalize
+    install -m 0644 ${S}/lib/std/normalize/init.lua ${S}/lib/std/normalize/_core.lua \
+        ${D}${datadir}/lua/${LUA_VERSION}/std/normalize/
+    sed -e 's|@version@|${PV}|' ${S}/lib/std/normalize/version.lua.in \
+        > ${D}${datadir}/lua/${LUA_VERSION}/std/normalize/version.lua
+}
+
+FILES:${PN} = "${datadir}/lua/${LUA_VERSION}"
+
+RDEPENDS:${PN} = "lua"
author
#40 lore raw

PATCH 35/55 luaposix: upgrade 36.3 -> 39

In reply to Khem Raj

- 37.0: Lua 5.5 support; setpid as root drops supplementary groups; errnum reporting fixes
- 38: the undocumented posix.deprecated module and the legacy top-level posix.* APIs (exec, stat, uname, ...) are removed; new posix.time.tzset, posix.unistd.exece, WIFCONTINUED/WCONTINUED; getopt no longer overflows the Lua stack with many arguments
- 38: the bundled build-aux/luke is gone; the build is described by the rockspec build table for the luarocks-build-luke backend
- 39: needs std.normalize >= 5.1 for bit32 and no longer installs bit32; new posix.sys.stat.futimens/utimensat and nanosecond stat fields

Fetch the standalone luke build tool (v0.9) alongside the source and generate a lukefile from the rockspec build table in do_configure, since OE has no LuaRocks. Pass CFLAGS to luke, which otherwise compiles with -O2 only. Track the release-v39 branch and add an upstream check, and RDEPEND on the new lua-std-normalize. No recipe in the layers uses the removed posix.* compatibility APIs.

License-Update: copyright year updated to 2026.

AI-Generated: Uses Claude Code

---
 .../luaposix/luaposix_36.3.bb                 | 30 ----------
 .../recipes-devtools/luaposix/luaposix_39.bb  | 56 +++++++++++++++++++
 2 files changed, 56 insertions(+), 30 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb
 create mode 100644 meta-oe/recipes-devtools/luaposix/luaposix_39.bb
meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb deleted +0 -30
deleted file mode 100644
index e420c1a289..0000000000
@@ -1,30 +0,0 @@
-DESCRIPTION = "luaposix is a POSIX binding for Lua."
-LICENSE = "MIT"
-HOMEPAGE = "https://github.com/luaposix/luaposix"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9a2c76dbe2ca56cf57296af9c9995c27"
-
-DEPENDS += "lua-native lua virtual/crypt"
-
-SRC_URI = "git://github.com/luaposix/luaposix.git;nobranch=1;tag=v${PV};protocol=https \
-"
-SRCREV = "e6b94b37c19c4bd19a7dc475a4f4cb56f61f5da9"
-LUA_VERSION = "5.5"
-
-B = "${S}"
-
-inherit pkgconfig
-
-do_configure() {
-    sed -i "s/^version *= .*/version  = '${PV}'/" ${S}/lukefile
-}
-
-do_compile() {
-    ${S}/build-aux/luke LUA_INCDIR=${STAGING_INCDIR}
-}
-
-do_install() {
-    ${S}/build-aux/luke PREFIX=${D}${prefix} INST_LIBDIR=${D}${libdir}/lua/${LUA_VERSION} install
-}
-
-FILES:${PN} = "${datadir}/lua/${LUA_VERSION} \
-               ${libdir}/lua/${LUA_VERSION}"
meta-oe/recipes-devtools/luaposix/luaposix_39.bb new file +56 -0

56 lines not on this page · raw message

author
#41 lore raw

PATCH 36/55 fltk1.3: Add recipe

In reply to Khem Raj

TigerVNC does not support FLTK 1.4 yet and refuses to configure against it, so provide FLTK 1.3.11 as a compatibility library next to fltk 1.4, as Fedora and Arch do with their fltk1.3 packages.

The recipe reuses the former fltk 1.3.11 recipe and its Fl_Preferences dlopen patch. To install side by side with fltk, headers go to ${includedir}/fltk1.3, the link symlinks and static libraries to ${libdir}/fltk1.3, the CMake files to ${datadir}/fltk1.3 and the config script is fltk-config1.3. Only the runtime libraries (soname libfltk*.so.1.3, which differs from 1.4's) are in ${libdir}. fluid is not built when cross-compiling, man pages are dropped as they duplicate fltk's, and Debian library renaming is disabled so that fltk1.3-dev does not become libfltk-dev like fltk-dev.

AI-Generated: Uses Claude Code

---
 ...xx-do-not-use-dlopen-in-case-glibc-s.patch | 41 ++++++++++
 .../recipes-support/fltk/fltk1.3_1.3.11.bb    | 82 +++++++++++++++++++
 2 files changed, 123 insertions(+)
 create mode 100644 meta-oe/recipes-support/fltk/fltk1.3/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch
 create mode 100644 meta-oe/recipes-support/fltk/fltk1.3_1.3.11.bb
meta-oe/recipes-support/fltk/fltk1.3/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch new file +41 -0
new file mode 100644
index 0000000000..0d47dac2dd
@@ -0,0 +1,41 @@
+From e76a062338063615c069fedc5a143cc38c34d9b2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Tue, 28 Feb 2017 01:00:21 +0100
+Subject: [PATCH] Fl_Preferences.cxx: do not use dlopen in case glibc's headers
+ are missing
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx: In static member function ‘static int Fl_Plugin_Manager::load(const char*)’:
+| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx:1741:27: error: ‘RTLD_LAZY’ was not declared in this scope
+|      dl = dlopen(filename, RTLD_LAZY);
+|                            ^~~~~~~~~
+| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx:1741:36: error: ‘dlopen’ was not declared in this scope
+|      dl = dlopen(filename, RTLD_LAZY);
+|                                     ^
+| src/CMakeFiles/fltk.dir/build.make:1217: recipe for target 'src/CMakeFiles/fltk.dir/Fl_Preferences.cxx.o' failed
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ src/Fl_Preferences.cxx | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx
+index 1233bb1..7857b9b 100644
+--- a/src/Fl_Preferences.cxx
++++ b/src/Fl_Preferences.cxx
+@@ -1737,7 +1737,7 @@ int Fl_Plugin_Manager::load(const char *filename) {
+   HMODULE dl = LoadLibrary(filename);
+ #else
+   void * dl = NULL;
+-# if HAVE_DLSYM
++# if HAVE_DLSYM && HAVE_DLFCN_H
+     dl = dlopen(filename, RTLD_LAZY);
+ # endif
+ #endif
+-- 
+2.9.3
+
meta-oe/recipes-support/fltk/fltk1.3_1.3.11.bb new file +82 -0

82 lines not on this page · raw message

author
#42 lore raw

PATCH 37/55 tigervnc: Build the viewer with fltk1.3

In reply to Khem Raj

fltk is now 1.4, and TigerVNC (even upstream master) only supports FLTK 1.3: its CMake fails with "Incompatible version of FLTK". Upstream has not ported to 1.4 because of rendering issues, so, like Fedora and Arch, build against the fltk1.3 compatibility library.

Depend on fltk1.3 and pass its include directory and libraries to CMake's FindFLTK, which otherwise searches the default paths.

Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only; the x.y.9x tags are betas.

oe-core xorg libraries now depend on util-macros-native instead of util-macros, so it no longer reaches the sysroot through them; depend on util-macros-native directly for autoreconf of the bundled X server. Update XORG_PV to 21.1.26 to match oe-core.

AI-Generated: Uses Claude Code

---
 .../recipes-graphics/tigervnc/tigervnc_1.16.2.bb | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.2.bb +13 -3
index c96ba2f40f..d8f7e0ee9a 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "TigerVNC remote display system"
 HOMEPAGE = "http://www.tigervnc.com/"
 LICENSE = "GPL-2.0-or-later"
 SECTION = "x11/utils"
-DEPENDS = "gettext-native xserver-xorg gnutls nettle jpeg pixman libxtst fltk libpam libx11 libxdamage libxfixes libxrandr xkbcomp"
+DEPENDS = "gettext-native util-macros-native xserver-xorg gnutls nettle jpeg pixman libxtst fltk1.3 libpam libx11 libxdamage libxfixes libxrandr xkbcomp"
 RDEPENDS:${PN} = "coreutils hicolor-icon-theme perl bash xkbcomp"
 
 LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3"
@@ -23,13 +23,15 @@ SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=master;protocol=https \
            file://0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \
            file://0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \
 "
+# x.y.90+ tags are betas
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+\.\d+\.[0-8]?\d)$"
 
 # Keep sync with xorg-server in oe-core
 XORG_PN ?= "xorg-server"
-XORG_PV ?= "21.1.24"
+XORG_PV ?= "21.1.26"
 SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.xz;name=xorg"
 XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}"
-SRC_URI[xorg.sha256sum] = "1a4eb36ca65cc3b1b936566d677a9786e13c11cd5806e951ac55f3f5ce3984af"
+SRC_URI[xorg.sha256sum] = "c8609f9cdafde14de7ec7cb406dac9507add1d536df8d3c3e3d3d9c1cd864066"
 
 # It is the directory containing the Xorg source for the
 # machine on which you are building TigerVNC.
@@ -76,6 +78,14 @@ EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb \
 
 EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_system_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}"
 
+# The viewer needs FLTK 1.3; point CMake's FindFLTK at the side-by-side fltk1.3 install
+EXTRA_OECMAKE += " \
+    -DFLTK_INCLUDE_DIR=${STAGING_INCDIR}/fltk1.3 \
+    -DFLTK_BASE_LIBRARY_RELEASE=${STAGING_LIBDIR}/fltk1.3/libfltk.so \
+    -DFLTK_IMAGES_LIBRARY_RELEASE=${STAGING_LIBDIR}/fltk1.3/libfltk_images.so \
+    -DFLTK_FORMS_LIBRARY_RELEASE=${STAGING_LIBDIR}/fltk1.3/libfltk_forms.so \
+"
+
 do_configure:append () {
     autotools_do_configure
 }
author
#43 lore raw

PATCH 38/55 emacs: upgrade 30.2 -> 31.1

In reply to Khem Raj

Upstream changes (etc/NEWS):
- The unexec dumper is removed, and the old 'ctags' program is no longer built or installed (etags remains).
- New configure option --with-systemduserunitdir.
- xterm-mouse-mode is on by default in compatible terminals; child frames are supported on TTY frames.
- site-start.el now loads before the early init file.
- Org updated to 9.8; IDLWAVE moved to GNU ELPA.

Drop the tree-sitter 0.26 support patch, it is part of 31.1. Refresh use-emacs-native-tools-for-cross-compiling.patch: the dmpstruct.h rule now calls $(AWK) instead of awk, so the first src/Makefile.in hunk no longer applied. The other patches apply without fuzz. The recipe already uses --with-dumping=none, so the unexec removal does not affect it.

AI-Generated: Uses Claude Code

---
 .../emacs/{emacs_30.2.bb => emacs_31.1.bb}    |   7 +-
 ...t-Tree-sitter-version-0.26-and-later.patch | 118 ------------------
 ...acs-native-tools-for-cross-compiling.patch |  90 ++++++-------
 3 files changed, 47 insertions(+), 168 deletions(-)
 rename meta-oe/recipes-support/emacs/{emacs_30.2.bb => emacs_31.1.bb} (98%)
 delete mode 100644 meta-oe/recipes-support/emacs/files/0001-Support-Tree-sitter-version-0.26-and-later.patch
meta-oe/recipes-support/emacs/emacs_31.1.bb renamed from meta-oe/recipes-support/emacs/emacs_30.2.bb +2 -5
similarity index 98%
rename from meta-oe/recipes-support/emacs/emacs_30.2.bb
rename to meta-oe/recipes-support/emacs/emacs_31.1.bb
index 839036d987..bf2549f025 100644
@@ -4,10 +4,7 @@ HOMEPAGE = "https://www.gnu.org/software/emacs/"
 LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
 
-SRC_URI = " \
-    ${GNU_MIRROR}/emacs/${BP}.tar.xz \
-    file://0001-Support-Tree-sitter-version-0.26-and-later.patch \
-"
+SRC_URI = "${GNU_MIRROR}/emacs/${BP}.tar.xz"
 UPSTREAM_CHECK_URI = "${GNU_MIRROR}/emacs/"
 
 SRC_URI:append:class-target = " \
@@ -16,7 +13,7 @@ SRC_URI:append:class-target = " \
     file://leim_dont-unexport-EMACSDATA.patch \
 "
 
-SRC_URI[sha256sum] = "b3f36f18a6dd2715713370166257de2fae01f9d38cfe878ced9b1e6ded5befd9"
+SRC_URI[sha256sum] = "1da5790d9580c81932b5bf700633114468da7b3412d69faa767daebf974f4586"
 
 CVE_STATUS[CVE-2007-6109] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
 
meta-oe/recipes-support/emacs/files/0001-Support-Tree-sitter-version-0.26-and-later.patch deleted +0 -118

118 lines not on this page · raw message

meta-oe/recipes-support/emacs/files/use-emacs-native-tools-for-cross-compiling.patch +45 -45

124 lines not on this page · raw message

author
#44 lore raw

PATCH 39/55 pcp: upgrade 6.3.8 -> 7.2.2

In reply to Khem Raj

Upstream changes (CHANGELOG):
- libpcp.so.4 is the new default PMAPI with nanosecond timestamps; libpcp.so.3 and libpcp_import.so.1 are still built for backward compatibility, and pmapi.h selects the API with -DPMAPI_VERSION=2|4.
- New pmdaopentelemetry, pmdarocestat and pmdahdb agents, and the new pmlogpush, pcp2opentelemetry and pmseries_import tools.
- Python 2 support (3.6 minimum), Qt4 support, the BCC and JSON PMDAs and the rc_pcp init.d wrapper are removed.
- pmlogger/pmproxy gained a remote archive push webhook; hiredis is replaced by a vendored libvalkey.

Upstream no longer has a stable branch, and 6.3.8 is not on main, so use branch=main where 7.2.2 is. Add an upstream check for the plain version tags.

Drop fix_parallel_make.patch and 0001-pcp-htop-fix-header-build-race-condition.patch, both are in 7.2.2. Refresh 0001-configure-Limit-the-header-search-to-sysroot.patch for the new python3-config based header lookup, and 0001-Remove-unsuitble-part-for-cross-compile.patch for the reworked AR check. Drop --with-python, --with-pmdajson and --with-pmdabcc, which configure no longer knows.

Package the new libpcp.so.4 (libpcp4) and libpcp_import.so.2 (libpcp-import2) next to the compat libraries; libpcp_fault moves to soname 4.

libpcp's exports lists getdomainname, which libpcp only defines when libc lacks it, and lld fails on it with --no-undefined-version; link with --undefined-version for clang. Package the new /etc/atop directory and the libpcp_import tmpfiles.d snippet.

AI-Generated: Uses Claude Code

---
 ...cp-native_6.3.8.bb => pcp-native_7.2.2.bb} |   0
 meta-oe/recipes-support/pcp/pcp.inc           |   8 +-
 ...ove-unsuitble-part-for-cross-compile.patch |  20 ++--
 ...e-Limit-the-header-search-to-sysroot.patch |  25 ++--
 ...htop-fix-header-build-race-condition.patch |  33 -----
 .../pcp/pcp/fix_parallel_make.patch           | 113 ------------------
 .../pcp/{pcp_6.3.8.bb => pcp_7.2.2.bb}        |  19 ++-
 7 files changed, 42 insertions(+), 176 deletions(-)
 rename meta-oe/recipes-support/pcp/{pcp-native_6.3.8.bb => pcp-native_7.2.2.bb} (100%)
 delete mode 100644 meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch
 delete mode 100644 meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch
 rename meta-oe/recipes-support/pcp/{pcp_6.3.8.bb => pcp_7.2.2.bb} (94%)
meta-oe/recipes-support/pcp/pcp-native_7.2.2.bb renamed from meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb
rename to meta-oe/recipes-support/pcp/pcp-native_7.2.2.bb
meta-oe/recipes-support/pcp/pcp.inc +3 -5
index d80e700f2f..bbeaf7b4f0 100644
@@ -7,13 +7,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \
                     "
 COMPATIBLE_HOST:libc-musl = "null"
 
-SRC_URI = "git://github.com/performancecopilot/pcp;branch=stable;protocol=https;tag=${PV} \
+SRC_URI = "git://github.com/performancecopilot/pcp;branch=main;protocol=https;tag=${PV} \
            file://0001-configure-Limit-the-header-search-to-sysroot.patch \
            file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \
            file://config.linux \
 	   "
 
-SRCREV = "7b0943ade0bcecaf50ed4b4c2cc9084150420eff"
+SRCREV = "87fc51f5ea667b1b532a03752b1a9091b5d6b3de"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 
 
 inherit setuptools3-base pkgconfig autotools-brokensep
@@ -23,12 +24,9 @@ CACHED_CONFIGUREVARS = "PACKAGE_DISTRIBUTION=arch"
 EXTRA_OECONF:append = "\
                     --with-dstat-symlink=yes \
                     --with-infiniband=no \
-                    --with-python=no \
                     --with-perl=no \
                     --with-python3=yes \
-                    --with-pmdajson=no  \
                     --with-perfevent=no \
-                    --with-pmdabcc=yes \
                     --with-rundir=${localstatedir}/run \
                     --with-sysconfigdir=${sysconfdir} \
                     --with-logdir=${localstatedir}/log \
meta-oe/recipes-support/pcp/pcp/0001-Remove-unsuitble-part-for-cross-compile.patch +12 -8
index abf4aee61d..0cf5090084 100644
@@ -7,28 +7,32 @@ Upstream-Status: Inappropriate [OE specific]
 
 Signed-off-by: Lei Maohui <[email protected]>
 ---
- configure.ac               | 6 ------
- src/libpcp/src/GNUmakefile | 1 -
- 2 files changed, 7 deletions(-)
+ configure.ac               | 8 +-------
+ src/libpcp/src/GNUmakefile | 2 --
+ 2 files changed, 1 insertion(+), 9 deletions(-)
 
+diff --git a/configure.ac b/configure.ac
 --- a/configure.ac
 +++ b/configure.ac
-@@ -607,12 +607,6 @@ fi
+@@ -715,13 +715,7 @@ fi
  which=$WHICH
  AC_SUBST(which)
  
 -if test -z "$AR"; then
--    AC_PATH_PROGS(AR, [gcc-ar ar], /usr/bin/ar)
+-    AC_PATH_PROGS(AR, [gcc-ar ar], ar)
 -fi
--if test ! -x "$AR"; then
+-ar=`$which $AR`
+-if test ! -x "$ar"; then
 -    AC_MSG_ERROR([cannot find a valid 'ar' command.])
 -fi
- ar=$AR
++ar=$AR
  AC_SUBST(ar)
  
+ AC_PROG_LEX([noyywrap])
+diff --git a/src/libpcp/src/GNUmakefile b/src/libpcp/src/GNUmakefile
 --- a/src/libpcp/src/GNUmakefile
 +++ b/src/libpcp/src/GNUmakefile
-@@ -179,8 +179,6 @@ exports:	exports.in mk.exports
+@@ -184,8 +184,6 @@ exports:	exports.in mk.exports
  # consistent in all placess.
  #
  check.done:	$(OBJECTS)
meta-oe/recipes-support/pcp/pcp/0001-configure-Limit-the-header-search-to-sysroot.patch +13 -12
index b03c48e581..3ec76439cb 100644
@@ -11,21 +11,22 @@ Upstream-Status: Inappropriate [OE Specific]
 
 Signed-off-by: Khem Raj <[email protected]>
 ---
- configure.ac | 20 ++++++++++----------
- 1 file changed, 10 insertions(+), 10 deletions(-)
+ configure.ac | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
+diff --git a/configure.ac b/configure.ac
 --- a/configure.ac
 +++ b/configure.ac
-@@ -907,7 +907,7 @@ AC_DEFUN([PCP_CHECK_PYTHON_HEADER],
-   [ PY_MAJOR="$1"
-     PY_MINOR="$2"
-     PY_VERSION="python$PY_MAJOR.$PY_MINOR"
--    PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION}"
-+    PY_INCLUDE_DIRS="-I${STAGING_INCDIR}/${PY_VERSION}m -I${STAGING_INCDIR}/${PY_VERSION}"
+@@ -982,7 +982,7 @@ AC_DEFUN([PCP_CHECK_PYTHON_HEADER],
+ 
+     dnl Fallback to manual paths if python3-config fails or is unavailable
+     if test -z "$PY_INCLUDE_DIRS"; then
+-        PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION} -I/usr/local/include/${PY_VERSION} -I/opt/homebrew/include/${PY_VERSION} -I/opt/homebrew/include/${PY_VERSION}m"
++        PY_INCLUDE_DIRS="-I${STAGING_INCDIR}/${PY_VERSION}m -I${STAGING_INCDIR}/${PY_VERSION}"
+     fi
+ 
      saved_CFLAGS="$CFLAGS"
-     saved_CPPFLAGS="$CPPFLAGS"
-     CFLAGS="$CFLAGS $PY_INCLUDE_DIRS"
-@@ -1603,7 +1603,7 @@ AC_SUBST(qmake)
+@@ -1594,7 +1594,7 @@ AC_SUBST(qmake)
  
  enable_qt3d=false
  AS_IF([test "x$do_qt3d" != "xno"], [
@@ -34,7 +35,7 @@ Signed-off-by: Khem Raj <[email protected]>
      then
  	enable_qt3d=$enable_qt
      elif test x"$do_qt3d" = x"yes"
-@@ -3699,7 +3699,7 @@ AC_SUBST(enable_decompression)
+@@ -3819,7 +3819,7 @@ AC_SUBST(enable_decompression)
  AC_SUBST(enable_lzma)
  
  dnl check for array sessions
meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch deleted +0 -33
deleted file mode 100644
index 2c3cf696ed..0000000000
@@ -1,33 +0,0 @@
-From d04ea418c5fcfec2f6fbb2dd9f982ddf12c5be87 Mon Sep 17 00:00:00 2001
-From: Yoann Congal <[email protected]>
-Date: Tue, 3 Jun 2025 10:02:58 +0200
-Subject: [PATCH] pcp-htop: fix header build race condition
-
-.c and .h files are soft-linked before being compiled. Under heavy load
-or a build with a high CPU count, the compilation can start before
-header files are softlinked, resulting in a build error:
-| pcp-htop.c:13:10: fatal error: CommandLine.h: No such file or directory
-|    13 | #include "CommandLine.h"
-|       |          ^~~~~~~~~~~~~~~
-
-Fix this by adding the make dependency between object files and the
-headers.
-
-Upstream-Status: Backport [https://github.com/performancecopilot/pcp/commit/0ca303467ce382127cd9676e288bf7690a93f084]
-Signed-off-by: Yoann Congal <[email protected]>
----
- src/pcp/htop/GNUmakefile | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/pcp/htop/GNUmakefile b/src/pcp/htop/GNUmakefile
-index 3e29638d6..898f0b766 100644
---- a/src/pcp/htop/GNUmakefile
-+++ b/src/pcp/htop/GNUmakefile
-@@ -224,6 +224,7 @@ default:	build-me
- include $(BUILDRULES)
- 
- ifeq "$(HAVE_NCURSESW)" "true"
-+$(OBJECTS): $(HFILES)
- build-me: $(TOPXFILES) $(SUBXFILES) $(CFGXFILES) $(CMDTARGET) $(DISTLINKS) $(MAN_PAGES)
- 
- install: default
meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch deleted +0 -113

113 lines not on this page · raw message

meta-oe/recipes-support/pcp/pcp_7.2.2.bb renamed from meta-oe/recipes-support/pcp/pcp_6.3.8.bb +14 -5
similarity index 94%
rename from meta-oe/recipes-support/pcp/pcp_6.3.8.bb
rename to meta-oe/recipes-support/pcp/pcp_7.2.2.bb
index 1a5eac2ca7..cff911271f 100644
@@ -12,11 +12,12 @@ DEPENDS += "perl-native bison-native flex-native python3-native python3-setuptoo
 
 SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \
             file://pass-options-to-AR.patch \
-            file://fix_parallel_make.patch \
 			file://0001-bind2-Use-pmcpp-from-native-builds.patch \
-            file://0001-pcp-htop-fix-header-build-race-condition.patch \
            "
 
+# libpcp exports list getdomainname, which libpcp defines only when libc lacks it
+LDFLAGS:append:toolchain-clang = " -Wl,--undefined-version"
+
 export PCP_DIR = "${RECIPE_SYSROOT_NATIVE}"
 #export PCP_RUN_DIR = "${RECIPE_SYSROOT_NATIVE}"
 EXTRA_OEMAKE = '\
@@ -105,12 +106,12 @@ do_install () {
 PACKAGE_BEFORE_PN = "${PN}-xsos"
 PACKAGES =+ " ${PN}-export-zabbix-agent ${PN}-testsuite \
 	libpcp-gui2  libpcp-gui2-dev \
-	libpcp-import1 libpcp-archive1 \
+	libpcp-import1 libpcp-import2 libpcp-archive1 \
 	libpcp-mmv1 libpcp-mmv1-dev \
 	libpcp-pmda3 libpcp-pmda3-dev \
 	libpcp-trace2 libpcp-trace2-dev \
 	libpcp-web1 libpcp-web1-dev \
-	libpcp3 libpcp3-dev python3-${PN}\
+	libpcp3 libpcp3-dev libpcp4 python3-${PN}\
 "
 FILES:libpcp-gui2 = "${libdir}/libpcp_gui.so.2 \
 "
@@ -141,6 +142,10 @@ INSANE_SKIP:libpcp-mmv1-dev = "staticdev"
 FILES:libpcp-import1 = " \
 	${libdir}/libpcp_import.so.1 \
 "
+FILES:libpcp-import2 = " \
+	${libdir}/libpcp_import.so.2 \
+	${nonarch_libdir}/tmpfiles.d/libpcp_import.conf \
+"
 FILES:libpcp-pmda3 = " \
 	${libdir}/libpcp_pmda.so.3 \
 "
@@ -183,12 +188,16 @@ INSANE_SKIP:libpcp-web1-dev = "staticdev"
 FILES:libpcp3 = " \
 	${libdir}/libpcp.so.3 \
 "
+FILES:libpcp4 = " \
+	${libdir}/libpcp.so.4 \
+"
 
 FILES:${PN}-xsos = " \
 	${libexecdir}/pcp/bin/pcp-xsos \
 "
 FILES:${PN} = " \
 	${sysconfdir}/pcp \
+	${sysconfdir}/atop \
 	${sysconfdir}/cron.d \
 	${sysconfdir}/init.d \
 	${libexecdir} \
@@ -209,7 +218,7 @@ FILES:${PN} = " \
 	${localstatedir}/lib/pcp/config \
 	${localstatedir}/lib/pcp/pmdas/ \
 	${localstatedir}/lib/pcp/pmns \
-	${libdir}/libpcp_fault.so.3 \
+	${libdir}/libpcp_fault.so.4 \
 	${nonarch_libdir}/tmpfiles.d/pcp-reboot-init.conf \
 "
 
author
#45 lore raw

PATCH 40/55 rasdaemon: upgrade 0.8.5 -> 1.0.0

In reply to Khem Raj

Upstream changes (ChangeLog):
- The build system moved from autotools to Meson, with automatic dependency and architecture detection.
- New modular database layer with SQLite, MySQL/MariaDB and PostgreSQL backends.
- ras-mc-ctl was rewritten from Perl to Python 3 (SQLAlchemy based), with new database query, DIMM status, label and memory-layout commands.
- More CXL, ARM and non-standard CPER decoders, memory-sparing events, PCIe eDPC support and BMC SEL reporting.
- Self-registering modules and event consumers, plus many resource cleanup and error-handling fixes.

Switch the recipe to meson and map the PACKAGECONFIG options to meson features, adding the new ones (cxl, erst, memory-failure, pcie-edpc, mysql, postgresql, more ns-decoders, ...). The defaults stay the same. Use -Denable-arch=auto so only the target architecture's events are built; upstream defaults to all. The non-standard option is gone, it is now implied by the ns-decode options.

rasdaemon still uses argp, which musl lacks, and meson does not look it up, so keep argp-standalone and -largp for musl. ras-mc-ctl needs python3 and python3-sqlalchemy instead of perl and the DBI modules. Upstream now installs rasdaemon.service (and ras-mc-ctl.service), so drop the local copy.

Since perl is no longer needed and python3-sqlalchemy comes from meta-python, move the recipe from dynamic-layers/perl-layer to dynamic-layers/meta-python, and move its packagegroup-meta-oe entry along with it. Nothing else lived in the perl-layer dynamic layer bbappend, so remove that file. Add an upstream version check.

Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only, skipping the v0.9.9x pre-releases.

AI-Generated: Uses Claude Code

---
 .../packagegroup-meta-oe.bbappend             |  1 +
 .../recipes-support/rasdaemon/files/init      |  0
 .../rasdaemon/rasdaemon_1.0.0.bb              | 65 +++++++++++++++++++
 .../packagegroup-meta-oe.bbappend             |  1 -
 .../rasdaemon/files/rasdaemon.service         | 12 ----
 .../rasdaemon/rasdaemon_0.8.5.bb              | 50 --------------
 6 files changed, 66 insertions(+), 63 deletions(-)
 rename meta-oe/dynamic-layers/{perl-layer => meta-python}/recipes-support/rasdaemon/files/init (100%)
 create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb
 delete mode 100644 meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
 delete mode 100644 meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/rasdaemon.service
 delete mode 100644 meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.5.bb
meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend +1 -0
index 7fff849ecd..807117334f 100644
@@ -12,6 +12,7 @@ RDEPENDS:packagegroup-meta-oe-extended += "\
 "
 RDEPENDS:packagegroup-meta-oe-support += "\
     nvmetcli \
+    rasdaemon \
     smem \
 "
 RDEPENDS:packagegroup-meta-oe-extended:remove:libc-musl = "lcdproc"
meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/files/init renamed from meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/init +0 -0
similarity index 100%
rename from meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/init
rename to meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/files/init
meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb new file +65 -0

65 lines not on this page · raw message

meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend deleted +0 -1
deleted file mode 100644
index 5c48fd5c03..0000000000
@@ -1 +0,0 @@
-RDEPENDS:packagegroup-meta-oe-support += "rasdaemon"
meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/rasdaemon.service deleted +0 -12
deleted file mode 100644
index 4fbf23142a..0000000000
@@ -1,12 +0,0 @@
-[Unit]
-Description=RAS daemon to log the RAS events
-After=syslog.target
-
-[Service]
-ExecStart=/usr/sbin/rasdaemon -f -r
-ExecStartPost=/usr/sbin/rasdaemon --enable
-ExecStop=/usr/sbin/rasdaemon --disable
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target
meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.5.bb deleted +0 -50

50 lines not on this page · raw message

author
#46 lore raw

PATCH 41/55 simpleiot: upgrade 0.18.5 -> 0.36.1

In reply to Khem Raj

Upstream changes (CHANGELOG.md):
- The Elm web UI is replaced by a SvelteKit UI; the built assets are committed and embedded, so no node/npm is needed to build.
- The legacy gps package is removed (breaking).
- The siot store command, the Flux-query API, GET /v1/nodes and auth.getNatsURI are removed; the SQLite store is replaced by NATS JetStream streams (existing databases need siot export).
- Client API renames, Influx tag nodeID -> node.id, and many security hardening changes (HTTP timeouts and limits, per-device credentials).
- Built with Go 1.27.x (go.mod requires go 1.27.4).

Drop the removed gps package from GO_INSTALL. Fetch by tag and add an upstream check that skips the stray 2020 v1.0.912 tag. modernc sqlite and bigfft are no longer dependencies, so drop the riscv64 bigfft license removal.

simpleiot-go-mods.inc and simpleiot-licenses.inc are regenerated with bitbake -c update_modules simpleiot. The class cannot classify three module licenses, so set them by hand from their LICENSE files:
beevik/ntp (BSD-2-Clause), warthog618/go-gpiocdev (MIT) and klauspost/compress/s2 (BSD-3-Clause).

Remove the release helper scripts from the installed Go sources; they would pull bash into simpleiot-dev.

AI-Generated: Uses Claude Code

---
 .../simpleiot/simpleiot-go-mods.inc           | 197 +++---------------
 .../simpleiot/simpleiot-licenses.inc          |  75 ++++---
 ...impleiot_0.18.5.bb => simpleiot_0.36.1.bb} |  11 +-
 3 files changed, 75 insertions(+), 208 deletions(-)
 rename meta-oe/recipes-extended/simpleiot/{simpleiot_0.18.5.bb => simpleiot_0.36.1.bb} (87%)
meta-oe/recipes-extended/simpleiot/simpleiot-go-mods.inc +34 -163
index e2a7ba55aa..13a521cdf0 100644
@@ -5,189 +5,60 @@
 # running the update-modules task.
 
 SRC_URI += "\
-    gomod://dario.cat/mergo;version=v1.0.1;mod=1;sha256sum=e23c4b803a6c6e6e45747946e87d24704cd77756cc484bdfd17b57223bf320d6 \
-    gomod://github.com/RaveNoX/go-jsoncommentstrip;version=v1.0.0;mod=1;sha256sum=2b6982af288513a74b1e988042dad3f4a12d7ecb7af7320408d896e985ce7136 \
     gomod://github.com/Wifx/gonetworkmanager/v2;version=v2.2.0;sha256sum=18ade00b4f176832df17d82c4877c7ddd415631f2e5622a83fd82efc98e30693 \
-    gomod://github.com/adrianmo/go-nmea;version=v1.10.0;sha256sum=ee43675a0f61fa3a31cd51dc6e1484d7183867c654235a9671ba62b65fa2b030 \
+    gomod://github.com/adrianmo/go-nmea;version=v1.11.0;sha256sum=fc3a281da709b93cbd05e6a4edf9e28984cd053f6e9359bf350959469138a470 \
+    gomod://github.com/antithesishq/antithesis-sdk-go;version=v0.8.0;sha256sum=dd04b26ea465b9a90c8d4c87c4420091ed582df4ff384aeaa92d12e6be23856d \
     gomod://github.com/apapsch/go-jsonmerge/v2;version=v2.0.0;sha256sum=b5fbdf29dc23b3ce98f5215b125ccd324b7673f0e940bc122080fcf2c77bbaf7 \
-    gomod://github.com/beevik/ntp;version=v1.4.3;sha256sum=825c41d73aa363f10d94900c04b73b9ff6e43bfcfefb3666fdaaa8ce89434349 \
-    gomod://github.com/bep/godartsass/v2;version=v2.5.0;mod=1;sha256sum=02ce0aa4e6352343bd13acc77da9f9785c606e701496d992e62db3d703a73f04 \
-    gomod://github.com/bep/golibsass;version=v1.2.0;mod=1;sha256sum=7fb5d50c053fec7489a7b44ec2729f6315393a3c023c9055862e34ffef2d669a \
+    gomod://github.com/beevik/ntp;version=v1.6.0;sha256sum=385cb6c9913b2e7614dc29f66c85de12861071f65f16c05eb858672b497891f5 \
     gomod://github.com/blang/semver/v4;version=v4.0.0;sha256sum=96a2bbe11960f3a3c16db0da822c69ce9ac4b738ee731a0476031bbb71987504 \
-    gomod://github.com/bmatcuk/doublestar;version=v1.1.1;mod=1;sha256sum=8742788f26a4d073c6a72174e6a068867c48ae4ea596664f7906a2d07329df52 \
     gomod://github.com/cavaliercoder/grab;version=v2.0.0+incompatible;sha256sum=da1bd01e727ce57f8c5b49ce96e588cd831693a8f176481a3990fb93c4538cae \
-    gomod://github.com/cosmtrek/air;version=v1.61.2;mod=1;sha256sum=9c2caf994a9a9c350c5b70d33890e0534ada6275b7af77a1ac532e93433e1054 \
-    gomod://github.com/creack/goselect;version=v0.1.3;sha256sum=822b19b2e93d0d539af2d4549a20e4d0e30f7bc36b2c8b1a2e1e9f086e292702 \
-    gomod://github.com/creack/pty;version=v1.1.24;mod=1;sha256sum=a3979fd32c00f35d17eb3b97d0b3cc6f4efb057bf78271361fa773531e601531 \
-    gomod://github.com/davecgh/go-spew;version=v1.1.0;mod=1;sha256sum=bcb29393251237b79a17b6c19bf29134f43e8f438c3198988fcd461a1cdf05cc \
-    gomod://github.com/davecgh/go-spew;version=v1.1.1;mod=1;sha256sum=bcb29393251237b79a17b6c19bf29134f43e8f438c3198988fcd461a1cdf05cc \
-    gomod://github.com/dim13/cobs;version=v0.1.0;sha256sum=d43f6a1982362758699cc0b2eba466605f6a410ab4f9c6b4061b85ee5545ec7e \
+    gomod://github.com/dim13/cobs;version=v1.0.5;sha256sum=7a7b47629fd498d3f7108c81fd34f3ac50605194ced93c6a8d115c71a7f2f416 \
     gomod://github.com/donovanhide/eventsource;version=v0.0.0-20210830082556-c59027999da0;sha256sum=cf2e0fb54521715528f53d7030b286bb0896b4d6f11ee4478a456efcc25c4269 \
-    gomod://github.com/dustin/go-humanize;version=v1.0.1;sha256sum=319404ea84c8a4e2d3d83f30988b006e7dd04976de3e1a1a90484ad94679fa46 \
-    gomod://github.com/fatih/color;version=v1.18.0;mod=1;sha256sum=8732da74f45ec4c0ea5a7a3072c4d458aafb6102af75155d459dcb70afce6ae6 \
-    gomod://github.com/frankban/quicktest;version=v1.7.2;mod=1;sha256sum=08a3eadc1b2c1b26532c07f937c883de0b29cb4df016f772907e75a934a9ce47 \
-    gomod://github.com/fsnotify/fsnotify;version=v1.9.0;sha256sum=94e64824b23591b7aa504e3321d5ec3f57de88f4d49882eaefbbf6820dab746e \
+    gomod://github.com/fsnotify/fsnotify;version=v1.10.1;sha256sum=b2c6a334e0d518da2e046066bdd9da34cb26bad6df9f17701802d3de522ab016 \
+    gomod://github.com/fxamacker/cbor/v2;version=v2.9.6;sha256sum=f336ba6592c33671f7c331f3182ed60dbcc5e946c9cc9aef7818344634486652 \
     gomod://github.com/go-audio/audio;version=v1.0.0;sha256sum=67d0a0608e5938058051a424e0ddddc351f14d053af4cc3b912eb0ef3b03d7a6 \
     gomod://github.com/go-audio/riff;version=v1.0.0;sha256sum=1fb211d7f24bd1bbadf764ce92debf386fd4d86d17c5d3ab5198eeda0761e2fa \
     gomod://github.com/go-audio/wav;version=v1.1.0;sha256sum=884d351372627717f4779da1fa58751481db5bfe9a623bdfd9a9e887c13e2e62 \
-    gomod://github.com/go-ole/go-ole;version=v1.2.6;mod=1;sha256sum=de7da59858d6121956da002ded711242cc14ecf597e932a8625246418fd3bbaa \
-    gomod://github.com/go-ole/go-ole;version=v1.3.0;mod=1;sha256sum=fcf0840f2ff50fbc3b5a54b9d4cb240c64d47003ab03e420aeff0057015a8953 \
-    gomod://github.com/go-stack/stack;version=v1.8.1;mod=1;sha256sum=59885252908f44191d242c2384fbcc10b551763eb579c76c31301ef2b231194b \
-    gomod://github.com/gobwas/glob;version=v0.2.3;mod=1;sha256sum=b5c6b172adc1878cd8e690ba9123b0a65753bacb38d87e6d683aca136d435578 \
-    gomod://github.com/goccy/go-yaml;version=v1.17.1;sha256sum=d696eddbab891896b3a70334d04cfb0208cdc0e18544bebdf95926e1f64df310 \
-    gomod://github.com/godbus/dbus/v5;version=v5.1.0;sha256sum=03dfa8e71089a6f477310d15c4d3a036d82d028532881b50fee254358e782ad9 \
-    gomod://github.com/gofrs/uuid;version=v4.4.0+incompatible;sha256sum=5679a06ff2120efb43764a2d1389baf32c8971c0e664741c4d184299c76ebd3d \
-    gomod://github.com/gohugoio/hugo;version=v0.146.5;mod=1;sha256sum=a9df5025ea96784eb9e982b83a6fb7b93af784931289942137e78670cb00a998 \
-    gomod://github.com/golang/mock;version=v1.6.0;mod=1;sha256sum=bfb6a97ee76c72a56da2e8ac5dfd926166f793dfeafbbfb80cb33e6a060301a8 \
+    gomod://github.com/goccy/go-yaml;version=v1.19.2;sha256sum=9ea8b466385c1ecf61fa55b68e409ea048b3d7fb1178eba66c1e24a7a30dfffb \
+    gomod://github.com/godbus/dbus/v5;version=v5.2.4;sha256sum=2a3a2996c274cbb735aa7f634dbcc0b292c0dff154447896d3a95955d078fb83 \
+    gomod://github.com/gofrs/uuid/v5;version=v5.5.1;sha256sum=1f3a1af9f73c5934482bccfeb3bca76779d0ea6668e1f21d7e8771052c6c8ada \
     gomod://github.com/golang/protobuf;version=v1.5.4;sha256sum=9a2f43d3eac8ceda506ebbeb4f229254b87235ce90346692a0e233614182190b \
     gomod://github.com/golang-jwt/jwt/v4;version=v4.5.2;sha256sum=ec5ee69a31fd478fc197fddce7c06dad1abe7543095a55c4ee6546ae79d99a0f \
-    gomod://github.com/google/go-cmp;version=v0.3.1;mod=1;sha256sum=81df7917c225a9da7604b230d952fa278c60a8832c10d799385d134b05d5b087 \
-    gomod://github.com/google/go-cmp;version=v0.7.0;mod=1;sha256sum=31c874a1d2a18e62b0550f823ce7a575c8dec7f8fd9d4fa1959bb12d7f7c0f14 \
-    gomod://github.com/google/go-tpm;version=v0.9.3;mod=1;sha256sum=356b36889e4a391711d858bc6232b174b0dc9f6c527f7702f82dbf58a0fc5931 \
-    gomod://github.com/google/uuid;version=v1.3.0;mod=1;sha256sum=73da47b6338b00a082fd451aa35a3273d3adc09b8e9bba98dab01091e402af6e \
     gomod://github.com/google/uuid;version=v1.6.0;sha256sum=d0f02f377217f42702e259684e06441edbf5140dddcc34ba9bea56038b38a6ed \
     gomod://github.com/gorilla/websocket;version=v1.5.3;sha256sum=dbbd31dd0f08548c5dc43e4c2f12bbba66abff5252b224b1cd06afbb72783a76 \
-    gomod://github.com/inconshreveable/log15;version=v3.0.0-testing.5+incompatible;mod=1;sha256sum=7fed6370677c9ae877d9debbf3b11e0bfb9d3a8b1eee7ffcda6eba8b24f6f4be \
     gomod://github.com/influxdata/influxdb-client-go/v2;version=v2.14.0;sha256sum=4ffe08fb3627acb6b8d2e3123b81e078b1ac80e43f7df99c07774350ee28cb20 \
     gomod://github.com/influxdata/line-protocol;version=v0.0.0-20210922203350-b1ad95c89adf;sha256sum=5066d4c259facbf60f7bb1e9958ccdd6ea1a48b3091f473728264fbaa3acc868 \
-    gomod://github.com/jacobsa/go-serial;version=v0.0.0-20180131005756-15cf729a72d4;sha256sum=9e41a562f445b3af5d55c4c2b2260a0c72905a7450b19e29cf5cebc68d3341fc \
-    gomod://github.com/juju/gnuflag;version=v0.0.0-20171113085948-2ce1bb71843d;mod=1;sha256sum=6b38f2d5b0b9aaa7b7291c452735479c60d52e9b965e8c98628628914bd2757b \
-    gomod://github.com/kevinburke/go-types;version=v0.0.0-20240719050749-165e75e768f7;sha256sum=f124d1b875448933a3f29f28c03e84686fb67b8ad225d2302afbf4c0cbdec741 \
-    gomod://github.com/kevinburke/rest;version=v0.0.0-20240617045629-3ed0ad3487f0;sha256sum=954fe77c8119256baddee2d25fd1e5fdbf92436779e30c95bbdd7111abb730aa \
-    gomod://github.com/kevinburke/twilio-go;version=v0.0.0-20240716172313-813590983ccc;sha256sum=4ab3e20e601335565e9ffed36f9add0b7f02f6b39317b8598efa329b4ea12711 \
+    gomod://github.com/kevinburke/go-types;version=v1.3.0;sha256sum=63a551ac86d3cf40ecb2fafbd96e5dccfc589ba9b36fddefdbf3011d8c217000 \
+    gomod://github.com/kevinburke/rest;version=v0.0.0-20260604005914-d145d8a0294b;sha256sum=a2a8a071b6c823f4ef8798239f17e1d58e535e93e7e184e071a71327aee0f6a7 \
+    gomod://github.com/kevinburke/twilio-go;version=v0.0.0-20260522200016-74f727d55757;sha256sum=88755c6b8b7f329e12171e9a33287c5e5dd91089e7037c0fc481bf7c833db279 \
     gomod://github.com/kjx98/crc16;version=v0.0.0-20190915014410-d407ba22e1b5;sha256sum=26290d513e54c37f15290333a12cbc1186ccdbf082b439d54ff7c2f3765b7809 \
-    gomod://github.com/klauspost/compress;version=v1.18.0;sha256sum=c4679e4cbc820a21758199d985be754abf5eb2a38e6f1de95cd70b2e7ef06905 \
-    gomod://github.com/koding/websocketproxy;version=v0.0.0-20181220232114-7ed82d81a28c;sha256sum=f6b7634941bce86359a30d42f15e9ff481e27586efb32c79195c3b150a4b1520 \
-    gomod://github.com/kr/pretty;version=v0.1.0;mod=1;sha256sum=e3d5d46d2f6ac94a666a54b5e867ec16bf199d9f4b700827cd731607efdd109a \
-    gomod://github.com/kr/pty;version=v1.1.1;mod=1;sha256sum=6da4c9c7364446894e5ef877e19f985cd51d671ce6e8f4ca87862b449f6dd7f6 \
-    gomod://github.com/kr/text;version=v0.1.0;mod=1;sha256sum=2fba9529e5c13dde62f371ef7383baf04d7132501dac6aa08e910f9ec0bf85c5 \
-    gomod://github.com/lufia/plan9stats;version=v0.0.0-20250317134145-8bc96cf8fc35;mod=1;sha256sum=37a53f16d9ab910339d4395983695afb4490aae01435c0a59980675c45d0bd95 \
-    gomod://github.com/mattn/go-colorable;version=v0.1.13;mod=1;sha256sum=d6743ae2eae65716122f12b42c9f3f83a805c0ae32bd3c553d4a6f1bcb9243a5 \
-    gomod://github.com/mattn/go-colorable;version=v0.1.14;mod=1;sha256sum=c199aee551968c8290b917524e0b232a862790a4831b0ed4cb43687e8c08aa18 \
-    gomod://github.com/mattn/go-isatty;version=v0.0.16;mod=1;sha256sum=714766ec82d67db895ade8af6b8054ad430c3cea5e15b3a888f23ed2f3e1b863 \
-    gomod://github.com/mattn/go-isatty;version=v0.0.20;mod=1;sha256sum=1eeabef1b4d98db73c6c2073289163649bc9a044552aca86b9d592fe84eaa1c8 \
-    gomod://github.com/mattn/go-runewidth;version=v0.0.15;mod=1;sha256sum=216c93d19310612c81d5c741024989f83897d2333c3a9f967b58b1317587f519 \
-    gomod://github.com/miekg/dns;version=v1.1.55;mod=1;sha256sum=aceec437e5016204726d92a6e111832f7e2f2f868beda5983b9e42d8d577cf74 \
-    gomod://github.com/miekg/dns;version=v1.1.65;sha256sum=bec3cb244380ff7c70b492bd751c83450d9e7e67144c80ba9b926da79d344c53 \
-    gomod://github.com/minio/highwayhash;version=v1.0.3;sha256sum=5fb067ae0c887ef9a9f4349fe32961533d0d7b33aad5fecea5bc451bd99029ed \
-    gomod://github.com/nats-io/jwt/v2;version=v2.7.4;sha256sum=92c5eeb1ec70adb0360ce8ff3ea22d70d8f47be807ffb5cbe40dc5f518a1c0b5 \
-    gomod://github.com/nats-io/nats-server/v2;version=v2.11.1;sha256sum=90fae990a307cfd37695a56e17bdd470c1a931bec696717ce5104c3cb5572ce2 \
-    gomod://github.com/nats-io/nats.go;version=v1.41.2;sha256sum=6a1b2631e0d983032860c79ba138f008ba2cd5ce936595ae0f9d9eff36e3696f \
-    gomod://github.com/nats-io/nkeys;version=v0.4.11;sha256sum=e4995029fc7859a685d5dd87532de27e259ca00ec077a0a55a185c983b02589d \
+    gomod://github.com/klauspost/compress;version=v1.20.3;sha256sum=1eb710a814c44bf21332a512a19f496fb5c489ca8eb72244bb9c49f80900848f \
+    gomod://github.com/miekg/dns;version=v1.1.73;sha256sum=bbed3c53b503db53002598615bf9bdb59918a6f9d72bd9151e0c52ab19e22a6f \
+    gomod://github.com/minio/highwayhash;version=v1.0.4;sha256sum=7161afca7e587e4e3b5f76f6b7b9422eb14b2246c13cc1e7d6a7ac374f5f219b \
+    gomod://github.com/nats-io/jwt/v2;version=v2.8.2;sha256sum=5e0760f093da6da081edf1940adba0d8bb03634075c8cbdc83639e6dab7713d0 \
+    gomod://github.com/nats-io/nats-server/v2;version=v2.15.2;sha256sum=cd32ac3e814234d2b99368ad1eef71c3c76334a5595780b5c32166eee49aaba6 \
+    gomod://github.com/nats-io/nats.go;version=v1.55.0;sha256sum=18e655f24519136d879af6017897a33e7d472174b3e4516306627e3e3acbff5d \
+    gomod://github.com/nats-io/nkeys;version=v0.4.16;sha256sum=622f43893c8136fae2ee5a3b4375e5e6812ad564fde63fc80b806c1438428a31 \
     gomod://github.com/nats-io/nuid;version=v1.0.1;sha256sum=809d144fbd16f91651a433e28d2008d339e19dafc450c5995e2ed92f1c17c1f3 \
-    gomod://github.com/ncruces/go-strftime;version=v0.1.9;mod=1;sha256sum=e5864a1dd9ac62bd778e7444e02e1e4130fa7c00d88eaea271c34f934e724f73 \
-    gomod://github.com/oapi-codegen/runtime;version=v1.1.1;sha256sum=59ad08313df3b8b1a24d9f8ecce0215ce48f5e39c16ad9a6b30aa393e0a80f89 \
-    gomod://github.com/oklog/run;version=v1.1.0;sha256sum=d6f69fc71aa155043f926c2a98fc1e5b3a8ebab422f2f36d785cfba38a7ebee4 \
-    gomod://github.com/pelletier/go-toml;version=v1.9.5;mod=1;sha256sum=c0ec26c7f843d368a2d5a9390359c567ebe316171bd651d31dcead1bb2e07ad9 \
-    gomod://github.com/pelletier/go-toml/v2;version=v2.2.4;mod=1;sha256sum=72b2ddd20583039d110a50147c63fd1e419a5c4acc1ba8f28881f1df4486abae \
+    gomod://github.com/oapi-codegen/runtime;version=v1.7.0;sha256sum=cd296c9a4b9d6d8e47de57c3e07b4f192ce5188253f8c29581f380404f99bb4b \
+    gomod://github.com/oklog/run;version=v1.2.0;sha256sum=730451ad4b759a648873e99b72abb9e8b3f7e23a4949f808d0238b827594073d \
     gomod://github.com/pkg/errors;version=v0.9.1;sha256sum=d4c36b8bcd0616290a3913215e0f53b931bd6e00670596f2960df1b44af2bd07 \
-    gomod://github.com/pmezard/go-difflib;version=v1.0.0;mod=1;sha256sum=74b2e766eb215377864d587badf57e95521f692d2a7860b3c7759093f9c9bec2 \
-    gomod://github.com/power-devops/perfstat;version=v0.0.0-20240221224432-82ca36839d55;mod=1;sha256sum=05744a9262bcd294613e65624f3f8bae83d79a58aa48b8328c7df91190aa07bf \
-    gomod://github.com/remyoudompheng/bigfft;version=v0.0.0-20230129092748-24d4a6f8daec;sha256sum=9be16c32c384d55d0f7bd7b03f1ff1e9a4e4b91b000f0aa87a567a01b9b82398 \
-    gomod://github.com/rivo/uniseg;version=v0.2.0;mod=1;sha256sum=6c7318a27a8d5473a8eb661e75fb00528176e0efc59310ed277ca13bd12a53f1 \
     gomod://github.com/shirou/gopsutil/v3;version=v3.24.5;sha256sum=95ae6f59bf23d3400d96bdd3b8c84117effbd59cfab6ab37bd667d4b0ed79518 \
-    gomod://github.com/shoenig/go-m1cpu;version=v0.1.6;mod=1;sha256sum=ddbcd6c6572075e609cbda5b7af0547a734e6ff2e1736e326051f5209c458b17 \
     gomod://github.com/simpleiot/canparse;version=v0.0.0-20221213134514-84672be992d4;sha256sum=7e4fbfe8c354573384615cd35110dd399758332d0f133bbc451e71a573b7bd97 \
     gomod://github.com/simpleiot/mdns;version=v0.0.1;sha256sum=fd4aa5408c4f2bc0f91d0d9a76f3f11040f30f254e6744a6e8ae8db60cca008d \
-    gomod://github.com/spf13/afero;version=v1.14.0;mod=1;sha256sum=f2957f49917d0f746a956a2d8b2eed9d85b138427c74830d5555a9c0658f7e33 \
-    gomod://github.com/spf13/cast;version=v1.7.1;mod=1;sha256sum=7d2f6a01b576af92f8a35c582145dc94137966ee88378b4a3a611457d7104211 \
-    gomod://github.com/spkg/bom;version=v0.0.0-20160624110644-59b7046e48ad;mod=1;sha256sum=5b5cb30d6228ba0011eaa47ad0526c2ed1ec0764e25581b0979899c0b955431b \
-    gomod://github.com/stretchr/objx;version=v0.1.0;mod=1;sha256sum=1350354d52d2287a62336ecc0d56232d4c47699af9bba49c67c2b48254da98f1 \
-    gomod://github.com/stretchr/testify;version=v1.3.0;mod=1;sha256sum=ab063d5154a8e8730bced4c52698e5770eb50bfae347bebc35eca488b8e3f6e3 \
-    gomod://github.com/stretchr/testify;version=v1.5.1;mod=1;sha256sum=e3a11c2a6c5fe06f8a221e7289684917ac49ad01233f81b51c8360773707e700 \
-    gomod://github.com/tdewolff/parse/v2;version=v2.7.23;mod=1;sha256sum=441757c222cd891c400ec37f144a2180982684bea7fe2389f3d849ad2ac2ac2f \
-    gomod://github.com/tdewolff/test;version=v1.0.11;mod=1;sha256sum=f4479f3afd09fbb91a219348a522207effae7389ae5da311fd866ff48b8616eb \
-    gomod://github.com/tklauser/go-sysconf;version=v0.3.15;sha256sum=caa29c6df6c316969c9f2559186bd1ca8f8aceafbef236233e415c1d974f0383 \
-    gomod://github.com/tklauser/numcpus;version=v0.10.0;sha256sum=b2526d47517ccff481cc7baad7f450bdde58ddb9b65d53e3eec7c3504f94e853 \
+    gomod://github.com/tklauser/go-sysconf;version=v0.4.0;sha256sum=61e89253bc4d7091170601be12633dc02e94a3bc30470b081a2449944fa18784 \
+    gomod://github.com/tklauser/numcpus;version=v0.12.0;sha256sum=56c22a112976df3a4d8db776b41288658070650ae6382ec86d0a32fc07af0276 \
     gomod://github.com/ttacon/builder;version=v0.0.0-20170518171403-c099f663e1c2;sha256sum=f557d1c3978f22d3b4aa564881e71ae6f25cbfa4e30c574ab95259ba8c5c20f7 \
     gomod://github.com/ttacon/libphonenumber;version=v1.2.1;sha256sum=607fc7cf995eb8a26acc36cb9292bc7c82ccac8ba83bd3933bb7def85dc77020 \
-    gomod://github.com/yuin/goldmark;version=v1.3.5;mod=1;sha256sum=dab1d663b860ebe545fcdcec24e5f933d517bd2019af68d7a6b5a8764aa61b0f \
-    gomod://github.com/yuin/goldmark;version=v1.4.13;mod=1;sha256sum=ee7fe4466203a01d3ac19adc134cdec99bc6de71992c28f3dd9a74480bff0603 \
-    gomod://github.com/yusufpapurcu/wmi;version=v1.2.4;mod=1;sha256sum=ff2a9c8c99aaed6bc6984eae094a9e8cdc36f6ab2ef2c56779dd98ecc583135b \
-    gomod://go.bug.st/serial;version=v1.6.4;sha256sum=4d529616edc9d0ae1213c7bdf76ff45b2c269561262d958f8113993fde38fd49 \
-    gomod://go.einride.tech/can;version=v0.12.2;sha256sum=d7bc5a3d13aa66513e7d5ba2018111cf82441eb670f169850cefef00ed54dc53 \
-    gomod://golang.org/x/crypto;version=v0.0.0-20190308221718-c2843e01d9a2;mod=1;sha256sum=33ed070a5a66e0960685ac5386440e1b59899e74d8a38a1180685e72a2195ded \
-    gomod://golang.org/x/crypto;version=v0.0.0-20191011191535-87dc89f01550;mod=1;sha256sum=3ab9f01f4610fe7b39bd85d68e8d97825351e7e282c39cda41457c2a276f3be3 \
-    gomod://golang.org/x/crypto;version=v0.0.0-20210921155107-089bfa567519;mod=1;sha256sum=cd6311612a2aa4d0d7e03c41b3aa1fbc2d5f895ab3f61089fab80bfe9f8f5485 \
-    gomod://golang.org/x/crypto;version=v0.11.0;mod=1;sha256sum=fcbb894badd69e1e81ba36878fa88b90dad5ee703d5f55069d4b5fa240019743 \
-    gomod://golang.org/x/crypto;version=v0.37.0;sha256sum=7ce6b2be21be1ce9e04dc784830e08931f09b5903596b8017839322c9e828667 \
-    gomod://golang.org/x/exp;version=v0.0.0-20250408133849-7e4ce0ab07d0;sha256sum=2d49e384cac0121dd56d7acba9d396f69e05203a5a9931c47879984f333c3963 \
-    gomod://golang.org/x/lint;version=v0.0.0-20241112194109-818c5a804067;mod=1;sha256sum=4be743c2c22d63cc685d604114b0ab9312ab1f1c35266441e503317b78b7cf50 \
-    gomod://golang.org/x/mod;version=v0.1.1-0.20191105210325-c90efee705ee;mod=1;sha256sum=d76bbdea81d196d09858967a67ac805dacecdd1fb30c5001a187d24c129b1597 \
-    gomod://golang.org/x/mod;version=v0.24.0;mod=1;sha256sum=1fb8ad2f7201cd79bf178578b35aaead1720cab2b8cfea35b99b25b60839f1ef \
-    gomod://golang.org/x/mod;version=v0.4.2;mod=1;sha256sum=b288f088fd851885a6d348339e2f588e58a94e6c76e5e634ae1d67c2749eb413 \
-    gomod://golang.org/x/mod;version=v0.6.0-dev.0.20220419223038-86c51ed26bb4;mod=1;sha256sum=42d19023ff8f2eae700bc5495f371ecd998a22d19ba985d0af5f69900b254083 \
-    gomod://golang.org/x/mod;version=v0.7.0;mod=1;sha256sum=624567459c6e9947ac4abde0b7034ee61dcbb6a9373f5970094c0bb3e8121964 \
-    gomod://golang.org/x/mod;version=v0.8.0;mod=1;sha256sum=624567459c6e9947ac4abde0b7034ee61dcbb6a9373f5970094c0bb3e8121964 \
-    gomod://golang.org/x/net;version=v0.0.0-20190404232315-eb5bcb51f2a3;mod=1;sha256sum=f7046769daac02beb57cbcc481280df59fb403c96fe8262282aba858c7f7fa4d \
-    gomod://golang.org/x/net;version=v0.0.0-20190620200207-3b0461eec859;mod=1;sha256sum=e6efdaf78a29503f080cf6d2615e289cfb1d9e3ab7d570f53668eca2b4ab41da \
-    gomod://golang.org/x/net;version=v0.0.0-20210226172049-e18ecbb05110;mod=1;sha256sum=fef5896d103a0bce5055fdb5e96e830944334792437865347718edceb633348a \
-    gomod://golang.org/x/net;version=v0.0.0-20210405180319-a5a99cb37ef4;mod=1;sha256sum=f6b0f9968f5a7d986fcb57ebe2a14095118bbd1cbf6785d003f7afd711dcb1bd \
-    gomod://golang.org/x/net;version=v0.0.0-20220722155237-a158d28d115b;mod=1;sha256sum=b315c52647d2da2f76e5cdb9d367e1d6727784236a9bffb612192b19b10a128d \
-    gomod://golang.org/x/net;version=v0.10.0;mod=1;sha256sum=d3b7e236ff09e6322be489170216e018d3221862f1a053dcb63e53eab8533c17 \
-    gomod://golang.org/x/net;version=v0.12.0;mod=1;sha256sum=081afe562ad029bcf9a528eadada1f210d75aaa37b51773ede7b3eab1d2bc0e9 \
-    gomod://golang.org/x/net;version=v0.2.0;mod=1;sha256sum=07ec645e3353fc2673f2d8dee5c14eb928b9c13127a409fe3ec40eaba4dbdb30 \
-    gomod://golang.org/x/net;version=v0.39.0;sha256sum=d8434ce72d2356472570adbbd38c538d24fe9a9678bffaa6ef99ec47ca3be0a5 \
-    gomod://golang.org/x/net;version=v0.6.0;mod=1;sha256sum=41ec76ea2172f3ee3031e38f9a535939a584d6bb35ef480854fdcb8c2026701b \
-    gomod://golang.org/x/sync;version=v0.0.0-20190423024810-112230192c58;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \
-    gomod://golang.org/x/sync;version=v0.0.0-20210220032951-036812b2e83c;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \
-    gomod://golang.org/x/sync;version=v0.0.0-20220722155255-886fb9371eb4;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \
-    gomod://golang.org/x/sync;version=v0.1.0;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \
-    gomod://golang.org/x/sync;version=v0.13.0;sha256sum=4bdaaffe69cc7c997cff97cd81dc9c6777777bd311175f100f76b049bbbe7ed9 \
-    gomod://golang.org/x/sys;version=v0.0.0-20190215142949-d0b11bdaac8a;mod=1;sha256sum=8969115e4a39108848324e79a1bd8a8445230e6e3aaccbe9f8057fb50fffc8c1 \
-    gomod://golang.org/x/sys;version=v0.0.0-20190412213103-97732733099d;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
-    gomod://golang.org/x/sys;version=v0.0.0-20190916202348-b4ddaad3f8a3;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
-    gomod://golang.org/x/sys;version=v0.0.0-20201119102817-f84b799fce68;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
-    gomod://golang.org/x/sys;version=v0.0.0-20201204225414-ed752295db88;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
-    gomod://golang.org/x/sys;version=v0.0.0-20210330210617-4fbd30eecc44;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
-    gomod://golang.org/x/sys;version=v0.0.0-20210510120138-977fb7262007;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.0.0-20210615035016-665e8c7367d1;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.0.0-20220520151302-bc2c85ada10a;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.0.0-20220722155257-8c9f86f7a55f;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.0.0-20220811171246-fbc7d0a398ab;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.1.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.10.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.13.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.14.0;mod=1;sha256sum=d227b325f621f4ebe28d39ba773ea99b870f393b7c09c34592c365b16dd560de \
-    gomod://golang.org/x/sys;version=v0.2.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.21.0;mod=1;sha256sum=d227b325f621f4ebe28d39ba773ea99b870f393b7c09c34592c365b16dd560de \
-    gomod://golang.org/x/sys;version=v0.32.0;sha256sum=85d47075d21fd7ef35d9a47fc73f2356fb3cd2e7fab7f45c874b814bf312127d \
-    gomod://golang.org/x/sys;version=v0.5.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.6.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/sys;version=v0.8.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
-    gomod://golang.org/x/term;version=v0.0.0-20201126162022-7de9c90e9dd1;mod=1;sha256sum=4cbab14f7706771b271d995a1b3cc131fe5a246aadc7ee6d1ba6f0bd894781fa \
-    gomod://golang.org/x/term;version=v0.0.0-20210927222741-03fcf44c2211;mod=1;sha256sum=740794e2914f5cc87e25656c5843222b2c65665821205f45632a0477c8d3f79b \
-    gomod://golang.org/x/term;version=v0.10.0;mod=1;sha256sum=db4065eb2413a271c2a3b3c71c8a8aa20b77fa185953d9664faa87ac95a99d81 \
-    gomod://golang.org/x/term;version=v0.13.0;mod=1;sha256sum=26277b0b5bc33d0241f2337839e8a663d2a6c603058870f27ced9df1fee7e357 \
-    gomod://golang.org/x/term;version=v0.2.0;mod=1;sha256sum=edf833da101900fe2ce8db23409e42448f441898d3d7d8ee451988e3b30c9302 \
-    gomod://golang.org/x/term;version=v0.5.0;mod=1;sha256sum=0d6f58228aadc1a6528e6755da018516566e3ae5c5201f7ade1773f56fa8d934 \
-    gomod://golang.org/x/term;version=v0.8.0;mod=1;sha256sum=5d362d6a83453f7024725e824c05c5949624ef8f4cb13f5d7e3d4b7f1ca0b327 \
-    gomod://golang.org/x/text;version=v0.11.0;mod=1;sha256sum=151e6a1839491c4b50dfe9c33451f06328d5518bd8ee4a0061de02b7ad332fb2 \
-    gomod://golang.org/x/text;version=v0.24.0;sha256sum=f585335a57a6fa5fa0c0bf319b45f0909e5ff1aba91e8567187ba8e423084c00 \
-    gomod://golang.org/x/text;version=v0.3.0;mod=1;sha256sum=36879d586fd8001e84da8787190a11e4f78749e2a81dfe8b9b6931899fff31cf \
-    gomod://golang.org/x/text;version=v0.3.3;mod=1;sha256sum=fbb7a88ed140515e790eca7a10ffd319c9786b11c6a6c7e59f80f7fb37bb4542 \
-    gomod://golang.org/x/text;version=v0.3.7;mod=1;sha256sum=c45d669089427bc4635d07b185f9b9680332d1c48c75b3c49cb715b81a04a5b0 \
-    gomod://golang.org/x/text;version=v0.4.0;mod=1;sha256sum=15929e76fce04aea4c92a354426bb43370684645a4ee03f2e75d0c2eb1466304 \
-    gomod://golang.org/x/text;version=v0.7.0;mod=1;sha256sum=15929e76fce04aea4c92a354426bb43370684645a4ee03f2e75d0c2eb1466304 \
-    gomod://golang.org/x/text;version=v0.9.0;mod=1;sha256sum=436f592e77b593b02fbea374e23ad3369c8623ff0d29c91de7de1e6672db9a41 \
-    gomod://golang.org/x/time;version=v0.11.0;sha256sum=a94a0e3766428c1b0acb6f33d8e97f162403530d993938c1741088f6d2a4cd13 \
-    gomod://golang.org/x/tools;version=v0.0.0-20180917221912-90fa682c2a6e;mod=1;sha256sum=a0e02f0678fe62dc3c4b4bc77fa912c9b70de10fa9f7cf2f7aad0337392b52af \
-    gomod://golang.org/x/tools;version=v0.0.0-20191119224855-298f0cb1881e;mod=1;sha256sum=88d479265f886f5e598d76c003d0f257b42dbf1b895d820a12b5ab0b3501aca1 \
-    gomod://golang.org/x/tools;version=v0.0.0-20200130002326-2f3ba24bd6e7;mod=1;sha256sum=5ea469c803b6ef8d41d1561b9e301a003fdd93976468bda5574b26b056ea7f49 \
-    gomod://golang.org/x/tools;version=v0.1.1;mod=1;sha256sum=03697605374ee3b0fa9b502ea456d9c6ae1835dac22e35baa2a99c4058a0fe31 \
-    gomod://golang.org/x/tools;version=v0.1.12;mod=1;sha256sum=2a8b9365898f0822face65ba089a1353e68a65d342f300ca317cceccde6421f3 \
-    gomod://golang.org/x/tools;version=v0.3.0;mod=1;sha256sum=be082bd1ac60dce89e16e82652f02d1236109c95f3fd76c165b500d97ea3984e \
-    gomod://golang.org/x/tools;version=v0.32.0;mod=1;sha256sum=4fa3f3fcd7c18fc9ee29aa942ab9d27ec1d88faa932d32a68652bbb4dc20dcd9 \
-    gomod://golang.org/x/tools;version=v0.6.0;mod=1;sha256sum=830ed78dcd3e9927c412e2641230308447749d513d31024d276e2443b2016609 \
-    gomod://golang.org/x/xerrors;version=v0.0.0-20190717185122-a985d3407aa7;mod=1;sha256sum=aa5e3ec9bb7b9f681609efac019d9de1a7ba7719248ff1eaa27e78882db3d7f5 \
-    gomod://golang.org/x/xerrors;version=v0.0.0-20191011141410-1b5146add898;mod=1;sha256sum=aa5e3ec9bb7b9f681609efac019d9de1a7ba7719248ff1eaa27e78882db3d7f5 \
-    gomod://golang.org/x/xerrors;version=v0.0.0-20200804184101-5ec99f83aff1;mod=1;sha256sum=aa5e3ec9bb7b9f681609efac019d9de1a7ba7719248ff1eaa27e78882db3d7f5 \
-    gomod://google.golang.org/protobuf;version=v1.36.6;sha256sum=3294ac8ea5089b3c231351afaea4f012e8027a9beeb523bbf31dcb383cc0ab99 \
-    gomod://gopkg.in/check.v1;version=v0.0.0-20161208181325-20d25e280405;mod=1;sha256sum=5c306e0d633cd66a11b40e2e5fbbc6da42110db7d72ea3c1524ceb45ee40c33f \
-    gomod://gopkg.in/yaml.v2;version=v2.2.2;mod=1;sha256sum=88d979d2f093d2397f756bc86efa2ca03f73a60d668ceb391b3510029f3f7cfc \
-    gomod://gopkg.in/yaml.v3;version=v3.0.1;mod=1;sha256sum=21579860a20306fcf43b1bd234d1fba319499c77611b71c05f9bf3ba90dab939 \
-    gomod://modernc.org/libc;version=v1.63.0;sha256sum=e74cb037965c63872c284d6db4f7a77bad774be3252ab3fcb7507449ab3a8b1d \
-    gomod://modernc.org/mathutil;version=v1.7.1;sha256sum=5be0da18eb557a1198bfe370e37022f2dbdb9cdc5d63130fc8e8330ab240bd2e \
-    gomod://modernc.org/memory;version=v1.10.0;sha256sum=491975efca8af6053b783363ea99d111fdee588413280cd35aef23aaacb8cc92 \
-    gomod://modernc.org/sqlite;version=v1.37.0;sha256sum=3d76af7bb3f336f1880dd7b29f7edc78f58dfcb9b0df664e6d6aca9cc6996ebe \
+    gomod://github.com/warthog618/go-gpiocdev;version=v0.10.0;sha256sum=ada5f6dad2eb20a70672d9297920ca09a2f2ba70bc8e7338c47a6a4437805ab2 \
+    gomod://github.com/x448/float16;version=v0.8.4;sha256sum=73b24a41037ea999ab66851e3798a0973dbb1f214925915b01f0820f7b2f1500 \
+    gomod://go.bug.st/serial;version=v1.8.0;sha256sum=378c14e9abfbee0dcf681ce6603a5d21ce10bdb2930a4aedc571aa0e6eb2fb93 \
+    gomod://go.einride.tech/can;version=v0.17.0;sha256sum=636fcff5905e020f5ec9f390c9189231fdb2a4956b7a8101158cb1944e4105cb \
+    gomod://golang.org/x/crypto;version=v0.58.0;sha256sum=b0a45594cda20ddb4264d84aeff9b588b8570bf6a2833c51a0b821734a298d95 \
+    gomod://golang.org/x/net;version=v0.61.0;sha256sum=f6843a98d608298e48a6ca287292c9a6fae066284050ce174d5ffb781c9b3dcf \
+    gomod://golang.org/x/sync;version=v0.24.0;sha256sum=ca3fcf3ea8259e75891f7947e1a816a5b89402c542d45d8bbbd9e061b0c58019 \
+    gomod://golang.org/x/sys;version=v0.49.0;sha256sum=e73a06591ca0d7016ce3ccb45c36a8ed7128468aecc1a357f94d815c760c6b31 \
+    gomod://golang.org/x/text;version=v0.43.0;sha256sum=b75131f628f6e2e4892fd638d33127e952a5027775e0162b94ba069cb4e13863 \
+    gomod://golang.org/x/time;version=v0.16.0;sha256sum=ac27777be8088859ba3b1bea3648064dc95ff8bac3023b1b059d1ab126dc729e \
+    gomod://google.golang.org/protobuf;version=v1.36.12;sha256sum=68f8a3174aff42950fd9bd02c11b45c6986eb8060508d124d1c3dd6bf86b9be6 \
 "
meta-oe/recipes-extended/simpleiot/simpleiot-licenses.inc +35 -40

100 lines not on this page · raw message

meta-oe/recipes-extended/simpleiot/simpleiot_0.36.1.bb renamed from meta-oe/recipes-extended/simpleiot/simpleiot_0.18.5.bb +6 -5
similarity index 87%
rename from meta-oe/recipes-extended/simpleiot/simpleiot_0.18.5.bb
rename to meta-oe/recipes-extended/simpleiot/simpleiot_0.36.1.bb
index e852e3d3e5..07fc60128e 100644
@@ -6,15 +6,15 @@ HOMEPAGE = "http://simpleiot.org"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}"
+SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master;tag=v${PV};destsuffix=${GO_SRCURI_DESTSUFFIX}"
 
-SRCREV = "9addf01e40eae111f59c822141a47aa87caf04b6"
+SRCREV = "0d7ca333b4818c4176324ac258abb96828ea84d1"
+# v1.0.912 is a stray 2020 tag, not a release
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(?!1\.0\.912$)\d+(\.\d+)+)$"
 
 require ${BPN}-licenses.inc
 require ${BPN}-go-mods.inc
 
-LIC_FILES_CHKSUM:remove:riscv64 = "file://pkg/mod/github.com/remyoudompheng/[email protected]/LICENSE;md5=591778525c869cdde0ab5a1bf283cd81;spdx=BSD-3-Clause"
-
 GO_IMPORT = "github.com/simpleiot/simpleiot"
 
 GO_INSTALL = "${GO_IMPORT}/cmd/edge \
@@ -29,7 +29,6 @@ GO_INSTALL = "${GO_IMPORT}/cmd/edge \
               ${GO_IMPORT}/cmd/siot \
               ${GO_IMPORT}/cmd/tof10120 \
               ${GO_IMPORT}/cmd/test-resp-reader-close \
-              ${GO_IMPORT}/gps \
              "
 
 inherit go-mod go-mod-update-modules pkgconfig systemd update-rc.d
@@ -47,6 +46,8 @@ do_install:append() {
     else
         install -Dm 0755 ${S}/src/${GO_IMPORT}/contrib/siot.init ${D}${sysconfdir}/init.d/siot
     fi
+    # release helper scripts would pull bash into ${PN}-dev
+    rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/scripts
 }
 
 SYSTEMD_SERVICE:${PN} = "siot.service"
author
#47 lore raw

PATCH 42/55 tipcutils: upgrade 2.2.0+git -> 3.0.7

In reply to Khem Raj

Upstream changes (git log, README):
- New libtipc library with C, Go, Java and Python APIs, a character API (3.0.7) and demos for it (tipcc_hello_world, c_api_demo, groupcast_demo, tipc-pipe).
- Tree reorganised into demos/, test/ and utils/; demo binaries were renamed (e.g. hello_client/hello_server instead of client_tipc/server_tipc).
- New tools: tipc-link-watcher, net topology tracker and the tipc-trace front-end; utils now need libmnl.
- Reproducible build date from SOURCE_DATE_EPOCH; a top-level BSD-3-Clause LICENSE file was added.

3.0.7 is not tagged upstream (the last tag is v3.0.4); the README of master names this commit 3.0.7 (configure.ac still says 2.1.1), so name the recipe 3.0.7 and pin SRCREV to master HEAD. Check upstream for new commits (UPSTREAM_CHECK_COMMITS), as releases are not tagged.

Add libmnl to DEPENDS. Rewrite the demo and ptts install for the new layout and binary names. tipc-trace is a Python script installed to bindir; package it in ${PN}-trace with its python3 runtime deps and point its shebang at python3. Drop 0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch (libtipc uses struct tipc_group_req) and 0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch (upstream commit 4e4c8c7). Refresh 0002-replace-non-standard-uint-with-unsigned-int.patch for the renamed benchmark sources and the new net topology tracker.

configure.ac adds -I paths relative to the source subdirectories, so build in the source tree (autotools-brokensep). Add a patch that builds tipc_test_suite only when linux/tipc.h provides struct tipcc_addr, which mainline kernel headers lack.

License-Update: the old LIC_FILES_CHKSUM file, tipclog/tipc.h, is gone. Use the new top-level LICENSE, which is BSD-3-Clause; the GPL-2.0 alternative of the old header is not offered anywhere in the tree, so LICENSE changes from GPL-2.0-only to BSD-3-Clause.

AI-Generated: Uses Claude Code

---
 ...tipcc-Fix-struct-type-for-TIPC_GROUP.patch |  33 ------
 ...cv-buffer-size-too-max-to-receive-as.patch |  66 -----------
 ...-non-standard-uint-with-unsigned-int.patch | 107 +++++++++++-------
 ...test_suite-only-when-struct-tipcc_ad.patch |  50 ++++++++
 .../tipcutils/tipcutils_3.0.7.bb              |  67 +++++++++++
 .../tipcutils/tipcutils_git.bb                |  57 ----------
 6 files changed, 180 insertions(+), 200 deletions(-)
 delete mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils/0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch
 delete mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils/0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch
 create mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils/0003-test-Build-tipc_test_suite-only-when-struct-tipcc_ad.patch
 create mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils_3.0.7.bb
 delete mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
meta-oe/recipes-extended/tipcutils/tipcutils/0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch deleted +0 -33
deleted file mode 100644
index e495285051..0000000000
@@ -1,33 +0,0 @@
-From 1ce892749e4f53bd0aeaa4c3ce45f80178799411 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Sat, 3 Mar 2018 17:52:51 -0800
-Subject: [PATCH] multicast_blast/tipcc: Fix struct type for TIPC_GROUP_JOIN
-
-Kernel defines it as tipc_group_req and not tipc_mreq
-this code was not excercised with older kernels so we
-never ran into the compiler failures since TIPC_GROUP_JOIN
-is only defined in kernel starting 4.15
-
-Signed-off-by: Khem Raj <[email protected]>
----
-Upstream-Status: Pending
-
- multicast_blast/tipcc.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/multicast_blast/tipcc.c b/multicast_blast/tipcc.c
-index 90644d3..911c759 100755
---- a/multicast_blast/tipcc.c
-+++ b/multicast_blast/tipcc.c
-@@ -213,7 +213,7 @@ int tipc_accept(int sd, struct tipc_addr *src)
- int tipc_join(int sd, struct tipc_addr *member)
- {
- #ifdef TIPC_GROUP_JOIN
--	struct tipc_mreq mreq = {
-+	struct tipc_group_req mreq = {
- 		.type = member->type,
- 		.instance = member->instance,
- 		.scope = domain2scope(member->domain)
--- 
-2.16.2
-
meta-oe/recipes-extended/tipcutils/tipcutils/0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch deleted +0 -66

66 lines not on this page · raw message

meta-oe/recipes-extended/tipcutils/tipcutils/0002-replace-non-standard-uint-with-unsigned-int.patch +63 -44

214 lines not on this page · raw message

meta-oe/recipes-extended/tipcutils/tipcutils/0003-test-Build-tipc_test_suite-only-when-struct-tipcc_ad.patch new file +50 -0

50 lines not on this page · raw message

meta-oe/recipes-extended/tipcutils/tipcutils_3.0.7.bb new file +67 -0

67 lines not on this page · raw message

meta-oe/recipes-extended/tipcutils/tipcutils_git.bb deleted +0 -57

57 lines not on this page · raw message

author
#48 lore raw

PATCH 43/55 xdelta3: upgrade 3.1.0 -> 3.2.2

In reply to Khem Raj

Upstream revived the project in 2026 (NEWS, git log):
- Autotools build replaced by CMake; the core library, xdelta3.h, xdelta3.pc and a CMake package config are now installed.
- New armor mode: whole-file BLAKE3 verification carried in the VCDIFF application header.
- stdin can be used as the source, and help is shown when run without arguments on a terminal.
- Hardened allocation sizing against integer overflow and allocation failures, rejection of invalid armor streams, and a full XZ magic check before external decompression.

Switch to inherit cmake and follow upstream from the release3_1_apl branch to main, fetching by tag, with an upstream check limited to the v3 tags (the repository also carries xdelta1 v1.x tags). Upstream's CMake fetches BLAKE3 1.8.5 with FetchContent for armor mode, which does not work in an offline do_configure, so fetch it in SRC_URI and point FETCHCONTENT_SOURCE_DIR_BLAKE3 at it; it is linked statically into the xdelta3 tool. Turn off the regression-test targets. The lzma option becomes -DXD3_LZMA_MODE=on/off so liblzma is never auto-detected. The new static library and its headers, pkg-config and CMake files go to the default -staticdev and -dev packages.

Unpack BLAKE3 inside ${S} so the debug prefix map covers its __FILE__ strings (buildpaths QA).

License-Update: relicensed by the author from GPL-2.0-only (COPYING) to Apache-2.0 (xdelta3/LICENSE); add the BLAKE3 license files (CC0-1.0 OR Apache-2.0 OR Apache-2.0-with-LLVM-exception).

AI-Generated: Uses Claude Code

---
 .../recipes-support/xdelta/xdelta3_3.1.0.bb   | 20 -----------
 .../recipes-support/xdelta/xdelta3_3.2.2.bb   | 35 +++++++++++++++++++
 2 files changed, 35 insertions(+), 20 deletions(-)
 delete mode 100644 meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb
 create mode 100644 meta-oe/recipes-support/xdelta/xdelta3_3.2.2.bb
meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb deleted +0 -20
deleted file mode 100644
index 93692af682..0000000000
@@ -1,20 +0,0 @@
-SUMMARY = "Xdelta is a tool for differential compression"
-DESCRIPTION = "Open-source binary diff, differential compression tools, \
-               VCDIFF (RFC 3284) delta compression."
-HOMEPAGE = "http://xdelta.org/"
-SECTION = "console/utils"
-
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
-
-SRC_URI = "git://github.com/jmacd/xdelta.git;branch=release3_1_apl;protocol=https"
-SRCREV = "4b4aed71a959fe11852e45242bb6524be85d3709"
-S = "${UNPACKDIR}/${BP}/xdelta3"
-
-inherit autotools
-
-# Optional secondary compression
-PACKAGECONFIG ??= ""
-PACKAGECONFIG[lzma] = "--with-liblzma,--without-liblzma,xz"
-
-BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-support/xdelta/xdelta3_3.2.2.bb new file +35 -0
new file mode 100644
index 0000000000..71dc076f7f
@@ -0,0 +1,35 @@
+SUMMARY = "Xdelta is a tool for differential compression"
+DESCRIPTION = "Open-source binary diff, differential compression tools, \
+               VCDIFF (RFC 3284) delta compression."
+HOMEPAGE = "http://xdelta.org/"
+SECTION = "console/utils"
+
+LICENSE = "Apache-2.0 AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0-with-LLVM-exception)"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cf96fa0d649f7c7b16616d95e7880a73 \
+                    file://blake3/LICENSE_A2;md5=36f2d65d5af763138c43f12eab1ded63 \
+                    file://blake3/LICENSE_A2LLVM;md5=9f15032a73646326104ebe0c70580f1a \
+                    file://blake3/LICENSE_CC0;md5=65d3616852dbf7b1a6d4b53b00626032"
+
+# BLAKE3 is needed for armor mode, upstream's CMake would fetch it during configure
+SRC_URI = "git://github.com/jmacd/xdelta.git;branch=main;protocol=https;tag=v${PV};name=xdelta \
+           git://github.com/BLAKE3-team/BLAKE3.git;branch=master;protocol=https;tag=1.8.5;name=blake3;destsuffix=${BP}/xdelta3/blake3 \
+           "
+SRCREV_xdelta = "5f8f5a553181c139d91b0289c009e5c276c5318c"
+SRCREV_blake3 = "93a431c78a52d7ccf0f366f106467f5070e6075e"
+SRCREV_FORMAT = "xdelta_blake3"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>3(\.\d+)+)$"
+
+S = "${UNPACKDIR}/${BP}/xdelta3"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DXD3_BUILD_TESTS=OFF \
+                 -DXD3_ARMOR=ON \
+                 -DFETCHCONTENT_SOURCE_DIR_BLAKE3=${S}/blake3 \
+"
+
+# Optional secondary compression
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[lzma] = "-DXD3_LZMA_MODE=on,-DXD3_LZMA_MODE=off,xz"
+
+BBCLASSEXTEND = "native nativesdk"
author
#49 lore raw

PATCH 44/55 psutils: upgrade 2.10 -> 3.3.17

In reply to Khem Raj

PSUtils 3 is a rewrite in Python that adds PDF support to the same commands (psbook, psnup, pstops, psselect, psresize, epsffit, extractres, includeres, psjoin). Later 3.x releases improve paper size detection from PostScript files, accept psnup page specs without --specs again, and fix psresize --height.

The recipe is rewritten from autotools/perl to a setuptools PEP 517 build. It now needs python3-puremagic, python3-pypdf and python3-argparse-manpage (for the man pages generated in setup.py) from meta-python, so it moves to meta-oe's meta-python dynamic layer. setup.py and the commands run 'paper', so libpaper-native stays a build dependency and libpaper becomes a runtime one. perl is no longer needed at runtime.

setup.py runs 'paper', which needs a default paper size and cannot find the paperspecs file of a relocated libpaper-native, so set PAPERSIZE and XDG_CONFIG_HOME for the build.

AI-Generated: Uses Claude Code

---
 .../recipes-support/psutils/psutils_3.3.17.bb | 37 +++++++++++++++++++
 .../recipes-support/psutils/psutils_2.10.bb   | 27 --------------
 2 files changed, 37 insertions(+), 27 deletions(-)
 create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-support/psutils/psutils_3.3.17.bb
 delete mode 100644 meta-oe/recipes-support/psutils/psutils_2.10.bb
meta-oe/dynamic-layers/meta-python/recipes-support/psutils/psutils_3.3.17.bb new file +37 -0
new file mode 100644
index 0000000000..93b7d2d729
@@ -0,0 +1,37 @@
+SUMMARY = "Utilities for manipulating PDF and PostScript documents"
+DESCRIPTION = "PSUtils is a collection of utilities for manipulating PDF \
+and PostScript documents: page selection and rearrangement, arrangement \
+into signatures for booklet printing, and page merging for n-up printing."
+HOMEPAGE = "https://github.com/rrthomas/psutils"
+LICENSE = "GPL-3.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=87212b5f1ae096371049a12f80034f32"
+
+SRC_URI = "https://github.com/rrthomas/psutils/releases/download/v${PV}/psutils-${PV}.tar.gz"
+SRC_URI[sha256sum] = "3ff76cc9f9fb535ec553d1591de56d6dbaa0d9f4df86778f6a49731ebd764cdf"
+
+UPSTREAM_CHECK_URI = "https://github.com/rrthomas/psutils/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
+
+inherit python_setuptools_build_meta
+
+# setup.py generates the man pages from the argparse parsers and runs 'paper'
+DEPENDS += " \
+    libpaper-native \
+    python3-argparse-manpage-native \
+    python3-puremagic-native \
+    python3-pypdf-native \
+"
+
+# setup.py runs 'paper', which needs a default size and finds no paperspecs in a relocated sysroot
+export PAPERSIZE = "a4"
+export XDG_CONFIG_HOME = "${STAGING_ETCDIR_NATIVE}"
+
+RDEPENDS:${PN} += " \
+    libpaper \
+    python3-core \
+    python3-io \
+    python3-puremagic \
+    python3-pypdf \
+"
+
+BBCLASSEXTEND = "native"
meta-oe/recipes-support/psutils/psutils_2.10.bb deleted +0 -27
deleted file mode 100644
index bfb5cbe75b..0000000000
@@ -1,27 +0,0 @@
-LICENSE = "GPL-3.0-or-later"
-LIC_FILES_CHKSUM = "file://COPYING;md5=87212b5f1ae096371049a12f80034f32"
-
-SRC_URI = "https://github.com/rrthomas/psutils/releases/download/v${PV}/psutils-${PV}.tar.gz"
-SRC_URI[sha256sum] = "6f8339fd5322df5c782bfb355d9f89e513353220fca0700a5a28775404d7e98b"
-
-UPSTREAM_CHECK_URI = "https://github.com/rrthomas/psutils/releases"
-UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
-
-inherit perlnative autotools
-
-export PERL = "/usr/bin/env perl"
-
-DEPENDS += "libpaper-native"
-
-do_install:append() {
-    sed -i -e 's|${STAGING_BINDIR_NATIVE}/perl-native/|/usr/bin/env |g' ${D}${bindir}/pstops
-    for f in psbook psresize psnup psselect; do
-        grep -v '${B}' ${D}${bindir}/$f > ${D}${bindir}/$f.temp
-        install -m 0755 ${D}${bindir}/$f.temp ${D}${bindir}/$f
-        rm -f ${D}${bindir}/$f.temp
-    done
-}
-
-BBCLASSEXTEND += "native"
-# /usr/bin/pstops contained in package psutils requires perl
-RDEPENDS:${PN} += "perl"
author
#50 lore raw

PATCH 45/55 binwalk: upgrade 2.3.4 -> 3.1.0

In reply to Khem Raj

Binwalk 3 is a complete rewrite in Rust: much faster, with fewer false positives and support for more extractors. It is a CLI only; the Python module and API of 2.x (import binwalk, plugins) are gone, and the command line options and extraction layout changed.

Replace meta-python's python3-binwalk with a cargo based binwalk recipe in meta-oe, fetched from crates.io. The crates include was generated from the crate's Cargo.lock with the same logic as
'bitbake -c update_crates binwalk'. lzma-sys, bzip2-sys and the fontconfig/freetype -sys crates (entropy plots) link the system libraries. The extractor tools that OE provides are RRECOMMENDS, and RREPLACES/RCONFLICTS python3-binwalk handle upgrades. No recipe in the layers depended on python3-binwalk.

License-Update: copyright changed from "2010-2015 Craig Heffner" to "2024 devttys0" and text rewrapped; still MIT

AI-Generated: Uses Claude Code

---
 .../binwalk/binwalk-crates.inc                | 316 ++++++++++++++++++
 .../recipes-devtools/binwalk/binwalk_3.1.0.bb |  33 ++
 .../python/python3-binwalk_2.3.4.bb           |  25 --
 3 files changed, 349 insertions(+), 25 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/binwalk/binwalk-crates.inc
 create mode 100644 meta-oe/recipes-devtools/binwalk/binwalk_3.1.0.bb
 delete mode 100644 meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb
meta-oe/recipes-devtools/binwalk/binwalk-crates.inc new file +316 -0
new file mode 100644
index 0000000000..a332e3522d
@@ -0,0 +1,316 @@
+# Autogenerated with 'bitbake -c update_crates binwalk'
+
+# from Cargo.lock
+SRC_URI += " \
+    crate://crates.io/adler/1.0.2 \
+    crate://crates.io/adler2/2.0.0 \
+    crate://crates.io/aho-corasick/1.1.3 \
+    crate://crates.io/android-tzdata/0.1.1 \
+    crate://crates.io/android_system_properties/0.1.5 \
+    crate://crates.io/anstream/0.6.15 \
+    crate://crates.io/anstyle/1.0.8 \
+    crate://crates.io/anstyle-parse/0.2.5 \
+    crate://crates.io/anstyle-query/1.1.1 \
+    crate://crates.io/anstyle-wincon/3.0.4 \
+    crate://crates.io/autocfg/1.3.0 \
+    crate://crates.io/base64/0.22.1 \
+    crate://crates.io/bitflags/1.3.2 \
+    crate://crates.io/bitflags/2.6.0 \
+    crate://crates.io/bumpalo/3.16.0 \
+    crate://crates.io/bytemuck/1.18.0 \
+    crate://crates.io/byteorder/1.5.0 \
+    crate://crates.io/bzip2/0.4.4 \
+    crate://crates.io/bzip2-sys/0.1.11+1.0.8 \
+    crate://crates.io/cc/1.1.21 \
+    crate://crates.io/cfg-if/1.0.0 \
+    crate://crates.io/chrono/0.4.38 \
+    crate://crates.io/clap/4.5.18 \
+    crate://crates.io/clap_builder/4.5.18 \
+    crate://crates.io/clap_derive/4.5.18 \
+    crate://crates.io/clap_lex/0.7.2 \
+    crate://crates.io/color_quant/1.1.0 \
+    crate://crates.io/colorchoice/1.0.2 \
+    crate://crates.io/colored/2.1.0 \
+    crate://crates.io/core-foundation/0.9.4 \
+    crate://crates.io/core-foundation-sys/0.8.7 \
+    crate://crates.io/core-graphics/0.23.2 \
+    crate://crates.io/core-graphics-types/0.1.3 \
+    crate://crates.io/core-text/20.1.0 \
+    crate://crates.io/crc32-v2/0.0.4 \
+    crate://crates.io/crc32c/0.6.8 \
+    crate://crates.io/crc32fast/1.4.2 \
+    crate://crates.io/dirs/5.0.1 \
+    crate://crates.io/dirs-sys/0.4.1 \
+    crate://crates.io/dlib/0.5.2 \
+    crate://crates.io/dwrote/0.11.1 \
+    crate://crates.io/entropy/0.4.2 \
+    crate://crates.io/env_filter/0.1.2 \
+    crate://crates.io/env_logger/0.11.5 \
+    crate://crates.io/fdeflate/0.3.4 \
+    crate://crates.io/flate2/1.0.34 \
+    crate://crates.io/float-ord/0.3.2 \
+    crate://crates.io/font-kit/0.14.2 \
+    crate://crates.io/foreign-types/0.5.0 \
+    crate://crates.io/foreign-types-macros/0.2.3 \
+    crate://crates.io/foreign-types-shared/0.3.1 \
+    crate://crates.io/freetype-sys/0.20.1 \
+    crate://crates.io/getrandom/0.2.15 \
+    crate://crates.io/gif/0.12.0 \
+    crate://crates.io/heck/0.5.0 \
+    crate://crates.io/hermit-abi/0.3.9 \
+    crate://crates.io/humantime/2.1.0 \
+    crate://crates.io/iana-time-zone/0.1.61 \
+    crate://crates.io/iana-time-zone-haiku/0.1.2 \
+    crate://crates.io/image/0.24.9 \
+    crate://crates.io/is_terminal_polyfill/1.70.1 \
+    crate://crates.io/itoa/1.0.11 \
+    crate://crates.io/jpeg-decoder/0.3.1 \
+    crate://crates.io/js-sys/0.3.70 \
+    crate://crates.io/lazy_static/1.5.0 \
+    crate://crates.io/libc/0.2.158 \
+    crate://crates.io/libloading/0.8.5 \
+    crate://crates.io/libredox/0.1.3 \
+    crate://crates.io/log/0.4.22 \
+    crate://crates.io/lzma-sys/0.1.20 \
+    crate://crates.io/memchr/2.7.4 \
+    crate://crates.io/miniz_oxide/0.7.4 \
+    crate://crates.io/miniz_oxide/0.8.0 \
+    crate://crates.io/num-traits/0.2.19 \
+    crate://crates.io/num_cpus/1.16.0 \
+    crate://crates.io/once_cell/1.19.0 \
+    crate://crates.io/option-ext/0.2.0 \
+    crate://crates.io/pathfinder_geometry/0.5.1 \
+    crate://crates.io/pathfinder_simd/0.5.4 \
+    crate://crates.io/pkg-config/0.3.30 \
+    crate://crates.io/plotters/0.3.7 \
+    crate://crates.io/plotters-backend/0.3.7 \
+    crate://crates.io/plotters-bitmap/0.3.7 \
+    crate://crates.io/plotters-svg/0.3.7 \
+    crate://crates.io/png/0.17.13 \
+    crate://crates.io/ppv-lite86/0.2.20 \
+    crate://crates.io/proc-macro2/1.0.86 \
+    crate://crates.io/quote/1.0.37 \
+    crate://crates.io/rand/0.8.5 \
+    crate://crates.io/rand_chacha/0.3.1 \
+    crate://crates.io/rand_core/0.6.4 \
+    crate://crates.io/redox_users/0.4.6 \
+    crate://crates.io/regex/1.10.6 \
+    crate://crates.io/regex-automata/0.4.7 \
+    crate://crates.io/regex-syntax/0.8.4 \
+    crate://crates.io/rustc_version/0.4.1 \
+    crate://crates.io/ryu/1.0.18 \
+    crate://crates.io/same-file/1.0.6 \
+    crate://crates.io/semver/1.0.23 \
+    crate://crates.io/serde/1.0.210 \
+    crate://crates.io/serde_derive/1.0.210 \
+    crate://crates.io/serde_json/1.0.128 \
+    crate://crates.io/shlex/1.3.0 \
+    crate://crates.io/simd-adler32/0.3.7 \
+    crate://crates.io/strsim/0.11.1 \
+    crate://crates.io/syn/2.0.77 \
+    crate://crates.io/termsize/0.1.9 \
+    crate://crates.io/thiserror/1.0.63 \
+    crate://crates.io/thiserror-impl/1.0.63 \
+    crate://crates.io/threadpool/1.8.1 \
+    crate://crates.io/ttf-parser/0.20.0 \
+    crate://crates.io/unicode-ident/1.0.13 \
+    crate://crates.io/utf8parse/0.2.2 \
+    crate://crates.io/uuid/1.10.0 \
+    crate://crates.io/uuid-macro-internal/1.10.0 \
+    crate://crates.io/walkdir/2.5.0 \
+    crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
+    crate://crates.io/wasm-bindgen/0.2.93 \
+    crate://crates.io/wasm-bindgen-backend/0.2.93 \
+    crate://crates.io/wasm-bindgen-macro/0.2.93 \
+    crate://crates.io/wasm-bindgen-macro-support/0.2.93 \
+    crate://crates.io/wasm-bindgen-shared/0.2.93 \
+    crate://crates.io/web-sys/0.3.70 \
+    crate://crates.io/weezl/0.1.8 \
+    crate://crates.io/winapi/0.3.9 \
+    crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
+    crate://crates.io/winapi-util/0.1.9 \
+    crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
+    crate://crates.io/windows-core/0.52.0 \
+    crate://crates.io/windows-sys/0.48.0 \
+    crate://crates.io/windows-sys/0.52.0 \
+    crate://crates.io/windows-sys/0.59.0 \
+    crate://crates.io/windows-targets/0.48.5 \
+    crate://crates.io/windows-targets/0.52.6 \
+    crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
+    crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
+    crate://crates.io/windows_aarch64_msvc/0.48.5 \
+    crate://crates.io/windows_aarch64_msvc/0.52.6 \
+    crate://crates.io/windows_i686_gnu/0.48.5 \
+    crate://crates.io/windows_i686_gnu/0.52.6 \
+    crate://crates.io/windows_i686_gnullvm/0.52.6 \
+    crate://crates.io/windows_i686_msvc/0.48.5 \
+    crate://crates.io/windows_i686_msvc/0.52.6 \
+    crate://crates.io/windows_x86_64_gnu/0.48.5 \
+    crate://crates.io/windows_x86_64_gnu/0.52.6 \
+    crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
+    crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
+    crate://crates.io/windows_x86_64_msvc/0.48.5 \
+    crate://crates.io/windows_x86_64_msvc/0.52.6 \
+    crate://crates.io/wio/0.2.2 \
+    crate://crates.io/xxhash-rust/0.8.12 \
+    crate://crates.io/xz2/0.1.7 \
+    crate://crates.io/yeslogic-fontconfig-sys/6.0.0 \
+    crate://crates.io/zerocopy/0.7.35 \
+    crate://crates.io/zerocopy-derive/0.7.35 \
+"
+
+SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+SRC_URI[adler2-2.0.0.sha256sum] = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
+SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
+SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
+SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
+SRC_URI[anstream-0.6.15.sha256sum] = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526"
+SRC_URI[anstyle-1.0.8.sha256sum] = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
+SRC_URI[anstyle-parse-0.2.5.sha256sum] = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb"
+SRC_URI[anstyle-query-1.1.1.sha256sum] = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a"
+SRC_URI[anstyle-wincon-3.0.4.sha256sum] = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8"
+SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
+SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+SRC_URI[bumpalo-3.16.0.sha256sum] = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+SRC_URI[bytemuck-1.18.0.sha256sum] = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae"
+SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+SRC_URI[bzip2-0.4.4.sha256sum] = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
+SRC_URI[bzip2-sys-0.1.11+1.0.8.sha256sum] = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
+SRC_URI[cc-1.1.21.sha256sum] = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0"
+SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+SRC_URI[chrono-0.4.38.sha256sum] = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
+SRC_URI[clap-4.5.18.sha256sum] = "b0956a43b323ac1afaffc053ed5c4b7c1f1800bacd1683c353aabbb752515dd3"
+SRC_URI[clap_builder-4.5.18.sha256sum] = "4d72166dd41634086d5803a47eb71ae740e61d84709c36f3c34110173db3961b"
+SRC_URI[clap_derive-4.5.18.sha256sum] = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab"
+SRC_URI[clap_lex-0.7.2.sha256sum] = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
+SRC_URI[color_quant-1.1.0.sha256sum] = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
+SRC_URI[colorchoice-1.0.2.sha256sum] = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0"
+SRC_URI[colored-2.1.0.sha256sum] = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
+SRC_URI[core-foundation-0.9.4.sha256sum] = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
+SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
+SRC_URI[core-graphics-0.23.2.sha256sum] = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081"
+SRC_URI[core-graphics-types-0.1.3.sha256sum] = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf"
+SRC_URI[core-text-20.1.0.sha256sum] = "c9d2790b5c08465d49f8dc05c8bcae9fea467855947db39b0f8145c091aaced5"
+SRC_URI[crc32-v2-0.0.4.sha256sum] = "7f546fcecc3490696c3bea070d8949208279bbc220a5a7738573a10f584cda51"
+SRC_URI[crc32c-0.6.8.sha256sum] = "3a47af21622d091a8f0fb295b88bc886ac74efcc613efc19f5d0b21de5c89e47"
+SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
+SRC_URI[dirs-5.0.1.sha256sum] = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
+SRC_URI[dirs-sys-0.4.1.sha256sum] = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
+SRC_URI[dlib-0.5.2.sha256sum] = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412"
+SRC_URI[dwrote-0.11.1.sha256sum] = "2da3498378ed373237bdef1eddcc64e7be2d3ba4841f4c22a998e81cadeea83c"
+SRC_URI[entropy-0.4.2.sha256sum] = "d68716e45ef572f351be6fad93a7bbf35242b4289a2ff75434032e5d73d74cc2"
+SRC_URI[env_filter-0.1.2.sha256sum] = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab"
+SRC_URI[env_logger-0.11.5.sha256sum] = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d"
+SRC_URI[fdeflate-0.3.4.sha256sum] = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645"
+SRC_URI[flate2-1.0.34.sha256sum] = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0"
+SRC_URI[float-ord-0.3.2.sha256sum] = "8ce81f49ae8a0482e4c55ea62ebbd7e5a686af544c00b9d090bba3ff9be97b3d"
+SRC_URI[font-kit-0.14.2.sha256sum] = "b64b34f4efd515f905952d91bc185039863705592c0c53ae6d979805dd154520"
+SRC_URI[foreign-types-0.5.0.sha256sum] = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
+SRC_URI[foreign-types-macros-0.2.3.sha256sum] = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742"
+SRC_URI[foreign-types-shared-0.3.1.sha256sum] = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
+SRC_URI[freetype-sys-0.20.1.sha256sum] = "0e7edc5b9669349acfda99533e9e0bcf26a51862ab43b08ee7745c55d28eb134"
+SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
+SRC_URI[gif-0.12.0.sha256sum] = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045"
+SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+SRC_URI[hermit-abi-0.3.9.sha256sum] = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
+SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+SRC_URI[iana-time-zone-0.1.61.sha256sum] = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
+SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
+SRC_URI[image-0.24.9.sha256sum] = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d"
+SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
+SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
+SRC_URI[jpeg-decoder-0.3.1.sha256sum] = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0"
+SRC_URI[js-sys-0.3.70.sha256sum] = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
+SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
+SRC_URI[libc-0.2.158.sha256sum] = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
+SRC_URI[libloading-0.8.5.sha256sum] = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
+SRC_URI[libredox-0.1.3.sha256sum] = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
+SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+SRC_URI[lzma-sys-0.1.20.sha256sum] = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27"
+SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+SRC_URI[miniz_oxide-0.7.4.sha256sum] = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
+SRC_URI[miniz_oxide-0.8.0.sha256sum] = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
+SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+SRC_URI[num_cpus-1.16.0.sha256sum] = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
+SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+SRC_URI[option-ext-0.2.0.sha256sum] = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
+SRC_URI[pathfinder_geometry-0.5.1.sha256sum] = "0b7b7e7b4ea703700ce73ebf128e1450eb69c3a8329199ffbfb9b2a0418e5ad3"
+SRC_URI[pathfinder_simd-0.5.4.sha256sum] = "5cf07ef4804cfa9aea3b04a7bbdd5a40031dbb6b4f2cbaf2b011666c80c5b4f2"
+SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
+SRC_URI[plotters-0.3.7.sha256sum] = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
+SRC_URI[plotters-backend-0.3.7.sha256sum] = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
+SRC_URI[plotters-bitmap-0.3.7.sha256sum] = "72ce181e3f6bf82d6c1dc569103ca7b1bd964c60ba03d7e6cdfbb3e3eb7f7405"
+SRC_URI[plotters-svg-0.3.7.sha256sum] = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
+SRC_URI[png-0.17.13.sha256sum] = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1"
+SRC_URI[ppv-lite86-0.2.20.sha256sum] = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
+SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
+SRC_URI[quote-1.0.37.sha256sum] = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
+SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+SRC_URI[redox_users-0.4.6.sha256sum] = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
+SRC_URI[regex-1.10.6.sha256sum] = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
+SRC_URI[regex-automata-0.4.7.sha256sum] = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
+SRC_URI[regex-syntax-0.8.4.sha256sum] = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
+SRC_URI[rustc_version-0.4.1.sha256sum] = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
+SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
+SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+SRC_URI[semver-1.0.23.sha256sum] = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
+SRC_URI[serde-1.0.210.sha256sum] = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
+SRC_URI[serde_derive-1.0.210.sha256sum] = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
+SRC_URI[serde_json-1.0.128.sha256sum] = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
+SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+SRC_URI[simd-adler32-0.3.7.sha256sum] = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
+SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
+SRC_URI[syn-2.0.77.sha256sum] = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
+SRC_URI[termsize-0.1.9.sha256sum] = "6f11ff5c25c172608d5b85e2fb43ee9a6d683a7f4ab7f96ae07b3d8b590368fd"
+SRC_URI[thiserror-1.0.63.sha256sum] = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
+SRC_URI[thiserror-impl-1.0.63.sha256sum] = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
+SRC_URI[threadpool-1.8.1.sha256sum] = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa"
+SRC_URI[ttf-parser-0.20.0.sha256sum] = "17f77d76d837a7830fe1d4f12b7b4ba4192c1888001c7164257e4bc6d21d96b4"
+SRC_URI[unicode-ident-1.0.13.sha256sum] = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
+SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
+SRC_URI[uuid-1.10.0.sha256sum] = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
+SRC_URI[uuid-macro-internal-1.10.0.sha256sum] = "ee1cd046f83ea2c4e920d6ee9f7c3537ef928d75dce5d84a87c2c5d6b3999a3a"
+SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+SRC_URI[wasm-bindgen-0.2.93.sha256sum] = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
+SRC_URI[wasm-bindgen-backend-0.2.93.sha256sum] = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
+SRC_URI[wasm-bindgen-macro-0.2.93.sha256sum] = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
+SRC_URI[wasm-bindgen-macro-support-0.2.93.sha256sum] = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
+SRC_URI[wasm-bindgen-shared-0.2.93.sha256sum] = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
+SRC_URI[web-sys-0.3.70.sha256sum] = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0"
+SRC_URI[weezl-0.1.8.sha256sum] = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082"
+SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
+SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+SRC_URI[windows-core-0.52.0.sha256sum] = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
+SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
+SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
+SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
+SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
+SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
+SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
+SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
+SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
+SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
+SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+SRC_URI[wio-0.2.2.sha256sum] = "5d129932f4644ac2396cb456385cbf9e63b5b30c6e8dc4820bdca4eb082037a5"
+SRC_URI[xxhash-rust-0.8.12.sha256sum] = "6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984"
+SRC_URI[xz2-0.1.7.sha256sum] = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2"
+SRC_URI[yeslogic-fontconfig-sys-6.0.0.sha256sum] = "503a066b4c037c440169d995b869046827dbc71263f6e8f3be6d77d4f3229dbd"
+SRC_URI[zerocopy-0.7.35.sha256sum] = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
+SRC_URI[zerocopy-derive-0.7.35.sha256sum] = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
meta-oe/recipes-devtools/binwalk/binwalk_3.1.0.bb new file +33 -0
new file mode 100644
index 0000000000..f8b06a32ef
@@ -0,0 +1,33 @@
+SUMMARY = "Firmware analysis tool"
+DESCRIPTION = "Binwalk identifies, and optionally extracts, files and data \
+embedded inside other files, such as firmware images."
+HOMEPAGE = "https://github.com/ReFirmLabs/binwalk"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1b10c9218a44cbb4b7efb15b5288898b"
+
+SRC_URI = "crate://crates.io/binwalk/${PV};name=binwalk"
+SRC_URI[binwalk.sha256sum] = "99d5dc70f5021c55624f098adae4d1de9c1c07d000475664704b675aad7e0811"
+S = "${CARGO_VENDORING_DIRECTORY}/binwalk-${PV}"
+
+CVE_PRODUCT = "binwalk"
+
+inherit cargo cargo-update-recipe-crates pkgconfig
+
+require ${BPN}-crates.inc
+
+# lzma-sys, bzip2-sys, yeslogic-fontconfig-sys and freetype-sys
+DEPENDS += "bzip2 fontconfig freetype xz"
+
+# External extraction utilities run by binwalk -e that OE provides
+RRECOMMENDS:${PN} += " \
+    7zip \
+    cabextract \
+    dtc \
+    lz4 \
+    lzop \
+    tar \
+    zstd \
+"
+
+RREPLACES:${PN} = "python3-binwalk"
+RCONFLICTS:${PN} = "python3-binwalk"
meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb deleted +0 -25
deleted file mode 100644
index e2d6b24acb..0000000000
@@ -1,25 +0,0 @@
-SUMMARY = "Firmware analysis tool"
-DESCRIPTION = "This package contains Python Binwalk tool. Binwalk is a fast, \
-easy to use tool for analyzing, reverse engineering, and extracting firmware \
-images."
-HOMEPAGE = "https://github.com/ReFirmLabs/binwalk"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=65bbee055d3ea3bfc475f07aecf4de64"
-
-SRC_URI = "git://github.com/ReFirmLabs/binwalk;protocol=https;branch=master"
-
-SRCREV = "cddfede795971045d99422bd7a9676c8803ec5ee"
-
-CVE_PRODUCT = "binwalk"
-
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
-
-inherit setuptools3
-
-RDEPENDS:${PN} += " \
-    python3-compression \
-    python3-logging \
-    python3-netserver \
-    python3-setuptools \
-    python3-stringold \
-"
author
#51 lore raw

PATCH 46/55 inotify-tools: upgrade 4.25.9.0 -> 4.26.291

In reply to Khem Raj

inotify-tools was rewritten in Rust. The tools and libinotifytools are meant as drop-in replacements: the library keeps SONAME libinotifytools.so.0 and the C headers. Upstream now releases every green commit on master as <series>.<commit count>. Also new:
- fanotify mount and filesystem watches (btrfs sub-volumes, overlayfs)
- filenames preserved in fanotify delete and move events
- timeouts respected while waiting for filtered or batched events

Autotools is gone; the top-level GNU Makefile runs cargo for the workspace, generates the headers and man pages and installs the historical layout. Build with the cargo class and call make with the OE target triple, profile and target dir. Use the release tarball, which has the full version stamped in VERSION. The only crate is libc; the crates include was generated from Cargo.lock with the same logic as 'bitbake -c update_crates inotify-tools'. The static library is not installed, as with the old --disable-static build. The ptest keeps running the C++ C-ABI unit test (libinotifytools/src/test.cpp), now built against the Rust cdylib. The upstream package metadata (Cargo.toml) declares GPL-2.0-or-later and COPYING is the GPLv2 text, so LICENSE becomes GPL-2.0-or-later.

AI-Generated: Uses Claude Code

---
 .../inotify-tools/inotify-tools-crates.inc    |  8 +++
 .../inotify-tools/inotify-tools_4.25.9.0.bb   | 37 ------------
 .../inotify-tools/inotify-tools_4.26.291.bb   | 57 +++++++++++++++++++
 3 files changed, 65 insertions(+), 37 deletions(-)
 create mode 100644 meta-oe/recipes-support/inotify-tools/inotify-tools-crates.inc
 delete mode 100644 meta-oe/recipes-support/inotify-tools/inotify-tools_4.25.9.0.bb
 create mode 100644 meta-oe/recipes-support/inotify-tools/inotify-tools_4.26.291.bb
meta-oe/recipes-support/inotify-tools/inotify-tools-crates.inc new file +8 -0
new file mode 100644
index 0000000000..90ab41a802
@@ -0,0 +1,8 @@
+# Autogenerated with 'bitbake -c update_crates inotify-tools'
+
+# from Cargo.lock
+SRC_URI += " \
+    crate://crates.io/libc/0.2.183 \
+"
+
+SRC_URI[libc-0.2.183.sha256sum] = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d"
meta-oe/recipes-support/inotify-tools/inotify-tools_4.25.9.0.bb deleted +0 -37
deleted file mode 100644
index a03b835641..0000000000
@@ -1,37 +0,0 @@
-SUMMARY = "Command line tools and C library providing a simple interface to inotify"
-HOMEPAGE = "http://wiki.github.com/rvoicilas/inotify-tools"
-SECTION = "console/devel"
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=ac6c26e52aea428ee7f56dc2c56424c6"
-
-SRCREV = "81c6c9881edf4844f2b8250e63f82da9cb7f5444"
-
-SRC_URI = "git://github.com/${BPN}/${BPN};branch=master;protocol=https \
-           file://run-ptest \
-           "
-
-
-inherit autotools ptest
-
-EXTRA_OECONF = "--disable-doxygen"
-
-# workaround until glibc 2.35 is fixed for this [1]
-# [1] https://sourceware.org/pipermail/libc-alpha/2021-December/134215.html
-CFLAGS += "-Wno-error"
-
-PACKAGES =+ "libinotifytools"
-
-FILES:libinotifytools = "${libdir}/lib*.so.*"
-
-do_compile_ptest() {
-        cd libinotifytools/src
-        oe_runmake
-        oe_runmake test
-}
-
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}
-    cp -r ${B}/libinotifytools/src/.libs/test ${D}${PTEST_PATH}/
-}
-
-FILES:${PN}-ptest += "${PTEST_PATH}"
meta-oe/recipes-support/inotify-tools/inotify-tools_4.26.291.bb new file +57 -0

57 lines not on this page · raw message

author
#52 lore raw

PATCH 47/55 webkitgtk3: Sync with oe-core webkitgtk 2.54.3

In reply to Khem Raj

webkitgtk3 is the GTK 3 (API 4.1) build of the oe-core webkitgtk recipe, which gets updated more often. Bring the recipe in line with oe-core's webkitgtk_2.54.3.bb, keeping only the GTK 3 differences (gtk+3, -DUSE_GTK4=OFF, the webkitgtk tarball name and S, the webkit2gtk-4.1 injected bundle path and the WebKitWebDriver3 rename):

- Add 0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch:
libpas includes <stdatomic.h> unconditionally since 310886@main, which breaks C++ translation units in GCC cross builds.
- Add t6-not-declared.patch and 0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch; the latter replaces our own 0001-FindGI-drop-bare-system-include-dirs patch, fixing the bare -I/usr/include at its source.
- Take oe-core's refreshed versions of the shared patches.
- Drop cairo from DEPENDS (oe-core d71d5f9c4d82): 2.54 removed the option to render with cairo. Also drop libnotify (unused) and libepoxy (comes with gtk+3).
- Add the assertions PACKAGECONFIG, -DENABLE_RELEASE_LOG=ON, and use oe.utils.vartrue for the introspection and documentation options.
- Disable the JIT on riscv64, mark 32-bit x86 incompatible (broken since 2.52.4) and disable ccache, as oe-core does.
- Drop TOOLCHAIN:arm = "gcc": it worked around a clang 21 bug that is fixed in clang 22 and later.

Keep gstreamer1.0-plugins-bad in DEPENDS: the video support needs its gstreamer-mpegts library. oe-core gets it through the gstreamer media backend of gtk4, which gtk+3 does not have.

Keep no-musttail-arm.patch, which oe-core does not carry because it builds with gcc by default.

AI-Generated: Uses Claude Code

---
 ...able-to-control-macro-__PAS_ALWAYS_I.patch | 18 +++--
 ...-system-include-dirs-from-g-ir-scann.patch | 72 ------------------
 ...spection.cmake-prefix-variables-obta.patch |  4 +-
 ...dGLib.cmake-do-not-set-include-dirs-.patch | 30 ++++++++
 ...clude-stdatomic.h-from-C-translation.patch | 57 ++++++++++++++
 .../webkitgtk3/fix-ftbfs-riscv64.patch        | 27 +++++--
 .../webkitgtk3/reproducibility.patch          |  8 +-
 .../webkitgtk/webkitgtk3/sys_futex.patch      | 11 ++-
 .../webkitgtk3/t6-not-declared.patch          | 35 +++++++++
 .../webkitgtk/webkitgtk3_2.54.3.bb            | 75 ++++++++++---------
 10 files changed, 209 insertions(+), 128 deletions(-)
 delete mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch
 create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch
 create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch
 create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/t6-not-declared.patch
meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch +12 -6
index 87f6608592..5e1fb8b265 100644
@@ -1,4 +1,4 @@
-From bbf661310448d430350eb2ad8c5869ace648dcf8 Mon Sep 17 00:00:00 2001
+From 73f7316ee08a5369555e3e631d48ba6a5a01cf9e Mon Sep 17 00:00:00 2001
 From: Kai Kang <[email protected]>
 Date: Fri, 11 Aug 2023 14:20:48 +0800
 Subject: [PATCH] Add a variable to control macro
@@ -35,18 +35,21 @@ gcc option `-Og` is used.
 * Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:
 * Source/cmake/WebKitCompilerFlags.cmake:
 
+Rebased on 2.54.2.
+
 Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/16601]
 
 Signed-off-by: Kai Kang <[email protected]>
-Signed-off-by: Jiaying Song <[email protected]>
 ---
  Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h | 2 +-
- Source/cmake/WebKitCompilerFlags.cmake              | 7 +++++++
- 2 files changed, 8 insertions(+), 1 deletion(-)
+ Source/cmake/WebKitCompilerFlags.cmake              | 8 ++++++++
+ 2 files changed, 9 insertions(+), 1 deletion(-)
 
+diff --git a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
+index c42ee5f1..353c58f3 100644
 --- a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
 +++ b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
-@@ -45,7 +45,7 @@
+@@ -45,7 +45,7 @@ __PAS_BEGIN_EXTERN_C;
  #define __SUSPICIOUS__
  #define __BROKEN__
  
@@ -55,13 +58,16 @@ Signed-off-by: Jiaying Song <[email protected]>
  #define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE __attribute__((__always_inline__))
  #else
  #define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE
+diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake
+index 0793c789..9a139f2f 100644
 --- a/Source/cmake/WebKitCompilerFlags.cmake
 +++ b/Source/cmake/WebKitCompilerFlags.cmake
-@@ -635,3 +635,10 @@
+@@ -635,3 +635,11 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND WTF_CPU_MIPS)
      # (see comment #28 in the link above).
      WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-mno-lxc1-sxc1)
  endif ()
 +
++# rebased on 2.54.2
 +# It fails to compile with `gcc -Og`
 +set(WEBKIT_NO_INLINE_HINTS OFF CACHE BOOL "Disable funtion attribute always_inline for WebKit")
 +
meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch deleted +0 -72

72 lines not on this page · raw message

meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch +2 -2
index 06030c047c..5a9be94836 100644
@@ -1,4 +1,4 @@
-From e68e87c14243b1c8707c56883a53e841310974a1 Mon Sep 17 00:00:00 2001
+From 773c76b7f22c213fd8b67dc6952c3c715973ee4d Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Tue, 27 Oct 2015 16:02:19 +0200
 Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
@@ -14,7 +14,7 @@ Signed-off-by: Alexander Kanavin <[email protected]>
  1 file changed, 3 insertions(+)
 
 diff --git a/Source/cmake/FindGI.cmake b/Source/cmake/FindGI.cmake
-index fdc56b21..d42eca52 100644
+index a8a56fdd..572ca99c 100644
 --- a/Source/cmake/FindGI.cmake
 +++ b/Source/cmake/FindGI.cmake
 @@ -72,6 +72,9 @@ if (PKG_CONFIG_FOUND)
meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch new file +30 -0
new file mode 100644
index 0000000000..cabdd3dab1
@@ -0,0 +1,30 @@
+From f4361f879eefd480197ba0210d102c2100a4c24b Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <[email protected]>
+Date: Sun, 21 Jun 2026 22:57:24 +0200
+Subject: [PATCH] Source/cmake/FindGLib.cmake: do not set include dirs from
+ INCLUDEDIR
+
+The correct include directory set is provided by INCLUDE_DIRS (e.g. the following line).
+INCLUDEDIR is a prefix to them (e.g. it's set to /usr/include in most cases), and adding
+it is causing problems in cross-compile scenarios where the build is performed against
+a system root and include locations are substituted to that using pkg-config override
+mechanisms.
+
+Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/67960]
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ Source/cmake/FindGLib.cmake | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Source/cmake/FindGLib.cmake b/Source/cmake/FindGLib.cmake
+index b6ff9283..e9697ba8 100644
+--- a/Source/cmake/FindGLib.cmake
++++ b/Source/cmake/FindGLib.cmake
+@@ -195,7 +195,6 @@ function(GLib_HandleComponent name)
+     list(TRANSFORM dependencies PREPEND GLib::)
+     add_library(GLib::${name} UNKNOWN IMPORTED GLOBAL)
+     set_target_properties(GLib::${name} PROPERTIES IMPORTED_LOCATION "${GLib_${name}_LIBRARY}")
+-    target_include_directories(GLib::${name} INTERFACE ${PC_GLib_${name}_INCLUDEDIR})
+     target_include_directories(GLib::${name} INTERFACE ${PC_GLib_${name}_INCLUDE_DIRS})
+     target_compile_options(GLib::${name} INTERFACE ${PC_GLib_${name}_CFLAGS})
+     target_compile_options(GLib::${name} INTERFACE ${PC_GLib_${name}_CFLAGS_OTHER})
meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch new file +57 -0

57 lines not on this page · raw message

meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch +19 -8
index 00347ef3e1..5d1687f039 100644
@@ -1,14 +1,23 @@
+From c9ef6dd13cbdc16b1ba50757451d631f572c723d Mon Sep 17 00:00:00 2001
 From: Alberto Garcia <[email protected]>
-Description: Use WTF_CPU_UNKNOWN when building for riscv64
- WebKitGTK doesn't build on riscv64 even with the JIT disabled.
- Treating the CPU as unknown is perhaps a bit severe, but it allows us
- to get the build done until someone steps up to maintain this
- properly.
+Date: Fri, 19 Dec 2025 10:10:41 +0000
+Subject: [PATCH] Use WTF_CPU_UNKNOWN when building for riscv64
+
+WebKitGTK doesn't build on riscv64 even with the JIT disabled.
+Treating the CPU as unknown is perhaps a bit severe, but it allows us
+to get the build done until someone steps up to maintain this
+properly.
 Bug: https://bugs.webkit.org/show_bug.cgi?id=271371
-Forwarded: no
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=271371#c1]
 Signed-off-by: Khem Raj <[email protected]>
+---
+ Source/WTF/wtf/PlatformCPU.h    | 8 --------
+ Source/cmake/WebKitCommon.cmake | 2 --
+ 2 files changed, 10 deletions(-)
+
+diff --git a/Source/WTF/wtf/PlatformCPU.h b/Source/WTF/wtf/PlatformCPU.h
+index fabd6cba..c8639827 100644
 --- a/Source/WTF/wtf/PlatformCPU.h
 +++ b/Source/WTF/wtf/PlatformCPU.h
 @@ -286,14 +286,6 @@
@@ -26,9 +35,11 @@ Signed-off-by: Khem Raj <[email protected]>
  #if !CPU(KNOWN)
  #define WTF_CPU_UNKNOWN 1
  #endif
+diff --git a/Source/cmake/WebKitCommon.cmake b/Source/cmake/WebKitCommon.cmake
+index d96e1850..3daa0eaf 100644
 --- a/Source/cmake/WebKitCommon.cmake
 +++ b/Source/cmake/WebKitCommon.cmake
-@@ -125,8 +125,6 @@ if (NOT HAS_RUN_WEBKIT_COMMON)
+@@ -186,8 +186,6 @@ if (NOT HAS_RUN_WEBKIT_COMMON)
          set(WTF_CPU_PPC64 1)
      elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le")
          set(WTF_CPU_PPC64LE 1)
meta-oe/recipes-support/webkitgtk/webkitgtk3/reproducibility.patch +4 -4
index 0a5720c99e..9ca40a0ad3 100644
@@ -1,7 +1,7 @@
-From 7336dfd02c20ec9b2a984e1e42d17201af55c8f5 Mon Sep 17 00:00:00 2001
+From f0c2db534b2807465a36f6e23011dad9cf711da3 Mon Sep 17 00:00:00 2001
 From: Richard Purdie <[email protected]>
-Date: Thu, 27 Jul 2023 22:09:06 +0200
-Subject: [PATCH] webkitgtk3: add recipe
+Date: Mon, 3 Jan 2022 14:18:34 +0000
+Subject: [PATCH] webkitgtk: Add reproducibility fix
 
 Injection a year based on the current date isn't reproducible. Hack this
 to a specific year for now for reproducibilty and to avoid autobuilder failures.
@@ -16,7 +16,7 @@ Signed-off-by: Richard Purdie <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Source/JavaScriptCore/generator/GeneratedFile.rb b/Source/JavaScriptCore/generator/GeneratedFile.rb
-index 6ed2b6e4..86a28286 100644
+index 9a951947..d499ae30 100644
 --- a/Source/JavaScriptCore/generator/GeneratedFile.rb
 +++ b/Source/JavaScriptCore/generator/GeneratedFile.rb
 @@ -25,7 +25,7 @@ require 'date'
meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch +10 -1
index 19d18dea88..decd5d0d5c 100644
@@ -1,7 +1,16 @@
-Fix build on newer 32bit architectures with only 64bit time_t
+From d537da81bbec0c05e10525c0a29e0af9128c0ce4 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Wed, 18 Dec 2024 20:24:22 -0800
+Subject: [PATCH] Fix build on newer 32bit architectures with only 64bit time_t
 
 Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/angle/angle/+/6108397]
 Signed-off-by: Khem Raj <[email protected]>
+---
+ Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp b/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
+index 4ed0af51..11feda6c 100644
 --- a/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
 +++ b/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
 @@ -17,6 +17,9 @@
meta-oe/recipes-support/webkitgtk/webkitgtk3/t6-not-declared.patch new file +35 -0
new file mode 100644
index 0000000000..2a59f3b2d9
@@ -0,0 +1,35 @@
+From 668ee03b07f9d64b1e7eaefba6c74ed1975f7b7c Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro <[email protected]>
+Date: Mon, 5 Feb 2024 11:00:49 -0600
+Subject: [PATCH] =?UTF-8?q?LowLevelInterpreter.cpp:339:21:=20error:=20?=
+ =?UTF-8?q?=E2=80=98t6=E2=80=99=20was=20not=20declared=20in=20this=20scope?=
+ =?UTF-8?q?=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid=3D268739?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Unreviewed build fix. Seems a backport went badly, and we didn't notice
+because the code is architecture-specific.
+
+* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:
+(JSC::CLoop::execute):
+
+Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/3d5373575695b293b8559155431d0079a6153aff]
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+index dd0b44de..c0a68a22 100644
+--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
++++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+@@ -345,8 +345,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm,
+     UNUSED_VARIABLE(t2);
+     UNUSED_VARIABLE(t3);
+     UNUSED_VARIABLE(t5);
+-    UNUSED_VARIABLE(t6);
+-    UNUSED_VARIABLE(t7);
+ 
+     struct StackPointerScope {
+         StackPointerScope(CLoopStack& stack)
meta-oe/recipes-support/webkitgtk/webkitgtk3_2.54.3.bb +40 -35

144 lines not on this page · raw message

author
#53 lore raw

PATCH 48/55 sdbus-c++-libsystemd, systemd-repart-native: upgrade 262 -> 262.2

In reply to Khem Raj

Both recipes require oe-core's systemd.inc, whose SRCREV moved to v262.2 with oe-core's systemd 262.2 upgrade (4ccd16d6e8). With PV still 262, the fetcher rejects the source because tag v262 does not match that SRCREV:

The revision the git tag 'v262' resolved to didn't match the SRCREV in use (8cc40e0c... vs 63511d72...)

Follow oe-core to 262.2, a v262-stable bug fix release.

AI-Generated: Uses Claude Code

---
 ...{sdbus-c++-libsystemd_262.bb => sdbus-c++-libsystemd_262.2.bb} | 0
 ...ystemd-repart-native_262.bb => systemd-repart-native_262.2.bb} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-libsystemd_262.bb => sdbus-c++-libsystemd_262.2.bb} (100%)
 rename meta-oe/recipes-core/systemd/{systemd-repart-native_262.bb => systemd-repart-native_262.2.bb} (100%)
meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.2.bb renamed from meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb
rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.2.bb
meta-oe/recipes-core/systemd/systemd-repart-native_262.2.bb renamed from meta-oe/recipes-core/systemd/systemd-repart-native_262.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-core/systemd/systemd-repart-native_262.bb
rename to meta-oe/recipes-core/systemd/systemd-repart-native_262.2.bb
author
#54 lore raw

PATCH 49/55 bcu: Fix build with CMake 4.5

In reply to Khem Raj

CMakeLists.txt runs create_version_h.sh directly with execute_process(). The script has no "#!" line, which CMake 4.5 no longer tolerates: the exec fails with "exec format error", configure carries on, version.h is never generated and do_compile fails with:

bcu.c:58:10: fatal error: 'version.h' file not found

Add a shebang to the script. Also add UPSTREAM_CHECK_GITTAGREGEX so only bcu_X.Y.Z release tags are considered (the tag list also has a stray bcu__1.0.173).

AI-Generated: Uses Claude Code

---
 ...01-create_version_h.sh-Add-a-shebang.patch | 30 +++++++++++++++++++
 meta-oe/recipes-support/bcu/bcu_1.2.1.bb      |  3 ++
 2 files changed, 33 insertions(+)
 create mode 100644 meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch
meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch new file +30 -0
new file mode 100644
index 0000000000..d8d05eb794
@@ -0,0 +1,30 @@
+From 5cf6653144fe9b3dcb892f40cb919d4536711a5a Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Mon, 23 Nov 2026 19:28:03 -0800
+Subject: [PATCH] create_version_h.sh: Add a shebang
+
+CMake runs this script directly through execute_process(). Without a
+"#!" line the kernel cannot execute it, and CMake 4.5 reports
+"exec format error" and carries on, so version.h is never created
+and the build fails with:
+
+  bcu.c:58:10: fatal error: 'version.h' file not found
+
+Add a /bin/sh shebang so the script can be run directly.
+
+Upstream-Status: Pending
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ create_version_h.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/create_version_h.sh b/create_version_h.sh
+index e777359..0b6ed65 100755
+--- a/create_version_h.sh
++++ b/create_version_h.sh
+@@ -1,3 +1,4 @@
++#!/bin/sh
+ echo creating ${1}/version.h
+ 
+ if [ "${APPVEYOR_BUILD_VERSION}" = "" ];
meta-oe/recipes-support/bcu/bcu_1.2.1.bb +3 -0
index 19ea077e90..3a1e80ece5 100644
@@ -11,9 +11,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=884d48c2aa7b82e1ad4a33909fab24b6"
 
 SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;nobranch=1;tag=${BPN}_${PV} \
            file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \
+           file://0001-create_version_h.sh-Add-a-shebang.patch \
            "
 SRCREV = "1c79dcf115bcf2c8ad632dadbc749c5e25c52cb1"
 
+UPSTREAM_CHECK_GITTAGREGEX = "^bcu_(?P<pver>\d+(\.\d+)+)$"
+
 
 DEPENDS = "curl libyaml libusb1 openssl libftdi"
 
author
#55 lore raw

PATCH 50/55 libmtp: Fix upstream version check

In reply to Khem Raj

The unanchored UPSTREAM_CHECK_REGEX matches any dotted number on the GitHub releases page, including ones from GitHub's own page markup, and the check reports 11.28. Match only release tag links (v<version>).

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-connectivity/libmtp/libmtp_1.1.23.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/libmtp/libmtp_1.1.23.bb +1 -1
index a991c0a670..6d724b8047 100644
@@ -21,7 +21,7 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.g
 SRC_URI[sha256sum] = "74a2b6e8cb4a0304e95b995496ea3ac644c29371649b892b856e22f12a0bdeed"
 
 UPSTREAM_CHECK_URI = "https://github.com/libmtp/libmtp/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)$"
 
 inherit autotools pkgconfig lib_package
 
author
#56 lore raw

PATCH 51/55 czmq: Fix upstream version check

In reply to Khem Raj

The unanchored UPSTREAM_CHECK_REGEX matches any dotted number on the GitHub releases page, including ones from GitHub's own page markup, and the check reports 11.28. Match only release tag links (v<version>).

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb +1 -1
index 9a71c2e0eb..1327f71ece 100644
@@ -9,7 +9,7 @@ SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.ta
 SRC_URI[sha256sum] = "5d720a204c2a58645d6f7643af15d563a712dad98c9d32c1ed913377daa6ac39"
 
 UPSTREAM_CHECK_URI = "https://github.com/zeromq/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)$"
 
 inherit cmake pkgconfig
 
author
#57 lore raw

PATCH 1/14 python3-rstr: upgrade 3.2.2 -> 4.0.0

In reply to Khem Raj

- Xeger and Rstr are now distinct classes; Xeger no longer inherits from the base class
- Default to the SystemRandom() CSPRNG
- Expose star_plus_limit on Xeger and fix errors with repeats larger than it; explicit repeats like a{1000} are no longer limited by it
- Require Python 3.11 or newer; support up to Python 3.16

AI-Generated: Uses Claude Code

---
 .../python/{python3-rstr_3.2.2.bb => python3-rstr_4.0.0.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-rstr_3.2.2.bb => python3-rstr_4.0.0.bb} (80%)
meta-python/recipes-devtools/python/python3-rstr_4.0.0.bb renamed from meta-python/recipes-devtools/python/python3-rstr_3.2.2.bb +1 -1
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-rstr_3.2.2.bb
rename to meta-python/recipes-devtools/python/python3-rstr_4.0.0.bb
index 01c27127a8..f9803ab15b 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/leapfrogonline/rstr"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5c15c04f1cdbd42c6152066f0b02102a"
 
-SRC_URI[sha256sum] = "c4a564d4dfb4472d931d145c43d1cf1ad78c24592142e7755b8866179eeac012"
+SRC_URI[sha256sum] = "1a1e7f304b0291edbc12955a9cb4093bfe1c7c1d48e0797e752bb3bf2a24574a"
 
 inherit pypi python_setuptools_build_meta
 
author
#58 lore raw

PATCH 52/55 rsyslog: Fix upstream version check

In reply to Khem Raj

The unanchored UPSTREAM_CHECK_REGEX matches any dotted number on the GitHub tags page, including ones from GitHub's own page markup, and the check reports 11.28. Match only tag links (v<version>).

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-extended/rsyslog/rsyslog_8.2610.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/rsyslog/rsyslog_8.2610.0.bb +1 -1
index caee233b2d..eb46ef086a 100644
@@ -33,7 +33,7 @@ SRC_URI:append:libc-musl = " \
 SRC_URI[sha256sum] = "7bdf95e81ea6c0ee5d586342d57d2a6e395b089fb3c67318a0dc555816de404b"
 
 UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/tags"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)$"
 
 CVE_PRODUCT = "rsyslog:rsyslog"
 CVE_STATUS[CVE-2015-3243] = "fix-file-included: The shipped default rsyslog.conf contains the fix"
author
#59 lore raw

PATCH 53/55 rasdaemon: Fix installed-vs-shipped on sysvinit without usrmerge

In reply to Khem Raj

Since 1.0.0 rasdaemon builds with meson, which installs its systemd units into ${libdir}/systemd/system unless systemd.pc is found in the sysroot, and systemd is not in DEPENDS. When ${systemd_system_unitdir} is /lib/systemd/system (no usrmerge), systemd.bbclass removes that directory on non-systemd distros but not /usr/lib/systemd, and do_package fails:

ERROR: rasdaemon-1.0.0-r0 do_package: QA Issue: rasdaemon: Files/directories were installed but not shipped in any package:
/usr/lib/systemd
/usr/lib/systemd/system
/usr/lib/systemd/system/rasdaemon.service
/usr/lib/systemd/system/ras-mc-ctl.service

Move the units to ${systemd_system_unitdir} when the paths differ, so systemd.bbclass packages or removes them as usual. This also covers multilib, where ${libdir} is /usr/lib64.

Tested with sysvinit with and without usrmerge, and with systemd.

AI-Generated: Uses Claude Code

---
 .../meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb +5 -0
index 86eced84a1..ae8e2bc5c9 100644
@@ -49,6 +49,11 @@ PACKAGECONFIG[nvidia-ns-decode] = "-Dnvidia-ns-decode=enabled,-Dnvidia-ns-decode
 PACKAGECONFIG[yitian-ns-decode] = "-Dyitian-ns-decode=enabled,-Dyitian-ns-decode=disabled"
 
 do_install:append() {
+	if [ "${libdir}/systemd/system" != "${systemd_system_unitdir}" ]; then
+		install -d ${D}${systemd_system_unitdir}
+		mv ${D}${libdir}/systemd/system/* ${D}${systemd_system_unitdir}/
+		rm -rf ${D}${libdir}/systemd
+	fi
 	install -d ${D}${sysconfdir}/init.d
 	install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon
 }
author
#60 lore raw

PATCH 54/55 postgresql: Add Spanish locale to ptest RDEPENDS

In reply to Khem Raj

The nls regression test sets lc_messages to es_ES and expects either a translated message (nls.out) or a "lc_messages is 'C'" notice when the locale is unavailable (nls_2.out). On musl, setlocale() accepts any locale name, so the C fallback never happens, but without the postgresql-regress Spanish catalog installed gettext returns the untranslated string, which matches neither expected output:

FAIL: nls

Install postgresql-locale-es with the ptest so the translation is found. glibc images without the es_ES locale still take the C fallback.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-dbs/postgresql/postgresql.inc +1 -1
index 21dbad30f3..00545ec74e 100644
@@ -236,7 +236,7 @@ do_install_ptest() {
     chown -R postgres:postgres ${D}${PTEST_PATH}
 }
 
-RDEPENDS:${PN}-ptest += "${PN}-client ${PN}-contrib perl"
+RDEPENDS:${PN}-ptest += "${PN}-client ${PN}-contrib perl ${PN}-locale-es"
 FILES:${PN}-ptest += "${libdir}/${BPN}/regress.so"
 
 # server needs to configure user and group
author
#61 lore raw

PATCH 55/55 bcu: Go back to the 1.1.x series and upgrade to 1.1.131

In reply to Khem Raj

The 1.1.128 -> 1.2.1 upgrade picked the bcu_1.2.1 tag, which is a 2023 commit ("try win build") that is on no branch, so it was a downgrade. Upstream releases are the 1.1.x tags on master; 1.1.131 is the latest.

Notable changes since 1.1.128:
- S32N79-RDB RCON, GPIO, PAC1934 power rail and SA56004 temperature sensor support, and i.MX FRDM board support
- FT4232 ports can be used as GPIO
- Fix ttyUSB devices disappearing after use on Linux
- PAC193x VBUS conversion and PCA9847/PAC193x I2C error handling fixes

bcu no longer has the https upgrade code, so drop the curl and openssl dependencies together with the vendored-libcurl patch. CMakeLists.txt now requires CMake 3.5, so CMAKE_POLICY_VERSION_MINIMUM is not needed. Refresh the shebang patch from the upstream pull request, and backport the upstream fix for the -Wincompatible-pointer-types error in bcu.c that GCC 14+ and clang treat as an error.

Set PE so 1.1.131 upgrades 1.2.1 in package feeds, track branch=master again, and limit the upstream check to 1.1.x tags so the stray tag is ignored.

AI-Generated: Uses Claude Code

---
 ...akeLists-do-not-use-vendored-libcurl.patch | 40 -------------------
 .../0001-Fix-error-on-ubuntu-25-builds.patch  | 40 +++++++++++++++++++
 ...01-create_version_h.sh-Add-a-shebang.patch | 22 +++++-----
 .../bcu/{bcu_1.2.1.bb => bcu_1.1.131.bb}      | 16 ++++----
 4 files changed, 59 insertions(+), 59 deletions(-)
 delete mode 100644 meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch
 create mode 100644 meta-oe/recipes-support/bcu/bcu/0001-Fix-error-on-ubuntu-25-builds.patch
 rename meta-oe/recipes-support/bcu/{bcu_1.2.1.bb => bcu_1.1.131.bb} (60%)
meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch deleted +0 -40
deleted file mode 100644
index 806b81188e..0000000000
@@ -1,40 +0,0 @@
-Subject: [PATCH] CMakeLists: do not use vendored libcurl
-
-Upstream-Status: Inappropriate [upstream ticket https://github.com/nxp-imx/bcu/issues/17]
-
-Signed-off-by: Leonard Göhrs <[email protected]>
-
-Update for 1.1.128
-Signed-off-by: Liu Yiding <[email protected]>
-
----
- CMakeLists.txt | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3475179..945c373 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -17,17 +17,17 @@ pkg_check_modules(LIBFTDI REQUIRED libftdi1)
- pkg_check_modules(LIBYAML REQUIRED yaml-0.1)
- pkg_check_modules(LIBOPENSSL REQUIRED openssl)
- pkg_check_modules(LIBUSB REQUIRED libusb-1.0)
-+pkg_check_modules(LIBCURL REQUIRED libcurl)
- project(bcu)
--include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${PROJECT_SOURCE_DIR}/libftdi/src ${LIBYAML_INCLUDEDIR} ${PROJECT_SOURCE_DIR}/libcurl/include)
-+include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${LIBYAML_INCLUDEDIR} ${LIBCURL_INCLUDE_DIRS})
- include_directories(${PROJECT_SOURCE_DIR})
- 
- message("operation system is ${CMAKE_SYSTEM}")
- if (LINUX)
-         add_executable(bcu bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c)
--        link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS})
--        target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${PROJECT_SOURCE_DIR}/libcurl/build.bcu/lib/libcurl.a -lpthread -lssl -lcrypto -lm)
--        execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR}
--                         COMMAND ${PROJECT_SOURCE_DIR}/build_libs.sh ${PROJECT_SOURCE_DIR})
-+        link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS} ${LIBCURL_LIBRARY_DIRS})
-+        target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${LIBCURL_LIBRARIES} -lpthread -lm)
-+        execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR})
-         install(TARGETS bcu DESTINATION bin)
- elseif (MACOS)
-         add_executable(bcu_mac bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c)
meta-oe/recipes-support/bcu/bcu/0001-Fix-error-on-ubuntu-25-builds.patch new file +40 -0
new file mode 100644
index 0000000000..53ea3e74cb
@@ -0,0 +1,40 @@
+From 6ee0a2792ac66f6beb7c9082e3441b3fd4a96a5d Mon Sep 17 00:00:00 2001
+From: Costin Constantin <[email protected]>
+Date: Mon, 12 Oct 2026 13:17:40 +0300
+Subject: [PATCH] Fix error on ubuntu 25+ builds
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fix building on versions of Ubuntu greater than 25.04.
+The following error is encountered:
+bcu.c:930:41: error: passing argument 1 of ‘free_device_linkedlist_backward’
+from incompatible pointer type [-Wincompatible-pointer-types]
+
+Signed-off-by: Costin Constantin <[email protected]>
+Upstream-Status: Backport [https://github.com/nxp-imx/bcu/commit/6ee0a2792ac66f6beb7c9082e3441b3fd4a96a5d]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ bcu.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bcu.c b/bcu.c
+index d4219fb..bd8c2f1 100644
+--- a/bcu.c
++++ b/bcu.c
+@@ -1,5 +1,5 @@
+ /*
+-* Copyright 2019-2021 NXP.
++* Copyright 2019-2026 NXP.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+@@ -927,7 +927,7 @@ static void set_eeprom_boot_mode(struct options_setting* setting)
+ 	if (board->boot_configs[j].name == NULL) {
+ 		printf("set_boot_mode: No correct boot configuration provided for boot_mode %s!\n", board->boot_modes[i].name);
+ 	}
+-	free_device_linkedlist_backward(end_point);
++	free_device_linkedlist_backward(&end_point->device);
+ }
+ 
+ static void set_boot_mode(struct options_setting* setting)
meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch +12 -10
index d8d05eb794..8d4d7b45c8 100644
@@ -1,18 +1,20 @@
-From 5cf6653144fe9b3dcb892f40cb919d4536711a5a Mon Sep 17 00:00:00 2001
+From 6c6767f5ea8db86370c53174dec3b3067a7be449 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
-Date: Mon, 23 Nov 2026 19:28:03 -0800
+Date: Tue, 24 Nov 2026 19:51:05 -0800
 Subject: [PATCH] create_version_h.sh: Add a shebang
 
 CMake runs this script directly through execute_process(). Without a
-"#!" line the kernel cannot execute it, and CMake 4.5 reports
-"exec format error" and carries on, so version.h is never created
-and the build fails with:
+"#!" line the kernel cannot execute it, and CMake 4.x reports
+"exec format error" and carries on, so version.h is never created and
+the build fails with:
 
-  bcu.c:58:10: fatal error: 'version.h' file not found
+  bcu.c:61:10: fatal error: version.h: No such file or directory
 
-Add a /bin/sh shebang so the script can be run directly.
+Add a /bin/sh shebang so the script can be run directly, as the macOS
+path already does by running it through sh. Tested with CMake 4.5.1 on
+Linux: version.h is generated and bcu builds.
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/nxp-imx/bcu/pull/42]
 AI-Generated: Uses Claude Code
 Signed-off-by: Khem Raj <[email protected]>
 ---
@@ -20,11 +22,11 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 1 insertion(+)
 
 diff --git a/create_version_h.sh b/create_version_h.sh
-index e777359..0b6ed65 100755
+index c3f86f7..ac688dc 100755
 --- a/create_version_h.sh
 +++ b/create_version_h.sh
 @@ -1,3 +1,4 @@
 +#!/bin/sh
  echo creating ${1}/version.h
  
- if [ "${APPVEYOR_BUILD_VERSION}" = "" ];
+ if [ "${CI_BUILD_VERSION}" = "" ];
meta-oe/recipes-support/bcu/bcu_1.1.131.bb renamed from meta-oe/recipes-support/bcu/bcu_1.2.1.bb +7 -9
similarity index 60%
rename from meta-oe/recipes-support/bcu/bcu_1.2.1.bb
rename to meta-oe/recipes-support/bcu/bcu_1.1.131.bb
index 3a1e80ece5..ab7fcd18e2 100644
@@ -9,20 +9,18 @@ SECTION = "devel"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=884d48c2aa7b82e1ad4a33909fab24b6"
 
-SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;nobranch=1;tag=${BPN}_${PV} \
-           file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \
+SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;branch=master;tag=${BPN}_${PV} \
+           file://0001-Fix-error-on-ubuntu-25-builds.patch \
            file://0001-create_version_h.sh-Add-a-shebang.patch \
            "
-SRCREV = "1c79dcf115bcf2c8ad632dadbc749c5e25c52cb1"
+SRCREV = "a6625496b140e9e7a738c59e75bb163d3edd6f09"
 
-UPSTREAM_CHECK_GITTAGREGEX = "^bcu_(?P<pver>\d+(\.\d+)+)$"
+# bcu_1.2.1 is a stray 2023 tag outside master; releases are 1.1.x
+PE = "1"
+UPSTREAM_CHECK_GITTAGREGEX = "^bcu_(?P<pver>1\.1\.\d+)$"
 
-
-DEPENDS = "curl libyaml libusb1 openssl libftdi"
+DEPENDS = "libyaml libusb1 libftdi"
 
 inherit cmake pkgconfig
 
-# CMakeLists.txt still declares cmake_minimum_required(VERSION 3.4)
-EXTRA_OECMAKE += "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
-
 BBCLASSEXTEND = "native nativesdk"
author
#62 lore raw

PATCH 2/14 python3-tibs: Add recipe

In reply to Khem Raj

tibs is a Rust-backed Python library for immutable and mutable binary sequences by the bitstring author. bitstring 5 uses it as its core and requires tibs >= 2.0.2, < 3.0.

The extension is built with maturin. The crates include was generated from the sdist's Cargo.lock with the same logic as
'bitbake -c update_crates python3-tibs'. Native and nativesdk variants are provided like for bitstring.

zstd-sys links the system libzstd found with pkg-config, so depend on zstd and inherit pkgconfig.

AI-Generated: Uses Claude Code

---
 .../python/python3-tibs-crates.inc            | 160 ++++++++++++++++++
 .../python/python3-tibs_2.0.2.bb              |  16 ++
 2 files changed, 176 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-tibs-crates.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-tibs_2.0.2.bb
meta-python/recipes-devtools/python/python3-tibs-crates.inc new file +160 -0
new file mode 100644
index 0000000000..8be7492794
@@ -0,0 +1,160 @@
+# Autogenerated with 'bitbake -c update_crates python3-tibs'
+
+# from Cargo.lock
+SRC_URI += " \
+    crate://crates.io/anyhow/1.0.102 \
+    crate://crates.io/bitflags/2.11.0 \
+    crate://crates.io/bitvec/1.1.1 \
+    crate://crates.io/block-buffer/0.12.0 \
+    crate://crates.io/cc/1.2.60 \
+    crate://crates.io/cfg-if/1.0.4 \
+    crate://crates.io/chacha20/0.10.0 \
+    crate://crates.io/const-oid/0.10.2 \
+    crate://crates.io/cpufeatures/0.3.0 \
+    crate://crates.io/crunchy/0.2.4 \
+    crate://crates.io/crypto-common/0.2.2 \
+    crate://crates.io/digest/0.11.3 \
+    crate://crates.io/equivalent/1.0.2 \
+    crate://crates.io/find-msvc-tools/0.1.9 \
+    crate://crates.io/foldhash/0.1.5 \
+    crate://crates.io/funty/2.0.0 \
+    crate://crates.io/getrandom/0.3.4 \
+    crate://crates.io/getrandom/0.4.1 \
+    crate://crates.io/half/2.7.1 \
+    crate://crates.io/hashbrown/0.15.5 \
+    crate://crates.io/hashbrown/0.16.1 \
+    crate://crates.io/heck/0.5.0 \
+    crate://crates.io/hybrid-array/0.4.12 \
+    crate://crates.io/id-arena/2.3.0 \
+    crate://crates.io/indexmap/2.13.0 \
+    crate://crates.io/itoa/1.0.17 \
+    crate://crates.io/jobserver/0.1.34 \
+    crate://crates.io/leb128fmt/0.1.0 \
+    crate://crates.io/libc/0.2.182 \
+    crate://crates.io/log/0.4.29 \
+    crate://crates.io/memchr/2.8.1 \
+    crate://crates.io/once_cell/1.21.3 \
+    crate://crates.io/pkg-config/0.3.33 \
+    crate://crates.io/portable-atomic/1.13.1 \
+    crate://crates.io/prettyplease/0.2.37 \
+    crate://crates.io/proc-macro2/1.0.106 \
+    crate://crates.io/pyo3/0.29.0 \
+    crate://crates.io/pyo3-build-config/0.29.0 \
+    crate://crates.io/pyo3-ffi/0.29.0 \
+    crate://crates.io/pyo3-macros/0.29.0 \
+    crate://crates.io/pyo3-macros-backend/0.29.0 \
+    crate://crates.io/quote/1.0.44 \
+    crate://crates.io/r-efi/5.3.0 \
+    crate://crates.io/radium/0.7.0 \
+    crate://crates.io/rand/0.10.0 \
+    crate://crates.io/rand_core/0.10.0 \
+    crate://crates.io/semver/1.0.27 \
+    crate://crates.io/serde/1.0.228 \
+    crate://crates.io/serde_core/1.0.228 \
+    crate://crates.io/serde_derive/1.0.228 \
+    crate://crates.io/serde_json/1.0.149 \
+    crate://crates.io/sha2/0.11.0 \
+    crate://crates.io/shlex/1.3.0 \
+    crate://crates.io/syn/2.0.117 \
+    crate://crates.io/tap/1.0.1 \
+    crate://crates.io/target-lexicon/0.13.5 \
+    crate://crates.io/typenum/1.20.1 \
+    crate://crates.io/unicode-ident/1.0.24 \
+    crate://crates.io/unicode-xid/0.2.6 \
+    crate://crates.io/wasip2/1.0.2+wasi-0.2.9 \
+    crate://crates.io/wasip3/0.4.0+wasi-0.3.0-rc-2026-01-06 \
+    crate://crates.io/wasm-encoder/0.244.0 \
+    crate://crates.io/wasm-metadata/0.244.0 \
+    crate://crates.io/wasmparser/0.244.0 \
+    crate://crates.io/wit-bindgen/0.51.0 \
+    crate://crates.io/wit-bindgen-core/0.51.0 \
+    crate://crates.io/wit-bindgen-rust/0.51.0 \
+    crate://crates.io/wit-bindgen-rust-macro/0.51.0 \
+    crate://crates.io/wit-component/0.244.0 \
+    crate://crates.io/wit-parser/0.244.0 \
+    crate://crates.io/wyz/0.5.1 \
+    crate://crates.io/zerocopy/0.8.40 \
+    crate://crates.io/zerocopy-derive/0.8.40 \
+    crate://crates.io/zmij/1.0.21 \
+    crate://crates.io/zstd/0.13.3 \
+    crate://crates.io/zstd-safe/7.2.4 \
+    crate://crates.io/zstd-sys/2.0.16+zstd.1.5.7 \
+"
+
+SRC_URI[anyhow-1.0.102.sha256sum] = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
+SRC_URI[bitflags-2.11.0.sha256sum] = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af"
+SRC_URI[bitvec-1.1.1.sha256sum] = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837"
+SRC_URI[block-buffer-0.12.0.sha256sum] = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be"
+SRC_URI[cc-1.2.60.sha256sum] = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20"
+SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
+SRC_URI[chacha20-0.10.0.sha256sum] = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601"
+SRC_URI[const-oid-0.10.2.sha256sum] = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+SRC_URI[cpufeatures-0.3.0.sha256sum] = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
+SRC_URI[crunchy-0.2.4.sha256sum] = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
+SRC_URI[crypto-common-0.2.2.sha256sum] = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+SRC_URI[digest-0.11.3.sha256sum] = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
+SRC_URI[equivalent-1.0.2.sha256sum] = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+SRC_URI[find-msvc-tools-0.1.9.sha256sum] = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+SRC_URI[foldhash-0.1.5.sha256sum] = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
+SRC_URI[funty-2.0.0.sha256sum] = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
+SRC_URI[getrandom-0.3.4.sha256sum] = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+SRC_URI[getrandom-0.4.1.sha256sum] = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec"
+SRC_URI[half-2.7.1.sha256sum] = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
+SRC_URI[hashbrown-0.15.5.sha256sum] = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
+SRC_URI[hashbrown-0.16.1.sha256sum] = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
+SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+SRC_URI[hybrid-array-0.4.12.sha256sum] = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da"
+SRC_URI[id-arena-2.3.0.sha256sum] = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
+SRC_URI[indexmap-2.13.0.sha256sum] = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
+SRC_URI[itoa-1.0.17.sha256sum] = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
+SRC_URI[jobserver-0.1.34.sha256sum] = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
+SRC_URI[leb128fmt-0.1.0.sha256sum] = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
+SRC_URI[libc-0.2.182.sha256sum] = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112"
+SRC_URI[log-0.4.29.sha256sum] = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
+SRC_URI[memchr-2.8.1.sha256sum] = "6b947ae49db0d222b1dbc6b113ce7248a3fc3a6ca21b696717bfc000ba4484d8"
+SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
+SRC_URI[pkg-config-0.3.33.sha256sum] = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
+SRC_URI[portable-atomic-1.13.1.sha256sum] = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
+SRC_URI[prettyplease-0.2.37.sha256sum] = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
+SRC_URI[proc-macro2-1.0.106.sha256sum] = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
+SRC_URI[pyo3-0.29.0.sha256sum] = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
+SRC_URI[pyo3-build-config-0.29.0.sha256sum] = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
+SRC_URI[pyo3-ffi-0.29.0.sha256sum] = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
+SRC_URI[pyo3-macros-0.29.0.sha256sum] = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
+SRC_URI[pyo3-macros-backend-0.29.0.sha256sum] = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
+SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
+SRC_URI[r-efi-5.3.0.sha256sum] = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
+SRC_URI[rand-0.10.0.sha256sum] = "bc266eb313df6c5c09c1c7b1fbe2510961e5bcd3add930c1e31f7ed9da0feff8"
+SRC_URI[rand_core-0.10.0.sha256sum] = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba"
+SRC_URI[semver-1.0.27.sha256sum] = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
+SRC_URI[serde-1.0.228.sha256sum] = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+SRC_URI[serde_core-1.0.228.sha256sum] = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
+SRC_URI[serde_derive-1.0.228.sha256sum] = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
+SRC_URI[serde_json-1.0.149.sha256sum] = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
+SRC_URI[sha2-0.11.0.sha256sum] = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
+SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+SRC_URI[syn-2.0.117.sha256sum] = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
+SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
+SRC_URI[target-lexicon-0.13.5.sha256sum] = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
+SRC_URI[typenum-1.20.1.sha256sum] = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
+SRC_URI[unicode-ident-1.0.24.sha256sum] = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+SRC_URI[unicode-xid-0.2.6.sha256sum] = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
+SRC_URI[wasip2-1.0.2+wasi-0.2.9.sha256sum] = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
+SRC_URI[wasip3-0.4.0+wasi-0.3.0-rc-2026-01-06.sha256sum] = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
+SRC_URI[wasm-encoder-0.244.0.sha256sum] = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
+SRC_URI[wasm-metadata-0.244.0.sha256sum] = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
+SRC_URI[wasmparser-0.244.0.sha256sum] = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
+SRC_URI[wit-bindgen-0.51.0.sha256sum] = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
+SRC_URI[wit-bindgen-core-0.51.0.sha256sum] = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc"
+SRC_URI[wit-bindgen-rust-0.51.0.sha256sum] = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
+SRC_URI[wit-bindgen-rust-macro-0.51.0.sha256sum] = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a"
+SRC_URI[wit-component-0.244.0.sha256sum] = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
+SRC_URI[wit-parser-0.244.0.sha256sum] = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
+SRC_URI[wyz-0.5.1.sha256sum] = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
+SRC_URI[zerocopy-0.8.40.sha256sum] = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5"
+SRC_URI[zerocopy-derive-0.8.40.sha256sum] = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953"
+SRC_URI[zmij-1.0.21.sha256sum] = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
+SRC_URI[zstd-0.13.3.sha256sum] = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
+SRC_URI[zstd-safe-7.2.4.sha256sum] = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
+SRC_URI[zstd-sys-2.0.16+zstd.1.5.7.sha256sum] = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748"
meta-python/recipes-devtools/python/python3-tibs_2.0.2.bb new file +16 -0
new file mode 100644
index 0000000000..fd63dd4762
@@ -0,0 +1,16 @@
+SUMMARY = "A sleek Python library for binary data"
+DESCRIPTION = "tibs provides immutable (Tibs) and mutable (Mutibs) binary \
+sequences with a Rust core. It is the engine used by bitstring."
+HOMEPAGE = "https://github.com/scott-griffiths/tibs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e8e9baae83130ec8cef3f37faee22781"
+
+SRC_URI[sha256sum] = "63a7b87e262c558ccc16be67d34fe60620e39b49bf644ac65e71c4553173ac8f"
+
+require ${BPN}-crates.inc
+
+DEPENDS += "zstd"
+
+inherit pypi python_maturin cargo-update-recipe-crates pkgconfig
+
+BBCLASSEXTEND = "native nativesdk"
author
#63 lore raw

PATCH 3/14 python3-bitstring: upgrade 4.4.0 -> 5.0.0

In reply to Khem Raj

Major release that moves the core to the Rust tibs library, about 4x faster overall. It has breaking API changes:
- ConstBitStream/BitStream removed; use Reader(Bits(...))
- find()/rfind() return int | None; len/length properties removed
- Bits(n) construction removed; Dtype.build/parse renamed pack/unpack
- LSB0 mode and bitarray interop (tobitarray, bitarray=) removed
- Minimum Python is now 3.11

RDEPENDS python3-bitarray replaced by python3-tibs, which is the only runtime dependency now. No recipe in the layers uses the bitstring Python API.

AI-Generated: Uses Claude Code

---
 ...{python3-bitstring_4.4.0.bb => python3-bitstring_5.0.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-bitstring_4.4.0.bb => python3-bitstring_5.0.0.bb} (78%)
meta-python/recipes-devtools/python/python3-bitstring_5.0.0.bb renamed from meta-python/recipes-devtools/python/python3-bitstring_4.4.0.bb +2 -2
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-bitstring_4.4.0.bb
rename to meta-python/recipes-devtools/python/python3-bitstring_5.0.0.bb
index ee2e8807c4..73e45dca10 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/scott-griffiths/bitstring"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=963a24c175e658fbf16a764135121ffa"
 
-SRC_URI[sha256sum] = "e682ac522bb63e041d16cbc9d0ca86a4f00194db16d0847c7efe066f836b2e37"
+SRC_URI[sha256sum] = "01d876b6e7bbd912bfa3ae1d028ed419ed2193245fe2337f21d30afaa391c053"
 
 inherit pypi python_setuptools_build_meta
 
@@ -12,7 +12,7 @@ RDEPENDS:${PN} = "\
     python3-io \
     python3-mmap \
     python3-numbers \
-    python3-bitarray \
+    python3-tibs \
 "
 
 BBCLASSEXTEND = "native nativesdk"
author
#64 lore raw

PATCH 4/14 python3-librt: Add recipe

In reply to Khem Raj

librt is the mypyc runtime library: C implementations of standard library classes and functions used by mypyc compiled code. mypy 2.x imports librt.internal at module level and requires librt >= 0.16.0.

It is a setuptools C extension. LICENSE is MIT for the library, with the PSF-2.0 getargsfast.c and the BSD-2-Clause base64 code listed in the same file. A native variant is needed for python3-mypy-native.

AI-Generated: Uses Claude Code

---
 .../python/python3-librt_0.17.0.bb                 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-librt_0.17.0.bb
meta-python/recipes-devtools/python/python3-librt_0.17.0.bb new file +14 -0
new file mode 100644
index 0000000000..ede8d657e5
@@ -0,0 +1,14 @@
+SUMMARY = "Mypyc runtime library"
+DESCRIPTION = "Efficient C implementations of various Python standard \
+library classes and functions, used by mypyc compiled code and by mypy."
+HOMEPAGE = "https://github.com/mypyc/librt"
+LICENSE = "MIT AND PSF-2.0 AND BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=42baf4796d8073a1896b15d602af78f6"
+
+SRC_URI[sha256sum] = "fd18d1f708f78577556a7d76505048b9e3ad6ff61b8d9c91616a5a3f1e6c770b"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += "python3-mypy-extensions"
+
+BBCLASSEXTEND = "native nativesdk"
author
#65 lore raw

PATCH 5/14 python3-ast-serialize: Add recipe

In reply to Khem Raj

ast_serialize parses Python with vendored Ruff parser crates and serializes the AST in mypy's binary format. It backs the native parser that is the default since mypy 2.0, and mypy requires ast-serialize >= 0.12.1, < 1.0.

The extension is built with maturin. The crates include was generated from the sdist's Cargo.lock with the same logic as 'bitbake -c update_crates python3-ast-serialize'. A native variant is needed for python3-mypy-native.

AI-Generated: Uses Claude Code

---
 .../python/python3-ast-serialize-crates.inc   | 350 ++++++++++++++++++
 .../python/python3-ast-serialize_0.13.1.bb    |  16 +
 2 files changed, 366 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-ast-serialize-crates.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-ast-serialize_0.13.1.bb
meta-python/recipes-devtools/python/python3-ast-serialize-crates.inc new file +350 -0
new file mode 100644
index 0000000000..ddbe2339ee
@@ -0,0 +1,350 @@
+# Autogenerated with 'bitbake -c update_crates python3-ast-serialize'
+
+# from Cargo.lock
+SRC_URI += " \
+    crate://crates.io/aho-corasick/1.1.4 \
+    crate://crates.io/allocator-api2/0.2.21 \
+    crate://crates.io/anstream/0.6.21 \
+    crate://crates.io/anstream/1.0.0 \
+    crate://crates.io/anstyle/1.0.14 \
+    crate://crates.io/anstyle-lossy/1.1.5 \
+    crate://crates.io/anstyle-parse/0.2.7 \
+    crate://crates.io/anstyle-parse/1.0.0 \
+    crate://crates.io/anstyle-query/1.1.5 \
+    crate://crates.io/anstyle-svg/1.1.1 \
+    crate://crates.io/anstyle-wincon/3.0.11 \
+    crate://crates.io/anyhow/1.0.100 \
+    crate://crates.io/arrayvec/0.7.8 \
+    crate://crates.io/attribute-derive/0.10.5 \
+    crate://crates.io/attribute-derive-macro/0.10.5 \
+    crate://crates.io/bit-set/0.8.0 \
+    crate://crates.io/bit-vec/0.8.0 \
+    crate://crates.io/bitflags/2.10.0 \
+    crate://crates.io/block-buffer/0.10.4 \
+    crate://crates.io/boxcar/0.2.14 \
+    crate://crates.io/bstr/1.12.1 \
+    crate://crates.io/camino/1.2.5 \
+    crate://crates.io/castaway/0.2.4 \
+    crate://crates.io/cfg-if/1.0.4 \
+    crate://crates.io/char_str/0.0.2 \
+    crate://crates.io/clap/4.5.60 \
+    crate://crates.io/clap_builder/4.5.60 \
+    crate://crates.io/clap_derive/4.5.55 \
+    crate://crates.io/clap_lex/1.1.0 \
+    crate://crates.io/collection_literals/1.0.3 \
+    crate://crates.io/colorchoice/1.0.5 \
+    crate://crates.io/compact_str/0.10.0 \
+    crate://crates.io/console/0.16.4 \
+    crate://crates.io/cpufeatures/0.2.17 \
+    crate://crates.io/crossbeam-queue/0.3.13 \
+    crate://crates.io/crossbeam-utils/0.8.22 \
+    crate://crates.io/crypto-common/0.1.7 \
+    crate://crates.io/datatest-stable/0.3.3 \
+    crate://crates.io/derive-where/1.6.0 \
+    crate://crates.io/digest/0.10.7 \
+    crate://crates.io/drop_bomb/0.1.5 \
+    crate://crates.io/dyn-clone/1.0.20 \
+    crate://crates.io/either/1.15.0 \
+    crate://crates.io/encode_unicode/1.0.0 \
+    crate://crates.io/equivalent/1.0.2 \
+    crate://crates.io/errno/0.3.14 \
+    crate://crates.io/escape8259/0.5.3 \
+    crate://crates.io/escargot/0.5.15 \
+    crate://crates.io/fancy-regex/0.14.0 \
+    crate://crates.io/fastrand/2.5.0 \
+    crate://crates.io/filetime/0.2.29 \
+    crate://crates.io/foldhash/0.2.0 \
+    crate://crates.io/generic-array/0.14.7 \
+    crate://crates.io/get-size-derive2/0.10.3 \
+    crate://crates.io/get-size2/0.10.3 \
+    crate://crates.io/getopts/0.2.24 \
+    crate://crates.io/getrandom/0.2.17 \
+    crate://crates.io/getrandom/0.4.3 \
+    crate://crates.io/glob/0.3.4 \
+    crate://crates.io/globset/0.4.20 \
+    crate://crates.io/hashbrown/0.17.1 \
+    crate://crates.io/hashlink/0.12.1 \
+    crate://crates.io/heck/0.5.0 \
+    crate://crates.io/html-escape/0.2.15 \
+    crate://crates.io/indexmap/2.14.0 \
+    crate://crates.io/indoc/2.0.7 \
+    crate://crates.io/insta/1.48.0 \
+    crate://crates.io/interpolator/0.5.0 \
+    crate://crates.io/intrusive-collections/0.10.3 \
+    crate://crates.io/inventory/0.3.24 \
+    crate://crates.io/is-macro/0.3.7 \
+    crate://crates.io/is_terminal_polyfill/1.70.2 \
+    crate://crates.io/itertools/0.15.0 \
+    crate://crates.io/itoa/1.0.17 \
+    crate://crates.io/libc/0.2.189 \
+    crate://crates.io/libtest-mimic/0.8.2 \
+    crate://crates.io/linux-raw-sys/0.12.1 \
+    crate://crates.io/lock_api/0.4.14 \
+    crate://crates.io/log/0.4.29 \
+    crate://crates.io/manyhow/0.11.4 \
+    crate://crates.io/manyhow-macros/0.11.4 \
+    crate://crates.io/memchr/2.7.6 \
+    crate://crates.io/normalize-line-endings/0.3.0 \
+    crate://crates.io/once_cell/1.21.3 \
+    crate://crates.io/once_cell_polyfill/1.70.2 \
+    crate://crates.io/ordermap/1.2.0 \
+    crate://crates.io/os_pipe/1.2.3 \
+    crate://crates.io/parking_lot/0.12.5 \
+    crate://crates.io/parking_lot_core/0.9.12 \
+    crate://crates.io/phf/0.11.3 \
+    crate://crates.io/phf_codegen/0.11.3 \
+    crate://crates.io/phf_generator/0.11.3 \
+    crate://crates.io/phf_shared/0.11.3 \
+    crate://crates.io/pin-project-lite/0.2.17 \
+    crate://crates.io/portable-atomic/1.13.0 \
+    crate://crates.io/ppv-lite86/0.2.21 \
+    crate://crates.io/proc-macro-utils/0.10.0 \
+    crate://crates.io/proc-macro2/1.0.106 \
+    crate://crates.io/pyo3/0.29.2 \
+    crate://crates.io/pyo3-build-config/0.29.2 \
+    crate://crates.io/pyo3-ffi/0.29.2 \
+    crate://crates.io/pyo3-macros/0.29.2 \
+    crate://crates.io/pyo3-macros-backend/0.29.2 \
+    crate://crates.io/quote/1.0.44 \
+    crate://crates.io/quote-use/0.8.4 \
+    crate://crates.io/quote-use-macros/0.8.4 \
+    crate://crates.io/r-efi/6.0.0 \
+    crate://crates.io/rand/0.8.5 \
+    crate://crates.io/rand_chacha/0.3.1 \
+    crate://crates.io/rand_core/0.6.4 \
+    crate://crates.io/redox_syscall/0.5.18 \
+    crate://crates.io/ref-cast/1.0.26 \
+    crate://crates.io/ref-cast-impl/1.0.26 \
+    crate://crates.io/regex/1.13.1 \
+    crate://crates.io/regex-automata/0.4.18 \
+    crate://crates.io/regex-syntax/0.8.11 \
+    crate://crates.io/rustc-hash/2.1.1 \
+    crate://crates.io/rustix/1.1.4 \
+    crate://crates.io/rustversion/1.0.22 \
+    crate://crates.io/ryu/1.0.22 \
+    crate://crates.io/salsa/0.28.2 \
+    crate://crates.io/salsa-macro-rules/0.28.2 \
+    crate://crates.io/salsa-macros/0.28.2 \
+    crate://crates.io/same-file/1.0.6 \
+    crate://crates.io/schemars/1.2.2 \
+    crate://crates.io/schemars_derive/1.2.2 \
+    crate://crates.io/scopeguard/1.2.0 \
+    crate://crates.io/seahash/4.1.0 \
+    crate://crates.io/serde/1.0.228 \
+    crate://crates.io/serde_core/1.0.228 \
+    crate://crates.io/serde_derive/1.0.228 \
+    crate://crates.io/serde_derive_internals/0.30.0 \
+    crate://crates.io/serde_json/1.0.151 \
+    crate://crates.io/serde_test/1.0.177 \
+    crate://crates.io/sha1/0.10.6 \
+    crate://crates.io/similar/2.7.0 \
+    crate://crates.io/similar/3.1.2 \
+    crate://crates.io/siphasher/1.0.1 \
+    crate://crates.io/smallvec/1.15.1 \
+    crate://crates.io/snapbox/1.2.2 \
+    crate://crates.io/snapbox-macros/1.1.0 \
+    crate://crates.io/static_assertions/1.1.0 \
+    crate://crates.io/strsim/0.11.1 \
+    crate://crates.io/syn/2.0.114 \
+    crate://crates.io/syn/3.0.3 \
+    crate://crates.io/target-lexicon/0.13.5 \
+    crate://crates.io/tempfile/3.27.0 \
+    crate://crates.io/thin-vec/0.2.19 \
+    crate://crates.io/thiserror/2.0.18 \
+    crate://crates.io/thiserror-impl/2.0.18 \
+    crate://crates.io/tinyvec/1.10.0 \
+    crate://crates.io/tinyvec_macros/0.1.1 \
+    crate://crates.io/tracing/0.1.44 \
+    crate://crates.io/tracing-core/0.1.36 \
+    crate://crates.io/typeid/1.0.3 \
+    crate://crates.io/typenum/1.19.0 \
+    crate://crates.io/unicode-ident/1.0.22 \
+    crate://crates.io/unicode-normalization/0.1.25 \
+    crate://crates.io/unicode-width/0.2.2 \
+    crate://crates.io/unicode_names2/1.3.0 \
+    crate://crates.io/unicode_names2_generator/1.3.0 \
+    crate://crates.io/utf8parse/0.2.2 \
+    crate://crates.io/version_check/0.9.5 \
+    crate://crates.io/wait-timeout/0.2.1 \
+    crate://crates.io/walkdir/2.5.0 \
+    crate://crates.io/wasi/0.11.1+wasi-snapshot-preview1 \
+    crate://crates.io/winapi-util/0.1.11 \
+    crate://crates.io/windows-link/0.2.1 \
+    crate://crates.io/windows-sys/0.61.2 \
+    crate://crates.io/zerocopy/0.8.33 \
+    crate://crates.io/zerocopy-derive/0.8.33 \
+    crate://crates.io/zmij/1.0.23 \
+"
+
+SRC_URI[aho-corasick-1.1.4.sha256sum] = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
+SRC_URI[allocator-api2-0.2.21.sha256sum] = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
+SRC_URI[anstream-0.6.21.sha256sum] = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
+SRC_URI[anstream-1.0.0.sha256sum] = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
+SRC_URI[anstyle-1.0.14.sha256sum] = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
+SRC_URI[anstyle-lossy-1.1.5.sha256sum] = "d9ca7d0f520afcd6d817970d0b2d5fd7c630c75e7783cae046b8b8a783c5befa"
+SRC_URI[anstyle-parse-0.2.7.sha256sum] = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
+SRC_URI[anstyle-parse-1.0.0.sha256sum] = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
+SRC_URI[anstyle-query-1.1.5.sha256sum] = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
+SRC_URI[anstyle-svg-1.1.1.sha256sum] = "ab68e0b71ea68eb6b399ffe1957f26330aeed91f5e578d442a1c2f3df69f6ec1"
+SRC_URI[anstyle-wincon-3.0.11.sha256sum] = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
+SRC_URI[anyhow-1.0.100.sha256sum] = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
+SRC_URI[arrayvec-0.7.8.sha256sum] = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56"
+SRC_URI[attribute-derive-0.10.5.sha256sum] = "05832cdddc8f2650cc2cc187cc2e952b8c133a48eb055f35211f61ee81502d77"
+SRC_URI[attribute-derive-macro-0.10.5.sha256sum] = "0a7cdbbd4bd005c5d3e2e9c885e6fa575db4f4a3572335b974d8db853b6beb61"
+SRC_URI[bit-set-0.8.0.sha256sum] = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
+SRC_URI[bit-vec-0.8.0.sha256sum] = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
+SRC_URI[bitflags-2.10.0.sha256sum] = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
+SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+SRC_URI[boxcar-0.2.14.sha256sum] = "36f64beae40a84da1b4b26ff2761a5b895c12adc41dc25aaee1c4f2bbfe97a6e"
+SRC_URI[bstr-1.12.1.sha256sum] = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab"
+SRC_URI[camino-1.2.5.sha256sum] = "bb1307f12aa967b5a58416e87b3653360e0fd614a016b6e970db08fecbb1b80d"
+SRC_URI[castaway-0.2.4.sha256sum] = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
+SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
+SRC_URI[char_str-0.0.2.sha256sum] = "576ba56f6ca18ebb069d0d07260407171712aff4dfe15ee3f8982dc16a455bcf"
+SRC_URI[clap-4.5.60.sha256sum] = "2797f34da339ce31042b27d23607e051786132987f595b02ba4f6a6dffb7030a"
+SRC_URI[clap_builder-4.5.60.sha256sum] = "24a241312cea5059b13574bb9b3861cabf758b879c15190b37b6d6fd63ab6876"
+SRC_URI[clap_derive-4.5.55.sha256sum] = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5"
+SRC_URI[clap_lex-1.1.0.sha256sum] = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
+SRC_URI[collection_literals-1.0.3.sha256sum] = "2550f75b8cfac212855f6b1885455df8eaee8fe8e246b647d69146142e016084"
+SRC_URI[colorchoice-1.0.5.sha256sum] = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
+SRC_URI[compact_str-0.10.0.sha256sum] = "79fcda08c33bb58b97008b2cdada6622500e949e060f5913361763121abd2416"
+SRC_URI[console-0.16.4.sha256sum] = "4fe5f465a4f6fee88fad41b85d990f84c835335e85b5d9e6e63e0d06d28cba7c"
+SRC_URI[cpufeatures-0.2.17.sha256sum] = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
+SRC_URI[crossbeam-queue-0.3.13.sha256sum] = "803d13fb3b09d88be9f4dbc29062c66b19bf7170867ceb746d2a8689bf6c7a26"
+SRC_URI[crossbeam-utils-0.8.22.sha256sum] = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
+SRC_URI[crypto-common-0.1.7.sha256sum] = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
+SRC_URI[datatest-stable-0.3.3.sha256sum] = "a867d7322eb69cf3a68a5426387a25b45cb3b9c5ee41023ee6cea92e2afadd82"
+SRC_URI[derive-where-1.6.0.sha256sum] = "ef941ded77d15ca19b40374869ac6000af1c9f2a4c0f3d4c70926287e6364a8f"
+SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
+SRC_URI[drop_bomb-0.1.5.sha256sum] = "9bda8e21c04aca2ae33ffc2fd8c23134f3cac46db123ba97bd9d3f3b8a4a85e1"
+SRC_URI[dyn-clone-1.0.20.sha256sum] = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
+SRC_URI[either-1.15.0.sha256sum] = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
+SRC_URI[encode_unicode-1.0.0.sha256sum] = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
+SRC_URI[equivalent-1.0.2.sha256sum] = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+SRC_URI[errno-0.3.14.sha256sum] = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
+SRC_URI[escape8259-0.5.3.sha256sum] = "5692dd7b5a1978a5aeb0ce83b7655c58ca8efdcb79d21036ea249da95afec2c6"
+SRC_URI[escargot-0.5.15.sha256sum] = "11c3aea32bc97b500c9ca6a72b768a26e558264303d101d3409cf6d57a9ed0cf"
+SRC_URI[fancy-regex-0.14.0.sha256sum] = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298"
+SRC_URI[fastrand-2.5.0.sha256sum] = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
+SRC_URI[filetime-0.2.29.sha256sum] = "5c287a33c7f0a620c38e641e7f60827713987b3c0f26e8ddc9462cc69cf75759"
+SRC_URI[foldhash-0.2.0.sha256sum] = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
+SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+SRC_URI[get-size-derive2-0.10.3.sha256sum] = "c736d226c32e496b8377813b52269e11ad3a48d8373b68862d0364f04fd1229d"
+SRC_URI[get-size2-0.10.3.sha256sum] = "b411f34418305908ab15a82ff78958c2a9aee9a272b2a2e663836b20a4e4b9d3"
+SRC_URI[getopts-0.2.24.sha256sum] = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df"
+SRC_URI[getrandom-0.2.17.sha256sum] = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
+SRC_URI[getrandom-0.4.3.sha256sum] = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
+SRC_URI[glob-0.3.4.sha256sum] = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
+SRC_URI[globset-0.4.20.sha256sum] = "07c34a9410465b45bd9787443bc7370f37735bad04b0f0cd57ff1a3186c98988"
+SRC_URI[hashbrown-0.17.1.sha256sum] = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
+SRC_URI[hashlink-0.12.1.sha256sum] = "32069d97bb81e38fa67eab65e3393bf804bb85969f2bc06bf13f64aef5aba248"
+SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+SRC_URI[html-escape-0.2.15.sha256sum] = "c9356095b4b41197bba32173600e1582792cda618f65d12f68e2e77d273413c5"
+SRC_URI[indexmap-2.14.0.sha256sum] = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
+SRC_URI[indoc-2.0.7.sha256sum] = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
+SRC_URI[insta-1.48.0.sha256sum] = "86f0f8fee8c926415c58d6ae43a08523a26faccb2323f5e6b644fe7dd4ef6b82"
+SRC_URI[interpolator-0.5.0.sha256sum] = "71dd52191aae121e8611f1e8dc3e324dd0dd1dee1e6dd91d10ee07a3cfb4d9d8"
+SRC_URI[intrusive-collections-0.10.3.sha256sum] = "4275b20e6057cd7733fd8df8a5a31701e4fe44497dad0f3fa0e1c4fb971506be"
+SRC_URI[inventory-0.3.24.sha256sum] = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b"
+SRC_URI[is-macro-0.3.7.sha256sum] = "1d57a3e447e24c22647738e4607f1df1e0ec6f72e16182c4cd199f647cdfb0e4"
+SRC_URI[is_terminal_polyfill-1.70.2.sha256sum] = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
+SRC_URI[itertools-0.15.0.sha256sum] = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc"
+SRC_URI[itoa-1.0.17.sha256sum] = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
+SRC_URI[libc-0.2.189.sha256sum] = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
+SRC_URI[libtest-mimic-0.8.2.sha256sum] = "14e6ba06f0ade6e504aff834d7c34298e5155c6baca353cc6a4aaff2f9fd7f33"
+SRC_URI[linux-raw-sys-0.12.1.sha256sum] = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
+SRC_URI[lock_api-0.4.14.sha256sum] = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
+SRC_URI[log-0.4.29.sha256sum] = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
+SRC_URI[manyhow-0.11.4.sha256sum] = "b33efb3ca6d3b07393750d4030418d594ab1139cee518f0dc88db70fec873587"
+SRC_URI[manyhow-macros-0.11.4.sha256sum] = "46fce34d199b78b6e6073abf984c9cf5fd3e9330145a93ee0738a7443e371495"
+SRC_URI[memchr-2.7.6.sha256sum] = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
+SRC_URI[normalize-line-endings-0.3.0.sha256sum] = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
+SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
+SRC_URI[once_cell_polyfill-1.70.2.sha256sum] = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
+SRC_URI[ordermap-1.2.0.sha256sum] = "7f7476a5b122ff1fce7208e7ee9dccd0a516e835f5b8b19b8f3c98a34cf757c1"
+SRC_URI[os_pipe-1.2.3.sha256sum] = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967"
+SRC_URI[parking_lot-0.12.5.sha256sum] = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
+SRC_URI[parking_lot_core-0.9.12.sha256sum] = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
+SRC_URI[phf-0.11.3.sha256sum] = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
+SRC_URI[phf_codegen-0.11.3.sha256sum] = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
+SRC_URI[phf_generator-0.11.3.sha256sum] = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
+SRC_URI[phf_shared-0.11.3.sha256sum] = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
+SRC_URI[pin-project-lite-0.2.17.sha256sum] = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
+SRC_URI[portable-atomic-1.13.0.sha256sum] = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950"
+SRC_URI[ppv-lite86-0.2.21.sha256sum] = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
+SRC_URI[proc-macro-utils-0.10.0.sha256sum] = "eeaf08a13de400bc215877b5bdc088f241b12eb42f0a548d3390dc1c56bb7071"
+SRC_URI[proc-macro2-1.0.106.sha256sum] = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
+SRC_URI[pyo3-0.29.2.sha256sum] = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
+SRC_URI[pyo3-build-config-0.29.2.sha256sum] = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
+SRC_URI[pyo3-ffi-0.29.2.sha256sum] = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
+SRC_URI[pyo3-macros-0.29.2.sha256sum] = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
+SRC_URI[pyo3-macros-backend-0.29.2.sha256sum] = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
+SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
+SRC_URI[quote-use-0.8.4.sha256sum] = "9619db1197b497a36178cfc736dc96b271fe918875fbf1344c436a7e93d0321e"
+SRC_URI[quote-use-macros-0.8.4.sha256sum] = "82ebfb7faafadc06a7ab141a6f67bcfb24cb8beb158c6fe933f2f035afa99f35"
+SRC_URI[r-efi-6.0.0.sha256sum] = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
+SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+SRC_URI[redox_syscall-0.5.18.sha256sum] = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
+SRC_URI[ref-cast-1.0.26.sha256sum] = "216e8f773d7923bcba9ceb86a86c93cabb3903a11872fc3f138c49630e50b96d"
+SRC_URI[ref-cast-impl-1.0.26.sha256sum] = "2c9283685feec7d69af75fb0e858d5e7378f33fe4fc699383b2916ab9273e03c"
+SRC_URI[regex-1.13.1.sha256sum] = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
+SRC_URI[regex-automata-0.4.18.sha256sum] = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
+SRC_URI[regex-syntax-0.8.11.sha256sum] = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
+SRC_URI[rustc-hash-2.1.1.sha256sum] = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
+SRC_URI[rustix-1.1.4.sha256sum] = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
+SRC_URI[rustversion-1.0.22.sha256sum] = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
+SRC_URI[ryu-1.0.22.sha256sum] = "a50f4cf475b65d88e057964e0e9bb1f0aa9bbb2036dc65c64596b42932536984"
+SRC_URI[salsa-0.28.2.sha256sum] = "cf0e374215cd2db2b5c75d7b3a99cb0cc052c0595335dfdefc03d4eb08f4aa81"
+SRC_URI[salsa-macro-rules-0.28.2.sha256sum] = "85f4b7d4405540bbd6d4ffa52d4322d983f3781954d3073067ac1bdb028459b3"
+SRC_URI[salsa-macros-0.28.2.sha256sum] = "445be2bfbb2f67cb663225ecd7bc5a25370c0250fca30f9d8cbad9a913650370"
+SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+SRC_URI[schemars-1.2.2.sha256sum] = "687274d293b6cdc6e73e0fee520bf2049650090d7164f87672d212a3c530cf4a"
+SRC_URI[schemars_derive-1.2.2.sha256sum] = "d98c67716b46af2f0b8cf752abc930f6f9aecfbf671ecfb531db8a31dbe4e2ba"
+SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+SRC_URI[seahash-4.1.0.sha256sum] = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
+SRC_URI[serde-1.0.228.sha256sum] = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+SRC_URI[serde_core-1.0.228.sha256sum] = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
+SRC_URI[serde_derive-1.0.228.sha256sum] = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
+SRC_URI[serde_derive_internals-0.30.0.sha256sum] = "f852137cce035d6a4df67ccce505ff6b3e9fd3a10e3e52b24dc71e650bb1a9bd"
+SRC_URI[serde_json-1.0.151.sha256sum] = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
+SRC_URI[serde_test-1.0.177.sha256sum] = "7f901ee573cab6b3060453d2d5f0bae4e6d628c23c0a962ff9b5f1d7c8d4f1ed"
+SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
+SRC_URI[similar-2.7.0.sha256sum] = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa"
+SRC_URI[similar-3.1.2.sha256sum] = "85ee016af5d736b69fc89e19254540fa4b5f5492853fb5503920f084011c78b6"
+SRC_URI[siphasher-1.0.1.sha256sum] = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
+SRC_URI[smallvec-1.15.1.sha256sum] = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
+SRC_URI[snapbox-1.2.2.sha256sum] = "8de56eb4784a2c5c1efede55a0f06fbf481bc12b42b355b9525c15db1e3581a8"
+SRC_URI[snapbox-macros-1.1.0.sha256sum] = "ed4a172e483585ebbc7c7f7d1705ca7e3f94f606ed78caa14805673189fd5455"
+SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
+SRC_URI[syn-2.0.114.sha256sum] = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
+SRC_URI[syn-3.0.3.sha256sum] = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
+SRC_URI[target-lexicon-0.13.5.sha256sum] = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
+SRC_URI[tempfile-3.27.0.sha256sum] = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
+SRC_URI[thin-vec-0.2.19.sha256sum] = "79def32ffcd477db1ff26f76dab9e3a91f0bd42a85ca96577089b24623056f9d"
+SRC_URI[thiserror-2.0.18.sha256sum] = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
+SRC_URI[thiserror-impl-2.0.18.sha256sum] = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
+SRC_URI[tinyvec-1.10.0.sha256sum] = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
+SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
+SRC_URI[tracing-0.1.44.sha256sum] = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
+SRC_URI[tracing-core-0.1.36.sha256sum] = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
+SRC_URI[typeid-1.0.3.sha256sum] = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
+SRC_URI[typenum-1.19.0.sha256sum] = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
+SRC_URI[unicode-ident-1.0.22.sha256sum] = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
+SRC_URI[unicode-normalization-0.1.25.sha256sum] = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8"
+SRC_URI[unicode-width-0.2.2.sha256sum] = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
+SRC_URI[unicode_names2-1.3.0.sha256sum] = "d1673eca9782c84de5f81b82e4109dcfb3611c8ba0d52930ec4a9478f547b2dd"
+SRC_URI[unicode_names2_generator-1.3.0.sha256sum] = "b91e5b84611016120197efd7dc93ef76774f4e084cd73c9fb3ea4a86c570c56e"
+SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
+SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
+SRC_URI[wait-timeout-0.2.1.sha256sum] = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11"
+SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+SRC_URI[wasi-0.11.1+wasi-snapshot-preview1.sha256sum] = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
+SRC_URI[winapi-util-0.1.11.sha256sum] = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+SRC_URI[windows-link-0.2.1.sha256sum] = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+SRC_URI[windows-sys-0.61.2.sha256sum] = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+SRC_URI[zerocopy-0.8.33.sha256sum] = "668f5168d10b9ee831de31933dc111a459c97ec93225beb307aed970d1372dfd"
+SRC_URI[zerocopy-derive-0.8.33.sha256sum] = "2c7962b26b0a8685668b671ee4b54d007a67d4eaf05fda79ac0ecf41e32270f1"
+SRC_URI[zmij-1.0.23.sha256sum] = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
meta-python/recipes-devtools/python/python3-ast-serialize_0.13.1.bb new file +16 -0
new file mode 100644
index 0000000000..62477211b7
@@ -0,0 +1,16 @@
+SUMMARY = "Python parser and AST serializer for mypy"
+DESCRIPTION = "Fast Python extension that parses Python files with vendored \
+Ruff crates and serializes the AST in the binary format used by mypy's \
+native parser."
+HOMEPAGE = "https://github.com/mypyc/ast_serialize"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dc12afd29b3bf645cc59f9ae0d9c6700 \
+                    file://crates/LICENSE;md5=e679ca4f742cbfa29ab6a499529c2d39"
+
+SRC_URI[sha256sum] = "401cc84e8888d4d76f2c8d296fa006ed1a5ff993b6aff90dd777c03973efd025"
+
+require ${BPN}-crates.inc
+
+inherit pypi python_maturin cargo-update-recipe-crates
+
+BBCLASSEXTEND = "native nativesdk"
author
#66 lore raw

PATCH 6/14 python3-mypy: upgrade 1.17.0 -> 2.4.1

In reply to Khem Raj

Major release series:
- 2.0 enables --local-partial-types and --strict-bytes by default, changes --allow-redefinition behaviour and drops Python 3.9 targets
- the Rust based native parser (ast-serialize) is the default since 2.4; the old parser stays available with --no-native-parser
- parallel checking is no longer experimental; PEP 661 sentinels, closed TypedDicts (PEP 728) and full PEP 696 support were added
- Python 3.15 support; the mypyc runtime moved to the librt package

mypy now imports librt and ast_serialize at module level and lists both in build-system.requires, so add python3-librt and python3-ast-serialize to DEPENDS (native) and RDEPENDS. mypyc compiled code of other packages (e.g. pytokens) imports librt only when it uses librt primitives explicitly, so their RDEPENDS are unchanged. The bundled mypyc/lib-rt/base64 code is BSD-2-Clause, so LICENSE gains it.

License-Update: BSD-2-Clause license of mypyc/lib-rt/base64 appended

AI-Generated: Uses Claude Code

---
 ...{python3-mypy_1.17.0.bb => python3-mypy_2.4.1.bb} | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-mypy_1.17.0.bb => python3-mypy_2.4.1.bb} (55%)
meta-python/recipes-devtools/python/python3-mypy_2.4.1.bb renamed from meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb +8 -4
similarity index 55%
rename from meta-python/recipes-devtools/python/python3-mypy_1.17.0.bb
rename to meta-python/recipes-devtools/python/python3-mypy_2.4.1.bb
index 07b6213102..f7d182fd6a 100644
@@ -1,15 +1,17 @@
-SUMMARY = "Optional static typing for Python 3 and 2 (PEP 484)"
+SUMMARY = "Optional static typing for Python"
 HOMEPAGE = "https://github.com/python/mypy"
-LICENSE = "MIT AND Python-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8d62fd8f8648cb018e52857347e340b9"
+LICENSE = "MIT AND Python-2.0 AND BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=572a4af76db6990f02b2d82f387ea10f"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "e5d7ccc08ba089c06e2f5629c660388ef1fee708444f1dee0b9203fa031dee03"
+SRC_URI[sha256sum] = "63b590965691e540a335fa74dadf31a7069142f6b72e234689bbd244edf55623"
 
 BBCLASSEXTEND = "native nativesdk"
 
 DEPENDS += " \
+    python3-ast-serialize-native \
+    python3-librt-native \
     python3-mypy-extensions-native \
     python3-types-psutil-native \
     python3-types-setuptools-native \
@@ -18,6 +20,8 @@ DEPENDS += " \
 "
 
 RDEPENDS:${PN} += " \
+    python3-ast-serialize \
+    python3-librt \
     python3-modules \
     python3-mypy-extensions \
     python3-pathspec \
author
#67 lore raw

PATCH 7/14 python3-puremagic: Add recipe

In reply to Khem Raj

puremagic identifies files by their magic numbers, like libmagic, in pure Python. psutils 3 uses it to tell PDF from PostScript input.

setuptools build with setuptools-scm for the version. Native variant is needed because psutils imports it while generating man pages.

AI-Generated: Uses Claude Code

---
 .../python/python3-puremagic_2.3.0.bb         | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-puremagic_2.3.0.bb
meta-python/recipes-devtools/python/python3-puremagic_2.3.0.bb new file +21 -0
new file mode 100644
index 0000000000..dfe7abe0ad
@@ -0,0 +1,21 @@
+SUMMARY = "Pure python implementation of magic file detection"
+DESCRIPTION = "puremagic identifies a file by its magic numbers, like \
+libmagic, but in pure Python without external dependencies."
+HOMEPAGE = "https://github.com/cdgriffith/puremagic"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ac85ec1f210835a5806bc00df0be30d7"
+
+SRC_URI[sha256sum] = "b54e4a69dd37c50bacc879380f132382ab4e9a935529628c8975abcc73e10640"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += " \
+    python3-compression \
+    python3-core \
+    python3-json \
+    python3-netclient \
+"
+
+BBCLASSEXTEND = "native nativesdk"
author
#68 lore raw

PATCH 8/14 python3-pypdf: Add recipe

In reply to Khem Raj

pypdf is a pure-python library for splitting, merging, cropping and transforming PDF pages. psutils 3 needs it for its PDF support.

Built with flit_core. The optional extras (cryptography for AES, pillow for images, fonttools) are not pulled in. Native variant is needed because psutils imports it while generating man pages.

AI-Generated: Uses Claude Code

---
 .../python/python3-pypdf_7.1.1.bb             | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pypdf_7.1.1.bb
meta-python/recipes-devtools/python/python3-pypdf_7.1.1.bb new file +29 -0
new file mode 100644
index 0000000000..95be8b6eeb
@@ -0,0 +1,29 @@
+SUMMARY = "A pure-python PDF library"
+DESCRIPTION = "pypdf is a pure-python PDF library capable of splitting, \
+merging, cropping, and transforming the pages of PDF files. It can also \
+add custom data, viewing options, and passwords to PDF files."
+HOMEPAGE = "https://github.com/py-pdf/pypdf"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=15692a75ec5daafc92ff9e5505a17cc5"
+
+SRC_URI[sha256sum] = "2eff4e2fc5fb22a6d6711e6f1166cdc9ab5765d90cd0d77dfea3f4aa91a27b1d"
+
+inherit pypi python_flit_core
+
+RDEPENDS:${PN} += " \
+    python3-codecs \
+    python3-compression \
+    python3-core \
+    python3-crypt \
+    python3-datetime \
+    python3-io \
+    python3-json \
+    python3-logging \
+    python3-math \
+    python3-netclient \
+    python3-numbers \
+    python3-stringold \
+    python3-xml \
+"
+
+BBCLASSEXTEND = "native nativesdk"
author
#69 lore raw

PATCH 9/14 python3-argparse-manpage: Add recipe

In reply to Khem Raj

argparse-manpage builds manual pages from an argparse ArgumentParser and provides the build_manpages setuptools command. psutils 3 uses it in setup.py to generate its man pages.

setuptools legacy backend (no build-backend in pyproject.toml); the build needs python3-packaging-native. Native variant is the one psutils needs.

AI-Generated: Uses Claude Code

---
 .../python/python3-argparse-manpage_4.8.bb     | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-argparse-manpage_4.8.bb
meta-python/recipes-devtools/python/python3-argparse-manpage_4.8.bb new file +18 -0
new file mode 100644
index 0000000000..c32fa68a37
@@ -0,0 +1,18 @@
+SUMMARY = "Build manual page from python's ArgumentParser object"
+HOMEPAGE = "https://github.com/praiskup/argparse-manpage"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+SRC_URI[sha256sum] = "d55ce1c246479ddd82871170a8cc543a6831bb68c87a298e47f0663a9330b74f"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-packaging-native"
+
+RDEPENDS:${PN} += " \
+    python3-core \
+    python3-datetime \
+    python3-setuptools \
+"
+
+BBCLASSEXTEND = "native nativesdk"
author
#70 lore raw

PATCH 10/14 packagegroup-meta-python: Add new python recipes

In reply to Khem Raj

Add the recipes introduced for the bitstring 5, mypy 2 and psutils 3
upgrades: python3-argparse-manpage, python3-ast-serialize, python3-librt, python3-puremagic, python3-pypdf and python3-tibs.

AI-Generated: Uses Claude Code

---
 .../recipes-core/packagegroups/packagegroup-meta-python.bb  | 6 ++++++
 1 file changed, 6 insertions(+)
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +6 -0
index a59249d605..376f288db3 100644
@@ -31,8 +31,10 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-argcomplete \
     python3-argexec \
     python3-argh \
+    python3-argparse-manpage \
     python3-arpeggio \
     python3-asciitree \
+    python3-ast-serialize \
     python3-aspectlib \
     python3-astor \
     python3-astroid \
@@ -218,6 +220,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-langtable \
     python3-lazy-object-proxy \
     python3-libconf \
+    python3-librt \
     python3-license-expression \
     python3-ldap \
     python3-lockfile \
@@ -297,6 +300,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-protobuf \
     python3-ptyprocess \
     python3-pulsectl \
+    python3-puremagic \
     python3-py-cpuinfo \
     python3-py-ubjson \
     python3-pyalsaaudio \
@@ -333,6 +337,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-pynacl \
     python3-pynetlinux \
     python3-pyparted \
+    python3-pypdf \
     python3-pyperclip \
     python3-pyperf \
     python3-pyrad \
@@ -419,6 +424,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-textparser \
     python3-texttable \
     python3-thrift \
+    python3-tibs \
     python3-tinyrecord \
     python3-tornado \
     python3-toolz \
author
#71 lore raw

PATCH 11/14 python3-yappi: Fix coroutine call counts with Python 3.15

In reply to Khem Raj

yappi decides whether a coroutine frame is being resumed with IS_SUSPENDED(), which has a Python 3.14-only branch that checks for a YIELD_VALUE instruction. With Python 3.15 it falls back to the check meant for Python < 3.13, so each resume is counted as a new call and six asyncio ptests fail, e.g.:

tests/test_asyncio.py:SingleThreadTests.test_issue58
AssertionError: 2 != 4 : async_sleep 2 0 4.005451 2.002725

Use the 3.14 check for 3.14 and later. ptest: 101/101 pass on qemux86-64 (glibc, systemd).

AI-Generated: Uses Claude Code

---
 ...-coroutines-on-Python-3.15-and-newer.patch | 36 +++++++++++++++++++
 .../python/python3-yappi_1.7.6.bb             |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-yappi/0003-Detect-suspended-coroutines-on-Python-3.15-and-newer.patch
meta-python/recipes-devtools/python/python3-yappi/0003-Detect-suspended-coroutines-on-Python-3.15-and-newer.patch new file +36 -0
new file mode 100644
index 0000000000..748cadbbe4
@@ -0,0 +1,36 @@
+From 99e422d5bcf9edff8427f9ccb5476ffec64c3348 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Tue, 24 Nov 2026 12:39:11 -0800
+Subject: [PATCH] Detect suspended coroutines on Python 3.15 and newer
+
+IS_SUSPENDED() checks the current instruction for YIELD_VALUE only when
+PY_MINOR_VERSION is 14. On 3.15 it falls back to the gi_frame_state
+check meant for Python < 3.13, which does not detect the suspension, so
+every resume of a coroutine counts as a new call and the asyncio tests
+fail, e.g.:
+
+  test_asyncio.py::SingleThreadTests::test_issue58
+  AssertionError: 2 != 4 : async_sleep 2 0 4.005451 2.002725
+
+Use the instruction check for 3.14 and later.
+
+Upstream-Status: Pending
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ yappi/_yappi.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/yappi/_yappi.c b/yappi/_yappi.c
+index 8b867ef..ffd9e68 100644
+--- a/yappi/_yappi.c
++++ b/yappi/_yappi.c
+@@ -228,7 +228,7 @@ IS_SUSPENDED(PyFrameObject *frame) {
+     if (gen == NULL) {
+         return 0;
+     }
+-#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION == 14
++#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION >= 14
+     unsigned char curr_op_code = (*frame->f_frame->instr_ptr).op.code;
+     return curr_op_code == YIELD_VALUE || curr_op_code == INSTRUMENTED_YIELD_VALUE;
+ #elif PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION == 13
meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb +1 -0
index fefed051ab..be47e4ea40 100644
@@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "c94281936af77c00c6ac2306a0e7f85a67e354d717120df85fcc5dfb92
 
 SRC_URI += " \
            file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
+           file://0003-Detect-suspended-coroutines-on-Python-3.15-and-newer.patch \
            "
 
 inherit pypi python_setuptools_build_meta ptest-python-pytest
author
#72 lore raw

PATCH 12/14 python3-google-auth-oauthlib: Add python3-plistlib to ptest RDEPENDS

In reply to Khem Raj

Python 3.15's webbrowser.py does "lazy import plistlib". The InstalledAppFlow.run_local_server tests patch webbrowser with autospec, which reads every attribute of the module and resolves the lazy import, so all ten of them fail with:

ModuleNotFoundError: Standard library module 'plistlib' was not found

plistlib is packaged separately as python3-plistlib. ptest: 47 pass, 1 skipped on qemux86-64 (glibc, systemd).

AI-Generated: Uses Claude Code

---
 .../python/python3-google-auth-oauthlib_1.5.0.bb                 | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.5.0.bb +1 -0
index b618c5f033..384387e64b 100644
@@ -17,6 +17,7 @@ RDEPENDS:${PN}-ptest += " \
         python3-click \
         python3-cryptography \
         python3-mock \
+        python3-plistlib \
         python3-pytest \
         python3-unittest-automake-output \
         python3-unixadmin \
author
#73 lore raw

PATCH 13/14 python3-glances: Add missing runtime dependencies

In reply to Khem Raj

glances 4.5.9 imports tracemalloc in glances/__init__.py, which is in python3-misc, so "import glances" fails and the ptest stops at collection:

ModuleNotFoundError: Standard library module 'tracemalloc' was not found

The next import that fails is statistics. Add every stdlib package that glances itself imports: python3-crypt (hashlib), python3-ctypes, python3-curses, python3-datetime, python3-io (socket), python3-misc (tracemalloc, webbrowser), python3-statistics, python3-threading (queue) and python3-unixadmin (getpass). The tests also need python3-shell (shlex). Sort the list.

ptest: 55/55 pass on qemux86-64 (glibc, systemd).

AI-Generated: Uses Claude Code

---
 .../python/python3-glances_4.5.9.bb            | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python3-glances_4.5.9.bb +14 -4
index ff52b2a7ef..7b304c55b5 100644
@@ -28,22 +28,32 @@ do_install_ptest:append() {
 # psutil/jinja2/packaging are oe-core; fastapi/uvicorn/defusedxml are
 # meta-python.
 RDEPENDS:${PN} += " \
-    python3-psutil \
-    python3-packaging \
+    python3-asyncio \
+    python3-crypt \
+    python3-ctypes \
+    python3-curses \
+    python3-datetime \
     python3-defusedxml \
     python3-fastapi \
-    python3-uvicorn \
+    python3-io \
     python3-jinja2 \
     python3-json \
     python3-logging \
-    python3-asyncio \
+    python3-misc \
     python3-multiprocessing \
     python3-netclient \
+    python3-packaging \
+    python3-psutil \
+    python3-statistics \
+    python3-threading \
+    python3-unixadmin \
+    python3-uvicorn \
     python3-xml \
 "
 
 RDEPENDS:${PN}-ptest += " \
     python3-requests \
+    python3-shell \
 "
 
 # Optional fast-JSON accelerator glances uses if present.
author
#74 lore raw

PATCH 14/14 python3-yappi: upgrade 1.7.6 -> 1.7.7

In reply to Khem Raj

1.7.7 is tagged and released on GitHub but was never uploaded to PyPI, so fetch the v1.7.7 tag from git instead of the PyPI sdist, and check for new versions against the git tags.

Refresh the Python 3.15 coroutine fix to the version submitted upstream, which also switches the guards to PY_VERSION_HEX.

Changes in 1.7.7:
- Fix a reference leak of the generator returned by PyFrame_GetGenerator in IS_SUSPENDED (#217)
- Add a regression test for it

AI-Generated: Uses Claude Code

---
 ...-coroutines-on-Python-3.15-and-newer.patch | 42 +++++++++++--------
 ...-yappi_1.7.6.bb => python3-yappi_1.7.7.bb} |  9 ++--
 2 files changed, 30 insertions(+), 21 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-yappi_1.7.6.bb => python3-yappi_1.7.7.bb} (69%)
meta-python/recipes-devtools/python/python3-yappi/0003-Detect-suspended-coroutines-on-Python-3.15-and-newer.patch +25 -17
index 748cadbbe4..af8a3d40c8 100644
@@ -1,36 +1,44 @@
-From 99e422d5bcf9edff8427f9ccb5476ffec64c3348 Mon Sep 17 00:00:00 2001
+From fd1c436878b1ce7743ca921fd0cc3e52ef829859 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
-Date: Tue, 24 Nov 2026 12:39:11 -0800
-Subject: [PATCH] Detect suspended coroutines on Python 3.15 and newer
+Date: Tue, 24 Nov 2026 22:09:38 -0800
+Subject: [PATCH] fix: detect suspended coroutines on Python 3.15+
 
 IS_SUSPENDED() checks the current instruction for YIELD_VALUE only when
-PY_MINOR_VERSION is 14. On 3.15 it falls back to the gi_frame_state
-check meant for Python < 3.13, which does not detect the suspension, so
-every resume of a coroutine counts as a new call and the asyncio tests
-fail, e.g.:
+the minor version is exactly 14. On Python 3.15 it falls through to the
+gi_frame_state check meant for Python < 3.13, which never reports the
+frame as suspended, so every resume of a coroutine is counted as a new
+call and the asyncio tests fail, e.g.:
 
-  test_asyncio.py::SingleThreadTests::test_issue58
+  test_asyncio.SingleThreadTests.test_issue58
   AssertionError: 2 != 4 : async_sleep 2 0 4.005451 2.002725
 
-Use the instruction check for 3.14 and later.
+Use the instruction check for 3.14 and later, and switch these guards
+to PY_VERSION_HEX like the rest of the file.
 
-Upstream-Status: Pending
+Tested with Python 3.15.2 (test_asyncio and test_asyncio_context_vars
+went from 6 failures to passing) and Python 3.14.
+
+Upstream-Status: Submitted [https://github.com/sumerc/yappi/pull/223]
 AI-Generated: Uses Claude Code
 Signed-off-by: Khem Raj <[email protected]>
 ---
- yappi/_yappi.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ yappi/_yappi.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/yappi/_yappi.c b/yappi/_yappi.c
-index 8b867ef..ffd9e68 100644
+index 1dbb72e..e599c9e 100644
 --- a/yappi/_yappi.c
 +++ b/yappi/_yappi.c
-@@ -228,7 +228,7 @@ IS_SUSPENDED(PyFrameObject *frame) {
+@@ -229,10 +229,10 @@ IS_SUSPENDED(PyFrameObject *frame) {
      if (gen == NULL) {
          return 0;
      }
 -#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION == 14
-+#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION >= 14
++#if PY_VERSION_HEX >= 0x030E0000  // Python 3.14+
      unsigned char curr_op_code = (*frame->f_frame->instr_ptr).op.code;
-     return curr_op_code == YIELD_VALUE || curr_op_code == INSTRUMENTED_YIELD_VALUE;
- #elif PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION == 13
+     suspended = curr_op_code == YIELD_VALUE || curr_op_code == INSTRUMENTED_YIELD_VALUE;
+-#elif PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION == 13
++#elif PY_VERSION_HEX >= 0x030D0000  // Python 3.13
+     suspended = FRAME_STATE_SUSPENDED(gen->gi_frame_state);
+ #else
+     suspended = gen->gi_frame_state == FRAME_SUSPENDED;
meta-python/recipes-devtools/python/python3-yappi_1.7.7.bb renamed from meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb +5 -4
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb
rename to meta-python/recipes-devtools/python/python3-yappi_1.7.7.bb
index be47e4ea40..9a0a38b9bc 100644
@@ -4,14 +4,15 @@ HOMEPAGE = "https://github.com/sumerc/yappi"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
 
-SRC_URI[sha256sum] = "c94281936af77c00c6ac2306a0e7f85a67e354d717120df85fcc5dfb9243d4dd"
-
-SRC_URI += " \
+# 1.7.7 is tagged on GitHub but was never uploaded to PyPI
+SRC_URI = "git://github.com/sumerc/yappi.git;protocol=https;branch=master;tag=v${PV} \
            file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
            file://0003-Detect-suspended-coroutines-on-Python-3.15-and-newer.patch \
            "
+SRCREV = "d6593ea0bce0a13c65bd44511c3cee858b5985e8"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
-inherit pypi python_setuptools_build_meta ptest-python-pytest
+inherit python_setuptools_build_meta ptest-python-pytest
 
 RDEPENDS:${PN} += "\
     python3-datetime \
author
#75 lore raw

PATCH 1/1 webmin: Fix upstream version check

In reply to Khem Raj

www.webmin.com/download.html no longer links the release tarballs, so the check finds nothing. SRC_URI fetches from SourceForge; check the webmin release directories there instead.

AI-Generated: Uses Claude Code

---
 meta-webserver/recipes-webadmin/webmin/webmin_2.670.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-webserver/recipes-webadmin/webmin/webmin_2.670.bb +2 -2
index 79b20bfe74..c6647c310f 100644
@@ -19,8 +19,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \
            file://webmin.service \
             "
 SRC_URI[sha256sum] = "617af07a890bea18a83dca5c9d7168de1ad4d5f3076d8a1df3475f123748dc21"
-UPSTREAM_CHECK_URI = "http://www.webmin.com/download.html"
-UPSTREAM_CHECK_REGEX = "webmin-(?P<pver>\d+(\.\d+)+).tar.gz"
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/webadmin/files/webmin/"
+UPSTREAM_CHECK_REGEX = "webmin/(?P<pver>\d+(\.\d+)+)/"
 
 inherit perlnative update-rc.d systemd