Source fixes and upgrades
cover Source fixes and upgrades
fswebcam fetched from codeberg (the GitHub repository was emptied), gstd versioned with PE instead of 1.0+really, and upgrades.
Security fixes: pjproject 2.18 includes the fixes for CVE-2026-57160 to CVE-2026-57166, CVE-2026-77396 and CVE-2026-84975, so those backports are dropped.
Khem Raj (6):
fswebcam: Fetch from codeberg
gstd: Use PE instead of 1.0+really in PV
fluidsynth: upgrade 2.6.2 -> 2.6.3
pjproject: upgrade 2.17 -> 2.18
python3-pillow-heif: upgrade 1.8.1 -> 1.9.0
pjproject: Fix build on musl
..._1.8.1.bb => python3-pillow-heif_1.9.0.bb} | 2 +-
...elaration-for-float-multithreaded-se.patch | 56 +++--
...luidsynth_2.6.2.bb => fluidsynth_2.6.3.bb} | 3 +-
.../fswebcam/fswebcam_20200725.bb | 4 +-
.../gstreamer-1.0/gstd_git.bb | 9 +-
...y-use-backtrace-and-ucontext-with-gl.patch | 51 ++++
...k_ossl-fix-OpenSSL-4.0-compatibility.patch | 40 ---
.../pjproject/pjproject/CVE-2026-57160.patch | 42 ----
.../pjproject/pjproject/CVE-2026-57161.patch | 49 ----
.../pjproject/pjproject/CVE-2026-57162.patch | 43 ----
.../pjproject/pjproject/CVE-2026-57163.patch | 52 ----
.../pjproject/pjproject/CVE-2026-57164.patch | 66 -----
.../pjproject/pjproject/CVE-2026-57165.patch | 85 -------
.../pjproject/pjproject/CVE-2026-57166.patch | 228 ------------------
.../pjproject/pjproject/CVE-2026-77396.patch | 74 ------
.../pjproject/pjproject/CVE-2026-84975.patch | 87 -------
.../{pjproject_2.17.bb => pjproject_2.18.bb} | 14 +-
17 files changed, 93 insertions(+), 812 deletions(-)
rename meta-multimedia/recipes-devtools/python/{python3-pillow-heif_1.8.1.bb => python3-pillow-heif_1.9.0.bb} (84%)
rename meta-multimedia/recipes-multimedia/fluidsynth/{fluidsynth_2.6.2.bb => fluidsynth_2.6.3.bb} (96%)
create mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57160.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57161.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57162.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57163.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57164.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57165.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57166.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-77396.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-84975.patch
rename meta-multimedia/recipes-multimedia/pjproject/{pjproject_2.17.bb => pjproject_2.18.bb} (91%)PATCH 1/6 fswebcam: Fetch from codeberg
The GitHub repository was replaced by a single commit pointing to codeberg.org/fsphil/fswebcam, so its master branch and tags no longer hold the recipe's SRCREV and a fetch without a mirror fails. Codeberg has the same 20200725 tag.
Add an UPSTREAM_CHECK_GITTAGREGEX for the date tags.
AI-Generated: Uses Claude Code
--- .../recipes-multimedia/fswebcam/fswebcam_20200725.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/fswebcam/fswebcam_20200725.bb +3 -1
@@ -15,9 +15,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" DEPENDS = "gd" -SRC_URI = "git://github.com/fsphil/fswebcam.git;protocol=https;branch=master;tag=${PV}" +SRC_URI = "git://codeberg.org/fsphil/fswebcam.git;protocol=https;branch=master;tag=${PV}" SRCREV = "db35d4bbd336885a44f017ff142bc9523dbdce3c" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+)$" + # Compile gd with PACKAGECONFIG fontconfig for easier font selection RRECOMMENDS:${PN} = "ttf-dejavu-sans"
PATCH 2/6 gstd: Use PE instead of 1.0+really in PV
In reply to Khem RajThe upstream check compared 1.0+really0.16.0 with the v0.16.0 tag and reported UNKNOWN_BROKEN. Set PE = "1" and PV = "0.16.0", fetch tag=v${PV} and add an UPSTREAM_CHECK_GITTAGREGEX. Also drop the stray git@ from the https URL.
AI-Generated: Uses Claude Code
--- .../recipes-multimedia/gstreamer-1.0/gstd_git.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb +6 -3
@@ -9,11 +9,14 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstre SRCBRANCH ?= "master" SRCREV = "d3e1daefb999c3ba0f4fcc4744b53aab2aaa5f2d" -SRC_URI = "git://[email protected]/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH} \ +SRC_URI = "git://github.com/RidgeRun/gstd-1.x.git;protocol=https;branch=${SRCBRANCH};tag=v${PV} \ file://0001-gstd-Remove-redundant-rpaths.patch" -# Remove the +really when upstream version is > 1.0 -PV = "1.0+really0.16.0" +# PV used to be 1.0+really0.16.0 +PE = "1" +PV = "0.16.0" + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" GTKDOC_MESON_OPTION = "enable-gtk-doc"
PATCH 3/6 fluidsynth: upgrade 2.6.2 -> 2.6.3
In reply to Khem Raj- Fix FPE and SEGV in rvoice DSP interpolation; stop fluid_clip from passing NaNs through
- Ignore SoundFont modulators with out-of-range/linked destinations
- Fix several memory leaks and a stack use-after-scope in the channelsmode shell command
- Fix MIDI sostenuto/CC66 handling, LFO direction on frequency update, finished voice lookup after reducing polyphony, RTKit fallback
- Compile the rvoice mixer as C++ and use std atomics for its work scheduling; OpenMP detection now requires the C++ component
Recipe: the ARM NEON mixer patch is ported to fluid_rvoice_mixer.cpp since the file was renamed from .c upstream (static_cast added for the now C++ code). Add UPSTREAM_CHECK_GITTAGREGEX for release tags only. SRCREVs of the bundled dependencies are unchanged upstream.
AI-Generated: Uses Claude Code
---
...elaration-for-float-multithreaded-se.patch | 56 +++++++++----------
...luidsynth_2.6.2.bb => fluidsynth_2.6.3.bb} | 3 +-
2 files changed, 29 insertions(+), 30 deletions(-)
rename meta-multimedia/recipes-multimedia/fluidsynth/{fluidsynth_2.6.2.bb => fluidsynth_2.6.3.bb} (96%)meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch +27 -29
@@ -193,24 +193,24 @@ fluidsynth: synth_one_block:all voices>: 97.000/103.681/251.000 Upstream-Status: Inappropriate [embedded-specific] --- - src/rvoice/fluid_rvoice_mixer.c | 55 ++++++++++++++++++++++++++++++++- - 1 file changed, 54 insertions(+), 1 deletion(-) + src/rvoice/fluid_rvoice_mixer.cpp | 55 ++++++++++++++++++++++++++++++++- + 1 file changed, 55 insertions(+), 0 deletions(-) -diff --git a/src/rvoice/fluid_rvoice_mixer.c b/src/rvoice/fluid_rvoice_mixer.c -index af0ef75d..07a357c7 100644 ---- a/src/rvoice/fluid_rvoice_mixer.c -+++ b/src/rvoice/fluid_rvoice_mixer.c -@@ -27,6 +27,9 @@ +diff --git a/src/rvoice/fluid_rvoice_mixer.cpp b/src/rvoice/fluid_rvoice_mixer.cpp +--- a/src/rvoice/fluid_rvoice_mixer.cpp ++++ b/src/rvoice/fluid_rvoice_mixer.cpp +@@ -26,6 +26,10 @@ #include "fluid_ladspa.h" #include "fluid_synth.h" +#if defined(__ARM_NEON__) +#include "arm_neon.h" +#endif ++ + #include <atomic> + #include <new> - // If less than x voices, the thread overhead is larger than the gain, - // so don't activate the thread(s). -@@ -1053,9 +1056,15 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1454,8 +1458,15 @@ int i, j; int scount = current_blockcount * FLUID_BUFSIZE; int minbuf;
@@ -222,20 +222,19 @@ index af0ef75d..07a357c7 100644 +#else fluid_real_t *FLUID_RESTRICT base_src; fluid_real_t *FLUID_RESTRICT base_dst; -- +#endif + minbuf = dst->buf_count; - if(minbuf > src->buf_count) -@@ -1063,6 +1072,27 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1464,6 +1475,27 @@ minbuf = src->buf_count; } +#if defined(__ARM_NEON__) && defined(WITH_FLOAT) -+ base_src_left = fluid_align_ptr(src->left_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_dst_left = fluid_align_ptr(dst->left_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_src_right = fluid_align_ptr(src->right_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_dst_right = fluid_align_ptr(dst->right_buf, FLUID_DEFAULT_ALIGNMENT); ++ base_src_left = static_cast<fluid_real_t *>(fluid_align_ptr(src->left_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_dst_left = static_cast<fluid_real_t *>(fluid_align_ptr(dst->left_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_src_right = static_cast<fluid_real_t *>(fluid_align_ptr(src->right_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_dst_right = static_cast<fluid_real_t *>(fluid_align_ptr(dst->right_buf, FLUID_DEFAULT_ALIGNMENT)); + + for(i = 0; i < minbuf; i++) + {
@@ -252,10 +251,10 @@ index af0ef75d..07a357c7 100644 + } + } +#else - base_src = fluid_align_ptr(src->left_buf, FLUID_DEFAULT_ALIGNMENT); - base_dst = fluid_align_ptr(dst->left_buf, FLUID_DEFAULT_ALIGNMENT); + base_src = static_cast<fluid_real_t *>(fluid_align_ptr(src->left_buf, FLUID_DEFAULT_ALIGNMENT)); + base_dst = static_cast<fluid_real_t *>(fluid_align_ptr(dst->left_buf, FLUID_DEFAULT_ALIGNMENT)); -@@ -1090,6 +1120,7 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1491,6 +1523,7 @@ base_dst[dsp_i] += base_src[dsp_i]; } }
@@ -263,15 +262,15 @@ index af0ef75d..07a357c7 100644 minbuf = dst->fx_buf_count; -@@ -1098,6 +1129,27 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1499,6 +1532,27 @@ minbuf = src->fx_buf_count; } +#if defined(__ARM_NEON__) && defined(WITH_FLOAT) -+ base_src_left = fluid_align_ptr(src->fx_left_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_dst_left = fluid_align_ptr(dst->fx_left_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_src_right = fluid_align_ptr(src->fx_right_buf, FLUID_DEFAULT_ALIGNMENT); -+ base_dst_right = fluid_align_ptr(dst->fx_right_buf, FLUID_DEFAULT_ALIGNMENT); ++ base_src_left = static_cast<fluid_real_t *>(fluid_align_ptr(src->fx_left_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_dst_left = static_cast<fluid_real_t *>(fluid_align_ptr(dst->fx_left_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_src_right = static_cast<fluid_real_t *>(fluid_align_ptr(src->fx_right_buf, FLUID_DEFAULT_ALIGNMENT)); ++ base_dst_right = static_cast<fluid_real_t *>(fluid_align_ptr(dst->fx_right_buf, FLUID_DEFAULT_ALIGNMENT)); + + for(i = 0; i < minbuf; i++) + {
@@ -288,10 +287,10 @@ index af0ef75d..07a357c7 100644 + } + } +#else - base_src = fluid_align_ptr(src->fx_left_buf, FLUID_DEFAULT_ALIGNMENT); - base_dst = fluid_align_ptr(dst->fx_left_buf, FLUID_DEFAULT_ALIGNMENT); + base_src = static_cast<fluid_real_t *>(fluid_align_ptr(src->fx_left_buf, FLUID_DEFAULT_ALIGNMENT)); + base_dst = static_cast<fluid_real_t *>(fluid_align_ptr(dst->fx_left_buf, FLUID_DEFAULT_ALIGNMENT)); -@@ -1125,6 +1177,7 @@ fluid_mixer_buffers_mix(fluid_mixer_buffers_t *dst, fluid_mixer_buffers_t *src, +@@ -1526,6 +1580,7 @@ base_dst[dsp_i] += base_src[dsp_i]; } }
@@ -301,4 +300,3 @@ index af0ef75d..07a357c7 100644 -- 2.20.1 -
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.3.bb renamed from meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.2.bb +2 -1
@@ -21,7 +21,8 @@ SRC_URI = " \ file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \ " SRCREV_FORMAT = "fluidsynth" -SRCREV_fluidsynth = "c3b244ddfd094489a5490beee013c621a504adf2" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$" +SRCREV_fluidsynth = "cd8b576ae6d33b805378356e5b33ec9f9c5b2e1b" SRCREV_gcem = "012ae73c6d0a2cb09ffe86475f5c6fba3926e200" SRCREV_signalsmith-audio-basics = "012d2be17b0eb6839628f8c73687c4ccccc1bb01" SRCREV_signalsmith-linear = "5668673560146a9cfe38c25315071e3fd68c8317"
PATCH 4/6 pjproject: upgrade 2.17 -> 2.18
In reply to Khem Raj- TLS: OCSP stapling, TLS 1.3 session resumption, Mbed TLS 4.x support and TURN TLS server certificate verification
- Signaling-only B2BUA / third-party call control with app-supplied SDP
- CMake as a full build system (Linux, Mac, iOS, Android, MSVC)
- Fixes 49 security issues, including all CVEs previously patched here
- Incompatible: DTLS-SRTP self-signed cert now uses an EC P-256 key (define PJMEDIA_SRTP_DTLS_USE_EC_KEY 0 for RSA); SSL cert serial_no is right-aligned with zero padding; pj_ssl_cert_load_direct() now takes its own references; VS2005/eVC4/VC6 projects removed.
Recipe: drop the OpenSSL 4.0 compatibility patch and the nine CVE backports (CVE-2026-57160 .. 57166, CVE-2026-77396, CVE-2026-84975), all of which are contained in 2.18. Add UPSTREAM_CHECK_GITTAGREGEX so only release tags are seen.
AI-Generated: Uses Claude Code
---
...k_ossl-fix-OpenSSL-4.0-compatibility.patch | 40 ---
.../pjproject/pjproject/CVE-2026-57160.patch | 42 ----
.../pjproject/pjproject/CVE-2026-57161.patch | 49 ----
.../pjproject/pjproject/CVE-2026-57162.patch | 43 ----
.../pjproject/pjproject/CVE-2026-57163.patch | 52 ----
.../pjproject/pjproject/CVE-2026-57164.patch | 66 -----
.../pjproject/pjproject/CVE-2026-57165.patch | 85 -------
.../pjproject/pjproject/CVE-2026-57166.patch | 228 ------------------
.../pjproject/pjproject/CVE-2026-77396.patch | 74 ------
.../pjproject/pjproject/CVE-2026-84975.patch | 87 -------
.../{pjproject_2.17.bb => pjproject_2.18.bb} | 16 +-
11 files changed, 3 insertions(+), 779 deletions(-)
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57160.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57161.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57162.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57163.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57164.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57165.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57166.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-77396.patch
delete mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-84975.patch
rename meta-multimedia/recipes-multimedia/pjproject/{pjproject_2.17.bb => pjproject_2.18.bb} (90%)meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 3923fad2e4f6f3403c3d6f1176b113c1c1b91066 Mon Sep 17 00:00:00 2001 -From: Ravi Kant Sharma <[email protected]> -Date: Wed, 24 Jun 2026 11:30:40 +0200 -Subject: [PATCH] ssl_sock_ossl: fix OpenSSL 4.0 compatibility (#5036) - -Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/3923fad2e4f6] -Signed-off-by: Jaipaul Cheernam <[email protected]> ---- - pjlib/src/pj/ssl_sock_ossl.c | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -diff --git a/pjlib/src/pj/ssl_sock_ossl.c b/pjlib/src/pj/ssl_sock_ossl.c -index 000aabad61..93fcf10f14 100644 ---- a/pjlib/src/pj/ssl_sock_ossl.c -+++ b/pjlib/src/pj/ssl_sock_ossl.c -@@ -1645,10 +1645,7 @@ static pj_status_t init_ossl_ctx(pj_ssl_sock_t *ssock) - if (PEM_read_bio_X509(new_bio, &x, NULL, NULL) == NULL) - break; - -- if ((xn = X509_get_subject_name(x)) == NULL) -- break; -- -- if ((xn = X509_NAME_dup(xn)) == NULL ) -+ if ((xn = X509_NAME_dup(X509_get_subject_name(x))) == NULL ) - break; - - #if !USING_BORINGSSL -@@ -2105,9 +2102,9 @@ static pj_bool_t parse_ossl_asn1_time(pj_time_val *tv, pj_bool_t *gmt, - pj_parsed_time pt; - int i; - -- utc = tm->type == V_ASN1_UTCTIME; -- p = (char*)tm->data; -- len = tm->length; -+ utc = ASN1_STRING_type(tm) == V_ASN1_UTCTIME; -+ p = (char*)M_ASN1_STRING_data(tm); -+ len = M_ASN1_STRING_length(tm); - end = p + len - 1; - - /* GMT */
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57160.patch deleted +0 -42
42 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57161.patch deleted +0 -49
49 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57162.patch deleted +0 -43
43 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57163.patch deleted +0 -52
52 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57164.patch deleted +0 -66
66 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57165.patch deleted +0 -85
85 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-57166.patch deleted +0 -228
228 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-77396.patch deleted +0 -74
74 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject/CVE-2026-84975.patch deleted +0 -87
87 lines not on this page · raw message
meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb renamed from meta-multimedia/recipes-multimedia/pjproject/pjproject_2.17.bb +3 -13
@@ -12,19 +12,9 @@ SECTION = "libs" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "git://github.com/pjsip/pjproject.git;protocol=https;branch=master;tag=${PV} \ - file://0001-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility.patch \ - file://CVE-2026-57160.patch \ - file://CVE-2026-57161.patch \ - file://CVE-2026-57162.patch \ - file://CVE-2026-57163.patch \ - file://CVE-2026-57164.patch \ - file://CVE-2026-57165.patch \ - file://CVE-2026-57166.patch \ - file://CVE-2026-77396.patch \ - file://CVE-2026-84975.patch \ - " -SRCREV = "5a457451fa2712ba18e12b01738e8ff3af2b26fd" +SRC_URI = "git://github.com/pjsip/pjproject.git;protocol=https;branch=master;tag=${PV}" +SRCREV = "bd4a7189d83d94237b6f42f3b8274664dbe6ff94" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" DEPENDS = "swig-native python3-setuptools-native"
PATCH 5/6 python3-pillow-heif: upgrade 1.8.1 -> 1.9.0
In reply to Khem Raj- Pillow plugin: Image.open() with a file path now reads only the metadata; the file must stay unchanged on disk until load()
- Requires Pillow >= 13.0.0 and libheif >= 1.23.7; Python 3.10 dropped
- Files with an unreadable metadata item now open; invalid HEVC NAL unit size raises ValueError instead of EOFError
- Fix crashes/buffer overflow on memory exhaustion and with a preferred decoder ID longer than 63 bytes; NAL units over 16 MiB
Recipe: checksum update only. The cross-compile setup.py patch still applies (offset only); python3-pillow 13.0.0 and libheif 1.23.7 are already in the layers.
AI-Generated: Uses Claude Code
---
...ython3-pillow-heif_1.8.1.bb => python3-pillow-heif_1.9.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-multimedia/recipes-devtools/python/{python3-pillow-heif_1.8.1.bb => python3-pillow-heif_1.9.0.bb} (84%)meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.9.0.bb renamed from meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.8.1.bb +1 -1
@@ -9,7 +9,7 @@ LICENSE_FLAGS = "commercial" inherit pypi python_setuptools_build_meta SRC_URI += "file://0001-setup.py-support-cross-compiling.patch" -SRC_URI[sha256sum] = "521ebffb8a181d56c3904e5a61f20903edee0d9d3275967b8fb345f866215c06" +SRC_URI[sha256sum] = "8a13d15106c9dbbd66a65966edee2ee0de3950c18dc3ea42912442cda803ea4c" DEPENDS += "libheif python3-wheel-native"
PATCH 6/6 pjproject: Fix build on musl
In reply to Khem RajThe pjsua_stress harness added in 2.18 takes every non-Android Linux build for glibc and includes <execinfo.h> for crash backtraces:
pjsua_stress.c:58:12: fatal error: 'execinfo.h' file not found
Add a patch that enables the backtrace and ucontext code only when __GLIBC__ is defined.
AI-Generated: Uses Claude Code
--- ...y-use-backtrace-and-ucontext-with-gl.patch | 51 +++++++++++++++++++ .../pjproject/pjproject_2.18.bb | 4 +- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch
meta-multimedia/recipes-multimedia/pjproject/pjproject/0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch new file +51 -0
@@ -0,0 +1,51 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Thu, 26 Nov 2026 15:30:12 -0800 +Subject: [PATCH] pjsua_stress: Only use backtrace() and ucontext with glibc + +PJSUA_STRESS_GLIBC was defined for every non-Android Linux build, so on +musl the stress harness included <execinfo.h> and failed to build: + + pjsua_stress.c:58:12: fatal error: 'execinfo.h' file not found + +Keep defining _GNU_SOURCE for Linux before the first libc include, but +only enable the backtrace and ucontext code when __GLIBC__ is defined. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj <[email protected]> +--- + pjsip/src/test/pjsua_stress.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +diff --git a/pjsip/src/test/pjsua_stress.c b/pjsip/src/test/pjsua_stress.c +index b1d9056..0a887df 100644 +--- a/pjsip/src/test/pjsua_stress.c ++++ b/pjsip/src/test/pjsua_stress.c +@@ -41,11 +41,7 @@ + * backtrace() only from API 33 and its ucontext_t has a different shape. + * This harness runs on the Linux and macOS CI targets, so keep it off there. + */ +-#if defined(__linux__) && !defined(__ANDROID__) +-# define PJSUA_STRESS_GLIBC 1 +-#endif +- +-#if defined(PJSUA_STRESS_GLIBC) && !defined(_GNU_SOURCE) ++#if defined(__linux__) && !defined(__ANDROID__) && !defined(_GNU_SOURCE) + # define _GNU_SOURCE 1 + #endif + +@@ -54,6 +50,13 @@ + #include <stdlib.h> + #include <string.h> + ++/* backtrace() and the ucontext layout used below are glibc specific; ++ * musl and other Linux C libraries have neither <execinfo.h> nor ++ * REG_RIP, so only enable them for glibc (known after a libc include). */ ++#if defined(__linux__) && !defined(__ANDROID__) && defined(__GLIBC__) ++# define PJSUA_STRESS_GLIBC 1 ++#endif ++ + #if defined(PJSUA_STRESS_GLIBC) || defined(__APPLE__) + # include <execinfo.h> + # include <signal.h>
meta-multimedia/recipes-multimedia/pjproject/pjproject_2.18.bb +3 -1
@@ -12,7 +12,9 @@ SECTION = "libs" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "git://github.com/pjsip/pjproject.git;protocol=https;branch=master;tag=${PV}" +SRC_URI = "git://github.com/pjsip/pjproject.git;protocol=https;branch=master;tag=${PV} \ + file://0001-pjsua_stress-Only-use-backtrace-and-ucontext-with-gl.patch \ + " SRCREV = "bd4a7189d83d94237b6f42f3b8274664dbe6ff94" UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"