[OE-core] [PATCH] bitbake.conf: mark TCLIBCAPPEND as deprecated

2024-09-13 Thread Ross Burton
In oe-core ebcd355 TCLIBCAPPEND (a string that is appended to TMPDIR) was
removed entirely.  Warn if this is being set by the distro as it will no
longer have any effect.

Signed-off-by: Ross Burton 
---
 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 04b288abc1c..ab4c6a2d9c9 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -105,6 +105,7 @@ BB_RENAMED_VARIABLES[ICECC_SYSTEM_PACKAGE_BL] = 
"ICECC_RECIPE_DISABLE"
 BB_RENAMED_VARIABLES[INHERIT_BLACKLIST] = "is a deprecated variable and no 
longer needed"
 BB_RENAMED_VARIABLES[TUNEABI_WHITELIST] = "is a deprecated variable and 
support has been removed"
 BB_RENAMED_VARIABLES[LICENSE_FLAGS_WHITELIST] = "LICENSE_FLAGS_ACCEPTED"
+BB_RENAMED_VARIABLES[TCLIBCAPPEND] = "is no longer used, modify TMPDIR 
directly if required"
 
 BB_RENAMED_VARIABLES[WHITELIST_GPL-3.0-only] = 
"INCOMPATIBLE_LICENSE_EXCEPTIONS"
 BB_RENAMED_VARIABLES[WHITELIST_GPL-3.0-or-later] = 
"INCOMPATIBLE_LICENSE_EXCEPTIONS"
-- 
2.34.1


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



Re: [OE-core] [PATCH] python3: Upgrade 3.12.5 -> 3.12.6

2024-09-12 Thread Ross Burton
Hi Divya,

> On 12 Sep 2024, at 16:22, Richard Purdie via lists.openembedded.org 
>  wrote:
> Unfortunately "0001-test_readline-skip-limited-history-test.patch" is still 
> needed as it failed in testing:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6985/steps/12/logs/stdio
> 
> Could you rebase that patch and resend with it included please?

We’d really like this to be part of the next release which is scheduled to be 
built asap (like, Monday), so sending this revised patch promptly would be 
_much_ appreciated.

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



Re: [OE-core] [PATCH] sanity: check for working user namespaces

2024-09-12 Thread Ross Burton


> On 12 Sep 2024, at 18:29, Jose Quaresma  wrote:
> The error message could be better imo.
> It will also happen inside a docker container that runs without the NET_ADMIN 
> capability, which is the default.
> https://docs.docker.com/engine/containers/run/#runtime-privilege-and-linux-capabilities

Do you have a suggestion for better wording?  Also do you have an example of it 
failing before this patch, in case we can extend the check to actually handle 
this case specifically.

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



Re: [OE-core] [PATCH] sanity: check for working user namespaces

2024-09-12 Thread Ross Burton
By which do you mean the build failed gracefully, whereas previously it would 
have exploded?

Ross

> On 12 Sep 2024, at 18:22, Martin Jansa  wrote:
> 
> Works as expected, the build failed :).
> 
> openembedded-core/build$ bitbake -k zlib-native
> ERROR: User namespaces are not usable by BitBake, possibly due to AppArmor.
> See 
> https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions
> for more information.
> 
> The only issue might be that these checks are executed only once, so
> if you have existing TMPDIR (where it was failing) then it will
> continue failing with:
> 
> ERROR: PermissionError: [Errno 1] Operation not permitted
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>  File "/home/martin/work/bitbake/bin/bitbake-worker", line 278, in child
>bb.utils.disable_network(uid, gid)
>  File "/home/martin/work/bitbake/lib/bb/utils.py", line 1696, in
> disable_network
>with open("/proc/self/uid_map", "w") as f:
> PermissionError: [Errno 1] Operation not permitted
> 
> until TMPDIR is removed and sanity re-executed.
> 
> On Thu, Sep 12, 2024 at 6:59 PM Ross Burton via lists.openembedded.org
>  wrote:
>> 
>> Note that in its final form this isn’t had any testing on an Ubuntu machine, 
>> so testing would be appreciated if anyone has an Ubuntu 24.x machine (not a 
>> container, need their kernel) with apparmor enabled.
>> 
>> Thanks,
>> Ross
>> 
>>> On 12 Sep 2024, at 17:57, Ross Burton via lists.openembedded.org 
>>>  wrote:
>>> 
>>> If user namespaces are not available (typically because AppArmor is
>>> blocking them), alert the user.
>>> 
>>> We consider network isolation sufficiently important that this is a fatal
>>> error, and the user will need to configure AppArmor to allow bitbake to
>>> create a user namespace.
>>> 
>>> [ YOCTO #15592 ]
>>> 
>>> Signed-off-by: Ross Burton 
>>> ---
>>> meta/classes-global/sanity.bbclass | 24 
>>> 1 file changed, 24 insertions(+)
>>> 
>>> diff --git a/meta/classes-global/sanity.bbclass 
>>> b/meta/classes-global/sanity.bbclass
>>> index 1d242f0f0a0..72dab0fea2b 100644
>>> --- a/meta/classes-global/sanity.bbclass
>>> +++ b/meta/classes-global/sanity.bbclass
>>> @@ -475,6 +475,29 @@ def check_wsl(d):
>>>bb.warn("You are running bitbake under WSLv2, this works 
>>> properly but you should optimize your VHDX file eventually to avoid running 
>>> out of storage space")
>>>return None
>>> 
>>> +def check_userns():
>>> +"""
>>> +Check that user namespaces are functional, as they're used for network 
>>> isolation.
>>> +"""
>>> +
>>> +# There is a known failure case with AppAmrmor where the unshare() call
>>> +# succeeds (at which point the uid is nobody) but writing to the 
>>> uid_map
>>> +# fails (so the uid isn't reset back to the user's uid). We can detect 
>>> this.
>>> +parentuid = os.getuid()
>>> +pid = os.fork()
>>> +if not pid:
>>> +try:
>>> +bb.utils.disable_network()
>>> +except:
>>> +pass
>>> +os._exit(parentuid != os.getuid())
>>> +
>>> +ret = os.waitpid(pid, 0)[1]
>>> +if ret:
>>> +bb.fatal("User namespaces are not usable by BitBake, possibly due 
>>> to AppArmor.\n"
>>> + "See 
>>> https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions
>>>  for more information.")
>>> +
>>> +
>>> # Require at least gcc version 8.0
>>> #
>>> # This can be fixed on CentOS-7 with devtoolset-6+
>>> @@ -641,6 +664,7 @@ def check_sanity_version_change(status, d):
>>>status.addresult(check_git_version(d))
>>>status.addresult(check_perl_modules(d))
>>>status.addresult(check_wsl(d))
>>> +status.addresult(check_userns())
>>> 
>>>missing = ""
>>> 
>>> --
>>> 2.34.1
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 



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



Re: [OE-core] [PATCH] sanity: check for working user namespaces

2024-09-12 Thread Ross Burton
Note that in its final form this isn’t had any testing on an Ubuntu machine, so 
testing would be appreciated if anyone has an Ubuntu 24.x machine (not a 
container, need their kernel) with apparmor enabled.

Thanks,
Ross

> On 12 Sep 2024, at 17:57, Ross Burton via lists.openembedded.org 
>  wrote:
> 
> If user namespaces are not available (typically because AppArmor is
> blocking them), alert the user.
> 
> We consider network isolation sufficiently important that this is a fatal
> error, and the user will need to configure AppArmor to allow bitbake to
> create a user namespace.
> 
> [ YOCTO #15592 ]
> 
> Signed-off-by: Ross Burton 
> ---
> meta/classes-global/sanity.bbclass | 24 
> 1 file changed, 24 insertions(+)
> 
> diff --git a/meta/classes-global/sanity.bbclass 
> b/meta/classes-global/sanity.bbclass
> index 1d242f0f0a0..72dab0fea2b 100644
> --- a/meta/classes-global/sanity.bbclass
> +++ b/meta/classes-global/sanity.bbclass
> @@ -475,6 +475,29 @@ def check_wsl(d):
> bb.warn("You are running bitbake under WSLv2, this works properly 
> but you should optimize your VHDX file eventually to avoid running out of 
> storage space")
> return None
> 
> +def check_userns():
> +"""
> +Check that user namespaces are functional, as they're used for network 
> isolation.
> +"""
> +
> +# There is a known failure case with AppAmrmor where the unshare() call
> +# succeeds (at which point the uid is nobody) but writing to the uid_map
> +# fails (so the uid isn't reset back to the user's uid). We can detect 
> this.
> +parentuid = os.getuid()
> +pid = os.fork()
> +if not pid:
> +try:
> +bb.utils.disable_network()
> +except:
> +pass
> +os._exit(parentuid != os.getuid())
> +
> +ret = os.waitpid(pid, 0)[1]
> +if ret:
> +bb.fatal("User namespaces are not usable by BitBake, possibly due to 
> AppArmor.\n"
> + "See 
> https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions
>  for more information.")
> +
> +
> # Require at least gcc version 8.0
> #
> # This can be fixed on CentOS-7 with devtoolset-6+
> @@ -641,6 +664,7 @@ def check_sanity_version_change(status, d):
> status.addresult(check_git_version(d))
> status.addresult(check_perl_modules(d))
> status.addresult(check_wsl(d))
> +status.addresult(check_userns())
> 
> missing = ""
> 
> -- 
> 2.34.1
> 
> 
> 
> 


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



[OE-core] [PATCH] sanity: check for working user namespaces

2024-09-12 Thread Ross Burton
If user namespaces are not available (typically because AppArmor is
blocking them), alert the user.

We consider network isolation sufficiently important that this is a fatal
error, and the user will need to configure AppArmor to allow bitbake to
create a user namespace.

[ YOCTO #15592 ]

Signed-off-by: Ross Burton 
---
 meta/classes-global/sanity.bbclass | 24 
 1 file changed, 24 insertions(+)

diff --git a/meta/classes-global/sanity.bbclass 
b/meta/classes-global/sanity.bbclass
index 1d242f0f0a0..72dab0fea2b 100644
--- a/meta/classes-global/sanity.bbclass
+++ b/meta/classes-global/sanity.bbclass
@@ -475,6 +475,29 @@ def check_wsl(d):
 bb.warn("You are running bitbake under WSLv2, this works properly 
but you should optimize your VHDX file eventually to avoid running out of 
storage space")
 return None
 
+def check_userns():
+"""
+Check that user namespaces are functional, as they're used for network 
isolation.
+"""
+
+# There is a known failure case with AppAmrmor where the unshare() call
+# succeeds (at which point the uid is nobody) but writing to the uid_map
+# fails (so the uid isn't reset back to the user's uid). We can detect 
this.
+parentuid = os.getuid()
+pid = os.fork()
+if not pid:
+try:
+bb.utils.disable_network()
+except:
+pass
+os._exit(parentuid != os.getuid())
+
+ret = os.waitpid(pid, 0)[1]
+if ret:
+bb.fatal("User namespaces are not usable by BitBake, possibly due to 
AppArmor.\n"
+ "See 
https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions
 for more information.")
+
+
 # Require at least gcc version 8.0
 #
 # This can be fixed on CentOS-7 with devtoolset-6+
@@ -641,6 +664,7 @@ def check_sanity_version_change(status, d):
 status.addresult(check_git_version(d))
 status.addresult(check_perl_modules(d))
 status.addresult(check_wsl(d))
+status.addresult(check_userns())
 
 missing = ""
 
-- 
2.34.1


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



Re: [OE-core] [PATCH] initscripts: make populate-volatile.sh power-cut-save

2024-09-12 Thread Ross Burton


> On 27 Aug 2024, at 09:55, Viacheslav Volkov via lists.openembedded.org 
>  wrote:
> +if [ -z "$ROOT_DIR" ]; then
> + SYNC_CMD="sync" # on target run sync
> +else
> + # At rootfs time sync is not required. Moreover sync symlink is not
> + # present in ${TMPDIR}/hosttools directory while building rootfs, hence
> + # attempting to execute sync would cause a silent error (further
> + # commands won't be executed).
> + SYNC_CMD="true"
> +fi

Doing a sync for _every_ file created seems like overkill, and if you’re doing 
atomic creation is it even useful? The correct file will exist or not exist: 
what does a sync add?

(also: it’s power-cut safe, not save)

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



[OE-core] [PATCH] systemd: add missing dependency on libkmod to udev

2024-09-12 Thread Ross Burton
As of systemd 256, libsystemd-shared.so doesn't directly link to a number
of libraries but instead dlopen()'s them as needed to reduce the size of
the attack surface.

Instead the .so has a .note.dlopen segment that lists the libraries that
may be opened, with the intention that these are transformed into package
recommendation fields.

We don't yet have support for these (see #15595) so explicit dependencies
have been added to the systemd package itself. However, in an initramfs
with udev but without systemd and no recommendations you end up without
libkmod, so module loading is impossible.

Add an explicit hard dependency on libkmod to udev, because modules are
critical functionality.

Signed-off-by: Ross Burton 
---
 meta/recipes-core/systemd/systemd_256.5.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd_256.5.bb 
b/meta/recipes-core/systemd/systemd_256.5.bb
index db053b45428..dc799f682ae 100644
--- a/meta/recipes-core/systemd/systemd_256.5.bb
+++ b/meta/recipes-core/systemd/systemd_256.5.bb
@@ -743,6 +743,8 @@ INSANE_SKIP:libsystemd-shared += "libdir"
 FILES:libsystemd-shared = "${rootlibdir}/systemd/libsystemd-shared*.so"
 
 RPROVIDES:udev = "hotplug"
+# This can be removed when we parse .note.dlopen in the ELF
+RDEPENDS:udev += "libkmod"
 
 RDEPENDS:udev-bash-completion += "bash-completion"
 RDEPENDS:udev-hwdb += "udev"
-- 
2.34.1


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



Re: [oe-core][PATCH] gtk4: update 4.14.5 -> 4.16.0

2024-09-10 Thread Ross Burton
This is a major update so it’s too late for this to land in master.

Can you change the release notes fragment to include the major changes in the 
4.15.x releases instead of just the last few fixes that went into the 4.16.0 
release?

Ross

> On 9 Sep 2024, at 08:28, Markus Volk via lists.openembedded.org 
>  wrote:
> 
> - Add python3-docutils-native to provide rst2man and rst2html5
>  Otherwise build fails if documentation is built
> - Remove duplicate gi-docgen dependency. Its already included
>  by gi-docgen.bbclass
> 
> Note: This release changes the default GSK renderer to be Vulkan,
> on Wayland. Other platforms still use ngl. The intent of this change
> is to use the best available platform APIs. You can still override
> the renderer choice using the GSK_RENDERER environment variable.
> 
> We believe that most of the problems reported with the new renderers
> during the 4.13 and 4.15 development cycles have been addressed by now.
> 
> But the new renderers and dmabuf support are using graphics drivers
> in different ways than the old gl renderer, and trigger new driver bugs.
> Therefore, it is recommended to use the latest mesa release (24.2)
> with the new renderers.
> 
> * GtkScale:
> - Fix positioning of scale values
> 
> * GtkEmojiChooser:
> - Make Control-clicks work for the recent section
> 
> * GtkPopover:
> - Make sure focus lands on the right widget when cascading
> 
> * GtkSpinButton:
> - Disable Emoji input for numeric spin buttons
> 
> * GtkSingleSelection:
> - Implement unselect_all
> 
> * Accssibility:
> - Fix roles for radio buttons
> - Check if ATs are listening before exporting trees
> - Add a check for sandboxed accessibility bus
> - Fix handling of the error message relation
> - Turn criticals into debug messages
> - Set expanded states properly in menus
> 
> * CSS:
> - Fix a few issues on bigendian systems
> - Avoid a crash with relative colors
> 
> * GSK:
> - Use the right GL context when exporting textures
> - Don't let colors influence depth decisions
> - Allow uploading of mipmap levels when tiling textures
> 
> * GDK:
> - Update keysyms from libX11 1.8.10
> - Implement cpu-side mipmapping
> - Use a thread pool for color conversions and mipmapping
> 
> * Vulkan:
> - Fix drag surface offsets
> 
> * Wayland:
> - Fix a crash
> - Associate EGL windows with context later
> 
> * X11:
> - Fix initial EGL context creation
> - Fix a problem with GL context creation
> 
> * Broadway:
> - Implement compute_size and request_layout
> 
> * MacOS:
> - Set transparent backgroiund for toplevel windows
> 
> * Windows:
> - Improve debug output
> - Detect Mesas d3d12 driver and request GDI compat
> 
> * Demos:
> - Set window icons in demos
> - Add a 64k x 64k image to the image scaling demo
> 
> * Translation updates
> Belarusian
> Brazilian Portuguese
> Catalan
> Czech
> Galician
> German
> Hebrew
> Indonesian
> Korean
> Lithuanian
> Persian
> Polish
> Portuguese
> Slovenian
> Spanish
> Turkish
> Ukrainian
> 
> Signed-off-by: Markus Volk 
> ---
> meta/recipes-gnome/gtk+/{gtk4_4.14.5.bb => gtk4_4.16.0.bb} | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> rename meta/recipes-gnome/gtk+/{gtk4_4.14.5.bb => gtk4_4.16.0.bb} (96%)
> 
> diff --git a/meta/recipes-gnome/gtk+/gtk4_4.14.5.bb 
> b/meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
> similarity index 96%
> rename from meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
> rename to meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
> index 0b3d33f8eb..6331e86bf5 100644
> --- a/meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
> +++ b/meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
> @@ -11,7 +11,6 @@ DEPENDS = " \
> fribidi \
> gdk-pixbuf \
> gdk-pixbuf-native \
> -gi-docgen \
> glib-2.0 \
> graphene \
> harfbuzz \
> @@ -22,6 +21,7 @@ DEPENDS = " \
> librsvg \
> libxkbcommon \
> pango \
> +python3-docutils-native \
> tiff \
> "
> 
> @@ -38,7 +38,7 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
> UPSTREAM_CHECK_REGEX = "gtk-(?P\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz"
> 
> SRC_URI = 
> "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz";
> -SRC_URI[sha256sum] = 
> "5547f2b9f006b133993e070b87c17804e051efda3913feaca1108fa2be41e24d"
> +SRC_URI[sha256sum] = 
> "8ef538778c82c09870a6cc325195049caec5593c1ca37df915a7b6b10f5524ea"
> 
> S = "${WORKDIR}/gtk-${PV}"
> 
> @@ -56,7 +56,7 @@ GSETTINGS_PACKAGE:class-native = ""
> 
> ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
> REQUIRED_DISTRO_FEATURES = "opengl"
> -GTKDOC_MESON_OPTION = "documentation"
> +GIDOCGEN_MESON_OPTION = "documentation"
> GIR_MESON_ENABLE_FLAG = 'enabled'
> GIR_MESON_DISABLE_FLAG = 'disabled'
> 
> -- 
> 2.46.0
> 
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204360): 
https://lists.openembedded.org/g/openembedded-core/message/204360
Mute This Topic: https://lists.openembedded.org/mt/108350342/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedd

[OE-core] [PATCH] vulkan-samples: limit to aarch64/x86-64

2024-09-10 Thread Ross Burton
This package is only tested upstream for aarch64 and x86-64 targets,
for example there are int/long cast issues on 32-bit platforms and ATSC
is only ported to aarch64/x86-64.

Instead of listing the machines where we know it doesn't work, limit the
recipe to machines where it is known to work.

Signed-off-by: Ross Burton 
---
 meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb 
b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
index 93d4cdfdd9e..06e996d2435 100644
--- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
@@ -36,4 +36,4 @@ EXTRA_OECMAKE += "-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON"
 # This needs to be specified explicitly to avoid xcb/xlib dependencies
 EXTRA_OECMAKE += "-DVKB_WSI_SELECTION=D2D"
 
-COMPATIBLE_HOST:x86 = "null"
+COMPATIBLE_HOST = "(aarch64|x86_64).*-linux"
-- 
2.34.1


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



Re: [OE-core] [PATCH] vulkan-samples: Disable on 32bit ARM

2024-09-10 Thread Ross Burton
On 10 Sep 2024, at 01:51, Khem Raj via lists.openembedded.org 
 wrote:
> 
> vulkan-samples depend on atsc module and this module
> only supports x86_64/arm64 as it seems,

I’m wondering if we should reverse this logic and just list the platforms that 
vulkan-samples actually works on.

For example, it also fails on 32-bit ppc:

vulkan-samples/git/git/components/filesystem/src/std_filesystem.cpp:52:13: 
error: narrowing conversion of 'size' from 'long long unsigned int' to 'size_t' 
{aka 'unsigned int'} [-Werror=narrowing]

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



[OE-core] [PATCH v2] ffmpeg: fix build with binutils 2.43 on arm with commerical codecs

2024-08-09 Thread Ross Burton
binutils 2.43 is stricter with label names, so rename a label to stop
assembler errors.

[ YOCTO #15570 ]

Signed-off-by: Ross Burton 
---
 ...lpdsp_armv5te-fix-label-format-to-wo.patch | 52 +++
 .../recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb |  1 +
 2 files changed, 53 insertions(+)
 create mode 100644 
meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch

diff --git 
a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
 
b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
new file mode 100644
index 000..2551eb17d7e
--- /dev/null
+++ 
b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
@@ -0,0 +1,52 @@
+From 0b541aa54b9573d8eef7401a0cc58c422fe60a9a Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Thu, 8 Aug 2024 18:04:17 +0100
+Subject: [PATCH] libavcodec/arm/mlpdsp_armv5te: fix label format to work with
+ binutils 2.43
+
+binutils 2.43 has stricter validation for labels[1] and results in errors
+when building ffmpeg for armv5:
+
+src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first 
unrecognized character is `0'
+
+Remove the leading zero in the "01" label to resolve this error.
+
+[1] 
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=226749d5a6ff0d5c607d6428d6c81e1e7e7a994b
+
+Upstream-Status: Submitted 
[https://ffmpeg.org//pipermail/ffmpeg-devel/2024-August/332149.html]
+Signed-off-by: Ross Burton 
+---
+ libavcodec/arm/mlpdsp_armv5te.S | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/libavcodec/arm/mlpdsp_armv5te.S b/libavcodec/arm/mlpdsp_armv5te.S
+index 4f9aa48..d315686 100644
+--- a/libavcodec/arm/mlpdsp_armv5te.S
 b/libavcodec/arm/mlpdsp_armv5te.S
+@@ -229,7 +229,7 @@ A .endif
+   .endif
+ 
+ // Begin loop
+-01:
++1:
+   .if TOTAL_TAPS == 0
+ // Things simplify a lot in this case
+ // In fact this could be pipelined further if it's worth it...
+@@ -241,7 +241,7 @@ A .endif
+ str ST0, [PST, #-4]!
+ str ST0, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
+ str ST0, [PSAMP], #4 * MAX_CHANNELS
+-bne 01b
++bne 1b
+   .else
+ .if \fir_taps & 1
+   .set LOAD_REG, 1
+@@ -333,7 +333,7 @@ T   orr AC0, AC0, AC1
+ str ST3, [PST, #-4]!
+ str ST2, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
+ str ST3, [PSAMP], #4 * MAX_CHANNELS
+-bne 01b
++bne 1b
+   .endif
+ b   99f
+ 
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb 
b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
index dea1f545804..fe34b87ccf5 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
@@ -27,6 +27,7 @@ SRC_URI = " \
 file://av1_ordering_info.patch \
 file://vulkan_av1_stable_API.patch \
 file://vulkan_fix_gcc14.patch \
+file://0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch \
 "
 
 SRC_URI[sha256sum] = 
"8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968"
-- 
2.34.1


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



[OE-core] [PATCH] ffmpeg: fix build with binutils 2.43 on arm with commerical codecs

2024-08-08 Thread Ross Burton
binutils 2.43 is stricter with label names, so rename a label to stop
assembler errors.

[ YOCTO #15570 ]

Signed-off-by: Ross Burton 
---
 ...lpdsp_armv5te-fix-label-format-to-wo.patch | 52 +++
 .../recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb |  1 +
 2 files changed, 53 insertions(+)
 create mode 100644 
meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch

diff --git 
a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
 
b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
new file mode 100644
index 000..a5947af668e
--- /dev/null
+++ 
b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
@@ -0,0 +1,52 @@
+From 0b541aa54b9573d8eef7401a0cc58c422fe60a9a Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Thu, 8 Aug 2024 18:04:17 +0100
+Subject: [PATCH] libavcodec/arm/mlpdsp_armv5te: fix label format to work with
+ binutils 2.43
+
+binutils 2.43 has stricter validation for labels[1] and results in errors
+when building ffmpeg for armv5:
+
+src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first 
unrecognized character is `0'
+
+Remove the leading zero in the "01" label to resolve this error.
+
+[1] 
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=226749d5a6ff0d5c607d6428d6c81e1e7e7a994b
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton 
+---
+ libavcodec/arm/mlpdsp_armv5te.S | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/libavcodec/arm/mlpdsp_armv5te.S b/libavcodec/arm/mlpdsp_armv5te.S
+index 4f9aa48..d315686 100644
+--- a/libavcodec/arm/mlpdsp_armv5te.S
 b/libavcodec/arm/mlpdsp_armv5te.S
+@@ -229,7 +229,7 @@ A .endif
+   .endif
+ 
+ // Begin loop
+-01:
++1:
+   .if TOTAL_TAPS == 0
+ // Things simplify a lot in this case
+ // In fact this could be pipelined further if it's worth it...
+@@ -241,7 +241,7 @@ A .endif
+ str ST0, [PST, #-4]!
+ str ST0, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
+ str ST0, [PSAMP], #4 * MAX_CHANNELS
+-bne 01b
++bne 1b
+   .else
+ .if \fir_taps & 1
+   .set LOAD_REG, 1
+@@ -333,7 +333,7 @@ T   orr AC0, AC0, AC1
+ str ST3, [PST, #-4]!
+ str ST2, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
+ str ST3, [PSAMP], #4 * MAX_CHANNELS
+-bne 01b
++bne 1b
+   .endif
+ b   99f
+ 
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb 
b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
index dea1f545804..fe34b87ccf5 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
@@ -27,6 +27,7 @@ SRC_URI = " \
 file://av1_ordering_info.patch \
 file://vulkan_av1_stable_API.patch \
 file://vulkan_fix_gcc14.patch \
+file://0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch \
 "
 
 SRC_URI[sha256sum] = 
"8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968"
-- 
2.34.1


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



Re: [OE-core] [PATCH] zlib: add vendor to CVE_PRODUCT to exclude false positives

2024-08-08 Thread Ross Burton
On 8 Aug 2024, at 07:33, Peter Marko via lists.openembedded.org 
 wrote:
> 
> There is also gnu:zlib in CVE reports for zlib...
> 
> sqlite3 nvdcve_2-1.db
> sqlite> select vendor, count(*) from products where product='zlib' group by 
> vendor;
> cloudflare|1
> gnu|1
> zlib|13
> sqlite> select * from products where product='zlib' and vendor = 'gnu';
> CVE-2016-9842|gnu|zlib|1.2.3.4|>=|1.2.9|<

Which is obviously wrong, as there isn’t a GNU zlib.  The references point to 
the same git tree, so this is a mistake in the CPE data. The CPE database 
acknowledges this by deprecating the gnu:zlib name and pointing at zlib:zlib:

  
GNU zlib

  

  

  

We _could_ canonicalise the CPEs when we load the CVEs but that’s another 500MB 
file to fetch, so I’m unconvinced that’s worthwhile.

I was actually going to mail NIST about any attempt at rationalising the CPE 
data for historical CVEs, I’ll use this as a test case to see if they’re 
willing to retroactively fix the name in historical CVEs.

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



[OE-core] [PATCH] bblayers/machines: add bitbake-layers command to list machines

2024-08-07 Thread Ross Burton
Add a command to bitbake-layers to list the machines available in the
current configuration.

Signed-off-by: Ross Burton 
---
 meta/lib/bblayers/machines.py | 37 +++
 1 file changed, 37 insertions(+)
 create mode 100644 meta/lib/bblayers/machines.py

diff --git a/meta/lib/bblayers/machines.py b/meta/lib/bblayers/machines.py
new file mode 100644
index 000..5fd970af0ec
--- /dev/null
+++ b/meta/lib/bblayers/machines.py
@@ -0,0 +1,37 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
+import logging
+import pathlib
+
+from bblayers.common import LayerPlugin
+
+logger = logging.getLogger('bitbake-layers')
+
+def plugin_init(plugins):
+return ShowMachinesPlugin()
+
+class ShowMachinesPlugin(LayerPlugin):
+def do_show_machines(self, args):
+"""List the machines available in the currently configured layers."""
+
+for layer_dir in self.bblayers:
+layer_name = self.get_layer_name(layer_dir)
+
+if args.layer and args.layer != layer_name:
+continue
+
+for p in 
sorted(pathlib.Path(layer_dir).glob("conf/machine/*.conf")):
+if args.bare:
+logger.plain("%s" % (p.stem))
+else:
+logger.plain("%s (%s)" % (p.stem, layer_name))
+
+
+def register_commands(self, sp):
+parser_show_machines = self.add_command(sp, "show-machines", 
self.do_show_machines)
+parser_show_machines.add_argument('-b', '--bare', help='output just 
the machine names, not the source layer', action='store_true')
+parser_show_machines.add_argument('-l', '--layer', help='Limit to 
machines in the specified layer')
-- 
2.34.1


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



Re: [OE-core][PATCH v2] kea: upgrade 2.4.1 -> 2.6.1

2024-08-07 Thread Ross Burton


> On 6 Aug 2024, at 20:12, Trevor Gamblin via lists.openembedded.org 
>  wrote:
> +sed -i "s:${B}/../${BPN}-${PV}:@abs_top_builddir_placeholder@:g" 
> ${D}/usr/sbin/kea-admin

Is /usr/sbin hardcoded into the makefiles, or should that be ${D}${sbindir}?

Ross


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



[OE-core] [PATCH 4/7] pytest-runner: remove recipe (moved to meta-python)

2024-08-06 Thread Ross Burton
This is a deprecated package so rarely used now.

The last user in core was python3-chardet, removed in 55b49e9.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/maintainers.inc  |  1 -
 .../python/python3-pytest-runner_6.0.1.bb | 15 ---
 2 files changed, 16 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index b0bc22ccfa3..87a3fdcfa60 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -680,7 +680,6 @@ RECIPE_MAINTAINER:pn-python3-pyparsing = "Trevor Gamblin 

 RECIPE_MAINTAINER:pn-python3-pyproject-hooks = "Ross Burton 
"
 RECIPE_MAINTAINER:pn-python3-pysocks = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pytest = "Trevor Gamblin "
-RECIPE_MAINTAINER:pn-python3-pytest-runner = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-pytest-subtests = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-pytz = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pyyaml = "Tim Orling "
diff --git a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb 
b/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
deleted file mode 100644
index e5e5e048bd4..000
--- a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SUMMARY = "Invoke py.test as distutils command with dependency resolution"
-HOMEPAGE = "https://pypi.org/project/pytest-runner/";
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
-
-SRC_URI[sha256sum] = 
"70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c2f0f49b"
-
-inherit pypi python_setuptools_build_meta
-
-DEPENDS += " \
-python3-setuptools-scm-native"
-
-RDEPENDS:${PN} = "python3-setuptools python3-debugger python3-json python3-io"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 3/7] python3-py: remove recipe (moved to meta-python)

2024-08-06 Thread Ross Burton
The last user in core was pytest, removed in 0aee9a.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/maintainers.inc  |  1 -
 meta/recipes-devtools/python/python3-py_1.11.0.bb | 14 --
 2 files changed, 15 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-py_1.11.0.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 9da07540ce2..b0bc22ccfa3 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -669,7 +669,6 @@ RECIPE_MAINTAINER:pn-python3-ply = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-poetry-core = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-pretend = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-psutil = "Tim Orling "
-RECIPE_MAINTAINER:pn-python3-py = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pyasn1 = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-pycairo = "Zang Ruochen "
 RECIPE_MAINTAINER:pn-python3-pycparser = "Tim Orling "
diff --git a/meta/recipes-devtools/python/python3-py_1.11.0.bb 
b/meta/recipes-devtools/python/python3-py_1.11.0.bb
deleted file mode 100644
index 31d5a377a7e..000
--- a/meta/recipes-devtools/python/python3-py_1.11.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-SUMMARY = "Library with cross-python path, ini-parsing, io, code, log 
facilities"
-HOMEPAGE = "http://py.readthedocs.io/";
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
-
-SRC_URI[sha256sum] = 
"51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
-
-DEPENDS += "python3-setuptools-scm-native"
-
-inherit pypi python_setuptools_build_meta
-
-BBCLASSEXTEND = "native nativesdk"
-
-RDEPENDS:${PN} += "python3-netclient"
-- 
2.34.1


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



[OE-core] [PATCH 1/7] python3-pathlib2: remove recipe (moved to meta-python)

2024-08-06 Thread Ross Burton
This recipe is a backport of pathlib intended for older releases of
Python but as we have a modern release of Python it shouldn't be needed.

There are no users in oe-core, so move to meta-python.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/maintainers.inc |  1 -
 .../python/python3-pathlib2_2.3.7.bb | 12 
 2 files changed, 13 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index cf9fda812f7..dcab241f6be 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -661,7 +661,6 @@ RECIPE_MAINTAINER:pn-python3-more-itertools = "Tim Orling 
https://github.com/mcmtroffaes/pathlib2";
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2dc08586cce3ab91bfa091b655c0e440"
-
-SRC_URI[sha256sum] = 
"7a4329d67beff9a712e1d3ae147e4e3e108b0bfd284ffdea03a635126c76b3c0"
-
-inherit pypi setuptools3
-
-RDEPENDS:${PN} += "python3-six python3-ctypes"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 7/7] python3-tomli: remove recipe (moved to meta-python)

2024-08-06 Thread Ross Burton
Most packages use tomllib and fall back to tomli. The last user in core
was python3-setuptools-scm, removed in 5c8a0a2.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/maintainers.inc   |  1 -
 .../python/python3-tomli_2.0.1.bb  | 18 --
 2 files changed, 19 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-tomli_2.0.1.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 33ce99e4e2f..0875b2cbd31 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -711,7 +711,6 @@ RECIPE_MAINTAINER:pn-python3-sphinxcontrib-serializinghtml 
= "Tim Orling https://github.com/hukkin/tomli";
-BUGTRACKER = "https://github.com/hukkin/tomli/issues";
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=f0879d17df0110d1aa8c8c9f46f5"
-
-inherit pypi python_flit_core
-
-SRC_URI[sha256sum] = 
"de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
-
-BBCLASSEXTEND = "native nativesdk"
-
-RDEPENDS:${PN} += " \
-python3-datetime \
-python3-stringold \
-"
-- 
2.34.1


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



[OE-core] [PATCH 5/7] python3-importlib-metadata: remove recipe (moved to meta-python)

2024-08-06 Thread Ross Burton
This package is a backport of the importlib.metadata standard library
package, so shouldn't really be needed since we have Python 3.12.

The last user in core was pytest, removed in 0aee9aa.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/maintainers.inc  |  1 -
 .../python3-importlib-metadata_8.2.0.bb   | 20 ---
 2 files changed, 21 deletions(-)
 delete mode 100644 
meta/recipes-devtools/python/python3-importlib-metadata_8.2.0.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 87a3fdcfa60..90fde4f8546 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -638,7 +638,6 @@ RECIPE_MAINTAINER:pn-python3-hatch-vcs = "Ross Burton 
"
 RECIPE_MAINTAINER:pn-python3-hypothesis = "Trevor Gamblin 
"
 RECIPE_MAINTAINER:pn-python3-idna = "Bruce Ashfield "
 RECIPE_MAINTAINER:pn-python3-imagesize = "Tim Orling "
-RECIPE_MAINTAINER:pn-python3-importlib-metadata = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-iniconfig = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-iniparse = "Trevor Gamblin 
"
 RECIPE_MAINTAINER:pn-python3-iso8601 = "Tim Orling "
diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_8.2.0.bb 
b/meta/recipes-devtools/python/python3-importlib-metadata_8.2.0.bb
deleted file mode 100644
index 3e1c7a7d6b7..000
--- a/meta/recipes-devtools/python/python3-importlib-metadata_8.2.0.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-SUMMARY = "Read metadata from Python packages"
-HOMEPAGE = "https://pypi.org/project/importlib-metadata/";
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-inherit pypi python_setuptools_build_meta
-
-PYPI_PACKAGE = "importlib_metadata"
-UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P(\d+[\.\-_]*)+)/"
-
-SRC_URI[sha256sum] = 
"72e8d436132204f9a16dcc751af254a48f8d1b20b9ff0f98d4a8f901e73d"
-
-S = "${WORKDIR}/importlib_metadata-${PV}"
-
-DEPENDS += "python3-setuptools-scm-native"
-RDEPENDS:${PN} += "python3-zipp"
-RDEPENDS:${PN}:append:class-target = " python3-misc"
-RDEPENDS:${PN}:append:class-nativesdk = " python3-misc"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 6/7] python3-toml: remove recipe (moved to meta-python)

2024-08-06 Thread Ross Burton
There are no potential users of this recipe now that importlib_metadata
has been removed, and importlib_metadata used tomllib anyway.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/maintainers.inc  |  1 -
 .../python/python3-toml_0.10.2.bb | 15 ---
 2 files changed, 16 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-toml_0.10.2.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 90fde4f8546..33ce99e4e2f 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -711,7 +711,6 @@ RECIPE_MAINTAINER:pn-python3-sphinxcontrib-serializinghtml 
= "Tim Orling https://github.com/uiri/toml";
-LICENSE = "MIT"
-SECTION = "devel/python"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=16c77b2b1050d2f03cb9c2ed0edaf4f0"
-
-SRC_URI[sha256sum] = 
"b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"
-
-inherit pypi setuptools3
-
-BBCLASSEXTEND = "native nativesdk"
-
-RDEPENDS:${PN} += " \
-python3-misc \
-"
-- 
2.34.1


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



[OE-core] [PATCH 2/7] python3-rfc3986-validator: remove recipe (moved to meta-python)

2024-08-06 Thread Ross Burton
The only user of this recipe in core is python3-jsonschema, but only if
you select the non-default 'nongpl' PACKAGECONFIG.

Move to meta-python so it's there if needed.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/maintainers.inc  |  1 -
 ...e-pytest-runner-to-test_requirements.patch | 32 ---
 .../python/python3-rfc3986-validator_0.1.1.bb | 24 --
 3 files changed, 57 deletions(-)
 delete mode 100644 
meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
 delete mode 100644 
meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index dcab241f6be..9da07540ce2 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -689,7 +689,6 @@ RECIPE_MAINTAINER:pn-python3-rdflib = "Wang Mingyu 
"
 RECIPE_MAINTAINER:pn-python3-referencing = "Trevor Gamblin 
"
 RECIPE_MAINTAINER:pn-python3-requests = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-rfc3339-validator = "Bruce Ashfield 
"
-RECIPE_MAINTAINER:pn-python3-rfc3986-validator = "Bruce Ashfield 
"
 RECIPE_MAINTAINER:pn-python3-rfc3987 = "Bruce Ashfield 
"
 RECIPE_MAINTAINER:pn-python3-rpds-py = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-ruamel-yaml = "Bruce Ashfield 
"
diff --git 
a/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
 
b/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
deleted file mode 100644
index 8a646874e87..000
--- 
a/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001
-From: Nicola Lunghi 
-Date: Thu, 14 Nov 2019 12:17:51 +
-Subject: [PATCH] setup.py: move pytest-runner to test_requirements
-
-This fixes an issue with yocto build.
-pytest-runner is only needed when running tests.
-
-Upstream-Status: Pending

- setup.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 53ebea7..ebb0de2 100644
 a/setup.py
-+++ b/setup.py
-@@ -10,9 +10,9 @@ with open('README.md') as readme_file:
- 
- requirements = []
- 
--setup_requirements = ['pytest-runner', ]
-+setup_requirements = []
- 
--test_requirements = ['pytest>=3', ]
-+test_requirements = ['pytest>=3', 'pytest-runner']
- 
- setup(
- author="Nicolas Aimetti",
--- 
-2.20.1
-
diff --git a/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb 
b/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
deleted file mode 100644
index e374979cb40..000
--- a/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-SUMMARY = "Pure python rfc3986 validator"
-HOMEPAGE = "https://github.com/naimetti/rfc3986-validator";
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3986-validator:"
-
-SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95"
-SRC_URI[sha256sum] = 
"3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
-
-PYPI_PACKAGE = "rfc3986_validator"
-UPSTREAM_CHECK_REGEX = "/rfc3986-validator/(?P(\d+[\.\-_]*)+)/"
-
-inherit pypi setuptools3
-
-SRC_URI += "\
-file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \
-"
-
-RDEPENDS:${PN} += "\
-python3-core \
-"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



Re: [OE-core] [PATCH] classes/flit-core: fix dependency loop

2024-08-06 Thread Ross Burton
On 16 Jul 2024, at 11:54, Konrad Weihmann  wrote:
> It isn't that obvious, for the loop to show up you would need a global class 
> that DEPENDS on a native only python-flit-core built recipe.

A global class adding to DEPENDS sounds like a bad idea… 

> An alternative would be to drop the python3 depends, as it is set by 
> setuptools-base class correctly already

That sounds like a better fix, please sent a v2.

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



Re: [OE-core] [PATCH v2 2/2] appstream: add qt6 PACKAGECONFIG option

2024-08-05 Thread Ross Burton
On 31 Jul 2024, at 16:28, Marc Ferland via lists.openembedded.org 
 wrote:
> +Fixes the following build failure:
> +
> +| In file included from 
> /home/marc/mnt/yocto-kde/build/tmp/work/x86_64-linux/appstream-native/1.0.3/recipe-sysroot-native/usr/include/QtTest/QtTest:11,
> +|  from ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp:21:
> +| ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp: In function ‘int main(int, 
> char**)’:
> +| ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp:117:1: error: expected 
> primary-expression before ‘)’ token
> +|   117 | QTEST_MAIN(PoolReadTest)
> +|   | ^~
> +
> +Upstream-Status: Inappropriate [oe-specific]

Is this actually OE-specific, and if so how? It smells like this is a genuine 
problem in the test code.

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



Re: [OE-core] [PATCH] curl: Update to 8.9.1

2024-08-05 Thread Ross Burton
There’s a known regression in this release, can you also backport this commit:

https://github.com/curl/curl/commit/3eec5afbd0b6377eca893c392569b2faf094d970

(as per https://curl.se/mail/distros-2024-08/0002.html)

Ross

> On 4 Aug 2024, at 02:44, Robert Joslyn via lists.openembedded.org 
>  wrote:
> 
> From: Robert Joslyn 
> 
> This update contains minor features, bugfixes, and addresses several CVEs:
> * https://curl.se/docs/CVE-2024-6197.html
> * https://curl.se/docs/CVE-2024-6874.html
> * https://curl.se/docs/CVE-2024-7264.html
> 
> Full relese notes available at https://curl.se/ch/8.9.1.html
> 
> Signed-off-by: Robert Joslyn 
> ---
> meta/recipes-support/curl/{curl_8.8.0.bb => curl_8.9.1.bb} | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> rename meta/recipes-support/curl/{curl_8.8.0.bb => curl_8.9.1.bb} (98%)
> 
> diff --git a/meta/recipes-support/curl/curl_8.8.0.bb 
> b/meta/recipes-support/curl/curl_8.9.1.bb
> similarity index 98%
> rename from meta/recipes-support/curl/curl_8.8.0.bb
> rename to meta/recipes-support/curl/curl_8.9.1.bb
> index 2b058e4e82..3abe1596a0 100644
> --- a/meta/recipes-support/curl/curl_8.8.0.bb
> +++ b/meta/recipes-support/curl/curl_8.9.1.bb
> @@ -15,7 +15,7 @@ SRC_URI = " \
> file://disable-tests \
> file://no-test-timeout.patch \
> "
> -SRC_URI[sha256sum] = 
> "0f58bb95fc330c8a46eeb3df5701b0d90c9d9bfcc42bd1cd08791d12551d4400"
> +SRC_URI[sha256sum] = 
> "f292f6cc051d5bbabf725ef85d432dfeacc8711dd717ea97612ae590643801e5"
> 
> # Curl has used many names over the years...
> CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl 
> daniel_stenberg:curl"
> -- 
> 2.44.2
> 
> 
> 
> 


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



[OE-core] [PATCH] meson: upgrade 1.4.0 -> 1.5.1

2024-08-02 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 .../meson/0001-Make-CPU-family-warnings-fatal.patch| 10 +-
 ...module-do-not-manipulate-the-environment-when.patch |  8 
 .../0002-Support-building-allarch-recipes-again.patch  |  4 ++--
 .../meson/{meson_1.4.0.bb => meson_1.5.1.bb}   |  2 +-
 4 files changed, 12 insertions(+), 12 deletions(-)
 rename meta/recipes-devtools/meson/{meson_1.4.0.bb => meson_1.5.1.bb} (98%)

diff --git 
a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch 
b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
index 94129b2f25f..04abb8b314f 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
@@ -1,4 +1,4 @@
-From c61c93f43b70ba0670d41e841bff9f2a7186cc2f Mon Sep 17 00:00:00 2001
+From 33bc81d5a262e0fa1a346ac1667a3679a17c0997 Mon Sep 17 00:00:00 2001
 From: Ross Burton 
 Date: Tue, 3 Jul 2018 13:59:09 +0100
 Subject: [PATCH] Make CPU family warnings fatal
@@ -11,10 +11,10 @@ Signed-off-by: Ross Burton 
  2 files changed, 4 insertions(+), 6 deletions(-)
 
 diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
-index 0e9cd23..b44e60c 100644
+index 86bad9b..9703315 100644
 --- a/mesonbuild/envconfig.py
 +++ b/mesonbuild/envconfig.py
-@@ -276,8 +276,8 @@ class MachineInfo(HoldableObject):
+@@ -277,8 +277,8 @@ class MachineInfo(HoldableObject):
  'but is missing {}.'.format(minimum_literal - set(literal)))
  
  cpu_family = literal['cpu_family']
@@ -26,10 +26,10 @@ index 0e9cd23..b44e60c 100644
  endian = literal['endian']
  if endian not in ('little', 'big'):
 diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
-index af69f64..248d6dd 100644
+index 5bccb90..6aa4b15 100644
 --- a/mesonbuild/environment.py
 +++ b/mesonbuild/environment.py
-@@ -379,10 +379,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
+@@ -387,10 +387,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
  if compilers and not any_compiler_has_define(compilers, '__mips64'):
  trial = 'mips'
  
diff --git 
a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
 
b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
index 9f3f516a5c1..b4671f591fc 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
@@ -1,4 +1,4 @@
-From b4c0602a56d3517ab66b98a7dbb69defe77d29a3 Mon Sep 17 00:00:00 2001
+From 66e350bbbd65e56a0d19c75710f61503e15e24a2 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Mon, 19 Nov 2018 14:24:26 +0100
 Subject: [PATCH] python module: do not manipulate the environment when calling
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin 
  1 file changed, 1 insertion(+), 5 deletions(-)
 
 diff --git a/mesonbuild/dependencies/python.py 
b/mesonbuild/dependencies/python.py
-index b9b17f8..a305afb 100644
+index 883a29a..52bfbf3 100644
 --- a/mesonbuild/dependencies/python.py
 +++ b/mesonbuild/dependencies/python.py
-@@ -381,9 +381,6 @@ def python_factory(env: 'Environment', for_machine: 
'MachineChoice',
+@@ -399,9 +399,6 @@ def python_factory(env: 'Environment', for_machine: 
'MachineChoice',
  empty.name = 'python'
  return empty
  
@@ -24,7 +24,7 @@ index b9b17f8..a305afb 100644
  try:
  return PythonPkgConfigDependency(name, env, kwargs, 
installation, True)
  finally:
-@@ -392,8 +389,7 @@ def python_factory(env: 'Environment', for_machine: 
'MachineChoice',
+@@ -410,8 +407,7 @@ def python_factory(env: 'Environment', for_machine: 
'MachineChoice',
  os.environ[name] = value
  elif name in os.environ:
  del os.environ[name]
diff --git 
a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
 
b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
index fa5ea57d5b9..5149d61af4e 100644
--- 
a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
+++ 
b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
@@ -1,4 +1,4 @@
-From 7f69bfabb87d311d7409ea6699f7dee8e9b3a95b Mon Sep 17 00:00:00 2001
+From 61430cf9a80e24eb33d72c6eae4e8d536d308e08 Mon Sep 17 00:00:00 2001
 From: Peter Kjellerstedt 
 Date: Thu, 26 Jul 2018 16:32:49 +0200
 Subject: [PATCH] Support building allarch recipes again
@@ -12,7 +12,7 @@ Signed-off-by: Peter Kje

Re: [OE-core] [PATCH v3 2/2] ofono: add ptests

2024-08-02 Thread Ross Burton


> On 1 Aug 2024, at 09:22, Martin Hundeb?ll via lists.openembedded.org 
>  wrote:
> +do_install_ptest() {
> +install -m755 -Dt ${D}${PTEST_PATH} $(find ${B}/unit -executable -type f)
> +install -m644 -Dt ${D}${PTEST_PATH}/unit ${B}/unit/test-provision.db
> +}

As as ell: the binaries are built with libtool, so use libtool —mode=install to 
install them.

Ross


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



Re: [OE-core] [PATCH v3 1/2] ell: add ptests

2024-08-02 Thread Ross Burton
On 1 Aug 2024, at 09:22, Martin Hundeb?ll via lists.openembedded.org 
 wrote:
> diff --git a/meta/recipes-core/ell/ell_0.67.bb 
> b/meta/recipes-core/ell/ell_0.67.bb
> index 6b0ebbe62113..ee9aa73d2908 100644
> --- a/meta/recipes-core/ell/ell_0.67.bb
> +++ b/meta/recipes-core/ell/ell_0.67.bb
> @@ -10,9 +10,27 @@ SECTION = "libs"
> LICENSE  = "LGPL-2.1-only"
> LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
> 
> -DEPENDS = "dbus"
> +DEPENDS = "dbus openssl-native xxd-native"

This should be conditional on ptest, right?

> +EXTRA_OECONF += "--enable-tests --enable-maintainer-mode"

Make this conditional on ptest too?

> +do_compile:prepend() {
> +mkdir -p ${B}/unit
> +}

This sounds like a broken Makefile.am that has a bad assumption in.

> +do_install_ptest() {
> +install -m755 -Dt ${D}${PTEST_PATH} $(find ${B}/unit -executable -type f)
> +install -Dt ${D}${PTEST_PATH}/unit \
> +${S}/unit/dbus.conf \
> +${S}/unit/settings.test \
> +$(find ${B}/unit -name \*.pem -type f)
> +}

As the test scripts are built with libtool, it’s best to use libtool 
—mode=install to install them.

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



Re: [OE-core] [PATCH v2] cryptodev: upgrade 1.13 -> 1.14

2024-08-02 Thread Ross Burton
On 1 Aug 2024, at 06:40, wangmy via lists.openembedded.org 
 wrote:
> 
> 0001-Disable-installing-header-file-provided-by-another-p.patch
> 0001-tests-Makefile-do-not-use-Werror.patch
> removed since they're included in 1.14

These being submitted upstream means we can also change the cryptodev-linux 
recipe and replace this:

# Just install cryptodev.h which is the only header file needed to be exported
do_install() {
install -D ${S}/crypto/cryptodev.h ${D}${includedir}/crypto/cryptodev.h
}

With simply:

do_install() {
  oe_runmake headers_install DESTDIR=${D}
}

(see 
https://github.com/cryptodev-linux/cryptodev-linux/commit/e3962fea4e1816df420c36ad72845f90dfcfb611)

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



Re: [OE-core][PATCH v3 5/5] cve-extra-exclusions.inc: add deprecation notice

2024-07-26 Thread Ross Burton
On 24 Jul 2024, at 16:25, Marta Rybczynska via lists.openembedded.org 
 wrote:
> 
> This file contains CVE_STATUS without machine-readable information on which
> recipe it applies to. All entries should be verified and, if appropriate,
> moved to their corresponding recipes.

The point of this file was to be an opt-in for more exclusions where we didn’t 
feel 100% confident asserting the issues could be ignored.

How much of a problem is it if this file contains a a limited number of CVEs?  
We can review what is in there and move/remove as needed to cut it down.

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



Re: [OE-core][PATCH v3 3/5] vex.bbclass: add a new class

2024-07-26 Thread Ross Burton
Also we should add a selftest for this class, to verify that the output is as 
expected.

Ross

> On 26 Jul 2024, at 13:09, Ross Burton via lists.openembedded.org 
>  wrote:
> 
> On 24 Jul 2024, at 16:25, Marta Rybczynska via lists.openembedded.org 
>  wrote:
>> +# CVE_CHECK_IGNORE is deprecated and CVE_STATUS has to be used instead.
>> +# Keep CVE_CHECK_IGNORE until other layers migrate to new variables
>> +CVE_CHECK_IGNORE ?= ""
> 
> In the new classes, I think we should just drop the deprecated variables 
> entirely.
> 
> Ross
> 
> 


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



Re: [OE-core][PATCH v3 3/5] vex.bbclass: add a new class

2024-07-26 Thread Ross Burton
On 24 Jul 2024, at 16:25, Marta Rybczynska via lists.openembedded.org 
 wrote:
> +# CVE_CHECK_IGNORE is deprecated and CVE_STATUS has to be used instead.
> +# Keep CVE_CHECK_IGNORE until other layers migrate to new variables
> +CVE_CHECK_IGNORE ?= ""

In the new classes, I think we should just drop the deprecated variables 
entirely.

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



Re: [OE-core] [openembedded-core][master][PATCH] use monotonic time

2024-07-26 Thread Ross Burton
Missing the recipe name in the shortlog.

Ross

> On 26 Jul 2024, at 11:48, Li Wang via lists.openembedded.org 
>  wrote:
> 
> when using xinet.d to limit rsync connections and time is set back,
> the connection limit is reached very quickly and rsync gets deactivated,
> if time is changed again, rsync is never reactivated.
> 
> date -s "xxx"
> xinetd[xxx]: Deactivating service rsync due to excessive incoming 
> connections. Restarting in 10 seconds.
> 
> the timer of xinet.d is based on time() function, and it is affected by 
> system time.
> 
> Signed-off-by: Li Wang 
> ---
> .../xinetd/xinetd/use-monotonic-time.patch| 246 ++
> .../xinetd/xinetd_2.3.15.4.bb |   1 +
> 2 files changed, 247 insertions(+)
> create mode 100644 
> meta/recipes-extended/xinetd/xinetd/use-monotonic-time.patch
> 
> diff --git a/meta/recipes-extended/xinetd/xinetd/use-monotonic-time.patch 
> b/meta/recipes-extended/xinetd/xinetd/use-monotonic-time.patch
> new file mode 100644
> index 00..2144c3cba2
> --- /dev/null
> +++ b/meta/recipes-extended/xinetd/xinetd/use-monotonic-time.patch
> @@ -0,0 +1,246 @@
> +use monotonic time
> +
> +when using xinet.d to limit rsync connections and time is set back,
> +the connection limit is reached very quickly and rsync gets deactivated,
> +if time is changed again, rsync is never reactivated.
> +
> +date -s "xxx"
> +xinetd[xxx]: Deactivating service rsync due to excessive incoming 
> connections. Restarting in 10 seconds.
> +
> +the timer of xinet.d is based on time() function, and it is affected by 
> system time.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Li Wang 
> +---
> + src/access.c   |6 +++---
> + src/builtins.c |4 ++--
> + src/internals.c|2 +-
> + src/log.c  |2 +-
> + src/sensor.c   |6 +++---
> + src/server.c   |2 +-
> + src/service.c  |4 ++--
> + src/signals.c  |2 +-
> + src/time.c |2 +-
> + src/xlog/filelog.c |2 +-
> + src/xtimer.c   |   15 ---
> + src/xtimer.h   |1 +
> + 12 files changed, 29 insertions(+), 19 deletions(-)
> +
> +--- a/src/access.c
>  b/src/access.c
> +@@ -70,7 +70,7 @@ static void cps_service_restart(void)
> +time_t nowtime;
> +const char *func = "cps_service_restart";
> + 
> +-   nowtime = time(NULL);
> ++   nowtime = _time(NULL);
> +for( i=0; i < pset_count( SERVICES(ps) ); i++ ) {
> +   struct service *sp;
> +   struct service_config *scp;
> +@@ -104,7 +104,7 @@ void cps_service_stop(struct service *sp
> +msg(LOG_ERR, "service_stop", 
> + "Deactivating service %s due to %s.  Restarting in %d seconds.", 
> + SC_NAME(scp), reason, (int)SC_TIME_WAIT(scp));
> +-   nowtime = time(NULL);
> ++   nowtime = _time(NULL);
> +SC_TIME_REENABLE(scp) = nowtime + SC_TIME_WAIT(scp);
> +xtimer_add(cps_service_restart, SC_TIME_WAIT(scp));
> + }
> +@@ -284,7 +284,7 @@ access_e parent_access_control( struct s
> +/* CPS handler */
> +if( SC_TIME_CONN_MAX(scp) != 0 ) {
> +   int time_diff;
> +-  nowtime = time(NULL);
> ++  nowtime = _time(NULL);
> +   time_diff = nowtime - SC_TIME_LIMIT(scp) ;
> + 
> +   if( SC_TIME_CONN(scp) == 0 ) {
> +--- a/src/builtins.c
>  b/src/builtins.c
> +@@ -237,7 +237,7 @@ static void daytime_protocol( char *buf,
> +int size = *buflen ;
> +int  cc ;
> + 
> +-   (void) time( &now ) ;
> ++   (void) _time( &now ) ;
> +tmp = localtime( &now ) ;
> +cc = strx_nprint( buf, size,
> +   "%02d %s %d %02d:%02d:%02d",
> +@@ -308,7 +308,7 @@ static void time_protocol( unsigned char
> +time_t now ;
> +unsigned long base1900;
> + 
> +-   (void) time( &now ) ;
> ++   (void) _time( &now ) ;
> +base1900 = (unsigned long)now + TIME_OFFSET ;
> +timep[0] = base1900 >> 24;
> +timep[1] = base1900 >> 16;
> +--- a/src/internals.c
>  b/src/internals.c
> +@@ -85,7 +85,7 @@ void dump_internal_state(void)
> + * Print the program name, version, and timestamp.
> + * Note that the program_version variable contains the program name.
> + */
> +-   (void) time( ¤t_time ) ;
> ++   (void) _time( ¤t_time ) ;
> +Sprint( dump_fd, "INTERNAL STATE DUMP: %s\n", program_version ) ;
> +Sprint( dump_fd, "Current time: %s\n", ctime( ¤t_time ) ) ;
> + 
> +--- a/src/log.c
>  b/src/log.c
> +@@ -202,7 +202,7 @@ void svc_log_exit( struct service *sp, c
> +{
> +   time_t current_time ;
> + 
> +-  (void) time( ¤t_time ) ;
> ++  (void) _time( ¤t_time ) ;
> +   cc = strx_nprint( &buf[ len ], bufsize, " duration=%ld(sec)",
> +  (long)(current_time - SERVER_STARTTIME( serp )) ) ;
> +   len += cc ;
> +--- a/src/sensor.c
>  b/src/sensor.c
> +@@ -68,7 +68,7 @@ void process_sensor( const struct servic
> +time_t nowtime;
> +char time_buf[40], *tmp;
> + 
> +-   nowtime = time(NULL);
> ++   nowtime = _time(NULL);
> +   msg(LOG_CRIT, func,
>

Re: [OE-core] [PATCH 23/37] python3-beartype: use python_setuptools_build_meta build class

2024-07-26 Thread Ross Burton


> On 26 Jul 2024, at 08:48, Joao Marcos Costa  
> wrote:
> 
> Hello, Ross
> On 7/23/24 16:51, Ross Burton wrote:
>> This package can be built using pep517 classes now.
>> 
>> Signed-off-by: Ross Burton 
>> ---
>> meta/recipes-devtools/python/python3-beartype_0.18.5.bb | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb 
>> b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
>> index 00554dd60c5..95d947c90ee 100644
>> --- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
>> +++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
>> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
>> "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
>> 
>> SRC_URI[sha256sum] = 
>> "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b70461381927"
>> 
>> -inherit setuptools3 pypi
>> +inherit pypi python_setuptools_build_meta
>> 
>> RDEPENDS:${PN} += "python3-numbers python3-io"
>> 
> Could this patch be causing such an error in the autobuilder?
> https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6663/steps/11/logs/stdio

No, that was a different issue that RP already fixed.

Ross


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



[OE-core] [PATCH 3/4] python3-numpy: ignore pep517-backend warnings

2024-07-25 Thread Ross Burton
Upstream has a pyproject.toml but it's marked as experimental and does
not currently work at all with the meson-python release we currently
have.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-numpy_1.26.4.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-numpy_1.26.4.bb 
b/meta/recipes-devtools/python/python3-numpy_1.26.4.bb
index ccd08147af6..914245507c7 100644
--- a/meta/recipes-devtools/python/python3-numpy_1.26.4.bb
+++ b/meta/recipes-devtools/python/python3-numpy_1.26.4.bb
@@ -61,4 +61,7 @@ RDEPENDS:${PN}-ptest += "python3-pytest \
  ldd \
 "
 
+# Upstream has a pyproject.toml but as of 1.26.4 it's marked as experimental
+INSANE_SKIP = "pep517-backend"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 2/4] insane: add pep517-backend to WARN_QA

2024-07-25 Thread Ross Burton
Enable the new pep517-backend warning from setuptools3, initially as a
warning so as not to break builds straight away.

Signed-off-by: Ross Burton 
---
 meta/classes-global/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-global/insane.bbclass 
b/meta/classes-global/insane.bbclass
index 7bf33f9bc0f..ad38879fa4b 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -26,7 +26,7 @@
 
 # Elect whether a given type of error is a warning or error, they may
 # have been set by other files.
-WARN_QA ?= "32bit-time native-last"
+WARN_QA ?= "32bit-time native-last pep517-backend"
 ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
 textrel incompatible-license files-invalid \
 infodir build-deps src-uri-bad symlink-to-sysroot multilib \
-- 
2.34.1


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



[OE-core] [PATCH 1/4] setuptools3: check for a PEP517 build system selection

2024-07-25 Thread Ross Burton
Some recipes use setuptools3 but should be using a PEP517-compliant
backend, be it the setuptools itself via python_setuptools_build_meta or
an alternative backend such as flit/hatch/poetry.

As we can't currently assume Python 3.11 on the build host we need to
parse the pyproject.toml manually, but this should be sufficient for the
limited parsing needed.

This task emits a QA error if a build backend is set, and can be ignored
by using INSANE_SKIP if needed.

[ YOCTO #14736 ]

Signed-off-by: Ross Burton 
---
 meta/classes-recipe/setuptools3.bbclass | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/meta/classes-recipe/setuptools3.bbclass 
b/meta/classes-recipe/setuptools3.bbclass
index d71a0895398..64a78e9a367 100644
--- a/meta/classes-recipe/setuptools3.bbclass
+++ b/meta/classes-recipe/setuptools3.bbclass
@@ -12,6 +12,20 @@ SETUPTOOLS_BUILD_ARGS ?= ""
 
 SETUPTOOLS_SETUP_PATH ?= "${S}"
 
+python do_check_backend() {
+import re
+filename = d.expand("${SETUPTOOLS_SETUP_PATH}/pyproject.toml")
+if os.path.exists(filename):
+for line in open(filename):
+match = re.match(r"build-backend\s*=\s*\W([\w.]+)\W", line)
+if not match: continue
+
+msg = f"inherits setuptools3 but has pyproject.toml with 
{match[1]}, use the correct class"
+if "pep517-backend" not in (d.getVar("INSANE_SKIP") or "").split():
+oe.qa.handle_error("pep517-backend", msg, d)
+}
+addtask check_backend after do_patch before do_configure
+
 setuptools3_do_configure() {
 :
 }
-- 
2.34.1


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



[OE-core] [PATCH 4/4] bmaptool: temporarily silence the pep517-backend warning

2024-07-25 Thread Ross Burton
Whilst bmaptool has a pyproject.toml that uses poetry, the setuptools
build path appears to be more complete.  Upstream has moved to hatch and
removed setup.py entirely so the next release can drop this.

Signed-off-by: Ross Burton 
---
 meta/recipes-support/bmaptool/bmaptool_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/bmaptool/bmaptool_git.bb 
b/meta/recipes-support/bmaptool/bmaptool_git.bb
index fd53c21c066..c38f05e1a1d 100644
--- a/meta/recipes-support/bmaptool/bmaptool_git.bb
+++ b/meta/recipes-support/bmaptool/bmaptool_git.bb
@@ -26,4 +26,7 @@ inherit setuptools3
 RREPLACES:${PN} = "bmap-tools"
 RCONFLICTS:${PN} = "bmap-tools"
 
+# Poetry backend appears incomplete, upstream has moved to hatch
+INSANE_SKIP = "pep517-backend"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH] python3-jsonpointer: upgrade 2.4 -> 3.0.0

2024-07-24 Thread Ross Burton
Also re-arrange the recipe to match conventional order.

Signed-off-by: Ross Burton 
---
 ...ter_2.4.bb => python3-jsonpointer_3.0.0.bb} | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)
 rename meta/recipes-devtools/python/{python3-jsonpointer_2.4.bb => 
python3-jsonpointer_3.0.0.bb} (85%)

diff --git a/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb 
b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
similarity index 85%
rename from meta/recipes-devtools/python/python3-jsonpointer_2.4.bb
rename to meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
index 062fa5243f9..0a23dc31002 100644
--- a/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb
+++ b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
@@ -5,16 +5,18 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
 
 inherit pypi ptest setuptools3
 
-SRC_URI[sha256sum] = 
"585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88"
+SRC_URI[sha256sum] = 
"2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef"
 
-RDEPENDS:${PN} += " \
-python3-json \
+SRC_URI += " \
+   file://run-ptest \
 "
 
-BBCLASSEXTEND = "native nativesdk"
+do_install_ptest() {
+   cp -f ${S}/tests.py ${D}${PTEST_PATH}/
+}
 
-SRC_URI += " \
-   file://run-ptest \
+RDEPENDS:${PN} += " \
+python3-json \
 "
 
 RDEPENDS:${PN}-ptest += " \
@@ -23,6 +25,4 @@ RDEPENDS:${PN}-ptest += " \
python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-   cp -f ${S}/tests.py ${D}${PTEST_PATH}/
-}
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 1/3] python3-unittest-automake-output: add dependency on unittest

2024-07-24 Thread Ross Burton
This module can be used as a wrapper around unittest, so depend on that.

Don't also depend on pytest as that's a much larger dependency, and
in ptest images we want as little pulled in as possible.

Signed-off-by: Ross Burton 
---
 .../python/python3-unittest-automake-output_0.2.bb  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb 
b/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
index 1fc6180d0eb..fefd4654c72 100644
--- a/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
+++ b/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
@@ -10,4 +10,6 @@ S = "${WORKDIR}/git"
 
 inherit python_flit_core
 
+RDEPENDS:${PN} += "python3-unittest"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 3/3] python3-idna: enable ptest

2024-07-24 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/ptest-packagelists.inc | 1 +
 meta/recipes-devtools/python/python3-idna/run-ptest | 3 +++
 meta/recipes-devtools/python/python3-idna_3.7.bb| 9 -
 3 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/python/python3-idna/run-ptest

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index 7e9ec1c3aa6..5a9896cc211 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -61,6 +61,7 @@ PTESTS_FAST = "\
 python3-beartype \
 python3-calver \
 python3-hypothesis \
+python3-idna \
 python3-jinja2 \
 python3-jsonpointer \
 python3-license-expression \
diff --git a/meta/recipes-devtools/python/python3-idna/run-ptest 
b/meta/recipes-devtools/python/python3-idna/run-ptest
new file mode 100644
index 000..d9693bb30f8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-idna/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+python3 -mputao.unittest discover --top-level-directory . --start-directory 
tests
diff --git a/meta/recipes-devtools/python/python3-idna_3.7.bb 
b/meta/recipes-devtools/python/python3-idna_3.7.bb
index 20c92d65372..713e803d038 100644
--- a/meta/recipes-devtools/python/python3-idna_3.7.bb
+++ b/meta/recipes-devtools/python/python3-idna_3.7.bb
@@ -5,8 +5,15 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1"
 
 SRC_URI[sha256sum] = 
"028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"
 
-inherit pypi python_flit_core
+SRC_URI += "file://run-ptest"
+
+inherit pypi python_flit_core ptest
+
+do_install_ptest() {
+cp -r ${S}/tests ${D}${PTEST_PATH}/
+}
 
 RDEPENDS:${PN} += "python3-codecs"
+RDEPENDS:${PN}-ptest += "python3-unittest-automake-output"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 2/3] python3-idna: generalise RDEPENDS

2024-07-24 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-idna_3.7.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-idna_3.7.bb 
b/meta/recipes-devtools/python/python3-idna_3.7.bb
index 729aff1c462..20c92d65372 100644
--- a/meta/recipes-devtools/python/python3-idna_3.7.bb
+++ b/meta/recipes-devtools/python/python3-idna_3.7.bb
@@ -7,8 +7,6 @@ SRC_URI[sha256sum] = 
"028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285b
 
 inherit pypi python_flit_core
 
-RDEPENDS:${PN}:class-target = "\
-python3-codecs \
-"
+RDEPENDS:${PN} += "python3-codecs"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 4/4] python3-packaging: enable ptest

2024-07-24 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 .../distro/include/ptest-packagelists.inc |  1 +
 .../python/python3-packaging/run-ptest|  3 +++
 .../python/python3-packaging_24.1.bb  | 21 ++-
 3 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/python/python3-packaging/run-ptest

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index 3dc1a2e88f1..7e9ec1c3aa6 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -67,6 +67,7 @@ PTESTS_FAST = "\
 python3-mako \
 python3-markupsafe \
 python3-more-itertools \
+python3-packaging \
 python3-pluggy \
 python3-pyasn1 \
 python3-pytz \
diff --git a/meta/recipes-devtools/python/python3-packaging/run-ptest 
b/meta/recipes-devtools/python/python3-packaging/run-ptest
new file mode 100644
index 000..8d2017d39ce
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-packaging/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-packaging_24.1.bb 
b/meta/recipes-devtools/python/python3-packaging_24.1.bb
index 596250b066d..20bcd55fbad 100644
--- a/meta/recipes-devtools/python/python3-packaging_24.1.bb
+++ b/meta/recipes-devtools/python/python3-packaging_24.1.bb
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
 
 SRC_URI[sha256sum] = 
"026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"
 
-inherit pypi python_flit_core
+SRC_URI += "file://run-ptest"
+
+inherit pypi python_flit_core ptest
 
 BBCLASSEXTEND = "native nativesdk"
 
@@ -16,3 +18,20 @@ RDEPENDS:${PN} += "python3-profile"
 do_compile:class-native () {
 python_flit_core_do_manual_build
 }
+
+do_install_ptest() {
+cp -r ${S}/tests ${D}${PTEST_PATH}/
+# We don't need this script which is used to build the binaries
+rm -f ${D}${PTEST_PATH}/tests/manylinux/build.sh
+}
+
+RDEPENDS:${PN}-ptest = "\
+python3-ctypes \
+python3-pretend \
+python3-pytest \
+python3-unittest-automake-output \
+"
+
+# The ptest package contains prebuilt test binaries
+INSANE_SKIP:${PN} = "already-stripped"
+INSANE_SKIP:${PN}-ptest = "arch"
-- 
2.34.1


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



[OE-core] [PATCH 3/4] python3-cffi: enable ptest

2024-07-24 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 .../distro/include/ptest-packagelists.inc |  1 +
 .../python/python3-cffi/run-ptest |  7 ++
 .../python/python3-cffi_1.16.0.bb | 22 ++-
 3 files changed, 29 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/python/python3-cffi/run-ptest

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index 08a8d612048..3dc1a2e88f1 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -115,6 +115,7 @@ PTESTS_SLOW = "\
 parted \
 perl \
 python3 \
+python3-cffi \
 python3-click \
 python3-cryptography \
 python3-xmltodict \
diff --git a/meta/recipes-devtools/python/python3-cffi/run-ptest 
b/meta/recipes-devtools/python/python3-cffi/run-ptest
new file mode 100644
index 000..24ee6f2156c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cffi/run-ptest
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# test_passing_large_list often causes an OOM, skip for now
+
+# test_version verifies that versions match across the source tree, ignore
+# as we don't have a source tree
+pytest --automake -k 'not test_passing_large_list and not test_version'
diff --git a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb 
b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
index dfe32c604bd..e740ef45be6 100644
--- a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
+++ b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
@@ -6,13 +6,33 @@ DEPENDS += "libffi python3-pycparser"
 
 SRC_URI[sha256sum] = 
"bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"
 
-inherit pypi python_setuptools_build_meta
+SRC_URI += "file://run-ptest"
+
+inherit pypi python_setuptools_build_meta ptest
+
+do_install_ptest() {
+cp -r ${S}/testing ${D}${PTEST_PATH}
+# These two files from the source tree are needed by the tests
+install -D -m644 ${S}/src/c/parse_c_type.c 
${D}${PTEST_PATH}/src/c/parse_c_type.c
+install -D -m644 ${S}/src/cffi/parse_c_type.h 
${D}${PTEST_PATH}/src/cffi/parse_c_type.h
+}
 
 RDEPENDS:${PN} = " \
 python3-ctypes \
 python3-io \
 python3-pycparser \
+python3-setuptools \
 python3-shell \
 "
 
+RDEPENDS:${PN}-ptest += " \
+python3-pytest \
+python3-unittest-automake-output \
+python3-dev \
+gcc-symlinks \
+g++-symlinks \
+"
+
+INSANE_SKIP:${PN}-ptest = "dev-deps"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 1/4] ptest-packagelists: sort entries

2024-07-24 Thread Ross Burton
Sort the entries for OCD reasons.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/ptest-packagelists.inc | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index 5e90096b1e8..08a8d612048 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -28,22 +28,23 @@ PTESTS_FAST = "\
 json-c \
 json-glib \
 libconvert-asn1-perl \
+libexif \
 libgpg-error\
 libnl \
 libpcre \
 libssh2 \
-libtimedate-perl \
 libtest-fatal-perl \
 libtest-needs-perl \
 libtest-warnings-perl \
+libtimedate-perl \
 libtry-tiny-perl \
 liburi-perl \
 libusb1 \
 libxml-namespacesupport-perl \
-libxml-perl \
 libxml-parser-perl \
-libxml-sax-perl \
+libxml-perl \
 libxml-sax-base-perl \
+libxml-sax-perl \
 libxml-simple-perl \
 libxml2 \
 libxmlb \
@@ -57,6 +58,7 @@ PTESTS_FAST = "\
 python3-atomicwrites \
 python3-attrs \
 python3-bcrypt \
+python3-beartype \
 python3-calver \
 python3-hypothesis \
 python3-jinja2 \
@@ -81,7 +83,6 @@ PTESTS_FAST = "\
 wayland \
 xz \
 zlib \
-libexif \
 "
 PTESTS_FAST:append:libc-glibc = " glibc-y2038-tests"
 PTESTS_PROBLEMS:remove:libc-glibc = "glibc-y2038-tests"
@@ -106,22 +107,22 @@ PTESTS_SLOW = "\
 libevent \
 libgcrypt \
 libmodule-build-perl \
+libseccomp \
 lttng-tools \
+lz4 \
 openssh \
 openssl \
 parted \
 perl \
-python3-cryptography \
 python3 \
 python3-click \
+python3-cryptography \
 python3-xmltodict \
 strace \
 tar \
 tcl \
 util-linux \
 valgrind \
-lz4 \
-libseccomp \
 "
 
 # python3 ptests hang on qemuriscv64
-- 
2.34.1


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



[OE-core] [PATCH 2/4] python3-cffi: generalise RDEPENDS

2024-07-24 Thread Ross Burton
There's no need to mark these RDEPENDS as target-only.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-cffi_1.16.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb 
b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
index 8e829794a56..dfe32c604bd 100644
--- a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
+++ b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = 
"bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25
 
 inherit pypi python_setuptools_build_meta
 
-RDEPENDS:${PN}:class-target = " \
+RDEPENDS:${PN} = " \
 python3-ctypes \
 python3-io \
 python3-pycparser \
-- 
2.34.1


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



Re: [OE-core] [PATCH 2/2] poky: avoid using host Python by inheriting python3native in appropriate recipes

2024-07-24 Thread Ross Burton
Adding python3-native to such a large number of recipes needs to be justified.  
We run bitbake on the native python, so what’s the problem of also using it eg 
build ed?

Ross

> On 24 Jul 2024, at 14:36, Daniil Mukhametgaleev via lists.openembedded.org 
>  wrote:
> 
> Signed-off-by: Daniil Mukhametgaleev 
> ---
> meta/recipes-bsp/grub/grub-efi_2.12.bb | 2 ++
> meta/recipes-bsp/grub/grub_2.12.bb | 2 ++
> meta/recipes-core/coreutils/coreutils_9.4.bb   | 2 ++
> meta/recipes-core/gettext/gettext_0.22.5.bb| 2 ++
> meta/recipes-core/glibc/glibc_2.39.bb  | 2 ++
> meta/recipes-devtools/binutils/binutils-cross_2.42.bb  | 2 ++
> meta/recipes-devtools/bison/bison_3.8.2.bb | 2 ++
> meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb| 2 ++
> meta/recipes-devtools/flex/flex_2.6.4.bb   | 3 +++
> meta/recipes-devtools/gcc/gcc-cross_13.2.bb| 1 +
> meta/recipes-devtools/gcc/gcc-runtime_13.2.bb  | 2 ++
> meta/recipes-devtools/mtools/mtools_4.0.43.bb  | 3 +++
> meta/recipes-devtools/pseudo/pseudo_git.bb | 2 ++
> meta/recipes-devtools/rsync/rsync_3.2.7.bb | 2 ++
> meta/recipes-extended/bash/bash_5.2.21.bb  | 2 ++
> meta/recipes-extended/bc/bc_1.07.1.bb  | 3 +++
> meta/recipes-extended/cpio/cpio_2.15.bb| 2 ++
> meta/recipes-extended/diffutils/diffutils_3.10.bb  | 2 ++
> meta/recipes-extended/ed/ed_1.20.1.bb  | 2 ++
> meta/recipes-extended/findutils/findutils_4.9.0.bb | 2 ++
> meta/recipes-extended/gawk/gawk_5.3.0.bb   | 2 ++
> meta/recipes-extended/grep/grep_3.11.bb| 2 ++
> meta/recipes-extended/groff/groff_1.23.0.bb| 2 ++
> meta/recipes-extended/gzip/gzip_1.13.bb| 2 ++
> meta/recipes-extended/lzip/lzip_1.24.bb| 2 ++
> meta/recipes-extended/lzip/lzlib_1.14.bb   | 3 +++
> meta/recipes-extended/parted/parted_3.6.bb | 2 ++
> meta/recipes-extended/screen/screen_4.9.1.bb   | 2 ++
> meta/recipes-extended/sed/sed_4.9.bb   | 2 ++
> meta/recipes-extended/tar/tar_1.35.bb  | 2 ++
> meta/recipes-extended/time/time_1.9.bb | 2 ++
> meta/recipes-extended/wget/wget_1.21.4.bb  | 2 ++
> meta/recipes-extended/which/which_2.21.bb  | 2 ++
> .../ca-certificates/ca-certificates_20211016.bb| 2 ++
> meta/recipes-support/gmp/gmp_6.3.0.bb  | 2 ++
> meta/recipes-support/libassuan/libassuan_2.5.6.bb  | 2 ++
> meta/recipes-support/libcheck/libcheck_0.15.2.bb   | 2 ++
> meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb | 2 ++
> meta/recipes-support/libgpg-error/libgpg-error_1.48.bb | 2 ++
> meta/recipes-support/libmpc/libmpc_1.3.1.bb| 1 +
> meta/recipes-support/libunistring/libunistring_1.2.bb  | 3 +++
> meta/recipes-support/mpfr/mpfr_4.2.1.bb| 2 ++
> meta/recipes-support/nettle/nettle_3.9.1.bb| 2 ++
> 43 files changed, 89 insertions(+)
> 
> diff --git a/meta/recipes-bsp/grub/grub-efi_2.12.bb 
> b/meta/recipes-bsp/grub/grub-efi_2.12.bb
> index 9857e8e0..f6e8b74a 100644
> --- a/meta/recipes-bsp/grub/grub-efi_2.12.bb
> +++ b/meta/recipes-bsp/grub/grub-efi_2.12.bb
> @@ -7,6 +7,8 @@ GRUBPLATFORM = "efi"
> DEPENDS:append = " grub-native"
> RDEPENDS:${PN} = "grub-common virtual-grub-bootconf"
> 
> +inherit python3native
> +
> SRC_URI += " \
>file://cfg \
>   "
> diff --git a/meta/recipes-bsp/grub/grub_2.12.bb 
> b/meta/recipes-bsp/grub/grub_2.12.bb
> index 05d46278..10217230 100644
> --- a/meta/recipes-bsp/grub/grub_2.12.bb
> +++ b/meta/recipes-bsp/grub/grub_2.12.bb
> @@ -1,5 +1,7 @@
> require grub2.inc
> 
> +inherit python3native
> +
> RDEPENDS:${PN}-common += "${PN}-editenv"
> RDEPENDS:${PN} += "${PN}-common"
> RDEPENDS:${PN}:class-native = ""
> diff --git a/meta/recipes-core/coreutils/coreutils_9.4.bb 
> b/meta/recipes-core/coreutils/coreutils_9.4.bb
> index 62ecdea6..386f2ea7 100644
> --- a/meta/recipes-core/coreutils/coreutils_9.4.bb
> +++ b/meta/recipes-core/coreutils/coreutils_9.4.bb
> @@ -13,6 +13,8 @@ DEPENDS:class-native = ""
> 
> inherit autotools gettext texinfo
> 
> +inherit python3native
> +
> SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
>file://remove-usr-local-lib-from-m4.patch \
>file://0001-local.mk-fix-cross-compiling-problem.patch \
> diff --git a/meta/recipes-core/gettext/gettext_0.22.5.bb 
> b/meta/recipes-core/gettext/gettext_0.22.5.bb
> index 1a66d379..c7e143c3 100644
> --- a/meta/recipes-

Re: [OE-core] [PATCH 05/37] python3-pytest: clean up RDEPENDS

2024-07-24 Thread Ross Burton


> On 24 Jul 2024, at 10:11, Joao Marcos Costa  
> wrote:
> There are a few errors potentially related to tomllib removal in the 
> autobuilder:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6836/steps/13/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6659/steps/13/logs/stdio
> Could you please take a look at them? Thanks!

Yes, v3 sent for the pytest recipe.

The cleanup was removing toml and tomli libraries from dependencies and I 
obviously got confused with tomllib (which is a core library) which is why this 
broke.

Ross


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



[OE-core] [PATCH v3] python3-pytest: clean up RDEPENDS

2024-07-24 Thread Ross Burton
These dependencies are only used in development:
- attrs
- setuptools

These dependencies are obsolete:
- atomicwrites removed 7.2.0
- importlib-metadata removed in 5.1.0
- more-itertools removed 6.1.0
- pathlib2 removed 6.2.2
- py removed in 7.2
- six removed in 5.0.0
- wcwidth removed in 6.0.0

This removals now means that python3-xml has to be added explicitly.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pytest_8.2.2.bb | 10 +-
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pytest_8.2.2.bb 
b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
index 531f40df81d..f0d16f473f2 100644
--- a/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
+++ b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
@@ -12,22 +12,14 @@ DEPENDS += "python3-setuptools-scm-native"
 inherit update-alternatives pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += " \
-python3-atomicwrites \
-python3-attrs \
+python3-xml \
 python3-debugger \
 python3-doctest \
-python3-importlib-metadata \
 python3-iniconfig \
 python3-json \
-python3-more-itertools \
 python3-packaging \
-python3-pathlib2 \
 python3-pluggy \
-python3-py \
-python3-setuptools \
-python3-six \
 python3-tomllib \
-python3-wcwidth \
 "
 
 ALTERNATIVE:${PN} += "py.test pytest"
-- 
2.34.1


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



[OE-core] [PATCH v2] python3-pytest: clean up RDEPENDS

2024-07-24 Thread Ross Burton
These dependencies are only used in development:
- attrs
- setuptools

These dependencies are obsolete:
- atomicwrites removed 7.2.0
- importlib-metadata removed in 5.1.0
- more-itertools removed 6.1.0
- pathlib2 removed 6.2.2
- py removed in 7.2
- six removed in 5.0.0
- tomllib not needed as we have Python 3.11+
- wcwidth removed in 6.0.0

This removals now means that python3-xml and python3-tomllib have to be
added explicitly.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pytest_8.2.2.bb | 10 +-
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pytest_8.2.2.bb 
b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
index 531f40df81d..f0d16f473f2 100644
--- a/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
+++ b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
@@ -12,22 +12,14 @@ DEPENDS += "python3-setuptools-scm-native"
 inherit update-alternatives pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += " \
-python3-atomicwrites \
-python3-attrs \
+python3-xml \
 python3-debugger \
 python3-doctest \
-python3-importlib-metadata \
 python3-iniconfig \
 python3-json \
-python3-more-itertools \
 python3-packaging \
-python3-pathlib2 \
 python3-pluggy \
-python3-py \
-python3-setuptools \
-python3-six \
 python3-tomllib \
-python3-wcwidth \
 "
 
 ALTERNATIVE:${PN} += "py.test pytest"
-- 
2.34.1


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



Re: [OE-core] [PATCH] meson: upgrade 1.4.0 -> 1.5.0

2024-07-23 Thread Ross Burton
On 20 Jul 2024, at 14:06, Richard Purdie  
wrote:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/9210/steps/13/logs/stdio

This turns out to be a regression in 1.5.0 which has been fixed in master. I’ve 
verified the fixes solve it and 1.5.1 should be released this week.

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



[OE-core] [PATCH v2] glib-networking: upgrade 2.78.1 -> 2.80.0

2024-07-23 Thread Ross Burton
2.80.0 - March 14, 2024
===

- Mark plugin functions as exports on Windows (!250, Amyspark)
- Updated translations

2.80.rc - February 29, 2024
===

- GnuTLS: fix improper use of IP address in SNI extension (!247, MARTINSONS 
Frederic)
- GnuTLS: major performance improvement: reduce unnecessary trust list creation 
(!249)
- OpenSSL: properly handle BIO_CTRL_EOF (!248)
- Updated translations

2.80.alpha - January 5, 2024


- GnuTLS: Add warning when system has no trusted certificates (!243)
- OpenSSL: Fix bug when populating trust store (!244, Alessandro Bono)
- Fix license on dtls-connection.c test (!245, David King)
- Updated translations

As exposed by the warning when there are no trusted certificates, we should
RDEPEND on ca-certificates if either of the crypto backends are enabled
so that cryptography is usable.

Signed-off-by: Ross Burton 
---
 .../glib-networking/glib-networking/eagain.patch| 2 +-
 ...{glib-networking_2.78.1.bb => glib-networking_2.80.0.bb} | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-core/glib-networking/{glib-networking_2.78.1.bb => 
glib-networking_2.80.0.bb} (93%)

diff --git a/meta/recipes-core/glib-networking/glib-networking/eagain.patch 
b/meta/recipes-core/glib-networking/glib-networking/eagain.patch
index 98ff4760716..98974aa4e77 100644
--- a/meta/recipes-core/glib-networking/glib-networking/eagain.patch
+++ b/meta/recipes-core/glib-networking/glib-networking/eagain.patch
@@ -1,4 +1,4 @@
-From 5604707bed4b4a4bc4658c7158a18c1774775775 Mon Sep 17 00:00:00 2001
+From f917ef5579257007bc02850e79769fe5ec48b2b7 Mon Sep 17 00:00:00 2001
 From: Richard Purdie 
 Date: Sat, 6 May 2023 12:18:50 +0100
 Subject: [PATCH] In autobuilder testing we regularly see glib-networking ptest
diff --git a/meta/recipes-core/glib-networking/glib-networking_2.78.1.bb 
b/meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
similarity index 93%
rename from meta/recipes-core/glib-networking/glib-networking_2.78.1.bb
rename to meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
index 5060d9fd7a1..b080285b6ec 100644
--- a/meta/recipes-core/glib-networking/glib-networking_2.78.1.bb
+++ b/meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
@@ -14,14 +14,14 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 SECTION = "libs"
 DEPENDS = "glib-2.0-native glib-2.0"
 
-SRC_URI[archive.sha256sum] = 
"e48f2ddbb049832cbb09230529c5e45daca9f0df0eda325f832f7379859bf09f"
+SRC_URI[archive.sha256sum] = 
"d8f4f1aab213179ae3351617b59dab5de6bcc9e785021eee178998ebd4bb3acf"
 
 # Upstream note that for the openssl backend, half the tests where this 
backend don't return
 # the expected error code or don't work as expected so default to gnutls
 PACKAGECONFIG ??= "gnutls environment ${@bb.utils.contains('PTEST_ENABLED', 
'1', 'tests', '', d)}"
 
-PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls"
-PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
+PACKAGECONFIG[gnutls] = 
"-Dgnutls=enabled,-Dgnutls=disabled,gnutls,ca-certificates"
+PACKAGECONFIG[openssl] = 
"-Dopenssl=enabled,-Dopenssl=disabled,openssl,ca-certificates"
 PACKAGECONFIG[environment] = 
"-Denvironment_proxy=enabled,-Denvironment_proxy=disabled"
 PACKAGECONFIG[libproxy] = "-Dlibproxy=enabled,-Dlibproxy=disabled,libproxy"
 PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false"
-- 
2.34.1


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



[OE-core] [PATCH] gi-docgen: upgrade to 2024.1

2024-07-23 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 .../gi-docgen/{gi-docgen_2023.3.bb => gi-docgen_2024.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/gi-docgen/{gi-docgen_2023.3.bb => 
gi-docgen_2024.1.bb} (94%)

diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb 
b/meta/recipes-gnome/gi-docgen/gi-docgen_2024.1.bb
similarity index 94%
rename from meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
rename to meta/recipes-gnome/gi-docgen/gi-docgen_2024.1.bb
index 488f2663cbf..12c2b8ed215 100644
--- a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
+++ b/meta/recipes-gnome/gi-docgen/gi-docgen_2024.1.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = 
"file://gi-docgen.py;beginline=1;endline=5;md5=2dc0f1f0120247
 
 SRC_URI = 
"git://gitlab.gnome.org/GNOME/gi-docgen.git;protocol=https;branch=main"
 
-SRCREV = "96f2e9b93e1d8a5338eb05b87fd879856ab7b3cc"
+SRCREV = "eff4ec3d21df38c9d857bcf58aa98437c6610489"
 
 S = "${WORKDIR}/git"
 
-- 
2.34.1


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



[OE-core] [PATCH] libcap-ng: clean up recipe

2024-07-23 Thread Ross Burton
This package is split into two recipes, one of the actual C library and
one for the Python bindings.

- Move common inherits into the common .inc.
- Clean up install in the python recipe
- Remove obsolete setuptools dependency
- Remove obsolete explicit .debug packaging
- Update homepage as freecode.com redirects to the top of SourceForge

Signed-off-by: Ross Burton 
---
 .../libcap-ng/libcap-ng-python_0.8.5.bb| 18 --
 meta/recipes-support/libcap-ng/libcap-ng.inc   |  4 +++-
 .../libcap-ng/libcap-ng_0.8.5.bb   |  2 --
 3 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb 
b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
index 4790134ae9f..f8a6b2c3177 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
@@ -4,26 +4,16 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/libcap-ng:"
 
 SUMMARY .= " - python"
 
-inherit lib_package autotools python3targetconfig
+inherit python3targetconfig
 
-# drop setuptools when version > 0.8.3 is released; it's needed only for 
distutils
-DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native"
+DEPENDS += "libcap-ng python3 swig-native"
 
 S = "${WORKDIR}/libcap-ng-${PV}"
 
 EXTRA_OECONF += "--with-python3"
 
-do_install:append() {
-rm -rf ${D}${bindir}
-rm -rf ${D}${libdir}/.debug
-rm -f ${D}${libdir}/lib*
-rm -rf ${D}${libdir}/pkgconfig
-rm -rf ${D}${datadir}
-rm -rf ${D}${includedir}
+do_install() {
+oe_runmake 'DESTDIR=${D}' install -C ${B}/bindings/python3
 }
 
-# PACKAGES = "${PN}"
-
 FILES:${PN} = "${libdir}/python${PYTHON_BASEVERSION}"
-FILES:${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/.debug/_capng.so"
-
diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc 
b/meta/recipes-support/libcap-ng/libcap-ng.inc
index 12b4002d117..85b51c4dc67 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng.inc
+++ b/meta/recipes-support/libcap-ng/libcap-ng.inc
@@ -1,7 +1,7 @@
 SUMMARY = "An alternate posix capabilities library"
 DESCRIPTION = "The libcap-ng library is intended to make programming \
 with POSIX capabilities much easier than the traditional libcap library."
-HOMEPAGE = "http://freecode.com/projects/libcap-ng";
+HOMEPAGE = "https://github.com/stevegrubb/libcap-ng";
 SECTION = "base"
 LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
@@ -13,6 +13,8 @@ SRC_URI = 
"https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
 
 SRC_URI[sha256sum] = 
"3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff"
 
+inherit lib_package autotools
+
 EXTRA_OECONF:append:class-target = " 
--with-capability_header=${STAGING_INCDIR}/linux/capability.h"
 EXTRA_OECONF:append:class-nativesdk = " 
--with-capability_header=${STAGING_INCDIR}/linux/capability.h"
 
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb 
b/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
index 3dbe3e2ffd9..b482368a41b 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
@@ -1,7 +1,5 @@
 require libcap-ng.inc
 
-inherit lib_package autotools
-
 EXTRA_OECONF += "--without-python3"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



Re: [OE-core] [PATCH 20/37] gi-docgen: use python_poetry_core

2024-07-23 Thread Ross Burton
Retracting this specific patch, please drop it.

Ross

> On 23 Jul 2024, at 15:51, Ross Burton via lists.openembedded.org 
>  wrote:
> 
> This package can be built using pep517 classes now.
> 
> Signed-off-by: Ross Burton 
> ---
> meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb 
> b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
> index 488f2663cbf..54ca5d9d078 100644
> --- a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
> +++ b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
> @@ -14,7 +14,7 @@ SRCREV = "96f2e9b93e1d8a5338eb05b87fd879856ab7b3cc"
> 
> S = "${WORKDIR}/git"
> 
> -inherit setuptools3
> +inherit python_poetry_core
> 
> RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json 
> python3-markdown python3-markupsafe python3-pygments python3-typogrify 
> python3-xml"
> 
> -- 
> 2.34.1
> 
> 
> 
> 


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



[OE-core] [PATCH 32/37] python3-spdx-tools: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb 
b/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
index 53263ca032c..6573ae9eee4 100644
--- a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
+++ b/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
@@ -8,7 +8,9 @@ SRC_URI[sha256sum] = 
"aea4ac9c2c375e7f439b1cef5ff32ef34914c083de0f61e08ed67cd3d9
 
 BBCLASSEXTEND = "native nativesdk"
 
-inherit setuptools3 pypi
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native"
 
 # Dependency required for pyspdxtools : python3-click
 # Dependencies required for conversion to spdx3 : python3-semantic-version, 
python3-ply
-- 
2.34.1


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



[OE-core] [PATCH 31/37] python3-setuptools-scm: remove python3-tomli dependency

2024-07-23 Thread Ross Burton
We have Python 3.11+ so setuptools-scm can use tomllib.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb 
b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb
index d116327fc6a..d8b9f8f2625 100644
--- a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb
@@ -14,7 +14,7 @@ inherit pypi python_setuptools_build_meta
 
 UPSTREAM_CHECK_REGEX = "scm-(?P.*)\.tar"
 
-DEPENDS += "python3-tomli-native python3-packaging-native 
python3-typing-extensions-native"
+DEPENDS += "python3-packaging-native python3-typing-extensions-native"
 
 RDEPENDS:${PN} = "\
 python3-packaging \
-- 
2.34.1


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



[OE-core] [PATCH 37/37] python3-uritools: enable ptest

2024-07-23 Thread Ross Burton
Install the test suite and run it in core-image-ptest-fast.

Signed-off-by: Ross Burton 
---
 meta/conf/distro/include/ptest-packagelists.inc |  1 +
 .../python/python3-uritools/run-ptest   |  3 +++
 .../python/python3-uritools_4.0.2.bb| 13 -
 3 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/python/python3-uritools/run-ptest

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index 16d7b9e6b2c..5e90096b1e8 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -71,6 +71,7 @@ PTESTS_FAST = "\
 python3-pyyaml \
 python3-rpds-py \
 python3-trove-classifiers \
+python3-uritools \
 python3-wcwidth \
 python3-webcolors \
 qemu \
diff --git a/meta/recipes-devtools/python/python3-uritools/run-ptest 
b/meta/recipes-devtools/python/python3-uritools/run-ptest
new file mode 100644
index 000..8d2017d39ce
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-uritools/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb 
b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
index 08ebd07705f..693d1974be2 100644
--- a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
+++ b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
@@ -6,6 +6,17 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558"
 
 SRC_URI[sha256sum] = 
"04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573"
 
-inherit pypi python_setuptools_build_meta
+SRC_URI += "file://run-ptest"
+
+inherit pypi python_setuptools_build_meta ptest
+
+do_install_ptest() {
+   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/
+}
+
+RDEPENDS:${PN}-ptest += " \
+   python3-pytest \
+   python3-unittest-automake-output \
+"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 36/37] python3-mako: add dependency on python3-misc for timeit

2024-07-23 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-mako_1.3.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python/python3-mako_1.3.5.bb 
b/meta/recipes-devtools/python/python3-mako_1.3.5.bb
index d52f72f4584..d8a05efe5b2 100644
--- a/meta/recipes-devtools/python/python3-mako_1.3.5.bb
+++ b/meta/recipes-devtools/python/python3-mako_1.3.5.bb
@@ -16,6 +16,7 @@ SRC_URI[sha256sum] = 
"48dbc20568c1d276a2698b36d968fa76161bf127194907ea6fc594fa81
 
 RDEPENDS:${PN} = "python3-html \
   python3-markupsafe \
+  python3-misc \
   python3-netclient \
   python3-pygments \
   python3-threading \
-- 
2.34.1


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



[OE-core] [PATCH 33/37] python3-subunit: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-subunit_1.4.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-subunit_1.4.4.bb 
b/meta/recipes-devtools/python/python3-subunit_1.4.4.bb
index 11be10bab60..269b0574272 100644
--- a/meta/recipes-devtools/python/python3-subunit_1.4.4.bb
+++ b/meta/recipes-devtools/python/python3-subunit_1.4.4.bb
@@ -8,7 +8,7 @@ PYPI_PACKAGE = "python-subunit"
 
 SRC_URI[sha256sum] = 
"1079363131aa1d3f45259237265bc2e61a77e35f20edfb6e3d1d2558a2cdea34"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} = " python3-testtools python3-iso8601"
 
-- 
2.34.1


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



[OE-core] [PATCH 35/37] python3-yamllint: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

yamlint appears to have never used setuptools-scm, so remove the
dependency.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-yamllint_1.35.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb 
b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
index 53188b02624..116209f683c 100644
--- a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
+++ b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
@@ -3,13 +3,12 @@ HOMEPAGE = "https://github.com/adrienverge/yamllint";
 LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 PYPI_PACKAGE = "yamllint"
 
 SRC_URI[sha256sum] = 
"7a003809f88324fd2c877734f2d575ee7881dd9043360657cc8049c809eba6cd"
 
-DEPENDS += "python3-setuptools-scm-native"
 RDEPENDS:${PN} += "python3-pathspec python3-pyyaml"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 34/37] python3-uritools: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-uritools_4.0.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb 
b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
index 5ffedccb855..08ebd07705f 100644
--- a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
+++ b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
@@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558"
 
 SRC_URI[sha256sum] = 
"04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573"
 
-inherit setuptools3 pypi
+inherit pypi python_setuptools_build_meta
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 27/37] python3-pyelftools: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pyelftools_0.31.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.31.bb 
b/meta/recipes-devtools/python/python3-pyelftools_0.31.bb
index 551fed6876d..0774caafdba 100644
--- a/meta/recipes-devtools/python/python3-pyelftools_0.31.bb
+++ b/meta/recipes-devtools/python/python3-pyelftools_0.31.bb
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = 
"c774416b10310156879443b81187d182d8d9ee499660380e645918b50b
 
 PYPI_PACKAGE = "pyelftools"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 BBCLASSEXTEND = "native"
 
-- 
2.34.1


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



[OE-core] [PATCH 29/37] python3-scons: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-scons_4.7.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-scons_4.7.0.bb 
b/meta/recipes-devtools/python/python3-scons_4.7.0.bb
index 36115185410..f41b3e92711 100644
--- a/meta/recipes-devtools/python/python3-scons_4.7.0.bb
+++ b/meta/recipes-devtools/python/python3-scons_4.7.0.bb
@@ -9,7 +9,7 @@ SRC_URI[sha256sum] = 
"d8b617f6610a73e46509de70dcf82f76861b79762ff602d546f4e80918
 
 PYPI_PACKAGE = "SCons"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN}:class-target = "\
   python3-core \
-- 
2.34.1


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



[OE-core] [PATCH 28/37] python3-ruemel-yaml: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Also remove the redundant RUAMEL_NO_PIP_INSTALL_CHECK assignment, this
is checked by setup.py which is no longer ran.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb 
b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb
index 197bf91d6cc..5df1f102d9d 100644
--- a/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb
+++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=30cbbccd94bf3a2b0285ec35671a1938"
 
 PYPI_PACKAGE = "ruamel.yaml"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 SRC_URI[sha256sum] = 
"8b27e6a217e786c6fbe5634d8f3f11bc63e0f80f6a5890f28863d9c45aac311b"
 
@@ -16,8 +16,4 @@ RDEPENDS:${PN} += "\
 python3-netclient \
 "
 
-do_install:prepend() {
-export RUAMEL_NO_PIP_INSTALL_CHECK=1
-}
-
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 30/37] python3-websockets: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-websockets_12.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb 
b/meta/recipes-devtools/python/python3-websockets_12.0.bb
index a04c63f6af1..e7f5e295238 100644
--- a/meta/recipes-devtools/python/python3-websockets_12.0.bb
+++ b/meta/recipes-devtools/python/python3-websockets_12.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aaugustin/websockets";
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=51924a6af4495b8cfaee1b1da869b6f4"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 SRC_URI[sha256sum] = 
"81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b"
 
-- 
2.34.1


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



[OE-core] [PATCH 26/37] python3-pycryptodome(x): use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb  | 2 +-
 meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb 
b/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb
index d24fa58d43f..6c93c205ac8 100644
--- a/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb
+++ b/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb
@@ -1,5 +1,5 @@
 require python-pycryptodome.inc
-inherit setuptools3
+inherit python_setuptools_build_meta
 
 SRC_URI[sha256sum] = 
"09609209ed7de61c2b560cc5c8c4fbf892f8b15b1faf7e4cbffac97db1fffda7"
 
diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb 
b/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb
index 2673ea83262..54578d28509 100644
--- a/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb
+++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb
@@ -1,5 +1,5 @@
 require python-pycryptodome.inc
-inherit setuptools3
+inherit python_setuptools_build_meta
 
 SRC_URI[sha256sum] = 
"7a710b79baddd65b806402e14766c721aee8fb83381769c27920f26476276c1e"
 
-- 
2.34.1


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



[OE-core] [PATCH 15/37] python3-setuptools-rust: remove obsolete python3-toml dependency

2024-07-23 Thread Ross Burton
As we have Python 3.11+, tomllib will be used.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb 
b/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
index 8eb2513d694..62ac4764038 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
@@ -27,7 +27,6 @@ RDEPENDS:${PN} += " \
 python3-setuptools \
 python3-setuptools-scm \
 python3-shell \
-python3-toml \
 python3-typing-extensions \
 python3-wheel \
 "
-- 
2.34.1


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



[OE-core] [PATCH 25/37] python3-psutil: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-psutil_6.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-psutil_6.0.0.bb 
b/meta/recipes-devtools/python/python3-psutil_6.0.0.bb
index 9b77ec40058..30b4df6bd00 100644
--- a/meta/recipes-devtools/python/python3-psutil_6.0.0.bb
+++ b/meta/recipes-devtools/python/python3-psutil_6.0.0.bb
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pypi.org/project/psutil/";
 
 SRC_URI[sha256sum] = 
"8faae4f310b6d969fa26ca0545338b21f73c6b15db7c4a8d934a5482faa818f2"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 PACKAGES =+ "${PN}-tests"
 
-- 
2.34.1


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



[OE-core] [PATCH 23/37] python3-beartype: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-beartype_0.18.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb 
b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
index 00554dd60c5..95d947c90ee 100644
--- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
+++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
 
 SRC_URI[sha256sum] = 
"264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b70461381927"
 
-inherit setuptools3 pypi
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += "python3-numbers python3-io"
 
-- 
2.34.1


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



[OE-core] [PATCH 24/37] python3-cffi: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-cffi_1.16.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb 
b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
index c5f6578ab20..8e829794a56 100644
--- a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
+++ b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
@@ -6,7 +6,7 @@ DEPENDS += "libffi python3-pycparser"
 
 SRC_URI[sha256sum] = 
"bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN}:class-target = " \
 python3-ctypes \
-- 
2.34.1


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



[OE-core] [PATCH 21/37] python3-pyasn1: merge bb/inc

2024-07-23 Thread Ross Burton
As there's just a single user of the include, merge them.

Signed-off-by: Ross Burton 
---
 .../recipes-devtools/python/python-pyasn1.inc | 31 --
 .../python/python3-pyasn1_0.6.0.bb| 32 +--
 2 files changed, 30 insertions(+), 33 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-pyasn1.inc

diff --git a/meta/recipes-devtools/python/python-pyasn1.inc 
b/meta/recipes-devtools/python/python-pyasn1.inc
deleted file mode 100644
index 7b269f2940f..000
--- a/meta/recipes-devtools/python/python-pyasn1.inc
+++ /dev/null
@@ -1,31 +0,0 @@
-SUMMARY = "Python library implementing ASN.1 types."
-HOMEPAGE = "http://pyasn1.sourceforge.net/";
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
-
-SRC_URI[sha256sum] = 
"3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
-
-RDEPENDS:${PN}:class-target += " \
-python3-codecs \
-python3-logging \
-python3-math \
-python3-shell \
-"
-
-BBCLASSEXTEND = "native nativesdk"
-
-inherit ptest
-
-SRC_URI += " \
-   file://run-ptest \
-   "
-
-RDEPENDS:${PN}-ptest += " \
-   python3-pytest \
-   python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-   install -d ${D}${PTEST_PATH}/tests
-   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb 
b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
index 0519ba5edb0..c321f4e58e5 100644
--- a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
+++ b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
@@ -1,3 +1,31 @@
-inherit pypi setuptools3
-require python-pyasn1.inc
+SUMMARY = "Python library implementing ASN.1 types."
+HOMEPAGE = "http://pyasn1.sourceforge.net/";
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
 
+SRC_URI[sha256sum] = 
"3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
+
+inherit pypi setuptools3 pytest
+
+RDEPENDS:${PN}:class-target += " \
+python3-codecs \
+python3-logging \
+python3-math \
+python3-shell \
+"
+
+SRC_URI += " \
+   file://run-ptest \
+   "
+
+RDEPENDS:${PN}-ptest += " \
+   python3-pytest \
+   python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 13/37] gi-docgen: remove obsolete python3-toml dependency

2024-07-23 Thread Ross Burton
As we have Python 3.11+, tomllib will be used.

Signed-off-by: Ross Burton 
---
 meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb 
b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
index 54d7ef75136..488f2663cbf 100644
--- a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
+++ b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
@@ -16,6 +16,6 @@ S = "${WORKDIR}/git"
 
 inherit setuptools3
 
-RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json 
python3-markdown python3-markupsafe python3-pygments python3-toml 
python3-typogrify python3-xml"
+RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json 
python3-markdown python3-markupsafe python3-pygments python3-typogrify 
python3-xml"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 14/37] python3-jinja2: remove obsolete python3-toml dependency

2024-07-23 Thread Ross Burton
As we have Python 3.11+, tomllib will be used.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-jinja2_3.1.4.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb 
b/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb
index 2c020370113..9ea6a0cf4ec 100644
--- a/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb
+++ b/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb
@@ -26,7 +26,6 @@ do_install_ptest() {
 RDEPENDS:${PN}-ptest += " \
 python3-pytest \
 python3-unittest-automake-output \
-python3-toml \
 python3-unixadmin \
 "
 
-- 
2.34.1


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



[OE-core] [PATCH 22/37] python3-pyasn1: use python_setuptools_build_meta build class

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb 
b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
index c321f4e58e5..7237557f444 100644
--- a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
+++ b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
 
 SRC_URI[sha256sum] = 
"3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
 
-inherit pypi setuptools3 pytest
+inherit pypi python_setuptools_build_meta ptest
 
 RDEPENDS:${PN}:class-target += " \
 python3-codecs \
-- 
2.34.1


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



[OE-core] [PATCH 20/37] gi-docgen: use python_poetry_core

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb 
b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
index 488f2663cbf..54ca5d9d078 100644
--- a/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
+++ b/meta/recipes-gnome/gi-docgen/gi-docgen_2023.3.bb
@@ -14,7 +14,7 @@ SRCREV = "96f2e9b93e1d8a5338eb05b87fd879856ab7b3cc"
 
 S = "${WORKDIR}/git"
 
-inherit setuptools3
+inherit python_poetry_core
 
 RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json 
python3-markdown python3-markupsafe python3-pygments python3-typogrify 
python3-xml"
 
-- 
2.34.1


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



[OE-core] [PATCH 19/37] python3-pathspec: use python_flit_core

2024-07-23 Thread Ross Burton
This package can be built using pep517 classes now.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pathspec_0.12.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb 
b/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb
index b61f6733972..2c80b24c289 100644
--- a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb
+++ b/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
 
 SRC_URI[sha256sum] = 
"a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"
 
-inherit pypi setuptools3
+inherit pypi python_flit_core
 
 BBCLASSEXTEND = "native nativesdk"
 
-- 
2.34.1


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



[OE-core] [PATCH 11/37] python3-pluggy: clean up RDEPENDS

2024-07-23 Thread Ross Burton
importlib-metadata is no longer needed since 0.13.0.

more-itertools has never been imported directly by pluggy but was likely
a dependency coming via more-itertools.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pluggy_1.5.0.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb 
b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
index 9822cd59f3b..4f8412d4b31 100644
--- a/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
+++ b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
@@ -6,9 +6,6 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
 SRC_URI[sha256sum] = 
"2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"
 
 DEPENDS += "python3-setuptools-scm-native"
-RDEPENDS:${PN} += "python3-importlib-metadata \
-   python3-more-itertools \
-"
 
 inherit pypi ptest python_setuptools_build_meta
 
-- 
2.34.1


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



[OE-core] [PATCH 18/37] python3-importlib-metadata: remove obsolete dependencies

2024-07-23 Thread Ross Burton
As we have Python 3.11+, tomllib will be used instead of python3-toml.

Use of pathlib2 was removed in 3.0.0.

Signed-off-by: Ross Burton 
---
 .../python/python3-importlib-metadata_8.0.0.bb| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_8.0.0.bb 
b/meta/recipes-devtools/python/python3-importlib-metadata_8.0.0.bb
index 7c920cffa28..1e446c891f1 100644
--- a/meta/recipes-devtools/python/python3-importlib-metadata_8.0.0.bb
+++ b/meta/recipes-devtools/python/python3-importlib-metadata_8.0.0.bb
@@ -12,8 +12,8 @@ SRC_URI[sha256sum] = 
"188bd24e4c346d3f0a933f275c2fec67050326a856b9a359881d7c2a69
 
 S = "${WORKDIR}/importlib_metadata-${PV}"
 
-DEPENDS += "python3-setuptools-scm-native python3-toml-native"
-RDEPENDS:${PN} += "python3-zipp python3-pathlib2"
+DEPENDS += "python3-setuptools-scm-native"
+RDEPENDS:${PN} += "python3-zipp"
 RDEPENDS:${PN}:append:class-target = " python3-misc"
 RDEPENDS:${PN}:append:class-nativesdk = " python3-misc"
 
-- 
2.34.1


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



[OE-core] [PATCH 17/37] python3-zipp: remove obsolete dependencies

2024-07-23 Thread Ross Burton
As we have Python 3.11+, tomllib will be used instead of toml.

more-itertools is only used by the tests, which we don't package.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-zipp_3.19.2.bb | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-zipp_3.19.2.bb 
b/meta/recipes-devtools/python/python3-zipp_3.19.2.bb
index 2bb69f2ac8b..8efb9d1814b 100644
--- a/meta/recipes-devtools/python/python3-zipp_3.19.2.bb
+++ b/meta/recipes-devtools/python/python3-zipp_3.19.2.bb
@@ -9,10 +9,7 @@ DEPENDS += "python3-setuptools-scm-native"
 
 inherit pypi python_setuptools_build_meta
 
-DEPENDS += "python3-toml-native"
-
 RDEPENDS:${PN} += "python3-compression \
-   python3-math \
-   python3-more-itertools"
+   python3-math"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 16/37] python3-setuptools-scm: remove obsolete python3-tomli dependency

2024-07-23 Thread Ross Burton
As we have Python 3.11+, tomllib will be used.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb 
b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb
index ea65b476fcd..d116327fc6a 100644
--- a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb
@@ -21,7 +21,6 @@ RDEPENDS:${PN} = "\
 python3-pip \
 python3-pyparsing \
 python3-setuptools \
-python3-tomli \
 python3-typing-extensions \
 "
 
-- 
2.34.1


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



[OE-core] [PATCH 12/37] python3-scons: remove obsolete RDEPENDS

2024-07-23 Thread Ross Burton
scons doesn't appear to have ever imported importlib_metadata.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-scons_4.7.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-scons_4.7.0.bb 
b/meta/recipes-devtools/python/python3-scons_4.7.0.bb
index bba6c799d41..36115185410 100644
--- a/meta/recipes-devtools/python/python3-scons_4.7.0.bb
+++ b/meta/recipes-devtools/python/python3-scons_4.7.0.bb
@@ -15,7 +15,6 @@ RDEPENDS:${PN}:class-target = "\
   python3-core \
   python3-compression \
   python3-fcntl \
-  python3-importlib-metadata \
   python3-io \
   python3-json \
   python3-shell \
-- 
2.34.1


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



[OE-core] [PATCH 05/37] python3-pytest: clean up RDEPENDS

2024-07-23 Thread Ross Burton
These dependencies are only used in development:
- attrs
- setuptools

These dependencies are obsolete:
- atomicwrites removed 7.2.0
- importlib-metadata removed in 5.1.0
- more-itertools removed 6.1.0
- pathlib2 removed 6.2.2
- py removed in 7.2
- six removed in 5.0.0
- tomllib not needed as we have Python 3.11+
- wcwidth removed in 6.0.0

This removals now means that python3-xml has to be added explicitly.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pytest_8.2.2.bb | 11 +--
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pytest_8.2.2.bb 
b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
index 531f40df81d..a5f6f7358bf 100644
--- a/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
+++ b/meta/recipes-devtools/python/python3-pytest_8.2.2.bb
@@ -12,22 +12,13 @@ DEPENDS += "python3-setuptools-scm-native"
 inherit update-alternatives pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += " \
-python3-atomicwrites \
-python3-attrs \
+python3-xml \
 python3-debugger \
 python3-doctest \
-python3-importlib-metadata \
 python3-iniconfig \
 python3-json \
-python3-more-itertools \
 python3-packaging \
-python3-pathlib2 \
 python3-pluggy \
-python3-py \
-python3-setuptools \
-python3-six \
-python3-tomllib \
-python3-wcwidth \
 "
 
 ALTERNATIVE:${PN} += "py.test pytest"
-- 
2.34.1


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



[OE-core] [PATCH 03/37] python3-setuptools: RDEPEND on python3-unixadmin

2024-07-23 Thread Ross Burton
setuptools/command/register.py uses the getpass module.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-setuptools_70.3.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb 
b/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb
index 291601ca983..72a8d7bc3c9 100644
--- a/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_70.3.0.bb
@@ -32,6 +32,7 @@ RDEPENDS:${PN} = "\
 python3-stringold \
 python3-threading \
 python3-unittest \
+python3-unixadmin \
 python3-xml \
 "
 
-- 
2.34.1


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



[OE-core] [PATCH 10/37] python3-jsonschema: remove obsolete RDEPENDS

2024-07-23 Thread Ross Burton
The backport of importlib-metadata is no longer needed as we have Python
3.8+.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb 
b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb
index 95afc1ead20..0332b3e9b50 100644
--- a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb
+++ b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb
@@ -33,7 +33,6 @@ RDEPENDS:${PN} += " \
 python3-attrs \
 python3-core \
 python3-datetime \
-python3-importlib-metadata \
 python3-io \
 python3-json \
 python3-jsonschema-specifications \
-- 
2.34.1


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



[OE-core] [PATCH 08/37] python3-websockets: remove unused imports

2024-07-23 Thread Ross Burton
These modules are not imported by websockets.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-websockets_12.0.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb 
b/meta/recipes-devtools/python/python3-websockets_12.0.bb
index 1bebcb4ce65..a04c63f6af1 100644
--- a/meta/recipes-devtools/python/python3-websockets_12.0.bb
+++ b/meta/recipes-devtools/python/python3-websockets_12.0.bb
@@ -12,6 +12,4 @@ BBCLASSEXTEND = "native nativesdk"
 
 RDEPENDS:${PN} = " \
 python3-asyncio \
-python3-profile \
-python3-zipp \
 "
-- 
2.34.1


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



[OE-core] [PATCH 09/37] python3-beartype: add missing RDEPENDS

2024-07-23 Thread Ross Burton
These parts of the standard library are imported by beartype.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-beartype_0.18.5.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb 
b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
index 04fbd3139fb..00554dd60c5 100644
--- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
+++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
@@ -8,4 +8,6 @@ SRC_URI[sha256sum] = 
"264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b70461
 
 inherit setuptools3 pypi
 
+RDEPENDS:${PN} += "python3-numbers python3-io"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 06/37] pytest-runner: remove python3-py dependency

2024-07-23 Thread Ross Burton
It appears that this package has never required the `py` module.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb 
b/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
index cce9ce33e22..e5e5e048bd4 100644
--- a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
+++ b/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
@@ -10,7 +10,6 @@ inherit pypi python_setuptools_build_meta
 DEPENDS += " \
 python3-setuptools-scm-native"
 
-RDEPENDS:${PN} = "python3-py python3-setuptools python3-debugger python3-json \
-  python3-io"
+RDEPENDS:${PN} = "python3-setuptools python3-debugger python3-json python3-io"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 07/37] python3-chardet: remove pytest-runner DEPENDS

2024-07-23 Thread Ross Burton
This was removed in 4.0.0[1]

[1] 
https://github.com/chardet/chardet/commit/6a59c4b19226231fc310a3c11e0be939a04f9b3e

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-chardet_5.2.0.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-chardet_5.2.0.bb 
b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
index ed792b1c7ed..9acbeeb3f25 100644
--- a/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
+++ b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
@@ -5,9 +5,6 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI[sha256sum] = 
"1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"
 
-# setup.py of chardet needs this.
-DEPENDS += "python3-pytest-runner-native"
-
 inherit pypi python_setuptools_build_meta
 
 PACKAGES =+ "${PN}-cli"
-- 
2.34.1


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



[OE-core] [PATCH 04/37] python3-poetry-core: remove python3-pathlib2 dependency

2024-07-23 Thread Ross Burton
Poetry 1.1.0 removed pathlib2 from the dependencies entirely, and before
then it was only needed with Python 2.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb 
b/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb
index 540fdffaeda..a073f8b069e 100644
--- a/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb
+++ b/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb
@@ -29,7 +29,6 @@ RDEPENDS:${PN}:append:class-target = "\
 python3-json \
 python3-logging \
 python3-netclient \
-python3-pathlib2 \
 python3-pprint \
 python3-shell \
 "
-- 
2.34.1


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



[OE-core] [PATCH 02/37] python3-jsonschema: rename nongpl PACKAGECONFIG

2024-07-23 Thread Ross Burton
To make it clear that this is an alternative to the format PACKAGECONFIG,
rename it to format-nongpl.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb 
b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb
index c3184396d29..95afc1ead20 100644
--- a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb
+++ b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb
@@ -21,7 +21,7 @@ PACKAGECONFIG[format] = ",,,\
 python3-rfc3987 \
 python3-rfc3339-validator \
 "
-PACKAGECONFIG[nongpl] = ",,,\
+PACKAGECONFIG[format-nongpl] = ",,,\
 python3-idna \
 python3-jsonpointer \
 python3-webcolors \
-- 
2.34.1


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



[OE-core] [PATCH 01/37] python3: add dependency on -compression to -core

2024-07-23 Thread Ross Burton
importlib.metadata is part of -core, but that will import zipfile which
is part of -compression.

Obviously this shows that our packaging of the Python modules is not
optimal.  I plan to follow up with a redesign of the splitting which
focuses on simply pulling out the larger or esoteric modules and
having a more featureful core.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/python/python3/python3-manifest.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json 
b/meta/recipes-devtools/python/python3/python3-manifest.json
index 46092d40040..292c5bbc5da 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -216,7 +216,7 @@
 },
 "core": {
 "summary": "Python interpreter and core modules",
-"rdepends": [],
+"rdepends": ["compression"],
 "files": [
 "${bindir}/python${PYTHON_MAJMIN}",
 "${bindir}/python${PYTHON_MAJMIN}.real",
-- 
2.34.1


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



[OE-core] [PATCH] Revert "python3: drop deterministic_imports.patch"

2024-07-23 Thread Ross Burton
There are still issues with importlib.metadata and empty directories,
which surface when doing builds with existing build trees.

I've raised this on the upstream ticket that Alex Kanavin has already
filed[1] so hopefully we can have a resolution soon.

This reverts commit 058c3a6e2b30103202f3995930825fc2f366274f.

[1] https://github.com/python/importlib_metadata/issues/489

Signed-off-by: Ross Burton 
---
 .../python3/deterministic_imports.patch   | 40 +++
 .../recipes-devtools/python/python3_3.12.4.bb |  1 +
 2 files changed, 41 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3/deterministic_imports.patch

diff --git a/meta/recipes-devtools/python/python3/deterministic_imports.patch 
b/meta/recipes-devtools/python/python3/deterministic_imports.patch
new file mode 100644
index 000..2de6ae2e981
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/deterministic_imports.patch
@@ -0,0 +1,40 @@
+From 039d5e652796b55f1132afa568c7432b6ed89afd Mon Sep 17 00:00:00 2001
+From: Richard Purdie 
+Date: Fri, 27 May 2022 17:05:44 +0100
+Subject: [PATCH] python3: Ensure stale empty python module directories don't
+
+There are two issues here. Firstly, the modules are accessed in on disk order. 
This
+means behaviour seen on one system might not reproduce on another and is a 
real headache.
+
+Secondly, empty directories left behind by previous modules might be looked 
at. This
+has caused a long string of different issues for us.
+
+As a result, patch this to a behaviour which works for us.
+
+Upstream-Status: Submitted [https://github.com/python/cpython/issues/120492; 
need to first talk to upstream to see if they'll take one or both fixes]
+Signed-off-by: Richard Purdie 
+
+---
+ Lib/importlib/metadata/__init__.py | 9 -
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/Lib/importlib/metadata/__init__.py 
b/Lib/importlib/metadata/__init__.py
+index 82e0ce1..969cac4 100644
+--- a/Lib/importlib/metadata/__init__.py
 b/Lib/importlib/metadata/__init__.py
+@@ -710,7 +710,14 @@ class Lookup:
+ self.infos = FreezableDefaultDict(list)
+ self.eggs = FreezableDefaultDict(list)
+ 
+-for child in path.children():
++for child in sorted(path.children()):
++childpath = pathlib.Path(path.root, child)
++try:
++if childpath.is_dir() and not any(childpath.iterdir()):
++# Empty directories aren't interesting
++continue
++except PermissionError:
++continue
+ low = child.lower()
+ if low.endswith((".dist-info", ".egg-info")):
+ # rpartition is faster than splitext and suitable for this 
purpose.
diff --git a/meta/recipes-devtools/python/python3_3.12.4.bb 
b/meta/recipes-devtools/python/python3_3.12.4.bb
index 743ba0b1f1f..119fe10ca93 100644
--- a/meta/recipes-devtools/python/python3_3.12.4.bb
+++ b/meta/recipes-devtools/python/python3_3.12.4.bb
@@ -24,6 +24,7 @@ SRC_URI = 
"http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
file://makerace.patch \
file://0001-sysconfig.py-use-platlibdir-also-for-purelib.patch \

file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \
+   file://deterministic_imports.patch \
file://0001-Avoid-shebang-overflow-on-python-config.py.patch \
file://0001-Update-test_sysconfig-for-posix_user-purelib.patch \

file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \
-- 
2.34.1


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



[OE-core] [PATCH v2] pango: upgrade 1.52.2 -> 1.54.0

2024-07-19 Thread Ross Burton
Upstream has removed installable tests, although there is pressure to
bring them back[1].

- Build fixes
- Memory leak fixes
- Drop the install-tests build option
- Add build-examples and build-tests build options
- Require meson 0.63
- Add pango_item_get_char_offset
- Update to Unicode 15.1
- Fix wrong use of GWeakRef, leading to crashes

[1] https://gitlab.gnome.org/GNOME/pango/-/issues/799

Signed-off-by: Ross Burton 
---
 .../distro/include/ptest-packagelists.inc |  1 -
 .../0001-Skip-running-test-layout-test.patch  | 45 ---
 meta/recipes-graphics/pango/pango/run-ptest   |  6 ---
 .../{pango_1.52.2.bb => pango_1.54.0.bb}  | 20 ++---
 4 files changed, 3 insertions(+), 69 deletions(-)
 delete mode 100644 
meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch
 delete mode 100644 meta/recipes-graphics/pango/pango/run-ptest
 rename meta/recipes-graphics/pango/{pango_1.52.2.bb => pango_1.54.0.bb} (68%)

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index d7d711383c0..16d7b9e6b2c 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -53,7 +53,6 @@ PTESTS_FAST = "\
 m4 \
 nettle \
 opkg \
-pango \
 popt \
 python3-atomicwrites \
 python3-attrs \
diff --git 
a/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch 
b/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch
deleted file mode 100644
index ec7fb4727eb..000
--- a/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From b9bfe3a79f165682a6db3d7ee1928365e93b1ccf Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Wed, 13 Apr 2022 19:39:29 -0700
-Subject: [PATCH] Skip running test-layout test
-
-This fails intermittently, it varies based on what version of harfbuzz
-is installed and if it does not match with what pango CI tests then we
-get random failures in this test. This has been disabled in other
-distros [1] too
-
-We want to drop this on next upgrade and see if this test passes if not
-then keep it disabled
-
-Fixes
-
-Running test: pango/test-layout.test
-1..36
-ok 1 /layout/letterspacing.layout
-ok 2 /layout/valid-7.layout
-not ok 3 /layout/valid-14.layout
-Bail out!
-FAIL: pango/test-layout.test (Child process killed by signal 6)
-
-[1] 
https://github.com/archlinux/svntogit-packages/commit/3f883e7ff8071adad23b6bcc0ba4b995aff10d52
-
-Upstream-Status: Inappropriate [bugfix 
https://gitlab.gnome.org/GNOME/pango/-/issues/677]
-Signed-off-by: Khem Raj 

- tests/test-layout.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/test-layout.c b/tests/test-layout.c
-index 1139e4f..b47a066 100644
 a/tests/test-layout.c
-+++ b/tests/test-layout.c
-@@ -222,5 +222,5 @@ main (int argc, char *argv[])
- }
-   g_dir_close (dir);
- 
--  return g_test_run ();
-+  return 77;
- }
--- 
-2.35.2
-
diff --git a/meta/recipes-graphics/pango/pango/run-ptest 
b/meta/recipes-graphics/pango/pango/run-ptest
deleted file mode 100644
index e1fab050ef9..000
--- a/meta/recipes-graphics/pango/pango/run-ptest
+++ /dev/null
@@ -1,6 +0,0 @@
-#! /bin/sh
-
-# workaround for https://gitlab.gnome.org/GNOME/pango/-/issues/668
-mkdir -p /usr/share/fonts/pango-private
-cp -rf /usr/libexec/installed-tests/pango/fonts/* 
/usr/share/fonts/pango-private
-gnome-desktop-testing-runner pango
diff --git a/meta/recipes-graphics/pango/pango_1.52.2.bb 
b/meta/recipes-graphics/pango/pango_1.54.0.bb
similarity index 68%
rename from meta/recipes-graphics/pango/pango_1.52.2.bb
rename to meta/recipes-graphics/pango/pango_1.54.0.bb
index 4f748e65540..de6f8bb3619 100644
--- a/meta/recipes-graphics/pango/pango_1.52.2.bb
+++ b/meta/recipes-graphics/pango/pango_1.54.0.bb
@@ -11,42 +11,28 @@ LICENSE = "LGPL-2.0-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
 
-
-inherit gnomebase gi-docgen ptest-gnome upstream-version-is-even 
gobject-introspection
+inherit gnomebase gi-docgen upstream-version-is-even gobject-introspection
 
 UPSTREAM_CHECK_REGEX = "pango-(?P\d+\.(?!9\d+)\d+\.\d+)"
 
 GIR_MESON_ENABLE_FLAG = "enabled"
 GIR_MESON_DISABLE_FLAG = "disabled"
 
-SRC_URI += "file://run-ptest \
-   file://0001-Skip-running-test-layout-test.patch \
-   "
-
-SRC_URI[archive.sha256sum] = 
"d0076afe01082814b853deec99f9349ece5f2ce83908b8e58ff736b41f78a96b"
+SRC_URI[archive.sha256sum] = 
"8a9eed75021ee734d7fc0fdf3a65c3bba51dfefe4ae51a9b414a60c70b2d1ed8"
 
 DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo 
harfbuzz fribidi"
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
-   ${@bb.utils.contains('PTEST_ENABLED', '

[OE-core] [PATCH] meson: upgrade 1.4.0 -> 1.5.0

2024-07-19 Thread Ross Burton
- Support for `bztar` in `meson dist`
- Cargo dependencies names now include the API version
- Added support `Cargo.lock` file
- Meson now propagates its build type to CMake
- compiler.run() method is now available for all languages
- dependencies created by compiler.find_library implement the `name()` method
- New version_argument kwarg for find_program
- Meson configure handles changes to options in more cases
- New meson format command
- Added support for GCC's `null_terminated_string_arg` function attribute
- A new dependency for ObjFW is now supported
- Support of indexed `@PLAINNAME@` and `@BASENAME@`
- Required kwarg on more `compiler` methods
- The Meson test program supports a new "--interactive" argument
- meson test now sets the `MESON_TEST_ITERATION` environment variable
- The Meson test program supports a new "--max-lines" argument
- Basic support for TI Arm Clang (tiarmclang)
- Support for Texas Instruments C6000 C/C++ compiler
- Wayland stable protocols can be versioned

Signed-off-by: Ross Burton 
---
 .../meson/0001-Make-CPU-family-warnings-fatal.patch| 10 +-
 ...module-do-not-manipulate-the-environment-when.patch |  8 
 .../0002-Support-building-allarch-recipes-again.patch  |  4 ++--
 .../meson/{meson_1.4.0.bb => meson_1.5.0.bb}   |  2 +-
 4 files changed, 12 insertions(+), 12 deletions(-)
 rename meta/recipes-devtools/meson/{meson_1.4.0.bb => meson_1.5.0.bb} (98%)

diff --git 
a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch 
b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
index 94129b2f25f..b319eddf644 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
@@ -1,4 +1,4 @@
-From c61c93f43b70ba0670d41e841bff9f2a7186cc2f Mon Sep 17 00:00:00 2001
+From f6076436e5de9a768488c34ca301bf52eee947af Mon Sep 17 00:00:00 2001
 From: Ross Burton 
 Date: Tue, 3 Jul 2018 13:59:09 +0100
 Subject: [PATCH] Make CPU family warnings fatal
@@ -11,10 +11,10 @@ Signed-off-by: Ross Burton 
  2 files changed, 4 insertions(+), 6 deletions(-)
 
 diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
-index 0e9cd23..b44e60c 100644
+index 86bad9b..9703315 100644
 --- a/mesonbuild/envconfig.py
 +++ b/mesonbuild/envconfig.py
-@@ -276,8 +276,8 @@ class MachineInfo(HoldableObject):
+@@ -277,8 +277,8 @@ class MachineInfo(HoldableObject):
  'but is missing {}.'.format(minimum_literal - set(literal)))
  
  cpu_family = literal['cpu_family']
@@ -26,10 +26,10 @@ index 0e9cd23..b44e60c 100644
  endian = literal['endian']
  if endian not in ('little', 'big'):
 diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
-index af69f64..248d6dd 100644
+index be40dbc..630eb4d 100644
 --- a/mesonbuild/environment.py
 +++ b/mesonbuild/environment.py
-@@ -379,10 +379,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
+@@ -384,10 +384,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
  if compilers and not any_compiler_has_define(compilers, '__mips64'):
  trial = 'mips'
  
diff --git 
a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
 
b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
index 9f3f516a5c1..e6db6121abc 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
@@ -1,4 +1,4 @@
-From b4c0602a56d3517ab66b98a7dbb69defe77d29a3 Mon Sep 17 00:00:00 2001
+From 786cdef7339ad865d29f92594ee7d18589b22fd2 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Mon, 19 Nov 2018 14:24:26 +0100
 Subject: [PATCH] python module: do not manipulate the environment when calling
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin 
  1 file changed, 1 insertion(+), 5 deletions(-)
 
 diff --git a/mesonbuild/dependencies/python.py 
b/mesonbuild/dependencies/python.py
-index b9b17f8..a305afb 100644
+index 883a29a..52bfbf3 100644
 --- a/mesonbuild/dependencies/python.py
 +++ b/mesonbuild/dependencies/python.py
-@@ -381,9 +381,6 @@ def python_factory(env: 'Environment', for_machine: 
'MachineChoice',
+@@ -399,9 +399,6 @@ def python_factory(env: 'Environment', for_machine: 
'MachineChoice',
  empty.name = 'python'
  return empty
  
@@ -24,7 +24,7 @@ index b9b17f8..a305afb 100644
  try:
  return PythonPkgConfigDependency(name, env, kwargs, 
installation, True)
  finally:
-@@ -392,8 +389,7 @@ def python_factory(env: 'Environment', for_machi

[OE-core] [PATCH 1/6] ell: upgrade 0.66 -> 0.67

2024-07-19 Thread Ross Burton
* Add support for handling sysctl char settings.

Signed-off-by: Ross Burton 
---
 meta/recipes-core/ell/{ell_0.66.bb => ell_0.67.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/ell/{ell_0.66.bb => ell_0.67.bb} (88%)

diff --git a/meta/recipes-core/ell/ell_0.66.bb 
b/meta/recipes-core/ell/ell_0.67.bb
similarity index 88%
rename from meta/recipes-core/ell/ell_0.66.bb
rename to meta/recipes-core/ell/ell_0.67.bb
index 899e2f68493..6b0ebbe6211 100644
--- a/meta/recipes-core/ell/ell_0.66.bb
+++ b/meta/recipes-core/ell/ell_0.67.bb
@@ -15,4 +15,4 @@ DEPENDS = "dbus"
 inherit autotools pkgconfig
 
 SRC_URI = 
"https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz";
-SRC_URI[sha256sum] = 
"7a78b757080ed6518c1c4fa26ad6a7a3d6e4e385386a20b6fb52379e7d1ffa36"
+SRC_URI[sha256sum] = 
"97942e8cefb130b632496e5485242f3f374f3b8846800fb74fffd76dc2a0c726"
-- 
2.34.1


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



[OE-core] [PATCH 6/6] glib-networking: upgrade 2.78.1 -> 2.80.0

2024-07-19 Thread Ross Burton
2.80.0 - March 14, 2024
===

- Mark plugin functions as exports on Windows (!250, Amyspark)
- Updated translations

2.80.rc - February 29, 2024
===

- GnuTLS: fix improper use of IP address in SNI extension (!247, MARTINSONS 
Frederic)
- GnuTLS: major performance improvement: reduce unnecessary trust list creation 
(!249)
- OpenSSL: properly handle BIO_CTRL_EOF (!248)
- Updated translations

2.80.alpha - January 5, 2024


- GnuTLS: Add warning when system has no trusted certificates (!243)
- OpenSSL: Fix bug when populating trust store (!244, Alessandro Bono)
- Fix license on dtls-connection.c test (!245, David King)
- Updated translations

Signed-off-by: Ross Burton 
---
 meta/recipes-core/glib-networking/glib-networking/eagain.patch  | 2 +-
 .../{glib-networking_2.78.1.bb => glib-networking_2.80.0.bb}| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-core/glib-networking/{glib-networking_2.78.1.bb => 
glib-networking_2.80.0.bb} (95%)

diff --git a/meta/recipes-core/glib-networking/glib-networking/eagain.patch 
b/meta/recipes-core/glib-networking/glib-networking/eagain.patch
index 98ff4760716..98974aa4e77 100644
--- a/meta/recipes-core/glib-networking/glib-networking/eagain.patch
+++ b/meta/recipes-core/glib-networking/glib-networking/eagain.patch
@@ -1,4 +1,4 @@
-From 5604707bed4b4a4bc4658c7158a18c1774775775 Mon Sep 17 00:00:00 2001
+From f917ef5579257007bc02850e79769fe5ec48b2b7 Mon Sep 17 00:00:00 2001
 From: Richard Purdie 
 Date: Sat, 6 May 2023 12:18:50 +0100
 Subject: [PATCH] In autobuilder testing we regularly see glib-networking ptest
diff --git a/meta/recipes-core/glib-networking/glib-networking_2.78.1.bb 
b/meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
similarity index 95%
rename from meta/recipes-core/glib-networking/glib-networking_2.78.1.bb
rename to meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
index 5060d9fd7a1..c8a13555486 100644
--- a/meta/recipes-core/glib-networking/glib-networking_2.78.1.bb
+++ b/meta/recipes-core/glib-networking/glib-networking_2.80.0.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 SECTION = "libs"
 DEPENDS = "glib-2.0-native glib-2.0"
 
-SRC_URI[archive.sha256sum] = 
"e48f2ddbb049832cbb09230529c5e45daca9f0df0eda325f832f7379859bf09f"
+SRC_URI[archive.sha256sum] = 
"d8f4f1aab213179ae3351617b59dab5de6bcc9e785021eee178998ebd4bb3acf"
 
 # Upstream note that for the openssl backend, half the tests where this 
backend don't return
 # the expected error code or don't work as expected so default to gnutls
-- 
2.34.1


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



[OE-core] [PATCH 5/6] pango: upgrade 1.52.2 -> 1.54.0

2024-07-19 Thread Ross Burton
Upstream has removed installable tests, although there is pressure to
bring them back[1].

- Build fixes
- Memory leak fixes
- Drop the install-tests build option
- Add build-examples and build-tests build options
- Require meson 0.63
- Add pango_item_get_char_offset
- Update to Unicode 15.1
- Fix wrong use of GWeakRef, leading to crashes

[1] https://gitlab.gnome.org/GNOME/pango/-/issues/799

Signed-off-by: Ross Burton 
---
 .../0001-Skip-running-test-layout-test.patch  | 45 ---
 meta/recipes-graphics/pango/pango/run-ptest   |  6 ---
 .../{pango_1.52.2.bb => pango_1.54.0.bb}  | 20 ++---
 3 files changed, 3 insertions(+), 68 deletions(-)
 delete mode 100644 
meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch
 delete mode 100644 meta/recipes-graphics/pango/pango/run-ptest
 rename meta/recipes-graphics/pango/{pango_1.52.2.bb => pango_1.54.0.bb} (68%)

diff --git 
a/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch 
b/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch
deleted file mode 100644
index ec7fb4727eb..000
--- a/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From b9bfe3a79f165682a6db3d7ee1928365e93b1ccf Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Wed, 13 Apr 2022 19:39:29 -0700
-Subject: [PATCH] Skip running test-layout test
-
-This fails intermittently, it varies based on what version of harfbuzz
-is installed and if it does not match with what pango CI tests then we
-get random failures in this test. This has been disabled in other
-distros [1] too
-
-We want to drop this on next upgrade and see if this test passes if not
-then keep it disabled
-
-Fixes
-
-Running test: pango/test-layout.test
-1..36
-ok 1 /layout/letterspacing.layout
-ok 2 /layout/valid-7.layout
-not ok 3 /layout/valid-14.layout
-Bail out!
-FAIL: pango/test-layout.test (Child process killed by signal 6)
-
-[1] 
https://github.com/archlinux/svntogit-packages/commit/3f883e7ff8071adad23b6bcc0ba4b995aff10d52
-
-Upstream-Status: Inappropriate [bugfix 
https://gitlab.gnome.org/GNOME/pango/-/issues/677]
-Signed-off-by: Khem Raj 

- tests/test-layout.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/test-layout.c b/tests/test-layout.c
-index 1139e4f..b47a066 100644
 a/tests/test-layout.c
-+++ b/tests/test-layout.c
-@@ -222,5 +222,5 @@ main (int argc, char *argv[])
- }
-   g_dir_close (dir);
- 
--  return g_test_run ();
-+  return 77;
- }
--- 
-2.35.2
-
diff --git a/meta/recipes-graphics/pango/pango/run-ptest 
b/meta/recipes-graphics/pango/pango/run-ptest
deleted file mode 100644
index e1fab050ef9..000
--- a/meta/recipes-graphics/pango/pango/run-ptest
+++ /dev/null
@@ -1,6 +0,0 @@
-#! /bin/sh
-
-# workaround for https://gitlab.gnome.org/GNOME/pango/-/issues/668
-mkdir -p /usr/share/fonts/pango-private
-cp -rf /usr/libexec/installed-tests/pango/fonts/* 
/usr/share/fonts/pango-private
-gnome-desktop-testing-runner pango
diff --git a/meta/recipes-graphics/pango/pango_1.52.2.bb 
b/meta/recipes-graphics/pango/pango_1.54.0.bb
similarity index 68%
rename from meta/recipes-graphics/pango/pango_1.52.2.bb
rename to meta/recipes-graphics/pango/pango_1.54.0.bb
index 4f748e65540..de6f8bb3619 100644
--- a/meta/recipes-graphics/pango/pango_1.52.2.bb
+++ b/meta/recipes-graphics/pango/pango_1.54.0.bb
@@ -11,42 +11,28 @@ LICENSE = "LGPL-2.0-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
 
-
-inherit gnomebase gi-docgen ptest-gnome upstream-version-is-even 
gobject-introspection
+inherit gnomebase gi-docgen upstream-version-is-even gobject-introspection
 
 UPSTREAM_CHECK_REGEX = "pango-(?P\d+\.(?!9\d+)\d+\.\d+)"
 
 GIR_MESON_ENABLE_FLAG = "enabled"
 GIR_MESON_DISABLE_FLAG = "disabled"
 
-SRC_URI += "file://run-ptest \
-   file://0001-Skip-running-test-layout-test.patch \
-   "
-
-SRC_URI[archive.sha256sum] = 
"d0076afe01082814b853deec99f9349ece5f2ce83908b8e58ff736b41f78a96b"
+SRC_URI[archive.sha256sum] = 
"8a9eed75021ee734d7fc0fdf3a65c3bba51dfefe4ae51a9b414a60c70b2d1ed8"
 
 DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo 
harfbuzz fribidi"
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
-   ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
 
 PACKAGECONFIG[x11] = ",,virtual/libx11 libxft"
-PACKAGECONFIG[tests] = "-Dinstall-tests=true, -Dinstall-tests=false"
 PACKAGECONFIG[thai] = "-Dlibthai=enabled,-Dlibthai=disabled,libthai"
 
 GIR_MESON_OPTION = 'introspection'
 
-do_configure:prepend() {
-   chmod

[OE-core] [PATCH 4/6] gtk+3: upgrade 3.24.42 -> 3.24.43

2024-07-19 Thread Ross Burton
* Stop looking for modules in cwd (CVE-2024-6655)

Signed-off-by: Ross Burton 
---
 meta/recipes-gnome/gtk+/gtk+3/opengl.patch| 97 +--
 .../{gtk+3_3.24.42.bb => gtk+3_3.24.43.bb}|  2 +-
 2 files changed, 48 insertions(+), 51 deletions(-)
 rename meta/recipes-gnome/gtk+/{gtk+3_3.24.42.bb => gtk+3_3.24.43.bb} (87%)

diff --git a/meta/recipes-gnome/gtk+/gtk+3/opengl.patch 
b/meta/recipes-gnome/gtk+/gtk+3/opengl.patch
index 8f2feb0ee75..d846045c248 100644
--- a/meta/recipes-gnome/gtk+/gtk+3/opengl.patch
+++ b/meta/recipes-gnome/gtk+/gtk+3/opengl.patch
@@ -1,4 +1,4 @@
-From 4a0716f04fb25b51b08e994bd5a900b2e7f7fed5 Mon Sep 17 00:00:00 2001
+From 24a0d767251b81810767e03aa1db8cc497408db3 Mon Sep 17 00:00:00 2001
 From: Jussi Kukkonen 
 Date: Fri, 16 Oct 2015 16:35:16 +0300
 Subject: [PATCH] Do not try to initialize GL without libGL
@@ -21,7 +21,7 @@ Signed-off-by: Jussi Kukkonen 
  docs/tools/widgets.c |  6 +-
  gdk/gdkconfig.h.meson|  1 +
  gdk/gdkdisplay.c |  4 
- gdk/gdkgl.c  | 10 ++
+ gdk/gdkgl.c  | 11 ++-
  gdk/gdkglcontext.c   |  6 ++
  gdk/gdkwindow.c  | 13 +
  gdk/meson.build  |  8 +++-
@@ -37,10 +37,10 @@ Signed-off-by: Jussi Kukkonen 
  meson_options.txt|  2 ++
  tests/meson.build|  9 +++--
  testsuite/gtk/objects-finalize.c |  2 ++
- 21 files changed, 128 insertions(+), 13 deletions(-)
+ 21 files changed, 128 insertions(+), 14 deletions(-)
 
 diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build
-index 252da16d05..4b57cff6ac 100644
+index 252da16..4b57cff 100644
 --- a/demos/gtk-demo/meson.build
 +++ b/demos/gtk-demo/meson.build
 @@ -28,7 +28,6 @@ demos = files([
@@ -63,7 +63,7 @@ index 252da16d05..4b57cff6ac 100644
demos += files('pagesetup.c')
  endif
 diff --git a/docs/tools/meson.build b/docs/tools/meson.build
-index 05621ee7ed..3d0a333b32 100644
+index 05621ee..3d0a333 100644
 --- a/docs/tools/meson.build
 +++ b/docs/tools/meson.build
 @@ -2,10 +2,13 @@ if x11_enabled
@@ -83,7 +83,7 @@ index 05621ee7ed..3d0a333b32 100644
 include_directories: [ confinc, gdkinc, gtkinc, 
testinc, ],
 dependencies: libgtk_dep)
 diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
-index 932daf1746..348807e133 100644
+index 932daf1..348807e 100644
 --- a/docs/tools/widgets.c
 +++ b/docs/tools/widgets.c
 @@ -8,7 +8,9 @@
@@ -110,7 +110,7 @@ index 932daf1746..348807e133 100644
  
return info;
 diff --git a/gdk/gdkconfig.h.meson b/gdk/gdkconfig.h.meson
-index 7db19e0470..088651bafa 100644
+index 7db19e0..088651b 100644
 --- a/gdk/gdkconfig.h.meson
 +++ b/gdk/gdkconfig.h.meson
 @@ -15,6 +15,7 @@ G_BEGIN_DECLS
@@ -122,7 +122,7 @@ index 7db19e0470..088651bafa 100644
  G_END_DECLS
  
 diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
-index 748f54860c..04ef2c09d4 100644
+index fd5e9ea..87b45e7 100644
 --- a/gdk/gdkdisplay.c
 +++ b/gdk/gdkdisplay.c
 @@ -2420,7 +2420,11 @@ gboolean
@@ -138,7 +138,7 @@ index 748f54860c..04ef2c09d4 100644
  
  GdkRenderingMode
 diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
-index 9690077cc2..55f85ef605 100644
+index 0940c06..4b56614 100644
 --- a/gdk/gdkgl.c
 +++ b/gdk/gdkgl.c
 @@ -21,8 +21,9 @@
@@ -152,7 +152,7 @@ index 9690077cc2..55f85ef605 100644
  #include 
  #include 
  
-@@ -36,6 +37,7 @@
+@@ -36,6 +37,7 @@ gdk_cairo_surface_mark_as_direct (cairo_surface_t *surface,
 g_object_ref (window),  g_object_unref);
  }
  
@@ -160,7 +160,7 @@ index 9690077cc2..55f85ef605 100644
  static const char *
  get_vertex_type_name (int type)
  {
-@@ -208,6 +210,7 @@
+@@ -208,6 +210,7 @@ use_texture_rect_program (GdkGLContextPaintData 
*paint_data)
glUseProgram (paint_data->current_program->program);
  }
  }
@@ -168,7 +168,7 @@ index 9690077cc2..55f85ef605 100644
  
  void
  gdk_gl_texture_quads (GdkGLContext *paint_context,
-@@ -216,6 +219,7 @@
+@@ -216,6 +219,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context,
GdkTexturedQuad *quads,
gboolean flip_colors)
  {
@@ -176,7 +176,7 @@ index 9690077cc2..55f85ef605 100644
GdkGLContextPaintData *paint_data  = gdk_gl_context_get_paint_data 
(paint_context);
GdkGLContextProgram *program;
GdkWindow *window = gdk_gl_context_get_window (paint_context);
-@@ -289,6 +293,7 @@
+@@ -289,6 +293,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context,
  
glDisableVertexAttribArray (program->position_location);
glDisableVertexAttribArray (program->uv_location);
@@ -184,7 +184,7 @@ index 9690077cc2..55f85ef605 100644
  }
  
  /* x,y,width,height describes a rectangle in the gl render buffer
-@@ -337,6 +342,7 @@
+@@ -337,6 +342,7 @@ gdk_cairo_draw_from_gl (cairo_t  *cr,
  int   width,
 

  1   2   3   4   5   6   7   8   9   10   >