[OE-core][PATCH] spirv-tools: fix to use sdk-1.3.204 branch

2022-04-07 Thread Chen Qi
Just as pointed out in a previous commit:
"""
We'll continue tagging the repos contributing with SDK releases, as
that is when all the testing of the various projects is performed
together.
"""

Now the repo has updated and the 'stable' branch is forcely overriden.
We need to use the 'sdk-1.3.204' branch.

Signed-off-by: Chen Qi 
---
 meta/recipes-graphics/spir/spirv-tools_1.3.204.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/spir/spirv-tools_1.3.204.1.bb 
b/meta/recipes-graphics/spir/spirv-tools_1.3.204.1.bb
index dc78073717..4c908d88c0 100644
--- a/meta/recipes-graphics/spir/spirv-tools_1.3.204.1.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_1.3.204.1.bb
@@ -8,7 +8,7 @@ LICENSE  = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRCREV = "45dd184c790d6bfc78a5a74a10c37e888b1823fa"
-SRC_URI = 
"git://github.com/KhronosGroup/SPIRV-Tools.git;branch=stable;protocol=https"
+SRC_URI = 
"git://github.com/KhronosGroup/SPIRV-Tools.git;branch=sdk-1.3.204;protocol=https"
 PE = "1"
 UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P\d+(\.\d+)+)"
 S = "${WORKDIR}/git"
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164151): 
https://lists.openembedded.org/g/openembedded-core/message/164151
Mute This Topic: https://lists.openembedded.org/mt/90328967/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/2] python3-cryptography: enforce identical version for -cryptography-vectors

2022-04-07 Thread Tim Orling
On Thu, Apr 7, 2022 at 5:37 PM Martin Jansa  wrote:

> On Thu, Apr 7, 2022 at 11:10 PM Richard Purdie <
> richard.pur...@linuxfoundation.org> wrote:
>
>> On Thu, 2022-04-07 at 16:48 +0200, Martin Jansa wrote:
>> > I've tried with rpm and surprisingly it works and dnf was able to
>> > install python3-cryptography-ptest in the image (even after bumping PR
>> to r1 -
>> > n python3-cryptography-vectors recipe).
>> >
>> > But still not clear why it works and if it's expected behavior.
>> >
>> > In fresh fedora:37 docker image with rpmdevtools installed I see:
>> >
>> > [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0 36.0.2-r1
>> > 36.0.2-r0 < 36.0.2-r1
>> > [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0 36.0.2-r0
>> > 36.0.2-r0 == 36.0.2-r0
>> > [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0.0 36.0.2-r0.1
>> > 36.0.2-r0.0 < 36.0.2-r0.1
>> >
>> > But I'm not familiar with dnf/rpm to see how the versioned runtime
>> dependency
>> > is handled during installation (isn't it resolved by the same libsolv
>> as what
>> > opkg is using now by default as well?
>> >
>> > + Alejandro in case it should be fixed in opkg somehow.
>>
>> I did a bit of digging on this and it is basically a difference in
>> behaviour
>> between the debian and rpm worlds.
>>
>> In Debian, "1.2.3" != "1.2.3-r0" but in the rpm world, a recipe saying "(=
>> 1.2.3)" with PR=r0 is ok and matches.
>>
>> We can't obtain the PR of another recipe when writing package manager
>> fields so
>> this is rather tricky to solve. Debian doesn't support any kind of
>> wildcard in
>> the versioning either. I've proposed a patch which uses >= and << to
>> force a
>> very specific range which is horrible but the best I could come up with.
>> I'm
>> open to other ideas...
>>
>
> For this specific case the cure is almost more horrible than the issue
> this commit was trying to prevent, but I agree that being able to depend on
> version might be useful elsewhere as well and your package*bbclass fix
> helps with that.
>
> Thanks for looking into this.
>

If the pain (which is what I understand with limited investigation) is
cryptography vs cryptography-vectors being in sync (already a painfully
known problem) — I again propose merging the recipes. Now I think about
PYPI_PACKAGE being extended to understanding lists…

And I want a pony, with wings, and rainbow hair, and a horn.


> Regards,
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164150): 
https://lists.openembedded.org/g/openembedded-core/message/164150
Mute This Topic: https://lists.openembedded.org/mt/89849717/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/2] python3-cryptography: enforce identical version for -cryptography-vectors

2022-04-07 Thread Martin Jansa
On Thu, Apr 7, 2022 at 11:10 PM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Thu, 2022-04-07 at 16:48 +0200, Martin Jansa wrote:
> > I've tried with rpm and surprisingly it works and dnf was able to
> > install python3-cryptography-ptest in the image (even after bumping PR
> to r1 -
> > n python3-cryptography-vectors recipe).
> >
> > But still not clear why it works and if it's expected behavior.
> >
> > In fresh fedora:37 docker image with rpmdevtools installed I see:
> >
> > [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0 36.0.2-r1
> > 36.0.2-r0 < 36.0.2-r1
> > [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0 36.0.2-r0
> > 36.0.2-r0 == 36.0.2-r0
> > [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0.0 36.0.2-r0.1
> > 36.0.2-r0.0 < 36.0.2-r0.1
> >
> > But I'm not familiar with dnf/rpm to see how the versioned runtime
> dependency
> > is handled during installation (isn't it resolved by the same libsolv as
> what
> > opkg is using now by default as well?
> >
> > + Alejandro in case it should be fixed in opkg somehow.
>
> I did a bit of digging on this and it is basically a difference in
> behaviour
> between the debian and rpm worlds.
>
> In Debian, "1.2.3" != "1.2.3-r0" but in the rpm world, a recipe saying "(=
> 1.2.3)" with PR=r0 is ok and matches.
>
> We can't obtain the PR of another recipe when writing package manager
> fields so
> this is rather tricky to solve. Debian doesn't support any kind of
> wildcard in
> the versioning either. I've proposed a patch which uses >= and << to force
> a
> very specific range which is horrible but the best I could come up with.
> I'm
> open to other ideas...
>

For this specific case the cure is almost more horrible than the issue this
commit was trying to prevent, but I agree that being able to depend on
version might be useful elsewhere as well and your package*bbclass fix
helps with that.

Thanks for looking into this.

Regards,

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164149): 
https://lists.openembedded.org/g/openembedded-core/message/164149
Mute This Topic: https://lists.openembedded.org/mt/89849717/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] python3-sphinx: upgrade 4.4.0 -> 4.5.0

2022-04-07 Thread Richard Purdie
On Thu, 2022-04-07 at 14:19 +0800, xuhuan.f...@fujitsu.com wrote:
> From: Xu Huan 
> 
> License-Update:
> - The following description added to "License for Sphinx":
>   # +Unless otherwise indicated, all code in the Sphinx project is licenced 
> under the
>   # +two clause BSD licence below.

Are there pieces of the code which use BSD-3-Clause or MIT? Do we need to update
LICENSE?

Cheers,

Richard

> 
> Signed-off-by: Xu Huan 
> ---
>  .../{python3-sphinx_4.4.0.bb => python3-sphinx_4.5.0.bb}  | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta/recipes-devtools/python/{python3-sphinx_4.4.0.bb => 
> python3-sphinx_4.5.0.bb} (84%)
> 
> diff --git a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb 
> b/meta/recipes-devtools/python/python3-sphinx_4.5.0.bb
> similarity index 84%
> rename from meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
> rename to meta/recipes-devtools/python/python3-sphinx_4.5.0.bb
> index 97ec2619cb..f4d27f3275 100644
> --- a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
> +++ b/meta/recipes-devtools/python/python3-sphinx_4.5.0.bb
> @@ -2,11 +2,11 @@ DESCRIPTION = "Python documentation generator"
>  HOMEPAGE = "http://sphinx-doc.org/;
>  SECTION = "devel/python"
>  LICENSE = "BSD-2-Clause & MIT & BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=de4349dda741c550eb8b20f6b92f38d7"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=72c536e78c21c567311b193fe00cd253"
>  
>  PYPI_PACKAGE = "Sphinx"
>  
> -SRC_URI[sha256sum] = 
> "6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0dd35cc"
> +SRC_URI[sha256sum] = 
> "7bf8ca9637a4ee15af412d1a1d9689fec70523a68ca9bb9127c2f3eeb344e2e6"
>  
>  inherit setuptools3 pypi
>  
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164148): 
https://lists.openembedded.org/g/openembedded-core/message/164148
Mute This Topic: https://lists.openembedded.org/mt/90307725/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 17/17] python3-typing-extensions: upgrade 3.10.0.0 -> 4.1.1

2022-04-07 Thread Richard Purdie
On Thu, 2022-04-07 at 21:45 +0200, Alexander Kanavin wrote:
> On Thu, 7 Apr 2022 at 21:43, Khem Raj  wrote:
> > > -inherit pypi setuptools3
> > > +inherit pypi python_flit_core
> > 
> > has this module made a move to use flit instead of setuptools ? if so,
> > perhaps adding that info in commit might be good.
> 
> It has, yes. I thought such a change is self-documenting.

I think there is value to mentioning things like this in the commit message as
it shows you were aware of the change and made a conscious decision and it shows
up when looking at change logs too where you wouldn't normally have the context
diff without specifically looking it out.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164147): 
https://lists.openembedded.org/g/openembedded-core/message/164147
Mute This Topic: https://lists.openembedded.org/mt/90317738/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/2] python3-cryptography: enforce identical version for -cryptography-vectors

2022-04-07 Thread Richard Purdie
On Thu, 2022-04-07 at 16:48 +0200, Martin Jansa wrote:
> I've tried with rpm and surprisingly it works and dnf was able to
> install python3-cryptography-ptest in the image (even after bumping PR to r1 -
> n python3-cryptography-vectors recipe).
> 
> But still not clear why it works and if it's expected behavior.
> 
> In fresh fedora:37 docker image with rpmdevtools installed I see:
> 
> [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0 36.0.2-r1
> 36.0.2-r0 < 36.0.2-r1
> [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0 36.0.2-r0
> 36.0.2-r0 == 36.0.2-r0
> [root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0.0 36.0.2-r0.1
> 36.0.2-r0.0 < 36.0.2-r0.1
> 
> But I'm not familiar with dnf/rpm to see how the versioned runtime dependency
> is handled during installation (isn't it resolved by the same libsolv as what
> opkg is using now by default as well?
> 
> + Alejandro in case it should be fixed in opkg somehow.

I did a bit of digging on this and it is basically a difference in behaviour
between the debian and rpm worlds.

In Debian, "1.2.3" != "1.2.3-r0" but in the rpm world, a recipe saying "(=
1.2.3)" with PR=r0 is ok and matches.

We can't obtain the PR of another recipe when writing package manager fields so
this is rather tricky to solve. Debian doesn't support any kind of wildcard in
the versioning either. I've proposed a patch which uses >= and << to force a
very specific range which is horrible but the best I could come up with. I'm
open to other ideas...

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164146): 
https://lists.openembedded.org/g/openembedded-core/message/164146
Mute This Topic: https://lists.openembedded.org/mt/89849717/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] gcc: upgrade 11.2 -> current 12 snapshot

2022-04-07 Thread Khem Raj
I carry patches all OE patches in my gcc tree as well here

https://github.com/kraj/gcc/tree/oe/master

which would be good to seed the changes.

On Thu, Apr 7, 2022 at 9:29 AM Bernhard Rosenkränzer via
lists.openembedded.org
 wrote:
>
> On Thu, Apr 7, 2022 at 02:32 PM, Richard Purdie wrote:
>
> On Thu, 2022-04-07 at 14:26 +0200, Bernhard Rosenkränzer via
> lists.openembedded.org wrote:
>
> rename from meta/recipes-devtools/gcc/gcc-cross-canadian_11.2.bb
> rename to meta/recipes-devtools/gcc/gcc-cross-canadian_12.0.bb
> diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc 
> b/meta/recipes-devtools/gcc/gcc-cross.inc
> index 3ffa1f0c46..0e8119384b 100644
> --- a/meta/recipes-devtools/gcc/gcc-cross.inc
> +++ b/meta/recipes-devtools/gcc/gcc-cross.inc
> @@ -47,6 +47,15 @@ ARCH_FLAGS_FOR_TARGET += 
> "-isystem${STAGING_DIR_TARGET}${target_includedir}"
> do_configure:prepend () {
> install -d ${RECIPE_SYSROOT}${target_includedir}
> touch ${RECIPE_SYSROOT}${target_includedir}/limits.h
> +
> + if ! echo ${@d.getVar("TARGET_OS")} | grep -qi linux; then
> + # Building Zephyr with DWARF-5 is problematic because
> + # its kernel tests use pyelftools, which has incomplete
> + # DWARF-5 support (even after applying preliminary
> + # support patches). Use DWARF-4 on Zephyr and FreeRTOS
> + # for the time being.
> + sed -i -e 's,Var(dwarf_version) Init(5),Var(dwarf_version) Init(4),' 
> ${S}/gcc/common.opt
> + fi
> }
>
> do_compile () {
>
> Unfortunately you can't do that. The gcc-cross is shared amongst all targets 
> on
> a given architecture. This will "kind of work" in that other sstate code will
> clean it up and rebuild gcc but it isn't as designed and can't merge like that
> I'm afraid.
>
> True, didn't think of that. I've backed out this part and sent a new patch. 
> Will address the zephyr problem with an added -gdwarf-4 flag in zephyr 
> configs.
>
> ttyl
> bero
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164145): 
https://lists.openembedded.org/g/openembedded-core/message/164145
Mute This Topic: https://lists.openembedded.org/mt/90311375/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 04/17] squashfs-tools: update 4.5 -> 4.5.1

2022-04-07 Thread Khem Raj
On Thu, Apr 7, 2022 at 4:00 PM Alexander Kanavin  wrote:
>
> This is not possible as we need to patch something in a different
> directory under the overall tree. It also breaks various devtool
> operations with patches and source tree commits. I don't mind doing
> the cd bit.
>

so this helps devtool workflow it seems, thats reasonable, the context
was not clear
from commit. I wonder if setting B to ${S}/squashfs-tools might help
avoid those cd ops

> Alex
>
> On Thu, 7 Apr 2022 at 21:56, Khem Raj  wrote:
> >
> > On Thu, Apr 7, 2022 at 1:00 PM Alexander Kanavin  
> > wrote:
> > >
> > > Drop backports.
> > >
> > > Correctly set source and installation directories.
> > >
> > > Signed-off-by: Alexander Kanavin 
> > > ---
> > >  sh-do-not-write-original-timestamps.patch |  30 ++
> > >  ...e-of-INSTALL_DIR-for-symlink-targets.patch |  34 --
> > >  .../CVE-2021-41072-requisite-1.patch  | 135 ---
> > >  .../CVE-2021-41072-requisite-2.patch  | 108 --
> > >  .../CVE-2021-41072-requisite-3.patch  | 326 -
> > >  .../squashfs-tools/CVE-2021-41072.patch   | 329 --
> > >  .../squashfs-tools/squashfs-tools_git.bb  |  20 +-
> > >  7 files changed, 39 insertions(+), 943 deletions(-)
> > >  create mode 100644 
> > > meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> > >  delete mode 100644 
> > > meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> > >  delete mode 100644 
> > > meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
> > >  delete mode 100644 
> > > meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-2.patch
> > >  delete mode 100644 
> > > meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-3.patch
> > >  delete mode 100644 
> > > meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072.patch
> > >
> > > diff --git 
> > > a/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> > >  
> > > b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> > > new file mode 100644
> > > index 00..ed1d2f5b3b
> > > --- /dev/null
> > > +++ 
> > > b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> > > @@ -0,0 +1,30 @@
> > > +From b44b00dae195d8587857c7e8054e9be4eaa1f8b3 Mon Sep 17 00:00:00 2001
> > > +From: Alexander Kanavin 
> > > +Date: Thu, 7 Apr 2022 09:26:09 +0200
> > > +Subject: [PATCH] install-manpages.sh: do not write original timestamps 
> > > into
> > > + .gz metadata
> > > +
> > > +This helps binary reproducibility.
> > > +
> > > +Upstream-Status: Submitted 
> > > [https://github.com/plougher/squashfs-tools/pull/177]
> > > +Signed-off-by: Alexander Kanavin 
> > > +---
> > > + generate-manpages/install-manpages.sh | 2 +-
> > > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > > +
> > > +diff --git a/generate-manpages/install-manpages.sh 
> > > b/generate-manpages/install-manpages.sh
> > > +index d4c9e91..6a43b89 100755
> > > +--- a/generate-manpages/install-manpages.sh
> > >  b/generate-manpages/install-manpages.sh
> > > +@@ -56,7 +56,7 @@ for i in mksquashfs unsquashfs sqfstar sqfscat; do
> > > +   exit 1
> > > +   fi
> > > +
> > > +-  if ! gzip -f9 $2/$i.1; then
> > > ++  if ! gzip -n -f9 $2/$i.1; then
> > > +   echo "$0: Compressing installed manpage failed.  
> > > Aborting" >&2
> > > +   exit 1
> > > +   fi
> > > +--
> > > +2.30.2
> > > +
> > > diff --git 
> > > a/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> > >  
> > > b/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> > > deleted file mode 100644
> > > index b505f05735..00
> > > --- 
> > > a/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> > > +++ /dev/null
> > > @@ -1,34 +0,0 @@
> > > -From c9e263a7add76df1ed92e879d964264067c0f6e8 Mon Sep 17 00:00:00 2001
> > > -From: Patrick McCarty 
> > > -Date: Mon, 26 Jul 2021 11:38:43 -0700
> > > -Subject: [PATCH] Avoid use of INSTALL_DIR for symlink targets
> > > -
> > > -In case INSTALL_DIR is overridden with a staged install location, using
> > > -INSTALL_DIR for the symlink target path prefix will yield an incorrect 
> > > location
> > > -for the final installation.
> > > -
> > > -Because the symlink itself is already installed to INSTALL_DIR, simply 
> > > removing
> > > -the INSTALL_DIR prefix suffices as a fix.
> > > -
> > > -Note that using $DESTDIR/$INSTALL_DIR where appropriate can avoid this 
> > > type of
> > > -issue, but that can be considered a future enhancement.
> > > -
> > > -Upstream-Status: 

[OE-core] [PATCH 2/2] runqemu: add an option to enable guest-agent virtio device

2022-04-07 Thread Brenda Streiff
Add support to the runqemu script for a new option, 'guestagent', that
enables the virtio serial port for host-to-guest communication.

Signed-off-by: Brenda Streiff 
---
 scripts/runqemu | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/scripts/runqemu b/scripts/runqemu
index 2f77a7bd0f..c25764b28e 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -82,6 +82,7 @@ of the following environment variables (in any order):
 kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU 
required)
 publicvnc - enable a VNC server open to all hosts
 audio - enable audio
+guestagent - enable guest agent communication
 [*/]ovmf* - OVMF firmware file or base name for booting with UEFI
   tcpserial= - specify tcp serial port number
   qemuparams= - specify custom parameters to QEMU
@@ -214,6 +215,8 @@ class BaseConfig(object):
 self.cleaned = False
 # Files to cleanup after run
 self.cleanup_files = []
+self.guest_agent = False
+self.guest_agent_sockpath = '/tmp/qga.sock'
 
 def acquire_taplock(self, error=True):
 logger.debug("Acquiring lockfile %s..." % self.taplock)
@@ -522,6 +525,10 @@ class BaseConfig(object):
 self.snapshot = True
 elif arg == 'publicvnc':
 self.qemu_opt_script += ' -vnc :0'
+elif arg == 'guestagent':
+self.guest_agent = True
+elif arg.startswith('guestagent-sockpath='):
+self.guest_agent_sockpath = '%s' % 
arg[len('guestagent-sockpath='):]
 elif arg.startswith('tcpserial='):
 self.tcpserial_portnum = '%s' % arg[len('tcpserial='):]
 elif arg.startswith('qemuparams='):
@@ -1348,6 +1355,12 @@ class BaseConfig(object):
 raise RunQemuError("Failed to boot, QB_SYSTEM_NAME is NULL!")
 self.qemu_system = qemu_system
 
+def setup_guest_agent(self):
+if self.guest_agent == True:
+self.qemu_opt += ' -chardev socket,path=' + 
self.guest_agent_sockpath + ',server,nowait,id=qga0 '
+self.qemu_opt += ' -device virtio-serial '
+self.qemu_opt += ' -device 
virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 '
+
 def setup_vga(self):
 if self.nographic == True:
 if self.sdl == True:
@@ -1459,6 +1472,7 @@ class BaseConfig(object):
 if self.snapshot:
 self.qemu_opt += " -snapshot"
 
+self.setup_guest_agent()
 self.setup_serial()
 self.setup_vga()
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164143): 
https://lists.openembedded.org/g/openembedded-core/message/164143
Mute This Topic: https://lists.openembedded.org/mt/90321829/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/2] qemu: split out qemu-guest-agent, add startup scripts

2022-04-07 Thread Brenda Streiff
Split out the QEMU guest agent into a separate package. The agent is
intended to be installed within a QEMU VM guest where a user is likely
to not want to have the rest of the QEMU installation within it.

Additionally, an initscript, udev rules file, and systemd unit file are
added to the package so that the guest agent can start automatically;
the former two come from Debian's packaging for qemu-guest-agent.

Signed-off-by: Brenda Streiff 
---
 meta/recipes-devtools/qemu/qemu.inc   | 35 +++-
 .../qemu/qemu/qemu-guest-agent.init   | 84 +++
 .../qemu/qemu/qemu-guest-agent.udev   |  2 +
 3 files changed, 120 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/qemu/qemu/qemu-guest-agent.init
 create mode 100644 meta/recipes-devtools/qemu/qemu/qemu-guest-agent.udev

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 9f2fa4322e..bd1d1ea010 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -9,7 +9,7 @@ LICENSE = "GPL-2.0-only & LGPL-2.1-only"
 RDEPENDS:${PN}-ptest = "bash"
 
 require qemu-targets.inc
-inherit pkgconfig ptest python3-dir
+inherit pkgconfig ptest python3-dir update-rc.d systemd
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
 
file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f"
@@ -32,6 +32,8 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \

file://0001-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch \

file://0001-vhost-vsock-detach-the-virqueue-element-in-case-of-e.patch \

file://0002-virtio-net-fix-map-leaking-on-error-during-receive.patch \
+   file://qemu-guest-agent.init \
+   file://qemu-guest-agent.udev \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
@@ -127,6 +129,20 @@ do_configure[cleandirs] += "${B}"
 do_install () {
export STRIP=""
oe_runmake 'DESTDIR=${D}' install
+
+   # If we built the guest agent, also install startup/udev rules
+   if [ -e "${D}${bindir}/qemu-ga" ]; then
+   install -d ${D}${sysconfdir}/init.d/
+   install -m 0755 ${WORKDIR}/qemu-guest-agent.init 
${D}${sysconfdir}/init.d/qemu-guest-agent
+   sed -i 's:@bindir@:${bindir}:' 
${D}${sysconfdir}/init.d/qemu-guest-agent
+
+   install -d ${D}${sysconfdir}/udev/rules.d/
+   install -m 0644 ${WORKDIR}/qemu-guest-agent.udev 
${D}${sysconfdir}/udev/rules.d/60-qemu-guest-agent.rules
+
+   install -d ${D}${systemd_unitdir}/system/
+   install -m 0644 ${S}/contrib/systemd/qemu-guest-agent.service 
${D}${systemd_unitdir}/system
+   sed -i -e 's,-/usr/bin/,-${bindir}/,g' 
${D}${systemd_unitdir}/system/qemu-guest-agent.service
+   fi
 }
 
 # The following fragment will create a wrapper for qemu-mips user emulation
@@ -199,3 +215,20 @@ PACKAGECONFIG[selinux] = 
"--enable-selinux,--disable-selinux"
 INSANE_SKIP:${PN} = "arch"
 
 FILES:${PN} += "${datadir}/icons"
+
+# Put the guest agent in a separate package
+PACKAGES =+ "${PN}-guest-agent"
+SUMMARY:${PN}-guest-agent = "QEMU guest agent"
+FILES:${PN}-guest-agent += " \
+${bindir}/qemu-ga \
+${sysconfdir}/udev/rules.d/60-qemu-guest-agent.rules \
+${sysconfdir}/init.d/qemu-guest-agent \
+${systemd_unitdir}/system/qemu-guest-agent.service \
+"
+
+INITSCRIPT_PACKAGES = "${PN}-guest-agent"
+INITSCRIPT_NAME:${PN}-guest-agent = "qemu-guest-agent"
+INITSCRIPT_PARAMS:${PN}-guest-agent = "defaults"
+
+SYSTEMD_PACKAGES = "${PN}-guest-agent"
+SYSTEMD_SERVICE:${PN}-guest-agent = "${PN}-guest-agent.service"
diff --git a/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.init 
b/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.init
new file mode 100644
index 00..493da0ef1a
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.init
@@ -0,0 +1,84 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:qemu-guest-agent
+# Required-Start:  $remote_fs $syslog
+# Required-Stop:   $remote_fs $syslog
+# Default-Start:   2 3 4 5
+# Default-Stop:0 1 6
+# Short-Description:   QEMU Guest Agent
+### END INIT INFO
+#
+# Do not configure this file. Edit /etc/default/qemu-guest-agent
+#
+
+set -e
+
+. /etc/init.d/functions
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="QEMU Guest Agent"
+NAME=qemu-ga
+DAEMON=@bindir@/$NAME
+PIDFILE=/var/run/$NAME.pid
+
+# config
+DAEMON_ARGS=""
+# default transport
+TRANSPORT=virtio-serial:/dev/virtio-ports/org.qemu.guest_agent.0
+NO_START=0
+
+test ! -r /etc/default/qemu-guest-agent || . /etc/default/qemu-guest-agent
+test "$NO_START" = "0" || exit 0
+test -x "$DAEMON" || exit 0
+
+#
+# Function that checks whenever system has necessary environment
+# It also splits $TRANSPORT into $method and $path
+#
+do_check_transport() {
+   method=${TRANSPORT%%:*};
+   

Re: [OE-core] [PATCH 04/17] squashfs-tools: update 4.5 -> 4.5.1

2022-04-07 Thread Alexander Kanavin
This is not possible as we need to patch something in a different
directory under the overall tree. It also breaks various devtool
operations with patches and source tree commits. I don't mind doing
the cd bit.

Alex

On Thu, 7 Apr 2022 at 21:56, Khem Raj  wrote:
>
> On Thu, Apr 7, 2022 at 1:00 PM Alexander Kanavin  
> wrote:
> >
> > Drop backports.
> >
> > Correctly set source and installation directories.
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  sh-do-not-write-original-timestamps.patch |  30 ++
> >  ...e-of-INSTALL_DIR-for-symlink-targets.patch |  34 --
> >  .../CVE-2021-41072-requisite-1.patch  | 135 ---
> >  .../CVE-2021-41072-requisite-2.patch  | 108 --
> >  .../CVE-2021-41072-requisite-3.patch  | 326 -
> >  .../squashfs-tools/CVE-2021-41072.patch   | 329 --
> >  .../squashfs-tools/squashfs-tools_git.bb  |  20 +-
> >  7 files changed, 39 insertions(+), 943 deletions(-)
> >  create mode 100644 
> > meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> >  delete mode 100644 
> > meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> >  delete mode 100644 
> > meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
> >  delete mode 100644 
> > meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-2.patch
> >  delete mode 100644 
> > meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-3.patch
> >  delete mode 100644 
> > meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072.patch
> >
> > diff --git 
> > a/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> >  
> > b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> > new file mode 100644
> > index 00..ed1d2f5b3b
> > --- /dev/null
> > +++ 
> > b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> > @@ -0,0 +1,30 @@
> > +From b44b00dae195d8587857c7e8054e9be4eaa1f8b3 Mon Sep 17 00:00:00 2001
> > +From: Alexander Kanavin 
> > +Date: Thu, 7 Apr 2022 09:26:09 +0200
> > +Subject: [PATCH] install-manpages.sh: do not write original timestamps into
> > + .gz metadata
> > +
> > +This helps binary reproducibility.
> > +
> > +Upstream-Status: Submitted 
> > [https://github.com/plougher/squashfs-tools/pull/177]
> > +Signed-off-by: Alexander Kanavin 
> > +---
> > + generate-manpages/install-manpages.sh | 2 +-
> > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > +
> > +diff --git a/generate-manpages/install-manpages.sh 
> > b/generate-manpages/install-manpages.sh
> > +index d4c9e91..6a43b89 100755
> > +--- a/generate-manpages/install-manpages.sh
> >  b/generate-manpages/install-manpages.sh
> > +@@ -56,7 +56,7 @@ for i in mksquashfs unsquashfs sqfstar sqfscat; do
> > +   exit 1
> > +   fi
> > +
> > +-  if ! gzip -f9 $2/$i.1; then
> > ++  if ! gzip -n -f9 $2/$i.1; then
> > +   echo "$0: Compressing installed manpage failed.  Aborting" 
> > >&2
> > +   exit 1
> > +   fi
> > +--
> > +2.30.2
> > +
> > diff --git 
> > a/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> >  
> > b/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> > deleted file mode 100644
> > index b505f05735..00
> > --- 
> > a/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> > +++ /dev/null
> > @@ -1,34 +0,0 @@
> > -From c9e263a7add76df1ed92e879d964264067c0f6e8 Mon Sep 17 00:00:00 2001
> > -From: Patrick McCarty 
> > -Date: Mon, 26 Jul 2021 11:38:43 -0700
> > -Subject: [PATCH] Avoid use of INSTALL_DIR for symlink targets
> > -
> > -In case INSTALL_DIR is overridden with a staged install location, using
> > -INSTALL_DIR for the symlink target path prefix will yield an incorrect 
> > location
> > -for the final installation.
> > -
> > -Because the symlink itself is already installed to INSTALL_DIR, simply 
> > removing
> > -the INSTALL_DIR prefix suffices as a fix.
> > -
> > -Note that using $DESTDIR/$INSTALL_DIR where appropriate can avoid this 
> > type of
> > -issue, but that can be considered a future enhancement.
> > -
> > -Upstream-Status: Backport
> > -Signed-off-by: Patrick McCarty 
> > -Signed-off-by: Alexander Kanavin 
> > 
> > - squashfs-tools/Makefile | 4 ++--
> > - 1 file changed, 2 insertions(+), 2 deletions(-)
> > -
> > -diff --git a/squashfs-tools/Makefile b/squashfs-tools/Makefile
> > -index 5795d0d..998c5fd 100755
> >  a/Makefile
> > -+++ b/Makefile
> > -@@ -406,5 +406,5 @@ install: mksquashfs unsquashfs
> > -   mkdir -p $(INSTALL_DIR)
> > -   cp mksquashfs $(INSTALL_DIR)

Re: [OE-core] [PATCH 17/17] python3-typing-extensions: upgrade 3.10.0.0 -> 4.1.1

2022-04-07 Thread Khem Raj
On Thu, Apr 7, 2022 at 3:45 PM Alexander Kanavin  wrote:
>
> On Thu, 7 Apr 2022 at 21:43, Khem Raj  wrote:
> > > -inherit pypi setuptools3
> > > +inherit pypi python_flit_core
> >
> > has this module made a move to use flit instead of setuptools ? if so,
> > perhaps adding that info in commit might be good.
>
> It has, yes. I thought such a change is self-documenting.
>

OK. sometimes there are two build systems in place for some transition time etc.
its good to mention these details for context.

> Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164140): 
https://lists.openembedded.org/g/openembedded-core/message/164140
Mute This Topic: https://lists.openembedded.org/mt/90317738/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 04/17] squashfs-tools: update 4.5 -> 4.5.1

2022-04-07 Thread Khem Raj
On Thu, Apr 7, 2022 at 1:00 PM Alexander Kanavin  wrote:
>
> Drop backports.
>
> Correctly set source and installation directories.
>
> Signed-off-by: Alexander Kanavin 
> ---
>  sh-do-not-write-original-timestamps.patch |  30 ++
>  ...e-of-INSTALL_DIR-for-symlink-targets.patch |  34 --
>  .../CVE-2021-41072-requisite-1.patch  | 135 ---
>  .../CVE-2021-41072-requisite-2.patch  | 108 --
>  .../CVE-2021-41072-requisite-3.patch  | 326 -
>  .../squashfs-tools/CVE-2021-41072.patch   | 329 --
>  .../squashfs-tools/squashfs-tools_git.bb  |  20 +-
>  7 files changed, 39 insertions(+), 943 deletions(-)
>  create mode 100644 
> meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
>  delete mode 100644 
> meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
>  delete mode 100644 
> meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
>  delete mode 100644 
> meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-2.patch
>  delete mode 100644 
> meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-3.patch
>  delete mode 100644 
> meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072.patch
>
> diff --git 
> a/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
>  
> b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> new file mode 100644
> index 00..ed1d2f5b3b
> --- /dev/null
> +++ 
> b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
> @@ -0,0 +1,30 @@
> +From b44b00dae195d8587857c7e8054e9be4eaa1f8b3 Mon Sep 17 00:00:00 2001
> +From: Alexander Kanavin 
> +Date: Thu, 7 Apr 2022 09:26:09 +0200
> +Subject: [PATCH] install-manpages.sh: do not write original timestamps into
> + .gz metadata
> +
> +This helps binary reproducibility.
> +
> +Upstream-Status: Submitted 
> [https://github.com/plougher/squashfs-tools/pull/177]
> +Signed-off-by: Alexander Kanavin 
> +---
> + generate-manpages/install-manpages.sh | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/generate-manpages/install-manpages.sh 
> b/generate-manpages/install-manpages.sh
> +index d4c9e91..6a43b89 100755
> +--- a/generate-manpages/install-manpages.sh
>  b/generate-manpages/install-manpages.sh
> +@@ -56,7 +56,7 @@ for i in mksquashfs unsquashfs sqfstar sqfscat; do
> +   exit 1
> +   fi
> +
> +-  if ! gzip -f9 $2/$i.1; then
> ++  if ! gzip -n -f9 $2/$i.1; then
> +   echo "$0: Compressing installed manpage failed.  Aborting" >&2
> +   exit 1
> +   fi
> +--
> +2.30.2
> +
> diff --git 
> a/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
>  
> b/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> deleted file mode 100644
> index b505f05735..00
> --- 
> a/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
> +++ /dev/null
> @@ -1,34 +0,0 @@
> -From c9e263a7add76df1ed92e879d964264067c0f6e8 Mon Sep 17 00:00:00 2001
> -From: Patrick McCarty 
> -Date: Mon, 26 Jul 2021 11:38:43 -0700
> -Subject: [PATCH] Avoid use of INSTALL_DIR for symlink targets
> -
> -In case INSTALL_DIR is overridden with a staged install location, using
> -INSTALL_DIR for the symlink target path prefix will yield an incorrect 
> location
> -for the final installation.
> -
> -Because the symlink itself is already installed to INSTALL_DIR, simply 
> removing
> -the INSTALL_DIR prefix suffices as a fix.
> -
> -Note that using $DESTDIR/$INSTALL_DIR where appropriate can avoid this type 
> of
> -issue, but that can be considered a future enhancement.
> -
> -Upstream-Status: Backport
> -Signed-off-by: Patrick McCarty 
> -Signed-off-by: Alexander Kanavin 
> 
> - squashfs-tools/Makefile | 4 ++--
> - 1 file changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/squashfs-tools/Makefile b/squashfs-tools/Makefile
> -index 5795d0d..998c5fd 100755
>  a/Makefile
> -+++ b/Makefile
> -@@ -406,5 +406,5 @@ install: mksquashfs unsquashfs
> -   mkdir -p $(INSTALL_DIR)
> -   cp mksquashfs $(INSTALL_DIR)
> -   cp unsquashfs $(INSTALL_DIR)
> --  ln -fs $(INSTALL_DIR)/unsquashfs $(INSTALL_DIR)/sqfscat
> --  ln -fs $(INSTALL_DIR)/mksquashfs $(INSTALL_DIR)/sqfstar
> -+  ln -fs unsquashfs $(INSTALL_DIR)/sqfscat
> -+  ln -fs mksquashfs $(INSTALL_DIR)/sqfstar
> diff --git 
> a/meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
>  
> b/meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
> deleted file mode 100644
> 

Re: [OE-core] [PATCH 15/17] libgcrypt: upgrade 1.9.4 -> 1.10.1

2022-04-07 Thread Alexander Kanavin
On Thu, 7 Apr 2022 at 21:46, Khem Raj  wrote:
>
> Using -pthread is preferred,to let compiler driver decide the order
> and other dependencies( if any) to be added
> dependending upon platform etc.

I added a chunk to the patch which was already using -lpthread - this
needs to be fixed separately.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164139): 
https://lists.openembedded.org/g/openembedded-core/message/164139
Mute This Topic: https://lists.openembedded.org/mt/90317736/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 15/17] libgcrypt: upgrade 1.9.4 -> 1.10.1

2022-04-07 Thread Khem Raj
On Thu, Apr 7, 2022 at 1:01 PM Alexander Kanavin  wrote:
>
> License-Update: formatting
>
> Add another chunk to pthread fixing patch.
>
> Signed-off-by: Alexander Kanavin 
> ---
>  ...0001-Makefile.am-add-a-missing-space.patch | 41 ---
>  ...m-fix-undefined-reference-to-pthread.patch | 19 ++---
>  ...libgcrypt_1.9.4.bb => libgcrypt_1.10.1.bb} |  5 +--
>  3 files changed, 16 insertions(+), 49 deletions(-)
>  delete mode 100644 
> meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
>  rename meta/recipes-support/libgcrypt/{libgcrypt_1.9.4.bb => 
> libgcrypt_1.10.1.bb} (90%)
>
> diff --git 
> a/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
>  
> b/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
> deleted file mode 100644
> index 62b7484e45..00
> --- 
> a/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
> +++ /dev/null
> @@ -1,41 +0,0 @@
> -From b8192ff67ed46ea2cc4282fa1856ce2868223737 Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin 
> -Date: Wed, 24 Feb 2021 19:43:07 +
> -Subject: [PATCH] Makefile.am: add a missing space
> -
> -Upstream-Status: Submitted [by email to 
> gni...@fsij.org,gcrypt-de...@gnupg.org]
> -Signed-off-by: Alexander Kanavin 
> 
> - cipher/Makefile.am | 2 +-
> - doc/Makefile.am| 2 +-
> - 2 files changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/cipher/Makefile.am b/cipher/Makefile.am
> -index 1cf5072..b3ca225 100644
>  a/cipher/Makefile.am
> -+++ b/cipher/Makefile.am
> -@@ -143,7 +143,7 @@ gost-sb.h: gost-s-box
> -
> - gost-s-box: gost-s-box.c
> -   $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
> --  $(CPPFLAGS_FOR_BUILD)-o $@ $(srcdir)/gost-s-box.c
> -+  $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/gost-s-box.c
> -
> -
> - if ENABLE_O_FLAG_MUNGING
> -diff --git a/doc/Makefile.am b/doc/Makefile.am
> -index fd7aac2..1703bd9 100644
>  a/doc/Makefile.am
> -+++ b/doc/Makefile.am
> -@@ -43,7 +43,7 @@ man_MANS = $(myman_pages)
> -
> - yat2m: yat2m.c
> -   $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
> --  $(CPPFLAGS_FOR_BUILD)-o $@ $(srcdir)/yat2m.c
> -+  $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
> -
> - .fig.png:
> -   fig2dev -L png `test -f '$<' || echo '$(srcdir)/'`$< $@
> ---
> -2.17.1
> -
> diff --git 
> a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
>  
> b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
> index 5bf0c7f8a3..4233fa7877 100644
> --- 
> a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
> +++ 
> b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
> @@ -1,4 +1,4 @@
> -From cb06d218ee36e303a64f27c690f30040d5d87960 Mon Sep 17 00:00:00 2001
> +From 9182bc2dc676858a823c477d8f45a578b8c4f69f Mon Sep 17 00:00:00 2001
>  From: Hongxu Jia 
>  Date: Sun, 12 Jun 2016 04:44:29 -0400
>  Subject: [PATCH] tests/Makefile.am: fix undefined reference to
> @@ -11,14 +11,14 @@ Upstream-Status: Pending
>  Signed-off-by: Hongxu Jia 
>
>  ---
> - tests/Makefile.am | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> + tests/Makefile.am | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
>
>  diff --git a/tests/Makefile.am b/tests/Makefile.am
> -index ab201f0..1cf82d0 100644
> +index e6953fd..f47e1d3 100644
>  --- a/tests/Makefile.am
>  +++ b/tests/Makefile.am
> -@@ -75,7 +75,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) 
> @LDADD_FOR_TESTS_KLUDGE@
> +@@ -76,7 +76,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) 
> @LDADD_FOR_TESTS_KLUDGE@
>   t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
>   testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
>   t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) 
> @LDADD_FOR_TESTS_KLUDGE@
> @@ -27,3 +27,12 @@ index ab201f0..1cf82d0 100644
>   testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE)
>
>   # Build a version of the test driver for the build platform.
> +@@ -95,7 +95,7 @@ else
> + xtestsuite_libs = ../src/.libs/libgcrypt.so*
> + xtestsuite_driver = testdrv
> + t_kdf_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) 
> @LDADD_FOR_TESTS_KLUDGE@
> +-t_kdf_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
> ++t_kdf_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread

Using -pthread is preferred,to let compiler driver decide the order
and other dependencies( if any) to be added
dependending upon platform etc.

> + endif
> +
> + # xcheck uses our new testdrv instead of the automake test runner.
> diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.9.4.bb 
> b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb
> similarity index 90%
> rename from meta/recipes-support/libgcrypt/libgcrypt_1.9.4.bb
> rename to meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb
> index 866f3932f6..251e0d0348 100644
> --- 

Re: [OE-core] [PATCH 17/17] python3-typing-extensions: upgrade 3.10.0.0 -> 4.1.1

2022-04-07 Thread Alexander Kanavin
On Thu, 7 Apr 2022 at 21:43, Khem Raj  wrote:
> > -inherit pypi setuptools3
> > +inherit pypi python_flit_core
>
> has this module made a move to use flit instead of setuptools ? if so,
> perhaps adding that info in commit might be good.

It has, yes. I thought such a change is self-documenting.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164136): 
https://lists.openembedded.org/g/openembedded-core/message/164136
Mute This Topic: https://lists.openembedded.org/mt/90317738/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 17/17] python3-typing-extensions: upgrade 3.10.0.0 -> 4.1.1

2022-04-07 Thread Khem Raj
On Thu, Apr 7, 2022 at 1:01 PM Alexander Kanavin  wrote:
>
> Signed-off-by: Alexander Kanavin 
> ---
>  ...ensions_3.10.0.0.bb => python3-typing-extensions_4.1.1.bb} | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta/recipes-devtools/python/{python3-typing-extensions_3.10.0.0.bb 
> => python3-typing-extensions_4.1.1.bb} (73%)
>
> diff --git 
> a/meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb 
> b/meta/recipes-devtools/python/python3-typing-extensions_4.1.1.bb
> similarity index 73%
> rename from meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb
> rename to meta/recipes-devtools/python/python3-typing-extensions_4.1.1.bb
> index a8e83fc824..6c80a8b237 100644
> --- a/meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb
> +++ b/meta/recipes-devtools/python/python3-typing-extensions_4.1.1.bb
> @@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = 
> "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f"
>  # The name on PyPi is slightly different.
>  PYPI_PACKAGE = "typing_extensions"
>
> -SRC_URI[sha256sum] = 
> "50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342"
> +SRC_URI[sha256sum] = 
> "1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42"
>
> -inherit pypi setuptools3
> +inherit pypi python_flit_core

has this module made a move to use flit instead of setuptools ? if so,
perhaps adding that info in commit might be good.

>
>  BBCLASSEXTEND = "native nativesdk"
>
> --
> 2.30.2
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164135): 
https://lists.openembedded.org/g/openembedded-core/message/164135
Mute This Topic: https://lists.openembedded.org/mt/90317738/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [dunfell][PATCH] vim: Upgrade 8.2.4524 -> 8.2.4681

2022-04-07 Thread Steve Sakoman
On Thu, Apr 7, 2022 at 6:52 AM Ralph Siemsen  wrote:
>
> Sorry, please ignore this patch... it is already queued in
> stable/dunfell-nut branch.

No problem, I noticed :-)

Steve

> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164134): 
https://lists.openembedded.org/g/openembedded-core/message/164134
Mute This Topic: https://lists.openembedded.org/mt/90314181/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 17/17] python3-typing-extensions: upgrade 3.10.0.0 -> 4.1.1

2022-04-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...ensions_3.10.0.0.bb => python3-typing-extensions_4.1.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-typing-extensions_3.10.0.0.bb => 
python3-typing-extensions_4.1.1.bb} (73%)

diff --git a/meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb 
b/meta/recipes-devtools/python/python3-typing-extensions_4.1.1.bb
similarity index 73%
rename from meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb
rename to meta/recipes-devtools/python/python3-typing-extensions_4.1.1.bb
index a8e83fc824..6c80a8b237 100644
--- a/meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb
+++ b/meta/recipes-devtools/python/python3-typing-extensions_4.1.1.bb
@@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f"
 # The name on PyPi is slightly different.
 PYPI_PACKAGE = "typing_extensions"
 
-SRC_URI[sha256sum] = 
"50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342"
+SRC_URI[sha256sum] = 
"1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42"
 
-inherit pypi setuptools3
+inherit pypi python_flit_core
 
 BBCLASSEXTEND = "native nativesdk"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164133): 
https://lists.openembedded.org/g/openembedded-core/message/164133
Mute This Topic: https://lists.openembedded.org/mt/90317738/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 16/17] librsvg: upgrade 2.52.7 -> 2.54.0

2022-04-07 Thread Alexander Kanavin
Upstream has replaced gtk-doc with gi-docgen however it is not possible to
configure. So it's disabled until the merge request to do so lands:
https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/687

Signed-off-by: Alexander Kanavin 
---
 .../librsvg/librsvg/0001-Disable-docs.patch   | 24 +++
 .../{librsvg_2.52.7.bb => librsvg_2.54.0.bb}  |  9 ---
 2 files changed, 30 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-gnome/librsvg/librsvg/0001-Disable-docs.patch
 rename meta/recipes-gnome/librsvg/{librsvg_2.52.7.bb => librsvg_2.54.0.bb} 
(85%)

diff --git a/meta/recipes-gnome/librsvg/librsvg/0001-Disable-docs.patch 
b/meta/recipes-gnome/librsvg/librsvg/0001-Disable-docs.patch
new file mode 100644
index 00..13d25d4f08
--- /dev/null
+++ b/meta/recipes-gnome/librsvg/librsvg/0001-Disable-docs.patch
@@ -0,0 +1,24 @@
+From e62887dfa36812d5b8bc1c2c2fec69ba985309d8 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Tue, 5 Apr 2022 09:21:14 +0200
+Subject: [PATCH] Disable docs
+
+Upstream has replaced gtk-doc with rst2man and gi-docgen in a way
+that is not possible to disable and requires g-i. There's a
+pull request to address this, until then let's patch it out:
+https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/687
+
+Upstream-Status: Inappropriate [see above]
+Signed-off-by: Alexander Kanavin 
+---
+
+diff --git a/Makefile.am b/Makefile.am
+index e380bc9..5b3fbb5 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = . gdk-pixbuf-loader tests doc win32
++SUBDIRS = . gdk-pixbuf-loader tests win32
+ 
+ NULL =
+ 
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.52.7.bb 
b/meta/recipes-gnome/librsvg/librsvg_2.54.0.bb
similarity index 85%
rename from meta/recipes-gnome/librsvg/librsvg_2.52.7.bb
rename to meta/recipes-gnome/librsvg/librsvg_2.54.0.bb
index 78eb93c635..96c54f16d6 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.52.7.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.54.0.bb
@@ -11,16 +11,19 @@ LIC_FILES_CHKSUM = 
"file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
"
 
 SECTION = "x11/utils"
-DEPENDS = "cairo gdk-pixbuf glib-2.0 libcroco libxml2 pango"
+# Note: docutils/gi-docgen should be made optional when upstream enables that
+# https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/687
+DEPENDS = "cairo gdk-pixbuf glib-2.0 libcroco libxml2 pango 
python3-docutils-native gi-docgen-native"
 BBCLASSEXTEND = "native nativesdk"
 
-inherit gnomebase gtk-doc pixbufcache upstream-version-is-even 
gobject-introspection rust vala
+inherit gnomebase pixbufcache upstream-version-is-even gobject-introspection 
rust vala
 
 SRC_URI += 
"file://0001-Makefile.am-pass-rust-target-to-cargo-also-when-not-.patch \

file://0001-system-deps-src-lib.rs-do-not-probe-into-harcoded-li.patch \
+   file://0001-Disable-docs.patch \
"
 
-SRC_URI[archive.sha256sum] = 
"057c1eeeaf85c84e254bdb707459207f5840da5b4d52b4711c03140ed09e6887"
+SRC_URI[archive.sha256sum] = 
"baf8ebc147f146b4261bb3d0cd0fac944bf8dbb4b1f2347d23341f974dcc3085"
 
 # librsvg is still autotools-based, but is calling cargo from its 
automake-driven makefiles
 # so we cannot use cargo class directly, but still need bits and pieces from 
it 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164132): 
https://lists.openembedded.org/g/openembedded-core/message/164132
Mute This Topic: https://lists.openembedded.org/mt/90317737/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 14/17] gdk-pixbuf: upgrade 2.42.6 -> 2.42.8

2022-04-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{gdk-pixbuf_2.42.6.bb => gdk-pixbuf_2.42.8.bb}| 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-gnome/gdk-pixbuf/{gdk-pixbuf_2.42.6.bb => 
gdk-pixbuf_2.42.8.bb} (94%)

diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.8.bb
similarity index 94%
rename from meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb
rename to meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.8.bb
index 55c16e4d66..fb6829a7d1 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.8.bb
@@ -23,7 +23,7 @@ SRC_URI = 
"${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
file://0001-Add-use_prebuilt_tools-option.patch \
"
 
-SRC_URI[sha256sum] = 
"c4a6b75b7ed8f58ca48da830b9fa00ed96d668d3ab4b1f723dcf902f78bde77f"
+SRC_URI[sha256sum] = 
"84acea3acb2411b29134b32015a5b1aaa62844b19c4b1ef8b8971c6b0759f4c6"
 
 inherit meson pkgconfig gettext pixbufcache ptest-gnome 
upstream-version-is-even gobject-introspection gi-docgen lib_package
 
@@ -39,9 +39,9 @@ PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \
  ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
 PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}"
 
-PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng"
-PACKAGECONFIG[jpeg] = "-Djpeg=true,-Djpeg=false,jpeg"
-PACKAGECONFIG[tiff] = "-Dtiff=true,-Dtiff=false,tiff"
+PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
+PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
+PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff"
 PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false"
 
 EXTRA_OEMESON:class-target = " \
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164130): 
https://lists.openembedded.org/g/openembedded-core/message/164130
Mute This Topic: https://lists.openembedded.org/mt/90317735/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 15/17] libgcrypt: upgrade 1.9.4 -> 1.10.1

2022-04-07 Thread Alexander Kanavin
License-Update: formatting

Add another chunk to pthread fixing patch.

Signed-off-by: Alexander Kanavin 
---
 ...0001-Makefile.am-add-a-missing-space.patch | 41 ---
 ...m-fix-undefined-reference-to-pthread.patch | 19 ++---
 ...libgcrypt_1.9.4.bb => libgcrypt_1.10.1.bb} |  5 +--
 3 files changed, 16 insertions(+), 49 deletions(-)
 delete mode 100644 
meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
 rename meta/recipes-support/libgcrypt/{libgcrypt_1.9.4.bb => 
libgcrypt_1.10.1.bb} (90%)

diff --git 
a/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
 
b/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
deleted file mode 100644
index 62b7484e45..00
--- 
a/meta/recipes-support/libgcrypt/files/0001-Makefile.am-add-a-missing-space.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From b8192ff67ed46ea2cc4282fa1856ce2868223737 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Wed, 24 Feb 2021 19:43:07 +
-Subject: [PATCH] Makefile.am: add a missing space
-
-Upstream-Status: Submitted [by email to gni...@fsij.org,gcrypt-de...@gnupg.org]
-Signed-off-by: Alexander Kanavin 

- cipher/Makefile.am | 2 +-
- doc/Makefile.am| 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/cipher/Makefile.am b/cipher/Makefile.am
-index 1cf5072..b3ca225 100644
 a/cipher/Makefile.am
-+++ b/cipher/Makefile.am
-@@ -143,7 +143,7 @@ gost-sb.h: gost-s-box
- 
- gost-s-box: gost-s-box.c
-   $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
--  $(CPPFLAGS_FOR_BUILD)-o $@ $(srcdir)/gost-s-box.c
-+  $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/gost-s-box.c
- 
- 
- if ENABLE_O_FLAG_MUNGING
-diff --git a/doc/Makefile.am b/doc/Makefile.am
-index fd7aac2..1703bd9 100644
 a/doc/Makefile.am
-+++ b/doc/Makefile.am
-@@ -43,7 +43,7 @@ man_MANS = $(myman_pages)
- 
- yat2m: yat2m.c
-   $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
--  $(CPPFLAGS_FOR_BUILD)-o $@ $(srcdir)/yat2m.c
-+  $(CPPFLAGS_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
- 
- .fig.png:
-   fig2dev -L png `test -f '$<' || echo '$(srcdir)/'`$< $@
--- 
-2.17.1
-
diff --git 
a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
 
b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
index 5bf0c7f8a3..4233fa7877 100644
--- 
a/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
+++ 
b/meta/recipes-support/libgcrypt/files/0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
@@ -1,4 +1,4 @@
-From cb06d218ee36e303a64f27c690f30040d5d87960 Mon Sep 17 00:00:00 2001
+From 9182bc2dc676858a823c477d8f45a578b8c4f69f Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Sun, 12 Jun 2016 04:44:29 -0400
 Subject: [PATCH] tests/Makefile.am: fix undefined reference to
@@ -11,14 +11,14 @@ Upstream-Status: Pending
 Signed-off-by: Hongxu Jia 
 
 ---
- tests/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ tests/Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/tests/Makefile.am b/tests/Makefile.am
-index ab201f0..1cf82d0 100644
+index e6953fd..f47e1d3 100644
 --- a/tests/Makefile.am
 +++ b/tests/Makefile.am
-@@ -75,7 +75,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
+@@ -76,7 +76,7 @@ t_mpi_bit_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
  t_secmem_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
  testapi_LDADD = $(standard_ldadd) @LDADD_FOR_TESTS_KLUDGE@
  t_lock_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@
@@ -27,3 +27,12 @@ index ab201f0..1cf82d0 100644
  testdrv_LDADD = $(LDADD_FOR_TESTS_KLUDGE)
  
  # Build a version of the test driver for the build platform.
+@@ -95,7 +95,7 @@ else
+ xtestsuite_libs = ../src/.libs/libgcrypt.so*
+ xtestsuite_driver = testdrv
+ t_kdf_LDADD = $(standard_ldadd) $(GPG_ERROR_MT_LIBS) @LDADD_FOR_TESTS_KLUDGE@
+-t_kdf_CFLAGS = $(GPG_ERROR_MT_CFLAGS)
++t_kdf_CFLAGS = $(GPG_ERROR_MT_CFLAGS) -lpthread
+ endif
+ 
+ # xcheck uses our new testdrv instead of the automake test runner.
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.9.4.bb 
b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb
similarity index 90%
rename from meta/recipes-support/libgcrypt/libgcrypt_1.9.4.bb
rename to meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb
index 866f3932f6..251e0d0348 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt_1.9.4.bb
+++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb
@@ -14,7 +14,7 @@ LICENSE:dumpsexp-dev = "GPL-3.0-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \
-file://LICENSES;md5=42fa35a25e138166cc40588387f9159d \
+

[OE-core] [PATCH 12/17] cmake: update 3.22.3 -> 3.23.0

2022-04-07 Thread Alexander Kanavin
License-Update: copyright years, contributors.

Signed-off-by: Alexander Kanavin 
---
 .../cmake/{cmake-native_3.22.3.bb => cmake-native_3.23.0.bb}  | 0
 meta/recipes-devtools/cmake/cmake.inc | 4 ++--
 .../cmake/{cmake_3.22.3.bb => cmake_3.23.0.bb}| 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/cmake/{cmake-native_3.22.3.bb => 
cmake-native_3.23.0.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_3.22.3.bb => cmake_3.23.0.bb} (100%)

diff --git a/meta/recipes-devtools/cmake/cmake-native_3.22.3.bb 
b/meta/recipes-devtools/cmake/cmake-native_3.23.0.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake-native_3.22.3.bb
rename to meta/recipes-devtools/cmake/cmake-native_3.23.0.bb
diff --git a/meta/recipes-devtools/cmake/cmake.inc 
b/meta/recipes-devtools/cmake/cmake.inc
index d500321138..6f6fa61cdb 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -10,7 +10,7 @@ HOMEPAGE = "http://www.cmake.org/;
 BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php;
 SECTION = "console/utils"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://Copyright.txt;md5=31023e1d3f51ca90a58f55bcee8e2339 \
+LIC_FILES_CHKSUM = "file://Copyright.txt;md5=f2102a52df7aa592cf072180e7ebc8c7 \
 
file://Source/cmake.h;beginline=1;endline=2;md5=a5f70e1fef8614734eae0d62b4f5891b
 \
 "
 
@@ -21,7 +21,7 @@ SRC_URI = 
"https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch 
\
 "
 
-SRC_URI[sha256sum] = 
"9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0"
+SRC_URI[sha256sum] = 
"5ab0a12f702f44013be7e19534cd9094d65cc9fe7b2cd0f8c9e5318e0fe4ac82"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/cmake/cmake_3.22.3.bb 
b/meta/recipes-devtools/cmake/cmake_3.23.0.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake_3.22.3.bb
rename to meta/recipes-devtools/cmake/cmake_3.23.0.bb
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164128): 
https://lists.openembedded.org/g/openembedded-core/message/164128
Mute This Topic: https://lists.openembedded.org/mt/90317733/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 13/17] epiphany: upgrade 41.3 -> 42.0

2022-04-07 Thread Alexander Kanavin
The new version uses printenv from coreutils during builds.

Signed-off-by: Alexander Kanavin 
---
 .../{epiphany_41.3.bb => epiphany_42.0.bb}|  4 +--
 ...5f7bab38301d8a4a444173acdae8d9692146.patch | 35 ---
 2 files changed, 2 insertions(+), 37 deletions(-)
 rename meta/recipes-gnome/epiphany/{epiphany_41.3.bb => epiphany_42.0.bb} (90%)
 delete mode 100644 
meta/recipes-gnome/epiphany/files/bfbb5f7bab38301d8a4a444173acdae8d9692146.patch

diff --git a/meta/recipes-gnome/epiphany/epiphany_41.3.bb 
b/meta/recipes-gnome/epiphany/epiphany_42.0.bb
similarity index 90%
rename from meta/recipes-gnome/epiphany/epiphany_41.3.bb
rename to meta/recipes-gnome/epiphany/epiphany_42.0.bb
index 6dca6a7305..1cf731c7d6 100644
--- a/meta/recipes-gnome/epiphany/epiphany_41.3.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_42.0.bb
@@ -16,6 +16,7 @@ DEPENDS = " \
   libdazzle \
   libhandy \
   glib-2.0-native \
+  coreutils-native \
   "
 
 GNOMEBASEBUILDCLASS = "meson"
@@ -24,11 +25,10 @@ REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@oe.utils.trim_version("${PV}", 
1)}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
file://0002-help-meson.build-disable-the-use-of-yelp.patch \
-   file://bfbb5f7bab38301d8a4a444173acdae8d9692146.patch \
file://migrator.patch \
file://distributor.patch \
"
-SRC_URI[archive.sha256sum] = 
"ba01268ee54f318dfdac2e01eba38a3fc96940c1cbf640ed2613ae29f8bcb9ad"
+SRC_URI[archive.sha256sum] = 
"3dbfa8c00e45b7f44e1824d01f0febe83707b5fb9330c261173f68b7f03cd5e3"
 
 PACKAGECONFIG_SOUP ?= "soup2"
 PACKAGECONFIG ??= "${PACKAGECONFIG_SOUP}"
diff --git 
a/meta/recipes-gnome/epiphany/files/bfbb5f7bab38301d8a4a444173acdae8d9692146.patch
 
b/meta/recipes-gnome/epiphany/files/bfbb5f7bab38301d8a4a444173acdae8d9692146.patch
deleted file mode 100644
index f20975c3bd..00
--- 
a/meta/recipes-gnome/epiphany/files/bfbb5f7bab38301d8a4a444173acdae8d9692146.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From bfbb5f7bab38301d8a4a444173acdae8d9692146 Mon Sep 17 00:00:00 2001
-From: rvalue 
-Date: Wed, 24 Nov 2021 04:52:42 +
-Subject: [PATCH] Remove incorrect args for i18n.merge_file
-
-Part-of: 
-Upstream-Status: Backport
-Signed-off-by: Alexander Kanavin 

- data/meson.build | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/data/meson.build b/data/meson.build
-index 46df3fd80..eac6b8224 100644
 a/data/meson.build
-+++ b/data/meson.build
-@@ -16,7 +16,6 @@ install_data(
- desktop_conf = configuration_data()
- desktop_conf.set('icon', application_id)
- desktop = i18n.merge_file(
--  'desktop',
-   input: configure_file(
- input: files('org.gnome.Epiphany.desktop.in.in'),
- output: 'org.gnome.Epiphany.desktop.in',
-@@ -32,7 +31,6 @@ desktop = i18n.merge_file(
- appdata_conf = configuration_data()
- appdata_conf.set('appid', application_id)
- appdata = i18n.merge_file(
--  'appdata',
-   input: configure_file(
- input: files('org.gnome.Epiphany.appdata.xml.in.in'),
- output: 'org.gnome.Epiphany.appdata.xml.in',
--- 
-GitLab
-
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164129): 
https://lists.openembedded.org/g/openembedded-core/message/164129
Mute This Topic: https://lists.openembedded.org/mt/90317734/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 11/17] webkitgtk: update 2.34.6 -> 2.36.0

2022-04-07 Thread Alexander Kanavin
Drop patches:
0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
(both merged upstream)

reduce-memory-overheads.patch
(rejected by upstream, there's no use case - see the discussion)

Rebase to version submitted upstream:
0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch

Add:
0001-When-building-introspection-files-do-not-quote-CFLAG.patch

angle is no longer needed for x11-less setups.

Signed-off-by: Alexander Kanavin 
---
 ...spection.cmake-prefix-variables-obta.patch | 38 +
 ...cy-parallel-build-of-WebKit2-4.0.gir.patch | 46 ---
 ...trospection-files-add-CMAKE_C_FLAGS-.patch | 52 -
 ...trospection-files-do-not-quote-CFLAG.patch | 78 +++
 .../webkitgtk/reduce-memory-overheads.patch   | 28 ---
 ...ebkitgtk_2.34.6.bb => webkitgtk_2.36.0.bb} |  9 +--
 6 files changed, 105 insertions(+), 146 deletions(-)
 delete mode 100644 
meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
 delete mode 100644 
meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
 create mode 100644 
meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-do-not-quote-CFLAG.patch
 delete mode 100644 
meta/recipes-sato/webkit/webkitgtk/reduce-memory-overheads.patch
 rename meta/recipes-sato/webkit/{webkitgtk_2.34.6.bb => webkitgtk_2.36.0.bb} 
(95%)

diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
 
b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
index 54d34b1c69..bccf74d9c9 100644
--- 
a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
+++ 
b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
@@ -1,4 +1,4 @@
-From 317a5ac120c44987219bc03486cd2f2d1842c9b9 Mon Sep 17 00:00:00 2001
+From e0bf97eecfa601e08b9578f00b1000890284241a Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Tue, 27 Oct 2015 16:02:19 +0200
 Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
@@ -6,22 +6,30 @@ Subject: [PATCH] FindGObjectIntrospection.cmake: prefix 
variables obtained
 
 Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232933]
 Signed-off-by: Alexander Kanavin 
+
 ---
- Source/cmake/FindGObjectIntrospection.cmake | 1 +
- 1 file changed, 1 insertion(+)
+ Source/cmake/FindGObjectIntrospection.cmake | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
 
 diff --git a/Source/cmake/FindGObjectIntrospection.cmake 
b/Source/cmake/FindGObjectIntrospection.cmake
-index e1f49b4..03a4446 100644
+index be96814a..ae67b593 100644
 --- a/Source/cmake/FindGObjectIntrospection.cmake
 +++ b/Source/cmake/FindGObjectIntrospection.cmake
-@@ -26,6 +26,7 @@ macro(_GIR_GET_PKGCONFIG_VAR _outvar _varname _extra_args)
- else ()
- string(REGEX REPLACE "[\r\n]" " " _result "${_result}")
- string(REGEX REPLACE " +$" ""  _result "${_result}")
-+string(CONCAT _result $ENV{PKG_CONFIG_SYSROOT_DIR} "${_result}")
- separate_arguments(_result)
- set(${_outvar} ${_result} CACHE INTERNAL "")
- endif ()
--- 
-2.1.4
-
+@@ -16,7 +16,6 @@
+ # Redistribution and use is allowed according to the terms of the BSD license.
+ 
+ 
+-
+ find_package(PkgConfig QUIET)
+ if (PKG_CONFIG_FOUND)
+ if (PACKAGE_FIND_VERSION_COUNT GREATER 0)
+@@ -30,6 +29,9 @@ if (PKG_CONFIG_FOUND)
+ pkg_get_variable(INTROSPECTION_GENERATE gobject-introspection-1.0 
g_ir_generate)
+ pkg_get_variable(INTROSPECTION_GIRDIR gobject-introspection-1.0 
girdir)
+ pkg_get_variable(INTROSPECTION_TYPELIBDIR gobject-introspection-1.0 
typelibdir)
++set(INTROSPECTION_SCANNER 
"$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_SCANNER}")
++set(INTROSPECTION_COMPILER 
"$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_COMPILER}")
++set(INTROSPECTION_GENERATE 
"$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_GENERATE}")
+ set(INTROSPECTION_VERSION "${_pc_gir_VERSION}")
+ if (${INTROSPECTION_VERSION} VERSION_GREATER_EQUAL "1.59.1")
+ set(INTROSPECTION_HAVE_SOURCES_TOP_DIRS YES)
diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
 
b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
deleted file mode 100644
index e06607ba2b..00
--- 
a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 471071e29deb8b245b88c81577fd5bac4e5e Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Mon, 29 Aug 2016 16:38:11 +0300
-Subject: [PATCH] Fix racy parallel build of WebKit2-4.0.gir
-
-Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232935]
-Signed-off-by: Alexander 

[OE-core] [PATCH 10/17] at-spi2-core: update 2.42.0 -> 2.44.0

2022-04-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0001-Ensure-x11_dep-is-defined.patch  | 33 ---
 ...-core_2.42.0.bb => at-spi2-core_2.44.0.bb} |  6 +--
 ...6a4c4491eea57d7b713bb4440f541584204b.patch | 40 +++
 3 files changed, 43 insertions(+), 36 deletions(-)
 delete mode 100644 
meta/recipes-support/atk/at-spi2-core/0001-Ensure-x11_dep-is-defined.patch
 rename meta/recipes-support/atk/{at-spi2-core_2.42.0.bb => 
at-spi2-core_2.44.0.bb} (89%)
 create mode 100644 
meta/recipes-support/atk/files/08036a4c4491eea57d7b713bb4440f541584204b.patch

diff --git 
a/meta/recipes-support/atk/at-spi2-core/0001-Ensure-x11_dep-is-defined.patch 
b/meta/recipes-support/atk/at-spi2-core/0001-Ensure-x11_dep-is-defined.patch
deleted file mode 100644
index 4a9bbbcbb1..00
--- a/meta/recipes-support/atk/at-spi2-core/0001-Ensure-x11_dep-is-defined.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 9e726133319298a835f724904c80e5adf78f475f Mon Sep 17 00:00:00 2001
-From: Tim Orling 
-Date: Fri, 15 Oct 2021 18:00:04 +
-Subject: [PATCH] Ensure x11_dep is defined
-
-bus/meson.build checks if x11_dep.found(), but this fails when
--Dx11=no
-
-Upstream-Status: Submitted
-[https://gitlab.gnome.org/GNOME/at-spi2-core/-/merge_requests/60]
-
-References:
-  https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/42
-  https://mesonbuild.com/howtox.html#get-a-default-notfound-dependency
-
-Signed-off-by: Tim Orling 

- meson.build | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index b5104c8..85d7a0e 100644
 a/meson.build
-+++ b/meson.build
-@@ -62,6 +62,8 @@ endif
- 
- x11_deps = []
- x11_option = get_option('x11')
-+# ensure x11_dep is defined for use in bus/meson.build
-+x11_dep = dependency('', required: false)
- if x11_option != 'no'
-   x11_dep = dependency('x11', required: false)
- 
diff --git a/meta/recipes-support/atk/at-spi2-core_2.42.0.bb 
b/meta/recipes-support/atk/at-spi2-core_2.44.0.bb
similarity index 89%
rename from meta/recipes-support/atk/at-spi2-core_2.42.0.bb
rename to meta/recipes-support/atk/at-spi2-core_2.44.0.bb
index 9ca969cbb8..e276eb7b8e 100644
--- a/meta/recipes-support/atk/at-spi2-core_2.42.0.bb
+++ b/meta/recipes-support/atk/at-spi2-core_2.44.0.bb
@@ -10,10 +10,10 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
-   file://0001-Ensure-x11_dep-is-defined.patch \
-   "
+   file://08036a4c4491eea57d7b713bb4440f541584204b.patch \
+  "
 
-SRC_URI[sha256sum] = 
"4b5da10e94fa3c6195f95222438f63a0234b99ef9df772c7640e82baeaa6e386"
+SRC_URI[sha256sum] = 
"7eee3cf285b089060fd6b6e51b3eb2cacf752cca3a082c7f4c2c5ab841e51353"
 
 X11DEPENDS = "virtual/libx11 libxi libxtst"
 
diff --git 
a/meta/recipes-support/atk/files/08036a4c4491eea57d7b713bb4440f541584204b.patch 
b/meta/recipes-support/atk/files/08036a4c4491eea57d7b713bb4440f541584204b.patch
new file mode 100644
index 00..0f002256c9
--- /dev/null
+++ 
b/meta/recipes-support/atk/files/08036a4c4491eea57d7b713bb4440f541584204b.patch
@@ -0,0 +1,40 @@
+From 08036a4c4491eea57d7b713bb4440f541584204b Mon Sep 17 00:00:00 2001
+From: Mike Gorse 
+Date: Mon, 21 Mar 2022 10:19:03 -0500
+Subject: [PATCH] Fix build with X11 disabled
+
+Closes #51
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin 
+---
+ registryd/deviceeventcontroller.c | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/registryd/deviceeventcontroller.c 
b/registryd/deviceeventcontroller.c
+index 8a321adc..3068ec4b 100644
+--- a/registryd/deviceeventcontroller.c
 b/registryd/deviceeventcontroller.c
+@@ -1720,16 +1720,16 @@ spi_dec_synth_keysym (SpiDEController *controller, 
long keysym)
+   if (synth_mods != modifiers) {
+   lock_mods = synth_mods & ~modifiers;
+   spi_dec_plat_lock_modifiers (controller, lock_mods);
+-  if (modifiers & LockMask)
+-  spi_dec_plat_unlock_modifiers (controller, LockMask);
++  if (modifiers & SPI_KEYMASK_SHIFTLOCK)
++  spi_dec_plat_unlock_modifiers (controller, 
SPI_KEYMASK_SHIFTLOCK);
+   }
+   spi_dec_plat_synth_keycode_press (controller, key_synth_code);
+   spi_dec_plat_synth_keycode_release (controller, key_synth_code);
+ 
+   if (synth_mods != modifiers) {
+   spi_dec_plat_unlock_modifiers (controller, lock_mods);
+-  if (modifiers & LockMask)
+-  spi_dec_plat_lock_modifiers (controller, LockMask);
++  if (modifiers & SPI_KEYMASK_SHIFTLOCK)
++  spi_dec_plat_lock_modifiers (controller, 
SPI_KEYMASK_SHIFTLOCK);
+   }
+   return TRUE;
+ }
+-- 
+GitLab
+
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164126): 

[OE-core] [PATCH 09/17] libsndfile1: update 1.0.31 -> 1.1.0

2022-04-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libsndfile/libsndfile1/noopus.patch   | 39 ---
 ...ndfile1_1.0.31.bb => libsndfile1_1.1.0.bb} |  5 +--
 2 files changed, 28 insertions(+), 16 deletions(-)
 rename meta/recipes-multimedia/libsndfile/{libsndfile1_1.0.31.bb => 
libsndfile1_1.1.0.bb} (85%)

diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch 
b/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch
index 6bcb932429..cb1778bede 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch
@@ -1,19 +1,29 @@
-We don't have opus in OE-Core which causes all the external libs to be 
disabled 
+From 593256a3e386a4e17fe26cfbfb813cf4996447d7 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 4 Apr 2022 19:46:44 +0200
+Subject: [PATCH] Disable opus library
+
+We don't have opus in OE-Core which causes all the external libs to be disabled
 silently. The silent issue is discussed in the link below and hints a patch
 to make things configurable may be accepted.
 
 This patch removing the opus piece at least gets most of the functionality
 we previously used back whilst the issue is discussed.
 
-Upstream-Status: Pending [https://github.com/libsndfile/libsndfile/pull/812]
+Upstream-Status: Denied [https://github.com/libsndfile/libsndfile/pull/812]
 
 Signed-off-by: Richard Purdie 
+Signed-off-by: Alexander Kanavin 
+---
+ configure.ac   | 10 +-
+ src/ogg_opus.c |  2 +-
+ 2 files changed, 6 insertions(+), 6 deletions(-)
 
-Index: libsndfile-1.0.31/configure.ac
-===
 libsndfile-1.0.31.orig/configure.ac
-+++ libsndfile-1.0.31/configure.ac
-@@ -361,13 +361,13 @@ AS_IF([test -n "$PKG_CONFIG"], [
+diff --git a/configure.ac b/configure.ac
+index 727b67bc..f9d2e447 100644
+--- a/configure.ac
 b/configure.ac
+@@ -373,13 +373,13 @@ AS_IF([test -n "$PKG_CONFIG"], [
enable_external_libs=yes
])
  
@@ -31,19 +41,19 @@ Index: libsndfile-1.0.31/configure.ac
  
if test x$ac_cv_speex = "xyes" ; then

EXTERNAL_XIPH_REQUIRE="$EXTERNAL_XIPH_REQUIRE speex"
-@@ -716,7 +716,7 @@ AC_MSG_RESULT([
+@@ -788,7 +788,7 @@ AC_MSG_RESULT([
  
  Experimental code : ... ${enable_experimental:-no}
  Using ALSA in example programs : .. ${enable_alsa:-no}
 -External FLAC/Ogg/Vorbis/Opus : ... ${enable_external_libs:-no}
 +External FLAC/Ogg/Vorbis : ... ${enable_external_libs:-no}
+ External MPEG Lame/MPG123 : ... ${enable_mpeg:-no}
  Building Octave interface : ... ${OCTAVE_BUILD}
  
-   Tools :
-Index: libsndfile-1.0.31/src/ogg_opus.c
-===
 libsndfile-1.0.31.orig/src/ogg_opus.c
-+++ libsndfile-1.0.31/src/ogg_opus.c
+diff --git a/src/ogg_opus.c b/src/ogg_opus.c
+index dfa446ee..0d4fe57b 100644
+--- a/src/ogg_opus.c
 b/src/ogg_opus.c
 @@ -159,7 +159,7 @@
  #include "sfendian.h"
  #include "common.h"
@@ -53,3 +63,6 @@ Index: libsndfile-1.0.31/src/ogg_opus.c
  
  #include 
  #include 
+-- 
+2.30.2
+
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb 
b/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb
similarity index 85%
rename from meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb
rename to meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb
index ea14fe29cb..70626b3c16 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb
@@ -8,13 +8,12 @@ DEPENDS = "flac libogg libvorbis"
 SECTION = "libs/multimedia"
 LICENSE = "LGPL-2.1-only"
 
-SRC_URI = 
"https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.bz2
 \
+SRC_URI = 
"https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.xz
 \
file://noopus.patch \
   "
 UPSTREAM_CHECK_URI = "https://github.com/libsndfile/libsndfile/releases/;
 
-SRC_URI[md5sum] = "3f3b2a86a032f064ef922a2c8c191f7b"
-SRC_URI[sha256sum] = 
"a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163"
+SRC_URI[sha256sum] = 
"0f98e101c0f7c850a71225fb5feaf33b106227b3d331333ddc9bacee190bcf41"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164125): 
https://lists.openembedded.org/g/openembedded-core/message/164125
Mute This Topic: https://lists.openembedded.org/mt/90317729/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 07/17] vulkan-samples: update to latest revision

2022-04-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb 
b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
index 53c7254ce7..fbadc506d6 100644
--- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
@@ -11,7 +11,7 @@ SRC_URI = 
"gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=master;prot
"
 
 UPSTREAM_CHECK_COMMITS = "1"
-SRCREV = "28ca2dad83ceb157386e0708f5151ae89c177ad4"
+SRCREV = "f37bb1ea48d2782e997085aedf440b4a159e8189"
 
 UPSTREAM_CHECK_GITTAGREGEX = "These are not the releases you're looking for"
 S = "${WORKDIR}/git"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164123): 
https://lists.openembedded.org/g/openembedded-core/message/164123
Mute This Topic: https://lists.openembedded.org/mt/90317726/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 08/17] libxvmc: update 1.0.12 -> 1.0.13

2022-04-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../xorg-lib/{libxvmc_1.0.12.bb => libxvmc_1.0.13.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{libxvmc_1.0.12.bb => libxvmc_1.0.13.bb} 
(75%)

diff --git a/meta/recipes-graphics/xorg-lib/libxvmc_1.0.12.bb 
b/meta/recipes-graphics/xorg-lib/libxvmc_1.0.13.bb
similarity index 75%
rename from meta/recipes-graphics/xorg-lib/libxvmc_1.0.12.bb
rename to meta/recipes-graphics/xorg-lib/libxvmc_1.0.13.bb
index 29ed0c43d1..d6d009831a 100644
--- a/meta/recipes-graphics/xorg-lib/libxvmc_1.0.12.bb
+++ b/meta/recipes-graphics/xorg-lib/libxvmc_1.0.13.bb
@@ -4,6 +4,7 @@ DESCRIPTION = "XvMC extends the X Video extension (Xv) and 
enables \
 hardware rendered motion compensation support."
 
 require xorg-lib-common.inc
+SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.xz"
 
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0a207f08d4961489c55046c9a5e500da \
@@ -15,5 +16,4 @@ PE = "1"
 
 XORG_PN = "libXvMC"
 
-SRC_URI[md5sum] = "3569ff7f3e26864d986d6a21147eaa58"
-SRC_URI[sha256sum] = 
"6b3da7977b3f7eaf4f0ac6470ab1e562298d82c4e79077765787963ab7966dcd"
+SRC_URI[sha256sum] = 
"0a9ebe6dea7888a747e5aca1b891d53cd7d3a5f141a9645f77d9b6a12cee657c"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164124): 
https://lists.openembedded.org/g/openembedded-core/message/164124
Mute This Topic: https://lists.openembedded.org/mt/90317727/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 06/17] piglit: update to latest revision

2022-04-07 Thread Alexander Kanavin
Drop upstreamed patch.

Signed-off-by: Alexander Kanavin 
---
 ...ssing-include-for-htobe32-definition.patch | 27 ---
 ...Lists.txt-add-missing-endian.h-check.patch | 25 +
 meta/recipes-graphics/piglit/piglit_git.bb|  4 +--
 3 files changed, 27 insertions(+), 29 deletions(-)
 delete mode 100644 
meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
 create mode 100644 
meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-add-missing-endian.h-check.patch

diff --git 
a/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
 
b/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
deleted file mode 100644
index 7b0cb17925..00
--- 
a/meta/recipes-graphics/piglit/piglit/0001-Add-a-missing-include-for-htobe32-definition.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From d623e9797b7ee9b3739a8a4afe1a01f7e03754aa Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Sun, 1 Nov 2020 20:08:49 +
-Subject: [PATCH] Add a missing include for htobe32 definition
-
-Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/609]
-Signed-off-by: Alexander Kanavin 

- tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c 
b/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c
-index 5f45e0c23..c755ee29a 100644
 a/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c
-+++ b/tests/spec/nv_copy_depth_to_color/nv_copy_depth_to_color.c
-@@ -34,6 +34,8 @@
- 
- #include "piglit-util-gl.h"
- 
-+#include 
-+
- #define IMAGE_WIDTH 60
- #define IMAGE_HEIGHT 60
- 
--- 
-2.17.1
-
diff --git 
a/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-add-missing-endian.h-check.patch
 
b/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-add-missing-endian.h-check.patch
new file mode 100644
index 00..68f783ebe4
--- /dev/null
+++ 
b/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-add-missing-endian.h-check.patch
@@ -0,0 +1,25 @@
+From a8ea135125b284a8a9c965d8091b3d1d9a31849c Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Tue, 5 Apr 2022 16:51:34 +0200
+Subject: [PATCH] CMakeLists.txt: add missing endian.h check
+
+This is needed to actually have HAVE_ENDIAN_H defined properly in config.h.
+
+Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/648]
+Signed-off-by: Alexander Kanavin 
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9fb0508da..158fac4bc 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -481,6 +481,7 @@ check_include_file(sys/stat.h  HAVE_SYS_STAT_H)
+ check_include_file(unistd.hHAVE_UNISTD_H)
+ check_include_file(fcntl.h HAVE_FCNTL_H)
+ check_include_file(linux/sync_file.h HAVE_LINUX_SYNC_FILE_H)
++check_include_file(endian.hHAVE_ENDIAN_H)
+ 
+ if(DEFINED PIGLIT_INSTALL_VERSION)
+   set(PIGLIT_INSTALL_VERSION_SUFFIX
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb 
b/meta/recipes-graphics/piglit/piglit_git.bb
index 3ae7a14e46..840050bfc9 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -9,12 +9,12 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0"
 SRC_URI = 
"git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=main \
file://0001-cmake-install-bash-completions-in-the-right-place.patch 
\
file://0001-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \
-   file://0001-Add-a-missing-include-for-htobe32-definition.patch \

file://0002-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \
+   file://0001-CMakeLists.txt-add-missing-endian.h-check.patch \
"
 UPSTREAM_CHECK_COMMITS = "1"
 
-SRCREV = "2f80c7cc9c02d37574dc8ba3140b7dd8eb3cbf82"
+SRCREV = "445711587d461539a4d8f9d35a7fe996a86d3c8d"
 # (when PV goes above 1.0 remove the trailing r)
 PV = "1.0+gitr${SRCPV}"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164121): 
https://lists.openembedded.org/g/openembedded-core/message/164121
Mute This Topic: https://lists.openembedded.org/mt/90317724/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 04/17] squashfs-tools: update 4.5 -> 4.5.1

2022-04-07 Thread Alexander Kanavin
Drop backports.

Correctly set source and installation directories.

Signed-off-by: Alexander Kanavin 
---
 sh-do-not-write-original-timestamps.patch |  30 ++
 ...e-of-INSTALL_DIR-for-symlink-targets.patch |  34 --
 .../CVE-2021-41072-requisite-1.patch  | 135 ---
 .../CVE-2021-41072-requisite-2.patch  | 108 --
 .../CVE-2021-41072-requisite-3.patch  | 326 -
 .../squashfs-tools/CVE-2021-41072.patch   | 329 --
 .../squashfs-tools/squashfs-tools_git.bb  |  20 +-
 7 files changed, 39 insertions(+), 943 deletions(-)
 create mode 100644 
meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
 delete mode 100644 
meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
 delete mode 100644 
meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
 delete mode 100644 
meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-2.patch
 delete mode 100644 
meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-3.patch
 delete mode 100644 
meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072.patch

diff --git 
a/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
 
b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
new file mode 100644
index 00..ed1d2f5b3b
--- /dev/null
+++ 
b/meta/recipes-devtools/squashfs-tools/files/0001-install-manpages.sh-do-not-write-original-timestamps.patch
@@ -0,0 +1,30 @@
+From b44b00dae195d8587857c7e8054e9be4eaa1f8b3 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Thu, 7 Apr 2022 09:26:09 +0200
+Subject: [PATCH] install-manpages.sh: do not write original timestamps into
+ .gz metadata
+
+This helps binary reproducibility.
+
+Upstream-Status: Submitted 
[https://github.com/plougher/squashfs-tools/pull/177]
+Signed-off-by: Alexander Kanavin 
+---
+ generate-manpages/install-manpages.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/generate-manpages/install-manpages.sh 
b/generate-manpages/install-manpages.sh
+index d4c9e91..6a43b89 100755
+--- a/generate-manpages/install-manpages.sh
 b/generate-manpages/install-manpages.sh
+@@ -56,7 +56,7 @@ for i in mksquashfs unsquashfs sqfstar sqfscat; do
+   exit 1
+   fi
+ 
+-  if ! gzip -f9 $2/$i.1; then
++  if ! gzip -n -f9 $2/$i.1; then
+   echo "$0: Compressing installed manpage failed.  Aborting" >&2
+   exit 1
+   fi
+-- 
+2.30.2
+
diff --git 
a/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
 
b/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
deleted file mode 100644
index b505f05735..00
--- 
a/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From c9e263a7add76df1ed92e879d964264067c0f6e8 Mon Sep 17 00:00:00 2001
-From: Patrick McCarty 
-Date: Mon, 26 Jul 2021 11:38:43 -0700
-Subject: [PATCH] Avoid use of INSTALL_DIR for symlink targets
-
-In case INSTALL_DIR is overridden with a staged install location, using
-INSTALL_DIR for the symlink target path prefix will yield an incorrect location
-for the final installation.
-
-Because the symlink itself is already installed to INSTALL_DIR, simply removing
-the INSTALL_DIR prefix suffices as a fix.
-
-Note that using $DESTDIR/$INSTALL_DIR where appropriate can avoid this type of
-issue, but that can be considered a future enhancement.
-
-Upstream-Status: Backport
-Signed-off-by: Patrick McCarty 
-Signed-off-by: Alexander Kanavin 

- squashfs-tools/Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/squashfs-tools/Makefile b/squashfs-tools/Makefile
-index 5795d0d..998c5fd 100755
 a/Makefile
-+++ b/Makefile
-@@ -406,5 +406,5 @@ install: mksquashfs unsquashfs
-   mkdir -p $(INSTALL_DIR)
-   cp mksquashfs $(INSTALL_DIR)
-   cp unsquashfs $(INSTALL_DIR)
--  ln -fs $(INSTALL_DIR)/unsquashfs $(INSTALL_DIR)/sqfscat
--  ln -fs $(INSTALL_DIR)/mksquashfs $(INSTALL_DIR)/sqfstar
-+  ln -fs unsquashfs $(INSTALL_DIR)/sqfscat
-+  ln -fs mksquashfs $(INSTALL_DIR)/sqfstar
diff --git 
a/meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
 
b/meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
deleted file mode 100644
index d01b5c6871..00
--- 
a/meta/recipes-devtools/squashfs-tools/squashfs-tools/CVE-2021-41072-requisite-1.patch
+++ /dev/null
@@ -1,135 +0,0 @@
-The commit is required by the fix for CVE-2021-41072.
-
-Upstream-Status: Backport 
[https://github.com/plougher/squashfs-tools/commit/80b8441]
-

[OE-core] [PATCH 03/17] llvm: use default install paths

2022-04-07 Thread Alexander Kanavin
There was a very brittle sed hack against cpp source code
that allowed installing multiple llvm versions into the same
target/sysroot. Patching with sed is prone to silent
regressions as it can change both too little and too much,
and it indeed it broke with llvm 14. It's also difficult to tell
what the 'right' change should look like.

If this feature is actually needed somewhere, please do it properly:
proper patch and upstream first.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/llvm/llvm_git.bb | 58 +++---
 meta/recipes-graphics/mesa/mesa.inc|  2 +-
 2 files changed, 17 insertions(+), 43 deletions(-)

diff --git a/meta/recipes-devtools/llvm/llvm_git.bb 
b/meta/recipes-devtools/llvm/llvm_git.bb
index 13f7fb763e..8f7540fd70 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -24,7 +24,6 @@ PV = "14.0.0"
 MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
 
 LLVM_RELEASE = "${PV}"
-LLVM_DIR = "llvm${LLVM_RELEASE}"
 
 BRANCH = "release/${MAJOR_VERSION}.x"
 SRCREV = "329fda39c507e8740978d10458451dcdb21563be"
@@ -91,13 +90,6 @@ EXTRA_OECMAKE:append:class-nativesdk = "\
   -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} 
\
  "
 
-do_configure:prepend() {
-# Fix paths in llvm-config
-   sed -i 
"s|sys::path::parent_path(CurrentPath))\.str()|sys::path::parent_path(sys::path::parent_path(CurrentPath))).str()|g"
 ${S}/tools/llvm-config/llvm-config.cpp
-   sed -ri "s#/(bin|include|lib)(/?\")#/\1/${LLVM_DIR}\2#g" 
${S}/tools/llvm-config/llvm-config.cpp
-   sed -ri "s#lib/${LLVM_DIR}#${baselib}/${LLVM_DIR}#g" 
${S}/tools/llvm-config/llvm-config.cpp
-}
-
 # patch out build host paths for reproducibility
 do_compile:prepend:class-target() {
 sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc
@@ -112,34 +104,17 @@ do_compile:class-native() {
 }
 
 do_install() {
-   DESTDIR=${LLVM_INSTALL_DIR} ninja -v install
-   install -D -m 0755 ${B}/bin/llvm-config 
${D}${libdir}/${LLVM_DIR}/llvm-config
-
-   install -d ${D}${bindir}/${LLVM_DIR}
-   cp -r ${LLVM_INSTALL_DIR}${bindir}/* ${D}${bindir}/${LLVM_DIR}/
-
-   install -d ${D}${includedir}/${LLVM_DIR}
-   cp -r ${LLVM_INSTALL_DIR}${includedir}/* ${D}${includedir}/${LLVM_DIR}/
-
-   install -d ${D}${libdir}/${LLVM_DIR}
-
-   # The LLVM sources have "/lib" embedded and so we cannot completely 
rely on the ${libdir} variable
-   if [ -d ${LLVM_INSTALL_DIR}${libdir}/ ]; then
-   cp -r ${LLVM_INSTALL_DIR}${libdir}/* ${D}${libdir}/${LLVM_DIR}/
-   elif [ -d ${LLVM_INSTALL_DIR}${prefix}/lib ]; then
-   cp -r ${LLVM_INSTALL_DIR}${prefix}/lib/* 
${D}${libdir}/${LLVM_DIR}/
-   elif [ -d ${LLVM_INSTALL_DIR}${prefix}/lib64 ]; then
-   cp -r ${LLVM_INSTALL_DIR}${prefix}/lib64/* 
${D}${libdir}/${LLVM_DIR}/
-   fi
+   DESTDIR=${D} ninja -v install
 
-   # Remove unnecessary cmake files
-   rm -rf ${D}${libdir}/${LLVM_DIR}/cmake
+# llvm harcodes usr/lib as install path, so this corrects it to actual 
libdir
+mv -T -n ${D}/${prefix}/lib ${D}/${libdir}
 
-   ln -s ${LLVM_DIR}/libLLVM-${MAJOR_VERSION}${SOLIBSDEV} 
${D}${libdir}/libLLVM-${MAJOR_VERSION}${SOLIBSDEV}
+# Remove opt-viewer: https://llvm.org/docs/Remarks.html
+rm -rf ${D}${datadir}/opt-viewer
+rmdir ${D}${datadir}
 
-   # We'll have to delete the libLLVM.so due to multiple reasons...
-   rm -rf ${D}${libdir}/${LLVM_DIR}/libLLVM.so
-   rm -rf ${D}${libdir}/${LLVM_DIR}/libLTO.so
+# reproducibility
+sed -i -e 's,${WORKDIR},,g' ${D}/${libdir}/cmake/llvm/LLVMConfig.cmake
 }
 
 do_install:class-native() {
@@ -152,34 +127,33 @@ PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello 
${PN}-libllvm ${PN}-liboptrema
 RRECOMMENDS:${PN}-dev += "${PN}-bugpointpasses ${PN}-llvmhello 
${PN}-liboptremarks"
 
 FILES:${PN}-bugpointpasses = "\
-${libdir}/${LLVM_DIR}/BugpointPasses.so \
+${libdir}/BugpointPasses.so \
 "
 
 FILES:${PN}-libllvm = "\
-${libdir}/${LLVM_DIR}/libLLVM-${MAJOR_VERSION}.so \
 ${libdir}/libLLVM-${MAJOR_VERSION}.so \
 "
 
 FILES:${PN}-liblto += "\
-${libdir}/${LLVM_DIR}/libLTO.so.* \
+${libdir}/libLTO.so.* \
 "
 
 FILES:${PN}-liboptremarks += "\
-${libdir}/${LLVM_DIR}/libRemarks.so.* \
+${libdir}/libRemarks.so.* \
 "
 
 FILES:${PN}-llvmhello = "\
-${libdir}/${LLVM_DIR}/LLVMHello.so \
+${libdir}/LLVMHello.so \
 "
 
 FILES:${PN}-dev += " \
-${libdir}/${LLVM_DIR}/llvm-config \
-${libdir}/${LLVM_DIR}/libRemarks.so \
-${libdir}/${LLVM_DIR}/libLLVM-${PV}.so \
+${libdir}/llvm-config \
+${libdir}/libRemarks.so \
+${libdir}/libLLVM-${PV}.so \
 "
 
 FILES:${PN}-staticdev += "\
-${libdir}/${LLVM_DIR}/*.a \
+${libdir}/*.a \
 "
 
 INSANE_SKIP:${PN}-libllvm += "dev-so"
diff --git a/meta/recipes-graphics/mesa/mesa.inc 

[OE-core] [PATCH 05/17] go-helloworld: update to latest revision

2022-04-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb 
b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
index b3a8631794..1e2434fb17 100644
--- a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
+++ b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
@@ -6,7 +6,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
 SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https"
-SRCREV = "787a929d5a0dfb8bbfcdd2c4a62e0fd89466113f"
+SRCREV = "ad95e7f791d8e1e7e7ec7f7cedfc2f6b29f6c9e2"
 UPSTREAM_CHECK_COMMITS = "1"
 
 GO_IMPORT = "golang.org/x/example"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164120): 
https://lists.openembedded.org/g/openembedded-core/message/164120
Mute This Topic: https://lists.openembedded.org/mt/90317723/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 01/17] connman-conf: ignore eth0 in qemu in a way that is not sysvinit-specific

2022-04-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-connectivity/connman/connman-conf.bb| 7 +--
 meta/recipes-connectivity/connman/connman-conf/main.conf | 2 ++
 2 files changed, 7 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-connectivity/connman/connman-conf/main.conf

diff --git a/meta/recipes-connectivity/connman/connman-conf.bb 
b/meta/recipes-connectivity/connman/connman-conf.bb
index 6b9207c4cb..7959ed8e50 100644
--- a/meta/recipes-connectivity/connman/connman-conf.bb
+++ b/meta/recipes-connectivity/connman/connman-conf.bb
@@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
 
 PR = "r2"
 
+SRC_URI = "file://main.conf \
+  "
+
 S = "${WORKDIR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -14,6 +17,6 @@ FILES:${PN} = "${sysconfdir}/*"
 
 # Kernel IP-Config is perfectly capable of setting up networking passed in via 
ip=
 do_install:append:qemuall() {
-mkdir -p ${D}${sysconfdir}/default
-echo "export EXTRA_PARAM=\"-I eth0\"" > ${D}${sysconfdir}/default/connman
+mkdir -p ${D}${sysconfdir}/connman
+cp ${S}/main.conf ${D}${sysconfdir}/connman/main.conf
 }
diff --git a/meta/recipes-connectivity/connman/connman-conf/main.conf 
b/meta/recipes-connectivity/connman/connman-conf/main.conf
new file mode 100644
index 00..a394e8f25b
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-conf/main.conf
@@ -0,0 +1,2 @@
+[General]
+NetworkInterfaceBlacklist = eth0
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164117): 
https://lists.openembedded.org/g/openembedded-core/message/164117
Mute This Topic: https://lists.openembedded.org/mt/90317717/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 02/17] llvm: update 13.0.1 -> 14.0.0

2022-04-07 Thread Alexander Kanavin
llvm-config no longer links with libLLVM, so there is no need
to install it in -native (and it isn't built in the first place).
This also significantly speeds up llvm-native build.

Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/tcmode-default.inc | 2 +-
 meta/recipes-devtools/llvm/llvm_git.bb  | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc 
b/meta/conf/distro/include/tcmode-default.inc
index d362bd76c6..4a6d4da5d5 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -26,7 +26,7 @@ QEMUVERSION ?= "6.2%"
 GOVERSION ?= "1.17%"
 # This can not use wildcards like 8.0.% since it is also used in mesa to denote
 # llvm version being used, so always bump it with llvm recipe version bump
-LLVMVERSION ?= "13.0.1"
+LLVMVERSION ?= "14.0.0"
 RUSTVERSION ?= "1.59%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb 
b/meta/recipes-devtools/llvm/llvm_git.bb
index 9400bf0821..13f7fb763e 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -19,7 +19,7 @@ inherit cmake pkgconfig
 
 PROVIDES += "llvm${PV}"
 
-PV = "13.0.1"
+PV = "14.0.0"
 
 MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
 
@@ -27,7 +27,7 @@ LLVM_RELEASE = "${PV}"
 LLVM_DIR = "llvm${LLVM_RELEASE}"
 
 BRANCH = "release/${MAJOR_VERSION}.x"
-SRCREV = "75e33f71c2dae584b13a7d1186ae0a038ba98838"
+SRCREV = "329fda39c507e8740978d10458451dcdb21563be"
 SRC_URI = 
"git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \

file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2
 \
file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
@@ -145,7 +145,6 @@ do_install() {
 do_install:class-native() {
install -D -m 0755 ${B}/bin/llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV}
-   install -D -m 0755 ${B}/lib/libLLVM-${MAJOR_VERSION}.so 
${D}${libdir}/libLLVM-${MAJOR_VERSION}.so
 }
 
 PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm 
${PN}-liboptremarks ${PN}-liblto"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164118): 
https://lists.openembedded.org/g/openembedded-core/message/164118
Mute This Topic: https://lists.openembedded.org/mt/90317718/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] package_ipk/deb: Fix specific version handling

2022-04-07 Thread Richard Purdie
We recently added a "xxx (= 1.2.3)" style dependency to a recipe and have
been having trouble with the opkg and debian backends with it.

The issues is that for debian, "=" really does mean equals and includes the
PR field. One bitbake recipe does not know the PR of another, nor shoud it.
In other words 1.2.3 != 1.2.3-r0. Debian defaults to a PR of "0", not our
"r0".

The only way I can think of to make this work is to change "=" dependencies
without revision information (no "-r" in the version) into things like:
"xxx (>= 1.2.3), xxx (<< 1.2.3.0)". This appears to work even if it is a
pretty horrible workaround.

Signed-off-by: Richard Purdie 
---
 meta/classes/package_deb.bbclass | 7 ++-
 meta/classes/package_ipk.bbclass | 7 ++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 2e75e222bcb..a9b8ba01184 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -182,7 +182,8 @@ def deb_write_pkg(pkg, d):
 #   '<' = less or equal
 #   '>' = greater or equal
 # adjust these to the '<<' and '>>' equivalents
-#
+# Also, "=" specifiers only work if they have the PR in, so 1.2.3 
!= 1.2.3-r0
+# so to avoid issues, map this to ">= 1.2.3 << 1.2.3.0"
 for dep in list(var.keys()):
 if '(' in dep or '/' in dep:
 newdep = re.sub(r'[(:)/]', '__', dep)
@@ -197,6 +198,10 @@ def deb_write_pkg(pkg, d):
 var[dep][i] = var[dep][i].replace("< ", "<< ")
 elif (v or "").startswith("> "):
 var[dep][i] = var[dep][i].replace("> ", ">> ")
+elif (v or "").startswith("= ") and "-r" not in v:
+ver = var[dep][i].replace("= ", "")
+var[dep][i] = var[dep][i].replace("= ", ">= ")
+var[dep].append("<< " + ver + ".0")
 
 rdepends = bb.utils.explode_dep_versions2(localdata.getVar("RDEPENDS") 
or "")
 debian_cmp_remap(rdepends)
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index f67cb0e5c90..9fe3c52fae3 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -168,13 +168,18 @@ def ipk_write_pkg(pkg, d):
 #   '<' = less or equal
 #   '>' = greater or equal
 # adjust these to the '<<' and '>>' equivalents
-#
+# Also, "=" specifiers only work if they have the PR in, so 1.2.3 
!= 1.2.3-r0
+# so to avoid issues, map this to ">= 1.2.3 << 1.2.3.0"
 for dep in var:
 for i, v in enumerate(var[dep]):
 if (v or "").startswith("< "):
 var[dep][i] = var[dep][i].replace("< ", "<< ")
 elif (v or "").startswith("> "):
 var[dep][i] = var[dep][i].replace("> ", ">> ")
+elif (v or "").startswith("= ") and "-r" not in v:
+ver = var[dep][i].replace("= ", "")
+var[dep][i] = var[dep][i].replace("= ", ">= ")
+var[dep].append("<< " + ver + ".0")
 
 rdepends = bb.utils.explode_dep_versions2(localdata.getVar("RDEPENDS") 
or "")
 debian_cmp_remap(rdepends)
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164116): 
https://lists.openembedded.org/g/openembedded-core/message/164116
Mute This Topic: https://lists.openembedded.org/mt/90317542/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [dunfell][PATCH] vim: Upgrade 8.2.4524 -> 8.2.4681

2022-04-07 Thread Ralph Siemsen
Sorry, please ignore this patch... it is already queued in
stable/dunfell-nut branch.

Regards,
Ralph

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164115): 
https://lists.openembedded.org/g/openembedded-core/message/164115
Mute This Topic: https://lists.openembedded.org/mt/90314181/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe-core][hardknott][PATCH 1/1] unzip: fix CVE-2021-4217

2022-04-07 Thread Joe Slater
The patch is identical to the one in commit 36db85b9b1... but
we cannot cherry-pick because of different context in the
.bb file.

Signed-off-by: Joe Slater 
---
 .../unzip/unzip/CVE-2021-4217.patch   | 67 +++
 meta/recipes-extended/unzip/unzip_6.0.bb  |  1 +
 2 files changed, 68 insertions(+)
 create mode 100644 meta/recipes-extended/unzip/unzip/CVE-2021-4217.patch

diff --git a/meta/recipes-extended/unzip/unzip/CVE-2021-4217.patch 
b/meta/recipes-extended/unzip/unzip/CVE-2021-4217.patch
new file mode 100644
index 00..6ba2b879a3
--- /dev/null
+++ b/meta/recipes-extended/unzip/unzip/CVE-2021-4217.patch
@@ -0,0 +1,67 @@
+From 731d698377dbd1f5b1b90efeb8094602ed59fc40 Mon Sep 17 00:00:00 2001
+From: Nils Bars 
+Date: Mon, 17 Jan 2022 16:53:16 +
+Subject: [PATCH] Fix null pointer dereference and use of uninitialized data
+
+This fixes a bug that causes use of uninitialized heap data if `readbuf` fails
+to read as many bytes as indicated by the extra field length attribute.
+Furthermore, this fixes a null pointer dereference if an archive contains an
+`EF_UNIPATH` extra field but does not have a filename set.
+---
+ fileio.c  | 5 -
+ process.c | 6 +-
+ 2 files changed, 9 insertions(+), 2 deletions(-) 
+---
+
+Patch from:
+https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/1957077
+https://launchpadlibrarian.net/580782282/0001-Fix-null-pointer-dereference-and-use-of-uninitialized-data.patch
+Regenerated to apply without offsets.
+
+CVE: CVE-2021-4217
+
+Upstream-Status: Pending [infozip upstream inactive]
+
+Signed-off-by: Joe Slater 
+
+
+diff --git a/fileio.c b/fileio.c
+index 14460f3..1dc319e 100644
+--- a/fileio.c
 b/fileio.c
+@@ -2301,8 +2301,11 @@ int do_string(__G__ length, option)   /* return PK-type 
error code */
+ seek_zipf(__G__ G.cur_zipfile_bufstart - G.extra_bytes +
+   (G.inptr-G.inbuf) + length);
+ } else {
+-if (readbuf(__G__ (char *)G.extra_field, length) == 0)
++unsigned bytes_read = readbuf(__G__ (char *)G.extra_field, 
length);
++if (bytes_read == 0)
+ return PK_EOF;
++if (bytes_read != length)
++return PK_ERR;
+ /* Looks like here is where extra fields are read */
+ if (getZip64Data(__G__ G.extra_field, length) != PK_COOL)
+ {
+diff --git a/process.c b/process.c
+index 5f8f6c6..de843a5 100644
+--- a/process.c
 b/process.c
+@@ -2058,10 +2058,14 @@ int getUnicodeData(__G__ ef_buf, ef_len)
+   G.unipath_checksum = makelong(offset + ef_buf);
+   offset += 4;
+ 
++  if (!G.filename_full) {
++/* Check if we have a unicode extra section but no filename set */
++return PK_ERR;
++  }
++
+   /*
+* Compute 32-bit crc
+*/
+-
+   chksum = crc32(chksum, (uch *)(G.filename_full),
+  strlen(G.filename_full));
+ 
+-- 
+2.32.0
+
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb 
b/meta/recipes-extended/unzip/unzip_6.0.bb
index af5530ab38..f0ee38c178 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -26,6 +26,7 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/
file://CVE-2019-13232_p1.patch \
file://CVE-2019-13232_p2.patch \
file://CVE-2019-13232_p3.patch \
+   file://CVE-2021-4217.patch \
 "
 UPSTREAM_VERSION_UNKNOWN = "1"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164114): 
https://lists.openembedded.org/g/openembedded-core/message/164114
Mute This Topic: https://lists.openembedded.org/mt/90316830/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 2/2] python3-cryptography: enforce identical version for -cryptography-vectors

2022-04-07 Thread Martin Jansa
I've tried with rpm and surprisingly it works and dnf was able to
install python3-cryptography-ptest in the image (even after bumping PR to
r1 -n python3-cryptography-vectors recipe).

But still not clear why it works and if it's expected behavior.

In fresh fedora:37 docker image with rpmdevtools installed I see:

[root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0 36.0.2-r1
36.0.2-r0 < 36.0.2-r1
[root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0 36.0.2-r0
36.0.2-r0 == 36.0.2-r0
[root@aaa509e35d1f /]# rpmdev-vercmp 36.0.2-r0.0 36.0.2-r0.1
36.0.2-r0.0 < 36.0.2-r0.1

But I'm not familiar with dnf/rpm to see how the versioned runtime
dependency is handled during installation (isn't it resolved by the same
libsolv as what opkg is using now by default as well?

+ Alejandro in case it should be fixed in opkg somehow.


On Fri, Apr 1, 2022 at 10:39 PM Martin Jansa via lists.openembedded.org
 wrote:

> Not sure if this is working correctly, with opkg
> and python3-cryptography-ptest included in the image I get:
>
>  * Solver encountered 1 problem(s):
>  * Problem 1/1:
>  *   - conflicting requests
>  *   - nothing provides python3-cryptography-vectors = 36.0.2 needed by
> python3-cryptography-ptest-36.0.2-r0.0.qemux86_64
>  *
>  * Solution 1:
>  *   - do not ask to install a package providing python3-cryptography-ptest
>
> even when I do have
> python3-cryptography-vectors_36.0.2-r0.0_qemux86_64.ipk and
> python3-cryptography-ptest_36.0.2-r0.0_qemux86_64.ipk
>
> is rpm parsing the version differently or is the issue somewhere else?
>
> I guess forcing identical EXTENDPKGV (instead of PV) between
> python3-cryptography and python3-cryptography-vectors would be too much
> (especially for people with PRserv enabled).
>
> Cheers,
>
> On Thu, Mar 17, 2022 at 5:44 PM Ross Burton  wrote:
>
>> python3-cryptography and python3-cryptography-vectors are actually the
>> same project but are on Pypi as two separate modules.
>>
>> The test suite validates that they're the same version and fails if they
>> are not:
>>
>> FAIL: tests/test_utils.py::test_vector_version
>> def test_vector_version():
>> >   assert cryptography.__version__ ==
>> cryptography_vectors.__version__
>> E   AssertionError: assert '36.0.2' == '36.0.1'
>>
>> Catch this slightly earlier by mandating that python3-cryptography-ptest
>> pulls in an identically versioned python3-cryptography-vectors.
>>
>> Signed-off-by: Ross Burton 
>> ---
>>  meta/recipes-devtools/python/python3-cryptography_36.0.2.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
>> b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
>> index 940df60d44..cb3acdf7e2 100644
>> --- a/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
>> +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
>> @@ -91,7 +91,7 @@ RDEPENDS:${PN}:append:class-target = " \
>>
>>  RDEPENDS:${PN}-ptest += " \
>>  ${PYTHON_PN}-bcrypt \
>> -${PYTHON_PN}-cryptography-vectors \
>> +${PYTHON_PN}-cryptography-vectors (= ${PV}) \
>>  ${PYTHON_PN}-hypothesis \
>>  ${PYTHON_PN}-iso8601 \
>>  ${PYTHON_PN}-pretend \
>> --
>> 2.25.1
>>
>>
>>
>>
>>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164113): 
https://lists.openembedded.org/g/openembedded-core/message/164113
Mute This Topic: https://lists.openembedded.org/mt/89849717/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [dunfell][PATCH] vim: Upgrade 8.2.4524 -> 8.2.4681

2022-04-07 Thread Ralph Siemsen
From: Richard Purdie 

License change is a date in the license file only.

This includes fixes for CVE-2022-0943, CVE-2022-1154, CVE-2022-1160.

(cherry picked from commit ca405e4529db47f471d8e49fd015c5d532e7c9ba)

Signed-off-by: Richard Purdie 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
Signed-off-by: Ralph Siemsen 
---
 meta/recipes-support/vim/vim.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index b3c471225e..5f01fc3bca 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -11,7 +11,7 @@ RSUGGESTS_${PN} = "diffutils"
 
 LICENSE = "vim"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6b30ea4fa660c483b619924bc709ef99 \
-
file://runtime/doc/uganda.txt;md5=a3f193c20c6faff93c69185d5d070535"
+
file://runtime/doc/uganda.txt;md5=daf48235bb824c77fe8ae88d5f575f74"
 
 SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https \
file://disable_acl_header_check.patch \
@@ -21,8 +21,8 @@ SRC_URI = 
"git://github.com/vim/vim.git;branch=master;protocol=https \
file://racefix.patch \
"
 
-PV .= ".4524"
-SRCREV = "d8f8629b1bf566e1dada7515e9b146c69e5d9757"
+PV .= ".4681"
+SRCREV = "15f74fab653a784548d5d966644926b47ba2cfa7"
 
 # Remove when 8.3 is out
 UPSTREAM_VERSION_UNKNOWN = "1"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164112): 
https://lists.openembedded.org/g/openembedded-core/message/164112
Mute This Topic: https://lists.openembedded.org/mt/90314181/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCHv2] license_image.bbclass: close package.manifest file

2022-04-07 Thread Martin Jansa
* fixes:
  NOTE: Executing write_package_manifest ...
  DEBUG: Executing python function write_package_manifest
  /OE/build/oe-core/openembedded-core/meta/classes/license_image.bbclass:23: 
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='/OE/build/oe-core/tmp-glibc/deploy/licenses/core-image-minimal-qemux86-64/package.manifest'
 mode='w+' encoding='UTF-8'>
'w+').write(output)
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function write_package_manifest finished

[YOCTO #14772]

Signed-off-by: Martin Jansa 
---
 meta/classes/license_image.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/license_image.bbclass 
b/meta/classes/license_image.bbclass
index 0a5ea0a2fb..7e1d0e08a9 100644
--- a/meta/classes/license_image.bbclass
+++ b/meta/classes/license_image.bbclass
@@ -19,8 +19,8 @@ python write_package_manifest() {
 
 pkgs = image_list_installed_packages(d)
 output = format_pkg_list(pkgs)
-open(os.path.join(license_image_dir, 'package.manifest'),
-'w+').write(output)
+with open(os.path.join(license_image_dir, 'package.manifest'), "w+") as 
package_manifest:
+package_manifest.write(output)
 }
 
 python license_create_manifest() {
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164111): 
https://lists.openembedded.org/g/openembedded-core/message/164111
Mute This Topic: https://lists.openembedded.org/mt/90314031/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] systemd-boot: remove outdated EFI_LD comment

2022-04-07 Thread Martin Jansa
* efi-ld meson option was changed in systemd 250:
  
https://github.com/systemd/systemd/commit/fe330f02dfebbaa462e0f4590de1049e47da54b9

  the value was changed with the systemd upgrade in:
  
https://git.openembedded.org/openembedded-core/commit/?id=e22188e47d2fce2406d9db9c95289b3878eda69f
  but the comment originally from:
  
https://git.openembedded.org/openembedded-core/commit/?id=603e50f3db224a0e36a65decb9a98df41b9e22b3
  no longer makes any sense, remove it

Signed-off-by: Martin Jansa 
---
 meta/recipes-core/systemd/systemd-boot_250.4.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd-boot_250.4.bb 
b/meta/recipes-core/systemd/systemd-boot_250.4.bb
index 23a64bf30d..b67706b731 100644
--- a/meta/recipes-core/systemd/systemd-boot_250.4.bb
+++ b/meta/recipes-core/systemd/systemd-boot_250.4.bb
@@ -19,7 +19,6 @@ objcopy = ${@meson_array('OBJCOPY', d)}
 EOF
 }
 
-# need to use ${HOST_PREFIX} here, otherwise ld.bfd could be used from 
HOSTTOOLS_NONFATAL
 EFI_LD = "bfd"
 
 EXTRA_OEMESON += "-Defi=true \
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164110): 
https://lists.openembedded.org/g/openembedded-core/message/164110
Mute This Topic: https://lists.openembedded.org/mt/90313840/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] license_image.bbclass: close package.manifest file

2022-04-07 Thread Martin Jansa
* fixes:
  NOTE: Executing write_package_manifest ...
  DEBUG: Executing python function write_package_manifest
  /OE/build/oe-core/openembedded-core/meta/classes/license_image.bbclass:23: 
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='/OE/build/oe-core/tmp-glibc/deploy/licenses/core-image-minimal-qemux86-64/package.manifest'
 mode='w+' encoding='UTF-8'>
'w+').write(output)
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function write_package_manifest finished

Signed-off-by: Martin Jansa 
---
 meta/classes/license_image.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/license_image.bbclass 
b/meta/classes/license_image.bbclass
index 0a5ea0a2fb..7e1d0e08a9 100644
--- a/meta/classes/license_image.bbclass
+++ b/meta/classes/license_image.bbclass
@@ -19,8 +19,8 @@ python write_package_manifest() {
 
 pkgs = image_list_installed_packages(d)
 output = format_pkg_list(pkgs)
-open(os.path.join(license_image_dir, 'package.manifest'),
-'w+').write(output)
+with open(os.path.join(license_image_dir, 'package.manifest'), "w+") as 
package_manifest:
+package_manifest.write(output)
 }
 
 python license_create_manifest() {
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164109): 
https://lists.openembedded.org/g/openembedded-core/message/164109
Mute This Topic: https://lists.openembedded.org/mt/90313610/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] gcc: upgrade 11.2 -> current 12 snapshot

2022-04-07 Thread Bernhard Rosenkränzer via lists . openembedded . org
On Thu, Apr 7, 2022 at 02:32 PM, Richard Purdie wrote:

> 
> On Thu, 2022-04-07 at 14:26 +0200, Bernhard Rosenkränzer via
> lists.openembedded.org wrote:
> 
>> rename from meta/recipes-devtools/gcc/gcc-cross-canadian_11.2.bb
>> rename to meta/recipes-devtools/gcc/gcc-cross-canadian_12.0.bb
>> diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc
>> b/meta/recipes-devtools/gcc/gcc-cross.inc
>> index 3ffa1f0c46..0e8119384b 100644
>> --- a/meta/recipes-devtools/gcc/gcc-cross.inc
>> +++ b/meta/recipes-devtools/gcc/gcc-cross.inc
>> @@ -47,6 +47,15 @@ ARCH_FLAGS_FOR_TARGET +=
>> "-isystem${STAGING_DIR_TARGET}${target_includedir}"
>> do_configure:prepend () {
>> install -d ${RECIPE_SYSROOT}${target_includedir}
>> touch ${RECIPE_SYSROOT}${target_includedir}/limits.h
>> +
>> + if ! echo ${@d.getVar("TARGET_OS")} | grep -qi linux; then
>> + # Building Zephyr with DWARF-5 is problematic because
>> + # its kernel tests use pyelftools, which has incomplete
>> + # DWARF-5 support (even after applying preliminary
>> + # support patches). Use DWARF-4 on Zephyr and FreeRTOS
>> + # for the time being.
>> + sed -i -e 's,Var(dwarf_version) Init(5),Var(dwarf_version) Init(4),'
>> ${S}/gcc/common.opt
>> + fi
>> }
>> 
>> do_compile () {
> 
> Unfortunately you can't do that. The gcc-cross is shared amongst all
> targets on
> a given architecture. This will "kind of work" in that other sstate code
> will
> clean it up and rebuild gcc but it isn't as designed and can't merge like
> that
> I'm afraid.

True, didn't think of that. I've backed out this part and sent a new patch. 
Will address the zephyr problem with an added -gdwarf-4 flag in zephyr configs.

ttyl
bero

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164108): 
https://lists.openembedded.org/g/openembedded-core/message/164108
Mute This Topic: https://lists.openembedded.org/mt/90311375/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] gcc: upgrade 11.2 -> current 12 snapshot

2022-04-07 Thread Richard Purdie
On Thu, 2022-04-07 at 14:26 +0200, Bernhard Rosenkränzer via
lists.openembedded.org wrote:
> rename from meta/recipes-devtools/gcc/gcc-cross-canadian_11.2.bb
> rename to meta/recipes-devtools/gcc/gcc-cross-canadian_12.0.bb
> diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc 
> b/meta/recipes-devtools/gcc/gcc-cross.inc
> index 3ffa1f0c46..0e8119384b 100644
> --- a/meta/recipes-devtools/gcc/gcc-cross.inc
> +++ b/meta/recipes-devtools/gcc/gcc-cross.inc
> @@ -47,6 +47,15 @@ ARCH_FLAGS_FOR_TARGET += 
> "-isystem${STAGING_DIR_TARGET}${target_includedir}"
>  do_configure:prepend () {
>   install -d ${RECIPE_SYSROOT}${target_includedir}
>   touch ${RECIPE_SYSROOT}${target_includedir}/limits.h
> +
> + if ! echo ${@d.getVar("TARGET_OS")} | grep -qi linux; then
> + # Building Zephyr with DWARF-5 is problematic because
> + # its kernel tests use pyelftools, which has incomplete
> + # DWARF-5 support (even after applying preliminary
> + # support patches). Use DWARF-4 on Zephyr and FreeRTOS
> + # for the time being.
> + sed -i -e 's,Var(dwarf_version) Init(5),Var(dwarf_version) 
> Init(4),' ${S}/gcc/common.opt
> + fi
>  }
>  
>  do_compile () {

Unfortunately you can't do that. The gcc-cross is shared amongst all targets on
a given architecture. This will "kind of work" in that other sstate code will
clean it up and rebuild gcc but it isn't as designed and can't merge like that
I'm afraid.

Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164106): 
https://lists.openembedded.org/g/openembedded-core/message/164106
Mute This Topic: https://lists.openembedded.org/mt/90311375/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2 3/3] apt: add apt selftest to test signed package feeds

2022-04-07 Thread Ferry Toth


Op 06-04-2022 om 23:05 schreef Richard Purdie:

On Wed, 2022-04-06 at 21:44 +0200, Ferry Toth wrote:

Hi

Op 06-04-2022 om 17:23 schreef Richard Purdie:

On Wed, 2022-04-06 at 16:43 +0200, Ferry Toth wrote:

Op 06-04-2022 om 13:40 schreef Richard Purdie:

On Tue, 2022-04-05 at 17:23 +0200, Ferry Toth wrote:

Op 04-04-2022 om 22:39 schreef Richard Purdie:
   On Mon, 2022-04-04 at 19:35 +0200, Ferry Toth wrote:

   Op 04-04-2022 om 15:58 schreef Richard Purdie:

On Sun, 2022-04-03 at 21:50 +0200, Ferry Toth wrote:
Looking at the patches I wondered if this would break testimage and
unfortunately it does:

https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/50
13/s
teps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/49
75

That is weird, do I understand correctly that it fails on:
    apt-get remove --yes run-postinsts-dev
Reading package lists...
Building dependency tree...
E: Unable to locate package run-postinsts-dev

That is actually *) one line I didn't touch. I did note while testing
that I saw this exact message, however that was not counted as a fail.

What could cause this? Because the complaint is it can't remove the
package because it was not installed.

It would be trivial to remove the line

*) self.pkg('remove --yes run-postinsts-dev')

but how could it have passed the test before?

I think the issue is you edited testimage which is a different set of
tests
which aren't just called by oe-selftest but by things like

That would be my first thought too, but...
because the failure seems to be on the line self.pkg('remove --yes run-
postinsts-dev'),  that would mean the line self.pkg('update') passed.
And that should only pass if it finds a signed repository and has the key
installed (and believe me, I saw a log of that in the last week).
So, there may be a second thing wrong?

I was easily able to reproduce this locally and it shows the
setup_source_config_for_package_install() step fails and hence the sources
aren't setup correctly, hence the update probably works.

   not correct, hence works. You lost me here, but I'll try to reproduce.

I mean the command doesn't work correctly. In my local logs I see:

DEBUG: Command: cd /etc/apt/; cp sources.list sources.list.bak; sed -i 
's/\[trusted=yes\] http:\/\/bogus_ip:bogus_port/http:\/\/192.168.7.1:46599/g' 
sources.list
Status: 1 Output:  cp: can't stat 'sources.list': No such file or directory
sed: sources.list: No such file or directory

   

go in and find/share them. The issue does locally reproduce for me with a
"bitbake core-image-sato -c testimage" with package_deb set as the backend.

..in conf. But without PACKAGE_CLASSES, PACKAGE_FEED_GPG_NAME,
PACKAGE_FEED_GPG_PASSPHRASE_FILE?

Yes.


Yes, regardless the above, we need to either make signing always enabled
in
all test cases or detect whether signing is used.
Do you have a hint if there is a variable to test in class AptRepoTest if
PACKAGE_FEED_GPG_NAME has been set?
Otherwise I could just duplicate code and create
apt.AptRepoTest.test_apt_install_from_repo_signed.
What would you prefer?


We should be able to test self.tc.td.get('PACKAGE_FEED_GPG_NAME') in the
test
and handle accordingly?

I'll try this for autodetecting the test case.


I did merge the base changes into the release since I thought it was fair to
get
the fixes in before it was built. We just need to get the test sorted now, I
think it is close.

Thanks for merging.
I'll fix the test, that's only fair.
One thing, the test "test_testimage_apt" is new. It needs to be scheduled
somewhere (where "test_testimage_dnf" is called i guess), I didn't add that.
Is that correct?
   

No, the autobuilder runs all the tests in oe-selftest so it should be covered
(and is why we saw the failures on the autobuilder).

I was running 'oe-selftest -K -r
runtime_test.TestImage.test_testimage_apt' whereas buildbot seems to be
running 'apt.AptRepoTest.test_apt_install_from_repo' directly.

We have several types of test. There are two types in play here,

"oe-selftest -K -r runtime_test.TestImage.test_testimage_apt"

and

"bitbake core-image-sato -c testimage"


Thanks for the explanation. Yesterday evening I built Sato and was able 
to reproduce  the issue.


(that was a big build with half of build time spent on building Rust).

core-image-sato does not have a /etc/apt/sources.list, the selftest public key 
is not on the image and gpg is not installed. This explains the errors in the 
log.


The latter testimage tests are often run every time we create images and running
testimage will trigger 'apt.AptRepoTest.test_apt_install_from_repo' if the image
has apt present and is built using debian package management.

We also run oe-selftest which triggers a testimage of it's own for a specfic
test case.

Got it.

So we'd expect the normal testimage calls to not have the package signing
enabled and then we'd have the oe-selftest which specifically tests signing.


However, test_testimage_apt is where 

[OE-core] [honister][PATCH 00/21] Pull request

2022-04-07 Thread Anuj Mittal
The following changes since commit 47015d6bf767201708b7c7cd5dd06d541c284036:

  toaster: Fix broken overrides usage (2022-04-05 16:41:27 +0100)

are available in the Git repository at:

  git://push.openembedded.org/openembedded-core-contrib stable/honister-next

Bruce Ashfield (5):
  linux-yocto: nohz_full boot arg fix
  linux-yocto/5.10: split vtpm for more granular inclusion
  linux-yocto/5.10: cfg/debug: add configs for kcsan
  linux-yocto-rt/5.10: update to -rt61
  linux-yocto/5.10: update to v5.10.107

Chee Yang Lee (1):
  webkitgtk: update to 2.32.4

Joe Slater (1):
  libxml2: fix CVE-2022-23308 regression

Michael Opdenacker (1):
  conf/machine: fix QEMU x86 sound options

Minjae Kim (2):
  gnu-config: update SRC_URI
  virglrenderer: update SRC_URI

Peter Kjellerstedt (1):
  oe-pkgdata-util: Adapt to the new variable override syntax

Ralph Siemsen (2):
  libxml2: move to gitlab.gnome.org
  libxml2: update to 2.9.13

Richard Purdie (2):
  pseudo: Add patch to workaround paths with crazy lengths
  sanity: Add warning for local hasheqiv server with remote sstate
mirrors

Ross Burton (5):
  devupstream: fix handling of SRC_URI
  tiff: backport CVE fixes:
  grub: ignore CVE-2021-46705
  oeqa/selftest/devtool: ensure Git username is set before upgrade tests
  zlib: backport the fix for CVE-2018-25032

wangmy (1):
  linux-firmware: upgrade 20220209 -> 20220310

 meta/classes/devupstream.bbclass  |   5 +-
 meta/classes/qemuboot.bbclass |   2 +-
 meta/classes/sanity.bbclass   |   5 +
 .../conf/machine/include/x86/qemuboot-x86.inc |   2 +-
 meta/lib/oeqa/selftest/cases/devtool.py   |   8 +
 meta/recipes-bsp/grub/grub2.inc   |   2 +
 .../0002-Work-around-lxml-API-abuse.patch | 213 ---
 .../CVE-2022-23308-fix-regression.patch   |  99 +
 .../libxml2/libxml-m4-use-pkgconfig.patch |  16 +-
 .../{libxml2_2.9.12.bb => libxml2_2.9.13.bb}  |  15 +-
 .../zlib/zlib/CVE-2018-25032.patch| 347 ++
 meta/recipes-core/zlib/zlib_1.2.11.bb |   1 +
 .../gnu-config/gnu-config_git.bb  |   2 +-
 meta/recipes-devtools/pseudo/pseudo_git.bb|   2 +-
 .../virglrenderer/virglrenderer_0.9.1.bb  |   2 +-
 ...20220209.bb => linux-firmware_20220310.bb} |   6 +-
 .../linux/linux-yocto-rt_5.10.bb  |   6 +-
 .../linux/linux-yocto-tiny_5.10.bb|   8 +-
 meta/recipes-kernel/linux/linux-yocto_5.10.bb |  24 +-
 ...rash-when-reading-a-file-with-multip.patch |  38 ++
 ...ue-380-and-382-heap-buffer-overflow-.patch | 218 +++
 ...-for-return-value-of-limitMalloc-392.patch |  93 +
 ...ag-avoid-calling-memcpy-with-a-null-.patch |  33 ++
 .../0005-fix-the-FPE-in-tiffcrop-393.patch|  36 ++
 ...x-heap-buffer-overflow-in-tiffcp-278.patch |  57 +++
 meta/recipes-multimedia/libtiff/tiff_4.3.0.bb |   9 +-
 ...1-Enable-THREADS_PREFER_PTHREAD_FLAG.patch |   2 +-
 ...ebkitgtk_2.32.3.bb => webkitgtk_2.32.4.bb} |   2 +-
 scripts/oe-pkgdata-util   |   2 +-
 29 files changed, 993 insertions(+), 262 deletions(-)
 delete mode 100644 
meta/recipes-core/libxml/libxml2/0002-Work-around-lxml-API-abuse.patch
 create mode 100644 
meta/recipes-core/libxml/libxml2/CVE-2022-23308-fix-regression.patch
 rename meta/recipes-core/libxml/{libxml2_2.9.12.bb => libxml2_2.9.13.bb} (92%)
 create mode 100644 meta/recipes-core/zlib/zlib/CVE-2018-25032.patch
 rename meta/recipes-kernel/linux-firmware/{linux-firmware_20220209.bb => 
linux-firmware_20220310.bb} (99%)
 create mode 100644 
meta/recipes-multimedia/libtiff/tiff/0001-tif_jbig.c-fix-crash-when-reading-a-file-with-multip.patch
 create mode 100644 
meta/recipes-multimedia/libtiff/tiff/0002-tiffcrop-fix-issue-380-and-382-heap-buffer-overflow-.patch
 create mode 100644 
meta/recipes-multimedia/libtiff/tiff/0003-add-checks-for-return-value-of-limitMalloc-392.patch
 create mode 100644 
meta/recipes-multimedia/libtiff/tiff/0004-TIFFFetchNormalTag-avoid-calling-memcpy-with-a-null-.patch
 create mode 100644 
meta/recipes-multimedia/libtiff/tiff/0005-fix-the-FPE-in-tiffcrop-393.patch
 create mode 100644 
meta/recipes-multimedia/libtiff/tiff/0006-fix-heap-buffer-overflow-in-tiffcp-278.patch
 rename meta/recipes-sato/webkit/{webkitgtk_2.32.3.bb => webkitgtk_2.32.4.bb} 
(98%)

-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164103): 
https://lists.openembedded.org/g/openembedded-core/message/164103
Mute This Topic: https://lists.openembedded.org/mt/90307855/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] python3-hypothesis: upgrade 6.39.5 -> 6.41.0

2022-04-07 Thread xuhuan.f...@fujitsu.com
From: Xu Huan 

Changelog:
=
This release changes the implementation of "infer" to be an alias for
"Ellipsis". E.g. "@given(a=infer)" is now equivalent to
"@given(a=...)". Furthermore, "@given(...)" can now be specified so
that "@given" will infer the strategies for all arguments of the
decorated function based on its annotations.

Signed-off-by: Xu Huan 
---
 ...ython3-hypothesis_6.39.5.bb => python3-hypothesis_6.41.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.39.5.bb => 
python3-hypothesis_6.41.0.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.39.5.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.41.0.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.39.5.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.41.0.bb
index 03ec94c1c1..9174b606bf 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.39.5.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.41.0.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
 file://test_rle.py \
 "
 
-SRC_URI[sha256sum] = 
"2972edc54c90c70049facfc31db19f1997f9c5e89d2a05f6eeea1107600350f0"
+SRC_URI[sha256sum] = 
"de48abb676fc76e4397cd002926e5747cef518570d132221244d27e1075c0bec"
 
 RDEPENDS:${PN} += " \
 python3-attrs \
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164102): 
https://lists.openembedded.org/g/openembedded-core/message/164102
Mute This Topic: https://lists.openembedded.org/mt/90307727/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] python3-zipp: upgrade 3.7.0 -> 3.8.0

2022-04-07 Thread xuhuan.f...@fujitsu.com
From: Xu Huan 

Changelog:
=
Removed compatibility code.

Signed-off-by: Xu Huan 
---
 .../python/{python3-zipp_3.7.0.bb => python3-zipp_3.8.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-zipp_3.7.0.bb => 
python3-zipp_3.8.0.bb} (85%)

diff --git a/meta/recipes-devtools/python/python3-zipp_3.7.0.bb 
b/meta/recipes-devtools/python/python3-zipp_3.8.0.bb
similarity index 85%
rename from meta/recipes-devtools/python/python3-zipp_3.7.0.bb
rename to meta/recipes-devtools/python/python3-zipp_3.8.0.bb
index 495e7f51f0..f1fd383842 100644
--- a/meta/recipes-devtools/python/python3-zipp_3.7.0.bb
+++ b/meta/recipes-devtools/python/python3-zipp_3.8.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jaraco/zipp;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
 
-SRC_URI[sha256sum] = 
"9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d"
+SRC_URI[sha256sum] = 
"56bf8aadb83c24db6c4b577e13de374ccfb67da2078beba1d037c17980bf43ad"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164100): 
https://lists.openembedded.org/g/openembedded-core/message/164100
Mute This Topic: https://lists.openembedded.org/mt/90307724/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] python3-dbusmock: upgrade 0.27.3 -> 0.27.5

2022-04-07 Thread xuhuan.f...@fujitsu.com
From: Xu Huan 

Changelog:
=
bluez and accountsservice templates: Drop default arguments from D-Bus methods

Signed-off-by: Xu Huan 
---
 .../{python3-dbusmock_0.27.3.bb => python3-dbusmock_0.27.5.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-dbusmock_0.27.3.bb => 
python3-dbusmock_0.27.5.bb} (83%)

diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.27.3.bb 
b/meta/recipes-devtools/python/python3-dbusmock_0.27.5.bb
similarity index 83%
rename from meta/recipes-devtools/python/python3-dbusmock_0.27.3.bb
rename to meta/recipes-devtools/python/python3-dbusmock_0.27.5.bb
index 5febdae1bd..852d1555be 100644
--- a/meta/recipes-devtools/python/python3-dbusmock_0.27.3.bb
+++ b/meta/recipes-devtools/python/python3-dbusmock_0.27.5.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://pypi.org/project/python-dbusmock/;
 LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-SRC_URI[sha256sum] = 
"24feaa524e0631854a7f0529ef757c1e4c542adef89cf04e1d4248bc512a006f"
+SRC_URI[sha256sum] = 
"0bff30d8d01e7eef491f75d359c87765abba7001307fa8fed19cb59f06ed3c2a"
 
 PYPI_PACKAGE = "python-dbusmock"
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164099): 
https://lists.openembedded.org/g/openembedded-core/message/164099
Mute This Topic: https://lists.openembedded.org/mt/90307723/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] python3-pip: upgrade 22.0.3 -> 22.0.4

2022-04-07 Thread xuhuan.f...@fujitsu.com
From: Xu Huan 

Changelog:
=
- Deprecations and Removals
  Drop the doctype check, that presented a warning for index pages that use
  non-compliant HTML 5.
- Vendored Libraries
  Downgrade distlib to 0.3.3.

Signed-off-by: Xu Huan 
---
 .../python/{python3-pip_22.0.3.bb => python3-pip_22.0.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pip_22.0.3.bb => 
python3-pip_22.0.4.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-pip_22.0.3.bb 
b/meta/recipes-devtools/python/python3-pip_22.0.4.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-pip_22.0.3.bb
rename to meta/recipes-devtools/python/python3-pip_22.0.4.bb
index ee3e578b2c..462d2ce71f 100644
--- a/meta/recipes-devtools/python/python3-pip_22.0.3.bb
+++ b/meta/recipes-devtools/python/python3-pip_22.0.4.bb
@@ -10,7 +10,7 @@ SRC_URI += "file://0001-change-shebang-to-python3.patch"
 SRC_URI += "file://no_shebang_mangling.patch"
 SRC_URI += "file://reproducible.patch"
 
-SRC_URI[sha256sum] = 
"f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0"
+SRC_URI[sha256sum] = 
"b3a9de2c6ef801e9247d1527a4b16f92f2cc141cd1489f3fffaf6a9e96729764"
 
 do_install:append() {
 rm -f ${D}/${bindir}/pip
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164098): 
https://lists.openembedded.org/g/openembedded-core/message/164098
Mute This Topic: https://lists.openembedded.org/mt/90307722/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] python3-sphinx: upgrade 4.4.0 -> 4.5.0

2022-04-07 Thread xuhuan.f...@fujitsu.com
From: Xu Huan 

License-Update:
- The following description added to "License for Sphinx":
  # +Unless otherwise indicated, all code in the Sphinx project is licenced 
under the
  # +two clause BSD licence below.

Signed-off-by: Xu Huan 
---
 .../{python3-sphinx_4.4.0.bb => python3-sphinx_4.5.0.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-sphinx_4.4.0.bb => 
python3-sphinx_4.5.0.bb} (84%)

diff --git a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb 
b/meta/recipes-devtools/python/python3-sphinx_4.5.0.bb
similarity index 84%
rename from meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
rename to meta/recipes-devtools/python/python3-sphinx_4.5.0.bb
index 97ec2619cb..f4d27f3275 100644
--- a/meta/recipes-devtools/python/python3-sphinx_4.4.0.bb
+++ b/meta/recipes-devtools/python/python3-sphinx_4.5.0.bb
@@ -2,11 +2,11 @@ DESCRIPTION = "Python documentation generator"
 HOMEPAGE = "http://sphinx-doc.org/;
 SECTION = "devel/python"
 LICENSE = "BSD-2-Clause & MIT & BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=de4349dda741c550eb8b20f6b92f38d7"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=72c536e78c21c567311b193fe00cd253"
 
 PYPI_PACKAGE = "Sphinx"
 
-SRC_URI[sha256sum] = 
"6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0dd35cc"
+SRC_URI[sha256sum] = 
"7bf8ca9637a4ee15af412d1a1d9689fec70523a68ca9bb9127c2f3eeb344e2e6"
 
 inherit setuptools3 pypi
 
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164101): 
https://lists.openembedded.org/g/openembedded-core/message/164101
Mute This Topic: https://lists.openembedded.org/mt/90307725/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-