Skip to contentSkip to conversation

simpleiot: upgrade 0.36.1 -> 0.36.2

PATCH New Khem Raj 1 participant 11 messages Nov 27

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 29/39 simpleiot: upgrade 0.36.1 -> 0.36.2

Dashboard widgets are now ordered by grid position on a phone, the slider widget is reformatted, and the UI updates @sveltejs/kit to 3.2.0 and @sveltejs/adapter-static to 4.0.1.

go.mod is unchanged between the two releases, so the generated go-mods include stays valid. The version check is kept as is.

AI-Generated: Uses Claude Code

---
 .../simpleiot/{simpleiot_0.36.1.bb => simpleiot_0.36.2.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-extended/simpleiot/{simpleiot_0.36.1.bb => simpleiot_0.36.2.bb} (98%)
meta-oe/recipes-extended/simpleiot/simpleiot_0.36.2.bb renamed from meta-oe/recipes-extended/simpleiot/simpleiot_0.36.1.bb +1 -1
similarity index 98%
rename from meta-oe/recipes-extended/simpleiot/simpleiot_0.36.1.bb
rename to meta-oe/recipes-extended/simpleiot/simpleiot_0.36.2.bb
index 07fc60128e..b4f7c8545e 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854dd
 
 SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master;tag=v${PV};destsuffix=${GO_SRCURI_DESTSUFFIX}"
 
-SRCREV = "0d7ca333b4818c4176324ac258abb96828ea84d1"
+SRCREV = "7265a673baf73d8e4c97db7390929f132e734959"
 # v1.0.912 is a stray 2020 tag, not a release
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(?!1\.0\.912$)\d+(\.\d+)+)$"
 
author
#1 lore raw

PATCH 30/39 libunibreak: Add recipe

libunibreak implements the Unicode line breaking (UAX #14) and word breaking (UAX #29) algorithms. It is needed by taisei 1.4.6, which now requires it for text line wrapping.

AI-Generated: Uses Claude Code

---
 .../libunibreak/libunibreak_8.0.1.bb              | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-oe/recipes-support/libunibreak/libunibreak_8.0.1.bb
meta-oe/recipes-support/libunibreak/libunibreak_8.0.1.bb new file +15 -0
new file mode 100644
index 0000000000..3df6cca380
@@ -0,0 +1,15 @@
+SUMMARY = "Unicode line breaking and word breaking algorithms library"
+DESCRIPTION = "libunibreak is an implementation of the line breaking and word \
+breaking algorithms as described in Unicode Standard Annex 14 and 29."
+HOMEPAGE = "https://github.com/adah1972/libunibreak"
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=4ed81deb6876b71d8c62fdb3e09e4776"
+
+SRC_URI = "https://github.com/adah1972/libunibreak/releases/download/libunibreak_${@d.getVar('PV').replace('.', '_')}/libunibreak-${PV}.tar.gz"
+SRC_URI[sha256sum] = "ac0dcc96c395bc86ff7f86f6b91d8b45bc8c39db775f3f1e73f947a11520737b"
+
+UPSTREAM_CHECK_URI = "https://github.com/adah1972/libunibreak/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/libunibreak_(?P<pver>\d+(_\d+)+)$"
+
+inherit autotools pkgconfig
author
#2 lore raw

PATCH 31/39 taisei: upgrade 1.4.4 -> 1.4.6

In reply to Khem Raj

1.4.5 and 1.4.6 add i18n support (gettext-style translations, language option, French, German and Chinese translations), a new stage and spell practice menu, improved text line wrapping, a built-in zip loader replacing libzip, optional libpng, and many renderer, VFS and resource fixes. The build now requires meson >= 1.8, SDL >= 3.4, libunibreak and gettext tools.

Drop both backported patches (const qualifiers in char pointers, and vfs_mkparents recursion): their fixes are in 1.4.6. Add libunibreak and gettext-native to DEPENDS. COPYING moved to COPYING.txt.

License-Update: COPYING renamed to COPYING.txt, copyright years updated to 2026

AI-Generated: Uses Claude Code

---
 ...ed-const-qualifiers-in-char-pointer-.patch | 56 ---------------
 ...necessary-recursion-in-vfs_mkparents.patch | 71 -------------------
 .../{taisei_1.4.4.bb => taisei_1.4.6.bb}      | 11 ++-
 3 files changed, 5 insertions(+), 133 deletions(-)
 delete mode 100644 meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch
 delete mode 100644 meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch
 rename meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/{taisei_1.4.4.bb => taisei_1.4.6.bb} (81%)
meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch deleted +0 -56
deleted file mode 100644
index 1b37633a36..0000000000
@@ -1,56 +0,0 @@
-From d0326cd89b01600a6d8ba5e32e8e090f2ea29f2d Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Wed, 15 Apr 2026 16:28:28 -0700
-Subject: [PATCH] misc: fix discarded const qualifiers in char pointer
- assignments
-
-These show up with glibc 2.43 + clang-22, glibc-2.43 has C23 versions
-of str* mem* functions
-
-Upstream-Status: Backport [https://github.com/taisei-project/taisei/commit/1c8f773912cbbd72b4a4df271fda1bd6d2aeb27f]
-Signed-off-by: Khem Raj <[email protected]>
----
- src/log.c           | 2 +-
- src/pixmap/pixmap.c | 2 +-
- src/vfs/pathutil.c  | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/log.c b/src/log.c
-index 8194535a..88f34386 100644
---- a/src/log.c
-+++ b/src/log.c
-@@ -161,7 +161,7 @@ static void add_debug_info(StringBuffer *buf) {
- static size_t modname(const char *filename, size_t filename_len, char *mod) {
- 	size_t mlen = filename_len;
-
--	char *dot = memchr(filename, '.', mlen);
-+	const char *dot = memchr(filename, '.', mlen);
- 	if(dot) {
- 		mlen = dot - filename;
- 	}
-diff --git a/src/pixmap/pixmap.c b/src/pixmap/pixmap.c
-index 25105215..9717f22a 100644
---- a/src/pixmap/pixmap.c
-+++ b/src/pixmap/pixmap.c
-@@ -49,7 +49,7 @@ void *pixmap_alloc_buffer_for_conversion(const Pixmap *src, PixmapFormat format,
- }
-
- static PixmapFileFormatHandler *pixmap_handler_for_filename(const char *file) {
--	char *ext = strrchr(file, '.');
-+	const char *ext = strrchr(file, '.');
-
- 	if(!ext || !*(++ext)) {
- 		return NULL;
-diff --git a/src/vfs/pathutil.c b/src/vfs/pathutil.c
-index f6bd6a80..85ccf5ee 100644
---- a/src/vfs/pathutil.c
-+++ b/src/vfs/pathutil.c
-@@ -14,7 +14,7 @@ char *vfs_path_normalize(const char *path, char *out) {
- 	const char *p = path;
- 	char *o = out;
- 	char *last_sep = out - 1;
--	char *path_end = strchr(path, 0);
-+	const char *path_end = strchr(path, 0);
-
- 	#define IS_SEP_OR_NUL(chr) (VFS_IS_PATH_SEPARATOR(chr) || (chr == '\0'))
-
meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch deleted +0 -71

71 lines not on this page · raw message

meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.6.bb renamed from meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb +5 -6
similarity index 81%
rename from meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb
rename to meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.6.bb
index c099619124..2d39088c34 100644
@@ -7,12 +7,14 @@ DESCRIPTION = "Taisei Project is an open source fan-game set in the world of \
 HOMEPAGE = "https://taisei-project.org"
 BUGTRACKER = "https://github.com/taisei-project/taisei/issues"
 LICENSE = "CC-BY-4.0 AND CC0-1.0 AND MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=1a11ffd7e1bdd1d3156cecec60a2846f"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=23a03cac0907277013b7af25f8ed1494"
 
 DEPENDS = "\
     cglm \
     freetype \
+    gettext-native \
     libsdl3 \
+    libunibreak \
     libwebp \
     opusfile \
     zstd \
@@ -20,11 +22,8 @@ DEPENDS = "\
 DEPENDS:append:libc-musl = " libucontext"
 LDFLAGS:append:libc-musl = " -lucontext"
 
-SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https;tag=v${PV} \
-           file://0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch \
-		   file://0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch \
-		  "
-SRCREV = "6a484e6e61cc51a22a9943762dc2ff6883914f38"
+SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https;tag=v${PV}"
+SRCREV = "5bfc9b842fe6d9bb8d1610f76f442ba07c72c4cf"
 
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
author
#3 lore raw

PATCH 32/39 tomlplusplus: upgrade 3.4.0 -> 3.5.1

In reply to Khem Raj

3.5 adds TOML 1.1.0, std::chrono and C++20 module support and fixes many crashes; 3.5.1 is a tag-only re-release.

Meson builds are header-only by default now; pass -Dbuild_lib=true so the shared library is built and packaged as before, and -Dregenerate=false so meson does not rerun the derived-file generator. Fetch by tag and check upstream release tags.

The test runner calls std::locale(""), which libstdc++ on musl only accepts for "C", so run the ptests with LC_ALL=C. On musl also exclude the "round trips - floats" test case, which expects strtod() to leave the floating-point exception flags clear.

AI-Generated: Uses Claude Code

---
 .../recipes-devtools/tomlplusplus/files/run-ptest | 12 +++++++++++-
 .../tomlplusplus/tomlplusplus_git.bb              | 15 +++++++++++----
 2 files changed, 22 insertions(+), 5 deletions(-)
meta-oe/recipes-devtools/tomlplusplus/files/run-ptest +11 -1
index 4f682c5eb2..64e157c6d0 100755
@@ -1,9 +1,19 @@
 #!/bin/sh
 
+# The tests call std::locale(""), which libstdc++ on musl only accepts for "C"
+export LC_ALL=C
+
+# Set at build time for libcs where some tests cannot pass
+args=""
+
 cd tests
 for atest in tomlplusplus_* ; do
     rm -rf tests.log
-    ./${atest} > tests.log 2>&1
+    if [ "${atest}" = "tomlplusplus_tests" ] && [ -n "${args}" ]; then
+        ./${atest} "${args}" > tests.log 2>&1
+    else
+        ./${atest} > tests.log 2>&1
+    fi
     if [ $? = 0 ] ; then
         echo "PASS: ${atest}"
     else
meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb +11 -4
index 074c9b6f75..50544b57ac 100644
@@ -3,18 +3,19 @@ HOMEPAGE = "https://github.com/marzer/tomlplusplus"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=90960f22c10049c117d56ed2ee5ee167"
 
-SRC_URI = "git://github.com/marzer/tomlplusplus.git;protocol=https;branch=master \
+SRC_URI = "git://github.com/marzer/tomlplusplus.git;protocol=https;branch=master;tag=v${PV} \
            file://run-ptest \
 "
 
-PV = "3.4.0"
-SRCREV = "30172438cee64926dc41fdd9c11fb3ba5b2ba9de"
+PV = "3.5.1"
+SRCREV = "efd80e03356af65c7d4e61c56ffb326b34f8d0f4"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 DEPENDS = "cmake-native"
 
 inherit meson ptest pkgconfig
 
-EXTRA_OEMESON += "-Dbuild_tests=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "true", "false", d)} \
+EXTRA_OEMESON += "-Dregenerate=false -Dbuild_lib=true -Dbuild_tests=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "true", "false", d)} \
 "
 
 # See - https://github.com/marzer/tomlplusplus/issues/279
@@ -26,3 +27,9 @@ do_install_ptest () {
     cp ${B}/tests/tomlplusplus_odr_test ${D}${PTEST_PATH}/tests
     cp ${B}/tests/tomlplusplus_tests ${D}${PTEST_PATH}/tests
 }
+
+# musl's strtod() leaves floating-point exception flags set, which the
+# float round-trip test checks for
+do_install_ptest:append:libc-musl () {
+    sed -i -e 's|^args=""$|args="~round trips - floats"|' ${D}${PTEST_PATH}/run-ptest
+}
author
#4 lore raw

PATCH 33/39 valijson: upgrade 1.1.4 -> 1.1.5

In reply to Khem Raj

- Fix propertyNames handling in nested subschemas.
- Support the json-pointer, relative-json-pointer and regex formats, require four-digit years in date and date-time formats and reject leading zeros in IPv4 addresses embedded in IPv6 addresses.
- Fix int64 bounds checks in the Qt adapter (Qt6 now required to use toInteger, Qt5 deprecated) and out-of-range doubleIsIntegral.
- valijsonConfig.cmake is now installed to the datadir rather than libdir, and valijson_EXCLUDE_JSON11 really excludes json11 headers.

Add an upstream version check on release tags.

AI-Generated: Uses Claude Code

---
 .../valijson/{valijson_1.1.4.bb => valijson_1.1.5.bb}          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-devtools/valijson/{valijson_1.1.4.bb => valijson_1.1.5.bb} (87%)
meta-oe/recipes-devtools/valijson/valijson_1.1.5.bb renamed from meta-oe/recipes-devtools/valijson/valijson_1.1.4.bb +2 -1
similarity index 87%
rename from meta-oe/recipes-devtools/valijson/valijson_1.1.4.bb
rename to meta-oe/recipes-devtools/valijson/valijson_1.1.5.bb
index 8777632342..44207e246c 100644
@@ -4,7 +4,8 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5c4583a434195e4f3b418e17c8ca2daf"
 
 SRC_URI = "git://github.com/tristanpenman/valijson.git;branch=master;protocol=https;tag=v${PV}"
-SRCREV = "de232f2ac3798a3c8b2cc5f3b7ebf737e1c0dbd1"
+SRCREV = "c3a8fdd182da94ef6b351aeb20aa3354d765319d"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 
 inherit cmake
author
#5 lore raw

PATCH 34/39 ctre: upgrade 3.9.0 -> 3.11.0

In reply to Khem Raj

- Allow [^] as the empty set (any one character), fix | with empty alternatives, fix lookbehind inside select<>, and stop ignoring trailing null characters in the subject.
- Fix char comparisons on signed-char architectures and several compiler warnings and overload selection problems (GCC, Clang, MSVC).
- Header and C++ module installation is reworked: CMake package and pkg-config files are now installed under libdir instead of datadir.
- Support CMake 4.3 and Clang 21/22; import std handling is updated.

The recipe now fetches by tag instead of an untagged git revision.

AI-Generated: Uses Claude Code

---
 .../recipes-support/ctre/{ctre_3.9.0.bb => ctre_3.11.0.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/ctre/{ctre_3.9.0.bb => ctre_3.11.0.bb} (86%)
meta-oe/recipes-support/ctre/ctre_3.11.0.bb renamed from meta-oe/recipes-support/ctre/ctre_3.9.0.bb +2 -2
similarity index 86%
rename from meta-oe/recipes-support/ctre/ctre_3.9.0.bb
rename to meta-oe/recipes-support/ctre/ctre_3.11.0.bb
index 9f64e5dfed..043572dc37 100644
@@ -4,8 +4,8 @@ HOMEPAGE = "https://github.com/hanickadot/compile-time-regular-expressions"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2e982d844baa4df1c80de75470e0c5cb"
 
-SRC_URI = "git://github.com/hanickadot/compile-time-regular-expressions.git;protocol=https;branch=main"
-SRCREV = "eb9577aae3515d14e6c5564f9aeb046d2e7c1124"
+SRC_URI = "git://github.com/hanickadot/compile-time-regular-expressions.git;protocol=https;branch=main;tag=v${PV}"
+SRCREV = "4ab18abfd88ccfc867734bf5d31b13285854577e"
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 
author
#6 lore raw

PATCH 35/39 safec: upgrade 3.9.1 -> 3.16

In reply to Khem Raj

- 3.12 splits _chk and _uchk at compile-time, calling the fast unchecked worker when all arguments are known valid, and inlines more mem/str functions.
- Security: 3.15 fixes writes past dmax in wcstombs_s, mbstowcs_s, wcsrtombs_s and mbsrtowcs_s, and several other memory safety bugs in the wchar, wcsfc_s, wcsnorm_compose_s and strcmpfld_s functions.
- 3.15 also makes qsort_s, ctime_s, asctime_s and swprintf_s thread-safe and fixes stpcpy_s/stpncpy_s return values and printf/scanf issues.
- 3.16 adds Windows MSVC support in cmake, an optional cache flush for memset_s/memzero_s (--enable-cache-flush) and fixes the ARM barrier.

Drop the vsnprintf_s buffer size patch, as upstream now allocates the extra byte.

AI-Generated: Uses Claude Code

---
 ...snprintf_s-Increase-Buffer-Size-by-1.patch | 41 -------------------
 .../safec/{safec_3.9.1.bb => safec_3.16.bb}   |  6 +--
 2 files changed, 2 insertions(+), 45 deletions(-)
 delete mode 100644 meta-oe/recipes-core/safec/safec/0001-vsnprintf_s-Increase-Buffer-Size-by-1.patch
 rename meta-oe/recipes-core/safec/{safec_3.9.1.bb => safec_3.16.bb} (84%)
meta-oe/recipes-core/safec/safec/0001-vsnprintf_s-Increase-Buffer-Size-by-1.patch deleted +0 -41
deleted file mode 100644
index 5617aeb368..0000000000
@@ -1,41 +0,0 @@
-From dca9a17c75c7442060c08fdced4e4b0c8d2babae Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Wed, 13 Aug 2025 20:23:48 -0700
-Subject: [PATCH] vsnprintf_s: Increase Buffer Size by 1
-
-It is a buffer overflow warning that GCC 15.2 is catching.
-The issue is that it's trying to write to `buf[len++]` when len could
-potentially be 31, which would write to buf[31] in a buffer of size 32
-(valid indices 0-31), but the len++ post-increment means it could
-theoretically write beyond the buffer bounds.
-
-Fixes
-
-../../sources/safec-3.9.1/src/str/vsnprintf_s.c: In function 'safec_ftoa.isra':
-../../sources/safec-3.9.1/src/str/vsnprintf_s.c:523:24: error: writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
-  523 |             buf[len++] = '0';
-      |             ~~~~~~~~~~~^~~~~
-../../sources/safec-3.9.1/src/str/vsnprintf_s.c:394:10: note: at offset [1, 32] into destination object 'buf' of size 32
-  394 |     char buf[PRINTF_FTOA_BUFFER_SIZE];
-      |          ^~~
-cc1: all warnings being treated as errors
-
-Upstream-Status: Submitted [https://github.com/rurban/safeclib/pull/148]
-Signed-off-by: Khem Raj <[email protected]>
----
- src/str/vsnprintf_s.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/str/vsnprintf_s.c b/src/str/vsnprintf_s.c
-index fa53ab42..0b62c3cb 100644
---- a/src/str/vsnprintf_s.c
-+++ b/src/str/vsnprintf_s.c
-@@ -391,7 +391,7 @@ static size_t safec_ftoa(out_fct_type out, const char *funcname, char *buffer,
-                          size_t idx, size_t maxlen, double value,
-                          unsigned int prec, unsigned int width,
-                          unsigned int flags) {
--    char buf[PRINTF_FTOA_BUFFER_SIZE];
-+    char buf[PRINTF_FTOA_BUFFER_SIZE + 1]; // Add extra byte for safety
-     size_t len = 0U, off = 0U;
-     double tmp;
-     double diff = 0.0;
meta-oe/recipes-core/safec/safec_3.16.bb renamed from meta-oe/recipes-core/safec/safec_3.9.1.bb +2 -4
similarity index 84%
rename from meta-oe/recipes-core/safec/safec_3.9.1.bb
rename to meta-oe/recipes-core/safec/safec_3.16.bb
index 1e14875e48..2c628241e6 100644
@@ -6,10 +6,8 @@ SECTION = "lib"
 
 inherit autotools pkgconfig
 
-SRCREV = "39a0a819f80853498e48a6e601a446a122b64aaa"
-SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https;tag=v${PV} \
-           file://0001-vsnprintf_s-Increase-Buffer-Size-by-1.patch \
-		  "
+SRCREV = "3a2487e8ad2fbb7be4e5e14043e91a86879a0ab5"
+SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https;tag=v${PV}"
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+\.\d+(\.\d+)?)$"
 
 # arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-mretpoline' [-Werror,-Wunused-command-line-argument]
author
#7 lore raw

PATCH 36/39 minini: upgrade 1.2.b -> 1.5

In reply to Khem Raj

1.5 adds ini_hassection(), ini_haskey() and ini_putbool(), ignores spaces around section names, and no longer passes const user data to the browse callback (API change since 1.3).

Upstream moved from the Google Code archive to GitHub, so fetch the v1.5 tag with git and check its tags; the sources are now in dev/. Backport the upstream fix for the ini_putbool() prototype, which used TCHAR instead of mTCHAR in 1.5. The sources use CRLF line endings, so inherit dos2unix and keep the backport an ordinary LF patch.

This replaces the upstream check settings from commit 787d1b73e2 ("meta-oe: repair broken recipe upstream version-checks").

License-Update: LICENSE is unchanged apart from CRLF line endings, which dos2unix converts

AI-Generated: Uses Claude Code

---
 ...pe-used-in-prototype-for-ini_putbool.patch | 23 +++++++++++++++++++
 .../minini/{minini_1.2.b.bb => minini_1.5.bb} | 21 ++++++++++-------
 2 files changed, 36 insertions(+), 8 deletions(-)
 create mode 100644 meta-oe/recipes-support/minini/minini/0001-BUG-fix-wrong-type-used-in-prototype-for-ini_putbool.patch
 rename meta-oe/recipes-support/minini/{minini_1.2.b.bb => minini_1.5.bb} (65%)
meta-oe/recipes-support/minini/minini/0001-BUG-fix-wrong-type-used-in-prototype-for-ini_putbool.patch new file +23 -0
new file mode 100644
index 0000000000..b14f239a66
@@ -0,0 +1,23 @@
+From 797be9d2b883222d387732df73945d52c99ec994 Mon Sep 17 00:00:00 2001
+From: Thiadmer Riemersma <[email protected]>
+Date: Sat, 6 Jan 2024 17:16:27 +0100
+Subject: [PATCH] BUG fix: wrong type used in prototype for ini_putbool()
+ function.
+
+Upstream-Status: Backport [https://github.com/compuphase/minIni/commit/797be9d2b883222d387732df73945d52c99ec994]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ dev/minIni.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/dev/minIni.h
++++ b/dev/minIni.h
+@@ -51,7 +51,7 @@
+ #endif
+ 
+ #if !defined INI_READONLY
+-int  ini_putbool(const TCHAR *Section, const TCHAR *Key, int Value, const TCHAR *Filename);
++int  ini_putbool(const mTCHAR *Section, const mTCHAR *Key, int Value, const mTCHAR *Filename);
+ int  ini_putl(const mTCHAR *Section, const mTCHAR *Key, long Value, const mTCHAR *Filename);
+ int  ini_puts(const mTCHAR *Section, const mTCHAR *Key, const mTCHAR *Value, const mTCHAR *Filename);
+ #if defined INI_REAL
meta-oe/recipes-support/minini/minini_1.5.bb renamed from meta-oe/recipes-support/minini/minini_1.2.b.bb +13 -8
similarity index 65%
rename from meta-oe/recipes-support/minini/minini_1.2.b.bb
rename to meta-oe/recipes-support/minini/minini_1.5.bb
index 9baa803382..e447f60498 100644
@@ -3,32 +3,37 @@ DESCRIPTION = "minIni is a programmer's library to read and write INI files in \
 embedded systems. minIni takes little resources, has a deterministic memory \
 footprint and can be configured for various kinds of file I/O libraries. minIni \
 provides functionality for reading, writing and deleting keys from an INI file, \
-all in 830 lines of (commented) source code (version 1.2) in C (the code also \
+all in about 1000 lines of (commented) source code in C (the code also \
 compiles in C++ and comes with a wrapper class)."
-HOMEPAGE = "https://code.google.com/p/minini/"
+HOMEPAGE = "https://github.com/compuphase/minIni"
 
 # License is Apache 2.0 with an exception to allow object code built from
 # unmodified original sources to be distributed more freely. See LICENSE
 # file for details.
 
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=eb21481ad45c5578ae8c8d37b8c8d76d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f75fb05044181a4a14fcbf1a88f37fa8"
 
-SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/minini/minIni_12b.zip;subdir=${BP}"
+SRC_URI = "git://github.com/compuphase/minIni.git;protocol=https;branch=master;tag=v${PV} \
+           file://0001-BUG-fix-wrong-type-used-in-prototype-for-ini_putbool.patch \
+           "
+SRCREV = "ede00e17ab3799dd62d00a5885c144810a335495"
 
-SRC_URI[sha256sum] = "b08839af74acb36061fb76e1123bf56711bc5cf7a08b32e189b0ad78a2e888e2"
-# Upstream lived on code.google.com (defunct); only archived zips remain, no
-# browsable release listing.
-UPSTREAM_VERSION_UNKNOWN = "1"
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
+
+# The sources use CRLF line endings; convert them so patches stay plain
+inherit dos2unix
 
 do_configure[noexec] = "1"
 
 do_compile() {
+    cd ${S}/dev
     ${CC} ${CFLAGS} -fPIC -c minIni.c -o minIni.o
     ${CC} ${LDFLAGS} -shared -Wl,-soname,libminini.so.0 minIni.o -o libminini.so.0.0
 }
 
 do_install () {
+    cd ${S}/dev
 
     install -d ${D}${libdir}
     install -m 0644 libminini.so.0.0 ${D}${libdir}/
author
#8 lore raw

PATCH 37/39 sdbus-c++: Fix intermittent segfault in the awaitable integration tests

In reply to Khem Raj

The Task type in DBusAwaitableMethodsTests.cpp completes its std::promise inside final_suspend(), before the coroutine has suspended. The test thread then returns from Task::get() and destroys the coroutine in ~Task() while the event loop thread is still in final_suspend(), which is undefined behaviour. The integration tests segfault in the awaitable tests, often when the host is loaded as during testimage.

Add a patch that completes the promise from the final awaiter's await_suspend(), once the coroutine is suspended.

AI-Generated: Uses Claude Code

---
 ...aitable-test-tasks-only-after-final-.patch | 104 ++++++++++++++++++
 .../recipes-core/sdbus-c++/sdbus-c++_2.3.1.bb |   1 +
 2 files changed, 105 insertions(+)
 create mode 100644 meta-oe/recipes-core/sdbus-c++/sdbus-c++/0004-test-complete-awaitable-test-tasks-only-after-final-.patch
meta-oe/recipes-core/sdbus-c++/sdbus-c++/0004-test-complete-awaitable-test-tasks-only-after-final-.patch new file +104 -0
new file mode 100644
index 0000000000..1845d88c96
@@ -0,0 +1,104 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Thu, 26 Nov 2026 04:08:14 -0800
+Subject: [PATCH] test: complete awaitable test tasks only after final
+ suspension
+
+The Task type used by the awaitable integration tests fulfilled its
+std::promise inside final_suspend(), before the coroutine had suspended.
+The test thread wakes up in Task::get(), finishes the test and destroys
+the coroutine in ~Task() while the event loop thread is still running
+the coroutine's final_suspend(). Destroying a coroutine that is not
+suspended is undefined behaviour; when the host is loaded, the tests
+segfault in InvokesMethodAsynchronouslyOnClientSideWithAwaitable and
+the other awaitable tests.
+
+Return an awaiter from final_suspend() that fulfils the promise in
+await_suspend(), when the coroutine is already suspended and may be
+destroyed.
+
+Upstream-Status: Pending
+AI-Generated: Uses Claude Code
+Signed-off-by: Khem Raj <[email protected]>
+---
+ .../DBusAwaitableMethodsTests.cpp             | 56 ++++++++++++-------
+ 1 file changed, 35 insertions(+), 21 deletions(-)
+
+diff --git a/tests/integrationtests/DBusAwaitableMethodsTests.cpp b/tests/integrationtests/DBusAwaitableMethodsTests.cpp
+index 092dfc0..2be50d6 100644
+--- a/tests/integrationtests/DBusAwaitableMethodsTests.cpp
++++ b/tests/integrationtests/DBusAwaitableMethodsTests.cpp
+@@ -66,19 +66,27 @@ struct Task {
+         std::suspend_always initial_suspend() noexcept { return {}; }
+ 
+         // final_suspend suspends so that the test code can retrieve the result
+-        // or exception from the promise before the coroutine is destroyed
+-        std::suspend_always final_suspend() noexcept
+-        {
+-            if (exception)
++        // or exception from the promise before the coroutine is destroyed.
++        // Complete the future only once the coroutine is suspended: the test
++        // thread destroys the coroutine as soon as get() returns, which must
++        // not happen while the coroutine is still running on the event loop thread.
++        struct FinalAwaiter {
++            bool await_ready() const noexcept { return false; }
++            void await_suspend(std::coroutine_handle<promise_type> hnd) noexcept
+             {
+-                completion.set_exception(exception);
++                auto& promise = hnd.promise();
++                if (promise.exception)
++                {
++                    promise.completion.set_exception(promise.exception);
++                }
++                else
++                {
++                    promise.completion.set_value(std::move(promise.value));
++                }
+             }
+-            else
+-            {
+-                completion.set_value(std::move(value));
+-            }
+-            return {};
+-        }
++            void await_resume() const noexcept {}
++        };
++        FinalAwaiter final_suspend() noexcept { return {}; }
+ 
+         void return_value(T val) { value = std::move(val); }
+         void unhandled_exception() { exception = std::current_exception(); }
+@@ -121,18 +129,24 @@ struct Task<void> {
+ 
+         std::suspend_always initial_suspend() noexcept { return {}; } // NOLINT(readability-convert-member-functions-to-static)
+ 
+-        std::suspend_always final_suspend() noexcept
+-        {
+-            if (exception)
++        // See Task<T>: complete the future only once the coroutine is suspended
++        struct FinalAwaiter {
++            bool await_ready() const noexcept { return false; }
++            void await_suspend(std::coroutine_handle<promise_type> hnd) noexcept
+             {
+-                completion.set_exception(exception);
++                auto& promise = hnd.promise();
++                if (promise.exception)
++                {
++                    promise.completion.set_exception(promise.exception);
++                }
++                else
++                {
++                    promise.completion.set_value();
++                }
+             }
+-            else
+-            {
+-                completion.set_value();
+-            }
+-            return {};
+-        }
++            void await_resume() const noexcept {}
++        };
++        FinalAwaiter final_suspend() noexcept { return {}; }
+ 
+         void return_void() {}
+         void unhandled_exception() { exception = std::current_exception(); }
meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.3.1.bb +1 -0
index a73508a082..ca728633bb 100644
@@ -21,6 +21,7 @@ SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=ma
            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://0004-test-complete-awaitable-test-tasks-only-after-final-.patch \
            file://run-ptest"
 
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
author
#9 lore raw

PATCH 38/39 kernel-selftest: Depend on clang-native for the net BPF objects

In reply to Khem Raj

net and net/lib build nat6to4.bpf.o, xdp_dummy.bpf.o and friends with plain "clang", whatever the toolchain. clang-native used to reach the sysroot indirectly; without it the BPF rules fail with "clang: command not found" (Error 127). The selftests top-level make does not propagate that, so the net install stopped after lib and mptcp, and every net test reported "file ... is missing!" in ptest.

Add clang-native to DEPENDS. The net directory now installs all its tests.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +2 -0
index 96b837fb20..2a0368d873 100644
@@ -8,6 +8,8 @@ DEPENDS = "rsync-native llvm-native libcap"
 # net: libbpf (elfutils, zlib), YNL code generation (python3-pyyaml-native,
 # python3-jsonschema-native), reuseport_bpf_numa (numactl) and tcp_mmap (openssl)
 DEPENDS += "elfutils numactl openssl python3-jsonschema-native python3-pyyaml-native zlib"
+# net and net/lib build their BPF objects with clang, whatever the toolchain
+DEPENDS += "clang-native"
 
 S = "${UNPACKDIR}"
 
author
#10 lore raw

PATCH 39/39 libraqm: Extend to native

In reply to Khem Raj

python3-matplotlib-native builds against the system libraqm, so it and its users (smem-native) were unbuildable:

Nothing PROVIDES 'libraqm-native' (but virtual:native:.../python3-matplotlib_3.11.2.bb DEPENDS on or otherwise requires it)

freetype, fribidi and harfbuzz all have native variants. Also match the vX.Y.Z release tags in the upstream check.

AI-Generated: Uses Claude Code

---
 meta-oe/recipes-graphics/libraqm/libraqm_0.11.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-graphics/libraqm/libraqm_0.11.0.bb +4 -0
index 6dc2762469..cd0a8fd37d 100644
@@ -16,6 +16,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=af4502a870b471d3ac78abacb7abfa37"
 SRC_URI = "git://github.com/HOST-Oman/libraqm.git;protocol=https;branch=main;tag=v${PV}"
 SRCREV = "08ee1537e63f93bf926498e12b12ed15ee383216"
 
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
+
 DEPENDS = "freetype fribidi harfbuzz"
 
 inherit meson pkgconfig
@@ -23,3 +25,5 @@ inherit meson pkgconfig
 PACKAGECONFIG ?= ""
 
 PACKAGECONFIG[sheenbidi] = "-Dsheenbidi=true,-Dsheenbidi=false,sheenbidi"
+
+BBCLASSEXTEND = "native"