[oe] [meta-python][PATCH] python3-crc32c: Do not poke at build system for finding platform

2022-03-04 Thread Khem Raj
platform is target specific and when cross compiling it should be
detected differently, in this case lets pass it via environment so that
it can be set in recipe

Signed-off-by: Khem Raj 
Cc: Justin Bronder 
---
 ...p.py-Fix-determining-target-platform.patch | 34 +++
 .../python/python3-crc32c_2.2.post0.bb|  3 ++
 2 files changed, 37 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
 
b/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
new file mode 100644
index 00..b534c05e9a
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
@@ -0,0 +1,34 @@
+From 855428feb14c44762ea21a18b05638e3e6266ab5 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Thu, 3 Mar 2022 23:50:30 -0800
+Subject: [PATCH] setup.py: Fix determining target platform
+
+Do not poke at the build machine to determine target platform or architecture
+pass it from environment instead for cross compiling to work
+
+Upstream-Status: Inappropriate [OE-Specific]
+Signed-off-by: Khem Raj 
+---
+ setup.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/setup.py
 b/setup.py
+@@ -20,6 +20,7 @@
+ #MA 02111-1307  USA
+ #
+ import glob
++import os
+ import platform
+ 
+ import distutils.ccompiler
+@@ -58,7 +59,8 @@ class _build_ext(build_ext):
+ 
+ def run(self):
+ assert(len(self.distribution.ext_modules) == 1)
+-platform = self.platform.lower()
++platform = os.environ.get('PLATFORM', 'True')
++
+ is_intel = platform in ['x86_64', 'amd64', 'i386', 'i686']
+ is_arm = platform in ['aarch64_be', 'aarch64', 'armv8b', 'armv8l']
+ distutils.log.info("platform: %s, is_intel: %d, is_arm: %d", 
platform, is_intel, is_arm)
diff --git a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
index 0d51420939..040bbd320d 100644
--- a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
+++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
@@ -9,8 +9,11 @@ LIC_FILES_CHKSUM = " \
 
file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
 \
 "
 
+SRC_URI += "file://0001-setup.py-Fix-determining-target-platform.patch"
 SRC_URI[sha256sum] = 
"3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
 
 inherit pypi setuptools3
 
+export PLATFORM = "${TARGET_ARCH}"
+
 RDEPENDS:${PN} += "python3-core"
-- 
2.35.1


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



Re: [oe] python3-crc32c: add 2.2.post0

2022-03-04 Thread Khem Raj
On Thu, Mar 3, 2022 at 10:53 AM Justin Bronder  wrote:
>
> Ah right, this package only support arm or x86.  I'll send an update.

actually thats not the case, it tries to use SSE when target is x86
and crc extensions on aarch64, for
other architectures it uses general purpose instructions.
however it uses wrong way to detect platform by poking at build system
for platform architecture
I have sent a patch to fix it.

>
> On 02/03/22 18:47 -0800, Khem Raj wrote:
> > I am seeing a failure with clang on non x86 host. See
> >
> > https://errors.yoctoproject.org/Errors/Details/650724/
> >
> > On Mon, Feb 28, 2022 at 7:57 AM Justin Bronder  
> > wrote:
> > >
> > > Signed-off-by: Justin Bronder 
> > > ---
> > >  meta-python/licenses/CRC32C-ADLER| 15 +++
> > >  .../python/python3-crc32c_2.2.post0.bb   | 16 
> > >  2 files changed, 31 insertions(+)
> > >  create mode 100644 meta-python/licenses/CRC32C-ADLER
> > >  create mode 100644 
> > > meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > >
> > > diff --git a/meta-python/licenses/CRC32C-ADLER 
> > > b/meta-python/licenses/CRC32C-ADLER
> > > new file mode 100644
> > > index 00..f1f0e94ee0
> > > --- /dev/null
> > > +++ b/meta-python/licenses/CRC32C-ADLER
> > > @@ -0,0 +1,15 @@
> > > +This software is provided 'as-is', without any express or implied
> > > +warranty.  In no event will the author be held liable for any damages
> > > +arising from the use of this software.
> > > +
> > > +Permission is granted to anyone to use this software for any purpose,
> > > +including commercial applications, and to alter it and redistribute it
> > > +freely, subject to the following restrictions:
> > > +
> > > +1. The origin of this software must not be misrepresented; you must not
> > > +   claim that you wrote the original software. If you use this software
> > > +   in a product, an acknowledgment in the product documentation would be
> > > +   appreciated but is not required.
> > > +2. Altered source versions must be plainly marked as such, and must not 
> > > be
> > > +   misrepresented as being the original software.
> > > +3. This notice may not be removed or altered from any source 
> > > distribution.
> > > diff --git 
> > > a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
> > > b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > new file mode 100644
> > > index 00..0d51420939
> > > --- /dev/null
> > > +++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > @@ -0,0 +1,16 @@
> > > +SUMMARY = "A python package implementing the crc32c algorithmin hardware 
> > > and software"
> > > +HOMEPAGE = "https://github.com/ICRAR/crc32c";
> > > +
> > > +LICENSE = "BSD-2-Clause & BSD-3-Clause & CRC32C-ADLER & LGPL-2.0+"
> > > +LIC_FILES_CHKSUM = " \
> > > +file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
> > > +file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \
> > > +file://LICENSE.slice-by-8;md5=6b3bc7709d6b2db6646ec2467310ff6b \
> > > +
> > > file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
> > >  \
> > > +"
> > > +
> > > +SRC_URI[sha256sum] = 
> > > "3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
> > > +
> > > +inherit pypi setuptools3
> > > +
> > > +RDEPENDS:${PN} += "python3-core"
> > > --
> > > 2.35.1
> > >
> > >
> > > 
> > >
>
> --
> Justin Bronder

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



[oe] [meta-initramfs][PATCH 04/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb| 2 +-
 meta-initramfs/recipes-devtools/dracut/dracut_055.bb | 2 +-
 meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb| 2 +-
 meta-initramfs/recipes-devtools/grubby/grubby_git.bb | 2 +-
 meta-initramfs/recipes-devtools/klibc/klibc.inc  | 2 +-
 meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb | 2 +-
 meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb 
b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb
index 08d983e625..9f7a214d8b 100644
--- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb
+++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb
@@ -1,7 +1,7 @@
 SUMMARY = "kexecboot linux-as-bootloader"
 DESCRIPTION = "kexecboot is a graphical linux-as-bootloader implementation 
based on kexec."
 HOMEPAGE = "http://kexecboot.org";
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 PV = "0.6+git${SRCPV}"
 S = "${WORKDIR}/git"
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_055.bb 
b/meta-initramfs/recipes-devtools/dracut/dracut_055.bb
index 3eee6669a3..a8fc5462f7 100644
--- a/meta-initramfs/recipes-devtools/dracut/dracut_055.bb
+++ b/meta-initramfs/recipes-devtools/dracut/dracut_055.bb
@@ -2,7 +2,7 @@ SUMMARY = "Initramfs generator using udev"
 HOMEPAGE = "https://dracut.wiki.kernel.org/index.php/Main_Page";
 DESCRIPTION = "Dracut is an event driven initramfs infrastructure. dracut (the 
tool) is used to create an initramfs image by copying tools and files from an 
installed system and combining it with the dracut framework, usually found in 
/usr/lib/dracut/modules.d."
 
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 PE = "1"
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb 
b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
index b224a5c255..307c0e85d8 100644
--- a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
+++ b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
@@ -5,7 +5,7 @@ zipl (s390) boot loaders. It is primarily designed to be used 
from scripts which
 new kernels and need to find information about the current boot environment. \
 "
 HOMEPAGE = "https://github.com/rhboot/grubby";
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
 
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb 
b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
index 43fcc1aee8..a276bf423c 100644
--- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
+++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
@@ -5,7 +5,7 @@ zipl (s390) boot loaders. It is primarily designed to be used 
from scripts which
 new kernels and need to find information about the current boot environment. \
 "
 HOMEPAGE = "https://github.com/rhboot/grubby";
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
 
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc 
b/meta-initramfs/recipes-devtools/klibc/klibc.inc
index 1a188a6faf..ceb4f5ad3b 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "klibc is intended to be a minimalistic libc 
subset for \
 use with initramfs.  It is deliberately written for small size, \
 minimal entaglement, and portability, not speed."
 SECTION = "libs"
-LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib"
+LICENSE = "BSD-3-Clause & GPL-2.0-only & MIT & Zlib"
 LIC_FILES_CHKSUM = 
"file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b"
 DEPENDS = "linux-libc-headers perl-native"
 
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb 
b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb
index e5446c1806..8b91fb4b93 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Small sized tools from mtd-utils for use with 
initramfs."
 SECTION = "base"
 DEPENDS = "zlib lzo e2fsprogs util-linux"
 HOMEPAGE = "http://www.linux-mtd.infradead.org/";
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 
file://include/common.h;beginline=1;endline=17;md5=ba05b07912a44ea2bf81ce409380049c"
 
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb 
b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
index a588296c05..88f32c8182 100644
--- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
+++ b/meta-initramfs/recipes-ke

[oe] [meta-multimedia][PATCH 05/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb | 2 +-
 meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.12.0.bb | 2 +-
 meta-multimedia/recipes-connectivity/gupnp/gupnp-igd_1.2.0.bb   | 2 +-
 .../recipes-connectivity/gupnp/gupnp-tools_0.10.2.bb| 2 +-
 meta-multimedia/recipes-connectivity/rygel/rygel_0.38.3.bb  | 2 +-
 meta-multimedia/recipes-dvb/oscam/oscam_svn.bb  | 2 +-
 meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb  | 2 +-
 meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb| 2 +-
 meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.4.1.bb| 2 +-
 meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal_0.6.bb | 2 +-
 meta-multimedia/recipes-multimedia/caps/caps_0.9.26.bb  | 2 +-
 .../recipes-multimedia/cdparanoia/cdparanoia_10.2.bb| 2 +-
 meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb  | 2 +-
 .../recipes-multimedia/dleyna/dleyna-connector-dbus_0.3.0.bb| 2 +-
 meta-multimedia/recipes-multimedia/dleyna/dleyna-core_0.6.0.bb  | 2 +-
 .../recipes-multimedia/dleyna/dleyna-renderer_0.6.0.bb  | 2 +-
 .../recipes-multimedia/dleyna/dleyna-server_0.6.0.bb| 2 +-
 meta-multimedia/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb   | 2 +-
 meta-multimedia/recipes-multimedia/faac/faac_1.29.9.2.bb| 2 +-
 meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc| 2 +-
 meta-multimedia/recipes-multimedia/gerbera/gerbera_1.9.2.bb | 2 +-
 .../recipes-multimedia/gstreamer-1.0/gst-shark_git.bb   | 2 +-
 meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb| 2 +-
 meta-multimedia/recipes-multimedia/juce/projucer.inc| 2 +-
 meta-multimedia/recipes-multimedia/libao/libao_1.2.0.bb | 2 +-
 .../recipes-multimedia/libavc1394/libavc1394_0.5.4.bb   | 2 +-
 meta-multimedia/recipes-multimedia/libcamera/libcamera.bb   | 2 +-
 meta-multimedia/recipes-multimedia/libdc1394/libdc1394_2.2.6.bb | 2 +-
 meta-multimedia/recipes-multimedia/libde265/libde265_1.0.5.bb   | 2 +-
 meta-multimedia/recipes-multimedia/libdvbcsa/libdvbcsa_1.1.0.bb | 2 +-
 meta-multimedia/recipes-multimedia/libdvbpsi/libdvbpsi_1.3.0.bb | 2 +-
 meta-multimedia/recipes-multimedia/libdvdnav/libdvdnav_6.1.1.bb | 2 +-
 .../recipes-multimedia/libiec61883/libiec61883_1.2.0.bb | 2 +-
 meta-multimedia/recipes-multimedia/mimic/mimic_1.3.0.1.bb   | 2 +-
 .../recipes-multimedia/musicbrainz/libmusicbrainz_git.bb| 2 +-
 meta-multimedia/recipes-multimedia/musicpd/libmpd_11.8.17.bb| 2 +-
 meta-multimedia/recipes-multimedia/musicpd/mpc_0.33.bb  | 2 +-
 meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.5.bb| 2 +-
 meta-multimedia/recipes-multimedia/musicpd/ncmpc_0.45.bb| 2 +-
 meta-multimedia/recipes-multimedia/openal/openal-soft_1.20.1.bb | 2 +-
 meta-multimedia/recipes-multimedia/opus-tools/opus-tools_0.2.bb | 2 +-
 meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb | 2 +-
 meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb | 2 +-
 .../recipes-multimedia/schroedinger/schroedinger_1.0.11.bb  | 2 +-
 meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb| 2 +-
 .../recipes-multimedia/streamripper/streamripper_1.64.6.bb  | 2 +-
 meta-multimedia/recipes-multimedia/vlc/libdvdcss_1.4.2.bb   | 2 +-
 meta-multimedia/recipes-multimedia/vlc/vlc_3.0.17-1.bb  | 2 +-
 .../recipes-multimedia/vorbis-tools/vorbis-tools_1.4.2.bb   | 2 +-
 meta-multimedia/recipes-multimedia/x265/x265_3.2.1.bb   | 2 +-
 .../recipes-support/gst-instruments/gst-instruments_git.bb  | 2 +-
 .../recipes-support/libmediaart/libmediaart-2.0_1.9.5.bb| 2 +-
 52 files changed, 52 insertions(+), 52 deletions(-)

diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb 
b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
index 97b0bbd287..1d8cbb1aea 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "GSSDP implements resource discovery and 
announcement over SSDP \
(Simpe Service Discovery Protocol)."
 HOMEPAGE = "https://gitlab.gnome.org/GNOME/gssdp/";
 BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues";
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/1.4/${BPN}-${PV}.tar.xz"
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.12.0.bb 
b/meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.12.0.bb
index e1758c19b2..8dc5fce199 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.12.0.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp-dlna_0.12.0.bb
@@ -1,5 +1,5 @@
 SUMMARY = "Helpers for AV applications using DLNA"
-LICENSE = "LGPLv2"
+LICENSE 

[oe] [meta-perl][PATCH 07/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-perl/recipes-extended/logcheck/logcheck_1.3.23.bb  | 2 +-
 .../recipes-extended/mime-construct/mime-construct_1.11.bb  | 2 +-
 meta-perl/recipes-perl/adduser/adduser_3.118.bb | 2 +-
 .../recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb| 2 +-
 meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb| 2 +-
 meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb  | 2 +-
 meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb   | 2 +-
 .../libclass/libclass-method-modifiers-perl_2.13.bb | 2 +-
 .../recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb | 2 +-
 .../recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb   | 2 +-
 .../recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb  | 2 +-
 .../recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.32.bb | 2 +-
 meta-perl/recipes-perl/libcurses/libcurses-perl_1.38.bb | 2 +-
 meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.68.bb | 2 +-
 .../libdevel/libdevel-globaldestruction-perl_0.14.bb| 2 +-
 meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb| 2 +-
 meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb| 2 +-
 meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb  | 2 +-
 meta-perl/recipes-perl/libencode/libencode-perl_3.16.bb | 2 +-
 meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb   | 2 +-
 .../recipes-perl/libextutils/libextutils-config-perl_0.008.bb   | 2 +-
 .../recipes-perl/libextutils/libextutils-cppguess-perl_0.23.bb  | 2 +-
 .../recipes-perl/libextutils/libextutils-helpers-perl_0.026.bb  | 2 +-
 .../libextutils/libextutils-installpaths-perl_0.012.bb  | 2 +-
 .../recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb   | 2 +-
 meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb| 2 +-
 meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.013.bb| 2 +-
 meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb  | 2 +-
 meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb  | 2 +-
 meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb| 2 +-
 .../recipes-perl/libimport/libimport-into-perl_1.002004.bb  | 2 +-
 meta-perl/recipes-perl/libio/compress-raw-bzip2-perl_2.096.bb   | 2 +-
 meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb| 2 +-
 meta-perl/recipes-perl/libio/compress-raw-zlib-perl_2.096.bb| 2 +-
 meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb | 2 +-
 meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb  | 2 +-
 meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.074.bb | 2 +-
 meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb| 2 +-
 meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb| 2 +-
 meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb | 2 +-
 meta-perl/recipes-perl/libmime/libmime-charset-perl_1.012.2.bb  | 2 +-
 meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb   | 2 +-
 .../recipes-perl/libmodule/libmodule-build-tiny-perl_0.039.bb   | 2 +-
 .../recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb  | 2 +-
 .../recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb  | 2 +-
 meta-perl/recipes-perl/libmoo/libmoo-perl_2.005004.bb   | 2 +-
 meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb  | 2 +-
 meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb| 2 +-
 meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb| 2 +-
 meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb| 2 +-
 meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb| 2 +-
 meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb| 2 +-
 meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb| 2 +-
 .../recipes-perl/libstrictures/libstrictures-perl_2.06.bb   | 2 +-
 .../libsub/libsub-exporter-progressive-perl_0.001013.bb | 2 +-
 meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb | 2 +-
 meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb | 2 +-
 meta-perl/recipes-perl/libtest/libtest-deep-perl_1.130.bb   | 2 +-
 meta-perl/recipes-perl/libtest/libtest-harness-perl_3.42.bb | 2 +-
 meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb  | 2 +-
 meta-perl/recipes-perl/libtest/libtest-warn-perl_0.36.bb| 2 +-
 meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.031.bb   | 2 +-
 meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb   | 2 +-
 meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb| 2 +-
 meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb| 2 +-
 meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb| 2 +-
 .../libunicode/libunicode-linebreak-perl_2019.001.bb| 2 +-
 .../recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb   | 2 +-
 meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb  | 2 +-
 m

[oe] [meta-gnome][PATCH 03/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb   | 2 +-
 meta-gnome/recipes-connectivity/geary/geary_40.0.bb | 2 +-
 meta-gnome/recipes-connectivity/libnma/libnma_1.8.34.bb | 2 +-
 .../network-manager-applet/network-manager-applet_1.24.0.bb | 2 +-
 meta-gnome/recipes-extended/gparted/gparted_1.3.1.bb| 2 +-
 meta-gnome/recipes-gimp/babl/babl_0.1.90.bb | 2 +-
 meta-gnome/recipes-gimp/gegl/gegl_0.4.36.bb | 2 +-
 meta-gnome/recipes-gimp/gimp/gimp_2.10.30.bb| 2 +-
 meta-gnome/recipes-gnome/amtk/amtk_5.3.1.bb | 2 +-
 meta-gnome/recipes-gnome/dconf/dconf-editor_3.38.3.bb   | 2 +-
 meta-gnome/recipes-gnome/dconf/dconf_0.40.0.bb  | 2 +-
 meta-gnome/recipes-gnome/devilspie/devilspie2_0.44.bb   | 2 +-
 meta-gnome/recipes-gnome/evince/evince_41.3.bb  | 2 +-
 .../evolution-data-server/evolution-data-server.inc | 2 +-
 .../recipes-gnome/faenza-icon-theme/faenza-icon-theme_1.3.bb| 2 +-
 meta-gnome/recipes-gnome/file-roller/file-roller_3.40.0.bb  | 2 +-
 meta-gnome/recipes-gnome/gdm/gdm_41.0.bb| 2 +-
 meta-gnome/recipes-gnome/gedit/gedit_41.0.bb| 2 +-
 meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.2.bb| 2 +-
 meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb| 2 +-
 meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb | 2 +-
 meta-gnome/recipes-gnome/ghex/ghex_3.18.4.bb| 2 +-
 meta-gnome/recipes-gnome/gnome-autoar/gnome-autoar_0.4.3.bb | 2 +-
 .../recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.34.5.bb | 2 +-
 .../recipes-gnome/gnome-calculator/gnome-calculator_41.1.bb | 2 +-
 meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_41.2.bb  | 2 +-
 .../gnome-control-center/gnome-control-center_41.2.bb   | 2 +-
 meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_41.2.bb| 2 +-
 .../recipes-gnome/gnome-disk-utility/gnome-disk-utility_41.0.bb | 2 +-
 .../recipes-gnome/gnome-flashback/gnome-flashback_3.42.1.bb | 2 +-
 .../recipes-gnome/gnome-font-viewer/gnome-font-viewer_41.0.bb   | 2 +-
 meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_40.0.bb| 2 +-
 meta-gnome/recipes-gnome/gnome-menus/gnome-menus_3.36.0.bb  | 2 +-
 .../gnome-online-accounts/gnome-online-accounts_3.43.1.bb   | 2 +-
 meta-gnome/recipes-gnome/gnome-panel/gnome-panel_3.42.0.bb  | 2 +-
 meta-gnome/recipes-gnome/gnome-photos/gnome-photos_40.0.bb  | 2 +-
 .../recipes-gnome/gnome-screenshot/gnome-screenshot_41.0.bb | 2 +-
 meta-gnome/recipes-gnome/gnome-session/gnome-session_41.3.bb| 2 +-
 .../gnome-settings-daemon/gnome-settings-daemon_41.0.bb | 2 +-
 .../recipes-gnome/gnome-shell/gnome-shell-extensions_41.1.bb| 2 +-
 meta-gnome/recipes-gnome/gnome-shell/gnome-shell_41.2.bb| 2 +-
 .../gnome-system-monitor/gnome-system-monitor_41.0.bb   | 2 +-
 .../recipes-gnome/gnome-terminal/gnome-terminal_3.42.2.bb   | 2 +-
 meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_40.0.bb  | 2 +-
 meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.14.bb  | 2 +-
 meta-gnome/recipes-gnome/grilo/grilo_0.3.14.bb  | 2 +-
 meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb | 2 +-
 meta-gnome/recipes-gnome/gspell/gspell_1.9.1.bb | 2 +-
 meta-gnome/recipes-gnome/gthumb/gthumb_3.12.0.bb| 2 +-
 .../gtksourceview/gtksourceview-classic-light_1.0.bb| 2 +-
 .../recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb   | 2 +-
 meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.2.bb  | 2 +-
 meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.2.0.bb  | 2 +-
 meta-gnome/recipes-gnome/gvfs/gvfs_1.49.1.bb| 2 +-
 meta-gnome/recipes-gnome/libchamplain/libchamplain_0.12.20.bb   | 2 +-
 meta-gnome/recipes-gnome/libgdata/libgdata_0.18.1.bb| 2 +-
 meta-gnome/recipes-gnome/libgsf/libgsf_1.14.48.bb   | 2 +-
 meta-gnome/recipes-gnome/libgtop/libgtop_2.40.0.bb  | 2 +-
 meta-gnome/recipes-gnome/libgweather/libgweather_40.0.bb| 2 +-
 meta-gnome/recipes-gnome/libportal/libportal_0.5.bb | 2 +-
 meta-gnome/recipes-gnome/libtimezonemap/libtimezonemap_0.4.6.bb | 2 +-
 meta-gnome/recipes-gnome/libwnck/libwnck3_40.1.bb   | 2 +-
 meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb  | 2 +-
 meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb | 2 +-
 meta-gnome/recipes-gnome/metacity/metacity_3.42.0.bb| 2 +-
 meta-gnome/recipes-gnome/mutter/mutter_41.2.bb  | 2 +-
 meta-gnome/recipes-gnome/nautilus/nautilus_41.2.bb  | 2 +-
 meta-gnome/recipes-gnome/rest/rest_0.8.1.bb | 2 +-
 meta-gnome/recipes-gnome/sysprof/sysprof_3.42.1.bb  | 2 +-
 m

[oe] [meta-webserver][PATCH 09/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-webserver/recipes-httpd/cherokee/cherokee_git.bb | 2 +-
 meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb   | 2 +-
 meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb | 2 +-
 meta-webserver/recipes-webadmin/cockpit/cockpit_220.bb| 2 +-
 meta-webserver/recipes-webadmin/netdata/netdata_1.33.1.bb | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb 
b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
index 16733c6621..7100ef4341 100644
--- a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
+++ b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
@@ -2,7 +2,7 @@ SUMMARY = "Cherokee Web Server fast and secure"
 SUMMARY:cget = "Small downloader based in the Cherokee client library"
 HOMEPAGE = "http://www.cherokee-project.com/";
 SECTION = "network"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "unzip-native libpcre openssl mysql5 
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb 
b/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb
index f13f144fcc..2e848eaf56 100644
--- a/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb
+++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb
@@ -1,6 +1,6 @@
 SUMMARY = "Lightweight secure web server"
 HOMEPAGE = "http://www.hiawatha-webserver.org";
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 DEPENDS = "libxml2 libxslt virtual/crypt"
 
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb 
b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb
index dca476cede..7ccc05ec3e 100644
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb
+++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.3.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Web-based MySQL administration interface"
 HOMEPAGE = "http://www.phpmyadmin.net";
 # Main code is GPLv2, vendor/tecnickcom/tcpdf is under LGPLv3, js/jquery is 
under MIT
-LICENSE = "GPLv2 & LGPLv3 & MIT"
+LICENSE = "GPL-2.0-only & LGPL-3.0-only & MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://vendor/tecnickcom/tcpdf/LICENSE.TXT;md5=dd6470bbcd3436ca317f82d34abaf688 
\
 
file://js/vendor/jquery/MIT-LICENSE.txt;md5=de877aa6d744cc160ff41c26a8e4811f \
diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_220.bb 
b/meta-webserver/recipes-webadmin/cockpit/cockpit_220.bb
index 7c3c17cd78..58dbad31b1 100644
--- a/meta-webserver/recipes-webadmin/cockpit/cockpit_220.bb
+++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_220.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Admin interface for Linux machines"
 DESCRIPTION = "Cockpit makes it easy to administer your GNU/Linux servers via 
a web browser"
 
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI += " \
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.33.1.bb 
b/meta-webserver/recipes-webadmin/netdata/netdata_1.33.1.bb
index 3336b43c56..012efc0682 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_1.33.1.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_1.33.1.bb
@@ -2,7 +2,7 @@ SUMMARY = "Real-time performance monitoring"
 DESCRIPTION = "Netdata is high-fidelity infrastructure monitoring and 
troubleshooting. \
Open-source, free, preconfigured, opinionated, and always 
real-time."
 HOMEPAGE = "https://github.com/netdata/netdata/";
-LICENSE = "GPLv3"
+LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
 
 DEPENDS += "libuv util-linux zlib"
-- 
2.35.1


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



[oe] [meta-xfce][PATCH 10/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb| 2 +-
 meta-xfce/recipes-apps/gigolo/gigolo_0.5.2.bb   | 2 +-
 meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb | 2 +-
 meta-xfce/recipes-apps/mousepad/mousepad_0.5.8.bb   | 2 +-
 meta-xfce/recipes-apps/orage/orage_4.12.1.bb| 2 +-
 meta-xfce/recipes-apps/ristretto/ristretto_0.12.1.bb| 2 +-
 meta-xfce/recipes-apps/xarchiver/xarchiver_git.bb   | 2 +-
 meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.3.bb   | 2 +-
 .../xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb   | 2 +-
 meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.6.2.bb | 2 +-
 .../xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb | 2 +-
 .../recipes-apps/xfce4-screensaver/xfce4-screensaver_4.16.0.bb  | 2 +-
 .../xfce4-screenshooter/xfce4-screenshooter_1.9.9.bb| 2 +-
 .../recipes-apps/xfce4-taskmanager/xfce4-taskmanager_1.5.2.bb   | 2 +-
 meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.10.bb  | 2 +-
 .../recipes-art/rodent-icon-theme/rodent-icon-theme_5.0.bb  | 2 +-
 meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb  | 2 +-
 meta-xfce/recipes-art/xfwm4-themes/xfwm4-themes_4.10.0.bb   | 2 +-
 meta-xfce/recipes-bindings/vala/xfce4-vala_4.10.3.bb| 2 +-
 meta-xfce/recipes-extended/imsettings/imsettings_1.8.3.bb   | 2 +-
 meta-xfce/recipes-multimedia/parole/parole_4.16.0.bb| 2 +-
 .../xfce4-mpc-plugin/xfce4-mpc-plugin_0.5.2.bb  | 2 +-
 meta-xfce/recipes-multimedia/xfmpc/xfmpc_0.3.0.bb   | 2 +-
 .../recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.4.bb | 2 +-
 .../calculator/xfce4-calculator-plugin_0.7.1.bb | 2 +-
 .../recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.6.2.bb | 2 +-
 .../closebutton/xfce4-closebutton-plugin_git.bb | 2 +-
 .../recipes-panel-plugins/cpufreq/xfce4-cpufreq-plugin_1.2.5.bb | 2 +-
 .../cpugraph/xfce4-cpugraph-plugin_1.2.5.bb | 2 +-
 .../datetime/xfce4-datetime-plugin_0.8.1.bb | 2 +-
 meta-xfce/recipes-panel-plugins/eyes/xfce4-eyes-plugin_4.5.1.bb | 2 +-
 .../recipes-panel-plugins/genmon/xfce4-genmon-plugin_4.1.1.bb   | 2 +-
 .../mailwatch/xfce4-mailwatch-plugin_1.3.0.bb   | 2 +-
 .../recipes-panel-plugins/mount/xfce4-mount-plugin_1.1.5.bb | 2 +-
 .../recipes-panel-plugins/netload/xfce4-netload-plugin_1.4.0.bb | 2 +-
 .../recipes-panel-plugins/notes/xfce4-notes-plugin_1.9.0.bb | 2 +-
 .../recipes-panel-plugins/places/xfce4-places-plugin_1.8.1.bb   | 2 +-
 .../pulseaudio/xfce4-pulseaudio-plugin_0.4.3.bb | 2 +-
 .../recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.4.2.bb | 2 +-
 .../smartbookmark/xfce4-smartbookmark-plugin_0.5.2.bb   | 2 +-
 .../time-out/xfce4-time-out-plugin_1.1.2.bb | 2 +-
 .../recipes-panel-plugins/timer/xfce4-timer-plugin_1.7.1.bb | 2 +-
 .../recipes-panel-plugins/verve/xfce4-verve-plugin_2.0.1.bb | 2 +-
 .../weather/xfce4-weather-plugin_0.11.0.bb  | 2 +-
 .../whiskermenu/xfce4-whiskermenu-plugin_2.7.1.bb   | 2 +-
 meta-xfce/recipes-panel-plugins/xkb/xfce4-xkb-plugin_0.8.2.bb   | 2 +-
 .../archive/thunar-archive-plugin_0.4.0.bb  | 2 +-
 .../media-tags/thunar-media-tags-plugin_0.3.0.bb| 2 +-
 .../recipes-thunar-plugins/shares/thunar-shares-plugin_0.3.1.bb | 2 +-
 meta-xfce/recipes-xfce/exo/exo_4.16.3.bb| 2 +-
 meta-xfce/recipes-xfce/garcon/garcon_4.16.1.bb  | 2 +-
 meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb  | 2 +-
 meta-xfce/recipes-xfce/libxfce4util/libxfce4util_4.16.0.bb  | 2 +-
 meta-xfce/recipes-xfce/thunar-volman/thunar-volman_4.16.0.bb| 2 +-
 meta-xfce/recipes-xfce/thunar/thunar_4.16.9.bb  | 2 +-
 meta-xfce/recipes-xfce/tumbler/tumbler_4.16.0.bb| 2 +-
 .../recipes-xfce/xfce4-appfinder/xfce4-appfinder_4.16.1.bb  | 2 +-
 .../recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.16.0.bb  | 2 +-
 meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.16.3.bb| 2 +-
 .../xfce4-power-manager/xfce4-power-manager_4.16.0.bb   | 2 +-
 meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.16.0.bb| 2 +-
 meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.2.bb  | 2 +-
 meta-xfce/recipes-xfce/xfconf/xfconf_4.16.0.bb  | 2 +-
 meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.16.0.bb| 2 +-
 meta-xfce/recipes-xfce/xfwm4/xfwm4_4.16.1.bb| 2 +-
 65 files changed, 65 insertions(+), 65 deletions(-)

diff --git a/meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb 
b/meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb
index 853d77e395..6aa5ae8c30 100644
--- a/meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb
+++ b/meta-xfce/recipes-apps/ca

[oe] [meta-python][PATCH 08/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb | 2 +-
 meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-argh_0.26.2.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-astroid_2.9.3.bb| 2 +-
 meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb | 2 +-
 meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-can_3.3.4.bb| 2 +-
 meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb| 2 +-
 .../recipes-devtools/python/python3-contextlib2_21.6.0.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb | 2 +-
 meta-python/recipes-devtools/python/python3-cvxopt_1.2.7.bb | 2 +-
 meta-python/recipes-devtools/python/python3-dbussy_1.3.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-defusedxml_0.7.1.bb | 2 +-
 meta-python/recipes-devtools/python/python3-dominate_2.6.0.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-gmpy2_2.1.2.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-greenlet_1.1.2.bb   | 2 +-
 .../recipes-devtools/python/python3-html2text_2020.1.16.bb  | 2 +-
 .../recipes-devtools/python/python3-intervals_1.10.0.post1.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-langtable_0.0.57.bb | 2 +-
 meta-python/recipes-devtools/python/python3-lrparsing_1.0.17.bb | 2 +-
 meta-python/recipes-devtools/python/python3-lxml_4.7.1.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb | 2 +-
 meta-python/recipes-devtools/python/python3-nocasedict_1.0.2.bb | 2 +-
 meta-python/recipes-devtools/python/python3-obd_0.7.1.bb| 2 +-
 meta-python/recipes-devtools/python/python3-paramiko_2.9.2.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-portion_2.2.0.bb| 2 +-
 meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb  | 2 +-
 .../recipes-devtools/python/python3-pyalsaaudio_0.9.0.bb| 2 +-
 meta-python/recipes-devtools/python/python3-pyatspi_2.38.2.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-pybluez_0.23.bb | 2 +-
 meta-python/recipes-devtools/python/python3-pycurl_7.44.1.bb| 2 +-
 meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb | 2 +-
 meta-python/recipes-devtools/python/python3-pyiface_git.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-pylint_1.8.3.bb | 2 +-
 meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-pystemd_0.8.0.bb| 2 +-
 .../recipes-devtools/python/python3-python-vlc_3.0.12118.bb | 2 +-
 meta-python/recipes-devtools/python/python3-pyudev_0.23.2.bb| 2 +-
 meta-python/recipes-devtools/python/python3-pyzmq_22.3.0.bb | 2 +-
 meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-smbus_4.3.bb| 2 +-
 meta-python/recipes-devtools/python/python3-smpplib_2.2.1.bb| 2 +-
 meta-python/recipes-devtools/python/python3-systemd_234.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-term_2.3.bb | 2 +-
 .../python/python3-typing-extensions_3.10.0.0.bb| 2 +-
 .../recipes-devtools/python/python3-versiontools_1.9.1.bb   | 2 +-
 meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb  | 2 +-
 .../python/python3-xstatic-font-awesome_4.7.0.0.bb  | 2 +-
 meta-python/recipes-devtools/python/python3-zeroconf_0.38.1.bb  | 2 +-
 .../unattended-upgrades/unattended-upgrades_2.6.bb  | 2 +-
 .../recipes-extended/python-blivet/python3-blivet_3.4.3.bb  | 2 +-
 .../recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb   | 2 +-
 meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb   | 2 +-
 .../python-pykickstart/python3-pykickstart_3.34.bb  | 2 +-
 .../recipes-extended/python-pyparted/python3-pyparted_3.11.7.bb | 2 +-
 .../python3-portalocker/python3-portalocker_2.3.2.bb| 2 +-
 meta-python/recipes-extended/pywbem/python3-pywbem_1.3.0.bb | 2 +-
 59 files changed, 59 insertions(+), 59 deletions(-)

diff --git 
a/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb 
b/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb
index 1e9ba9e140..f5e2f67b35 100644
--- a/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb
+++ b/meta-python/recipes-connectivity/telepathy/telepathy-python3_0.15.19.bb
@@ -1,6 +1,6 @@
 SUMMARY = "Telepathy IM framework - Python package"
 HOMEPAGE = "http://telepathy.freedesktop.org/wiki/";
-LICENSE = "LGPLv2.1+"
+LICENSE = "LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
 
file://src/utils.py;beginline=1;endline=1

[oe] [meta-networking][PATCH 06/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-networking/recipes-connectivity/adcli/adcli_0.9.0.bb | 2 +-
 .../recipes-connectivity/blueman/blueman_2.2.3.bb | 2 +-
 meta-networking/recipes-connectivity/bluepy/bluepy_git.bb | 2 +-
 .../recipes-connectivity/cannelloni/cannelloni_1.0.0.bb   | 2 +-
 meta-networking/recipes-connectivity/daq/daq_2.0.7.bb | 2 +-
 .../recipes-connectivity/dibbler/dibbler_git.bb   | 2 +-
 .../ez-ipupdate/ez-ipupdate_3.0.11b7.bb   | 2 +-
 .../recipes-connectivity/firewalld/firewalld_0.9.4.bb | 2 +-
 .../recipes-connectivity/freeradius/freeradius_3.0.21.bb  | 2 +-
 meta-networking/recipes-connectivity/lftp/lftp_4.9.2.bb   | 2 +-
 .../recipes-connectivity/libiec61850/libiec61850_1.5.0.bb | 2 +-
 .../recipes-connectivity/nanomsg/nanomsg_1.1.5.bb | 2 +-
 .../recipes-connectivity/netplan/netplan_0.104.bb | 2 +-
 .../networkmanager/networkmanager-openvpn_1.8.16.bb   | 2 +-
 .../recipes-connectivity/openconnect/openconnect_8.20.bb  | 2 +-
 meta-networking/recipes-connectivity/rdate/rdate_1.5.bb   | 2 +-
 meta-networking/recipes-connectivity/relayd/relayd_git.bb | 2 +-
 .../recipes-connectivity/samba/samba_4.14.12.bb   | 2 +-
 .../recipes-connectivity/sethdlc/sethdlc_1.18.bb  | 2 +-
 .../recipes-connectivity/snort/snort_2.9.19.bb| 2 +-
 meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb| 2 +-
 meta-networking/recipes-connectivity/vlan/vlan_1.9.bb | 2 +-
 meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb   | 2 +-
 .../recipes-connectivity/wolfssl/wolfssl_5.2.0.bb | 2 +-
 meta-networking/recipes-daemons/atftp/atftp_0.7.5.bb  | 2 +-
 meta-networking/recipes-daemons/autofs/autofs_5.1.8.bb| 2 +-
 .../recipes-daemons/igmpproxy/igmpproxy_0.3.bb| 2 +-
 meta-networking/recipes-daemons/ippool/ippool_1.3.bb  | 2 +-
 .../iscsi-initiator-utils/iscsi-initiator-utils_2.1.6.bb  | 2 +-
 .../recipes-daemons/keepalived/keepalived_2.2.2.bb| 2 +-
 .../networkd-dispatcher/networkd-dispatcher_2.1.bb| 2 +-
 .../recipes-daemons/opensaf/opensaf_5.22.01.bb| 2 +-
 meta-networking/recipes-daemons/proftpd/proftpd_1.3.7a.bb | 2 +-
 .../recipes-daemons/pure-ftpd/pure-ftpd_1.0.50.bb | 2 +-
 meta-networking/recipes-daemons/squid/squid_4.15.bb   | 2 +-
 meta-networking/recipes-daemons/vblade/vblade_25.bb   | 2 +-
 meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.5.bb| 2 +-
 .../recipes-devtools/python/python3-ldap_3.4.0.bb | 2 +-
 .../recipes-devtools/python/python3-scapy_2.4.5.bb| 2 +-
 meta-networking/recipes-extended/dlm/dlm_4.0.9.bb | 2 +-
 .../recipes-extended/kronosnet/kronosnet_1.22.bb  | 2 +-
 .../arno-iptables-firewall_2.1.1.bb   | 2 +-
 .../conntrack-tools/conntrack-tools_1.4.6.bb  | 2 +-
 .../recipes-filter/ebtables/ebtables_2.0.11.bb| 2 +-
 meta-networking/recipes-filter/ipset/ipset_7.15.bb| 2 +-
 .../libnetfilter/libnetfilter-acct_1.0.3.bb   | 2 +-
 .../libnetfilter/libnetfilter-conntrack_1.0.8.bb  | 2 +-
 .../libnetfilter/libnetfilter-cthelper_1.0.0.bb   | 2 +-
 .../libnetfilter/libnetfilter-cttimeout_1.0.0.bb  | 2 +-
 .../recipes-filter/libnetfilter/libnetfilter-log_1.0.2.bb | 2 +-
 .../libnetfilter/libnetfilter-queue_1.0.5.bb  | 2 +-
 .../recipes-filter/libnfnetlink/libnfnetlink_1.0.1.bb | 2 +-
 meta-networking/recipes-filter/libnftnl/libnftnl_1.2.1.bb | 2 +-
 meta-networking/recipes-filter/nfacct/nfacct_1.0.2.bb | 2 +-
 meta-networking/recipes-filter/nftables/nftables_1.0.1.bb | 2 +-
 meta-networking/recipes-irc/weechat/weechat_3.4.bb| 2 +-
 meta-networking/recipes-irc/znc/znc_1.8.2.bb  | 2 +-
 meta-networking/recipes-kernel/wireguard/wireguard.inc| 2 +-
 .../recipes-protocols/nopoll/nopoll_0.4.6.b400.bb | 2 +-
 meta-networking/recipes-protocols/openflow/openflow.inc   | 2 +-
 .../recipes-protocols/openl2tp/openl2tp_1.8.bb| 2 +-
 .../recipes-protocols/openlldp/openlldp_1.0.1.bb  | 2 +-
 .../recipes-protocols/pptp-linux/pptp-linux_1.10.0.bb | 2 +-
 meta-networking/recipes-protocols/quagga/quagga.inc   | 2 +-
 .../recipes-protocols/rp-pppoe/rp-pppoe_3.13.bb   | 2 +-
 .../recipes-protocols/tsocks/tsocks_1.8beta5.bb   | 2 +-
 meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.16.bb | 2 +-
 .../recipes-protocols/zeroconf/zeroconf_0.9.bb| 2 +-
 meta-networking/recipes-support/aoetools/aoetools_36.bb   | 2 +-
 .../recipes-support/arptables/arptables_git.bb| 2 +-
 .../recipes-support/bridge-utils/bridge-utils_1.7.1.bb| 2 +-
 meta-networking/recipes-support/chrony/chrony_4.2.bb  | 2 +-
 meta-networking/recipes-support/cifs/cifs-utils_6.14.bb   | 2 +-
 meta-networking/recipes-support/dnsmasq/dnsmasq.inc   | 2 +-
 meta-networking/recipes-support/dovecot/dovecot_2.3.14.bb | 2 +-
 meta-networking/rec

[oe] [meta-filesystems][PATCH 02/10] recipes: Update LICENSE variable to use SPDX license identifiers

2022-03-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../recipes-filesystems/fuse-exfat/fuse-exfat_1.3.0.bb| 2 +-
 .../recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb | 2 +-
 meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb | 2 +-
 .../recipes-filesystems/logfsprogs/logfsprogs_git.bb  | 2 +-
 .../ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2021.8.22.bb  | 2 +-
 meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb   | 2 +-
 .../recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb| 2 +-
 meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb | 2 +-
 .../recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.2.bb| 2 +-
 .../recipes-filesystems/yaffs2/yaffs2-utils_git.bb| 2 +-
 meta-filesystems/recipes-support/fuse/fuse3_3.10.5.bb | 2 +-
 meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb   | 2 +-
 meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb | 2 +-
 .../recipes-utils/exfat-utils/exfat-utils_1.3.0.bb| 2 +-
 .../recipes-utils/f2fs-tools/f2fs-tools_1.14.0.bb | 2 +-
 meta-filesystems/recipes-utils/fatresize/fatresize_1.1.0.bb   | 2 +-
 meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb | 2 +-
 meta-filesystems/recipes-utils/ufs-utils/ufs-utils_1.9.bb | 2 +-
 meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.10.bb  | 2 +-
 meta-filesystems/recipes-utils/xfsprogs/xfsprogs_5.13.0.bb| 4 ++--
 meta-filesystems/recipes-utils/xorriso/xorriso_1.5.5.bb   | 2 +-
 21 files changed, 22 insertions(+), 22 deletions(-)

diff --git 
a/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.3.0.bb 
b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.3.0.bb
index 2586b79470..ac18fe90fe 100644
--- a/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.3.0.bb
+++ b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.3.0.bb
@@ -5,7 +5,7 @@ is provided under the name mount.exfat-fuse. \
 "
 HOMEPAGE = "https://github.com/relan/exfat";
 SECTION = "universe/otherosfs"
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 SRC_URI = 
"https://github.com/relan/exfat/releases/download/v${PV}/${BP}.tar.gz";
 
diff --git a/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb 
b/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb
index 0895ce5b35..0086551f62 100644
--- a/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb
+++ b/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb
@@ -1,6 +1,6 @@
 SUMMARY = "This is a filesystem client based on the HTTP using FUSE"
 HOMEPAGE = "http://httpfs.sourceforge.net";
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = 
"file://debian/copyright;md5=83f224c5182f148ec92e0b9f84b3c6c7"
 
 inherit pkgconfig
diff --git a/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb 
b/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb
index 8a317cddbe..c9702eb93e 100644
--- a/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb
+++ b/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb
@@ -1,5 +1,5 @@
 SUMMARY = "A fuse filesystem to access the contents of an iPhone or iPod Touch"
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7"
 HOMEPAGE ="http://www.libimobiledevice.org/";
 
diff --git a/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb 
b/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb
index e4a0f95692..7d0a83609e 100644
--- a/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb
+++ b/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb
@@ -7,7 +7,7 @@ LogFS is included in the mainline Linux kernel and was 
introduced in \
 version 2.6.34, released on May 16, 2010."
 HOMEPAGE = "https://github.com/prasad-joshi/logfsprogs";
 SECTION = "base"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://fsck.c;md5=3859dc73da97909ff1d0125e88a27e02"
 DEPENDS = "zlib"
 
diff --git 
a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2021.8.22.bb
 
b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2021.8.22.bb
index 1ebbb410ee..aa1b4c2e95 100644
--- 
a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2021.8.22.bb
+++ 
b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2021.8.22.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "The NTFS-3G driver is an open source, freely 
available NTFS drive
 HOMEPAGE = "http://www.ntfs-3g.org/";
 DEPENDS = "fuse libgcrypt"
 PROVIDES = "ntfsprogs ntfs-3g"
-LICENSE = "GPLv2 & LGPLv2"
+LICENSE = "GPL-2.0-only & LGPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a"
 
diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.b

[oe] [meta-python][PATCH] python3-blivet: fix up base_libdir and update licence

2022-03-04 Thread kai
From: Kai Kang 

It fails to run do_install when multilib enabled that systemd service
files are installed in ${nonarch_base_libdir}.

And update LICENSE variable to use SPDX license identifiers as well.

Signed-off-by: Kai Kang 
---
 .../recipes-extended/python-blivet/python3-blivet_3.4.3.bb| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb 
b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
index 85575df7b..1d2add87a 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "A python module for system storage configuration"
 HOMEPAGE = "http://fedoraproject.org/wiki/blivet";
-LICENSE = "LGPLv2+"
+LICENSE = "LGPL-2.0-or-later"
 SECTION = "devel/python"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
@@ -26,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "systemd"
 do_install:append() {
 mv ${D}${PYTHON_SITEPACKAGES_DIR}${exec_prefix}/* ${D}${exec_prefix}
 mv ${D}${PYTHON_SITEPACKAGES_DIR}${sysconfdir} ${D}
-mv ${D}${PYTHON_SITEPACKAGES_DIR}${base_libdir} ${D}
+mv ${D}${PYTHON_SITEPACKAGES_DIR}${nonarch_base_libdir} ${D}
 }
 
 RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \
-- 
2.17.1


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



[oe] [meta-python][PATCH v2] python3-blivet: fix up base_libdir

2022-03-04 Thread kai
From: Kai Kang 

It fails to run do_install when multilib enabled that systemd service
files are installed in ${nonarch_base_libdir}.

Signed-off-by: Kai Kang 
---
 .../recipes-extended/python-blivet/python3-blivet_3.4.3.bb  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb 
b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
index 85575df7b..187e0330c 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
@@ -26,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "systemd"
 do_install:append() {
 mv ${D}${PYTHON_SITEPACKAGES_DIR}${exec_prefix}/* ${D}${exec_prefix}
 mv ${D}${PYTHON_SITEPACKAGES_DIR}${sysconfdir} ${D}
-mv ${D}${PYTHON_SITEPACKAGES_DIR}${base_libdir} ${D}
+mv ${D}${PYTHON_SITEPACKAGES_DIR}${nonarch_base_libdir} ${D}
 }
 
 RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \
-- 
2.17.1


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



[oe] [meta-oe][PATCH] gosu: add new recipe

2022-03-04 Thread Yu, Mingli
From: Mingli Yu 

gosu is a simple Go-based setuid+setgid+setgroups+exec tool.

Signed-off-by: Mingli Yu 
---
 meta-oe/recipes-support/gosu/gosu_1.14.bb | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-support/gosu/gosu_1.14.bb

diff --git a/meta-oe/recipes-support/gosu/gosu_1.14.bb 
b/meta-oe/recipes-support/gosu/gosu_1.14.bb
new file mode 100644
index 0..624adf309
--- /dev/null
+++ b/meta-oe/recipes-support/gosu/gosu_1.14.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Simple Go-based setuid+setgid+setgroups+exec"
+HOMEPAGE = "https://github.com/tianon/gosu";
+DESCRIPTION = "This is a simple tool grown out of the simple fact that su and 
sudo have very strange and often annoying TTY and signal-forwarding behavior."
+LICENSE = "Apache-2.0 "
+LIC_FILES_CHKSUM = 
"file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+GO_IMPORT = "github.com/tianon/gosu"
+SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https \
+   
git://github.com/opencontainers/runc;name=runc;destsuffix=${S}/src/github.com/opencontainers/runc;branch=main;protocol=https
 \
+"
+SRCREV = "9f7cd138a1ebc0684d43ef6046bf723978e8741f"
+SRCREV_runc = "d7f7b22a85a2387557bdcda125710c2506f8d5c5"
+inherit go
+
+do_compile:prepend() {
+# New Go versions has Go modules support enabled by default
+export GO111MODULE=off
+}
+
+RDEPENDS:${PN}-dev += "bash"
-- 
2.25.1


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



[oe] [meta-oe][PATCH] nodejs: add option to use openssl legacy providers again

2022-03-04 Thread Andrej Valek
Current nodejs version v16 does not fully support new OpenSSL, so add option
to use legacy provider.

|   opensslErrorStack: [ 'error:0386:digital envelope 
routines::initialization error' ],
|   library: 'digital envelope routines',
|   reason: 'unsupported',
|   code: 'ERR_OSSL_EVP_UNSUPPORTED'

It was blindly removed by upgrade to 16.14.0 version

Signed-off-by: Andrej Valek 
---
 ...5-add-openssl-legacy-provider-option.patch | 165 ++
 .../recipes-devtools/nodejs/nodejs_16.14.0.bb |   1 +
 2 files changed, 166 insertions(+)
 create mode 100644 
meta-oe/recipes-devtools/nodejs/nodejs/0005-add-openssl-legacy-provider-option.patch

diff --git 
a/meta-oe/recipes-devtools/nodejs/nodejs/0005-add-openssl-legacy-provider-option.patch
 
b/meta-oe/recipes-devtools/nodejs/nodejs/0005-add-openssl-legacy-provider-option.patch
new file mode 100644
index 0..2e66a0282
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/nodejs/nodejs/0005-add-openssl-legacy-provider-option.patch
@@ -0,0 +1,165 @@
+From 86d1c0cc6a5dcf57e413a1cc1c29203e87cf9a14 Mon Sep 17 00:00:00 2001
+From: Daniel Bevenius 
+Date: Sat, 16 Oct 2021 08:50:16 +0200
+Subject: [PATCH] src: add --openssl-legacy-provider option
+
+This commit adds an option to Node.js named --openssl-legacy-provider
+and if specified will load OpenSSL 3.0 Legacy provider.
+
+$ ./node --help
+...
+--openssl-legacy-provider  enable OpenSSL 3.0 legacy provider
+
+Example usage:
+
+$ ./node --openssl-legacy-provider  -p 'crypto.createHash("md4")'
+Hash {
+  _options: undefined,
+  [Symbol(kHandle)]: Hash {},
+  [Symbol(kState)]: { [Symbol(kFinalized)]: false }
+}
+
+Co-authored-by: Richard Lau 
+
+Refs: https://github.com/nodejs/node/issues/40455
+---
+ doc/api/cli.md | 10 ++
+ src/crypto/crypto_util.cc  | 10 ++
+ src/node_options.cc| 10 ++
+ src/node_options.h |  7 +++
+ .../test-process-env-allowed-flags-are-documented.js   |  5 +
+ 5 files changed, 42 insertions(+)
+
+diff --git a/doc/api/cli.md b/doc/api/cli.md
+index 74057706bf8d..608b9cdeddf1 100644
+--- a/doc/api/cli.md
 b/doc/api/cli.md
+@@ -652,6 +652,14 @@ Load an OpenSSL configuration file on startup. Among 
other uses, this can be
+ used to enable FIPS-compliant crypto if Node.js is built
+ against FIPS-enabled OpenSSL.
+ 
++### `--openssl-legacy-provider`
++
++
++Enable OpenSSL 3.0 legacy provider. For more information please see
++[providers readme][].
++
+ ### `--pending-deprecation`
+ 

[oe] [PATCH] ufw: port to setuptools, use setuptools_legacy

2022-03-04 Thread Ross Burton
This package has a traditional setup.py which has a custom install command,
which isn't supported with the modern wheel/pip installation method.

Until upstream has moved away from distutils, use setuptools_legacy so
the installation is correct.

Signed-off-by: Ross Burton 
---
 .../ufw/ufw/setuptools.patch  | 20 +++
 .../recipes-connectivity/ufw/ufw_0.36.1.bb|  3 ++-
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 
meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch

diff --git a/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch 
b/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch
new file mode 100644
index 00..ad5391cb98
--- /dev/null
+++ b/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch
@@ -0,0 +1,20 @@
+Move to setuptools as distutils is now deprecated.
+
+Upstream-Status: Submitted 
[https://code.launchpad.net/~tgamblin/ufw/distutils-to-setuptools]
+Signed-off-by: Ross Burton 
+
+diff --git a/setup.py b/setup.py
+index cb67a6a..de648d3 100644
+--- a/setup.py
 b/setup.py
+@@ -25,8 +25,8 @@
+ #
+ 
+ from __future__ import print_function
+-from distutils.command.install import install as _install
+-from distutils.core import setup
++from setuptools.command.install import install as _install
++from setuptools import setup
+ import errno
+ import os
+ import re
diff --git a/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb 
b/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
index c427e4ffde..70216a85e3 100644
--- a/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
+++ b/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
@@ -12,12 +12,13 @@ SRC_URI = 
"https://launchpad.net/ufw/0.36/0.36.1/+download/ufw-0.36.1.tar.gz \
file://0001-optimize-boot.patch \
file://0002-add-an-option-to-specify-iptables-location.patch \
file://0003-only-make-one-reference-to-env.patch \
+   file://setuptools.patch \
"
 SRC_URI[sha256sum] = 
"1c57e78fbf2970f0cc9c56ea87a231e6d83d825e55b9e31e2c88b91b0ea03c8c"
 
 UPSTREAM_CHECK_URI = "https://launchpad.net/ufw";
 
-inherit distutils3 features_check systemd update-rc.d
+inherit setuptools3_legacy features_check systemd update-rc.d
 
 RDEPENDS:${PN} = " \
   iptables \
-- 
2.25.1


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



Re: [oe] [PATCH] ufw: port to setuptools, use setuptools_legacy

2022-03-04 Thread Ross Burton
Obviously this depends on the addition of setuptools_legacy to
oe-core, which is on the list now.

Ross

On Fri, 4 Mar 2022 at 13:42, Ross Burton via lists.openembedded.org
 wrote:
>
> This package has a traditional setup.py which has a custom install command,
> which isn't supported with the modern wheel/pip installation method.
>
> Until upstream has moved away from distutils, use setuptools_legacy so
> the installation is correct.
>
> Signed-off-by: Ross Burton 
> ---
>  .../ufw/ufw/setuptools.patch  | 20 +++
>  .../recipes-connectivity/ufw/ufw_0.36.1.bb|  3 ++-
>  2 files changed, 22 insertions(+), 1 deletion(-)
>  create mode 100644 
> meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch
>
> diff --git a/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch 
> b/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch
> new file mode 100644
> index 00..ad5391cb98
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch
> @@ -0,0 +1,20 @@
> +Move to setuptools as distutils is now deprecated.
> +
> +Upstream-Status: Submitted 
> [https://code.launchpad.net/~tgamblin/ufw/distutils-to-setuptools]
> +Signed-off-by: Ross Burton 
> +
> +diff --git a/setup.py b/setup.py
> +index cb67a6a..de648d3 100644
> +--- a/setup.py
>  b/setup.py
> +@@ -25,8 +25,8 @@
> + #
> +
> + from __future__ import print_function
> +-from distutils.command.install import install as _install
> +-from distutils.core import setup
> ++from setuptools.command.install import install as _install
> ++from setuptools import setup
> + import errno
> + import os
> + import re
> diff --git a/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb 
> b/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
> index c427e4ffde..70216a85e3 100644
> --- a/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
> +++ b/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
> @@ -12,12 +12,13 @@ SRC_URI = 
> "https://launchpad.net/ufw/0.36/0.36.1/+download/ufw-0.36.1.tar.gz \
> file://0001-optimize-boot.patch \
> file://0002-add-an-option-to-specify-iptables-location.patch \
> file://0003-only-make-one-reference-to-env.patch \
> +   file://setuptools.patch \
> "
>  SRC_URI[sha256sum] = 
> "1c57e78fbf2970f0cc9c56ea87a231e6d83d825e55b9e31e2c88b91b0ea03c8c"
>
>  UPSTREAM_CHECK_URI = "https://launchpad.net/ufw";
>
> -inherit distutils3 features_check systemd update-rc.d
> +inherit setuptools3_legacy features_check systemd update-rc.d
>
>  RDEPENDS:${PN} = " \
>iptables \
> --
> 2.25.1
>
>
> 
>

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



Re: [oe] [meta-oe][PATCH] nodejs: Upgrade to 16.11.1

2022-03-04 Thread Andrej Valek
Hi Zoltan,

Looks like, that you blindly removed my openssl legacy patch for nodejs. It has 
to stay there, until we won't upgrade to version v17.

Re-sent again: https://lists.openembedded.org/g/openembedded-devel/message/95782


Regards,
Andrej

On Wed, 2022-03-02 at 22:51 -0800, Khem Raj via lists.openembedded.org wrote:


On Wed, Mar 2, 2022 at 10:17 PM Böszörményi Zoltán 
mailto:zbos...@pr.hu>> wrote:
2022. 03. 02. 16:59 keltezéssel, Khem Raj írta:
>
>
> On Tue, Mar 1, 2022 at 11:13 PM Böszörményi Zoltán 
> mailto:zbos...@pr.hu> 
> >>
> wrote:
>
> 2022. 03. 01. 18:12 keltezéssel, Khem Raj írta:
>  >
>  >
>  > On 3/1/22 5:35 AM, Böszörményi Zoltán wrote:
>  >> 2021. 10. 21. 0:52 keltezéssel, Khem Raj írta:
>  >>> * This is new LTS release
>  >>
>  >> 16.14.0 is released since then, and 16.x is the LTS series.
>  >> Can you please upgrade the recipe?
>  >
>  > Currently, drowned in making meta-oe layers build. Perhaps it will 
> happen after that,
>  > unless someone beats me to it.
>
> Would you accept a patch to add into Kirkstone?
>
>
> Kirkstone is not branch yet so yes

A question regarding branch policy:

Kirkstone will be an LTS release. It will get further
nodejs 16.x LTS updates during its lifetime, right?


Yes usually bug fix releases are up reved


>
>
>
>  >
>  >>
>  >> Thanks in advance.
>






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



Re: [oe] [meta-oe][PATCH] nodejs: Upgrade to 16.11.1

2022-03-04 Thread Zoltan Boszormenyi via lists.openembedded.org

Hi,

it wasn't blindly removed.
The patch failed to apply to 16.14.0,
src/node_options.cc has this option in the 16.x branch.


2022. 03. 04. 14:46 keltezéssel, Valek, Andrej írta:

Hi Zoltan,

Looks like, that you blindly removed my openssl legacy patch for nodejs. It has to stay 
there, until we won't upgrade to version v17.


Re-sent again: https://lists.openembedded.org/g/openembedded-devel/message/95782 




Regards,
Andrej

On Wed, 2022-03-02 at 22:51 -0800, Khem Raj via lists.openembedded.org wrote:



On Wed, Mar 2, 2022 at 10:17 PM Böszörményi Zoltán > wrote:

2022. 03. 02. 16:59 keltezéssel, Khem Raj írta:
>
>
> On Tue, Mar 1, 2022 at 11:13 PM Böszörményi Zoltán  >>

> wrote:
>
>     2022. 03. 01. 18:12 keltezéssel, Khem Raj írta:
>      >
>      >
>      > On 3/1/22 5:35 AM, Böszörményi Zoltán wrote:
>      >> 2021. 10. 21. 0:52 keltezéssel, Khem Raj írta:
>      >>> * This is new LTS release
>      >>
>      >> 16.14.0 is released since then, and 16.x is the LTS series.
>      >> Can you please upgrade the recipe?
>      >
>      > Currently, drowned in making meta-oe layers build. Perhaps it will happen 
after that,

>      > unless someone beats me to it.
>
>     Would you accept a patch to add into Kirkstone?
>
>
> Kirkstone is not branch yet so yes

A question regarding branch policy:

Kirkstone will be an LTS release. It will get further
nodejs 16.x LTS updates during its lifetime, right?



Yes usually bug fix releases are up reved



>
>
>
>      >
>      >>
>      >> Thanks in advance.
>










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



Re: [oe] python3-crc32c: add 2.2.post0

2022-03-04 Thread Justin Bronder
On 04/03/22 00:04 -0800, Khem Raj wrote:
> On Thu, Mar 3, 2022 at 10:53 AM Justin Bronder  
> wrote:
> >
> > Ah right, this package only support arm or x86.  I'll send an update.
> 
> actually thats not the case, it tries to use SSE when target is x86
> and crc extensions on aarch64, for
> other architectures it uses general purpose instructions.
> however it uses wrong way to detect platform by poking at build system
> for platform architecture
> I have sent a patch to fix it.

You're much quicker then I am.  However, based on
https://github.com/ICRAR/crc32c/pull/10 I think we can simply update setup.cfg.
I'll send a patch in case you prefer that mechanism, but no problem if patching
setup.py is preferable.

I did try passing '--platform=${TARGET_ARCH}' but bdist_wheel didn't recognize
the parameter.

> 
> >
> > On 02/03/22 18:47 -0800, Khem Raj wrote:
> > > I am seeing a failure with clang on non x86 host. See
> > >
> > > https://errors.yoctoproject.org/Errors/Details/650724/
> > >
> > > On Mon, Feb 28, 2022 at 7:57 AM Justin Bronder  
> > > wrote:
> > > >
> > > > Signed-off-by: Justin Bronder 
> > > > ---
> > > >  meta-python/licenses/CRC32C-ADLER| 15 +++
> > > >  .../python/python3-crc32c_2.2.post0.bb   | 16 
> > > >  2 files changed, 31 insertions(+)
> > > >  create mode 100644 meta-python/licenses/CRC32C-ADLER
> > > >  create mode 100644 
> > > > meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > >
> > > > diff --git a/meta-python/licenses/CRC32C-ADLER 
> > > > b/meta-python/licenses/CRC32C-ADLER
> > > > new file mode 100644
> > > > index 00..f1f0e94ee0
> > > > --- /dev/null
> > > > +++ b/meta-python/licenses/CRC32C-ADLER
> > > > @@ -0,0 +1,15 @@
> > > > +This software is provided 'as-is', without any express or implied
> > > > +warranty.  In no event will the author be held liable for any damages
> > > > +arising from the use of this software.
> > > > +
> > > > +Permission is granted to anyone to use this software for any purpose,
> > > > +including commercial applications, and to alter it and redistribute it
> > > > +freely, subject to the following restrictions:
> > > > +
> > > > +1. The origin of this software must not be misrepresented; you must not
> > > > +   claim that you wrote the original software. If you use this software
> > > > +   in a product, an acknowledgment in the product documentation would 
> > > > be
> > > > +   appreciated but is not required.
> > > > +2. Altered source versions must be plainly marked as such, and must 
> > > > not be
> > > > +   misrepresented as being the original software.
> > > > +3. This notice may not be removed or altered from any source 
> > > > distribution.
> > > > diff --git 
> > > > a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
> > > > b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > > new file mode 100644
> > > > index 00..0d51420939
> > > > --- /dev/null
> > > > +++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > > @@ -0,0 +1,16 @@
> > > > +SUMMARY = "A python package implementing the crc32c algorithmin 
> > > > hardware and software"
> > > > +HOMEPAGE = "https://github.com/ICRAR/crc32c";
> > > > +
> > > > +LICENSE = "BSD-2-Clause & BSD-3-Clause & CRC32C-ADLER & LGPL-2.0+"
> > > > +LIC_FILES_CHKSUM = " \
> > > > +file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
> > > > +file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \
> > > > +file://LICENSE.slice-by-8;md5=6b3bc7709d6b2db6646ec2467310ff6b \
> > > > +
> > > > file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
> > > >  \
> > > > +"
> > > > +
> > > > +SRC_URI[sha256sum] = 
> > > > "3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
> > > > +
> > > > +inherit pypi setuptools3
> > > > +
> > > > +RDEPENDS:${PN} += "python3-core"
> > > > --
> > > > 2.35.1
> > > >
> > > >
> > > > 
> > > >
> >
> > --
> > Justin Bronder

-- 
Justin Bronder

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



[oe] [meta-python][PATCH] python3-crc32c: set target platform via setup.cfg

2022-03-04 Thread Justin Bronder
Looks like we're not the first to need to specify the target platform
when building this package.  According to upstream, we can just update
setup.cfg instead of patching setup.py.
https://github.com/ICRAR/crc32c/pull/10

Signed-off-by: Justin Bronder 
---
 ...p.py-Fix-determining-target-platform.patch | 34 ---
 .../python/python3-crc32c_2.2.post0.bb|  7 ++--
 2 files changed, 5 insertions(+), 36 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
 
b/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
deleted file mode 100644
index b534c05e9a..00
--- 
a/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 855428feb14c44762ea21a18b05638e3e6266ab5 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Thu, 3 Mar 2022 23:50:30 -0800
-Subject: [PATCH] setup.py: Fix determining target platform
-
-Do not poke at the build machine to determine target platform or architecture
-pass it from environment instead for cross compiling to work
-
-Upstream-Status: Inappropriate [OE-Specific]
-Signed-off-by: Khem Raj 

- setup.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
 a/setup.py
-+++ b/setup.py
-@@ -20,6 +20,7 @@
- #MA 02111-1307  USA
- #
- import glob
-+import os
- import platform
- 
- import distutils.ccompiler
-@@ -58,7 +59,8 @@ class _build_ext(build_ext):
- 
- def run(self):
- assert(len(self.distribution.ext_modules) == 1)
--platform = self.platform.lower()
-+platform = os.environ.get('PLATFORM', 'True')
-+
- is_intel = platform in ['x86_64', 'amd64', 'i386', 'i686']
- is_arm = platform in ['aarch64_be', 'aarch64', 'armv8b', 'armv8l']
- distutils.log.info("platform: %s, is_intel: %d, is_arm: %d", 
platform, is_intel, is_arm)
diff --git a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
index 78e14e1d2f..4f6a3aba99 100644
--- a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
+++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
@@ -9,11 +9,14 @@ LIC_FILES_CHKSUM = " \
 
file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
 \
 "
 
-SRC_URI += "file://0001-setup.py-Fix-determining-target-platform.patch"
 SRC_URI[sha256sum] = 
"3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
 
 inherit pypi setuptools3
 
-export PLATFORM = "${TARGET_ARCH}"
+do_compile:prepend() {
+if ! grep 'platform =' setup.cfg; then
+printf "[build_ext]\nplatform = ${TARGET_ARCH}" >> setup.cfg
+fi
+}
 
 RDEPENDS:${PN} += "python3-core"
-- 
2.35.1


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



Re: [oe] python3-crc32c: add 2.2.post0

2022-03-04 Thread Khem Raj
On Fri, Mar 4, 2022 at 7:27 AM Justin Bronder  wrote:
>
> On 04/03/22 00:04 -0800, Khem Raj wrote:
> > On Thu, Mar 3, 2022 at 10:53 AM Justin Bronder  
> > wrote:
> > >
> > > Ah right, this package only support arm or x86.  I'll send an update.
> >
> > actually thats not the case, it tries to use SSE when target is x86
> > and crc extensions on aarch64, for
> > other architectures it uses general purpose instructions.
> > however it uses wrong way to detect platform by poking at build system
> > for platform architecture
> > I have sent a patch to fix it.
>
> You're much quicker then I am.  However, based on
> https://github.com/ICRAR/crc32c/pull/10 I think we can simply update 
> setup.cfg.
> I'll send a patch in case you prefer that mechanism, but no problem if 
> patching
> setup.py is preferable.

That patch seems incomplete, it does not consider the arm/aarch64
piece which perhaps
is added after that pull was created. So someone needs to forward port
that patch and
refresh the pull, until then my proposed patch is more comprehensive.

>
> I did try passing '--platform=${TARGET_ARCH}' but bdist_wheel didn't recognize
> the parameter.
>
> >
> > >
> > > On 02/03/22 18:47 -0800, Khem Raj wrote:
> > > > I am seeing a failure with clang on non x86 host. See
> > > >
> > > > https://errors.yoctoproject.org/Errors/Details/650724/
> > > >
> > > > On Mon, Feb 28, 2022 at 7:57 AM Justin Bronder 
> > > >  wrote:
> > > > >
> > > > > Signed-off-by: Justin Bronder 
> > > > > ---
> > > > >  meta-python/licenses/CRC32C-ADLER| 15 +++
> > > > >  .../python/python3-crc32c_2.2.post0.bb   | 16 
> > > > > 
> > > > >  2 files changed, 31 insertions(+)
> > > > >  create mode 100644 meta-python/licenses/CRC32C-ADLER
> > > > >  create mode 100644 
> > > > > meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > > >
> > > > > diff --git a/meta-python/licenses/CRC32C-ADLER 
> > > > > b/meta-python/licenses/CRC32C-ADLER
> > > > > new file mode 100644
> > > > > index 00..f1f0e94ee0
> > > > > --- /dev/null
> > > > > +++ b/meta-python/licenses/CRC32C-ADLER
> > > > > @@ -0,0 +1,15 @@
> > > > > +This software is provided 'as-is', without any express or implied
> > > > > +warranty.  In no event will the author be held liable for any damages
> > > > > +arising from the use of this software.
> > > > > +
> > > > > +Permission is granted to anyone to use this software for any purpose,
> > > > > +including commercial applications, and to alter it and redistribute 
> > > > > it
> > > > > +freely, subject to the following restrictions:
> > > > > +
> > > > > +1. The origin of this software must not be misrepresented; you must 
> > > > > not
> > > > > +   claim that you wrote the original software. If you use this 
> > > > > software
> > > > > +   in a product, an acknowledgment in the product documentation 
> > > > > would be
> > > > > +   appreciated but is not required.
> > > > > +2. Altered source versions must be plainly marked as such, and must 
> > > > > not be
> > > > > +   misrepresented as being the original software.
> > > > > +3. This notice may not be removed or altered from any source 
> > > > > distribution.
> > > > > diff --git 
> > > > > a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
> > > > > b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > > > new file mode 100644
> > > > > index 00..0d51420939
> > > > > --- /dev/null
> > > > > +++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> > > > > @@ -0,0 +1,16 @@
> > > > > +SUMMARY = "A python package implementing the crc32c algorithmin 
> > > > > hardware and software"
> > > > > +HOMEPAGE = "https://github.com/ICRAR/crc32c";
> > > > > +
> > > > > +LICENSE = "BSD-2-Clause & BSD-3-Clause & CRC32C-ADLER & LGPL-2.0+"
> > > > > +LIC_FILES_CHKSUM = " \
> > > > > +file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
> > > > > +
> > > > > file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \
> > > > > +file://LICENSE.slice-by-8;md5=6b3bc7709d6b2db6646ec2467310ff6b \
> > > > > +
> > > > > file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
> > > > >  \
> > > > > +"
> > > > > +
> > > > > +SRC_URI[sha256sum] = 
> > > > > "3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
> > > > > +
> > > > > +inherit pypi setuptools3
> > > > > +
> > > > > +RDEPENDS:${PN} += "python3-core"
> > > > > --
> > > > > 2.35.1
> > > > >
> > > > >
> > > > > 
> > > > >
> > >
> > > --
> > > Justin Bronder
>
> --
> Justin Bronder

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

Re: [oe] [meta-python][PATCH] python3-crc32c: set target platform via setup.cfg

2022-03-04 Thread Khem Raj
On Fri, Mar 4, 2022 at 7:28 AM Justin Bronder  wrote:
>
> Looks like we're not the first to need to specify the target platform
> when building this package.  According to upstream, we can just update
> setup.cfg instead of patching setup.py.
> https://github.com/ICRAR/crc32c/pull/10
>
> Signed-off-by: Justin Bronder 
> ---
>  ...p.py-Fix-determining-target-platform.patch | 34 ---
>  .../python/python3-crc32c_2.2.post0.bb|  7 ++--
>  2 files changed, 5 insertions(+), 36 deletions(-)
>  delete mode 100644 
> meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
>
> diff --git 
> a/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
>  
> b/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
> deleted file mode 100644
> index b534c05e9a..00
> --- 
> a/meta-python/recipes-devtools/python/python3-crc32c/0001-setup.py-Fix-determining-target-platform.patch
> +++ /dev/null
> @@ -1,34 +0,0 @@
> -From 855428feb14c44762ea21a18b05638e3e6266ab5 Mon Sep 17 00:00:00 2001
> -From: Khem Raj 
> -Date: Thu, 3 Mar 2022 23:50:30 -0800
> -Subject: [PATCH] setup.py: Fix determining target platform
> -
> -Do not poke at the build machine to determine target platform or architecture
> -pass it from environment instead for cross compiling to work
> -
> -Upstream-Status: Inappropriate [OE-Specific]
> -Signed-off-by: Khem Raj 
> 
> - setup.py | 3 ++-
> - 1 file changed, 2 insertions(+), 1 deletion(-)
> -
>  a/setup.py
> -+++ b/setup.py
> -@@ -20,6 +20,7 @@
> - #MA 02111-1307  USA
> - #
> - import glob
> -+import os
> - import platform
> -
> - import distutils.ccompiler
> -@@ -58,7 +59,8 @@ class _build_ext(build_ext):
> -
> - def run(self):
> - assert(len(self.distribution.ext_modules) == 1)
> --platform = self.platform.lower()
> -+platform = os.environ.get('PLATFORM', 'True')
> -+
> - is_intel = platform in ['x86_64', 'amd64', 'i386', 'i686']
> - is_arm = platform in ['aarch64_be', 'aarch64', 'armv8b', 'armv8l']
> - distutils.log.info("platform: %s, is_intel: %d, is_arm: %d", 
> platform, is_intel, is_arm)
> diff --git a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb 
> b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> index 78e14e1d2f..4f6a3aba99 100644
> --- a/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> +++ b/meta-python/recipes-devtools/python/python3-crc32c_2.2.post0.bb
> @@ -9,11 +9,14 @@ LIC_FILES_CHKSUM = " \
>  
> file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
>  \
>  "
>
> -SRC_URI += "file://0001-setup.py-Fix-determining-target-platform.patch"
>  SRC_URI[sha256sum] = 
> "3d058e7a5e37e4985d1a7ad4cb702bca56b490daa658d4851377d13ead8b435e"
>
>  inherit pypi setuptools3
>
> -export PLATFORM = "${TARGET_ARCH}"
> +do_compile:prepend() {
> +if ! grep 'platform =' setup.cfg; then
> +printf "[build_ext]\nplatform = ${TARGET_ARCH}" >> setup.cfg
> +fi
> +}

I think this is better since it avoid maintaining a patch, I will take
this one if this passes the CI

>
>  RDEPENDS:${PN} += "python3-core"
> --
> 2.35.1
>
>
> 
>

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



Re: [oe] [PATCH] ufw: port to setuptools, use setuptools_legacy

2022-03-04 Thread Khem Raj
On Fri, Mar 4, 2022 at 5:43 AM Ross Burton  wrote:
>
> Obviously this depends on the addition of setuptools_legacy to
> oe-core, which is on the list now.

yeah I have cherry-picked that patch into my distro testing for now.

>
> Ross
>
> On Fri, 4 Mar 2022 at 13:42, Ross Burton via lists.openembedded.org
>  wrote:
> >
> > This package has a traditional setup.py which has a custom install command,
> > which isn't supported with the modern wheel/pip installation method.
> >
> > Until upstream has moved away from distutils, use setuptools_legacy so
> > the installation is correct.
> >
> > Signed-off-by: Ross Burton 
> > ---
> >  .../ufw/ufw/setuptools.patch  | 20 +++
> >  .../recipes-connectivity/ufw/ufw_0.36.1.bb|  3 ++-
> >  2 files changed, 22 insertions(+), 1 deletion(-)
> >  create mode 100644 
> > meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch
> >
> > diff --git a/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch 
> > b/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch
> > new file mode 100644
> > index 00..ad5391cb98
> > --- /dev/null
> > +++ b/meta-networking/recipes-connectivity/ufw/ufw/setuptools.patch
> > @@ -0,0 +1,20 @@
> > +Move to setuptools as distutils is now deprecated.
> > +
> > +Upstream-Status: Submitted 
> > [https://code.launchpad.net/~tgamblin/ufw/distutils-to-setuptools]
> > +Signed-off-by: Ross Burton 
> > +
> > +diff --git a/setup.py b/setup.py
> > +index cb67a6a..de648d3 100644
> > +--- a/setup.py
> >  b/setup.py
> > +@@ -25,8 +25,8 @@
> > + #
> > +
> > + from __future__ import print_function
> > +-from distutils.command.install import install as _install
> > +-from distutils.core import setup
> > ++from setuptools.command.install import install as _install
> > ++from setuptools import setup
> > + import errno
> > + import os
> > + import re
> > diff --git a/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb 
> > b/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
> > index c427e4ffde..70216a85e3 100644
> > --- a/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
> > +++ b/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb
> > @@ -12,12 +12,13 @@ SRC_URI = 
> > "https://launchpad.net/ufw/0.36/0.36.1/+download/ufw-0.36.1.tar.gz \
> > file://0001-optimize-boot.patch \
> > file://0002-add-an-option-to-specify-iptables-location.patch \
> > file://0003-only-make-one-reference-to-env.patch \
> > +   file://setuptools.patch \
> > "
> >  SRC_URI[sha256sum] = 
> > "1c57e78fbf2970f0cc9c56ea87a231e6d83d825e55b9e31e2c88b91b0ea03c8c"
> >
> >  UPSTREAM_CHECK_URI = "https://launchpad.net/ufw";
> >
> > -inherit distutils3 features_check systemd update-rc.d
> > +inherit setuptools3_legacy features_check systemd update-rc.d
> >
> >  RDEPENDS:${PN} = " \
> >iptables \
> > --
> > 2.25.1
> >
> >
> >
> >
>
> 
>

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



Re: [oe] PEP-517 packaging fixes needed in meta-openembedded

2022-03-04 Thread Khem Raj
We have all recipes building now ( few with some warnings ) which
should get better with setuptools_legacy changes

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1482

Sincere gratitude to all those who stepped up in time and helped patching.

On Thu, Mar 3, 2022 at 2:12 PM Khem Raj  wrote:
>
> On Thu, Mar 3, 2022 at 2:00 PM Ross Burton  wrote:
> >
> > I've been having an interesting discussion with the PyPA about the
> > future of packaging Python.  It's illuminating, to say the least.  The
> > full thread is at
> > https://github.com/pypa/packaging-problems/issues/576 but the
> > highlights are:
> >
> > 1) Calling 'setup.py install' is deprecated, so anything which uses a
> > non-standard install class (ufw, for example) won't work in the
> > future.  With setuptool3.bbclass now doing bdist_wheel/pip the install
> > task is ran in a special environment, and non-standard install classes
> > break quite badly.
> >
>
> right, I was coming to same conclusion, as I was messing to get
> unattended-upgrades
> working with new world. I did realize the fact that we did not give any time
> to port recipes and has made this a breaking change.
>
> > 2) Python packaging is moving fast towards a world where the only
> > things packagable are pure modules with entry point scripts and data.
> > If you want to do more (e.g. install a systemd unit file), then use
> > something like Meson.
>
> I see, that limits the use from distro packaging point of view.
>
> >
> > This is going to be interesting.  My short-term plan is to bring back
> > the traditional setuptool3.bbclass code as setuptools3-legacy, for the
> > period between now and when "setup.py install" doesn't exist.
>
> yeah I think we need that. that will be an improvement.
>
> >
> > Ross
> >
> > On Thu, 3 Mar 2022 at 07:08, Khem Raj  wrote:
> > >
> > > On Wed, Mar 2, 2022 at 9:13 PM Tim Orling  wrote:
> > > >
> > > >
> > > >
> > > > On Wed, Mar 2, 2022 at 6:45 PM Khem Raj  wrote:
> > > >>
> > > >> Here is latest failures we are down to 3
> > > >>
> > > >> https://errors.yoctoproject.org/Errors/Build/142145/
> > > >
> > > >
> > > > I have a partial fix for python3-slip-dbus, but it doesn’t solve the 
> > > > problem.
> > > > https://git.openembedded.org/meta-openembedded-contrib/commit/?h=timo/pyprojecttoml&id=79b14b76276ac9a9378ed37bb39959de8bf4c751
> > > >
> > >
> > > I have addressed it. Right now we are effectively left with
> > >
> > > meta-openembedded/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
> > >
> > > It fails in weird ways
> > >
> > > | Installing collected packages: unattended-upgrades
> > > | ERROR: For req: unattended-upgrades==0.1. Unknown scheme key used in
> > > /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/unattended-upgrades/2.6-r0/git/dist/unattended_upgrades-0.1-py3-
> > > none-any.whl: etc (for file
> > > 'unattended_upgrades-0.1.data/etc/kernel/postinst.d/unattended-upgrades').
> > > .data directory contents should be in subdirectories named with a
> > > valid scheme key (d
> > > ata, headers, platlib, purelib, scripts)
> > > | Exception information:
> > > | Traceback (most recent call last):
> > > |   File 
> > > "/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/unattended-upgrades/2.6-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/pip/_internal/operations/install/wheel.py",
> > > line 521, in make_data_scheme_file
> > > | scheme_path = scheme_paths[scheme_key]
> > > | KeyError: 'etc'
> > > |
> > > | During handling of the above exception, another exception occurred:
> > > |
> > >
> > > >>
> > > >> On Wed, Mar 2, 2022 at 10:40 AM Khem Raj  wrote:
> > > >> >
> > > >> > Here is latest list which is significantly less so thanks for
> > > >> > contributions thus far.
> > > >> >
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.2.1.bb
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.4.9.bb
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-devtools/python/python3-pymetno_0.9.0.bb
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-extended/python-cson/python3-cson_git.bb
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-devtools/python/python3-dbussy_1.3.bb
> > > >> >   
> > > >> > meta-openembedded/meta-python/recipes-connectivity/python-txws/python3-txws_0.9.1.bb
> > > >> >   
> > > >> > meta-openembedded/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
> > > >> >
> > > >> >
> > > >> > On Tue, Mar 1, 2022 at 8:18 AM Khem Raj  wrote:
> > > >> > >
> > > >> > > We are ma

[oe] [meta-oe][PATCH 1/2] unattended-upgrades: Inherit setuptools3_legacy

2022-03-04 Thread Khem Raj
It does not yet build with new PEP-527 packaging

Signed-off-by: Khem Raj 
---
 .../unattended-upgrades/unattended-upgrades_2.6.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb 
b/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
index 478d3691a7..2196266b99 100644
--- a/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
+++ b/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
@@ -13,7 +13,8 @@ SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca"
 
 S = "${WORKDIR}/git"
 
-inherit setuptools_build_meta
+inherit setuptools3_legacy
+
 PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl"
 
 DEPENDS += "apt intltool-native python3-distutils-extra-native"
-- 
2.35.1


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



[oe] [meta-xfce][PATCH 2/2] menulibre: Inherit setuptools3_legacy

2022-03-04 Thread Khem Raj
It does not yet build with new PEP-527 packaging

Signed-off-by: Khem Raj 
---
 meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb 
b/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb
index 898f6ed43a..65aa7a53e2 100644
--- a/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb
+++ b/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb
@@ -9,7 +9,7 @@ DEPENDS = " \
 intltool-native \
 "
 
-inherit distutils3 gtk-icon-cache features_check
+inherit setuptools3_legacy gtk-icon-cache features_check
 REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = 
"git://github.com/bluesabre/menulibre.git;protocol=https;branch=master"
-- 
2.35.1


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



Re: [oe] [meta-python][PATCH 1/2] unattended-upgrades: Move to meta-python

2022-03-04 Thread Khem Raj
ignore this one, since setuptools3_legacy will fix it and we can keep
it in meta-oe

On Thu, Mar 3, 2022 at 8:40 AM Khem Raj  wrote:
>
> It needs distutils, until its ported to use setuptools, keep it in
> meta-python as it depends on distutils infra from here.
>
> Signed-off-by: Khem Raj 
> ---
>  .../recipes-core/packagegroups/packagegroup-meta-python.bb| 1 +
>  ...unattended-upgrade-Remove-distro_info-usage-to-check.patch | 0
>  .../unattended-upgrades/unattended-upgrades_2.6.bb| 4 ++--
>  3 files changed, 3 insertions(+), 2 deletions(-)
>  rename {meta-oe => 
> meta-python}/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch
>  (100%)
>  rename {meta-oe => 
> meta-python}/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb 
> (92%)
>
> diff --git 
> a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
> b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> index 670361598e..b2d31282e6 100644
> --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> @@ -474,6 +474,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
>  python3-yarl \
>  python3-zopeinterface \
>  telepathy-python3 \
> +unattended-upgrades \
>  "
>  RDEPENDS:packagegroup-meta-python3:remove:libc-musl:powerpc64le = 
> "python3-grpcio python3-grpcio-tools"
>
> diff --git 
> a/meta-oe/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch
>  
> b/meta-python/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch
> similarity index 100%
> rename from 
> meta-oe/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch
> rename to 
> meta-python/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch
> diff --git 
> a/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb 
> b/meta-python/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
> similarity index 92%
> rename from 
> meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
> rename to 
> meta-python/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
> index 85e5f59c7a..0629bf6db1 100644
> --- a/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
> +++ 
> b/meta-python/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
> @@ -13,8 +13,8 @@ SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca"
>
>  S = "${WORKDIR}/git"
>
> -inherit setuptools_build_meta
> -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl"
> +inherit distutils3
> +#PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl"
>
>  DEPENDS += "apt intltool-native python3-distutils-extra-native"
>  RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime 
> python3-email python3-fcntl python3-io python3-logging python3-stringold 
> python3-syslog"
> --
> 2.35.1
>

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



[oe] [meta-xfce][PATCH] xfce4-terminal: Add missing gtk-doc dependency

2022-03-04 Thread Khem Raj
Fixes
| ../xfce4-terminal-0.8.10/configure: line 17282: syntax error near unexpected 
token `1.9'
| ../xfce4-terminal-0.8.10/configure: line 17282: `GTK_DOC_CHECK(1.9)'

Signed-off-by: Khem Raj 
---
 meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.10.bb 
b/meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.10.bb
index ce65c12056..e9f2e40593 100644
--- a/meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.10.bb
+++ b/meta-xfce/recipes-apps/xfce4-terminal/xfce4-terminal_0.8.10.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Terminal emulator for the Xfce desktop environment"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-DEPENDS = "glib-2.0 gtk+3 vte libxfce4ui"
+DEPENDS = "glib-2.0 gtk+3 vte libxfce4ui gtk-doc-native"
 
 inherit xfce-app
 
-- 
2.35.1


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



Re: [oe] [meta-oe][PATCH] nodejs: add option to use openssl legacy providers again

2022-03-04 Thread Khem Raj
fails to apply

https://errors.yoctoproject.org/Errors/Details/651075/
https://errors.yoctoproject.org/Errors/Details/651076/

On Fri, Mar 4, 2022 at 5:38 AM Andrej Valek  wrote:
>
> Current nodejs version v16 does not fully support new OpenSSL, so add option
> to use legacy provider.
>
> |   opensslErrorStack: [ 'error:0386:digital envelope 
> routines::initialization error' ],
> |   library: 'digital envelope routines',
> |   reason: 'unsupported',
> |   code: 'ERR_OSSL_EVP_UNSUPPORTED'
>
> It was blindly removed by upgrade to 16.14.0 version
>
> Signed-off-by: Andrej Valek 
> ---
>  ...5-add-openssl-legacy-provider-option.patch | 165 ++
>  .../recipes-devtools/nodejs/nodejs_16.14.0.bb |   1 +
>  2 files changed, 166 insertions(+)
>  create mode 100644 
> meta-oe/recipes-devtools/nodejs/nodejs/0005-add-openssl-legacy-provider-option.patch
>
> diff --git 
> a/meta-oe/recipes-devtools/nodejs/nodejs/0005-add-openssl-legacy-provider-option.patch
>  
> b/meta-oe/recipes-devtools/nodejs/nodejs/0005-add-openssl-legacy-provider-option.patch
> new file mode 100644
> index 0..2e66a0282
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/nodejs/nodejs/0005-add-openssl-legacy-provider-option.patch
> @@ -0,0 +1,165 @@
> +From 86d1c0cc6a5dcf57e413a1cc1c29203e87cf9a14 Mon Sep 17 00:00:00 2001
> +From: Daniel Bevenius 
> +Date: Sat, 16 Oct 2021 08:50:16 +0200
> +Subject: [PATCH] src: add --openssl-legacy-provider option
> +
> +This commit adds an option to Node.js named --openssl-legacy-provider
> +and if specified will load OpenSSL 3.0 Legacy provider.
> +
> +$ ./node --help
> +...
> +--openssl-legacy-provider  enable OpenSSL 3.0 legacy provider
> +
> +Example usage:
> +
> +$ ./node --openssl-legacy-provider  -p 'crypto.createHash("md4")'
> +Hash {
> +  _options: undefined,
> +  [Symbol(kHandle)]: Hash {},
> +  [Symbol(kState)]: { [Symbol(kFinalized)]: false }
> +}
> +
> +Co-authored-by: Richard Lau 
> +
> +Refs: https://github.com/nodejs/node/issues/40455
> +---
> + doc/api/cli.md | 10 ++
> + src/crypto/crypto_util.cc  | 10 ++
> + src/node_options.cc| 10 ++
> + src/node_options.h |  7 +++
> + .../test-process-env-allowed-flags-are-documented.js   |  5 +
> + 5 files changed, 42 insertions(+)
> +
> +diff --git a/doc/api/cli.md b/doc/api/cli.md
> +index 74057706bf8d..608b9cdeddf1 100644
> +--- a/doc/api/cli.md
>  b/doc/api/cli.md
> +@@ -652,6 +652,14 @@ Load an OpenSSL configuration file on startup. Among 
> other uses, this can be
> + used to enable FIPS-compliant crypto if Node.js is built
> + against FIPS-enabled OpenSSL.
> +
> ++### `--openssl-legacy-provider`
> ++
> ++
> ++Enable OpenSSL 3.0 legacy provider. For more information please see
> ++[providers readme][].
> ++
> + ### `--pending-deprecation`
> +  2.34.1
>
>
> 
>

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