Commit Graph

31966 Commits

Author SHA1 Message Date
Martin Jansa
b7a096064b
perfetto: drop unnecessary FILESEXTRAPATHS
* we already have a common directory in default FILESPATH called 'files'

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:24 -07:00
Martin Jansa
8a676c670c
libgpiod: improve FILESEXTRAPATHS
* I thought that PN in FILESEXTRAPATHS worked as everywhere else and
  as described in:
  https://lore.kernel.org/all/2261745fc01a4e3887ee98f98a425e88@vivavis.com/T/

* but surprisingly (to me)
  FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-2.x:"
  ends with effectively ${BPN}-2.x in bitbake -e (and the build doesn't fail
  to fetch file://gpio-manager.init in lib32-libgpiod build

* I've tried with kirkstone and dunfell as well and it ends with
  "libgpiod-2.x" for all 3 PNs:
  dunfell $ grep ^FILESEXTRAPATHS= env.* | sed 's@/OE.*dunfell/@@g'
  env.lib32-libgpiod:FILESEXTRAPATHS="meta-oe/meta-oe/recipes-support/libgpiod/libgpiod-2.x:__default:"
  env.libgpiod:FILESEXTRAPATHS="meta-oe/meta-oe/recipes-support/libgpiod/libgpiod-2.x:__default:"
  env.libgpiod-native:FILESEXTRAPATHS="meta-oe/meta-oe/recipes-support/libgpiod/libgpiod-2.x:__default:"

  dunfell $ grep ^PN= env.*
  env.lib32-libgpiod:PN="lib32-libgpiod"
  env.libgpiod:PN="libgpiod"
  env.libgpiod-native:PN="libgpiod-native"

  There is the QA check for PN in SRC_URI, maybe I took it a bit
  further and updated all FILESEXTRAPATHS references as well in our
  layers (in 2023) even when it wasn't causing build failures, e.g.:
  38d3cbf010

* so it's not so important to use BPN, but it's a bit clearer as that's
  what it ends evaluated into and what default FILESPATH is using as well:

  meta/classes-global/base.bbclass:FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}"
  meta/conf/bitbake.conf:#FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/${BP}:${FILE_DIRNAME}/${BPN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"

  BPN was added in denzil 2009 (and FILESPATH moved to base.bbclass,
  bitbake.conf has commented-out value since then):
  https://git.openembedded.org/openembedded-core/commit/?h=denzil&id=94c895aad5ad286f172b04bc33ba670220d5eba8

  PF was dropped in dylan 2012:
  https://git.openembedded.org/openembedded-core/commit/?h=dylan&id=3efa13cd76bbd5611805021945fc9def88d9fd93

  P and PN were dropped shortly after in dylan 2012:
  https://git.openembedded.org/openembedded-core/commit/?h=dylan&id=fb359583b659cda643973fa285002aaffb729a51

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:24 -07:00
Andrea Ricchi
06ac0733cc
asyncmqtt: add recipe
async_mqtt is an C++ library for asynchronous MQTT communication.
The library is header-only using C++17 and Boost libraries; the main
features are client and server support, MQTT v3.1.1 and v5.0 support,
continuous packet sending and auto acquiring/mapping topic alias is
supported.

Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 06:24:13 -07:00
Bartosz Golaszewski
ec67268d5e
libgpiod: selectively enable GObject introspection
The oe-core bbclass for GObject introspection sets GI_DATA_ENABLED if
the relevant distro feature is enabled. That means that it's up to the
inheriting recipe to disable it if needed.

For libgpiod: we only want to enable it if any of the GLib based
packages is being generated (GLib bindings, D-Bus daemon or ptest).

This also effectively reverts commit 78a332939f (libgpiod_2.2: depend
on glib-2.0) which indiscriminately pulls in GLib for all packages
generated by this recipe which feels like shooting a fly with a cannon.

Fixes: 9626e8a2c8 ("libgpiod: update to v2.2")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-30 15:57:12 -07:00
Jan Vermaete
0f692c3ab7
swagger-ui: OpenAPI (aka swagger) website (v5.17.14)
New recipe with the static version of the Swagger UI.

This is *not* a NPM version of the website (swagger-ui, swagger-ui-dist, swagger-ui-react).
But the static release.

  Plain old HTML/CSS/JS (Standalone)

  The folder /dist includes all the HTML, CSS and JS files needed to run SwaggerUI on a static website or CMS, without requiring NPM.

      Download the latest release.
      Copy the contents of the /dist folder to your server.
      Open swagger-initializer.js in your text editor and replace "https://petstore.swagger.io/v2/swagger.json" with the URL for your OpenAPI 3.0 spec.

  -- https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/installation.md#plain-old-htmlcssjs-standalone

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-30 12:34:00 -07:00
Martin Jansa
40396e20b3
libgpiod: drop wrong S assignment
* the default from bitbake.conf:
  S = "${WORKDIR}/${BP}"
  works better, because it points to correct directory even with e.g. when
  building lib32-libgpiod with multilib

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-30 09:37:22 -07:00
Hieu Van Nguyen
0e2ed14c7a
libmtp: enable stack memory protection
Add 0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch:
Use "return 0" instead of "exit(0)" to let the program exit normally
by returning from the main function. This allows the compiler to
perform necessary cleanup operations, including stack canary checks.

Signed-off-by: Hieu Van Nguyen <hieu2.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-30 08:24:31 -07:00
Alex Kiernan
cedfa1be3a
mdns: Upgrade 2200.140.11 -> 2559.1.1
Add local fixes for:

* definition for MAX()
* missing `limit` declarations

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-30 08:24:30 -07:00
Max Krummenacher
78a332939f
libgpiod_2.2: depend on glib-2.0
In my setup a build fails with

| checking for gobject-introspection... configure: error: gobject-introspection-1.0 is not installed
| NOTE: The following config.log files may provide further information.
| NOTE: /var/home/krm/build/oe-core_master/build/tmp/work/cortexa55-tdx-linux/libgpiod/2.2/build/config.log
| ERROR: configure failed

From config.log this seems to be related to glib-2.0 not found:

| configure:22484: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0"
| Package glib-2.0 was not found in the pkg-config search path.
| Perhaps you should add the directory containing `glib-2.0.pc'
| to the PKG_CONFIG_PATH environment variable
| Package 'glib-2.0', required by 'gobject-introspection-1.0', not found
| configure:22487: $? = 1
| configure:22491: error: gobject-introspection-1.0 is not installed

Note that glib-2.0.pc is present in recipes-sysroot-native but not
in recipes-sysroot.

Adding glib-2.0 to depends allows successful build of libgpiod 2.

Fixes: 117d09ce43c7 ("libgpiod: update to v2.2")
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-29 18:13:41 -07:00
Jan Vermaete
ab095d3ab4
python3-apispec: Upgrade 6.6.1 to 6.7.0
Bug fixes:

    Fix handling of fields.Dict() with values unset

Other changes:

    Officially support Python 3.13
    Drop support for Python 3.8

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-29 14:15:42 -07:00
Khem Raj
8ca014a96d
python3-pydantic: Upgrade to 2.9.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 21:25:23 -07:00
Khem Raj
51baa456a2
python3-pydantic-core: Upgrade to 2.25.0
Needed for py 3.13 support in pydantic 2.9 recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 21:25:23 -07:00
Khem Raj
e17b039f92
python3-eventlet: Add new thread attributes from Python 3.13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 21:25:22 -07:00
Khem Raj
36a2ea12eb
python3-pylint: Upgrade to 3.3.1 release
brings python 3.13 support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 21:25:22 -07:00
Khem Raj
79e2872817
python3-pint: Backport a proposed fix to support python 3.13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 21:25:22 -07:00
J. S.
67e8416273
libxml-sax-writer-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:35 -07:00
J. S.
09c818c5c4
libxml-libxml-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:35 -07:00
J. S.
2a3c32bf89
libxml-filter-buffertext-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:35 -07:00
J. S.
2061abfecf
libtext-iconv-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:35 -07:00
J. S.
37c9547082
libproc-waitstat-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:34 -07:00
J. S.
93ed9d3540
libnet-telnet-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:34 -07:00
J. S.
a3c65bd1e8
libnet-ssleay-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:34 -07:00
J. S.
590f3f4674
libnet-libidn-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:34 -07:00
J. S.
aba72f4c1e
libnet-dns-sec-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:34 -07:00
J. S.
079e4d1f1d
libnet-dns-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:34 -07:00
J. S.
a4c3553a74
libmime-types-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:34 -07:00
J. S.
23e18360ad
libipc-signal-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:33 -07:00
J. S.
2b70f0b0c9
libhtml-parser-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:33 -07:00
J. S.
d3e823611f
libfile-slurp-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:33 -07:00
J. S.
87ee1a0786
liberror-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:33 -07:00
J. S.
ea3c8d155e
libenv-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:33 -07:00
J. S.
96f4424363
libdigest-sha1-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:33 -07:00
J. S.
f034aea85e
libdigest-hmac-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:32 -07:00
J. S.
a52b31d2a5
libdata-hexdump-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:32 -07:00
J. S.
f505d18cc9
libconfig-tiny-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:32 -07:00
J. S.
27587af7f9
libcgi-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:32 -07:00
J. S.
d2a285f345
libauthen-radius-perl: Use ${CPAN_MIRROR}
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:32 -07:00
J. S.
c395f5e477
libmodule-build-tiny-perl: fix QA Issue: TMPDIR [buildpaths]
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:32 -07:00
J. S.
5f471132db
libhtml-tree-perl: fix QA Issue: TMPDIR [buildpaths]
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:32 -07:00
Khem Raj
6b4f33ac3e
python3-wrapt: Upgrade to 1.17 RC1
It has all the python 3.13 fixes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:31 -07:00
Khem Raj
2575cf1f8f
python3-betamax: Use tip of trunk to support python 3.13
There are several fixes need to get going with python 3.13, therefore
switch to git SRC_URI until next release is made

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:31 -07:00
Khem Raj
3207d6f1bc
python3-freezegun: Fix ptests with python 3.13
backport a patch with the needed fix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:54:31 -07:00
Khem Raj
e8f04afdd1
python3-dominate: Fix ptests with python 3.13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:53:20 -07:00
Khem Raj
a06cb56283
python3-whoosh: Remove
This package is unmaintained upstream, and has no
new releases since 2016, now it does not build with python 3.13
since it needs cgi module which has been removed in 3.13+

if we still need this functionality
then something like whoosh-reloaded might be better

https://pypi.org/project/Whoosh-Reloaded/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:53:20 -07:00
Khem Raj
497cb3d70e
python3-html2text: Add missing rdep on py3 html module
Fixes
ModuleNotFoundError: No module named 'html'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:53:20 -07:00
Guðni Már Gilbert
a335a8ca42
python3-twisted: upgrade 24.7.0 -> 24.10.0
This release adds support for Python 3.13

Full changelog:
https://github.com/twisted/twisted/releases/tag/twisted-24.10.0

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 17:53:20 -07:00
Chanh Nguyen
cbf1c7d312
mctp: Fix build errors with clang19 + musl
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-28 07:29:54 -07:00
Khem Raj
7f9699e730
xmlrpc-c: Fix race condition triggered during symlink creation
This should fix race condition sometime seen in highly parallell builds

   | rm -f libxmlrpc_util.so.4
   | rm -f libxmlrpc_util.so.4
   | ln -s libxmlrpc_util.so.4.60 libxmlrpc_util.so.4
   | ln -s libxmlrpc_util.so.4.60 libxmlrpc_util.so.4
   | rm -f libxmlrpc_util.so
   | ln: failed to create symbolic link 'libxmlrpc_util.so.4': File exists
   | make[2]: *** [/home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/xmlrpc-c/1.60.03/git/stable/unix-common.mk:72: libxmlrpc_util.so.4] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2024-10-27 18:08:38 -07:00
Khem Raj
1431cf1289
graphviz: Disable perl support
It ends up peeking into build host's perl installation under /usr/include
for perl.h which infact is incorrect. Its better to either fix it to
know cross-compiling or disable it, for now chose the latter.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-27 18:08:26 -07:00
J. S.
290df57945
libcrypt-openssl-rsa-perl: www.cpan.org -> cpan.metacpan.org
Change from www.cpan.org to cpan.metacpan.org use the CPAN_MIRROR variable
defined in the global mirrors.bbclass

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-27 14:24:33 -07:00