]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agodeploy.bbclass: Remove an unnecessary path from do_deploy[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:44 +0000 (15:16 +0100)] 
deploy.bbclass: Remove an unnecessary path from do_deploy[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocreate-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:43 +0000 (15:16 +0100)] 
create-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobinutils: Bump to latest 2.38 release branch
Khem Raj [Sun, 13 Mar 2022 07:59:32 +0000 (23:59 -0800)] 
binutils: Bump to latest 2.38 release branch

Fixes building ppc32 kernels

Brings following fixes

2d92604cd30 Revert "Check thin archive element file size against archive header"
  * ed9b2e40ebf binutils 2.38 vs. ppc32 linux kernel
  * 40d32f56f63 Updated Serbian translations for the bfd, gold, ld and opcodes directories
  * 6aa1b7df2fc ld: Keep indirect symbol from IR if referenced from shared object
  * ae1cab7d3f3 i386: Update I386_NEED_DYNAMIC_RELOC_TYPE_P for DT_TEXTREL
  * df9071487a8 PR28882, build failure with gcc-4.2 due to use of 0b literals
  * caa6172de4b x86: Disallow invalid relocation against protected symbol

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto: Ignore textrels for ppc64 kernel
Khem Raj [Sun, 13 Mar 2022 07:59:31 +0000 (23:59 -0800)] 
linux-yocto: Ignore textrels for ppc64 kernel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcompat: Do not use static-pie on ppc
Khem Raj [Sun, 13 Mar 2022 07:59:30 +0000 (23:59 -0800)] 
gcompat: Do not use static-pie on ppc

It fails currently with binutils 2.38
powerpc-yoe-linux-musl-ld: read-only segment has dynamic relocations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoppc/siteinfo: Fix differences between musl and glibc
Khem Raj [Sat, 12 Mar 2022 19:18:22 +0000 (11:18 -0800)] 
ppc/siteinfo: Fix differences between musl and glibc

There is a key difference between glibc and musl when it comes to
ppc/ppc64 and that is that musl does not support 128-bit long IBM doubles format
it only supports 128-bit long double IEEE format on ppc64 alone.
this change ensures that we account for this change, so far we have been
doing it a bit wrong for ppc/musl case.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopowerpc32-linux: Remove libc cached variables
Khem Raj [Sat, 12 Mar 2022 19:18:21 +0000 (11:18 -0800)] 
powerpc32-linux: Remove libc cached variables

libc_cv_ppc_machine and no longer exists in glibc
others are detected correctly in configure. They
perhaps made sense in past when the toolchain build has several
bootstrap stages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibrsvg: inherit vala
Markus Volk [Sat, 12 Mar 2022 07:30:22 +0000 (08:30 +0100)] 
librsvg: inherit vala

this fixes a build error about missing vapigen and enables vapi build

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogtk+3: remove deprecated option
Markus Volk [Sat, 12 Mar 2022 07:30:21 +0000 (08:30 +0100)] 
gtk+3: remove deprecated option

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: update to 22.0.0
Markus Volk [Sat, 12 Mar 2022 07:30:20 +0000 (08:30 +0100)] 
mesa: update to 22.0.0

- remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream

- adjust 0002-meson.build-make-TLS-ELF-optional.patch

- fix patch fuzz

- DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required

License-Update: removed references to deleted code.

RP: Fix dri PACKAGECONFIG reference to opengl instead

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agox86-base.inc: replace intel i965 driver with crocus
Markus Volk [Sat, 12 Mar 2022 08:01:58 +0000 (09:01 +0100)] 
x86-base.inc: replace intel i965 driver with crocus

this fixes do_rootfs for core-image-sato after mesa update:

 Problem: package packagegroup-core-x11-base-1.0-r1.noarch requires packagegroup-core-x11-xserver, but none of the providers can be installed
  - conflicting requests
  - nothing provides mesa-driver-i965 needed by packagegroup-core-x11-xserver-1.0-r40.intel_corei7_64
(try to add '--skip-broken' to skip uninstallable packages)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodbus: update 1.12.22 -> 1.14.0
Alexander Kanavin [Wed, 9 Mar 2022 22:22:14 +0000 (23:22 +0100)] 
dbus: update 1.12.22 -> 1.14.0

Drop patches:
clear-guid_from_server-if-send_negotiate_unix_f.patch
stop_using_selinux_set_mapping.patch
(both merged upstream)

python-config.patch
(patched code removed upstream)

License-Update: whitespace fixes

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodbus: merge dbus.inc into the recipe
Alexander Kanavin [Wed, 9 Mar 2022 22:22:13 +0000 (23:22 +0100)] 
dbus: merge dbus.inc into the recipe

The content is unchanged.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodbus-test: merge into main dbus recipe
Alexander Kanavin [Wed, 9 Mar 2022 22:22:12 +0000 (23:22 +0100)] 
dbus-test: merge into main dbus recipe

The reason it was separate is that there is a peculiar circular
dependency: dbus tests require glib, while some of glib's gdbus tests
require dbus. So dbus was built with tests disabled and without glib
dependency, then glib was built with dbus dependency, then dbus was
built again with glib dependency and tests enabled, only for the purpose
of installing those tests. I find that brittle and hacky, so this
removes dbus dependecy from glib (the fallout is that some gdbus tests
are no longer being executed), and dbus and its tests are built once,
after glib. Conversely, dbus is now dependent on glib for the purpose
of building the tests.

Also, dbus ptest installation is no longer using custom code, and dbus
run-ptest simply uses standard installed tests execution mechanism from
gnome.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/ping: Improve failure message to include more detail
Richard Purdie [Sat, 12 Mar 2022 13:44:03 +0000 (13:44 +0000)] 
oeqa/runtime/ping: Improve failure message to include more detail

When the ping test fails due to a timeout we only get limited debug
information. Tweak the code to improve that in case it sheds any light
on intermittent failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston-init: add use-pixman PACKAGECONFIG
Ming Liu [Sat, 12 Mar 2022 14:10:56 +0000 (15:10 +0100)] 
weston-init: add use-pixman PACKAGECONFIG

Fbdev backend has been deprecated since weston 10.0.0, and it could be
replaced by passing --use-pixman to drm backend, add a use-pixman
PACKAGECONFIG for convenience.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage.bbclass: make sure do_rootfs run from a clean workspace
Ming Liu [Sat, 12 Mar 2022 11:53:03 +0000 (12:53 +0100)] 
image.bbclass: make sure do_rootfs run from a clean workspace

Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and
do_rootfs[cleandirs], this ensures do_rootfs run from a clean
workspace, with this change, we can now remove two bb.utils.mkdirhier
lines from meta/lib/oe/rootfs.py.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoRevert "mesa: make sure GLES3 headers are installed"
Richard Purdie [Sat, 12 Mar 2022 17:12:17 +0000 (17:12 +0000)] 
Revert "mesa: make sure GLES3 headers are installed"

This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c.

It uses old overrides syntax which simply doesn't work.

2 years agolibxml2: update to 2.9.13
Ralph Siemsen [Fri, 11 Mar 2022 16:58:55 +0000 (11:58 -0500)] 
libxml2: update to 2.9.13

- new version includes fix for CVE-2022-23308
- drop patche which was upstream
- refresh patch

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxml2: move to gitlab.gnome.org
Ralph Siemsen [Fri, 11 Mar 2022 16:58:54 +0000 (11:58 -0500)] 
libxml2: move to gitlab.gnome.org

The project has migrated from www.xmlsoft.org to gitlab.gnome.org.
Update the homepage accordingly, and use gnomebase to construct the
download URL, rather than including it in SRC_URI explicitly.

Note that the download is now in .xz format rather than .gz, so the
sha256sum is updated accordingly. Post-decompression tarballs are
identical, so there is no change to the libxml2 code.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython_pep517: move PEP517_SOURCE_PATH to python_pep517
Ross Burton [Fri, 11 Mar 2022 17:12:06 +0000 (17:12 +0000)] 
python_pep517: move PEP517_SOURCE_PATH to python_pep517

Now we have the start of a PEP-517 base class, the PEP517_SOURCE_PATH
variable can be defined in there instead of the classes that use it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agometa: rename pip_install_wheel.bbclass to python_pep517.bbclass
Ross Burton [Fri, 11 Mar 2022 12:03:02 +0000 (12:03 +0000)] 
meta: rename pip_install_wheel.bbclass to python_pep517.bbclass

pip_install_wheel shouldn't restricted to just using Pip to install
wheels (the installer module is simplier and likely a better option),
and in the future may be extended to also provide do_compile() using
the build module.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agometa: remove obsolete PIP_INSTALL_PACKAGE
Ross Burton [Fri, 11 Mar 2022 12:02:04 +0000 (12:02 +0000)] 
meta: remove obsolete PIP_INSTALL_PACKAGE

PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it
from the recipes.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools3-base: improve RDEPENDS assignment
Ross Burton [Fri, 11 Mar 2022 15:05:30 +0000 (15:05 +0000)] 
setuptools3-base: improve RDEPENDS assignment

Use :append instead of += so that recipes can assign to RDEPENDS:${PN}.
This fixes missing RDEPENDS for sixteen recipes in oe-core alone.

Also instead of using obscure inline Python we can just use the
class-target override.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogrub-efi: Add option to include all available modules
Diego Sueiro [Fri, 11 Mar 2022 18:07:12 +0000 (18:07 +0000)] 
grub-efi: Add option to include all available modules

Include all available modules If 'all' is present in GRUB_BUILDIN variable.
To achieve this we need to search for all .mod files in ${B}/grub-core/ and
pass them to grub-mkimage command.

Also, add the verbose option to grub-mkimage.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcompat: Update to latest
Khem Raj [Fri, 11 Mar 2022 17:39:45 +0000 (09:39 -0800)] 
gcompat: Update to latest

Brings in these fixes

  * 391b270 unistd: add __close
  * 8af2ff2 random_r: set `x` before calling savestate_r
  * cca99e8 wchar: add __mbrlen
  * 59e99e9 random_r: Add reentrant random functions from LSB
  * 6461276 gnulib: Add __fdelt_warn alias

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobind: all even versions now get long term maintenance windows
Alexander Kanavin [Fri, 11 Mar 2022 20:13:32 +0000 (21:13 +0100)] 
bind: all even versions now get long term maintenance windows

See here:
https://www.isc.org/download/
https://kb.isc.org/docs/aa-00896

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston: require wayland as a distro feature
Joe Slater [Thu, 10 Mar 2022 20:08:07 +0000 (12:08 -0800)] 
weston: require wayland as a distro feature

Weston will not configure successfully unless wayland
is a distro feature.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooe-pkgdata-util: Adapt to the new variable override syntax
Peter Kjellerstedt [Thu, 10 Mar 2022 21:23:49 +0000 (22:23 +0100)] 
oe-pkgdata-util: Adapt to the new variable override syntax

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoseatd: upgrade to 0.6.4 (fixes CVE-2022-25643)
Ross Burton [Thu, 10 Mar 2022 13:51:59 +0000 (13:51 +0000)] 
seatd: upgrade to 0.6.4 (fixes CVE-2022-25643)

We need to set nobranch=1 as the 0.6.4 tag isn't on any branches at
present.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agofiles: overlayfs-etc: add overlay mount options to preinit
Claudius Heine [Thu, 10 Mar 2022 13:13:29 +0000 (14:13 +0100)] 
files: overlayfs-etc: add overlay mount options to preinit

Overlayfs-etc is useful if the rootfs is read-only. One reason to have
the rootfs read-only is to allow image based updating.

Image based updating will change the underlying root file system, which
is unsupported by overlayfs when with some mount options [1].

This disables those options.

[1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agofiles: overlayfs-etc: wrap long lines of preinit file
Claudius Heine [Thu, 10 Mar 2022 13:13:28 +0000 (14:13 +0100)] 
files: overlayfs-etc: wrap long lines of preinit file

Make it easier to see what is happening by wrapping the overly long
lines in the preinit file for the overlayfs-etc.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoiptables: do not install /etc/ethertypes
Trevor Gamblin [Thu, 10 Mar 2022 14:10:03 +0000 (09:10 -0500)] 
iptables: do not install /etc/ethertypes

Take inspiration from the ebtables recipe in meta-networking and omit
installation of etc/ethertypes, since it is provided by netbase. If we
don't do this, the following error occurs during build:

Error: Transaction test error:
  file /etc/ethertypes conflicts between attempted installs of
iptables-1.8.7-r0.core2_64 and netbase-1:6.3-r0.noarch

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopip_install_wheel: add a generic do_install for bootstrapping
Ross Burton [Thu, 10 Mar 2022 11:40:33 +0000 (11:40 +0000)] 
pip_install_wheel: add a generic do_install for bootstrapping

Several recipes are duplicating the same bootstrap logic for installing
a wheel without using any tools.  Add an implementation to
pip_install_wheel to centralise the code, and remove the duplicated code
from the following recipes:

- python3-flit-core
- python3-pip
- python3-setuptools
- python3-wheel

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pip: remove redundant DEPENDS on python3-setuptools-native
Ross Burton [Thu, 10 Mar 2022 11:40:34 +0000 (11:40 +0000)] 
python3-pip: remove redundant DEPENDS on python3-setuptools-native

This recipe inherits setuptools_build_meta which already depends on
python3-setuptools-native.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoflit_core: remove redundant python3-pip-native DEPENDS
Ross Burton [Thu, 10 Mar 2022 11:40:35 +0000 (11:40 +0000)] 
flit_core: remove redundant python3-pip-native DEPENDS

PIP is not needed by this class directly, but is used by
pip_install_wheel which already depends on python3-pip-native.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agom4: Fix build on musl/ppc
Khem Raj [Thu, 10 Mar 2022 07:53:34 +0000 (23:53 -0800)] 
m4: Fix build on musl/ppc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibtool: Recognise additional linker commandline options passed by clang
Khem Raj [Wed, 9 Mar 2022 20:57:37 +0000 (12:57 -0800)] 
libtool: Recognise additional linker commandline options passed by clang

Like stdlib, these options are also used to select runtime libraries by
clang driver

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agounzip: Pass LDFLAGS to configure tests
Khem Raj [Wed, 9 Mar 2022 20:26:05 +0000 (12:26 -0800)] 
unzip: Pass LDFLAGS to configure tests

Ensures the configure time tests are compiled/linked with the Options
that it will be using to build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooverlayfs-etc: add condition to package-management feature conflict
Claudius Heine [Wed, 9 Mar 2022 12:05:26 +0000 (13:05 +0100)] 
overlayfs-etc: add condition to package-management feature conflict

The conflict with the `package-managment` only happens if the
`overlayfs-etc` class overwrites `/sbin/init`, which is not the case
when `OVERLAYFS_ETC_USE_ORIG_INIT_NAME` is set to `0`.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooverlayfs: add systemd unit path prefix to FILES:${PN} array
Claudius Heine [Wed, 9 Mar 2022 14:29:46 +0000 (15:29 +0100)] 
overlayfs: add systemd unit path prefix to FILES:${PN} array

The 'FILES:${PN}' array is missing the systemd unit dir prefix causing
them to not be packaged and the build fails with the
`installed-vs-shipped` error.

This adds the `systemd_system_unitdir` variable in front of every unit
file added with this class.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: Fix build when x11 is not in distro features
Khem Raj [Wed, 9 Mar 2022 17:07:52 +0000 (09:07 -0800)] 
webkitgtk: Fix build when x11 is not in distro features

ANGLE's copy of khrplatform.h is not uptodate with mesa/khronos khrplatform.h
which uses MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

This patch helps with that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Fix build when x11 is not in distro features
Khem Raj [Wed, 9 Mar 2022 17:07:51 +0000 (09:07 -0800)] 
qemu: Fix build when x11 is not in distro features

There is use of MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoconf/machine: fix QEMU x86 sound options
Michael Opdenacker [Wed, 9 Mar 2022 10:02:59 +0000 (11:02 +0100)] 
conf/machine: fix QEMU x86 sound options

This updates the QEMU sounds options for x86 emulation,
when "runqemu" is called with the "audio" argument,
to fix the below error:

runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosudo: upgrade 1.9.9 -> 1.9.10
wangmy [Tue, 8 Mar 2022 10:36:08 +0000 (18:36 +0800)] 
sudo: upgrade 1.9.9 -> 1.9.10

Changelog:
=========
Added new log_passwords and passprompt_regex sudoers options.

Added new log_passwords and passprompt_regex settings to sudo_logsrvd that
operate like the sudoers options when logging terminal input.

Fixed several few bugs in the cvtsudoers utility when merging multiple
sudoers sources.

Fixed a bug in sudo_logsrvd parsing the sudo_logsrvd.conf file, where the
retry_interval in the [relay] section was not being recognized.

Restored the pre-1.9.9 behavior of not performing authentication when sudo's
-n option is specified.

On systems with /proc, if the /proc/self/stat (Linux) or /proc/pid/psinfo
(other systems) file is missing or invalid, sudo will now check file
descriptors 0-2 to determine the user's terminal. Bug #1020.

Fixed a compilation problem on Debian kFreeBSD. Bug #1021.

Fixed a crash in sudo_logsrvd when running in relay mode if an alert message
is received.

Fixed an issue that resulting in "problem with defaults entries" email to
be sent if a user ran sudo when the sudoers entry in the nsswitch.conf file
includes "sss" but no sudo provider is configured in /etc/sssd/sssd.conf. Bug #1022.

Updated the warning displayed when the invoking user is not allowed to run sudo.

Fixed a bug where the user-specified command timeout was not being honored if
the sudoers rule did not also specify a timeout.

Added support for using POSIX extended regular expressions in sudoers rules.

A user may now only run sudo -U otheruser -l if they have a "sudo ALL"
privilege where the RunAs user contains either root or otheruser.

The sudo lecture is now displayed immediately before the password prompt.

Sudo now uses its own closefrom() emulation on Linux systems.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agostress-ng: upgrade 0.13.11 -> 0.13.12
wangmy [Tue, 8 Mar 2022 10:36:07 +0000 (18:36 +0800)] 
stress-ng: upgrade 0.13.11 -> 0.13.12

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pycairo: upgrade 1.20.1 -> 1.21.0
wangmy [Tue, 8 Mar 2022 10:34:35 +0000 (18:34 +0800)] 
python3-pycairo: upgrade 1.20.1 -> 1.21.0

Changelog:
=========
* Require Python 3.7+ :pr:'250'
* Require meson 0.53+
* Using 'setup.py' directly to build/install pycairo is deprecated.
  Use meson instead.
* 'setup.py' now requires setuptools. Previously it was optional.
* The complete API reference is now included in the typing stubs,
  so it can be consumed/shown by IDEs. :pr:'236' :pr:'252'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogpgme: upgrade 1.17.0 -> 1.17.1
wangmy [Tue, 8 Mar 2022 10:34:32 +0000 (18:34 +0800)] 
gpgme: upgrade 1.17.0 -> 1.17.1

Changelog:
=========
* configure.ac: Bump QT LT version to C15/A0/R0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-scons: remove redundant FILES:${PN}-doc
Ross Burton [Wed, 9 Mar 2022 16:06:06 +0000 (16:06 +0000)] 
python3-scons: remove redundant FILES:${PN}-doc

mandir is in the default FILES:${PN}-doc, so there's no need to add it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopip_install_wheel: install wheel with a glob
Ross Burton [Wed, 9 Mar 2022 16:51:13 +0000 (16:51 +0000)] 
pip_install_wheel: install wheel with a glob

Now that the build systems that use pip_install_wheel are all building
their wheel into a directory that we knew was empty before, we can just
install *.whl and not need to know the precise names.

By design a pyproject.toml will always build a single wheel, so there
shouldn't be any way for this to end up installing more than expected.

This obsoletes PIP_INSTALL_PACKAGE and PYPA_WHEEL, neither of which are
needed anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopip_install_wheel: generate the wheels in directory we control outside of S
Ross Burton [Tue, 8 Mar 2022 19:31:28 +0000 (19:31 +0000)] 
pip_install_wheel: generate the wheels in directory we control outside of S

Set the wheel distribution location, PIP_INSTALL_DIST_PATH, to a
directory under WORKDIR to enhance out-of-tree builds.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agozip: Pass ldflags to configure tests using linking
Khem Raj [Wed, 9 Mar 2022 06:47:58 +0000 (22:47 -0800)] 
zip: Pass ldflags to configure tests using linking

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agozlib: Pass ldflags to configure tests using linking
Khem Raj [Wed, 9 Mar 2022 06:47:57 +0000 (22:47 -0800)] 
zlib: Pass ldflags to configure tests using linking

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-scons: remove PIP_INSTALL_DIST_PATH
Ross Burton [Tue, 8 Mar 2022 19:31:27 +0000 (19:31 +0000)] 
python3-scons: remove PIP_INSTALL_DIST_PATH

The default is good now, so remove this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobinutils-cross-canadian: enable gold for mingw
Samuli Piippo [Wed, 9 Mar 2022 09:13:23 +0000 (09:13 +0000)] 
binutils-cross-canadian: enable gold for mingw

This reverts commit b5a595a4be09756b88e91f3353e3b221b165ab44,
gold linker can now be built correctly for mingw SDKs.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agometa/scripts: Improve internal variable naming
Saul Wold [Wed, 9 Mar 2022 17:40:52 +0000 (09:40 -0800)] 
meta/scripts: Improve internal variable naming

Update internal variable names to improve the terms used.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolocal.conf.sample: https and no newline for SSTATE_MIRRORS
Michael Opdenacker [Wed, 9 Mar 2022 10:28:50 +0000 (11:28 +0100)] 
local.conf.sample: https and no newline for SSTATE_MIRRORS

Both http and https work, but we will get fewer user questions with https

Remove no longer necessary \n character in the sample definition

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolocal.conf.sample: fix reference to extended configuration sample
Michael Opdenacker [Wed, 9 Mar 2022 09:44:42 +0000 (10:44 +0100)] 
local.conf.sample: fix reference to extended configuration sample

The file name is local.conf.sample.extended, not local.conf.extended

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pyyaml: use setuptools_build_meta
Ross Burton [Tue, 8 Mar 2022 16:32:06 +0000 (16:32 +0000)] 
python3-pyyaml: use setuptools_build_meta

This project builds with setuptools_build_meta, so use that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pyrsistent: use setuptools_build_meta
Ross Burton [Tue, 8 Mar 2022 16:32:05 +0000 (16:32 +0000)] 
python3-pyrsistent: use setuptools_build_meta

This project builds with setuptools_build_meta, so use that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-markdown: use setuptools_build_meta
Ross Burton [Tue, 8 Mar 2022 16:32:04 +0000 (16:32 +0000)] 
python3-markdown: use setuptools_build_meta

This project builds with setuptools_build_meta, so use that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobmap-tools: remove redundant PYPA_WHEEL
Ross Burton [Tue, 8 Mar 2022 16:32:03 +0000 (16:32 +0000)] 
bmap-tools: remove redundant PYPA_WHEEL

The default is good, this doesn't need to be set.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-wheel: clean up PYPA_WHEEL usage
Ross Burton [Tue, 8 Mar 2022 16:32:02 +0000 (16:32 +0000)] 
python3-wheel: clean up PYPA_WHEEL usage

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

Also flit_core inherits setuptools3-base, so no need to inherit it again.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-setuptools3: clean up PYPA_WHEEL usage
Ross Burton [Tue, 8 Mar 2022 16:32:01 +0000 (16:32 +0000)] 
python3-setuptools3: clean up PYPA_WHEEL usage

There's no need to set PYPA_WHEEL as the default is sufficient.

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pip: clean up PYPA_WHEEL usage
Ross Burton [Tue, 8 Mar 2022 16:32:00 +0000 (16:32 +0000)] 
python3-pip: clean up PYPA_WHEEL usage

There's no need to set PYPA_WHEEL as the default is sufficient.

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools3: respect PIP_INSTALL_DIST_PATH
Ross Burton [Tue, 8 Mar 2022 14:30:31 +0000 (14:30 +0000)] 
setuptools3: respect PIP_INSTALL_DIST_PATH

pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-flit-core: improve recipe
Ross Burton [Tue, 8 Mar 2022 14:30:35 +0000 (14:30 +0000)] 
python3-flit-core: improve recipe

flit_core can bootstrap itself, so the python3-flit-core recipe can just
inherit flit_core and set PEP517_SOURCE_PATH to the flit_core submodule.

Also setting FILES:${PN} is redundant.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools_build_meta: add variable to control where pyproject.toml is located
Ross Burton [Tue, 8 Mar 2022 14:30:34 +0000 (14:30 +0000)] 
setuptools_build_meta: add variable to control where pyproject.toml is located

The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools_build_meta: respect PIP_INSTALL_DIST_PATH
Ross Burton [Tue, 8 Mar 2022 14:30:32 +0000 (14:30 +0000)] 
setuptools_build_meta: respect PIP_INSTALL_DIST_PATH

pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoflit_core: add variable to control where pyproject.toml is located
Ross Burton [Tue, 8 Mar 2022 14:30:33 +0000 (14:30 +0000)] 
flit_core: add variable to control where pyproject.toml is located

The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoflit_core: respect PIP_INSTALL_DIST_PATH
Ross Burton [Tue, 8 Mar 2022 14:30:30 +0000 (14:30 +0000)] 
flit_core: respect PIP_INSTALL_DIST_PATH

pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

Also call the flit_core.wheel module directly as this is a public entry
point to the wheel building logic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibuv: fix upstream version check
Alexander Kanavin [Tue, 8 Mar 2022 09:42:01 +0000 (10:42 +0100)] 
libuv: fix upstream version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosysklogd: nobranch in SRC_URI is no longer necessary
Alexander Kanavin [Tue, 8 Mar 2022 09:32:23 +0000 (10:32 +0100)] 
sysklogd: nobranch in SRC_URI is no longer necessary

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoopenssh: update 8.8 -> 8.9
Alexander Kanavin [Tue, 8 Mar 2022 09:32:24 +0000 (10:32 +0100)] 
openssh: update 8.8 -> 8.9

License-Update: blowfish relicensed under 3-BSD.

Fix up ptests; listing the helper binaries one by one
is not necessary. Unittests are skipped explicitly in run-ptest,
no need to avoid building them. They still take long, but they
can be executed on target if wanted.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: upgrade 2.34.5 -> 2.34.6
Alexander Kanavin [Tue, 8 Mar 2022 09:32:21 +0000 (10:32 +0100)] 
webkitgtk: upgrade 2.34.5 -> 2.34.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agommc-utils: upgrade to latest revision
Alexander Kanavin [Tue, 8 Mar 2022 09:32:16 +0000 (10:32 +0100)] 
mmc-utils: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan: upgrade 1.3.204.0 -> 1.3.204.1
Alexander Kanavin [Tue, 8 Mar 2022 09:32:22 +0000 (10:32 +0100)] 
vulkan: upgrade 1.3.204.0 -> 1.3.204.1

Only vulkan-loader has actually changed.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibsecret: upgrade 0.20.4 -> 0.20.5
Alexander Kanavin [Tue, 8 Mar 2022 09:32:20 +0000 (10:32 +0100)] 
libsecret: upgrade 0.20.4 -> 0.20.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoharfbuzz: upgrade 3.4.0 -> 4.0.0
Alexander Kanavin [Tue, 8 Mar 2022 09:32:19 +0000 (10:32 +0100)] 
harfbuzz: upgrade 3.4.0 -> 4.0.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodiffoscope: upgrade 204 -> 206
Alexander Kanavin [Tue, 8 Mar 2022 09:32:18 +0000 (10:32 +0100)] 
diffoscope: upgrade 204 -> 206

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cython: upgrade 0.29.27 -> 0.29.28
Alexander Kanavin [Tue, 8 Mar 2022 09:32:17 +0000 (10:32 +0100)] 
python3-cython: upgrade 0.29.27 -> 0.29.28

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokea: upgrade 2.0.1 -> 2.0.2
Alexander Kanavin [Tue, 8 Mar 2022 09:32:14 +0000 (10:32 +0100)] 
kea: upgrade 2.0.1 -> 2.0.2

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoapt: upgrade 2.2.4 -> 2.4.0
Alexander Kanavin [Tue, 8 Mar 2022 09:32:13 +0000 (10:32 +0100)] 
apt: upgrade 2.2.4 -> 2.4.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxwayland: update 21.1.4 -> 22.1.0
Alexander Kanavin [Tue, 8 Mar 2022 09:32:12 +0000 (10:32 +0100)] 
xwayland: update 21.1.4 -> 22.1.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibrsvg: update 2.52.5 -> 2.52.6
Alexander Kanavin [Tue, 8 Mar 2022 09:32:10 +0000 (10:32 +0100)] 
librsvg: update 2.52.5 -> 2.52.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: update 1.58.1 -> 1.59.0
Alexander Kanavin [Tue, 8 Mar 2022 09:32:09 +0000 (10:32 +0100)] 
rust: update 1.58.1 -> 1.59.0

Drop libstd-rs patches as they're merged upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: make sure GLES3 headers are installed
Samuli Piippo [Tue, 8 Mar 2022 08:58:12 +0000 (08:58 +0000)] 
mesa: make sure GLES3 headers are installed

Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogo: upgrade 1.17.7 -> 1.17.8
wangmy [Tue, 8 Mar 2022 01:52:18 +0000 (09:52 +0800)] 
go: upgrade 1.17.7 -> 1.17.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoasciidoc: upgrade 10.1.3 -> 10.1.4
wangmy [Mon, 7 Mar 2022 23:57:35 +0000 (07:57 +0800)] 
asciidoc: upgrade 10.1.3 -> 10.1.4

License-Update: year updated to 2022.

Changelog:
=========
.Bug fixes
- Add missing test py files to dist archives
- Fix DeprecationWarnings in a2x regexes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowic: Use custom kernel path if provided
Bill Pittman [Tue, 15 Feb 2022 16:54:20 +0000 (16:54 +0000)] 
wic: Use custom kernel path if provided

If the custom kernel path is provided in options, then
use that path instead of the default path.

Signed-off-by: Bill Pittman <bill.pittman@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovirglrenderer: Depend on virtual/egl
Khem Raj [Mon, 7 Mar 2022 22:20:09 +0000 (14:20 -0800)] 
virglrenderer: Depend on virtual/egl

depending on EGL means it does not have to worry if implementation
provides GL/GLES/OpenVG interfaces or not.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-bad/ugly: use the GPL-2.0-or-later only when it is in use
Jose Quaresma [Mon, 7 Mar 2022 22:12:48 +0000 (22:12 +0000)] 
gstreamer1.0-plugins-bad/ugly: use the GPL-2.0-or-later only when it is in use

Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.

For the GPLv2+ this patch set this license only for each plugin
that is affected by by that, using the new GSTREAMER_GPL.

CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools_build_meta: clean up configure/compile
Ross Burton [Mon, 7 Mar 2022 19:42:36 +0000 (19:42 +0000)] 
setuptools_build_meta: clean up configure/compile

Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoflit_core: clean up configure/compile
Ross Burton [Mon, 7 Mar 2022 19:42:35 +0000 (19:42 +0000)] 
flit_core: clean up configure/compile

Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pip: remove obsolete and confusing comment
Ross Burton [Mon, 7 Mar 2022 19:42:34 +0000 (19:42 +0000)] 
python3-pip: remove obsolete and confusing comment

This comment is very obsolete.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopip_install_wheel: don't lazy assign PIPINSTALLARGS
Ross Burton [Mon, 7 Mar 2022 19:42:33 +0000 (19:42 +0000)] 
pip_install_wheel: don't lazy assign PIPINSTALLARGS

If we expect users to extend this we should use =, as otherwise a recipe
that does += will replace the default value.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopip_install_wheel: clean up
Ross Burton [Mon, 7 Mar 2022 15:26:49 +0000 (15:26 +0000)] 
pip_install_wheel: clean up

There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Remove redundant creation of PYTHON_SITEPACKAGES_DIR, pip will do that.

Remove redundant export of PYPA_WHEEL.

Simplyify recompile code using "realpath --relative-to".

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools3.bbclass: clean up
Ross Burton [Mon, 7 Mar 2022 15:26:48 +0000 (15:26 +0000)] 
setuptools3.bbclass: clean up

There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Create wheels verbosely to help debug problems.

Remove unused SETUPTOOLS_INSTALL_ARGS, these can't be passed to
bdist_wheel.

Remove duplicate manipulation of files in bindir as pip_install_wheel
does the same.

Remove obsolete deletion of easy-install.pth, wheels don't generate that.

Remove obsolete ${datadir}/share fixup, pip-installed wheels can't
generate that path combination.

Remove purging of ${D} references from *.py, these won't be written by
standard setuptools, and recipes can do it themselves to work around
specific issues if needed.

Remove obsolete vardepsexclude of MACHINE on do_install, as that variable
isn't referenced.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovim: Update to 8.2.4524 for further CVE fixes
Richard Purdie [Mon, 7 Mar 2022 17:00:18 +0000 (17:00 +0000)] 
vim: Update to 8.2.4524 for further CVE fixes

Includes CVE-2022-0696, CVE-2022-0714, CVE-2022-0729.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocmake: upgrade 3.22.2 -> 3.22.3
wangmy [Mon, 7 Mar 2022 13:01:22 +0000 (21:01 +0800)] 
cmake: upgrade 3.22.2 -> 3.22.3

refresh 0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch

Changelog:
==========
* The :command:'while' command again ignores errors in condition evaluation
  as CMake 3.21 and below did.  This bug was fixed in 3.22.0, but exposed
  errors in existing projects.  The fix has been reverted to restore
  compatibility.  The fix may be restored in a future version of CMake
  via a policy.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>