Commit Graph

39405 Commits

Author SHA1 Message Date
Wang Mingyu 690984ae6d pegtl: upgrade 4.0.0 -> 4.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 22:57:39 -07:00
Wang Mingyu 76510c5053 pax-utils: upgrade 1.3.10 -> 1.3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 22:57:39 -07:00
Wang Mingyu c347929f84 nanomsg: upgrade 1.2.2 -> 1.2.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 22:57:39 -07:00
Wang Mingyu c8222ee303 nano: upgrade 9.1 -> 9.2
Changelog:
===========
- Nano refuses to start when standard output is not a terminal.
- Options --newbuffer and 'set newbuffer' were added as better
  synonyms of --multibuffer and 'set multibuffer'.
- Legacy keystroke pairs ^W^T and ^/^T are recognized again.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 22:57:39 -07:00
Wang Mingyu a8cad54c28 libtevent: upgrade 0.17.1 -> 0.17.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 22:57:39 -07:00
Wang Mingyu 7b9a3f2ea6 libtalloc: upgrade 2.4.4 -> 2.5.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 22:57:38 -07:00
Wang Mingyu 2a6a932c46 ctags: upgrade 6.2.20260726.0 -> 6.2.20260802.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 22:57:38 -07:00
Khem Raj 703672013b uim: Fix uim-module-manager segfault from a GC'd require filename
uim-module-manager crashes in uim_init() while requiring key.scm:

    #0  __strlen_evex ()
    #1  make_loaded_str (filename=0x7e)
    #2  scm_p_require ()
    ...
    #29 uim_init ()

scm_p_require() dereferences its FILENAME argument again after the
nested scm_load(), but nothing keeps a tagged ScmObj reference to it.
SigScheme's conservative collector only accepts properly tagged words
(within_heapp() / SCM_TAG_CONSISTENTP()), while the compiler keeps just
SCM_DROP_TAG(filename) and the interior char *, so the string is swept
and its cell recycled mid-load:

    before load: cell=0x7ffff7d5a090 obj_x=0x555555569180 "key.scm"
    after  load: cell=0x7ffff7d5a090 obj_x=0x7e            <- recycled

Whether it triggers is pure allocation timing, which is why uim-native
fell over while the cross-built uim ran the same scm files fine.

Add the patch to the common SRC_URI rather than the class-target one,
since it is uim-native that scm/Makefile runs at build time.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 18:10:23 -07:00
Khem Raj 787d1b73e2 meta-oe: repair broken recipe upstream version-checks
A full check-upgrade-status sweep of meta-oe found 121 recipes reporting
UNKNOWN_BROKEN: their upstream version check resolved no version. This
adds the correct check metadata to each so the version check works again.

Fixes, by mechanism:
 - wget/tarball recipes: add UPSTREAM_CHECK_URI + UPSTREAM_CHECK_REGEX
   pointing at the real release listing (SourceForge files pages, GitHub
   releases pages, GNU/ftp mirrors, distro pools).
 - git recipes with release tags in a non-default format: add
   UPSTREAM_CHECK_GITTAGREGEX matching the actual tag scheme.
 - git repos with no tags at all: UPSTREAM_CHECK_COMMITS = "1".
 - recipes whose upstream has no checkable release channel, or whose PV
   format cannot be compared against upstream tags (CPAN zero-padded
   versions, AUTOINC "git" PVs, dash-separated tags the checker cannot
   convert): UPSTREAM_VERSION_UNKNOWN = "1" with an explanatory comment.

Also override GITHUB_BASE_URI for libppd's sibling libcupsfilters where the
github-releases class default pointed at a non-existent org (404).

Only version-check metadata is touched; no SRC_URI, SRCREV, PV, or checksum
is changed, so nothing that gets built is affected. Each fix was verified
with devtool check-upgrade-status: 120 of 121 now resolve (MATCH, UPDATE,
COMMITS, or an honestly-declared UNKNOWN). The remaining recipe (libubox)
already has correct metadata and only fails locally because the git://
port to git.openwrt.org is firewalled on the build host.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 18:09:53 -07:00
Ross Burton 0a60011ec1 nushell: add missing build dependencies
Needed since our cargo class now stops the git2-sys and sqlite3-sys
crates from using a bundled copies of the libraries.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:10 -07:00
Ross Burton bb46aa517f lsd: add missing libgit2 build dependency
Needed since our cargo class now stops the git2-sys crate from using a
bundled copy of libgit2. Also inherit pkgconfig as that is used to find
the system libgit2.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:09 -07:00
Ross Burton 62fc6e6124 librice: allow building bundled rice-proto
rice-proto isn't really bundled but is a subproject in librice that is
built using the pkg-config crate. However the cargo class now disables
bundled dependencies, so explicitly allow rice-proto to be built.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:09 -07:00
Ross Burton 7bf5f6c248 librav1e: add missing libgit2 build dependency
Not sure why an AV1 encoder needs libgit2 but that's rust's dependency
tree for you.  Needed since our cargo class now stops the git2-sys crate
from using a bundled copy of libgit2.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:09 -07:00
AshishKumar Mishra 0b8685f28c image_types_sparse: switch ext* conversion to ext2simg_android
We have RFC discussion at
https://lists.openembedded.org/g/openembedded-devel/message/124499
https://lists.openembedded.org/g/openembedded-devel/message/125497

Move ext* sparse image generation from 'img2simg' to ' ext2simg_android'

Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:09 -07:00
AshishKumar Mishra 01d621f632 android-tools: export libsparse/libbase/liblog headers and libs to sysroot
Export libsparse, libbase, and liblog headers and libraries to the sysroot.
Currently, these are often internal to the build.
Reorganise header installation to ${includedir}/sparse to match the expected
include paths for e2fsprogs contrib tools.

Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:08 -07:00
AshishKumar Mishra 048bdb8a0f e2fsprogs-ext4sparse-native: compiles ext2simg.c using android-tools-native
Add a custom do_compile step to build the  ext2simg_android utility (ext2simg)
when building for the native class.
This can be used to generate ext* based sparse image

Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:08 -07:00
Khem Raj 91ca86a432 crash-cross-canadian: Use oe.utils.all_multilib_tune_values in the docs
oe-core 6b2defb521 ("utils: Move functions from utils.bbclass to utils.py")
moved all_multilib_tune_values out of utils.bbclass, so the unqualified name
is no longer available to recipes. Update the packagegroup snippet in the
comment block so that copying it still works.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:08 -07:00
Khem Raj 4fc7c36afb kernel-selftest: Drop obsolete dependency on linux-kernel-base
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 16:53:08 -07:00
Ankur Tyagi 058e0c139e liburing: upgrade 2.12 -> 2.15
Also included tag in the SRC_URI.

Changelog:
https://github.com/axboe/liburing/releases/tag/liburing-2.15

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 13:34:41 -07:00
Ankur Tyagi 6034c7f14f crow: upgrade 1.3.2 -> 1.3.3
Changelog:
https://github.com/CrowCpp/Crow/releases/tag/v1.3.3

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 13:34:41 -07:00
Ankur Tyagi 568b12546c cjose: upgrade 0.6.2.4 -> 0.6.2.7
Changelog:
https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.5
https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.6
https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.7

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 13:34:40 -07:00
Ankur Tyagi f5d901b676 libplacebo: upgrade 7.351.0 -> 7.360.1
Dropped patch that is merged in the upstream version.
Also updated branch and included tag in the SRC_URI.

Changelog:
https://code.videolan.org/videolan/libplacebo/-/tags/v7.360.0
https://code.videolan.org/videolan/libplacebo/-/tags/v7.360.1

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 13:34:40 -07:00
Ankur Tyagi 9c4278ac10 gtkwave: upgrade 3.3.127 -> 3.3.128
License-Update: update md5sum

Changelog:
- Hurd compile fix.
- Update lz4 to 1.10.0.

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 13:34:40 -07:00
Ankur Tyagi c683fc0fdb drm-info: upgrade 2.9.0 -> 2.10.0
Changelog:
https://gitlab.freedesktop.org/emersion/drm_info/-/tags/v2.10.0

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 13:34:40 -07:00
Niko Mauno de818f92b4 meta-oe: Drop obsolete INC_PR declarations
The variable was pruned from oe-core already in 2020 since
commit 3fdd772b419b ("recipes: Remove remaining INC_PR variables")

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 13:34:40 -07:00
Jaipaul Cheernam 8ac0b70c8a rsyslog: add autoconf-archive-native to DEPENDS
configure.ac uses AX_COMPILER_FLAGS, AX_PROG_JAVAC and AX_PROG_JAVA
from autoconf-archive, and autoreconf regenerates aclocal.m4 so the
copy in the tarball doesn't help.

  | configure.ac:61: error: undefined or overquoted macro: AX_COMPILER_FLAGS
  | autoreconf: error: autoconf failed with exit status: 1

Works today only because relp depends on libidn which depends on
autoconf-archive. Depend on it directly.

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 13:34:40 -07:00
Markus Volk a3d22fd0fc libcec: update 7.1.1 -> 8.1.3
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 19:58:12 -07:00
iwanicki92 6a5660078e python3-typer: add missing runtime dependencies
Move `rich` and `shellingham` from `ptest` to main package as `typer`
depends on them. Remove `click` since it was vendored in 0.26.0 and
`typing-extensions` since it isn't mentioned in pyproject.toml, and the
only use is in module that is loaded when running on Windows.

Add missing `annotated-doc` package rdependency, and missing python3
modules (went through the code to check the imports)

Signed-off-by: iwanicki92 <iwanicki92@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:06 -07:00
iwanicki92 45e6e47491 python3-rich: add missing runtime dependencies
`python3-markdown-it-py` was missing along with some python3 modules.
I went through the code and added everything imported that I noticed,
except modules imported on Windows.

Signed-off-by: iwanicki92 <iwanicki92@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:06 -07:00
Ankur Tyagi 29ce577f17 parallel: upgrade 20260522 -> 20260722
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:06 -07:00
Ankur Tyagi fa3fde5573 libwmf: upgrade 0.2.13 -> 0.2.15
Also included tag in the SRC_URI.

https://github.com/caolanm/libwmf/releases/tag/v0.2.15

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:06 -07:00
Ankur Tyagi 53bb5b9f49 mbpoll: upgrade 1.5.2 -> 1.5.4
Dropped 0001-allow-build-with-cmake-4.patch as upstream fixed it.
Also included tag in the SRC_URI.

https://github.com/epsilonrt/mbpoll/releases/tag/v1.5.3
https://github.com/epsilonrt/mbpoll/releases/tag/v1.5.4

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:05 -07:00
Ankur Tyagi d9d2f6652a jsoncpp: upgrade 1.9.7 -> 1.9.8
Dropped patches that are merged in the upstream version.

Changelog:
https://github.com/open-source-parsers/jsoncpp/releases/tag/1.9.8

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:05 -07:00
Ankur Tyagi 89b5f39b22 unbound: upgrade 1.25.1 -> 1.25.2
This release has a number of security fixes.
https://github.com/NLnetLabs/unbound/releases/tag/release-1.25.2

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:05 -07:00
Ankur Tyagi 7462895d71 tcpreplay: upgrade 4.5.2 -> 4.5.5
Release Notes:
https://github.com/appneta/tcpreplay/releases/tag/v4.5.3
https://github.com/appneta/tcpreplay/releases/tag/v4.5.4
https://github.com/appneta/tcpreplay/releases/tag/v4.5.5

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:05 -07:00
Ankur Tyagi 0f1dbf97ae usbredir: upgrade 0.14.0 -> 0.15.0
Also included tag in the SRC_URI.

Changelog:
- usbredirect: Fix crash with multiple connections
- usbredirect: Fix win32 cross-compile warning
- usbredirtestclient: Fix memory leak

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:05 -07:00
Ankur Tyagi 274e45f28e sngrep: upgrade 1.8.3 -> 1.8.4
Included tag in the SRC_URI and dropped explicitly setting PV in the recipe

Changelog:
https://github.com/irontec/sngrep/blob/v1.8.4/ChangeLog

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:05 -07:00
Ankur Tyagi ef5488c9ce cifs-utils: upgrade 7.4 -> 7.7
Changelog:
cifs-utils: bump version to 7.7
cifs.upcall: fix regression with krb5 + creduid
cifs.upcall: Avoid int overflow after year 2038
mount.cifs: fix const correctness in parse_options
cifs.upcall: fix compiler warning with -Wvla
smbinfo: parse action and filename from change notifications
cifs-utils: bump version to 7.6
cifs.upcall: remove getpwuid() dependency
smbinfo: update notify subcommand
smbinfo: add filecompressioninfo subcommand
cifs.upcall: Adjust log level
docs: Enable debug logs
cifs.upcall: add option to enable debug logs
cifs.upcall: Retry krb5 TGS request with uppercase service name
mount.cifs: remove runtime pass_length calculation
mount.cifs: adjust get_password_from_file() buf size
build_assert: add ccan build_assert.h header
mount.cifs: fix buffer overrun in set_password
smbinfo: fix decimated subseconds in smbinfo filebasicinfo timestamp output
smbinfo: add notify subcommand
docs: update username= option to drop invalid examples
cifs.upcall: fix calloc() argument order in main()
cifs-utils: bump version to 7.5
docs: update echo_interval description
cifscreds: fix parsing of commands and parameters
cifs-utils: Fix documentation for character remappings.

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:04 -07:00
Ankur Tyagi 43f5daaa29 nghttp3: upgrade 1.15.0 -> 1.18.0
Sub-source munit SRCREV unchanged.

https://github.com/ngtcp2/nghttp3/releases/tag/v1.16.0
https://github.com/ngtcp2/nghttp3/releases/tag/v1.17.0
https://github.com/ngtcp2/nghttp3/releases/tag/v1.18.0

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:04 -07:00
Ankur Tyagi 13ba198f57 ulogd2: upgrade 2.0.8 -> 2.0.9
Removed ulog from packageconfig[1]

Changelog:
https://git.netfilter.org/ulogd2/log/?h=ulogd-2.0.9

[1] https://git.netfilter.org/ulogd2/commit/?h=ulogd-2.0.9&id=2f49c9bb6a9e4b7ed26d8e487e372695031aa5f9

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:04 -07:00
Ankur Tyagi 34a4496d77 libmodule: update branch in the SRC_URI
Otherwise do_fetch() fails with error:
ERROR: libmodule-5.0.2-r0 do_fetch: Fetcher failure: Unable to find revision b373482a43482459b37bcf601e21846e9c9563d1 in branch master even from upstream
ERROR: libmodule-5.0.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/FedeDP/libmodule;protocol=https;branch=master;tag=5.0.2')

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:04 -07:00
Ankur Tyagi 2a1d19e801 openal-soft: include tag in the SRC_URI
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:04 -07:00
Ankur Tyagi f2aad71443 liblc3: include tag in the SRC_URI
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:04 -07:00
Ankur Tyagi 117829f76e libmatroska: include tag in the SRC_URI
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:03 -07:00
Khem Raj 2ba9dd8823 python3-mpv: propagate ffmpeg's commercial LICENSE_FLAGS
python3-mpv RDEPENDS on mpv, which requires ffmpeg (LICENSE_FLAGS =
"commercial"). With "commercial" not in LICENSE_FLAGS_ACCEPTED, parsing
the universe target - which ignores EXCLUDE_FROM_WORLD - reports:

  WARNING: Nothing RPROVIDES 'mpv' (but .../python3-mpv_1.0.8.bb
           RDEPENDS on or otherwise requires it)
  NOTE: Runtime target 'python3-mpv' is unbuildable, removing...

Now that mpv carries LICENSE_FLAGS = "commercial" and is skipped, carry
the same flag here so python3-mpv is likewise skipped cleanly in both
world and universe instead of surfacing as an unbuildable dependency.
The redundant EXCLUDE_FROM_WORLD is dropped.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:03 -07:00
Khem Raj 5f4e021e2d mpv: propagate ffmpeg's commercial LICENSE_FLAGS
mpv has an unconditional DEPENDS on ffmpeg, which carries
LICENSE_FLAGS = "commercial". When "commercial" is not in
LICENSE_FLAGS_ACCEPTED (the default), ffmpeg is skipped, and parsing the
universe target - which, unlike world, ignores EXCLUDE_FROM_WORLD -
reports mpv as an unbuildable dependency chain:

  WARNING: Nothing PROVIDES 'ffmpeg' (but .../mpv_0.41.0.bb DEPENDS on
           or otherwise requires it)
  ffmpeg was skipped: Has a restricted license 'commercial' ...
  NOTE: Runtime target 'mpv' is unbuildable, removing...

Since mpv cannot be built or shipped without accepting ffmpeg's terms,
propagate the flag onto mpv itself. bitbake then skips mpv cleanly (in
both world and universe) with the same "restricted license" note as
ffmpeg, and no longer emits the confusing unbuildable-dependency
warnings. This mirrors how oe-core's gstreamer1.0-libav (which also
DEPENDS on ffmpeg) carries LICENSE_FLAGS = "commercial".

The explicit EXCLUDE_FROM_WORLD is now redundant - a recipe skipped for
its license flags is already excluded from world - so drop it.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:03 -07:00
Khem Raj e8ad55a0ee turbostat: Use oe.kernel.get_version_file
oe-core commit b980106560 ("lib/oe/kernel: Move python functions from
linux-kernel-base to library code") moved the kernel helpers out of
linux-kernel-base.bbclass into meta/lib/oe/kernel.py and renamed them from
get_kernelXXX to oe.kernel.get_XXX, so get_kernelversion_file no longer exists
and expanding KERNEL_VERSION raises NameError.

turbostat is COMPATIBLE_HOST x86 only, so this does not show up when parsing for
other architectures, but it breaks the same way as zabbix did.

Switch to the new name. The functions now live in the oe library, which is
always available in python expressions, so the linux-kernel-base inherit is no
longer needed -- it only exports KBUILD_BUILD_* now, which is of no use here,
and upstream intends to remove the class entirely.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-01 11:57:30 -07:00
Khem Raj 198ec74610 zabbix: Use oe.kernel.get_version_headers
oe-core commit b980106560 ("lib/oe/kernel: Move python functions from
linux-kernel-base to library code") moved the kernel helpers out of
linux-kernel-base.bbclass into meta/lib/oe/kernel.py and renamed them from
get_kernelXXX to oe.kernel.get_XXX. In-tree users were updated, out of tree
layers were not, so parsing now fails:

  ExpansionError: Failure expanding variable KERNEL_VERSION, expression was
  ${@get_kernelversion_headers('.../work-shared/raspberrypi4-64/kernel-source')}
  which triggered exception NameError: name 'get_kernelversion_headers' is not defined
  The variable dependency chain for the failure is: KERNEL_VERSION -> do_configure

Switch to the new name. The functions now live in the oe library, which is
always available in python expressions, so the linux-kernel-base inherit is no
longer needed -- it only exports KBUILD_BUILD_* now, which is of no use here,
and upstream intends to remove the class entirely.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-01 11:57:30 -07:00
Khem Raj ba6048b0ad fwupd: Only enable hsi on x86
fwupd 2.1.7 fails to configure on every non-x86 machine:

  ../sources/fwupd-2.1.7/meson.build:288:68: ERROR: Feature hsi cannot be enabled

HSI (Host Security ID) has always been implemented for x86 only, but the way
meson.build enforces that changed in 2.1.x. 2.0.19 had:

  hsi = get_option('hsi').disable_auto_if(host_machine.system() != 'linux').disable_auto_if(
    host_cpu != 'x86' and host_cpu != 'x86_64'
  ).allowed()

while 2.1.7 has:

  hsi = get_option('hsi').require(host_machine.system() == 'linux').require(
    host_cpu in ['x86', 'x86_64']
  ).allowed()

disable_auto_if() only downgrades features that are set to 'auto', so passing
-Dhsi=enabled on e.g. aarch64 used to go through silently. require() is an
assertion, so the same option is now a hard error.

The recipe lists hsi unconditionally in the default PACKAGECONFIG and therefore
always passes -Dhsi=enabled. Restrict that to the architectures whose meson
cpu_family is x86 or x86_64. Non-x86 now gets -Dhsi=disabled, and require() on
an explicitly disabled feature is a no-op rather than an error.

PACKAGECONFIG[hsi] is left alone so it can still be requested explicitly.

Verified on qemuarm64 (do_configure now succeeds, meson reports "hsi: disabled",
recipe builds through to packaging) and on qemux86-64 (hsi remains in
PACKAGECONFIG, so the feature is unchanged where it is supported).

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-08-01 11:57:30 -07:00
Khem Raj aad68a6567 xdg-desktop-portal-wlr: upgrade 0.8.2 -> 0.8.4
Upstream changes (git log v0.8.2..v0.8.4):
 * screencast: drive the PipeWire graph ourselves; default SelectSources
   to monitors; guard xdpw_pwr_enqueue_buffer() in the PAUSED state; fix
   stream freezing on PipeWire buffer starvation; print an error message
   on the Y-invert flag.

Version-only bump (git tag v0.8.4); recipe unchanged.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-01 11:57:30 -07:00