Commit Graph

34169 Commits

Author SHA1 Message Date
Markus Volk 305abf38eb libsdl2-mixer: update and build with cmake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:58 -07:00
Markus Volk 30a032aa66 libsdl2-compat: fix to work as drop-in replacement for libsdl2
Since libsdl2 and libsdl2-compat are now mutually exclusive
we can afford to rename the .pc file from sdl2-compat.pc to sdl2.pc
This helps other projects which use pkgconfig to find libsdl2

Allow to build libsdl2-compat for native and nativesdk. This is required
to build qemu

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:58 -07:00
Khem Raj 4613cf3854 libsdl3-image: Add missing dependency on libsdl3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk 47208d305c libsdl3-image: add recipe
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk 280da6a65e libsdl2-compat: make mutually exclusive with libsdl2
libsdl2 and libsdl2-compat share the same headers.
Therefore, using one or the other is an either-or decision

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk b00d8a0b46 libsdl3-ttf: add recipe
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk dbb9c319a8 libsdl2-ttf: update and build with cmake
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk 5be79c75a6 libsdl2-net: update anb build with cmake
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk 54e52f0681 libsdl2-image: build with cmake
This allows to use with libsdl2-compat

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk 4c811a14dd fluidsynth: update
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:56 -07:00
Markus Volk 9214b0bcda libxmp: add recipe
libxmp is a requirement for libsdl2-mixer

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:56 -07:00
Khem Raj e65655df42 vboxguestdrivers: Use -ffile-prefix-map in place of -fdebug-prefix-map
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:56 -07:00
Khem Raj ac107efa0c bpftool: Use -ffile-prefix-map instead of -fdebug-prefix-map
ffile-prefix-map is superset for reproducibility

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:56 -07:00
Khem Raj 06f305c7df ace: Delete -fdebug-prefix-map option from CXX
-fdebug-prefix-map is implied in -ffile-prefix-map

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:56 -07:00
Khem Raj f00a3f153a apache2: Scrub -ffile-prefix-map in build.nice file
Fixes
QA Issue: File /usr/libexec/apache2/build/config.nice in package apache2-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:56 -07:00
Jason Schonberg 348d636b40 c-ares: update 1.34.4 -> 1.34.5
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.34.5

Security:

    CVE-2025-31498. A use-after-free bug has been uncovered in read_answers() that was introduced in v1.32.3. Please see GHSA-6hxc-62jh-p29v

Changes:

    Restore Windows XP support. PR #958

Bugfixes:

    A missing mutex initialization would make busy polling for configuration changes (platforms other than Windows, Linux, MacOS) eat too much CPU PR #974
    Pkgconfig may be generated wrong for static builds in relation to -pthread PR #965
    Localhost resolution can fail if only one address family is in /etc/hosts PR #947

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:55 -07:00
Khem Raj b22026cd37 python3-lief: Upgrade to 0.16.5 + tip of trunk
Drop upstreamed patch.
Pydantic-core is now available for riscv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 19:46:45 -07:00
Khem Raj c7073b4679 python3-pydantic: Use tip of trunk
Its needed for using pydantic-core 2.34 support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 19:46:42 -07:00
Khem Raj cc119a9f9c python3-web3: Re-enable on riscv32
pydantic-core module has been fixed to build on riscv32 so re-enable it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:08 -07:00
Khem Raj 467110cf48 python3-pydantic: Enable riscv32 builds
python3-pydantic-core has been fixed to work with riscv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:08 -07:00
Khem Raj 055fc16cda python3-pydantic-core: Upgrade to 2.34.1
Fix RISCV-32 builds while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:08 -07:00
Khem Raj 9cf14c34c0 gphoto2: Use :space: to identify space characters
Sometimes current sed expression does not work so use POSIX
compliant expression

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:08 -07:00
Andreas Fenkart 63df976d8e chrony: use inherit_defer for conditional inherit of useradd
conditionnal inherit is missed when PACKAGECONFIG privdrop is
activated after this inherit, eg in .bbappend.

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:08 -07:00
Andreas Fenkart b7ec477640 chrony: fix /sbin/nologin path in useradd cmdline
/sbin/nologin instead of /bin/nologin

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:08 -07:00
Kéléfa Sané a23f229207 Reproducilibility: Remove boinc-client-dev package from non reproducible list
Last modification on boinc-client recipe (see commit "boinc-client: Fix
contains reference to TMPDIR [buildpaths] warning"
3e38af7e8b) fix the repoducibility issue,
with a do_install:append task which remove the build path present in the
header source file svn_version.h.

Signed-off-by: Kéléfa Sané <kelefa.sane@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:07 -07:00
mark.yang 7ad93a1c68 libowfat: fix error with gcc-15
* fix following errors:
  ./select.h:13:12: error: conflicting types for 'select'; have 'int(void)'
   13 | extern int select();
      |            ^~~~~~
   In file included from TOPDIR/tmp/work/core2-64-oe-linux/libowfat/0.32/recipe-sysroot/usr/include/sys/types.h:179,
                 from ./select.h:6:
   ./buffer.h:40:65: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible pointer type 'ssize_t (*)(int,  char *, size_t)' {aka 'long int (*)(int,  char *, long unsigned int)'} [-Wincompatible-pointer-types]
   40 | #define BUFFER_INIT(op,fd,buf,len) { (char*)(buf), 0, 0, (len), (op), NULL, NULL, (fd) }

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:07 -07:00
Jason Schonberg 748f7c9386 c-ares: upgrade 1.34.3 -> 1.34.4
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.34.4

Changes:

    QNX Port: Port to QNX 8, add primary config reading support, add CI build. PR #934, PR #937, PR #938

Bugfixes:

    Empty TXT records were not being preserved. PR #922
    docs: update deprecation notices for ares_create_query() and ares_mkquery(). PR #910
    license: some files weren't properly updated. PR #920
    Fix bind local device regression from 1.34.0. PR #929, PR #931, PR #935
    CMake: set policy version to prevent deprecation warnings. PR #932
    CMake: shared and static library names should be the same on unix platforms like autotools uses. PR #933
    Update to latest autoconf archive macros for enhanced system compatibility. PR #936

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:07 -07:00
Khem Raj 2c958c9ad7 klibc.bbclass: Add spaces around assignment
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:07 -07:00
Markus Volk 635de479f7 static-passwd-meta-oe: add flatpak user
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:07 -07:00
Markus Volk 4d3553c7fd static-passwd-meta-gnome: add gnome-remote-control user
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:07 -07:00
Markus Volk 0d15798b19 gnome-remote-desktop: fix path for nologin
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:06 -07:00
Markus Volk 6ed8a8f67d flatpak: fix path for nologin
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:06 -07:00
Leon Anavi 3f19b0facd python3-eth-typing: Upgrade 4.1.0 -> 5.2.1
Upgrade to release 5.2.1:

- Set name as optional for ABIComponent type.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:06 -07:00
Leon Anavi d980344b01 python3-eth-hash: Upgrade 0.7.0 -> 0.7.1
Upgrade to release 0.7.1:

- Merge template, updating CI runs and what is included in package
  files
- Run mypy linting locally via a pre-commit hook
- Merge template updates, notably adding support for py313 and
  moving docs from the README to ReadTheDocs

License-Update: Updated copyright years

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:06 -07:00
Leon Anavi 300aad71ca python3-eth-utils: Upgrade 5.2.0 -> 5.3.0
Upgrade to release 5.3.0:

- Replace arg["name"] with arg.get("name") to correctly handle
  optional names
- Add new methods: to_wei_decimals, and from_wei_decimals which
  take a number instead of a string
- Add CamelModel pydantic model for validating objects and
  serializing to camelCase when used with by_alias=True, with
  the general expectation of a well-formed JSON-RPC object.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:06 -07:00
Leon Anavi 3782ba0f4c python3-pytest-aiohttp: Upgrade 1.0.5 -> 1.1.0
Upgrade to release 1.1.0:

- Drop Python 3.8
- Export the plugin types at top-level
- Add host parameter to aiohttp_server fixture

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:06 -07:00
Leon Anavi 4ff6768196 python3-lazy-object-proxy: Upgrade 1.10.0 -> 1.11.0
Upgrade to release 1.11.0:

- Added Python 3.13 wheels.
- Added support for __format__.
- Dropped support for Python 3.8.

License-Update: Updated copyright years

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:06 -07:00
Leon Anavi dc26196abe python3-yarl: Upgrade 1.19.0 -> 1.20.0
Upgrade to release 1.20.0:

- Implemented support for the free-threaded build of CPython 3.13
- Started building wheels for the free-threaded build of CPython 3.13

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:05 -07:00
Thuận Nguyễn-Thái c3b5b10f72 libsimplelog: Add C89-C++20 logger for cross-OS.
- Edit CMake
- Re-test Windows, Linux, MAC OSX.

Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:05 -07:00
Chen Qi 293cfe93f4 check-version-mismatch.bbclass: skip go/src directory
Files under it are source files. And if go/src locate under
/usr/lib, this will result in very long LD_LIBRARY_PATH causing
failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:05 -07:00
Chen Qi a232d95455 conf/version-check.conf: skip version check for a few recipes
Now check-version-mismatch.bbclass can check scripts' output
beside elf binaries output. We need to skip a few recipe.
These recipes' scripts give some version information, but they
are version information of scripts themselves instead of the package.
There's no executable in these packages that can give out useful
version information.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:05 -07:00
Chen Qi 93a6ada53c check-version-mismatch.bbclass: handle non-elf executables
Using qemu to run non-elf executables such as shell scripts directly
is destined to fail. In such case, we check its interperter and try
out best to run it accordingly.

We'll also need to skip the "/etc" directory as files under it are
configuration files and init scripts. And the init script will
send SIGTERM and SIGKILL to all processes, giving users annoying
behavior.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:05 -07:00
Chen Qi 62d3384378 check-version-mismatch.bbclass: ensure sysroot is available
We need to ensure sysroot is available for this version check task,
otherwise, running binaries might fail because of lack of libraries
from sysroot.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:05 -07:00
Chen Qi 301a5fd516 conf/version-check.conf: skip piglit
piglit is an open-source test suite for OpenGL implementations. It
contains a whole lot of programs which all do not give out any version
information. Running version check for piglit is a waste of time (~1h),
so setting a '%' to skip it.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:04 -07:00
Chen Qi b1281d5bc8 check-version-mismatch.bbclass: avoid meaningless checking
If users set CHECK_VERSION_PN for a recipe and its value is a single
'%', then it matches anything. So there's no point doing any further
check.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:04 -07:00
Chen Qi 095d61d2e2 check-version-mismatch.bbclass: avoid single '(' in version output
Avoid a single '(' in version. For example, we want to extract the
'2.30.31' instead of '2.30.31(2' for lvm2.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:04 -07:00
mark.yang 05def1ad00 strongswan: fix error with gcc-15
* Backport 3 Patch:
  - 0001-pki-Fix-signature-of-help-to-match-that-of-a-callbac.patch
  - 0002-callback-job-Replace-return_false-in-constructors-wi.patch
  - 0003-Cast-uses-of-return_-nop-and-enumerator_create_empty.patch

* To fix the error with gcc-15.
  - See more details: http://errors.yoctoproject.org/Errors/Details/851801

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:04 -07:00
mark.yang a744dd00d4 cyrus-sasl: fix error with gcc-15
* Submitted 2 Patches:
    - 0001-configure-prototypes.patch
    - 0002-Fix-incompatible-pointer-types-error-with-gcc-15.patch
  * Backported 1 Patch:
    - 0003-Add-compatibility-for-gcc-15-869.patch

  * To fix the error with gcc-15.
  http://errors.yoctoproject.org/Errors/Details/851188/

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:04 -07:00
mark.yang a8b8eaa85b netcat-openbsd: fix build error with gcc-15
* submit fix:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097448
  to fix:
    netcat.c:1443:41: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
    1443 |                         signal(SIGALRM, quit);
        |                                         ^~~~
        |                                         |
        |                                         void (*)(void)
    In file included from netcat.c💯
    TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
    88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
        |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
    netcat.c:241:13: note: 'quit' declared here
    241 | static void quit();
        |             ^~~~
    TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
    72 | typedef void (*__sighandler_t) (int);
        |                ^~~~~~~~~~~~~~
    make: *** [Makefile:17: netcat.o] Error 1

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-19 14:36:04 -07:00
Andreas Fenkart e81fefb0ef networkmanager: enable vala bindings if gobject introspection is enabled
when opting out from the DISTRO_FEATURE gobject-introspection-date, the
build fails with error:
../NetworkManager-1.50.0/meson.build:849:4: ERROR: Assert failed: vala api require GObject introspection. Use -Dvapi=false to disable it

The gobject-introspection-data feature, while ultimately added to
DISTRO_FEATURES via DISTRO_FEATURE_BACKFILL, isn't available during the
vala.bbclass inheritance check. This also excludes derived variables
e.g. GI_DATA_ENABLED.

To properly disable a DISTRO_FEATURE_BACKFILL feature, it must be
included in DISTRO_FEATURE_BACKFILL_CONSIDERED, a variable that is
available during the parsing phase.

Similar situations have been resolved in:

[openembedded-core:31daea70b18b2b2266bf94063b655aaf142a6166]
librsvg: Only enable the Vala bindings if GObject Introspection is enabled
 PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}"

  -- and --

[meta-openembedded:d89fc6ffbdf8f947643def51b804052bb5e7ac97
libpeas: add recipe for 2.0.5
 PACKAGECONFIG ?= "python3 gjs lua51 ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection', 'vala', '', d)}"

Signed-off: Andreas Fenkart <afenkart@gmail.com>
2025-04-19 14:36:04 -07:00