summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* devupstream: fix handling of SRC_URIRoss Burton2022-03-161-2/+3
| | | | | | | | | | | | | | | | As the class handler runs before overrides are actually applied we need to check both SRC_URI:class-devupstream and SRC_URI, otherwise the automatic assignment of S="${WORKDIR}/git" for git repositories does not work if the base recipe uses http: but :class-devupstream has a git:// entry instead. Also, there's no need to set S:class-devupstream, we can just assign to S here. (From OE-Core rev: d0edb03088d0d1c20c899daed1bb3a7110b19670) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libuv: upgrade 1.43.0 -> 1.44.1wangmy2022-03-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: the following message removed from LICENSE: android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement n° 289016). Three clause BSD license. Changes since version 1.43.0: ============================= * process: simplify uv__write_int calls * macos: don't use thread-unsafe strtok() * process: fix hang after NOTE_EXIT * darwin: remove EPROTOTYPE error workaround * doc: fix v1.43.0 changelog entries * win: replace CRITICAL_SECTION+Semaphore with SRWLock * darwin: translate EPROTOTYPE to ECONNRESET * android: use libc getifaddrs() * unix: fix STATIC_ASSERT to check what it means to check * unix: ensure struct msghdr is zeroed in recvmmsg * test: test with maximum recvmmsg buffer * unix: don't allow too small thread stack size * bsd: ensure mutex is initialized * doc: add gengjiawen as maintainer * process: monitor for exit with kqueue on BSDs * test: fix flaky uv_fs_lutime test * build: fix cmake install locations * thread,win: fix C90 style nit * build: rename CFLAGS to AM_CFLAGS * doc/guide: update content and sample code * process,bsd: handle kevent NOTE_EXIT failure * test: remove flaky test ipc_closed_handle * darwin: bump minimum supported version to 10.15 * win: return fractional seconds in uv_uptime() * build: export uv_a for cmake * loop: add pending work to loop-alive check * win: use GetTickCount64 for uptime again * win: restrict system DLL load paths * win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES * bench: add 'uv_queue_work' ping-pong measurement * build: fix error C4146 on MSVC * test: fix benchmark-ping-udp * win,fs: consider broken pipe error a normal EOF * document the values of enum uv_stdio_flags * win,loop: add missing uv_update_time * win,fs: avoid closing an invalid handle * fix oopsie from * doc: clarify android api level * win: fix style nits [NFC] * test: fix flaky udp_mmsg test * test: fix ipc_send_recv_pipe flakiness * doc: checkout -> check out * core: change uv_get_password uid/gid to unsigned * hurd: unbreak build on GNU/Hurd * freebsd: use copy_file_range() in uv_fs_sendfile() * test: use closefd in runner-unix.c * Reland "macos: use posix_spawn instead of fork" * android: fix build error when no ifaddrs.h * unix,win: add uv_available_parallelism() * process: remove OpenBSD from kevent list * zos: fix build breakage * process: only use F_DUPFD_CLOEXEC if it is defined * win,poll: add the MSAFD GUID for AF_UNIX * unix: simplify uv__cloexec_fcntl() * doc: add secondary GPG ID for vtjnash * unix: remove uv__cloexec_ioctl() (From OE-Core rev: 87fd543aa802de1c9d4b234096fff8a1cf929f9a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcgroup: upgrade 2.0 -> 2.0.1wangmy2022-03-163-324/+2
| | | | | | | | | | | | | | | | | | | | | | | | module.patch musl-decls-compat.patch removed since they're included in 2.0.1 Changelog: ========== - Allow reading/writing from cgroup.* files in cgroup v2 - Add support for cgroup v2's cgroup.threads file - Fix issue where libcgroup/pam wasn't working properly when cgrulesengd is disabled - Fix a bug where the cgroup version wasn't initialized in a named cgroup v1 hierarchy - Various automake bug fixes - Build PAM module as unversioned DSO - Fix build issues with musl libc - Fix potential TOCTOU race in cgroup_get_procs() (From OE-Core rev: 36d43237192aed532b37a52784fb91da64f54c1a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.22.2 -> 1.22.3wangmy2022-03-161-1/+1
| | | | | | | (From OE-Core rev: 0f79af7b0d76b5f2cb4d2d01f395ab60810868dd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: upgrade 2.13.1 -> 2.13.2wangmy2022-03-168-676/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patches removed since they're included in 2.13.2 0001-fix-block-remove-GENHD_FL_SUPPRESS_PARTITION_INFO-v5.patch 0002-fix-block-remove-the-rq_disk-field-in-struct-request.patch 0003-fix-mm-compaction-fix-the-migration-stats-in-trace_m.patch 0004-fix-btrfs-pass-fs_info-to-trace_btrfs_transaction_co.patch 0005-fix-random-rather-than-entropy_store-abstraction-use.patch 0006-fix-net-skb-introduce-kfree_skb_reason-v5.17.patch 0007-fix-net-socket-rename-SKB_DROP_REASON_SOCKET_FILTER-.patch Changelog: ========= * Fix: incorrect in/out direction for syscall exit * fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17) * fix: net: skb: introduce kfree_skb_reason() (v5.17) * fix: random: rather than entropy_store abstraction, use global (v5.17) * fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17) * fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17) * fix: block: remove the ->rq_disk field in struct request (v5.17) * fix: block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (v5.17) * Copyright ownership transfer (From OE-Core rev: 093d6dba95c03911d3d7e1b3b07ceff2c1de5563) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 4.11.2 -> 4.11.3wangmy2022-03-161-1/+1
| | | | | | | | | | Changelog: #372: Removed cast of path items in FastPath, not needed. (From OE-Core rev: be1411e6ce6ec808826b8028c704505171969f92) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20220209 -> 20220310wangmy2022-03-161-3/+3
| | | | | | | | | | | | License-Update: year updated to 2022 Version of some driver files updated Added files for some drivers (From OE-Core rev: be1b1d204c89035c54a626db46c5054e553b82c2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librsvg: upgrade 2.52.6 -> 2.52.7wangmy2022-03-161-1/+1
| | | | | | | | | | | | | | | Changelog: ========= Backport a fix for the regression that was introduced in the last release: - #851 - Output filled text as text for PDF; fixes regression due to outputting all text as paths. (From OE-Core rev: 2d5d331a7793e8e45da06873df75ba11ed94c0b6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: upgrade 0.65.0 -> 0.66.0wangmy2022-03-165-100/+9
| | | | | | | | | | | | | | | | | | | | | | | 0001-Add-WITH_TESTS-option.patch 0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch removed since they're included in 0.66.0 0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch 0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch modified for new version Changelog: ========= Use rpmdbCookie from librpm, remove hawkey.Sack._rpmdb_version Fix handling transaction id in resolveTransactionItemReason (RhBug:2010259,2053014) Remove deprecated assertions (RhBug:2027383) Skip rich deps for autodetection of unmet dependencies (RhBug:2033130, 2048394) Increase required rpm version since we use rpmdbCookie() (From OE-Core rev: a5df953824474dfcb99ee3da305c11e2b178eeb5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.0.0 -> 4.0.1wangmy2022-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: ========= - Update OpenType to AAT mappings for hist and vrtr features. - Update IANA Language Subtag Registry to 2022-03-02. - Update USE shaper to allow any non-numeric tail in a symbol cluster, and remove obsolete data overrides. - Fix handling of baseline variations to return correctly scaled values. - A new experimental hb_subset_repack_or_fail() to repack an array of objects, eliminating offset overflows. The API is not available unless HarfBuzz is built with experimental APIs enabled. - New experimental API +hb_link_t +hb_object_t +hb_subset_repack_or_fail() (From OE-Core rev: 6a668a01c6502ba9e27c1d181b013284bfec4660) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.10.0 -> 4.11.1wangmy2022-03-161-1/+1
| | | | | | | (From OE-Core rev: bd1401961f692d15df5c978a34c2191d8b2a6e21) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: upgrade 0.18.0 -> 0.19.0wangmy2022-03-161-1/+1
| | | | | | | (From OE-Core rev: b5a7a25efbdee2bf72283b2fb57b3ff8e69a542e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build on ppc64Khem Raj2022-03-162-0/+93
| | | | | | | | | add a missing system include (From OE-Core rev: e057fc5fe6209f44a49b8dd6cc9b4b2d410064ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python_pep517: use installer instead of pipRoss Burton2022-03-165-84/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of battling pip to install a wheel, use installer. Installer does one thing, so it's faster and easier to work with. This means setuptools, pip, and wheel are no longer part of the bootstrap phase, so they can be built normally. To avoid sysroot file conflicts these three recipes can't install .pyc files to the native sysroot. We currently patch pypa/installer to allow us to override the interpreter used, which means we can drop the interpreter seding. We don't need to recompile any Python which is found in $bindir as Python doesn't actually load those files. Across a build of oe-core, the only differences between using pip and installer are: - the .dist-info/RECORD files are ordered differently - the .dist-info/REQUESTED and INSTALLER files are not created - the hashbang in native scripts is "/usr/bin/env nativepython" instead of pointing directly at the native sysroot python3. (From OE-Core rev: f780f6d920d8bbfb674d6066a8b899417decf8d2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-installer: add installer moduleRoss Burton2022-03-163-0/+84
| | | | | | | | | | | Add a recipe for Installer, a minimal library/tool to install Python Wheels. Unlike PIP, it explicitly only installs wheels and does nothing else. (From OE-Core rev: bf09c0bd99e4defbc259775b4a2e3fcce09bde17) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography-vectors: Fix reproducibilityRichard Purdie2022-03-161-0/+5
| | | | | | | | | We regenerate the pycache files and the checksums in the manifest are incorrect. Remove them to avoid this and ensure reproducibility. (From OE-Core rev: 3c1e7e50c929436d0007d60e738c8270e7e6c7d9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: remove obsolete PIP_INSTALL_DIST_PATHRoss Burton2022-03-161-2/+0
| | | | | | (From OE-Core rev: 1ebf3774655a57807ca5e03530fef2bd80442adb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: Add missing ptest tomli dependencyRichard Purdie2022-03-161-0/+1
| | | | | | | | Add missing tomli runtime dependency to allow ptests to execute. (From OE-Core rev: eb75f5b64146912f4e312eb1fe00162169ae70fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: mark test_create_certificate_with_extensions as ↵Ross Burton2022-03-162-0/+20
| | | | | | | | | | | | expected to fail This test causes OpenSSL to leak some memory. Until this is resolved in OpenSSL, mark the test as expected-to-fail. (From OE-Core rev: b32917b113df6dce0200d35dd1b539279635d524) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-packagelists: add python3-bcrypt and -pytzTim Orling2022-03-161-0/+2
| | | | | | | | | | python3-bcrypt and python3-pytz both run in just a few seconds, so add them to the fast list. (From OE-Core rev: 555cefec5d554eb610166ff9d0cbf0a620d99632) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-packagelists.inc: add python3-cryptographyTim Orling2022-03-161-0/+1
| | | | | | | | | | The python3-cryptography recipe has a lot of tests and uses a large amount of memory. It is slow (> 30 seconds). (From OE-Core rev: ca9fefab2457ee86e24b23d99d3351b0dd9e66ef) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poetry_core: update for renamed class pip_install_wheel to python_pep517Ross Burton2022-03-161-3/+3
| | | | | | | (From OE-Core rev: 69014d91fd6a3fba2b68703f587a4fc5aa1d8bcc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poetry_core: Rename to python_poetry_coreRichard Purdie2022-03-163-4/+4
| | | | | | (From OE-Core rev: 241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* setuptools3_rust: Rename to python_setuptools3_rustRichard Purdie2022-03-162-3/+3
| | | | | | (From OE-Core rev: 57bef31cdcafeef2d1ca5ff3aee7b2e2181a0514) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* py3o: Rename to python_py3oRichard Purdie2022-03-162-2/+2
| | | | | | (From OE-Core rev: e9b030eab6d4c18482aaa7f0166686e16ba8e779) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: add python3-crypto and friendsTim Orling2022-03-161-0/+16
| | | | | | | (From OE-Core rev: 21cf8eb5af2a3ff09d8170b23d76fd5d07198692) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ply: move from meta-pythonTim Orling2022-03-161-0/+18
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 0edd68ee0672656ba60ed7c8d9cea3baa39328db) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycparser: move from meta-pythonTim Orling2022-03-161-0/+21
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 8a34826558b5a0f2a4463f7d7bb230f1473b6621) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-semantic-version: move from meta-pythonTim Orling2022-03-161-0/+12
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 90204d37f303f7f3daddad76b3c86dcf8a1338e7) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: move from meta-pythonTim Orling2022-03-161-0/+12
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 5758587a1b2db882cc990257b2a6b8e71fa77b4a) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-iso8601: move from meta-pythonTim Orling2022-03-161-0/+15
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 78106bc12b995bbb42e02f2e5d8fbc56d917b934) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: remove obsolete PIP_INSTALL_PACKAGERoss Burton2022-03-161-2/+0
| | | | | | (From OE-Core rev: ed53e6728704ac77f15fe266a63b453ba1a2a846) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: move from meta-pythonTim Orling2022-03-161-0/+46
| | | | | | | | | | | A PEP 517 build backend implementation developed for Poetry. This project is intended to be a light weight, fully compliant, self-contained package allowing PEP 517 compatible build frontends to build Poetry managed projects. (From OE-Core rev: 49e4541b250be296dc7b148858016ff0aaef9afd) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poetry_core.bbclass: move from meta-pythonTim Orling2022-03-161-0/+15
| | | | | | | | | poetry.core.masonry.api is one of the common PEP-517 build backends. (From OE-Core rev: b1d2626a501f33c289ecfc557b998982665f84ae) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil/python3-bcrypt: Add missing HOMEPAGERichard Purdie2022-03-162-0/+2
| | | | | | | | | Add missing HOMEPAGE entries to the two recipes imported from meta-oe to fix selftest failures. (From OE-Core rev: 7fefeea0b8a0784052e87768588859c703d47fb5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: move from meta-pythonTim Orling2022-03-162-0/+225
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: e2c8532df68946943a1dbabd6d3be5496f05f735) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pretend: move from meta-pythonTim Orling2022-03-161-0/+11
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: fbcb327b4264d5ba8502ecd46ff0b53095c1f7e7) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: move from meta-pythonTim Orling2022-03-162-0/+33
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 7c931d83ad84eef1bb24d00124e1dbee0855b48a) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytz: move from meta-pythonTim Orling2022-03-162-0/+38
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 5831114f881752212704474381570139f01919f1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: move from meta-pythonTim Orling2022-03-161-0/+18
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 1748d7b84da30585199d0f910341bae169113ccd) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-asn1crypto: move from meta-pythonTim Orling2022-03-161-0/+25
| | | | | | | | | Dependency for python3-cryptography (From OE-Core rev: 2e0e42bd840f94f2e9a22cda0314131c31f26045) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography-vectors: from meta-pythonTim Orling2022-03-161-0/+24
| | | | | | | | | | | | Dependency for python3-cryptography ptest. This recipe needs to be kept in lock-step with the version of python3-cryptography. (From OE-Core rev: 1dda3ab39e2a28e05b903d970410587f2b58cdef) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest-subtests: move from meta-pythonTim Orling2022-03-161-0/+20
| | | | | | | | | Dependency for python3-cryptography ptest. (From OE-Core rev: 6786ea8f0d70c7ff0fea353032d78db353628798) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: move from meta-pythonTim Orling2022-03-165-0/+196
| | | | | | | | | | | | | | | | | | | | | | | * inherit new setuptools_rust class (which inherits new pyo3 class, which inherits cargo and python3-dir). * RDEPENDS on python3-pytest-subtests for ptest * Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed * Use 'cargo bitbake' to generate the crate:// SRC_URIs - Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably only package.repository was strictly required): [package] description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions." homepage = "https://github.com/pyca/cryptography" repository = "https://github.com/pyca/cryptography" * Add patches to src/rust/Cargo.toml to fix cargo errors including pem version * Add check-memfree.py to ptest to check for sufficient free memory (From OE-Core rev: 27bd134c899d00d93806ecb0a62ec3f30b1e6ec6) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* setuptools3_rust.bbclass: move from meta-pythonTim Orling2022-03-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setuptools-rust is a plugin for setuptools to build Rust Python extensions implemented with PyO3 or rust-cpython. Compile and distribute Python extensions written in Rust as easily as if they were written in C. This class inherits pyo3.bbclass (and therefore cargo.bbclass) and setuptools3.bbclass to make it easier to build Python modules with Rust extensions. Need to call pyo3_do_configure to properly setup the PyO3 environment for cross-compiling. Need to call cargo_common_do_configure to setup cargo_home/config so that the linker properly finds e.g. crti.o and crtbeginS.o It is strongly recommended to provide crates needed for your recipe using the crate:// fetcher. This can be helped with the cargo-bitbake command [1]. If you choose not to use the crate fetcher, bitbake vendoring will not work with setuptools-rust, as it errors out immediately because it cannot find pyo3 or some other crate. The (strongly discouraged) workaround for this is to set: CARGO_DISABLE_BITBAKE_VENDORING = "1" [1] https://crates.io/crates/cargo-bitbake (From OE-Core rev: de3e166cf6f0de4fe0681ddb4b209fb9b8b06811) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pyo3.bbclass: move from meta-pythonTim Orling2022-03-161-0/+30
| | | | | | | | | | | | | | | | | | | | | PyO3 provides Rust bindings for Python, including tools for creating native Python extension modules. Running and interacting with Python code from a Rust binary is also supported. This class sets up the cross-compilation environment. Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET to inform tools like setuptools-rust we are cross-compiling. Export RUSTFLAGS so cargo can find 'std' and 'core' for target Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE absolute path. This is the trick that finally made pyo3 work. (From OE-Core rev: f3130197ed93fd60b4cad326940b02a5554ed089) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust-native: remove obsolete PIP_*Ross Burton2022-03-161-4/+0
| | | | | | (From OE-Core rev: baa9f9c3c3bea1f81e02bb047171ca78f714b034) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust-native: from meta-pythonTim Orling2022-03-161-0/+33
| | | | | | | | | | | | Dependency for python3-cryptography 3.4.x+ Only native rustc is supported at this time in oe-core, therefore it makes no sense to try to build for target. (From OE-Core rev: 8eaafc114c196fbab2070bfb600634306deef527) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-devtools: upgrade 1.20.0 -> 1.20.1Jose Quaresma2022-03-151-1/+1
| | | | | | | (From OE-Core rev: c0ba17345282509211bb1f11d7184d131204411d) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-python: upgrade 1.20.0 -> 1.20.1Jose Quaresma2022-03-151-1/+1
| | | | | | | (From OE-Core rev: bdf95da91bdf9dba7cc919531702713218ab1246) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>