Commit Graph

31974 Commits

Author SHA1 Message Date
Martin Jansa
b8ce4f282b
python3-flask-sijax: fold .inc file into .bb
* python2 is long dead, kill .inc file as well

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:26 -07:00
Martin Jansa
770a55c38d
python3-flask-bootstrap: fold .inc file into .bb
* python2 is long dead, kill .inc file as well

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:25 -07:00
Martin Jansa
d59fc4da5b
python3-django-south: fold .inc file into .bb
* python2 is long dead, kill .inc file as well

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:25 -07:00
Martin Jansa
b4e8b40874
python3-rfc3986-validator: drop unnecessary FILESEXTRAPATHS
* rename python-rfc3986-validator to BPN python3-rfc3986-validator
  which is included in default FILESPATH

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:25 -07:00
Martin Jansa
137456e900
python3-flask-xstatic: drop unnecessary FILESEXTRAPATHS and fold .inc into .bb
* python2 is long dead, kill .inc file as well

* rename python-flask-xstatic to BPN python3-flask-xstatic
  which is included in default FILESPATH

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:25 -07:00
Martin Jansa
6f709c10f0
python3-pykickstart: drop unnecessary FILESEXTRAPATHS
* 'files' was always in default FILESPATH, no need to add it again with FILESEXTRAPATHS

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:25 -07:00
Martin Jansa
9413b9c1c3
python3-m2crypto: drop unnecessary FILESEXTRAPATHS
* python-m2crypto directory doesn't exist since:
  commit b8bbcd4dea
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Sat May 1 12:04:27 2021 -0700

    python3-m2crypto: Upgrade to 0.37.1

    Unifiy .inc into .bb
    Add patches to fix issues with openssl 1.1.x
    Remove m2crypto-0.26.4-gcc_macros patch, its no longer needed
    Refresh existing patches

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:25 -07:00
Martin Jansa
77cf4b81ee
colord-native: rename directory and drop unnecessary FILESEXTRAPATHS
* ${BPN}-native is weird work around for ${P} and ${PN} being dropped
  from default FILESPATH in 2012 with:
  https://git.openembedded.org/openembedded-core/commit/?h=dylan&id=fb359583b659cda643973fa285002aaffb729a51

  better to just rename directory to something which is included
  in the default value (like BPN) the filename are different in
  target and native colord build so they don't need to be in
  separate directories.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 08:13:25 -07:00
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