[oe] [PATCH] libgweather: fix build with gobject-introspection 1.80.0

2024-04-29 Thread Alexander Kanavin
gweather build is running a python script 
build-aux/meson/gen_locations_variant.py
which imports g-i data at build time:

from gi.repository import GLib

Previously this would import the typelib file installed by native
g-i (which would likely not match the cross target, but nvm). New
g-i version no longer installs those files, so the options are:

- run the python script with target python inside qemu
- copy the needed typelib from target sysroot into the native one.

I took the easy way out.

Signed-off-by: Alexander Kanavin 
---
 meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb 
b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb
index acf288528..e0c8724a3 100644
--- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb
+++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb
@@ -28,3 +28,7 @@ FILES:${PN} += " \
 ${datadir}/libgweather-4 \
 ${libdir}/libgweather-4 \
 "
+
+do_configure:prepend() {
+cp -f ${STAGING_LIBDIR}/girepository-1.0/GLib*typelib 
${STAGING_LIBDIR_NATIVE}/girepository-1.0/
+}
-- 
2.39.2


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



Re: [oe] [PATCH 1/1] [mesa] Update do_install as needed per upstream changes

2024-04-22 Thread Alexander Kanavin
Incorrect mailing list. Please read poky/README.md

Text of DSO is not needed in the commit message.

Alex


On Mon, 22 Apr 2024 at 15:24, Joseph Mills via lists.openembedded.org
 wrote:
>
> Signed-off-by: Joseph Mills 
>
> Developer's Certificate of Origin 1.1
>
> By making a contribution to this project, I certify that:
>
> (a) The contribution was created in whole or in part by me and I
> have the right to submit it under the open source license
> indicated in the file; or
>
> (b) The contribution is based upon previous work that, to the best
> of my knowledge, is covered under an appropriate open source
> license and I have the right under that license to submit that
> work with modifications, whether created in whole or in part
> by me, under the same open source license (unless I am
> permitted to submit under a different license), as indicated
> in the file; or
>
> (c) The contribution was provided directly to me by some other
> person who certified (a), (b) or (c) and I have not modified
> it.
>
> (d) I understand and agree that this project and the contribution
> are public and that a record of the contribution (including all
> personal information I submit with it, including my sign-off) is
> maintained indefinitely and may be redistributed consistent with
> this project or the open source license(s) involved.
> ---
>  meta/recipes-graphics/mesa/mesa.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-graphics/mesa/mesa.inc 
> b/meta/recipes-graphics/mesa/mesa.inc
> index 6e96190084..f4fcf31df0 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -27,12 +27,12 @@ SRC_URI[sha256sum] = 
> "94e28a8edad06d8ed2b83eb53f253b9eb5aa62c3080f939702e1b3039b
>  UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)"
>
>  #because we cannot rely on the fact that all apps will use pkgconfig,
> -#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
> +#make eglplatform.h independent of USE_X11
>  do_install:append() {
># sed can't find EGL/eglplatform.h as it doesn't get installed when glvnd 
> enabled.
># So, check if EGL/eglplatform.h exists before running sed.
>if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)} && [ 
> -f ${D}${includedir}/EGL/eglplatform.h ]; then
> -  sed -i -e 's/^#elif defined(__unix__) && defined(EGL_NO_X11)$/#elif 
> defined(__unix__) \&\& defined(EGL_NO_X11) || 
> ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' 
> ${D}${includedir}/EGL/eglplatform.h
> +  sed -i -e 's/^#elif defined(USE_X11)$/#elif 
> ${@bb.utils.contains('PACKAGECONFIG', 'x11', '1', '0', d)}/' 
> ${D}${includedir}/EGL/eglplatform.h
>fi
>  }
>
> --
> 2.43.0
>
>
> 
>

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



[oe] [PATCH] vlc: do not depend on mpeg2dec

2024-04-21 Thread Alexander Kanavin
The format is obsolete, the code hasn't been touched in well over 10
years and the recipe is about to be removed from oe-core. VLC can still
access such files via its gstreamer module/ffmpeg.

Signed-off-by: Alexander Kanavin 
---
 meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb 
b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb
index d25a20ae0..21bc408f6 100644
--- a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb
@@ -9,7 +9,7 @@ DEPENDS = "coreutils-native fribidi libtool libgcrypt 
libgcrypt-native bison-nat
dbus libxml2 gnutls \
tremor faad2 ffmpeg flac alsa-lib \
lua-native lua libidn \
-   avahi jpeg xz libmodplug mpeg2dec \
+   avahi jpeg xz libmodplug \
libmtp libopus orc libsamplerate0 libusb1 schroedinger taglib \
tiff"
 
-- 
2.39.2


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



Re: [oe] [meta-python2][PATCH] layer.conf: update LAYERSERIES_COMPAT for scarthgap

2024-04-17 Thread Alexander Kanavin
On Tue, 16 Apr 2024 at 17:03, Martin Jansa  wrote:
> As there is strong opinion against declaring scarthgap compatibility
> in official meta-python2 from Timo, Alex and Jose, I don't plan to
> merge Marek's change (nor my version with additional fixes for
> Upstream-Status etc).

There's more to it. It's a protest against people focusing on obsolete
retro computing stuff because of their poor product planning, while
offering no help to keep things current. It took me two months to
update python to 3.12 while ensuring nothing breaks in core or
meta-oe. Something you Marek perhaps don't need right now, but will
certainly need in the future. Did you help?

Alex

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



Re: [oe] [meta-python2][PATCH] layer.conf: update LAYERSERIES_COMPAT for scarthgap

2024-04-16 Thread Alexander Kanavin
On Tue, 16 Apr 2024 at 16:19, Peter Marko via lists.openembedded.org
 wrote:
> Following works for yocto kirkstone + meta-lts-mixin kirkstone/go + 
> meta-lts-mixin kirkstone/rust + meta-virtualization master
> LAYERSERIES_COMPAT_virtualization-layer += "kirkstone"
>
> meta-qt5 should be able to do something similar with meta-python2 if 
> meta-python2 is frozen...

If I remember right, meta-qt5 does not need target python2, it need
only native python2 because the qt5 web widget contains a badly
outdated chromium. So meta-qt5 could just copy the python2 recipe
directly into the layer perhaps and drop meta-python2 dependency.

Alex

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



Re: [oe] [meta-python2][PATCH] layer.conf: update LAYERSERIES_COMPAT for scarthgap

2024-04-16 Thread Alexander Kanavin
On Tue, 16 Apr 2024 at 15:55, Marek Vasut via lists.openembedded.org
 wrote:
> I am aware of qt5 being a dead end, but I also think if making this
> stuff build with scarthgap is a one-liner change, I don't really see why
> not enable people to build it.
>
> The security implications have to be considered by the users. Maybe this
> should also be spelled out in the README, for both the meta-python2 and
> meta-qt5. I can send such a patch ?

Again, no. We need to draw the line somewhere, and this is where we
draw it. Martin can of course still push the patch, but I'd be
disappointed if he did.

Alex

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



Re: [oe] [meta-python2][PATCH] layer.conf: update LAYERSERIES_COMPAT for scarthgap

2024-04-15 Thread Alexander Kanavin
Yes to Tim's hard no. Qt5 itself is EOL for almost a year now (don't
tell me about their commercial offers, ok?).

I would put something similar to meta-gpl2 into that layer instead actually:
https://git.yoctoproject.org/meta-gplv2/commit/?id=43bf0e8d5985945d19d01f94bfbbda420c4435f3

Alex


On Mon, 15 Apr 2024 at 17:21, Tim Orling via lists.openembedded.org
 wrote:
>
> This is a hard no from me.
>
> On Mon, Apr 15, 2024 at 6:59 AM Marek Vasut via lists.openembedded.org 
>  wrote:
>>
>> On 4/15/24 3:49 PM, Jose Quaresma wrote:
>> > Hi Marek,
>>
>> Hi,
>>
>> > Last commit on this layer was done 2 years ago and it was at the time to
>> > add Kirkstone compatibility, nothing more since then.
>> > Python 2 is dead since 1/1/2020. That means that we (python dev) will not
>> > improve it anymore after that day,
>> > even if someone finds a security problem in it. You should upgrade to
>> > Python 3 as soon as you can.
>> >
>> > https://www.python.org/doc/sunset-python-2
>> >
>> > In my opinion the OE community should no longer promote its use.
>>
>> I am aware of this, for me this is just a band-aid to keep meta-qt5
>> building for a while longer. I can work around this in bblayers.conf or
>> local.conf too, I would like to avoid that however.
>>
>>
>>
>
> 
>

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



Re: [oe] [meta-python][PATCH] python3-dbus: re-add recipe with latest patches and add ptest

2024-03-21 Thread Alexander Kanavin
The patches are taken from Fedora, and so aren't backports. Should be
marked Inactive-Upstream rather.

I would only add it back if it has real consumers or use cases that
can't be fulfilled by maintained alternatives. Otherwise, anyone can
carry it privately,

Alex

On Thu, 21 Mar 2024 at 23:18, Derek Straka  wrote:
>
> The python3-dbus package was removed in (dac933e).  While the upstream
> project isn't active, other distributions (e.g. Fedora, Debian, etc)
> continue to offer the package and apply patches to resolve reported issues.
>
> While other packages offer similar functionality (e.g. dasbus), they are not
> drop in replacements and the general dbus functionality works out of the box.
> The python package has accomplished it's goal of providing useful 
> functionality,
> and the proposal is to continue to have it available in meta-python for use.
>
> Signed-off-by: Derek Straka 
> ---
>  .../ptest-packagelists-meta-python.inc|   1 +
>  .../packagegroups/packagegroup-meta-python.bb |   1 +
>  ...ttribute-conforming-to-introspect.dt.patch |   0
>  .../0002-Support-asynchronous-calls-58.patch  | 204 
>  ...mation-between-D-Bus-errors-and-exce.patch | 493 ++
>  .../python/python3-pydbus/run-ptest   |  15 +
>  .../python/python3-pydbus_0.6.0.bb|  26 +
>  7 files changed, 740 insertions(+)
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-pydbus/0001-make-direction-attribute-conforming-to-introspect.dt.patch
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-pydbus/0002-Support-asynchronous-calls-58.patch
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-pydbus/0003-Support-transformation-between-D-Bus-errors-and-exce.patch
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-pydbus/run-ptest
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
>
> diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc 
> b/meta-python/conf/include/ptest-packagelists-meta-python.inc
> index 447e0b938..ec26f768e 100644
> --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
> +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
> @@ -53,6 +53,7 @@ PTESTS_FAST_META_PYTHON = "\
>  python3-pytest-mock \
>  python3-pytoml \
>  python3-pyyaml-include \
> +python3-pydbus \
>  python3-rapidjson \
>  python3-requests-file \
>  python3-requests-toolbelt \
> diff --git 
> a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
> b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> index eb5a26463..e0446da28 100644
> --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> @@ -311,6 +311,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
>  python3-pycodestyle \
>  python3-pyconnman \
>  python3-pycurl \
> +python3-pydbus \
>  python3-pydicti \
>  python3-pyephem \
>  python3-pyexpect \
> diff --git 
> a/meta-python/recipes-devtools/python/python3-pydbus/0001-make-direction-attribute-conforming-to-introspect.dt.patch
>  
> b/meta-python/recipes-devtools/python/python3-pydbus/0001-make-direction-attribute-conforming-to-introspect.dt.patch
> new file mode 100644
> index 0..e69de29bb
> diff --git 
> a/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-asynchronous-calls-58.patch
>  
> b/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-asynchronous-calls-58.patch
> new file mode 100644
> index 0..44600a8e6
> --- /dev/null
> +++ 
> b/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-asynchronous-calls-58.patch
> @@ -0,0 +1,204 @@
> +From 31d6dd7893a5e1bb9eb14bfcee861a5b62f64960 Mon Sep 17 00:00:00 2001
> +From: Vendula Poncova 
> +Date: Thu, 27 Jul 2017 18:41:29 +0200
> +Subject: [PATCH 2/3] Support asynchronous calls (#58)
> +
> +Added support for asynchronous calls of methods. A method is called
> +synchronously unless its callback parameter is specified. A callback
> +is a function f(*args, returned=None, error=None), where args is
> +callback_args specified in the method call, returned is a return
> +value of the method and error is an exception raised by the method.
> +
> +Example of an asynchronous call:
> +
> +def func(x, y, returned=None, error=None):
> +  pass
> +
> +proxy.Method(a, b, callback=func, callback_args=(x, y))
> +
> +Upstream-Status: Backport 
> [https://src.fedoraproject.org/cgit/rpms/python-pydbus.git/]
> +
> +Signed-off-by: Derek Straka 
> +---
> + doc/tutorial.rst   | 11 -
> + pydbus/proxy_method.py | 44 ++-
> + tests/publish_async.py | 63 
> ++
> + tests/run.sh   |  1 +
> + 4 files changed, 112 insertions(+), 7 deletions(-)
> + create mode 100644 tests/publish_async.py
> +
> +diff --git 

Re: [oe] [PATCH 18/23] mongodb: skip until python 3.12 fixes are available.

2024-01-16 Thread Alexander Kanavin
On Tue, 16 Jan 2024 at 10:24, Joao Marcos Costa
 wrote:
> Would you have any updates on this porting?

I wouldn't and I don't plan to fix it. Mongodb is under a proprietary
license that OSI rejected and thus in my opinion doesn't belong in
meta-oe at all.

If it's important to you, then you need to do the work.

Alex

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



Re: [oe] [PATCH 05/23] libpwquality: backport a python 3.12 compatibility patch

2024-01-10 Thread Alexander Kanavin
I guess this change needs to be rebased and restored on top of the
backported patch:

--  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@
setup.py build --build-base py$(PYTHONREV) install
--prefix=${DESTDIR}${prefix}
-+  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@
setup.py build --build-base py$(PYTHONREV) install
--prefix=${DESTDIR}${prefix} --install-lib=${DESTDIR}/${PYTHONSITEDIR}

Can you try that please?

Alex

On Wed, 10 Jan 2024 at 12:43, Martin Jansa  wrote:
>
> It doesn't respect libdir now, causing installed-vs-shipped e.g. in multilib 
> builds with libdir set to /usr/lib32:
>
> ERROR: QA Issue: lib32-libpwquality: Files/directories were installed but not 
> shipped in any package:
>   /usr/lib/python3.11/site-packages/pwquality.cpython-311-arm-linux-gnueabi.so
>   /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info
>   
> /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/SOURCES.txt
>   /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/PKG-INFO
>   
> /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/dependency_links.txt
>   
> /usr/lib/python3.11/site-packages/pwquality-1.4.5-py3.11.egg-info/top_level.txt
> Please set FILES such that these items are packaged. Alternatively if they 
> are unneeded, avoid installing them or delete them within do_install.
> lib32-libpwquality: 6 installed and not shipped files. [installed-vs-shipped]
>
> On Sun, Dec 31, 2023 at 1:23 PM Alexander Kanavin  
> wrote:
>>
>> This also allows dropping a previous patch.
>>
>> Signed-off-by: Alexander Kanavin 
>> ---
>>  ...-Use-setuptools-instead-of-distutils.patch | 78 +++
>>  ...missing-python-include-dir-for-cross.patch | 43 --
>>  .../libpwquality/libpwquality_1.4.5.bb|  6 +-
>>  3 files changed, 81 insertions(+), 46 deletions(-)
>>  create mode 100644 
>> meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
>>  delete mode 100644 
>> meta-oe/recipes-extended/libpwquality/files/add-missing-python-include-dir-for-cross.patch
>>
>> diff --git 
>> a/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
>>  
>> b/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
>> new file mode 100644
>> index 0..7eaca66b5
>> --- /dev/null
>> +++ 
>> b/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
>> @@ -0,0 +1,78 @@
>> +From ad95b7684365dea8335c34527d4c1463c1668af0 Mon Sep 17 00:00:00 2001
>> +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= 
>> +Date: Fri, 31 Mar 2023 14:52:19 +0200
>> +Subject: [PATCH] Use setuptools instead of distutils
>> +
>> +distutils is removed from Python 3.12+:
>> +https://peps.python.org/pep-0632/
>> +
>> +Upstream-Status: Backport 
>> [https://github.com/libpwquality/libpwquality/commit/7b5e0f0097faebdcc6a8b783237bbba7a983147a]
>> +Signed-off-by: Alexander Kanavin 
>> +---
>> + libpwquality.spec.in | 11 ++-
>> + python/Makefile.am   |  2 +-
>> + python/setup.py.in   |  6 +++---
>> + 3 files changed, 6 insertions(+), 13 deletions(-)
>> +
>> +diff --git a/libpwquality.spec.in b/libpwquality.spec.in
>> +index 70a6f53..0809126 100644
>> +--- a/libpwquality.spec.in
>>  b/libpwquality.spec.in
>> +@@ -33,9 +33,11 @@ BuildRequires: gettext
>> + BuildRequires: pam-devel
>> + %if %{with python2}
>> + BuildRequires: python2-devel
>> ++BuildRequires: python2-setuptools
>> + %endif
>> + %if %{with python3}
>> + BuildRequires: python3-devel
>> ++BuildRequires: python3-setuptools
>> + %endif
>> +
>> + URL: https://github.com/libpwquality/libpwquality/
>> +@@ -103,15 +105,6 @@ cp -a . %{py3dir}
>> + pushd %{py3dir}
>> + %endif
>> + %if %{with python3}
>> +-# setuptools >= 60 changes the environment to use its bundled copy of 
>> distutils
>> +-# by default, not the Python-bundled one. To run the Python's standard 
>> library
>> +-# distutils, the environment variable must be set.
>> +-# Although technically setuptools is not needed for this package, if it's
>> +-# pulled by another package, it changes the environment and consequently,
>> +-# the build fails. This was reported in:
>> +-# https://github.com/pypa/setuptools/issues/3143
>> +-export SETUPTOOLS_USE_DISTUTILS=stdlib
>> +-
>> + %configure \
>> +   --with-securedir=%{_moduledir} \
>> +   --with-pythonsitedir=%{python3_sitearch} \
>> +dif

Re: [oe] [PATCH 2/2] python3-kivy: update 2.2.1 -> 2.3.0

2024-01-09 Thread Alexander Kanavin
On Tue, 9 Jan 2024 at 15:57, Khem Raj  wrote:
>
> On Tue, Jan 9, 2024 at 1:08 AM Alexander Kanavin  
> wrote:
> >
> > I think it's clang, so needs to be added to conf/nonclangable.conf?
>
> yes, Although it will be good to report this error upstream, since
> mixing const/non-const types can have
> unintended consequences and result in subtle bugs.

Reported here:
https://github.com/kivy/kivy/issues/8557

Alex

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



Re: [oe] [PATCH 2/2] python3-kivy: update 2.2.1 -> 2.3.0

2024-01-09 Thread Alexander Kanavin
On Tue, 9 Jan 2024 at 16:02, Khem Raj  wrote:
>
> btw, do we need to switch branch stable -> master ?
> there is patch from Leon which has descriptive commit message. [1]
>
> [1] 
> https://patchwork.yoctoproject.org/project/oe/patch/20240109135121.3460927-3-leon.an...@konsulko.com/

When I sent mine, stable wasn't yet updated I think. So can be either way.

Alex

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



Re: [oe] [PATCH 2/2] python3-kivy: update 2.2.1 -> 2.3.0

2024-01-09 Thread Alexander Kanavin
I think it's clang, so needs to be added to conf/nonclangable.conf?

/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/python3-kivy/2.3.0/git/kivy/graphics/cgl_backend/cgl_gl.c:4549:52:
error: incompatible function pointer types assigning to 'void
(*)(GLuint, GLsizei, const GLchar **, const GLint *)' (aka 'void
(*)(unsigned int, int, const char **, const int *)') from 'void
(GLuint, GLsizei, const GLchar *const *, const GLint *)' (aka 'void
(unsigned int, int, const char *const *, const int *)')
[-Wincompatible-function-pointer-types]
 4549 |   __pyx_v_4kivy_8graphics_3cgl_cgl->glShaderSource = glShaderSource;
  |^ ~~

Note that this update is needed for both cython 3.x and python 3.12
compatibility.

Alex

On Tue, 9 Jan 2024 at 04:32, Khem Raj  wrote:
>
> this fails to build here ( maybe its clang finding additional problems )
>
> https://sprunge.us/lq5PKS
>
> On Fri, Jan 5, 2024 at 5:36 AM Alexander Kanavin  
> wrote:
> >
> > License-Update: years, mention that it is MIT at the start.
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  .../python/{python3-kivy_2.2.1.bb => python3-kivy_2.3.0.bb} | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >  rename meta-python/recipes-devtools/python/{python3-kivy_2.2.1.bb => 
> > python3-kivy_2.3.0.bb} (93%)
> >
> > diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb 
> > b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb
> > similarity index 93%
> > rename from meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb
> > rename to meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb
> > index a72ee14f6..0d4a1207f 100644
> > --- a/meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb
> > +++ b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb
> > @@ -2,7 +2,7 @@ SUMMARY = "Open source Python library for rapid development 
> > of applications \
> >  that make use of innovative user interfaces, such as multi-touch apps."
> >  HOMEPAGE = "https://kivy.org/;
> >  LICENSE = "MIT"
> > -LIC_FILES_CHKSUM = "file://LICENSE;md5=ed5cd0f2cfda42852c332e3b88c85fea"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=6d3bc49400e35d5a2279d14c40dcfb09"
> >
> >  inherit setuptools3 pkgconfig features_check
> >  PIP_INSTALL_PACKAGE = "Kivy"
> > @@ -11,11 +11,11 @@ PIP_INSTALL_PACKAGE = "Kivy"
> >  # and mali-based OS's. We need to patch the setup file to tell Kivy setup
> >  # that our machine has GLES libaries installed as well
> >  # Also, if using SDL2 as backend, SDL2 needs to be configured with gles
> > -SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=stable \
> > +SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=master \
> > file://0001-add-support-for-glesv2.patch \
> > "
> >
> > -SRCREV = "344768bfefd2e8f5302cc9dfb8ca41991ce6f7e7"
> > +SRCREV = "9ef218027178115a66b417ae34b21f488bdd3617"
> >
> >  S = "${WORKDIR}/git"
> >
> > --
> > 2.39.2
> >
> >
> > 
> >

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



Re: [oe] [meta-gnome][PATCHv2] gnome-terminal: fix search_provider build

2024-01-07 Thread Alexander Kanavin
Pending is strongly discouraged and disliked. Please submit even if it’s
not perfect yet.

Alex

On Sun 7. Jan 2024 at 11.27, Markus Volk  wrote:

> currently org.gnome.ShellSearchProvider2.xml is read from host machine and
> thus gnome-terminal with search_provider enabled can only be build from a
> host
> system that has gnome-shell installed.
>
> Add an option and set it to STAGING_DATADIR to avoid:
>
> | DEBUG: Executing shell function do_compile
> | ninja: error:
> '/usr/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml', needed
> by 'src/terminal-search-provider-gdbus-generated.c', missing and no known
> rule to make it
>
> Signed-off-by: Markus Volk 
> ---
>  ...-add-option-to-set-dbus_interfacedir.patch | 66 +++
>  .../gnome-terminal/gnome-terminal_3.50.1.bb   | 10 +--
>  2 files changed, 72 insertions(+), 4 deletions(-)
>  create mode 100644
> meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
>
> diff --git
> a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
> b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
> new file mode 100644
> index 0..b9d5fd5ec
> --- /dev/null
> +++
> b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
> @@ -0,0 +1,66 @@
> +From 5212e85699b59819262165740d3c7a10b6a5c46b Mon Sep 17 00:00:00 2001
> +From: Markus Volk 
> +Date: Sun, 7 Jan 2024 10:40:31 +0100
> +Subject: [PATCH] meson: add an option to set dbus_interface_dir
> +
> +currently org.gnome.ShellSearchProvider2.xml is read from host machine and
> +thus gnome-terminal with search_provider enabled can only be built from a
> host
> +system that has gnome-shell installed.
> +
> +Add an option that allows to set the path manually. This will help to
> cross-compile
> +gnome-terminal on host systems that don't have gnome-shell installed.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Markus Volk 
> +---
> + meson_options.txt | 7 +++
> + src/meson.build   | 7 ++-
> + 2 files changed, 13 insertions(+), 1 deletion(-)
> +
> +diff --git a/meson_options.txt b/meson_options.txt
> +index b555ab663..8fece058c 100644
> +--- a/meson_options.txt
>  b/meson_options.txt
> +@@ -13,6 +13,13 @@
> + # You should have received a copy of the GNU General Public License
> + # along with this programme.  If not, see  >.
> +
> ++option(
> ++  'dbus_interface_dir',
> ++  type: 'string',
> ++  value: '',
> ++  description: 'directory for D-Bus session interface files
> [$datadir/dbus-1/interfaces]',
> ++)
> ++
> + option(
> +   'dbg',
> +   type: 'boolean',
> +diff --git a/src/meson.build b/src/meson.build
> +index 86e287403..1543572cf 100644
> +--- a/src/meson.build
>  b/src/meson.build
> +@@ -224,6 +224,11 @@ server_sources = app_sources + client_util_sources +
> debug_sources + dbus_source
> +
> + if get_option('search_provider')
> +
> ++  dbus_interface_dir = get_option('dbus_interface_dir')
> ++  if dbus_interface_dir == ''
> ++dbus_interface_dir = gt_prefix / gt_dbusinterfacedir
> ++  endif
> ++
> +   server_sources += files(
> + 'terminal-search-provider.cc',
> + 'terminal-search-provider.hh',
> +@@ -231,7 +236,7 @@ if get_option('search_provider')
> +
> +   server_sources += gnome.gdbus_codegen(
> + 'terminal-search-provider-gdbus-generated',
> +-gt_prefix / gt_dbusinterfacedir /
> 'org.gnome.ShellSearchProvider2.xml',
> ++dbus_interface_dir / 'org.gnome.ShellSearchProvider2.xml',
> + autocleanup: 'none',
> + install_header: false,
> + interface_prefix: 'org.gnome.Shell',
> +--
> +2.43.0
> +
> diff --git a/meta-gnome/recipes-gnome/gnome-terminal/
> gnome-terminal_3.50.1.bb b/meta-gnome/recipes-gnome/gnome-terminal/
> gnome-terminal_3.50.1.bb
> index 8616f2c9b..53f11e95f 100644
> --- a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb
> +++ b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb
> @@ -19,15 +19,17 @@ DEPENDS = " \
>  libpcre2 \
>  "
>
> -SRC_URI = "git://
> gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1 \
> -   file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
> -   "
> +SRC_URI = " \
> +   git://
> gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1 \
> +   file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
> +   file://0001-meson-add-option-to-set-dbus_interfacedir.patch \
> +"
>  SRCREV = "5ac3b8e4bd6fa02651b3c23cedb0a7e1cd769655"
>  S = "${WORKDIR}/git"
>
>  PACKAGECONFIG ?= ""
>  PACKAGECONFIG[nautilus] =
> "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus"
> -PACKAGECONFIG[search_provider] =
> "-Dsearch_provider=true,-Dsearch_provider=false,,gnome-shell"
> +PACKAGECONFIG[search_provider] = "-Dsearch_provider=true
> 

Re: [oe] [meta-gnome][PATCH] gnome-terminal: fix search_provider build

2024-01-06 Thread Alexander Kanavin
Upstream-status is missing.

Alex

On Sat 6. Jan 2024 at 23.33, Markus Volk  wrote:

> currently org.gnome.ShellSearchProvider2.xml is read from host machine and
> thus gnome-terminal with search_provider enabled can only be build from a
> host
> system that has gnome-shell installed.
>
> Add an option and set it to STAGING_DATADIR to avoid:
>
> | DEBUG: Executing shell function do_compile
> | ninja: error:
> '/usr/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml', needed
> by 'src/terminal-search-provider-gdbus-generated.c', missing and no known
> rule to make it
>
> Signed-off-by: Markus Volk 
> ---
>  ...-add-option-to-set-dbus_interfacedir.patch | 45 +++
>  .../gnome-terminal/gnome-terminal_3.50.1.bb   | 10 +++--
>  2 files changed, 51 insertions(+), 4 deletions(-)
>  create mode 100644
> meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
>
> diff --git
> a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
> b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
> new file mode 100644
> index 0..86f6d6f01
> --- /dev/null
> +++
> b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
> @@ -0,0 +1,45 @@
> +From 0ca761ee244a649c7420f15407439928addf6737 Mon Sep 17 00:00:00 2001
> +From: Markus Volk 
> +Date: Sat, 6 Jan 2024 23:05:25 +0100
> +Subject: [PATCH] meson: add option to set dbus_interfacedir
> +
> +Signed-off-by: Markus Volk 
> +---
> + meson_options.txt | 7 +++
> + src/meson.build   | 2 +-
> + 2 files changed, 8 insertions(+), 1 deletion(-)
> +
> +diff --git a/meson_options.txt b/meson_options.txt
> +index b555ab663..aea66a3dd 100644
> +--- a/meson_options.txt
>  b/meson_options.txt
> +@@ -13,6 +13,13 @@
> + # You should have received a copy of the GNU General Public License
> + # along with this programme.  If not, see  >.
> +
> ++option(
> ++  'dbus_interfacedir',
> ++  type: 'string',
> ++  value: '',
> ++  description: 'Set searchprovider interface dir',
> ++)
> ++
> + option(
> +   'dbg',
> +   type: 'boolean',
> +diff --git a/src/meson.build b/src/meson.build
> +index 86e287403..cb707a85d 100644
> +--- a/src/meson.build
>  b/src/meson.build
> +@@ -231,7 +231,7 @@ if get_option('search_provider')
> +
> +   server_sources += gnome.gdbus_codegen(
> + 'terminal-search-provider-gdbus-generated',
> +-gt_prefix / gt_dbusinterfacedir /
> 'org.gnome.ShellSearchProvider2.xml',
> ++get_option('dbus_interfacedir') /
> 'org.gnome.ShellSearchProvider2.xml',
> + autocleanup: 'none',
> + install_header: false,
> + interface_prefix: 'org.gnome.Shell',
> +--
> +2.43.0
> +
> diff --git a/meta-gnome/recipes-gnome/gnome-terminal/
> gnome-terminal_3.50.1.bb b/meta-gnome/recipes-gnome/gnome-terminal/
> gnome-terminal_3.50.1.bb
> index 8616f2c9b..6fd816c8c 100644
> --- a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb
> +++ b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb
> @@ -19,15 +19,17 @@ DEPENDS = " \
>  libpcre2 \
>  "
>
> -SRC_URI = "git://
> gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1 \
> -   file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
> -   "
> +SRC_URI = " \
> +   git://
> gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1 \
> +   file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
> +   file://0001-meson-add-option-to-set-dbus_interfacedir.patch \
> +"
>  SRCREV = "5ac3b8e4bd6fa02651b3c23cedb0a7e1cd769655"
>  S = "${WORKDIR}/git"
>
>  PACKAGECONFIG ?= ""
>  PACKAGECONFIG[nautilus] =
> "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus"
> -PACKAGECONFIG[search_provider] =
> "-Dsearch_provider=true,-Dsearch_provider=false,,gnome-shell"
> +PACKAGECONFIG[search_provider] = "-Dsearch_provider=true
> -Ddbus_interfacedir=${STAGING_DATADIR}/dbus-1/interfaces,-Dsearch_provider=false,gnome-shell"
>
>  FILES:${PN} += " \
>  ${datadir} \
> --
> 2.43.0
>
>
> 
>
>

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



[oe] [PATCH 1/2] python3-h5py: backport a cython 3.x compatibility patch

2024-01-05 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0001-Fix-Cython-3-compatibility.patch | 796 ++
 .../python/python3-h5py_3.10.0.bb |   3 +-
 2 files changed, 798 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch
 
b/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch
new file mode 100644
index 0..aba62ddf1
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch
@@ -0,0 +1,796 @@
+From 1e02dbe5533d679b9ef064078a303607a7d0542a Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Fri, 29 Dec 2023 14:33:38 +0100
+Subject: [PATCH] Fix Cython 3 compatibility
+
+Upstream-Status: Backport [https://github.com/h5py/h5py/pull/2345/commits]
+Signed-off-by: Alexander Kanavin 
+---
+ benchmarks/benchmark_slicing.py| 12 
+ docs/conf.py   |  2 +-
+ docs/high/dataset.rst  |  4 +--
+ docs/high/file.rst |  6 ++--
+ docs/requirements-rtd.txt  |  5 ++--
+ docs/vds.rst   |  2 +-
+ docs/whatsnew/3.0.rst  |  2 +-
+ docs/whatsnew/3.7.rst  |  4 +--
+ h5py/_errors.pxd   | 10 +++
+ h5py/_errors.pyx   |  4 +--
+ h5py/_hl/base.py   |  4 +--
+ h5py/_hl/dataset.py|  8 ++---
+ h5py/_hl/dims.py   |  3 +-
+ h5py/_hl/files.py  |  2 +-
+ h5py/_locks.pxi|  6 ++--
+ h5py/_proxy.pyx|  4 +--
+ h5py/_selector.pyx |  2 +-
+ h5py/api_compat.h  | 13 
+ h5py/api_types_hdf5.pxd| 48 +++---
+ h5py/h5fd.pyx  | 38 ---
+ h5py/h5p.pyx   |  4 +--
+ h5py/h5t.pyx   |  2 +-
+ h5py/tests/test_attrs_data.py  |  2 +-
+ h5py/tests/test_big_endian_file.py |  4 +--
+ h5py/tests/test_dataset.py |  4 +--
+ h5py/tests/test_file.py|  6 ++--
+ h5py/tests/test_file_alignment.py  |  4 +--
+ h5py/tests/test_group.py   |  4 +--
+ h5py/tests/test_selections.py  |  2 +-
+ pylintrc   |  2 +-
+ pyproject.toml |  2 +-
+ setup_configure.py |  2 +-
+ tox.ini|  2 +-
+ 33 files changed, 116 insertions(+), 103 deletions(-)
+
+diff --git a/benchmarks/benchmark_slicing.py b/benchmarks/benchmark_slicing.py
+index e9a34dad..b833f012 100644
+--- a/benchmarks/benchmark_slicing.py
 b/benchmarks/benchmark_slicing.py
+@@ -7,7 +7,7 @@ import logging
+ logger = logging.getLogger(__name__)
+ import h5py
+ 
+-#Needed for mutithreading:
++#Needed for multithreading:
+ from queue import Queue
+ from threading import Thread, Event
+ import multiprocessing
+@@ -173,8 +173,8 @@ class SlicingBenchmark:
+ 
+ if __name__ == "__main__":
+ logging.basicConfig(level=logging.INFO)
+-benckmark = SlicingBenchmark()
+-benckmark.setup()
+-benckmark.time_sequential_reads()
+-benckmark.time_threaded_reads()
+-benckmark.teardown()
++benchmark = SlicingBenchmark()
++benchmark.setup()
++benchmark.time_sequential_reads()
++benchmark.time_threaded_reads()
++benchmark.teardown()
+diff --git a/docs/conf.py b/docs/conf.py
+index 93b23939..a0f6c1ac 100644
+--- a/docs/conf.py
 b/docs/conf.py
+@@ -109,7 +109,7 @@ pygments_style = 'sphinx'
+ 
+ # The theme to use for HTML and HTML Help pages.  See the documentation for
+ # a list of builtin themes.
+-html_theme = 'default'
++html_theme = 'sphinx_rtd_theme'
+ 
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further.  For a list of options available for each theme, see the
+diff --git a/docs/high/dataset.rst b/docs/high/dataset.rst
+index 0f27284f..cb75fffe 100644
+--- a/docs/high/dataset.rst
 b/docs/high/dataset.rst
+@@ -58,7 +58,7 @@ the requested ``dtype``.
+ Reading & writing data
+ --
+ 
+-HDF5 datasets re-use the NumPy slicing syntax to read and write to the file.
++HDF5 datasets reuse the NumPy slicing syntax to read and write to the file.
+ Slice specifications are translated directly to HDF5 "hyperslab"
+ selections, and are a fast and efficient way to access data in the file. The
+ following slicing arguments are recognized:
+@@ -464,7 +464,7 @@ Reference
+ >>> dset = f["MyDS"]
+ >>> f.close()
+ >>> if dset:
+-... print("datset accessible")
++... print("dataset accessible")
+ ... else:
+ ... print("dataset inaccessible")
+ dataset inaccessible
+diff --git a/docs/hi

[oe] [PATCH 2/2] python3-kivy: update 2.2.1 -> 2.3.0

2024-01-05 Thread Alexander Kanavin
License-Update: years, mention that it is MIT at the start.

Signed-off-by: Alexander Kanavin 
---
 .../python/{python3-kivy_2.2.1.bb => python3-kivy_2.3.0.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-kivy_2.2.1.bb => 
python3-kivy_2.3.0.bb} (93%)

diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb 
b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb
similarity index 93%
rename from meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb
rename to meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb
index a72ee14f6..0d4a1207f 100644
--- a/meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb
@@ -2,7 +2,7 @@ SUMMARY = "Open source Python library for rapid development of 
applications \
 that make use of innovative user interfaces, such as multi-touch apps."
 HOMEPAGE = "https://kivy.org/;
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=ed5cd0f2cfda42852c332e3b88c85fea"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d3bc49400e35d5a2279d14c40dcfb09"
 
 inherit setuptools3 pkgconfig features_check
 PIP_INSTALL_PACKAGE = "Kivy"
@@ -11,11 +11,11 @@ PIP_INSTALL_PACKAGE = "Kivy"
 # and mali-based OS's. We need to patch the setup file to tell Kivy setup
 # that our machine has GLES libaries installed as well
 # Also, if using SDL2 as backend, SDL2 needs to be configured with gles
-SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=stable \
+SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=master \
file://0001-add-support-for-glesv2.patch \
"
 
-SRCREV = "344768bfefd2e8f5302cc9dfb8ca41991ce6f7e7"
+SRCREV = "9ef218027178115a66b417ae34b21f488bdd3617"
 
 S = "${WORKDIR}/git"
 
-- 
2.39.2


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



[oe] [PATCH] audit: reenable python bindings and bring in distutils via setuptools (needed with python 3.12)

2024-01-01 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-security/audit/audit_3.1.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-security/audit/audit_3.1.2.bb 
b/meta-oe/recipes-security/audit/audit_3.1.2.bb
index 1f2c821f0..7136ed6a4 100644
--- a/meta-oe/recipes-security/audit/audit_3.1.2.bb
+++ b/meta-oe/recipes-security/audit/audit_3.1.2.bb
@@ -27,12 +27,12 @@ INITSCRIPT_PARAMS = "defaults"
 SYSTEMD_PACKAGES = "auditd"
 SYSTEMD_SERVICE:auditd = "auditd.service"
 
-DEPENDS = "python3 tcp-wrappers libcap-ng linux-libc-headers swig-native"
+DEPENDS = "python3 tcp-wrappers libcap-ng linux-libc-headers swig-native 
python3-setuptools-native"
 
 EXTRA_OECONF = " --with-libwrap \
 --enable-gssapi-krb5=no \
 --with-libcap-ng=yes \
---with-python3=no \
+--with-python3=yes \
 --libdir=${base_libdir} \
 --sbindir=${base_sbindir} \
 --without-python \
-- 
2.39.2


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



Re: [oe] [PATCH 03/23] audit: disable python bindings as incompatible with python 3.12

2024-01-01 Thread Alexander Kanavin
On Sun, 31 Dec 2023 at 18:04, Khem Raj  wrote:
>
> On Sun, Dec 31, 2023 at 4:23 AM Alexander Kanavin
>  wrote:
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  meta-oe/recipes-security/audit/audit_3.1.2.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-oe/recipes-security/audit/audit_3.1.2.bb 
> > b/meta-oe/recipes-security/audit/audit_3.1.2.bb
> > index 5380e9022..1f2c821f0 100644
> > --- a/meta-oe/recipes-security/audit/audit_3.1.2.bb
> > +++ b/meta-oe/recipes-security/audit/audit_3.1.2.bb
> > @@ -32,7 +32,7 @@ DEPENDS = "python3 tcp-wrappers libcap-ng 
> > linux-libc-headers swig-native"
> >  EXTRA_OECONF = " --with-libwrap \
> >  --enable-gssapi-krb5=no \
> >  --with-libcap-ng=yes \
> > ---with-python3=yes \
> > +--with-python3=no \
>
> Can you share how it fails?

| make[4]: Entering directory
'/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/build/bindings/python/python3'
| /bin/bash ../../../libtool  --tag=CC   --mode=link
x86_64-poky-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
-mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2
-Wformat -Wformat-security -Werror=format-security
--sysroot=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/recipe-sysroot
-shared -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map
 
-fmacro-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/git=/usr/src/debug/audit/3.1.2
 
-fdebug-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/git=/usr/src/debug/audit/3.1.2
 
-fmacro-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/build=/usr/src/debug/audit/3.1.2
 
-fdebug-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/build=/usr/src/debug/audit/3.1.2
 
-fdebug-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/recipe-sysroot=
 
-fmacro-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/recipe-sysroot=
 
-fdebug-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/recipe-sysroot-native=
 -module -avoid-version -Wl,-z,relro -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed -fcanon-prefix-map
-fmacro-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/git=/usr/src/debug/audit/3.1.2
 
-fdebug-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/git=/usr/src/debug/audit/3.1.2
 
-fmacro-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/build=/usr/src/debug/audit/3.1.2
 
-fdebug-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/build=/usr/src/debug/audit/3.1.2
 
-fdebug-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/recipe-sysroot=
 
-fmacro-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/recipe-sysroot=
 
-fdebug-prefix-map=/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/audit/3.1.2/recipe-sysroot-native=
 -Wl,-z,relro,-z,now -o auparse.la -rpath
auparse_la-auparse_python.lo ../../../auparse/libauparse.la
../../../lib/libaudit.la
| libtool:   error: only absolute run-paths are allowed

This is due to lack of distutils in 3.12 and poorly written defaults
in autotools macros, which can be resolved via setuptools dependency;
I'll send a replacement patch in a moment.

Alex

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



[oe] [PATCH 23/23] hplip: provide setuptools for the distutils copy

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-extended/hplip/hplip_3.22.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb 
b/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
index ed9f28e07..be420b483 100644
--- a/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
+++ b/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
@@ -19,7 +19,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
file://0001-Drop-using-register-storage-classifier.patch"
 SRC_URI[sha256sum] = 
"533c3f2f6b53e4163ded4fd81d1f11ae6162a0f6451bd5e62a8382d0c1366624"
 
-DEPENDS += "cups python3 libusb1"
+DEPENDS += "cups python3 libusb1 python3-setuptools-native"
 
 inherit autotools-brokensep python3-dir python3native python3targetconfig 
pkgconfig systemd
 
-- 
2.39.2


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



[oe] [PATCH 21/23] upm: get disutils copy via setuptools

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-extended/upm/upm_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/upm/upm_git.bb 
b/meta-oe/recipes-extended/upm/upm_git.bb
index 0695f9969..a86f4a80d 100644
--- a/meta-oe/recipes-extended/upm/upm_git.bb
+++ b/meta-oe/recipes-extended/upm/upm_git.bb
@@ -5,7 +5,7 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=66493d54e65bfc12c7983ff2e884f37f"
 
-DEPENDS = "libjpeg-turbo mraa"
+DEPENDS = "libjpeg-turbo mraa python3-setuptools-native"
 
 SRCREV = "5cf20df96c6b35c19d5b871ba4e319e96b4df72d"
 PV = "2.0.0+git${SRCPV}"
-- 
2.39.2


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



[oe] [PATCH 22/23] python3-kmod: remove the recipe

2023-12-31 Thread Alexander Kanavin
Not compatible with cython 3.x, and has been inactive for years:
https://pypi.org/project/kmod/#description
https://github.com/agrover/python-kmod

Signed-off-by: Alexander Kanavin 
---
 .../packagegroups/packagegroup-meta-python.bb |  1 -
 .../recipes-devtools/python/python3-kmod_0.9.1.bb | 15 ---
 2 files changed, 16 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-kmod_0.9.1.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 32e962aff..41fce5327 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -217,7 +217,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-keras-preprocessing \
 ${@bb.utils.contains("DISTRO_FEATURES", "x11 opengl", "python3-kivy", "", 
d)} \
 python3-kiwisolver \
-python3-kmod \
 python3-langtable \
 python3-lazy-object-proxy \
 python3-libconf \
diff --git a/meta-python/recipes-devtools/python/python3-kmod_0.9.1.bb 
b/meta-python/recipes-devtools/python/python3-kmod_0.9.1.bb
deleted file mode 100644
index 52e1cf6af..0
--- a/meta-python/recipes-devtools/python/python3-kmod_0.9.1.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SUMMARY = "Python bindings for kmod/libkmod."
-HOMEPAGE = "https://github.com/agrover/python-kmod;
-SECTION = "devel/python"
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=6d62c2454850386a2ffe44f72db83d74"
-
-inherit pypi setuptools3
-
-RECIPE_NO_UPDATE_REASON = "Version 0.9.2 is broken when using latest build 
machinery for C extensions"
-SRC_URI[sha256sum] = 
"f3bf829059bf88eca22f4f549e17aa316cdaa14302bf2ba49ddeee60cea109ff"
-
-DEPENDS += " \
-kmod \
-python3-cython-native \
-"
-- 
2.39.2


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



[oe] [PATCH 19/23] mercurial: ensure setuptools is present as distutils is no longer (mercurial tries both)

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-devtools/mercurial/mercurial_6.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/mercurial/mercurial_6.5.bb 
b/meta-oe/recipes-devtools/mercurial/mercurial_6.5.bb
index 112df8c1e..2451a36be 100644
--- a/meta-oe/recipes-devtools/mercurial/mercurial_6.5.bb
+++ b/meta-oe/recipes-devtools/mercurial/mercurial_6.5.bb
@@ -4,7 +4,7 @@ SECTION = "console/utils"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-DEPENDS = "python3 python3-native"
+DEPENDS = "python3 python3-native python3-setuptools-native"
 RDEPENDS:${PN} = "python3 python3-modules"
 
 inherit python3native python3targetconfig
-- 
2.39.2


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



[oe] [PATCH 20/23] rwmem: fix python modules packaging

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb 
b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb
index 8ccdc27a8..bff82fe35 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb
@@ -32,4 +32,4 @@ do_install:append() {
install -D -m 0644 ${B}/librwmem/librwmem.a ${D}${libdir}/librwmem.a
 }
 
-FILES:${PN} += "${libdir}/python3.11/site-packages/pyrwmem"
+FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyrwmem"
-- 
2.39.2


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



[oe] [PATCH 18/23] mongodb: skip until python 3.12 fixes are available.

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../meta-python/recipes-dbs/mongodb/mongodb_git.bb  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb 
b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
index 037d58cf1..ee5c77a85 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
@@ -145,3 +145,5 @@ SYSTEMD_SERVICE:${PN} = "mongod.service"
 FILES:${PN} += "${nonarch_libdir}/tmpfiles.d"
 
 RDEPENDS:${PN} += "tzdata-core"
+
+SKIP_RECIPE[mongodb] ?= "Needs porting to python 3.12"
-- 
2.39.2


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



[oe] [PATCH 15/23] openipmi: update 2.0.32 -> 2.0.34

2023-12-31 Thread Alexander Kanavin
This resolves dependency on removed python distutils in particular.

openipmi-remove-host-path-from-la_LDFLAGS.patch is removed
as issue is fixed upstream.

Signed-off-by: Alexander Kanavin 
---
 ..._devel.m4-do-not-check-for-distutils.patch | 41 
 ...fix-symlink-install-error-in-cmdlang.patch |  9 ++--
 .../openipmi/files/include_sys_types.patch|  5 +-
 .../files/ipmi-init-fix-the-arguments.patch   |  6 +--
 .../files/openipmi-no-openipmigui-man.patch   |  3 +-
 ...pmi-remove-host-path-from-la_LDFLAGS.patch | 49 ---
 ...{openipmi_2.0.32.bb => openipmi_2.0.34.bb} | 12 ++---
 7 files changed, 16 insertions(+), 109 deletions(-)
 delete mode 100644 
meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch
 delete mode 100644 
meta-networking/recipes-support/openipmi/files/openipmi-remove-host-path-from-la_LDFLAGS.patch
 rename meta-networking/recipes-support/openipmi/{openipmi_2.0.32.bb => 
openipmi_2.0.34.bb} (87%)

diff --git 
a/meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch
 
b/meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch
deleted file mode 100644
index 00956fb11..0
--- 
a/meta-networking/recipes-support/openipmi/files/0001-m4-ax_python_devel.m4-do-not-check-for-distutils.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 3a35611687864cf3599712d0d2ff54532b0118ac Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Sun, 3 Oct 2021 21:42:32 +0200
-Subject: [PATCH] m4/ax_python_devel.m4: do not check for distutils
-
-With py 3.10 this prints a deprecation warning which is
-taken as an error. Upstream should rework the code to not
-use distuils.
-
-Upstream-Status: Inappropriate [needs a proper fix upstream]
-Signed-off-by: Alexander Kanavin 

- m4/ax_python_devel.m4 | 15 ---
- 1 file changed, 15 deletions(-)
-
-diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
-index e0804c5..cfc0b24 100644
 a/m4/ax_python_devel.m4
-+++ b/m4/ax_python_devel.m4
-@@ -138,21 +138,6 @@ variable to configure. See ``configure --help'' for 
reference.
-   fi
-   fi
- 
--  #
--  # Check if you have distutils, else fail
--  #
--  AC_MSG_CHECKING([for the distutils Python package])
--  ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
--  if test -z "$ac_distutils_result"; then
--  AC_MSG_RESULT([yes])
--  else
--  AC_MSG_RESULT([no])
--  AC_MSG_ERROR([cannot import Python module "distutils".
--Please check your Python installation. The error was:
--$ac_distutils_result])
--  PYTHON_VERSION=""
--  fi
--
-   #
-   # Check for Python include path
-   #
diff --git 
a/meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch
 
b/meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch
index 243488424..5bbccdcbf 100644
--- 
a/meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch
+++ 
b/meta-networking/recipes-support/openipmi/files/fix-symlink-install-error-in-cmdlang.patch
@@ -1,4 +1,4 @@
-From 7854c60c92243adb14ea89e16fc226d2e47dd4f9 Mon Sep 17 00:00:00 2001
+From 0ccfefe624e25f937b27b2caf3671e80c2c29391 Mon Sep 17 00:00:00 2001
 From: Aws Ismail 
 Date: Thu, 7 Jun 2012 16:00:13 -0400
 Subject: [PATCH] Fix symlink install error in cmdlang
@@ -9,17 +9,18 @@ creating a symbolic link for opeipmish in openipmi/cmdlang
 Upstream-Status: Pending
 
 Signed-off-by: Aws Ismail 
+
 ---
  cmdlang/Makefile.am | 1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
-index 0ca3827..d9a941f 100644
+index 7235446..4a81ae3 100644
 --- a/cmdlang/Makefile.am
 +++ b/cmdlang/Makefile.am
-@@ -35,6 +35,7 @@ openipmish_LDADD =  libOpenIPMIcmdlang.la \
+@@ -41,6 +41,7 @@ openipmish_CFLAGS = -Wall -Wsign-compare 
-I$(top_builddir)/include \
  # compatability.
- install-data-local:
+ install-exec-hook:
rm -f $(DESTDIR)$(bindir)/ipmish
 +  mkdir -p $(DESTDIR)$(bindir)/
$(LN_S) openipmish $(DESTDIR)$(bindir)/ipmish
diff --git 
a/meta-networking/recipes-support/openipmi/files/include_sys_types.patch 
b/meta-networking/recipes-support/openipmi/files/include_sys_types.patch
index 61b39995a..18129e6fc 100644
--- a/meta-networking/recipes-support/openipmi/files/include_sys_types.patch
+++ b/meta-networking/recipes-support/openipmi/files/include_sys_types.patch
@@ -1,4 +1,4 @@
-From 4f41e090e33a00117a27f0c77b6338fb8b495f37 Mon Sep 17 00:00:00 2001
+From d667aedc37aeabdb9f8574ee0b9cf85b844ca2d2 Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Fri, 2 Jun 2017 21:58:32 -0700
 Subject: [PATCH] openipmi: Fix build with musl
@@ -12,12 +12,13 @@ ui.c:340:5: error: unknown type name 'u_int32_t'; did you 
mean 'uint32

[oe] [PATCH 17/23] cockpit: add setuptools dependency to bring in distutils copy

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb 
b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
index ab05fd377..df7f47a11 100644
--- a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
+++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = 
"a87d090c930e2058bb3e970ca7f2bafe678687966b5c0b8b42a802977e
 inherit gettext pkgconfig autotools systemd features_check
 inherit ${@bb.utils.contains('PACKAGECONFIG', 'old-bridge', '', 
'python3targetconfig', d)}
 
-DEPENDS += "glib-2.0-native intltool-native gnutls virtual/gettext json-glib 
krb5 libpam systemd"
+DEPENDS += "glib-2.0-native intltool-native gnutls virtual/gettext json-glib 
krb5 libpam systemd python3-setuptools-native"
 DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'old-bridge', '', 
'python3-pip-native', d)}"
 
 COMPATIBLE_HOST:libc-musl = "null"
-- 
2.39.2


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



[oe] [PATCH 16/23] libsigrokdecode: add python 3.12 support

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch
 
b/meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch
index a90f588d2..45556afa8 100644
--- 
a/meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch
+++ 
b/meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch
@@ -18,7 +18,7 @@ index 4802f35..e0e468f 100644
  # 
https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
  SR_PKG_CHECK([python3], [SRD_PKGLIBS],
 -  [python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], 
[python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 
3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
-+  [python-3.11-embed], [python-3.10-embed], [python-3.9-embed], 
[python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 
3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], 
[python-3.2 >= 3.2], [python3 >= 3.2])
++  [python-3.12-embed], [python-3.11-embed], [python-3.10-embed], 
[python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 
3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], 
[python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
  AS_IF([test "x$sr_have_python3" = xno],
[AC_MSG_ERROR([Cannot find Python 3 development headers.])])
  
-- 
2.39.2


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



[oe] [PATCH 14/23] wireshark: update 4.0.10 -> 4.2.0

2023-12-31 Thread Alexander Kanavin
This resolves python 3.12 issues.

Signed-off-by: Alexander Kanavin 
---
 ...-a-try_run-test-when-cross-compiling.patch | 66 --
 ...-do-not-use-lemon-data-from-the-host.patch | 32 +++
 ...ireshark-src-improve-reproducibility.patch | 16 ++--
 .../0002-flex-Remove-line-directives.patch| 14 ++-
 .../0004-lemon-Remove-line-directives.patch   | 87 +--
 ...wireshark_4.0.10.bb => wireshark_4.2.0.bb} |  6 +-
 6 files changed, 73 insertions(+), 148 deletions(-)
 delete mode 100644 
meta-networking/recipes-support/wireshark/files/0001-CMake-Fix-a-try_run-test-when-cross-compiling.patch
 create mode 100644 
meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch
 rename meta-networking/recipes-support/wireshark/{wireshark_4.0.10.bb => 
wireshark_4.2.0.bb} (94%)

diff --git 
a/meta-networking/recipes-support/wireshark/files/0001-CMake-Fix-a-try_run-test-when-cross-compiling.patch
 
b/meta-networking/recipes-support/wireshark/files/0001-CMake-Fix-a-try_run-test-when-cross-compiling.patch
deleted file mode 100644
index 0d51ce1b8..0
--- 
a/meta-networking/recipes-support/wireshark/files/0001-CMake-Fix-a-try_run-test-when-cross-compiling.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From b4f29807225cf3744c2f4f971902fbdd7486fc19 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= 
-Date: Fri, 26 May 2023 13:29:23 +0100
-Subject: [PATCH] CMake: Fix a try_run() test when cross-compiling
-
-Upstream-Status: Backport
-Signed-off-by: Armin Kuster 
-

- ConfigureChecks.cmake | 36 
- 1 file changed, 20 insertions(+), 16 deletions(-)
-
-diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
-index dd8268e077..d8bca54115 100644
 a/ConfigureChecks.cmake
-+++ b/ConfigureChecks.cmake
-@@ -122,26 +122,30 @@ check_type_size("ssize_t"   SSIZE_T)
- # Check if the libc vsnprintf() conforms to C99. If this fails we may
- # need to fall-back on GLib I/O.
- #
--check_c_source_runs("
--  #include 
--  int main(void)
--  {
--  /* Check that snprintf() and vsnprintf() don't return
--   * -1 if the buffer is too small. C99 says this value
--   * is the length that would be written not including
--   * the nul byte. */
--  char buf[3];
--  return snprintf(buf, sizeof(buf), \"%s\", \"ABCDEF\") > 0 ? 0 : 
1;
--  }"
--  HAVE_C99_VSNPRINTF
--)
--if (NOT HAVE_C99_VSNPRINTF)
--  message(FATAL_ERROR
-+# If cross-compiling we can't check so just assume this requirement is met.
-+#
-+if(NOT CMAKE_CROSSCOMPILING)
-+  check_c_source_runs("
-+  #include 
-+  int main(void)
-+  {
-+  /* Check that snprintf() and vsnprintf() don't return
-+  * -1 if the buffer is too small. C99 says this value
-+  * is the length that would be written not including
-+  * the nul byte. */
-+  char buf[3];
-+  return snprintf(buf, sizeof(buf), \"%s\", \"ABCDEF\") > 
0 ? 0 : 1;
-+  }"
-+  HAVE_C99_VSNPRINTF
-+  )
-+  if (NOT HAVE_C99_VSNPRINTF)
-+  message(FATAL_ERROR
- "Building Wireshark requires a C99 compliant vsnprintf() and this \
- target does not meet that requirement. Compiling for ${CMAKE_SYSTEM} \
- using ${CMAKE_C_COMPILER_ID}. Please report this issue to the Wireshark \
- developers at wireshark-...@wireshark.org."
--  )
-+  )
-+  endif()
- endif()
- 
- #
--- 
-2.25.1
-
diff --git 
a/meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch
 
b/meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch
new file mode 100644
index 0..1903f38f5
--- /dev/null
+++ 
b/meta-networking/recipes-support/wireshark/files/0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch
@@ -0,0 +1,32 @@
+From 802d3cafa888b36aa72007d48232a010dbb0231d Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Wed, 27 Dec 2023 16:57:28 +0100
+Subject: [PATCH] UseLemon.cmake: do not use lemon data from the host
+
+We use native lemon, and not the host one, so
+the data should be taken from the source tree as well.
+
+Upstream-Status: Inappropriate [cross-specific]
+Signed-off-by: Alexander Kanavin 
+---
+ cmake/modules/UseLemon.cmake | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/cmake/modules/UseLemon.cmake b/cmake/modules/UseLemon.cmake
+index fa4034e..83a7ca3 100644
+--- a/cmake/modules/UseLemon.cmake
 b/cmake/modules/UseLemon.cmake
+@@ -13,11 +13,12 @@ if(LEMON_EXECUTABLE)
+   ${_out}.out
+   COMMAND ${LEMON_EXECUTABLE}
+ 

[oe] [PATCH 13/23] nmap: disable ndiff

2023-12-31 Thread Alexander Kanavin
In 7.80 this requires distutils (no longer provided in python 3.12).
This may be resolved in newer nmap versions, so if you care about it
please provide a version update: https://nmap.org/dist/

Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-security/nmap/nmap_7.80.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-security/nmap/nmap_7.80.bb 
b/meta-oe/recipes-security/nmap/nmap_7.80.bb
index 52c62cde3..f9fe82a91 100644
--- a/meta-oe/recipes-security/nmap/nmap_7.80.bb
+++ b/meta-oe/recipes-security/nmap/nmap_7.80.bb
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = 
"fcfa5a0e42099e12e4bf7a68ebe6fde05553383a682e816a7ec9256ab4
 
 inherit autotools-brokensep pkgconfig python3native
 
-PACKAGECONFIG ?= "ncat nping ndiff pcap"
+PACKAGECONFIG ?= "ncat nping pcap"
 
 PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap"
 PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., 
--with-libpcre=included, libpcre"
-- 
2.39.2


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



[oe] [PATCH 10/23] python3-custom-inherit: fix python 3.12 builds

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...oneer.py-do-not-use-SafeConfigParser.patch | 29 +++
 .../python/python3-custom-inherit_2.4.1.bb|  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/files/0001-versioneer.py-do-not-use-SafeConfigParser.patch

diff --git 
a/meta-python/recipes-devtools/python/files/0001-versioneer.py-do-not-use-SafeConfigParser.patch
 
b/meta-python/recipes-devtools/python/files/0001-versioneer.py-do-not-use-SafeConfigParser.patch
new file mode 100644
index 0..34caaca98
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/files/0001-versioneer.py-do-not-use-SafeConfigParser.patch
@@ -0,0 +1,29 @@
+From 0920bd21ceab75bc4b655c571a37835526dd2468 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Wed, 27 Dec 2023 15:12:19 +0100
+Subject: [PATCH] versioneer.py: do not use SafeConfigParser
+
+This has been deprecated for a long time, and finally removed in python 3.12
+
+Upstream-Status: Submitted [https://github.com/rsokl/custom_inherit/pull/49]
+Signed-off-by: Alexander Kanavin 
+---
+ versioneer.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/versioneer.py b/versioneer.py
+index 64fea1c..3aa5da3 100644
+--- a/versioneer.py
 b/versioneer.py
+@@ -339,9 +339,9 @@ def get_config_from_root(root):
+ # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
+ # the top of versioneer.py for instructions on writing your setup.cfg .
+ setup_cfg = os.path.join(root, "setup.cfg")
+-parser = configparser.SafeConfigParser()
++parser = configparser.ConfigParser()
+ with open(setup_cfg, "r") as f:
+-parser.readfp(f)
++parser.read_file(f)
+ VCS = parser.get("versioneer", "VCS")  # mandatory
+ 
+ def get(parser, name):
diff --git 
a/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb 
b/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb
index 478abbf1f..e7409f77e 100644
--- a/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.md;md5=f910a85a4c3da51edf780f17a7608434"
 
 PYPI_PACKAGE = "custom_inherit"
 
+SRC_URI += "file://0001-versioneer.py-do-not-use-SafeConfigParser.patch"
 SRC_URI[sha256sum] = 
"7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2"
 
 inherit pypi setuptools3
-- 
2.39.2


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



[oe] [PATCH 09/23] python3-gmpy2: fix python 3.12 issues

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0001-src-fix-python-3.12-builds.patch | 263 ++
 .../python/python3-gmpy2_2.1.5.bb |   1 +
 2 files changed, 264 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch
 
b/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch
new file mode 100644
index 0..1171322e2
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-gmpy2/0001-src-fix-python-3.12-builds.patch
@@ -0,0 +1,263 @@
+From 43f132103cedfd92b85173bcdacfbabd5916d9fc Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Wed, 27 Dec 2023 14:52:16 +0100
+Subject: [PATCH] src: fix python 3.12 builds
+
+This is a backport for 3.1.x versions provided separately in 
https://github.com/aleaxit/gmpy/issues/446
+
+Upstream-Status: Inappropriate [can be dropped when 2.2.x is released]
+
+Signed-off-by: Alexander Kanavin 
+---
+ src/gmpy2_convert.h   |  21 +++
+ src/gmpy2_convert_gmp.c   | 129 +-
+ src/gmpy2_convert_utils.c |   2 +-
+ 3 files changed, 65 insertions(+), 87 deletions(-)
+
+diff --git a/src/gmpy2_convert.h b/src/gmpy2_convert.h
+index f887d47..3e8cb2b 100644
+--- a/src/gmpy2_convert.h
 b/src/gmpy2_convert.h
+@@ -142,6 +142,27 @@ extern "C" {
+ #define IS_TYPE_COMPLEX_ONLY(x) ((x > OBJ_TYPE_REAL) && \
+  (x < OBJ_TYPE_COMPLEX))
+ 
++/* Compatibility macros (to work with PyLongObject internals).
++ */
++
++#if PY_VERSION_HEX >= 0x030C
++#  define TAG_FROM_SIGN_AND_SIZE(is_neg, size) ((is_neg?2:(size==0)) | 
(((size_t)size) << 3))
++#  define _PyLong_SetSignAndDigitCount(obj, is_neg, size) 
(obj->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(is_neg, size))
++#elif PY_VERSION_HEX >= 0x030900A4
++#  define _PyLong_SetSignAndDigitCount(obj, is_neg, size) (Py_SET_SIZE(obj, 
(is_neg?-1:1)*size))
++#else
++#  define _PyLong_SetSignAndDigitCount(obj, is_neg, size) (Py_SIZE(obj) = 
(is_neg?-1:1)*size)
++#endif
++
++#if PY_VERSION_HEX >= 0x030C
++#  define GET_OB_DIGIT(obj) obj->long_value.ob_digit
++#  define _PyLong_IsNegative(obj) ((obj->long_value.lv_tag & 3) == 2)
++#  define _PyLong_DigitCount(obj) (obj->long_value.lv_tag >> 3)
++#else
++#  define GET_OB_DIGIT(obj) obj->ob_digit
++#  define _PyLong_IsNegative(obj) (Py_SIZE(obj) < 0)
++#  define _PyLong_DigitCount(obj) (_PyLong_IsNegative(obj)? 
-Py_SIZE(obj):Py_SIZE(obj))
++#endif
+ 
+ /* Since the macros are used in gmpy2's codebase, these functions are skipped
+  * until they are needed for the C API in the future.
+diff --git a/src/gmpy2_convert_gmp.c b/src/gmpy2_convert_gmp.c
+index cf0891e..8b8df81 100644
+--- a/src/gmpy2_convert_gmp.c
 b/src/gmpy2_convert_gmp.c
+@@ -59,33 +59,24 @@ GMPy_MPZ_From_PyIntOrLong(PyObject *obj, CTXT_Object 
*context)
+ }
+ #endif
+ 
+-switch (Py_SIZE(templong)) {
+-case -1:
+-mpz_set_si(result->z, -(sdigit)templong->ob_digit[0]);
++len = _PyLong_DigitCount(templong);
++negative = _PyLong_IsNegative(templong);
++
++switch (len) {
++case 1:
++mpz_set_si(result->z, (sdigit)GET_OB_DIGIT(templong)[0]);
+ break;
+ case 0:
+ mpz_set_si(result->z, 0);
+ break;
+-case 1:
+-mpz_set_si(result->z, templong->ob_digit[0]);
+-break;
+ default:
+-mpz_set_si(result->z, 0);
+-
+-if (Py_SIZE(templong) < 0) {
+-len = - Py_SIZE(templong);
+-negative = 1;
+-} else {
+-len = Py_SIZE(templong);
+-negative = 0;
+-}
+-
+-mpz_import(result->z, len, -1, sizeof(templong->ob_digit[0]), 0,
+-   sizeof(templong->ob_digit[0])*8 - PyLong_SHIFT, 
templong->ob_digit);
++mpz_import(result->z, len, -1, sizeof(GET_OB_DIGIT(templong)[0]), 0,
++   sizeof(GET_OB_DIGIT(templong)[0])*8 - PyLong_SHIFT,
++   GET_OB_DIGIT(templong));
++}
+ 
+-if (negative) {
+-mpz_neg(result->z, result->z);
+-}
++if (negative) {
++mpz_neg(result->z, result->z);
+ }
+ return result;
+ }
+@@ -105,33 +96,24 @@ mpz_set_PyIntOrLong(mpz_t z, PyObject *obj)
+ }
+ #endif
+ 
+-switch (Py_SIZE(templong)) {
+-case -1:
+-mpz_set_si(z, -(sdigit)templong->ob_digit[0]);
++len = _PyLong_DigitCount(templong);
++negative = _PyLong_IsNegative(templong);
++
++switch (len) {
++case 1:
++mpz_set_si(z, (sdigit)GET_OB_DIGIT(templong)[0]);
+ break;
+ case 0:
+ mpz_set_si(z, 0);
+ break;
+-case 1:
+-mpz_set_si(z, templong->ob_digit[0]);
+-break;

[oe] [PATCH 11/23] python3-jsonrpcserver: remove

2023-12-31 Thread Alexander Kanavin
No activity in over a year, and depends on oslash, which has had no activity 
since 2020.

Signed-off-by: Alexander Kanavin 
---
 .../packagegroups/packagegroup-meta-python.bb |  1 -
 .../python/python3-jsonrpcserver_5.0.9.bb | 23 ---
 2 files changed, 24 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.9.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 0500ba19e..32e962aff 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -210,7 +210,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-jsonpath-rw \
 python3-jsonpointer \
 python3-jsonref \
-python3-jsonrpcserver \
 python3-jsonschema \
 python3-jstyleson \
 python3-kconfiglib \
diff --git a/meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.9.bb 
b/meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.9.bb
deleted file mode 100644
index 7e058a757..0
--- a/meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.9.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "Library to process JSON-RPC requests"
-HOMEPAGE = "https://github.com/explodinglabs/jsonrpcserver;
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=61b63ea9d36f6fb63ddc8265304f"
-
-SRC_URI[sha256sum] = 
"a71fb2cfa18541c80935f60987f92755d94d74141248c7438847b96eee5c4482"
-
-inherit pypi setuptools3
-
-RDEPENDS:${PN} += "\
-python3-apply-defaults \
-python3-asyncio \
-python3-core \
-python3-json \
-python3-jsonschema \
-python3-logging \
-python3-netclient \
-python3-pkgutil \
-python3-oslash \
-python3-typing-extensions \
-"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.39.2


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



[oe] [PATCH 12/23] python3-oslash: remove

2023-12-31 Thread Alexander Kanavin
Not compatible with python 3.12; dead upstream (no activity since 2020).

Signed-off-by: Alexander Kanavin 
---
 .../python/python3-oslash_0.6.3.bb| 22 ---
 1 file changed, 22 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-oslash_0.6.3.bb

diff --git a/meta-python/recipes-devtools/python/python3-oslash_0.6.3.bb 
b/meta-python/recipes-devtools/python/python3-oslash_0.6.3.bb
deleted file mode 100644
index b926484db..0
--- a/meta-python/recipes-devtools/python/python3-oslash_0.6.3.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-SUMMARY = "Functors, Applicatives, And Monads in Python"
-HOMEPAGE = "https://github.com/dbrattli/oslash;
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://README.md;md5=ed79d2637878dfe97de89e357b5c02dd"
-
-DEPENDS += "\
-${PYTHON_PN}-pip-native \
-${PYTHON_PN}-pytest-runner-native\
-"
-
-SRC_URI[sha256sum] = 
"868aeb58a656f2ed3b73d9dd6abe387b20b74fc9413d3e8653b615b15bf728f3"
-
-PYPI_PACKAGE = "OSlash"
-
-inherit pypi setuptools3
-
-RDEPENDS:${PN} += " \
-python3-json \
-python3-typing-extensions \
-"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.39.2


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



[oe] [PATCH 05/23] libpwquality: backport a python 3.12 compatibility patch

2023-12-31 Thread Alexander Kanavin
This also allows dropping a previous patch.

Signed-off-by: Alexander Kanavin 
---
 ...-Use-setuptools-instead-of-distutils.patch | 78 +++
 ...missing-python-include-dir-for-cross.patch | 43 --
 .../libpwquality/libpwquality_1.4.5.bb|  6 +-
 3 files changed, 81 insertions(+), 46 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
 delete mode 100644 
meta-oe/recipes-extended/libpwquality/files/add-missing-python-include-dir-for-cross.patch

diff --git 
a/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
 
b/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
new file mode 100644
index 0..7eaca66b5
--- /dev/null
+++ 
b/meta-oe/recipes-extended/libpwquality/files/0001-Use-setuptools-instead-of-distutils.patch
@@ -0,0 +1,78 @@
+From ad95b7684365dea8335c34527d4c1463c1668af0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= 
+Date: Fri, 31 Mar 2023 14:52:19 +0200
+Subject: [PATCH] Use setuptools instead of distutils
+
+distutils is removed from Python 3.12+:
+https://peps.python.org/pep-0632/
+
+Upstream-Status: Backport 
[https://github.com/libpwquality/libpwquality/commit/7b5e0f0097faebdcc6a8b783237bbba7a983147a]
+Signed-off-by: Alexander Kanavin 
+---
+ libpwquality.spec.in | 11 ++-
+ python/Makefile.am   |  2 +-
+ python/setup.py.in   |  6 +++---
+ 3 files changed, 6 insertions(+), 13 deletions(-)
+
+diff --git a/libpwquality.spec.in b/libpwquality.spec.in
+index 70a6f53..0809126 100644
+--- a/libpwquality.spec.in
 b/libpwquality.spec.in
+@@ -33,9 +33,11 @@ BuildRequires: gettext
+ BuildRequires: pam-devel
+ %if %{with python2}
+ BuildRequires: python2-devel
++BuildRequires: python2-setuptools
+ %endif
+ %if %{with python3}
+ BuildRequires: python3-devel
++BuildRequires: python3-setuptools
+ %endif
+ 
+ URL: https://github.com/libpwquality/libpwquality/
+@@ -103,15 +105,6 @@ cp -a . %{py3dir}
+ pushd %{py3dir}
+ %endif
+ %if %{with python3}
+-# setuptools >= 60 changes the environment to use its bundled copy of 
distutils
+-# by default, not the Python-bundled one. To run the Python's standard library
+-# distutils, the environment variable must be set.
+-# Although technically setuptools is not needed for this package, if it's
+-# pulled by another package, it changes the environment and consequently,
+-# the build fails. This was reported in:
+-# https://github.com/pypa/setuptools/issues/3143
+-export SETUPTOOLS_USE_DISTUTILS=stdlib
+-
+ %configure \
+   --with-securedir=%{_moduledir} \
+   --with-pythonsitedir=%{python3_sitearch} \
+diff --git a/python/Makefile.am b/python/Makefile.am
+index 1d00c0c..6e51744 100644
+--- a/python/Makefile.am
 b/python/Makefile.am
+@@ -14,7 +14,7 @@ all-local:
+   CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV)
+ 
+ install-exec-local:
+-  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV) install --prefix=${DESTDIR}${prefix}
++  CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build 
--build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix}
+ 
+ clean-local:
+   rm -rf py$(PYTHONREV)
+diff --git a/python/setup.py.in b/python/setup.py.in
+index a741b91..f934c50 100755
+--- a/python/setup.py.in
 b/python/setup.py.in
+@@ -6,9 +6,9 @@
+ 
+ import os
+ 
+-from distutils.core import setup, Extension
+-from distutils.command.build_ext import build_ext as _build_ext
+-from distutils.command.sdist import sdist as _sdist
++from setuptools import setup, Extension
++from setuptools.command.build_ext import build_ext as _build_ext
++from setuptools.command.sdist import sdist as _sdist
+ 
+ def genconstants(headerfile, outputfile):
+ hf = open(headerfile, 'r')
diff --git 
a/meta-oe/recipes-extended/libpwquality/files/add-missing-python-include-dir-for-cross.patch
 
b/meta-oe/recipes-extended/libpwquality/files/add-missing-python-include-dir-for-cross.patch
deleted file mode 100644
index 636b29407..0
--- 
a/meta-oe/recipes-extended/libpwquality/files/add-missing-python-include-dir-for-cross.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 1ea09e09ab2387c326bb7170835361ece6e25477 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia 
-Date: Mon, 3 Aug 2015 13:43:14 +0800
-Subject: [PATCH] setup.py.in: add missing python include dir for cross
- compiling
-
-Upstream-Status: Inappropriate [oe-core specific]
-
-Signed-off-by: Hongxu Jia 

- python/Makefile.am | 2 +-
- python/setup.py.in | 3 ++-
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/python/Makefile.am b/python/Makefile.am
-index 1d00c0c..52816b2 100644
 a/python/Makefile.am
-+++ b/python/Makefile.am
-@@ -14,7 +14,7 @@ all-local:
-   CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@

[oe] [PATCH 06/23] mycroft: do not depend on python3-xmlrunner

2023-12-31 Thread Alexander Kanavin
Nothing in the source tree refers to it.

Signed-off-by: Alexander Kanavin 
---
 meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb 
b/meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb
index 679789980..444bc1cf3 100644
--- a/meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb
+++ b/meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb
@@ -61,7 +61,7 @@ RDEPENDS:${PN} += "python3-requests python3-pillow \
python3-xxhash python3-pako \
python3-six python3-cryptography \
python3-requests-futures \
-   python3-xmlrunner python3-fasteners \
+   python3-fasteners \
python3-python-vlc \
python3-padatious python3-padaos \
python3-petact python3-precise-runner \
-- 
2.39.2


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



[oe] [PATCH 07/23] python3-xmlrunner: remove the recipe

2023-12-31 Thread Alexander Kanavin
Last release in 2014, not compatible with python 3.12.

Signed-off-by: Alexander Kanavin 
---
 .../packagegroups/packagegroup-meta-python.bb |  1 -
 .../python/python3-xmlrunner_1.7.7.bb | 11 ---
 2 files changed, 12 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 7b7d7bee9..0500ba19e 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -459,7 +459,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-wtforms \
 python3-xlrd \
 python3-xlsxwriter \
-python3-xmlrunner \
 python3-xmltodict \
 python3-xmodem \
 python3-xstatic \
diff --git a/meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb 
b/meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb
deleted file mode 100644
index 7259c3fad..0
--- a/meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-SUMMARY = "unittest-based test runner with Ant/JUnit like XML reporting"
-HOMEPAGE = "https://github.com/pycontribs/xmlrunner;
-LICENSE = "LGPL-3.0-only"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=fa964f202b6ae067ed5828fe43c77c1a"
-
-SRC_URI[md5sum] = "7b0b152ed2d278516aedbc0cac22dfb3"
-SRC_URI[sha256sum] = 
"5a6113d049eca7646111ee657266966e5bbfb0b5ceb2e83ee0772e16d7110f39"
-
-inherit pypi setuptools3
-
-RDEPENDS:${PN} += "python3-unittest"
-- 
2.39.2


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



[oe] [PATCH 08/23] system-config-printer: rely on setuptools to obtain distutils copy

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../system-config-printer/system-config-printer_1.5.18.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb
 
b/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb
index ead875824..cee907884 100644
--- 
a/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb
+++ 
b/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb
@@ -11,7 +11,7 @@ inherit autotools gettext pkgconfig python3native 
features_check
 
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 
-DEPENDS = "cups glib-2.0 libusb xmlto-native desktop-file-utils-native 
autoconf-archive-native"
+DEPENDS = "cups glib-2.0 libusb xmlto-native desktop-file-utils-native 
autoconf-archive-native python3-setuptools-native"
 
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)}"
 PACKAGECONFIG[systemd] = ",--without-systemdsystemunitdir,systemd"
-- 
2.39.2


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



[oe] [PATCH 04/23] cmpi-bindings: update 1.0.1 -> 1.0.4

2023-12-31 Thread Alexander Kanavin
Drop several obsolete patches; either upstream fixed the issue or
there's a standard way to cross-build python items.

Add setuptools dependency as distutils is still needed.

Signed-off-by: Alexander Kanavin 
---
 ...BI-suffix-to-the-python-library-name.patch | 22 --
 .../cmpi-bindings/0001-Fix-error.patch| 12 ++
 .../cmpi-bindings/0001-Modify-cmakelist.patch | 41 ---
 ...-fix-the-build-error-when-python-3.0.patch | 33 ---
 .../cmpi-bindings-0.4.17-no-ruby-perl.patch   | 14 +++
 .../cmpi-bindings-0.4.17-sblim-sigsegv.patch  | 18 +---
 .../cmpi-bindings-0.9.5-python-lib-dir.patch  | 17 
 ...ndings_1.0.1.bb => cmpi-bindings_1.0.4.bb} | 22 --
 8 files changed, 30 insertions(+), 149 deletions(-)
 delete mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch
 delete mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
 delete mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-fix-the-build-error-when-python-3.0.patch
 delete mode 100644 
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/cmpi-bindings-0.9.5-python-lib-dir.patch
 rename meta-oe/recipes-extended/cmpi-bindings/{cmpi-bindings_1.0.1.bb => 
cmpi-bindings_1.0.4.bb} (61%)

diff --git 
a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch
 
b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch
deleted file mode 100644
index fa029da2b..0
--- 
a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From a701ed30ac1bc2f77d063c237d6ae040a2d53f6b Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Mon, 16 May 2016 16:52:24 +0300
-Subject: [PATCH] Add 'm' suffix to the python library name.
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin 

- swig/python/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
 a/swig/python/CMakeLists.txt
-+++ b/swig/python/CMakeLists.txt
-@@ -49,7 +49,7 @@ ADD_DEFINITIONS(-DCMPI_PLATFORM_LINUX_GE
- SET( NAME pyCmpiProvider )
- ADD_LIBRARY( ${NAME} SHARED ${SWIG_OUTPUT})
- #TARGET_LINK_LIBRARIES( ${NAME} ${PYTHON_LIBRARIES} )
--TARGET_LINK_LIBRARIES( ${NAME} 
python${PYTHON_MAJOR_VERSION}.${PYTHON_MINOR_VERSION} )
-+TARGET_LINK_LIBRARIES( ${NAME} 
python${PYTHON_MAJOR_VERSION}.${PYTHON_MINOR_VERSION}${PYTHON_ABI} )
- TARGET_LINK_LIBRARIES( ${NAME} pthread )
- TARGET_LINK_LIBRARIES( ${NAME} dl )
- TARGET_LINK_LIBRARIES( ${NAME} util )
diff --git 
a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch 
b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch
index 1d8013be6..1f147d52f 100644
--- a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch
+++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Fix-error.patch
@@ -1,20 +1,19 @@
-From b8e791ce93a467081fb1594b91841e2f57c634a0 Mon Sep 17 00:00:00 2001
+From 3ab3ac2876cbf4a34a94f0d3256a5be9d1202370 Mon Sep 17 00:00:00 2001
 From: Qian Lei 
 Date: Fri, 16 Jan 2015 18:37:26 +0800
 Subject: [PATCH] Fix error
 
 Signed-off-by: Qian Lei 

 Upstream-Status: Pending
-
+---
  swig/python/CMakeLists.txt | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt
-index 3976296..8073fc8 100644
+index 93b4755..a7268f0 100644
 --- a/swig/python/CMakeLists.txt
 +++ b/swig/python/CMakeLists.txt
-@@ -27,7 +27,7 @@ SET( SWIG_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/../cmpi.i" )
+@@ -26,7 +26,7 @@ SET( SWIG_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/../cmpi.i" )
  ADD_CUSTOM_COMMAND (
 OUTPUT  ${SWIG_OUTPUT}
 COMMAND ${CMAKE_COMMAND} -E echo_append "Creating wrapper code for Python 
..."
@@ -23,6 +22,3 @@ index 3976296..8073fc8 100644
 COMMAND ${CMAKE_COMMAND} -E echo "Done."
 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i
--- 
-1.8.3.1
-
diff --git 
a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
 
b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
deleted file mode 100644
index 92e5e5662..0
--- 
a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Modify-cmakelist.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 070822507befe7c1b8bb1be2d36cb12141d03b8f Mon Sep 17 00:00:00 2001
-From: Qian Lei 
-Date: Tue, 6 Jan 2015 18:38:32 +0800
-Subject: [PATCH] Change the install path in cmakelist
-
-Upstream-Status: Pending
-Signed-off-by: Qian Lei 

- swig/python/CMakeLists.txt | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/swig/python/CMakeLists.txt b/swig/python

[oe] [PATCH 03/23] audit: disable python bindings as incompatible with python 3.12

2023-12-31 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-security/audit/audit_3.1.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-security/audit/audit_3.1.2.bb 
b/meta-oe/recipes-security/audit/audit_3.1.2.bb
index 5380e9022..1f2c821f0 100644
--- a/meta-oe/recipes-security/audit/audit_3.1.2.bb
+++ b/meta-oe/recipes-security/audit/audit_3.1.2.bb
@@ -32,7 +32,7 @@ DEPENDS = "python3 tcp-wrappers libcap-ng linux-libc-headers 
swig-native"
 EXTRA_OECONF = " --with-libwrap \
 --enable-gssapi-krb5=no \
 --with-libcap-ng=yes \
---with-python3=yes \
+--with-python3=no \
 --libdir=${base_libdir} \
 --sbindir=${base_sbindir} \
 --without-python \
-- 
2.39.2


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



[oe] [PATCH 02/23] volume-key: disable python bindings

2023-12-31 Thread Alexander Kanavin
No longer compatible with python 3.12; there hasn't been a release since 2018:
https://pagure.io/volume_key/releases

Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb 
b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
index aff555ad5..cc03ab4fe 100644
--- a/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
+++ b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
@@ -27,7 +27,7 @@ DEPENDS += " \
 swig-native \
 "
 
-PACKAGECONFIG ??= "python3"
+PACKAGECONFIG ??= ""
 PACKAGECONFIG[python3] = "--with-python3,--without-python3,python3,python3"
 
 EXTRA_OECONF = "--without-python"
-- 
2.39.2


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



[oe] [PATCH 01/23] fontforge: add a readline PACKAGECONFIG

2023-12-31 Thread Alexander Kanavin
This helps with build determinism; also if readline is not in sysroot
but readline-native is, fontforge erroneously decides to build with it.

Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb 
b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
index 404e86b86..31dd495fd 100644
--- a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
+++ b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
@@ -24,6 +24,8 @@ SRC_URI = 
"git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \
 S = "${WORKDIR}/git"
 
 EXTRA_OECMAKE = "-DENABLE_DOCS=OFF"
+PACKAGECONFIG = "readline"
+PACKAGECONFIG[readline] = "-DENABLE_READLINE=ON,-DENABLE_READLINE=OFF,readline"
 
 CFLAGS += "-fno-strict-aliasing"
 LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"
-- 
2.39.2


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



Re: [oe] [PATCH 8/9] flatpak: do not rely on executables from the host

2023-12-22 Thread Alexander Kanavin
On Fri 22. Dec 2023 at 17.50,  wrote:

>
> -EXTRA_OEMESON += "-Dsystem_dbus_proxy=${bindir}/xdg-dbus-proxy
> -Dsystem_bubblewrap=${bindir}/bwrap"
>
> My understanding was that these were runtime dependencies and setting the
> paths would ensure that target flatpak can find them
>

No, it actually tries to find these at build time on the host, and run
them, checking if the versions are correct. Which is of course a bogus
check, because they would be provided by the host distro, and not match
what is going to be in the target image:
https://github.com/flatpak/flatpak/blob/main/meson.build#L254

If they're unset, then flatpak instead falls back to internal helper
binaries that it installs into libexec:
https://github.com/flatpak/flatpak/blob/main/meson.build#L351

Alex

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



Re: [oe] [PATCH 1/9] python3-yappi: update 1.4.0 -> 1.6.0

2023-12-22 Thread Alexander Kanavin
I didn't try that. And I have to ask: checking ptests by hand means
we're not running those ptests regularly in CI, and if so, then why
bother? It can regress at any point through seemingly unrelated
changes, and maybe already has even before this update.

If python 3.12 update has a chance of ever happening, ptests need to
be checked by someone else, as there are still some 25 build failures
I need to look at. Otherwise doing all the runtime testing and fixing
across the whole python stack simply exceeds my capacity.

Alex

On Fri, 22 Dec 2023 at 16:54, Khem Raj  wrote:
>
> On Fri, Dec 22, 2023 at 7:11 AM Alexander Kanavin
>  wrote:
> >
> > Drop patches:
> > 0002-add-3.11-to-the-setup.patch - issue resolved upstream
> > 0001-Fix-imports-for-ptests.patch - unclear what the problem is, too 
> > difficult to rebase.
>
> Does
> bitbake meta-python-image-ptest-python3-yappi
>
> show regression ?
>
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  .../0001-Fix-imports-for-ptests.patch | 3895 -
> >  .../0002-add-3.11-to-the-setup.patch  |   26 -
> >  ...-yappi_1.4.0.bb => python3-yappi_1.6.0.bb} |8 +-
> >  3 files changed, 2 insertions(+), 3927 deletions(-)
> >  delete mode 100644 
> > meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch
> >  delete mode 100644 
> > meta-python/recipes-devtools/python/python3-yappi/0002-add-3.11-to-the-setup.patch
> >  rename meta-python/recipes-devtools/python/{python3-yappi_1.4.0.bb => 
> > python3-yappi_1.6.0.bb} (74%)
> >
> > diff --git 
> > a/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch
> >  
> > b/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch
> > deleted file mode 100644
> > index 476db4b7d..0
> > --- 
> > a/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch
> > +++ /dev/null
> > @@ -1,3895 +0,0 @@
> > -From 0dedc1c573ddc4e87475eb03c64555cd54a72e92 Mon Sep 17 00:00:00 2001
> > -From: Trevor Gamblin 
> > -Date: Mon, 7 Jun 2021 09:40:20 -0400
> > -Subject: [PATCH] Fix imports for tests
> > -
> > -Signed-off-by: Trevor Gamblin 
> > 
> > -Upstream-Status: Pending
> > -
> > - tests/test_asyncio.py  | 2 +-
> > - tests/test_asyncio_context_vars.py | 2 +-
> > - tests/test_functionality.py| 2 +-
> > - tests/test_hooks.py| 2 +-
> > - tests/test_tags.py | 2 +-
> > - 5 files changed, 6 insertions(+), 6 deletions(-)
> > -
> >  a/tests/test_asyncio.py
> > -+++ b/tests/test_asyncio.py
> > -@@ -2,7 +2,7 @@ import unittest
> > - import yappi
> > - import asyncio
> > - import threading
> > --from utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io
> > -+from .utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io
> > -
> > -
> > - async def async_sleep(sec):
> >  a/tests/test_asyncio_context_vars.py
> > -+++ b/tests/test_asyncio_context_vars.py
> > -@@ -5,7 +5,7 @@ import contextvars
> > - import functools
> > - import time
> > - import os
> > --import utils
> > -+import tests.utils as utils
> > - import yappi
> > -
> > - async_context_id = contextvars.ContextVar('async_context_id')
> >  a/tests/test_functionality.py
> > -+++ b/tests/test_functionality.py
> > -@@ -1,1916 +1,1916 @@
> > --import os
> > --import sys
> > --import time
> > --import threading
> > --import unittest
> > --import yappi
> > --import _yappi
> > --import utils
> > --import multiprocessing  # added to fix http://bugs.python.org/issue15881 
> > for > Py2.6
> > --import subprocess
> > --
> > --_counter = 0
> > --
> > --
> > --class BasicUsage(utils.YappiUnitTestCase):
> > --
> > --def test_callback_function_int_return_overflow(self):
> > --# this test is just here to check if any errors are generated, as 
> > the err
> > --# is printed in C side, I did not include it here. THere are ways 
> > to test
> > --# this deterministically, I did not bother
> > --import ctypes
> > --
> > --def _unsigned_overflow_margin():
> > --return 2**(ctypes.sizeof(ctypes.c_void_p) * 8) - 1
> > --
> > --def foo():
> > --pass
> > --
> > --#with utils.captured_output() as (out, err):
> > --yappi.set_context_id_callback(_unsigned

[oe] [PATCH 9/9] bolt: package systemd units

2023-12-22 Thread Alexander Kanavin
This wasn't seen because the recipe is enabled only
when systemd and polkit are both in distro features.

Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb 
b/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
index 860cb8381..4688ae860 100644
--- a/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
+++ b/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
@@ -18,4 +18,5 @@ inherit cmake pkgconfig meson features_check
 
 FILES:${PN} += "${datadir}/dbus-1/* \
 ${datadir}/polkit-1/* \
+${libdir}/systemd/* \
"
-- 
2.39.2


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



[oe] [PATCH 6/9] mozjs-102: remove the recipe

2023-12-22 Thread Alexander Kanavin
mozjs-102 was retained for the purpose of supporting polkit;
with the backport of mozjs-115 patch for polkit there are no
further consumers, and it's not compatible with python 3.12.

I didn't look into what specifically breaks with 3.12, as getting
mozjs-115 to work with it was tricky enough, so I'd rather drop
mozjs-102, than attempt to make it work.

mozjs-115 is esr (long term support) release like mozjs-102,
but it is also newer and therefore will remain in support longer.

Signed-off-by: Alexander Kanavin 
---
 .../packagegroup-meta-oe.bbappend |  1 -
 ...001-Cargo.toml-do-not-abort-on-panic.patch | 32 
 .../0001-add-arm-to-list-of-mozinline.patch   | 25 --
 ...-autoconf-s-config.sub-to-canonicali.patch | 29 ---
 ...rewrite-cargo-host-linker-in-python3.patch | 54 
 ...ix-one-occasionally-reproduced-confi.patch | 48 ---
 ...nfigure-do-not-look-for-llvm-objdump.patch | 44 --
 ...o-not-try-to-find-a-suitable-upstrea.patch | 66 ---
 .../mozjs-102/0004-use-asm-sgidefs.h.patch| 38 -
 .../mozjs/mozjs-102/fix-musl-build.patch  | 29 ---
 .../mozjs-102/musl-disable-stackwalk.patch| 18 
 .../mozjs/mozjs-102/riscv32.patch | 60 --
 .../mozjs/mozjs-102_102.15.1.bb   | 82 ---
 13 files changed, 526 deletions(-)
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/0001-Cargo.toml-do-not-abort-on-panic.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/0001-add-arm-to-list-of-mozinline.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/0001-build-do-not-use-autoconf-s-config.sub-to-canonicali.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/0001-rewrite-cargo-host-linker-in-python3.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/0001-util.configure-fix-one-occasionally-reproduced-confi.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/0002-moz.configure-do-not-look-for-llvm-objdump.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/0004-use-asm-sgidefs.h.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/fix-musl-build.patch
 delete mode 100644 
meta-oe/recipes-extended/mozjs/mozjs-102/musl-disable-stackwalk.patch
 delete mode 100644 meta-oe/recipes-extended/mozjs/mozjs-102/riscv32.patch
 delete mode 100644 meta-oe/recipes-extended/mozjs/mozjs-102_102.15.1.bb

diff --git 
a/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
 
b/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
index c3d4cbc50..db1813189 100644
--- 
a/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
+++ 
b/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
@@ -14,7 +14,6 @@ RDEPENDS:packagegroup-meta-oe-connectivity += "\
 
 RDEPENDS:packagegroup-meta-oe-extended += "\
 lcdproc \
-mozjs-102 \
 "
 RDEPENDS:packagegroup-meta-oe-support += "\
 nvmetcli \
diff --git 
a/meta-oe/recipes-extended/mozjs/mozjs-102/0001-Cargo.toml-do-not-abort-on-panic.patch
 
b/meta-oe/recipes-extended/mozjs/mozjs-102/0001-Cargo.toml-do-not-abort-on-panic.patch
deleted file mode 100644
index 0dd936197..0
--- 
a/meta-oe/recipes-extended/mozjs/mozjs-102/0001-Cargo.toml-do-not-abort-on-panic.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From bb46a8a729cc4d66ad36db40c17e36a5111f19c3 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 1 Oct 2021 13:00:24 +0200
-Subject: [PATCH] Cargo.toml: do not abort on panic
-
-OE's rust is configured to unwind, and this setting clashes with it/
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin 
-

- Cargo.toml | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index f576534bf3..5ecc17c319 100644
 a/Cargo.toml
-+++ b/Cargo.toml
-@@ -56,13 +56,11 @@ opt-level = 1
- rpath = false
- lto = false
- debug-assertions = true
--panic = "abort"
- 
- [profile.release]
- opt-level = 2
- rpath = false
- debug-assertions = false
--panic = "abort"
- 
- # Optimize build dependencies, because bindgen and proc macros / style
- # compilation take more to run than to build otherwise.
diff --git 
a/meta-oe/recipes-extended/mozjs/mozjs-102/0001-add-arm-to-list-of-mozinline.patch
 
b/meta-oe/recipes-extended/mozjs/mozjs-102/0001-add-arm-to-list-of-mozinline.patch
deleted file mode 100644
index 02f5e5c7e..0
--- 
a/meta-oe/recipes-extended/mozjs/mozjs-102/0001-add-arm-to-list-of-mozinline.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Backport patch from firefox bugzilla to fix compile error for qemuarm with
-some armv7ve tunes such as 'armv7vethf' and 'armv7vet-

[oe] [PATCH 5/9] mozjs-115: backport py 3.12 compatibility

2023-12-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../mozjs/mozjs-115/py3.12.patch  | 2496 +
 .../mozjs/mozjs-115_115.2.0.bb|1 +
 2 files changed, 2497 insertions(+)
 create mode 100644 meta-oe/recipes-extended/mozjs/mozjs-115/py3.12.patch

diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/py3.12.patch 
b/meta-oe/recipes-extended/mozjs/mozjs-115/py3.12.patch
new file mode 100644
index 0..732c8ff1c
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs-115/py3.12.patch
@@ -0,0 +1,2496 @@
+From 7293cfae4fd68004901825ad1cabb83424d8729a Mon Sep 17 00:00:00 2001
+From: serge-sans-paille 
+Date: Mon, 16 Oct 2023 13:35:24 +
+Subject: [PATCH] Bug 1857492 - Upgrade vendored version of six and urllib3
+ r=saschanaz
+
+six -> 1.16
+urllib3 -> 1.26.17
+
+Differential Revision: https://phabricator.services.mozilla.com/D190288
+Upstream-Status: Backport 
[https://github.com/mozilla/gecko-dev/commit/7293cfae4fd68004901825ad1cabb83424d8729a]
+Signed-off-by: Alexander Kanavin 
+---
+ third_party/python/poetry.lock|  22 +--
+ third_party/python/requirements.in|   4 +-
+ third_party/python/requirements.txt   |  12 +-
+ .../python/six/six-1.13.0.dist-info/RECORD|   6 -
+ .../LICENSE   |   2 +-
+ .../METADATA  |   9 +-
+ .../python/six/six-1.16.0.dist-info/RECORD|   6 +
+ .../six-1.16.0.dist-info}/WHEEL   |   2 +-
+ .../top_level.txt |   0
+ third_party/python/six/six.py |  91 ++---
+ .../urllib3/urllib3-1.26.0.dist-info/RECORD   |  44 -
+ .../LICENSE.txt   |   0
+ .../METADATA  | 177 --
+ .../urllib3/urllib3-1.26.17.dist-info/RECORD  |  44 +
+ .../urllib3-1.26.17.dist-info}/WHEEL  |   2 +-
+ .../top_level.txt |   0
+ .../python/urllib3/urllib3/__init__.py|  17 ++
+ .../python/urllib3/urllib3/_version.py|   2 +-
+ .../python/urllib3/urllib3/connection.py  |  62 --
+ .../python/urllib3/urllib3/connectionpool.py  |  97 --
+ .../contrib/_securetransport/bindings.py  |   2 +-
+ .../contrib/_securetransport/low_level.py |   1 +
+ .../urllib3/urllib3/contrib/appengine.py  |   4 +-
+ .../urllib3/urllib3/contrib/ntlmpool.py   |  13 +-
+ .../urllib3/urllib3/contrib/pyopenssl.py  |  19 +-
+ .../urllib3/contrib/securetransport.py|   5 +-
+ .../python/urllib3/urllib3/contrib/socks.py   |   2 +-
+ .../python/urllib3/urllib3/exceptions.py  |  12 +-
+ .../urllib3/urllib3/packages/__init__.py  |   5 -
+ .../packages/backports/weakref_finalize.py| 155 +++
+ .../python/urllib3/urllib3/packages/six.py| 125 +
+ .../packages/ssl_match_hostname/__init__.py   |  22 ---
+ .../python/urllib3/urllib3/poolmanager.py |   3 +-
+ third_party/python/urllib3/urllib3/request.py |  21 +++
+ .../python/urllib3/urllib3/response.py|  72 ++-
+ .../python/urllib3/urllib3/util/connection.py |   5 +-
+ .../python/urllib3/urllib3/util/proxy.py  |   1 +
+ .../python/urllib3/urllib3/util/request.py|   5 +-
+ .../python/urllib3/urllib3/util/retry.py  |  37 +++-
+ .../python/urllib3/urllib3/util/ssl_.py   |  53 --
+ .../ssl_match_hostname.py}|  15 +-
+ .../urllib3/urllib3/util/ssltransport.py  |   6 +-
+ .../python/urllib3/urllib3/util/timeout.py|   9 +-
+ .../python/urllib3/urllib3/util/url.py|  17 +-
+ .../python/urllib3/urllib3/util/wait.py   |   1 -
+ 45 files changed, 934 insertions(+), 275 deletions(-)
+ delete mode 100644 third_party/python/six/six-1.13.0.dist-info/RECORD
+ rename third_party/python/six/{six-1.13.0.dist-info => 
six-1.16.0.dist-info}/LICENSE (96%)
+ rename third_party/python/six/{six-1.13.0.dist-info => 
six-1.16.0.dist-info}/METADATA (85%)
+ create mode 100644 third_party/python/six/six-1.16.0.dist-info/RECORD
+ rename third_party/python/{urllib3/urllib3-1.26.0.dist-info => 
six/six-1.16.0.dist-info}/WHEEL (70%)
+ rename third_party/python/six/{six-1.13.0.dist-info => 
six-1.16.0.dist-info}/top_level.txt (100%)
+ delete mode 100644 third_party/python/urllib3/urllib3-1.26.0.dist-info/RECORD
+ rename third_party/python/urllib3/{urllib3-1.26.0.dist-info => 
urllib3-1.26.17.dist-info}/LICENSE.txt (100%)
+ rename third_party/python/urllib3/{urllib3-1.26.0.dist-info => 
urllib3-1.26.17.dist-info}/METADATA (86%)
+ create mode 100644 third_party/python/urllib3/urllib3-1.26.17.dist-info/RECORD
+ rename third_party/python/{six/six-1.13.0.dist-info => 
urllib3/urllib3-1.26.17.dist-info}/WHEEL (70%)
+ rename third_party/python/urllib3/{urllib3-1.26.0.dist-info => 
urllib3-1.26.17.dist-info}/top_level.txt (100%)
+ create mode 100644 
third_party/python/urllib3/urllib3/packages/backports/weakref_finalize.py
+ delete m

[oe] [PATCH 8/9] flatpak: do not rely on executables from the host

2023-12-22 Thread Alexander Kanavin
This is not how yocto builds work: any needed executables
should come from the build itself, with limited exceptions
listed in HOSTTOOLS. flatpak is entirely capable of building
without requiring them upfront.

Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb 
b/meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb
index 0ee53afb6..caa353bb8 100644
--- a/meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb
+++ b/meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb
@@ -43,8 +43,6 @@ RDEPENDS:${PN} = " \
 xdg-dbus-proxy \
 "
 
-EXTRA_OEMESON += "-Dsystem_dbus_proxy=${bindir}/xdg-dbus-proxy 
-Dsystem_bubblewrap=${bindir}/bwrap"
-
 GIR_MESON_OPTION = "gir"
 GIR_MESON_ENABLE_FLAG = 'enabled'
 GIR_MESON_DISABLE_FLAG = 'disabled'
-- 
2.39.2


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



[oe] [PATCH 7/9] gthumb: update 3.12.2 -> 3.12.4

2023-12-22 Thread Alexander Kanavin
Drop erroneous autotools assignment as well; not sure how this wasn't noticed 
until now.

Signed-off-by: Alexander Kanavin 
---
 .../gthumb/{gthumb_3.12.2.bb => gthumb_3.12.4.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-gnome/recipes-gnome/gthumb/{gthumb_3.12.2.bb => gthumb_3.12.4.bb} 
(81%)

diff --git a/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.2.bb 
b/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.4.bb
similarity index 81%
rename from meta-gnome/recipes-gnome/gthumb/gthumb_3.12.2.bb
rename to meta-gnome/recipes-gnome/gthumb/gthumb_3.12.4.bb
index ecf8f6ab5..79db8b7d7 100644
--- a/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.2.bb
+++ b/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.4.bb
@@ -23,9 +23,8 @@ DEPENDS = " \
 libsecret \
 "
 
-GNOMEBASEBUILDCLASS = "autotools"
 inherit features_check gnomebase gnome-help gsettings itstool mime-xdg
 
-SRC_URI[archive.sha256sum] = 
"97f8afe522535216541ebbf1e3b546d12a6beb38a8f0eb85f26e676934aad425"
+SRC_URI[archive.sha256sum] = 
"add693ac0aeb9a30d829ba03a06208289d3f6868dc3b02573549e88190c794e8"
 
 FILES:${PN} += "${datadir}/metainfo"
-- 
2.39.2


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



[oe] [PATCH 1/9] python3-yappi: update 1.4.0 -> 1.6.0

2023-12-22 Thread Alexander Kanavin
Drop patches:
0002-add-3.11-to-the-setup.patch - issue resolved upstream
0001-Fix-imports-for-ptests.patch - unclear what the problem is, too difficult 
to rebase.

Signed-off-by: Alexander Kanavin 
---
 .../0001-Fix-imports-for-ptests.patch | 3895 -
 .../0002-add-3.11-to-the-setup.patch  |   26 -
 ...-yappi_1.4.0.bb => python3-yappi_1.6.0.bb} |8 +-
 3 files changed, 2 insertions(+), 3927 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch
 delete mode 100644 
meta-python/recipes-devtools/python/python3-yappi/0002-add-3.11-to-the-setup.patch
 rename meta-python/recipes-devtools/python/{python3-yappi_1.4.0.bb => 
python3-yappi_1.6.0.bb} (74%)

diff --git 
a/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch
 
b/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch
deleted file mode 100644
index 476db4b7d..0
--- 
a/meta-python/recipes-devtools/python/python3-yappi/0001-Fix-imports-for-ptests.patch
+++ /dev/null
@@ -1,3895 +0,0 @@
-From 0dedc1c573ddc4e87475eb03c64555cd54a72e92 Mon Sep 17 00:00:00 2001
-From: Trevor Gamblin 
-Date: Mon, 7 Jun 2021 09:40:20 -0400
-Subject: [PATCH] Fix imports for tests
-
-Signed-off-by: Trevor Gamblin 

-Upstream-Status: Pending
-
- tests/test_asyncio.py  | 2 +-
- tests/test_asyncio_context_vars.py | 2 +-
- tests/test_functionality.py| 2 +-
- tests/test_hooks.py| 2 +-
- tests/test_tags.py | 2 +-
- 5 files changed, 6 insertions(+), 6 deletions(-)
-
 a/tests/test_asyncio.py
-+++ b/tests/test_asyncio.py
-@@ -2,7 +2,7 @@ import unittest
- import yappi
- import asyncio
- import threading
--from utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io
-+from .utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io
- 
- 
- async def async_sleep(sec):
 a/tests/test_asyncio_context_vars.py
-+++ b/tests/test_asyncio_context_vars.py
-@@ -5,7 +5,7 @@ import contextvars
- import functools
- import time
- import os
--import utils
-+import tests.utils as utils
- import yappi
- 
- async_context_id = contextvars.ContextVar('async_context_id')
 a/tests/test_functionality.py
-+++ b/tests/test_functionality.py
-@@ -1,1916 +1,1916 @@
--import os
--import sys
--import time
--import threading
--import unittest
--import yappi
--import _yappi
--import utils
--import multiprocessing  # added to fix http://bugs.python.org/issue15881 for 
> Py2.6
--import subprocess
--
--_counter = 0
--
--
--class BasicUsage(utils.YappiUnitTestCase):
--
--def test_callback_function_int_return_overflow(self):
--# this test is just here to check if any errors are generated, as the 
err
--# is printed in C side, I did not include it here. THere are ways to 
test
--# this deterministically, I did not bother
--import ctypes
--
--def _unsigned_overflow_margin():
--return 2**(ctypes.sizeof(ctypes.c_void_p) * 8) - 1
--
--def foo():
--pass
--
--#with utils.captured_output() as (out, err):
--yappi.set_context_id_callback(_unsigned_overflow_margin)
--yappi.set_tag_callback(_unsigned_overflow_margin)
--yappi.start()
--foo()
--
--def test_issue60(self):
--
--def foo():
--buf = bytearray()
--buf += b't' * 200
--view = memoryview(buf)[10:]
--view = view.tobytes()
--del buf[:10]  # this throws exception
--return view
--
--yappi.start(builtins=True)
--foo()
--self.assertTrue(
--len(
--yappi.get_func_stats(
--filter_callback=lambda x: yappi.
--func_matches(x, [memoryview.tobytes])
--)
--) > 0
--)
--yappi.stop()
--
--def test_issue54(self):
--
--def _tag_cbk():
--global _counter
--_counter += 1
--return _counter
--
--def a():
--pass
--
--def b():
--pass
--
--yappi.set_tag_callback(_tag_cbk)
--yappi.start()
--a()
--a()
--a()
--yappi.stop()
--stats = yappi.get_func_stats()
--self.assertEqual(stats.pop().ncall, 3)  # aggregated if no tag is 
given
--stats = yappi.get_func_stats(tag=1)
--
--for i in range(1, 3):
--stats = yappi.get_func_stats(tag=i)
--stats = yappi.get_func_stats(
--tag=i, filter_callback=lambda x: yappi.func_matches(x, [a])
--)
--
--stat = stats.pop()
--self.assertEqual(stat.ncall, 1)
--
--yappi.set_tag_callback(None)
--yappi.clear_stats()
--yappi.start()
--b()
--b()
--stats = yappi.get_func_stats()
--self.assertEqual(l

[oe] [PATCH 3/9] mozjs-115: split the way-too-long PYTHONPATH line

2023-12-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../recipes-extended/mozjs/mozjs-115_115.2.0.bb | 17 -
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb 
b/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb
index fcdf64c93..d0acabd8b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb
@@ -28,7 +28,22 @@ DEPENDS:remove:powerpc:toolchain-clang = "icu"
 
 B = "${WORKDIR}/build"
 
-export PYTHONPATH = 
"${S}/build:${S}/third_party/python/PyYAML/lib3:${S}/testing/mozbase/mozfile:${S}/python/mozboot:${S}/third_party/python/distro:${S}/testing/mozbase/mozinfo:${S}/config:${S}/testing/mozbase/manifestparser:${S}/third_party/python/pytoml:${S}/testing/mozbase/mozprocess:${S}/third_party/python/six:${S}/python/mozbuild:${S}/python/mozbuild/mozbuild:${S}/python/mach:${S}/third_party/python/jsmin:${S}/python/mozversioncontrol"
+export PYTHONPATH = "${S}/build:\
+${S}/third_party/python/PyYAML/lib3:\
+${S}/testing/mozbase/mozfile:\
+${S}/python/mozboot:\
+${S}/third_party/python/distro:\
+${S}/testing/mozbase/mozinfo:\
+${S}/config:\
+${S}/testing/mozbase/manifestparser:\
+${S}/third_party/python/pytoml:\
+${S}/testing/mozbase/mozprocess:\
+${S}/third_party/python/six:\
+${S}/python/mozbuild:\
+${S}/python/mozbuild/mozbuild:\
+${S}/python/mach:\
+${S}/third_party/python/jsmin:\
+${S}/python/mozversioncontrol"
 
 export HOST_CC = "${BUILD_CC}"
 export HOST_CXX = "${BUILD_CXX}"
-- 
2.39.2


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



[oe] [PATCH 4/9] polkit: update mozjs dependency 102 -> 115

2023-12-22 Thread Alexander Kanavin
This will allow dropping mozjs-102 instead of attempting
to make it work with python 3.12.

Signed-off-by: Alexander Kanavin 
---
 .../0001-jsauthority-Bump-mozjs-to-115.patch  | 26 +++
 meta-oe/recipes-extended/polkit/polkit_123.bb | 10 +++
 2 files changed, 31 insertions(+), 5 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/polkit/polkit/0001-jsauthority-Bump-mozjs-to-115.patch

diff --git 
a/meta-oe/recipes-extended/polkit/polkit/0001-jsauthority-Bump-mozjs-to-115.patch
 
b/meta-oe/recipes-extended/polkit/polkit/0001-jsauthority-Bump-mozjs-to-115.patch
new file mode 100644
index 0..163a03cfc
--- /dev/null
+++ 
b/meta-oe/recipes-extended/polkit/polkit/0001-jsauthority-Bump-mozjs-to-115.patch
@@ -0,0 +1,26 @@
+From 2f0de2a831ab106fce210c1d65baef041256bc18 Mon Sep 17 00:00:00 2001
+From: Xi Ruoyao 
+Date: Mon, 18 Sep 2023 01:53:04 +0800
+Subject: [PATCH] jsauthority: Bump mozjs to 115
+
+No code change is needed!
+
+Upstream-Status: Backport 
[https://gitlab.freedesktop.org/polkit/polkit/-/commit/b340f50b7bb963863ede7c63f9a0b5c50c80c1e1]
+Signed-off-by: Alexander Kanavin 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 3b96562..92b68fd 100644
+--- a/meson.build
 b/meson.build
+@@ -153,7 +153,7 @@ if js_engine == 'duktape'
+   func = 'pthread_condattr_setclock'
+   config_h.set('HAVE_' + func.to_upper(), cc.has_function(func, prefix : 
'#include '))
+ elif js_engine == 'mozjs'
+-  js_dep = dependency('mozjs-102')
++  js_dep = dependency('mozjs-115')
+ 
+   _system = host_machine.system().to_lower()
+   if _system.contains('freebsd')
diff --git a/meta-oe/recipes-extended/polkit/polkit_123.bb 
b/meta-oe/recipes-extended/polkit/polkit_123.bb
index 4fc23559f..670fd995f 100644
--- a/meta-oe/recipes-extended/polkit/polkit_123.bb
+++ b/meta-oe/recipes-extended/polkit/polkit_123.bb
@@ -4,10 +4,10 @@ HOMEPAGE = "http://www.freedesktop.org/wiki/Software/polkit;
 LICENSE = "LGPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb"
 
-SRC_URI = " \
-   
git://gitlab.freedesktop.org/polkit/polkit.git;protocol=https;branch=master \
-   file://0001-polkit.service.in-disable-MemoryDenyWriteExecute.patch \
-"
+SRC_URI = 
"git://gitlab.freedesktop.org/polkit/polkit.git;protocol=https;branch=master \
+   file://0001-polkit.service.in-disable-MemoryDenyWriteExecute.patch \
+   file://0001-jsauthority-Bump-mozjs-to-115.patch \
+   "
 
 S = "${WORKDIR}/git"
 SRCREV = "fc8b07e71d99f88a29258cde99b913b44da1846d"
@@ -31,7 +31,7 @@ PACKAGECONFIG[systemd] = 
"-Dsession_tracking=libsystemd-login,-Dsession_tracking
 PACKAGECONFIG[consolekit] = ",,,consolekit"
 
 # Default to mozjs javascript library
-PACKAGECONFIG[mozjs] = "-Djs_engine=mozjs,,mozjs-102,,,duktape"
+PACKAGECONFIG[mozjs] = "-Djs_engine=mozjs,,mozjs-115,,,duktape"
 # duktape javascript engine is much smaller and faster but is not compatible 
with
 # same javascript standards as mozjs. For example array.includes() function is 
not
 # supported. Test rule compatibility when switching to duktape.
-- 
2.39.2


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



Re: [oe] [PATCH 20/20] nodejs: backport (partially) python 3.12 support

2023-12-20 Thread Alexander Kanavin
| npm ERR! ModuleNotFoundError: No module named 'packaging'

Looks like python3-packaging needs to be in RDEPENDS as well, I'll
make a fix (or you can quickly try to see if it resolves the error).

Alex

On Wed, 20 Dec 2023 at 20:12, Khem Raj  wrote:
>
> this is regressing some dependent recipe e.g. simpleiot which depends
> on gyp from nodejs-native
>
> https://github.com/YoeDistro/yoe-distro/actions/runs/7258317572/job/19834510249?pr=882
>
> On Thu, Dec 14, 2023 at 11:53 PM Alexander Kanavin
>  wrote:
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  ...001-build-fix-build-with-Python-3.12.patch | 55 
> >  .../0001-gyp-resolve-python-3.12-issues.patch | 63 +++
> >  .../recipes-devtools/nodejs/nodejs_20.8.1.bb  |  4 +-
> >  3 files changed, 121 insertions(+), 1 deletion(-)
> >  create mode 100644 
> > meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> >  create mode 100644 
> > meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> >
> > diff --git 
> > a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> >  
> > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> > new file mode 100644
> > index 0..39026d074
> > --- /dev/null
> > +++ 
> > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
> > @@ -0,0 +1,55 @@
> > +From 656f6c91f1da7f1e1ffb01e2de7d9026a84958b5 Mon Sep 17 00:00:00 2001
> > +From: Luigi Pinca 
> > +Date: Wed, 8 Nov 2023 21:20:53 +0100
> > +Subject: [PATCH] build: fix build with Python 3.12
> > +
> > +Replace `distutils.version.StrictVersion` with
> > +`packaging.version.Version`.
> > +
> > +Refs: https://github.com/nodejs/node/pull/50209#issuecomment-1795852539
> > +PR-URL: https://github.com/nodejs/node/pull/50582
> > +Reviewed-By: Richard Lau 
> > +Reviewed-By: Chengzhong Wu 
> > +
> > +Upstream-Status: Backport 
> > [https://github.com/nodejs/node/commit/95534ad82f4e33f53fd50efe633d43f8da70cba6]
> > +Signed-off-by: Alexander Kanavin 
> > +---
> > + configure.py | 11 +--
> > + 1 file changed, 5 insertions(+), 6 deletions(-)
> > +
> > +diff --git a/configure.py b/configure.py
> > +index 62f041ce..18fe7c14 100755
> > +--- a/configure.py
> >  b/configure.py
> > +@@ -14,8 +14,6 @@ import bz2
> > + import io
> > + from pathlib import Path
> > +
> > +-from distutils.version import StrictVersion
> > +-
> > + # If not run from node/, cd to node/.
> > + os.chdir(Path(__file__).parent)
> > +
> > +@@ -30,6 +28,7 @@ tools_path = Path('tools')
> > +
> > + sys.path.insert(0, str(tools_path / 'gyp' / 'pylib'))
> > + from gyp.common import GetFlavor
> > ++from packaging.version import Version
> > +
> > + # imports in tools/configure.d
> > + sys.path.insert(0, str(tools_path / 'configure.d'))
> > +@@ -1565,10 +1564,10 @@ def configure_openssl(o):
> > + # supported asm compiler for AVX2. See 
> > https://github.com/openssl/openssl/
> > + # 
> > blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69
> > + openssl110_asm_supported = \
> > +-  ('gas_version' in variables and 
> > StrictVersion(variables['gas_version']) >= StrictVersion('2.23')) or \
> > +-  ('xcode_version' in variables and 
> > StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \
> > +-  ('llvm_version' in variables and 
> > StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \
> > +-  ('nasm_version' in variables and 
> > StrictVersion(variables['nasm_version']) >= StrictVersion('2.10'))
> > ++  ('gas_version' in variables and Version(variables['gas_version']) 
> > >= Version('2.23')) or \
> > ++  ('xcode_version' in variables and 
> > Version(variables['xcode_version']) >= Version('5.0')) or \
> > ++  ('llvm_version' in variables and Version(variables['llvm_version']) 
> > >= Version('3.3')) or \
> > ++  ('nasm_version' in variables and Version(variables['nasm_version']) 
> > >= Version('2.10'))
> > +
> > + if is_x86 and not openssl110_asm_supported:
> > +   error('''Did not find a new enough assembler, install one or build 
> > with
> > diff --git 
> > a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
> >  
> > b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.pat

Re: [oe] [PATCH 19/20] libcamera: skip until upstream resolves python 3.12 compatibility

2023-12-15 Thread Alexander Kanavin
That's right.

This page provides hints for how to replace usage of imp with
equivalents in importlib:
https://docs.python.org/3.11/library/imp.html

Alex

On Fri, 15 Dec 2023 at 11:18, Kieran Bingham
 wrote:
>
> Quoting Kieran Bingham (2023-12-15 10:16:20)
> > +libcamera-devel mailing list
> >
> > Quoting Alexander Kanavin (2023-12-15 07:52:38)
> > > I'd note that imp module has been deprecated for years, so that's what
> > > happens when deprecation warnings are ignored.
> >
> > Can you tell me more about what this issue is please? I'm not aware of
> > it at all.
> >
> > --
> > Kieran
> >
> >
> > >
> > > Signed-off-by: Alexander Kanavin 
> > > ---
> > >  meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb | 1 +
> > >  .../packagegroups/packagegroup-meta-multimedia.bb   | 1 -
> > >  meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb   | 2 +-
> > >  3 files changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git 
> > > a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb 
> > > b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb
> > > index 2a3c6473e..9c04d7434 100644
> > > --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb
> > > +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb
> > > @@ -73,3 +73,4 @@ FILES:${PN}-gst = "${libdir}/gstreamer-1.0"
> > >  # both 32 and 64 bit file APIs.
> > >  GLIBC_64BIT_TIME_FLAGS = ""
> > >
> > > +SKIP_RECIPE[libcamera] ?= "Not compatible with python 3.12, see 
> > > https://bugs.libcamera.org/show_bug.cgi?id=206;
>
>
> Aha, the clue was buried here.
>
> --
> Kieran
>
>
> > > diff --git 
> > > a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
> > >  
> > > b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
> > > index 672c8abc9..6ca4d539f 100644
> > > --- 
> > > a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
> > > +++ 
> > > b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
> > > @@ -42,7 +42,6 @@ RDEPENDS:packagegroup-meta-multimedia = "\
> > >  tearsofsteel-1080p \
> > >  pipewire \
> > >  ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", 
> > > bb.utils.contains("DISTRO_FEATURES", "x11", "projucer", "", d), "", d)} \
> > > -libcamera \
> > >  vorbis-tools \
> > >  libopenmpt \
> > >  mimic \
> > > diff --git 
> > > a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb 
> > > b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb
> > > index b4da781f0..4d894349a 100644
> > > --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb
> > > +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb
> > > @@ -86,7 +86,7 @@ PACKAGECONFIG:class-target ??= " \
> > >  ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd 
> > > systemd-system-service systemd-user-service', '', d)} \
> > >  ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \
> > >  ${PIPEWIRE_SESSION_MANAGER} \
> > > -${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb 
> > > pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling libcamera 
> > > readline \
> > > +${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb 
> > > pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling readline \
> > >  "
> > >
> > >  # "jack" and "pipewire-jack" packageconfigs cannot be both enabled,
> > > --
> > > 2.39.2
> > >
> > >

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



[oe] [PATCH 13/20] python3-astroid: remove unneeded distutils dependency

2023-12-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb 
b/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
index db3ef4392..348dc2ebb 100644
--- a/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb
@@ -21,7 +21,6 @@ FILES:${PN}-tests += " \
 "
 
 RDEPENDS:${PN}:class-target += "\
-${PYTHON_PN}-distutils \
 ${PYTHON_PN}-lazy-object-proxy \
 ${PYTHON_PN}-logging \
 ${PYTHON_PN}-six \
-- 
2.39.2


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



[oe] [PATCH 20/20] nodejs: backport (partially) python 3.12 support

2023-12-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...001-build-fix-build-with-Python-3.12.patch | 55 
 .../0001-gyp-resolve-python-3.12-issues.patch | 63 +++
 .../recipes-devtools/nodejs/nodejs_20.8.1.bb  |  4 +-
 3 files changed, 121 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
 create mode 100644 
meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch

diff --git 
a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
 
b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
new file mode 100644
index 0..39026d074
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
@@ -0,0 +1,55 @@
+From 656f6c91f1da7f1e1ffb01e2de7d9026a84958b5 Mon Sep 17 00:00:00 2001
+From: Luigi Pinca 
+Date: Wed, 8 Nov 2023 21:20:53 +0100
+Subject: [PATCH] build: fix build with Python 3.12
+
+Replace `distutils.version.StrictVersion` with
+`packaging.version.Version`.
+
+Refs: https://github.com/nodejs/node/pull/50209#issuecomment-1795852539
+PR-URL: https://github.com/nodejs/node/pull/50582
+Reviewed-By: Richard Lau 
+Reviewed-By: Chengzhong Wu 
+
+Upstream-Status: Backport 
[https://github.com/nodejs/node/commit/95534ad82f4e33f53fd50efe633d43f8da70cba6]
+Signed-off-by: Alexander Kanavin 
+---
+ configure.py | 11 +--
+ 1 file changed, 5 insertions(+), 6 deletions(-)
+
+diff --git a/configure.py b/configure.py
+index 62f041ce..18fe7c14 100755
+--- a/configure.py
 b/configure.py
+@@ -14,8 +14,6 @@ import bz2
+ import io
+ from pathlib import Path
+ 
+-from distutils.version import StrictVersion
+-
+ # If not run from node/, cd to node/.
+ os.chdir(Path(__file__).parent)
+ 
+@@ -30,6 +28,7 @@ tools_path = Path('tools')
+ 
+ sys.path.insert(0, str(tools_path / 'gyp' / 'pylib'))
+ from gyp.common import GetFlavor
++from packaging.version import Version
+ 
+ # imports in tools/configure.d
+ sys.path.insert(0, str(tools_path / 'configure.d'))
+@@ -1565,10 +1564,10 @@ def configure_openssl(o):
+ # supported asm compiler for AVX2. See https://github.com/openssl/openssl/
+ # blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69
+ openssl110_asm_supported = \
+-  ('gas_version' in variables and StrictVersion(variables['gas_version']) 
>= StrictVersion('2.23')) or \
+-  ('xcode_version' in variables and 
StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \
+-  ('llvm_version' in variables and 
StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \
+-  ('nasm_version' in variables and 
StrictVersion(variables['nasm_version']) >= StrictVersion('2.10'))
++  ('gas_version' in variables and Version(variables['gas_version']) >= 
Version('2.23')) or \
++  ('xcode_version' in variables and Version(variables['xcode_version']) 
>= Version('5.0')) or \
++  ('llvm_version' in variables and Version(variables['llvm_version']) >= 
Version('3.3')) or \
++  ('nasm_version' in variables and Version(variables['nasm_version']) >= 
Version('2.10'))
+ 
+ if is_x86 and not openssl110_asm_supported:
+   error('''Did not find a new enough assembler, install one or build with
diff --git 
a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
 
b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
new file mode 100644
index 0..9d878dfb8
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
@@ -0,0 +1,63 @@
+From bf8c96ba6936050ed4a0de5bc8aeeaf2b3c50dc1 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Thu, 7 Dec 2023 12:54:30 +0100
+Subject: [PATCH] gyp: resolve python 3.12 issues
+
+Upstream has updated gyp wholesale in the main branch, so
+this patch can be dropped in due time.
+
+Upstream-Status: Inappropriate [issue will be fixed upstream with the next 
nodejs LTS update]
+
+Signed-off-by: Alexander Kanavin 
+---
+ deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py | 4 ++--
+ tools/gyp/pylib/gyp/input.py  | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py 
b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
+index d9699a0a..173e9465 100644
+--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
 b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
+@@ -16,7 +16,7 @@ import subprocess
+ import sys
+ import threading
+ import traceback
+-from distutils.version import StrictVersion
++from packaging.version import Version
+ from gyp.common import GypError
+ from gyp.common import OrderedSet
+ 
+@@ -1183,7 +1183,7 @@ def EvalSingleCondition(cond_expr, true_dict, 
false_dict, phase, variables, buil
+ else:
+ ast_code = co

[oe] [PATCH 16/20] python3-grpcio: update 1.56.2 -> 1.59.3

2023-12-14 Thread Alexander Kanavin
This is needed for python 3.12 compatibility.

Drop 0001-direct_mmap-Use-off_t-on-linux.patch as
issue resolved upstream.

Other dropped patches are all due to the code being significantly refactored 
upstream;
if the issues persist, please write updated patches.

Signed-off-by: Alexander Kanavin 
---
 .../0001-Include-missing-cstdint-header.patch |  6 +-
 .../0001-direct_mmap-Use-off_t-on-linux.patch | 42 ---
 ...-Do-not-mix-C-and-C-compiler-options.patch | 73 ---
 ...clude-unistd.h-for-open-close-C-APIs.patch |  6 +-
 .../python3-grpcio/abseil-ppc-fixes.patch | 63 +---
 .../python3-grpcio/mips_bigendian.patch   | 17 -
 .../ppc-boringssl-support.patch   | 17 -
 ...cio_1.56.2.bb => python3-grpcio_1.59.3.bb} | 14 ++--
 8 files changed, 46 insertions(+), 192 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-grpcio/0001-direct_mmap-Use-off_t-on-linux.patch
 delete mode 100644 
meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
 delete mode 100644 
meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch
 delete mode 100644 
meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch
 rename meta-python/recipes-devtools/python/{python3-grpcio_1.56.2.bb => 
python3-grpcio_1.59.3.bb} (63%)

diff --git 
a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
 
b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
index f970cf3c3..5cd94dee9 100644
--- 
a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
+++ 
b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch
@@ -1,4 +1,4 @@
-From 752e30eebe5b91c323bafcbea8d450dd5683701a Mon Sep 17 00:00:00 2001
+From 252aa78526287fe033c5656cd166e551fa5daa88 Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Mon, 30 Jan 2023 10:31:10 -0800
 Subject: [PATCH] Include missing  header
@@ -11,6 +11,7 @@ int32_t.
 
 Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970]
 Signed-off-by: Khem Raj 
+
 ---
  third_party/re2/util/pcre.h | 1 +
  1 file changed, 1 insertion(+)
@@ -27,6 +28,3 @@ index 896b0bd..271a005 100644
  
  #ifdef USEPCRE
  #include 
--- 
-2.39.1
-
diff --git 
a/meta-python/recipes-devtools/python/python3-grpcio/0001-direct_mmap-Use-off_t-on-linux.patch
 
b/meta-python/recipes-devtools/python/python3-grpcio/0001-direct_mmap-Use-off_t-on-linux.patch
deleted file mode 100644
index 49df528d7..0
--- 
a/meta-python/recipes-devtools/python/python3-grpcio/0001-direct_mmap-Use-off_t-on-linux.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 45fdade6c0415ec5af3f9312e6311a4ccc682a7b Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Wed, 28 Dec 2022 18:24:21 -0800
-Subject: [PATCH] direct_mmap: Use off_t on linux
-
-off64_t is not provided without defining _LARGEFILE64_SOURCE on musl
-this define is not defined automatically like glibc where it gets
-defined when _GNU_SOURCE is defined. Using off_t makes it portable
-across musl/glibc and for using 64bit off_t on glibc 32bit systems
--D_FILE_OFFSET_BITS=64 can be defined during build via CXXFLAGS
-
-Upstream-Status: Submitted [https://github.com/abseil/abseil-cpp/pull/1349]
-Signed-off-by: Khem Raj 

- absl/base/internal/direct_mmap.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/absl/base/internal/direct_mmap.h 
b/absl/base/internal/direct_mmap.h
-index 815b8d23..fdf88f0b 100644
 a/absl/base/internal/direct_mmap.h
-+++ b/absl/base/internal/direct_mmap.h
-@@ -72,7 +72,7 @@ namespace base_internal {
- // Platform specific logic extracted from
- // 
https://chromium.googlesource.com/linux-syscall-support/+/master/linux_syscall_support.h
- inline void* DirectMmap(void* start, size_t length, int prot, int flags, int 
fd,
--off64_t offset) noexcept {
-+off_t offset) noexcept {
- #if defined(__i386__) || defined(__ARM_ARCH_3__) || defined(__ARM_EABI__) || \
- defined(__m68k__) || defined(__sh__) ||  \
- (defined(__hppa__) && !defined(__LP64__)) || \
-@@ -102,7 +102,7 @@ inline void* DirectMmap(void* start, size_t length, int 
prot, int flags, int fd,
- #else
-   return reinterpret_cast(
-   syscall(SYS_mmap2, start, length, prot, flags, fd,
--  static_cast(offset / pagesize)));
-+  offset / pagesize));
- #endif
- #elif defined(__s390x__)
-   // On s390x, mmap() arguments are passed in memory.
--- 
-2.39.0
-
diff --git 
a/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
 
b/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
deleted file mode 100644
index 13911d

[oe] [PATCH 18/20] libplist: fix python 3.12 compatibility

2023-12-14 Thread Alexander Kanavin
Ticket:
https://github.com/libimobiledevice/libplist/issues/247

Signed-off-by: Alexander Kanavin 
---
 meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb | 4 
 meta-oe/recipes-extended/libimobiledevice/libplist_git.bb   | 4 
 2 files changed, 8 insertions(+)

diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb 
b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
index f636990f8..3eefda733 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
@@ -22,6 +22,10 @@ CVE_STATUS_LIBLIST = " \
 CVE-2017-5836 \
 "
 
+do_configure:prepend() {
+rm ${S}/m4/ax_python_devel.m4
+}
+
 do_install:append () {
 if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then
 chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb 
b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
index f8e7f98df..0142bcbaf 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
@@ -23,6 +23,10 @@ CVE_STATUS_LIBLIST = " \
 CVE-2017-5836 \
 "
 
+do_configure:prepend() {
+rm ${S}/m4/ax_python_devel.m4
+}
+
 do_install:append () {
 if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then
 chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so
-- 
2.39.2


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



[oe] [PATCH 19/20] libcamera: skip until upstream resolves python 3.12 compatibility

2023-12-14 Thread Alexander Kanavin
I'd note that imp module has been deprecated for years, so that's what
happens when deprecation warnings are ignored.

Signed-off-by: Alexander Kanavin 
---
 meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb | 1 +
 .../packagegroups/packagegroup-meta-multimedia.bb   | 1 -
 meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb   | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb 
b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb
index 2a3c6473e..9c04d7434 100644
--- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb
+++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb
@@ -73,3 +73,4 @@ FILES:${PN}-gst = "${libdir}/gstreamer-1.0"
 # both 32 and 64 bit file APIs.
 GLIBC_64BIT_TIME_FLAGS = ""
 
+SKIP_RECIPE[libcamera] ?= "Not compatible with python 3.12, see 
https://bugs.libcamera.org/show_bug.cgi?id=206;
diff --git 
a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
 
b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
index 672c8abc9..6ca4d539f 100644
--- 
a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
+++ 
b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb
@@ -42,7 +42,6 @@ RDEPENDS:packagegroup-meta-multimedia = "\
 tearsofsteel-1080p \
 pipewire \
 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", 
bb.utils.contains("DISTRO_FEATURES", "x11", "projucer", "", d), "", d)} \
-libcamera \
 vorbis-tools \
 libopenmpt \
 mimic \
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb 
b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb
index b4da781f0..4d894349a 100644
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb
@@ -86,7 +86,7 @@ PACKAGECONFIG:class-target ??= " \
 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd 
systemd-system-service systemd-user-service', '', d)} \
 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \
 ${PIPEWIRE_SESSION_MANAGER} \
-${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat 
raop sndfile v4l2 udev volume webrtc-echo-cancelling libcamera readline \
+${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat 
raop sndfile v4l2 udev volume webrtc-echo-cancelling readline \
 "
 
 # "jack" and "pipewire-jack" packageconfigs cannot be both enabled,
-- 
2.39.2


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



[oe] [PATCH 15/20] python3-pillow: remove unneeded distutils dependency

2023-12-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb 
b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
index 322c90eda..f895b1db3 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
@@ -39,7 +39,6 @@ RDEPENDS:${PN}-ptest += " \
 jpeg-tools \
 libwebp \
 ${PYTHON_PN}-core \
-${PYTHON_PN}-distutils \
 ${PYTHON_PN}-image \
 ${PYTHON_PN}-mmap \
 ${PYTHON_PN}-pytest \
-- 
2.39.2


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



[oe] [PATCH 17/20] gstd: correctly delete files in do_install

2023-12-14 Thread Alexander Kanavin
gstd always installs these in /usr, so root_prefix would
work only if usrmerge is in DISTRO_FEATURES.

Signed-off-by: Alexander Kanavin 
---
 .../recipes-multimedia/gstreamer-1.0/gstd_git.bb| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb 
b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
index cabbf2cc1..87792491a 100644
--- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
+++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb
@@ -20,9 +20,9 @@ GTKDOC_MESON_OPTION = "enable-gtk-doc"
 inherit meson pkgconfig gettext gtk-doc python3native python3-dir 
python3targetconfig
 
 do_install:append() {
-rmdir ${D}${root_prefix}${localstatedir}/run/${BPN} 
${D}${root_prefix}${localstatedir}/run \
-  ${D}${root_prefix}${localstatedir}/log/${BPN} 
${D}${root_prefix}${localstatedir}/log \
-  ${D}${root_prefix}${localstatedir}
+rmdir ${D}${exec_prefix}${localstatedir}/run/${BPN} 
${D}${exec_prefix}${localstatedir}/run \
+  ${D}${exec_prefix}${localstatedir}/log/${BPN} 
${D}${exec_prefix}${localstatedir}/log \
+  ${D}${exec_prefix}${localstatedir}
 rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client
 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
d)}; then
 install -d ${D}${sysconfdir}/tmpfiles.d
-- 
2.39.2


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



[oe] [PATCH 14/20] python3-django: remove unneeded distutils dependency

2023-12-14 Thread Alexander Kanavin
Nothing in the source tree requires it at runtime.

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python-django.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-django.inc 
b/meta-python/recipes-devtools/python/python-django.inc
index e030ff408..11d5e6301 100644
--- a/meta-python/recipes-devtools/python/python-django.inc
+++ b/meta-python/recipes-devtools/python/python-django.inc
@@ -28,7 +28,6 @@ RDEPENDS:${PN} += "\
 ${PYTHON_PN}-threading \
 ${PYTHON_PN}-unixadmin \
 ${PYTHON_PN}-xml \
-${PYTHON_PN}-distutils \
 "
 
 CVE_PRODUCT = "django"
-- 
2.39.2


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



[oe] [PATCH 10/20] python3-pyroute2: remove unused distutils dependency

2023-12-14 Thread Alexander Kanavin
It's not mentioned in source tree.

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb 
b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb
index baf3cf8ed..9365a330e 100644
--- a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb
@@ -10,7 +10,6 @@ inherit setuptools3 pypi ptest
 
 RDEPENDS:${PN} += " \
 python3-ctypes \
-python3-distutils \
 python3-io \
 python3-json \
 python3-fcntl \
-- 
2.39.2


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



[oe] [PATCH 11/20] python3-eventlet: backport a patch to remove distutils dependency

2023-12-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...o-host-0-is-not-supported-on-OpenInd.patch | 78 +++
 .../python/python3-eventlet_0.33.3.bb |  2 +-
 2 files changed, 79 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch
 
b/meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch
new file mode 100644
index 0..61a37d94e
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch
@@ -0,0 +1,78 @@
+From ac2f960a50710bb257e87bed4e3c95a746f2a0fe Mon Sep 17 00:00:00 2001
+From: Sergey Shepelev 
+Date: Mon, 27 Mar 2023 22:07:15 +0300
+Subject: [PATCH] tests: getaddrinfo(host, 0) is not supported on OpenIndiana
+ platform
+
+https://github.com/eventlet/eventlet/issues/791
+
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin 
+---
+ tests/greendns_test.py | 14 +++---
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/tests/greendns_test.py b/tests/greendns_test.py
+index feab2b6..3802f44 100644
+--- a/tests/greendns_test.py
 b/tests/greendns_test.py
+@@ -613,14 +613,14 @@ class TestGetaddrinfo(tests.LimitedTestCase):
+ def test_getaddrinfo_only_a_ans(self):
+ greendns.resolve = _make_mock_resolve()
+ greendns.resolve.add('example.com', '1.2.3.4')
+-res = greendns.getaddrinfo('example.com', 0)
++res = greendns.getaddrinfo('example.com', None)
+ addr = [('1.2.3.4', 0)] * len(res)
+ assert addr == [ai[-1] for ai in res]
+ 
+ def test_getaddrinfo_only__ans(self):
+ greendns.resolve = _make_mock_resolve()
+ greendns.resolve.add('example.com', 'dead:beef::1')
+-res = greendns.getaddrinfo('example.com', 0)
++res = greendns.getaddrinfo('example.com', None)
+ addr = [('dead:beef::1', 0, 0, 0)] * len(res)
+ assert addr == [ai[-1] for ai in res]
+ 
+@@ -637,7 +637,7 @@ class TestGetaddrinfo(tests.LimitedTestCase):
+ res.raises = greendns.dns.exception.Timeout
+ greendns.resolver._resolver = res()
+ 
+-result = greendns.getaddrinfo('example.com', 0, 0)
++result = greendns.getaddrinfo('example.com', None, 0)
+ addr = [('1.2.3.4', 0)] * len(result)
+ assert addr == [ai[-1] for ai in result]
+ 
+@@ -654,7 +654,7 @@ class TestGetaddrinfo(tests.LimitedTestCase):
+ res.raises = greendns.dns.exception.DNSException
+ greendns.resolver._resolver = res()
+ 
+-result = greendns.getaddrinfo('example.com', 0, 0)
++result = greendns.getaddrinfo('example.com', None, 0)
+ addr = [('1.2.3.4', 0)] * len(result)
+ assert addr == [ai[-1] for ai in result]
+ 
+@@ -667,7 +667,7 @@ class TestGetaddrinfo(tests.LimitedTestCase):
+ greendns.resolver._resolver = res()
+ 
+ with tests.assert_raises(socket.gaierror):
+-greendns.getaddrinfo('example.com', 0, 0)
++greendns.getaddrinfo('example.com', None, 0)
+ 
+ def test_getaddrinfo_hosts_only_dns_error(self):
+ hostsres = _make_mock_base_resolver()
+@@ -678,13 +678,13 @@ class TestGetaddrinfo(tests.LimitedTestCase):
+ greendns.resolver._resolver = res()
+ 
+ with tests.assert_raises(socket.gaierror):
+-greendns.getaddrinfo('example.com', 0, 0)
++greendns.getaddrinfo('example.com', None, 0)
+ 
+ def test_canonname(self):
+ greendns.resolve = _make_mock_resolve()
+ greendns.resolve.add('host.example.com', '1.2.3.4')
+ greendns.resolve_cname = self._make_mock_resolve_cname()
+-res = greendns.getaddrinfo('host.example.com', 0,
++res = greendns.getaddrinfo('host.example.com', None,
+0, 0, 0, socket.AI_CANONNAME)
+ assert res[0][3] == 'cname.example.com'
+ 
diff --git a/meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb 
b/meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb
index c1256661b..fe4d4f020 100644
--- a/meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb
+++ b/meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb
@@ -4,6 +4,7 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778"
 
+SRC_URI += 
"file://0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch"
 SRC_URI[sha256sum] = 
"722803e7eadff295347539da363d68ae155b8b26ae6a634474d0a920be73cfda"
 
 inherit pypi setuptools3
@@ -11,6 +12,5 @@ inherit pypi setuptools3
 RDEPENDS:${PN} += " \
${PYTHON_PN}-dnspython \
${PYTHON_PN}-six \
-  

[oe] [PATCH 12/20] python3-unoconv: rely on setuptools to obtain distutils copy

2023-12-14 Thread Alexander Kanavin
The source contains:
from distutils.version import LooseVersion

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb 
b/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb
index 3c944b4f2..be1dab476 100644
--- a/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb
@@ -11,7 +11,7 @@ inherit pypi setuptools3
 PYPI_PACKAGE="unoconv"
 
 RDEPENDS:${PN} += "\
-${PYTHON_PN}-distutils \
+${PYTHON_PN}-setuptools \
 ${PYTHON_PN}-core \
 ${PYTHON_PN}-shell \
 "
-- 
2.39.2


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



[oe] [PATCH 09/20] python3-cppy: remove unused distutils dependency

2023-12-14 Thread Alexander Kanavin
It's not mentioned anywhere in source tree.

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb 
b/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb
index 270f74963..7817401fa 100644
--- a/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371"
 
 SRC_URI[sha256sum] = 
"83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b"
 
-RDEPENDS:${PN} += "python3-setuptools python3-distutils"
+RDEPENDS:${PN} += "python3-setuptools"
 
 inherit pypi python_setuptools_build_meta
 
-- 
2.39.2


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



[oe] [PATCH 07/20] python3-joblib: do not rely in distutils

2023-12-14 Thread Alexander Kanavin
Upstream has removed the dependency as of 1.3.0:
https://github.com/joblib/joblib/blob/master/CHANGES.rst

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb 
b/meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb
index fe1e68c5a..d68b40e38 100644
--- a/meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb
@@ -8,7 +8,6 @@ SRC_URI[sha256sum] = 
"92f865e621e17784e7955080b6d042489e3b8e294949cc44c6eac304f5
 
 RDEPENDS:${PN} += " \
 python3-asyncio \
-python3-distutils \
 python3-json \
 python3-multiprocessing \
 python3-pprint \
-- 
2.39.2


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



[oe] [PATCH 08/20] python3-web3: remove distutils dependency

2023-12-14 Thread Alexander Kanavin
It's not mentioned in the source tree anymore.

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-web3_6.11.3.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-web3_6.11.3.bb 
b/meta-python/recipes-devtools/python/python3-web3_6.11.3.bb
index 2c7aca9ba..31974a352 100644
--- a/meta-python/recipes-devtools/python/python3-web3_6.11.3.bb
+++ b/meta-python/recipes-devtools/python/python3-web3_6.11.3.bb
@@ -10,7 +10,6 @@ inherit pypi setuptools3
 
 RDEPENDS:${PN} += " \
 python3-aiohttp \
-python3-distutils \
 python3-eth-account \
 python3-idna \
 python3-jsonschema \
-- 
2.39.2


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



[oe] [PATCH 05/20] python3-uinput: remove as unmaintained

2023-12-14 Thread Alexander Kanavin
Both homepage and downloads are gone, last release in 2016,
still relies on distutils which is no longer available in python core as of 
3.12.
https://pypi.org/project/python-uinput/

Signed-off-by: Alexander Kanavin 
---
 .../packagegroups/packagegroup-meta-python.bb |  1 -
 ...time_t-default-on-32bit-architecture.patch | 43 ---
 ...-use-setuptools-instead-of-distutils.patch | 30 -
 .../python/python3-uinput_0.11.2.bb   | 20 -
 4 files changed, 94 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch
 delete mode 100644 
meta-python/recipes-devtools/python/python3-uinput/0001-setup-use-setuptools-instead-of-distutils.patch
 delete mode 100644 meta-python/recipes-devtools/python/python3-uinput_0.11.2.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index af1b7ba92..a8b4532c3 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -438,7 +438,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-typeguard \
 python3-tzlocal \
 python3-u-msgpack-python \
-python3-uinput \
 python3-ujson \
 python3-unidiff \
 python3-uritemplate \
diff --git 
a/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch
 
b/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch
deleted file mode 100644
index 4095fc909..0
--- 
a/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 69adf9e32f5b11e15c0cbe17f9331c77fed65bf8 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Sat, 28 May 2022 15:50:50 -0700
-Subject: [PATCH] Deal with 64bit time_t default on 32bit architectures
-
-Deal with Y2K38 concerns related to Linux input events on more recent
-kernels and libcs on 32-bit systems
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj 

- libsuinput/src/suinput.c | 11 ++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/libsuinput/src/suinput.c b/libsuinput/src/suinput.c
-index 8d5fb71..13ff16a 100644
 a/libsuinput/src/suinput.c
-+++ b/libsuinput/src/suinput.c
-@@ -45,11 +45,20 @@ int suinput_emit(int uinput_fd, uint16_t ev_type, uint16_t 
ev_code,
- struct input_event event;
- 
- memset(, 0, sizeof(event));
--gettimeofday(, 0);
- event.type = ev_type;
- event.code = ev_code;
- event.value = ev_value;
- 
-+/* attempt to deal with 64-bit time keeping on recent 32-bit systems */
-+#if (__BITS_PER_LONG != 32 || !defined(__USE_TIME_BITS64))
-+  gettimeofday(, 0);
-+#else
-+struct timeval now;
-+memset(, 0, sizeof(now));
-+gettimeofday(, 0);
-+event.input_event_sec  = now.tv_sec;
-+event.input_event_usec = now.tv_usec;
-+#endif
- return suinput_write_event(uinput_fd, );
- }
- 
--- 
-2.36.1
-
diff --git 
a/meta-python/recipes-devtools/python/python3-uinput/0001-setup-use-setuptools-instead-of-distutils.patch
 
b/meta-python/recipes-devtools/python/python3-uinput/0001-setup-use-setuptools-instead-of-distutils.patch
deleted file mode 100644
index b2e1b9cd8..0
--- 
a/meta-python/recipes-devtools/python/python3-uinput/0001-setup-use-setuptools-instead-of-distutils.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 7a4dde83a9584adb42c7f810d882b1fbf5767e2c Mon Sep 17 00:00:00 2001
-From: Bartosz Golaszewski 
-Date: Tue, 24 May 2022 21:43:35 +0200
-Subject: [PATCH] setup: use setuptools instead of distutils
-
-The latter is deprecated, use setuptools instead.
-
-Signed-off-by: Bartosz Golaszewski 

-Upstream-Status: Pending
-
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 3fa3343..4900b8b 100644
 a/setup.py
-+++ b/setup.py
-@@ -3,7 +3,7 @@
- import errno
- import subprocess
- 
--from distutils.core import setup, Extension
-+from setuptools import setup, Extension
- 
- libudev_so = "libudev.so.1"
- 
--- 
-2.34.1
-
diff --git a/meta-python/recipes-devtools/python/python3-uinput_0.11.2.bb 
b/meta-python/recipes-devtools/python/python3-uinput_0.11.2.bb
deleted file mode 100644
index ef466539b..0
--- a/meta-python/recipes-devtools/python/python3-uinput_0.11.2.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-SUMMARY = "Python interface to Linux uinput kernel module."
-HOMEPAGE = "https://pypi.org/project/python-uinput/;
-LICENSE = "GPL-3.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
-
-SRC_URI += "file://0001-setup-use-setuptools-instead-of-distutils.patch \
- 

[oe] [PATCH 06/20] python3-mcrypto: rely on setuptools for distutils copy

2023-12-14 Thread Alexander Kanavin
It's still used in source tree:

src/M2Crypto/__init__.py:from distutils.version import StrictVersion as 
Version

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb 
b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
index c946edb2b..062a63a39 100644
--- a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
+++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
@@ -19,7 +19,7 @@ inherit pypi siteinfo setuptools3
 DEPENDS += "openssl swig-native"
 RDEPENDS:${PN} += "\
   ${PYTHON_PN}-datetime \
-  ${PYTHON_PN}-distutils \
+  ${PYTHON_PN}-setuptools \
   ${PYTHON_PN}-logging \
   ${PYTHON_PN}-netclient \
   ${PYTHON_PN}-netserver \
-- 
2.39.2


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



[oe] [PATCH 04/20] python3-m2crypto: do not rely on smtpd module

2023-12-14 Thread Alexander Kanavin
It's not mentioned anywhere in source code, and python 3.12
has removed it.

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb 
b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
index a55ded34d..c946edb2b 100644
--- a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
+++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
@@ -24,7 +24,6 @@ RDEPENDS:${PN} += "\
   ${PYTHON_PN}-netclient \
   ${PYTHON_PN}-netserver \
   ${PYTHON_PN}-numbers \
-  ${PYTHON_PN}-smtpd \
   ${PYTHON_PN}-xmlrpc \
 "
 
-- 
2.39.2


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



[oe] [PATCH 03/20] python3-meld3: do not rely on smtpd module

2023-12-14 Thread Alexander Kanavin
It's not mentioned anywhere in source code, and python 3.12
has removed it.

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb 
b/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb
index 1be3fa5ad..7ebf9f141 100644
--- a/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb
@@ -15,6 +15,5 @@ inherit pypi setuptools3
 
 RDEPENDS:${PN} += " \
 python3-cgitb \
-python3-smtpd \
 python3-xml \
 "
-- 
2.39.2


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



[oe] [PATCH 02/20] python3-supervisor: do not rely on smtpd module

2023-12-14 Thread Alexander Kanavin
It's not mentioned anywhere in source code, and python 3.12
has removed it.

Signed-off-by: Alexander Kanavin 
---
 meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb 
b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb
index 53f8011b0..06b08e78a 100644
--- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb
+++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb
@@ -17,7 +17,6 @@ RDEPENDS:${PN} = "\
 python3-xmlrpc \
 python3-resource \
 python3-setuptools \
-python3-smtpd \
 "
 
 SRC_URI += "file://supervisord.conf \
-- 
2.39.2


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



[oe] [PATCH 01/20] python3-pyinotify: remove as unmaintained

2023-12-14 Thread Alexander Kanavin
There hasn't been a release in years, and python 3.12 is no longer
compatible as it has removed the smtpd module.
https://github.com/seb-m/pyinotify

Signed-off-by: Alexander Kanavin 
---
 .../packagegroups/packagegroup-meta-python.bb |  1 -
 .../python/python3-pyinotify_0.9.6.bb | 19 ---
 2 files changed, 20 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 3b9a0f048..af1b7ba92 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -321,7 +321,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-pyflakes \
 python3-pyhamcrest \
 python3-pyiface \
-python3-pyinotify \
 python3-pyjks \
 python3-pyjwt \
 python3-pykickstart \
diff --git a/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb 
b/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb
deleted file mode 100644
index 8dd5e1580..0
--- a/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382"
-
-RDEPENDS:${PN} += "\
-${PYTHON_PN}-ctypes \
-${PYTHON_PN}-fcntl \
-${PYTHON_PN}-io \
-${PYTHON_PN}-logging \
-${PYTHON_PN}-misc \
-${PYTHON_PN}-shell \
-${PYTHON_PN}-smtpd \
-${PYTHON_PN}-threading \
-"
-
-SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406"
-SRC_URI[sha256sum] = 
"9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4"
-
-inherit pypi setuptools3
-- 
2.39.2


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



[oe] python 3.12 - help needed in fixing meta-oe failures

2023-12-07 Thread Alexander Kanavin
Hello all,

I've been working on updating python to 3.12.0 in oe-core, and here's
the current situation:

1. oe-core patchset is ready and tested against a-full on the AB. Get it here:

https://git.yoctoproject.org/poky-contrib/log/?h=akanavin/py3.12

2. meta-oe patchset is half-done. I've fixed quite a few items, and
the collected patches are here:

https://github.com/kanavin/meta-openembedded/commits/akanavin/py3.12

There are still some 27 recipes failing, here's the list:

  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.8.0.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb:do_configure
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb:do_install
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-constantly_15.1.0.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-oslash_0.6.3.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.1.5.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-security/nmap/nmap_7.80.bb:do_compile
  
virtual:native:/srv/work/alex/meta-openembedded/meta-networking/recipes-support/wireshark/wireshark_4.0.10.bb:do_configure
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs-102_102.15.1.bb:do_configure
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-extended/sigrok/sigrok-cli_0.7.2.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja_1.11.1.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb:do_configure
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-security/audit/audit_3.1.2.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_3.27.7.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-devtools/mercurial/mercurial_6.5.bb:do_install
  
/srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.56.0.bb:do_compile
  
/srv/work/alex/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb:do_package
  
/srv/work/alex/meta-openembedded/meta-oe/recipes-extended/upm/upm_git.bb:do_package

So if you could take these two branches of mine, and fix some of the
remaining issues, I'd appreciate. The branches contain some typical
examples of what becomes broken, and several possibilities of how to
fix that.

Thanks,
Alex

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



[oe] [PATCH] fio: revert "fio: upgrade 3.32 -> 2022"

2023-11-29 Thread Alexander Kanavin
This was a bogus update (from AUH I believe) and should be reverted.

Signed-off-by: Alexander Kanavin 
---
 .../fio/fio/0001-Fio-3.31.patch   |  23 -
 ...-__fill_random_buf-using-the-multi-r.patch | 136 ---
 ...d-get-rid-of-unused-MAX_SEED_BUCKETS.patch |  31 -
 ...filecreate-filestat-filedelete-engin.patch | 800 --
 ...http-Add-storage-class-option-for-s3.patch |  87 --
 ...es-http-Add-s3-crypto-options-for-s3.patch | 246 --
 ...d-example-about-s3-storage-class-and.patch | 155 
 ...-link-to-GitHub-releases-for-Windows.patch |  33 -
 ...x-segfault-issue-with-xnvme-ioengine.patch |  54 --
 ...-doc-update-fio-doc-for-xnvme-engine.patch | 168 
 ...latency-test-using-posixaio-ioengine.patch |  55 --
 .../fio/0012-test-fix-hash-for-t0016.patch|  33 -
 ...3-doc-get-rid-of-trailing-whitespace.patch |  82 --
 ...-I-O-errors-may-go-unnoticed-without.patch |  54 --
 .../fio/0015-Revert-Minor-style-fixups.patch  |  41 -
 ...thread-issues-when-operating-on-a-si.patch | 141 ---
 .../0017-Add-wait-for-handling-SIGBREAK.patch |  59 --
 ...-pass-back-correct-error-value-when-.patch |  58 --
 ...able-CPU-affinity-support-on-Android.patch |  64 --
 ...ring-Replace-pthread_self-with-s-tid.patch |  41 -
 ...1-engines-io_uring-delete-debug-code.patch |  37 -
 ...for-including-engines-nvme.h-in-t-io.patch |  72 --
 ...uring-add-support-for-async-passthru.patch | 379 -
 ...ring-fix-64-bit-cast-on-32-bit-archs.patch |  37 -
 ...add-basic-test-for-io_uring-ioengine.patch |  91 --
 ...emove-duplicate-definition-of-gettid.patch |  59 --
 ...-some-tests-for-seq-and-rand-offsets.patch | 157 
 ...st-use-Ubuntu-22.04-for-64-bit-tests.patch |  72 --
 ...et-32-bit-Ubuntu-22.04-build-working.patch |  79 --
 ...t-add-tests-for-lfsr-and-norandommap.patch | 143 
 ...1-backend-revert-bad-memory-leak-fix.patch |  39 -
 .../fio/fio/0032-Fio-3.32.patch   |  23 -
 meta-oe/recipes-benchmark/fio/fio_2022.bb |  77 --
 meta-oe/recipes-benchmark/fio/fio_3.32.bb |  44 +
 34 files changed, 44 insertions(+), 3626 deletions(-)
 delete mode 100644 meta-oe/recipes-benchmark/fio/fio/0001-Fio-3.31.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0002-lib-rand-Enhance-__fill_random_buf-using-the-multi-r.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0003-lib-rand-get-rid-of-unused-MAX_SEED_BUCKETS.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0004-ioengines-merge-filecreate-filestat-filedelete-engin.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0005-engines-http-Add-storage-class-option-for-s3.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0006-engines-http-Add-s3-crypto-options-for-s3.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0007-doc-Add-usage-and-example-about-s3-storage-class-and.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0008-README-link-to-GitHub-releases-for-Windows.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0009-engines-xnvme-fix-segfault-issue-with-xnvme-ioengine.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0010-doc-update-fio-doc-for-xnvme-engine.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0011-test-add-latency-test-using-posixaio-ioengine.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0012-test-fix-hash-for-t0016.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0013-doc-get-rid-of-trailing-whitespace.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0014-doc-clarify-that-I-O-errors-may-go-unnoticed-without.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0015-Revert-Minor-style-fixups.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0016-Revert-Fix-multithread-issues-when-operating-on-a-si.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0017-Add-wait-for-handling-SIGBREAK.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0018-engines-io_uring-pass-back-correct-error-value-when-.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0019-Enable-CPU-affinity-support-on-Android.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0020-io_uring-Replace-pthread_self-with-s-tid.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0021-engines-io_uring-delete-debug-code.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0022-t-io_uring-prep-for-including-engines-nvme.h-in-t-io.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0023-t-io_uring-add-support-for-async-passthru.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0024-t-io_uring-fix-64-bit-cast-on-32-bit-archs.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0025-test-add-basic-test-for-io_uring-ioengine.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0026-t-io_uring-remove-duplicate-definition-of-gettid.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0027-test-add-some-tests-for-seq

[oe] [PATCH] fio: revert "fio: upgrade 3.32 -> 2022"

2023-11-29 Thread Alexander Kanavin
This was a bogus update (from AUH I believe) and should be reverted.
---
 .../fio/fio/0001-Fio-3.31.patch   |  23 -
 ...-__fill_random_buf-using-the-multi-r.patch | 136 ---
 ...d-get-rid-of-unused-MAX_SEED_BUCKETS.patch |  31 -
 ...filecreate-filestat-filedelete-engin.patch | 800 --
 ...http-Add-storage-class-option-for-s3.patch |  87 --
 ...es-http-Add-s3-crypto-options-for-s3.patch | 246 --
 ...d-example-about-s3-storage-class-and.patch | 155 
 ...-link-to-GitHub-releases-for-Windows.patch |  33 -
 ...x-segfault-issue-with-xnvme-ioengine.patch |  54 --
 ...-doc-update-fio-doc-for-xnvme-engine.patch | 168 
 ...latency-test-using-posixaio-ioengine.patch |  55 --
 .../fio/0012-test-fix-hash-for-t0016.patch|  33 -
 ...3-doc-get-rid-of-trailing-whitespace.patch |  82 --
 ...-I-O-errors-may-go-unnoticed-without.patch |  54 --
 .../fio/0015-Revert-Minor-style-fixups.patch  |  41 -
 ...thread-issues-when-operating-on-a-si.patch | 141 ---
 .../0017-Add-wait-for-handling-SIGBREAK.patch |  59 --
 ...-pass-back-correct-error-value-when-.patch |  58 --
 ...able-CPU-affinity-support-on-Android.patch |  64 --
 ...ring-Replace-pthread_self-with-s-tid.patch |  41 -
 ...1-engines-io_uring-delete-debug-code.patch |  37 -
 ...for-including-engines-nvme.h-in-t-io.patch |  72 --
 ...uring-add-support-for-async-passthru.patch | 379 -
 ...ring-fix-64-bit-cast-on-32-bit-archs.patch |  37 -
 ...add-basic-test-for-io_uring-ioengine.patch |  91 --
 ...emove-duplicate-definition-of-gettid.patch |  59 --
 ...-some-tests-for-seq-and-rand-offsets.patch | 157 
 ...st-use-Ubuntu-22.04-for-64-bit-tests.patch |  72 --
 ...et-32-bit-Ubuntu-22.04-build-working.patch |  79 --
 ...t-add-tests-for-lfsr-and-norandommap.patch | 143 
 ...1-backend-revert-bad-memory-leak-fix.patch |  39 -
 .../fio/fio/0032-Fio-3.32.patch   |  23 -
 meta-oe/recipes-benchmark/fio/fio_2022.bb |  77 --
 meta-oe/recipes-benchmark/fio/fio_3.32.bb |  44 +
 34 files changed, 44 insertions(+), 3626 deletions(-)
 delete mode 100644 meta-oe/recipes-benchmark/fio/fio/0001-Fio-3.31.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0002-lib-rand-Enhance-__fill_random_buf-using-the-multi-r.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0003-lib-rand-get-rid-of-unused-MAX_SEED_BUCKETS.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0004-ioengines-merge-filecreate-filestat-filedelete-engin.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0005-engines-http-Add-storage-class-option-for-s3.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0006-engines-http-Add-s3-crypto-options-for-s3.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0007-doc-Add-usage-and-example-about-s3-storage-class-and.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0008-README-link-to-GitHub-releases-for-Windows.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0009-engines-xnvme-fix-segfault-issue-with-xnvme-ioengine.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0010-doc-update-fio-doc-for-xnvme-engine.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0011-test-add-latency-test-using-posixaio-ioengine.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0012-test-fix-hash-for-t0016.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0013-doc-get-rid-of-trailing-whitespace.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0014-doc-clarify-that-I-O-errors-may-go-unnoticed-without.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0015-Revert-Minor-style-fixups.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0016-Revert-Fix-multithread-issues-when-operating-on-a-si.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0017-Add-wait-for-handling-SIGBREAK.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0018-engines-io_uring-pass-back-correct-error-value-when-.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0019-Enable-CPU-affinity-support-on-Android.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0020-io_uring-Replace-pthread_self-with-s-tid.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0021-engines-io_uring-delete-debug-code.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0022-t-io_uring-prep-for-including-engines-nvme.h-in-t-io.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0023-t-io_uring-add-support-for-async-passthru.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0024-t-io_uring-fix-64-bit-cast-on-32-bit-archs.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0025-test-add-basic-test-for-io_uring-ioengine.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0026-t-io_uring-remove-duplicate-definition-of-gettid.patch
 delete mode 100644 
meta-oe/recipes-benchmark/fio/fio/0027-test-add-some-tests-for-seq-and-rand-offsets.patch
 delete mode 

Re: [oe] [meta-oe][PATCH 2/2] webkitgtk4: Add recipe

2023-11-21 Thread Alexander Kanavin
oe-core already carries the gtk4 version of webkitgtk. webkitgtk3 in
meta-oe is a temporary recipe until all consumers migrate to gtk4.

Alex

On Tue, 21 Nov 2023 at 14:02, Zoltan Boszormenyi  wrote:
>
> Signed-off-by: Zoltán Böszörményi 
> ---
>  .../recipes-support/webkitgtk/webkitgtk4_2.42.2.bb| 11 +++
>  1 file changed, 11 insertions(+)
>  create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb
>
> diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb 
> b/meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb
> new file mode 100644
> index 0..6efe8577e
> --- /dev/null
> +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb
> @@ -0,0 +1,11 @@
> +require webkitgtk.inc
> +
> +DEPENDS += "gtk4"
> +
> +EXTRA_OECMAKE += "-DUSE_GTK4=ON"
> +
> +do_install:append() {
> +   if [ -f ${D}${bindir}/WebKitWebDriver ]; then
> +   mv ${D}${bindir}/WebKitWebDriver 
> ${D}${bindir}/WebKitWebDriver4
> +   fi
> +}
> --
> 2.42.0
>
>
> 
>

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



Re: [oe] [AUH] modemmanager: upgrading to 1.23.1 SUCCEEDED

2023-11-07 Thread Alexander Kanavin
Yes, please do exercise caution and don't push AUH updates blindly,
especially when the new version looks iffy, or goes from even to odd
in the middle component. A lot of recipes in meta-oe seem to have
broken version checks - there's a whole arsenal of tweaks in form of
UPSTREAM_CHECK_* settings that I regularly use in oe-core to get a
perfect report from 'devtool check-upgrade-status'.

Alex

On Tue, 7 Nov 2023 at 05:08, Khem Raj  wrote:
>
>
>
> On Mon, Nov 6, 2023 at 7:58 PM Theodore A. Roth  wrote:
>>
>> On Fri, Nov 3, 2023 at 1:53 PM Auto Upgrade Helper  
>> wrote:
>> >
>> > Hello,
>> >
>> > this email is a notification from the Auto Upgrade Helper
>> > that the automatic attempt to upgrade the recipe *modemmanager* to 
>> > *1.23.1* has Succeeded.
>> >
>> > Next steps:
>> > - apply the patch: git am 0001-modemmanager-upgrade-1.22.0-1.23.1.patch
>> > - check the changes to upstream patches and summarize them in the 
>> > commit message,
>> > - compile an image that contains the package
>> > - perform some basic sanity tests
>> > - amend the patch and sign it off: git commit -s --reset-author --amend
>> > - send it to the appropriate mailing list
>> >
>> > Alternatively, if you believe the recipe should not be upgraded at this 
>> > time,
>> > you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
>> > automatic upgrades would no longer be attempted.
>> >
>> > Please review the attached files for further information and build/update 
>> > failures.
>> > Any problem please file a bug at 
>> > https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler
>> >
>> > Regards,
>> > The Upgrade Helper
>> >
>> > -- >8 --
>> > From ad32b52fe87e6edc3885802cbb85b8524e4c156a Mon Sep 17 00:00:00 2001
>> > From: Upgrade Helper 
>> > Date: Fri, 3 Nov 2023 16:08:56 +
>> > Subject: [PATCH] modemmanager: upgrade 1.22.0 -> 1.23.1
>>
>> Why is modemmanager getting updated to 1.23.1? That is not an official
>> release, but is a
>> development release as far as I can tell. The tag in git is '1.23.1-dev'.
>>
>> The latest release is 1.22.0 (announced on Oct 11 on the ModemManager
>> mailing list).
>
>
> Hmm I think we need to fix the trigger then to only consider even releases
>>
>>
>>
>> Ted Roth
>>
>>
>>
>
> 
>

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



Re: [oe] [Openembedded-architecture] [RFC] Support for alternative init systems

2023-11-07 Thread Alexander Kanavin
On Tue, 7 Nov 2023 at 10:30, ANQUETIN Mathieu
 wrote:
> I would like to discuss an architecture solution to ease support for 
> alternative init systems.
>
> As of now, OpenEmbedded supports sysvinit and systemd as first-class citizens 
> but does so by including required files in the main package based on the 
> value of the VIRTUAL-RUNTIME_init-manager variable. This forces layers, like 
> meta-openrc for example, to remove files generated by other layers before 
> providing their own. This increases the maintenance burden for layer 
> maintainers of these alternative init systems while making them always feel 
> like second-class citizens.
>
> My solution would be to generate specific packages for each init system 
> (${PN}-sysvinit, ${PN}-systemd, ...) and RDEPENDS on them given the value of 
> the VIRTUAL-RUNTIME_init-manager variable. This would simplify recipes 
> because filtering files would no longer be required since all packages would 
> be generated and other layers would simply provide their ${PN}-altinit 
> package through bbappends.
> I have made a PoC on the 'kirkstone' branch but this kind of modification 
> requires all recipes to adapt to the new architecture and therefore I would 
> like to know if you would accept such modifications.

All init systems are welcome. If oe-core does something that gets in
the way of supporting them, please do propose the improvements as
patches to the current master branch, and then we can discuss over
actual code how to have an optimal solution.

Alex

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



[oe] [PATCH] libadwaita: move recipe to oe-core

2023-07-28 Thread Alexander Kanavin
As required by latest epiphany.

Signed-off-by: Alexander Kanavin 
---
 .../libadwaita/libadwaita_1.3.3.bb| 24 ---
 1 file changed, 24 deletions(-)
 delete mode 100644 meta-gnome/recipes-gnome/libadwaita/libadwaita_1.3.3.bb

diff --git a/meta-gnome/recipes-gnome/libadwaita/libadwaita_1.3.3.bb 
b/meta-gnome/recipes-gnome/libadwaita/libadwaita_1.3.3.bb
deleted file mode 100644
index c0eff35e4..0
--- a/meta-gnome/recipes-gnome/libadwaita/libadwaita_1.3.3.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-SUMMARY = "Building blocks for modern GNOME applications"
-LICENSE="LGPL-2.1-or-later"
-LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
-
-GNOMEBASEBUILDCLASS = "meson"
-
-DEPENDS = " \
-gtk4 \
-"
-
-inherit gnomebase gobject-introspection gtk-doc vala features_check
-
-SRC_URI[archive.sha256sum] = 
"3fb9f6f8f570e543ab2dafb8b4b94d8b376c59ad565efadfede44557e3f3a9e1"
-
-ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-REQUIRED_DISTRO_FEATURES = "opengl"
-
-GIR_MESON_ENABLE_FLAG = 'enabled'
-GIR_MESON_DISABLE_FLAG = 'disabled'
-GTKDOC_MESON_OPTION = 'gtk_doc'
-
-PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
-
-FILES:${PN} += "${datadir}/metainfo"
-- 
2.30.2


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



Re: [oe] [RFC][meta-gnome][PATCHv3] webkitgtk3: add recipe

2023-07-27 Thread Alexander Kanavin
 cmake finds
> host-libs when
> > diff --git
> a/meta-gnome/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch
> b/meta-gnome/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch
> > new file mode 100644
> > index 00..d3c26d97ae
> > --- /dev/null
> > +++
> b/meta-gnome/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch
> > @@ -0,0 +1,36 @@
> > +From 9b67bb18d8409e0e693cc6000507acbd73a30eab Mon Sep 17 00:00:00 2001
> > +From: Alexander Kanavin 
> > +Date: Wed, 16 Nov 2022 11:27:24 +0100
> > +Subject: [PATCH 1/2] meson.build: correctly handle disabled ssh_agent
> option
> > +
> > +Existing code produces these errors:
> > +| gcr/meson.build:61:0: ERROR: Unable to get the path of a not-found
> external program
> > +| gcr/meson.build:101:5: ERROR: Unknown variable "ssh_add_path".
> > +
> > +Signed-off-by: Alexander Kanavin 
> > +
> > +Upstream-Status: Backport [
> https://gitlab.gnome.org/GNOME/gcr/-/commit/9b67bb18d8409e0e693cc6000507acbd73a30eab
> ]
> > +---
> > + meson.build | 12 
> > + 1 file changed, 8 insertions(+), 4 deletions(-)
> > +
> > +diff --git a/meson.build b/meson.build
> > +index 3f35173..11d7fa7 100644
> > +--- a/meson.build
> >  b/meson.build
> > +@@ -96,8 +98,10 @@ conf.set('HAVE_TIMEGM', cc.has_function('timegm'))
> > + conf.set('HAVE_MLOCK', cc.has_function('mlock'))
> > + conf.set_quoted('GPG_EXECUTABLE', gpg_path)
> > + conf.set_quoted('LIBGCRYPT_VERSION', libgcrypt_dep.version())
> > +-conf.set_quoted('SSH_ADD_EXECUTABLE', ssh_add_path)
> > +-conf.set_quoted('SSH_AGENT_EXECUTABLE', ssh_agent_path)
> > ++if get_option('ssh_agent')
> > ++  conf.set_quoted('SSH_ADD_EXECUTABLE', ssh_add_path)
> > ++  conf.set_quoted('SSH_AGENT_EXECUTABLE', ssh_agent_path)
> > ++endif
> > + conf.set10('WITH_SYSTEMD', with_systemd)
> > + config_file = configure_file(
> > +   output: 'config.h',
> > +--
> > +2.34.1
> > +
> > diff --git a/meta-gnome/recipes-gnome/gcr/gcr3_3.41.1.bb
> b/meta-gnome/recipes-gnome/gcr/gcr3_3.41.1.bb
> > new file mode 100644
> > index 00..ba5660a5ed
> > --- /dev/null
> > +++ b/meta-gnome/recipes-gnome/gcr/gcr3_3.41.1.bb
> > @@ -0,0 +1,59 @@
> > +SUMMARY = "A library for bits of crypto UI and parsing etc"
> > +DESCRIPTION = "GCR is a library for displaying certificates, and crypto
> UI, \
> > +accessing key stores. It also provides the viewer for crypto files on
> the \
> > +GNOME desktop."
> > +HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcr;
> > +BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues;
> > +
> > +LICENSE = "GPL-2.0-only"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
> > +
> > +DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \
> > +   ${@bb.utils.contains('GI_DATA_ENABLED', 'True',
> 'libxslt-native', '', d)}"
> > +
> > +CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'"
> > +
> > +CFLAGS += "-D_GNU_SOURCE"
> > +
> > +GNOMEBASEBUILDCLASS = "meson"
> > +GTKDOC_MESON_OPTION = "gtk_doc"
> > +inherit gnomebase gtk-icon-cache gi-docgen features_check
> upstream-version-is-even vala gobject-introspection gettext mime mime-xdg
> > +UPSTREAM_CHECK_REGEX = "[^\d\.](?P3.(?!9\d+)\d+(\.\d+)+)\.tar"
> > +
> > +SRC_URI = "
> https://download.gnome.org/sources/gcr/3.41/gcr-${PV}.tar.xz;name=archive;
> > +SRC_URI +=
> "file://0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch"
> > +SRC_URI[archive.sha256sum] =
> "bb7128a3c2febbfee9c03b90d77d498d0ceb237b0789802d60185c71c4bea24f"
> > +
> > +S = "${WORKDIR}/gcr-${PV}"
> > +
> > +PACKAGECONFIG ??= " \
> > + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
> > + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
> > + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \
> > +"
> > +PACKAGECONFIG[gtk] = "-Dgtk=true,-Dgtk=false,gtk+3"
> > +PACKAGECONFIG[ssh_agent] =
> "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh"
> > +#'Use systemd socket activation for server programs'
> > +PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
> > +
> > +FILES:${PN} += " \
> > +${datadir}/dbus-1 \
> > +${datadir}/gc

Re: [oe] [RFC][meta-gnome][PATCHv2] webkitgtk3: add recipe

2023-07-27 Thread Alexander Kanavin
I have the epiphany transition staged by the way:
https://git.yoctoproject.org/poky-contrib/log/?h=akanavin/package-version-updates

Just investigating some unrelated issues in that patchset.

Alex

On Thu, 27 Jul 2023 at 09:15,  wrote:
>
> I put that on my todo list and will send  patches once epiphany was updated.
>
> On Thu, Jul 27 2023 at 06:27:25 AM +02:00:00, Alexander Kanavin 
>  wrote:
>
> You could probably move gcr3 to meta-gnome for the same reasons once epiphany 
> transitions to gtk4. Alex On Thu, 27 Jul 2023 at 02:02, Markus Volk 
>  wrote:
>
> - Change the meta-gnome recipes to use the gtk3 variant of webkitgtk Most 
> Gnome recipes require webkitgtk built with gtk+3. oe-core is in the process 
> of updating webkitgtk to be built with gtk4. It will be necessary to add a 
> recipe that provides the gtk+3 variant, or we wont be able to use e.g. geary 
> with gmail addresses or provide google integration for gnome-calendar or 
> nautilus/files. Signed-off-by: Markus Volk  --- 
> .../recipes-connectivity/geary/geary_43.0.bb | 2 +- 
> .../evolution-data-server.bb | 2 +- .../gnome-online-accounts_3.48.0.bb | 2 
> +- meta-gnome/recipes-gnome/yelp/yelp_42.2.bb | 2 +- 
> .../recipes-gnome/zenity/zenity_3.44.0.bb | 2 +- 
> ...spection.cmake-prefix-variables-obta.patch | 29 ++ 
> ...tCore-CMakeLists.txt-ensure-reproduc.patch | 28 ++ 
> ...44e17d258106617b0e6d783d073b188a2548.patch | 310 ++ 
> ...290ab4ab35258a6da9b13795c9b0f7894bf4.patch | 41 +++ 
> .../check-GST_GL_HAVE_PLATFORM_GLX.patch | 33 ++ 
> .../webkitgtk3/reproducibility.patch | 22 ++ 
> .../webkitgtk/webkitgtk3_2.40.2.bb | 169 ++ 
> .../wxwidgets/wxwidgets_3.2.1.bb | 2 +- 
> meta-oe/recipes-graphics/surf/surf_2.1.bb | 2 +- 14 files changed, 639 
> insertions(+), 7 deletions(-) create mode 100644 
> meta-gnome/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
>  create mode 100644 
> meta-gnome/recipes-support/webkitgtk/webkitgtk3/0001-Source-JavaScriptCore-CMakeLists.txt-ensure-reproduc.patch
>  create mode 100644 
> meta-gnome/recipes-support/webkitgtk/webkitgtk3/0d3344e17d258106617b0e6d783d073b188a2548.patch
>  create mode 100644 
> meta-gnome/recipes-support/webkitgtk/webkitgtk3/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch
>  create mode 100644 
> meta-gnome/recipes-support/webkitgtk/webkitgtk3/check-GST_GL_HAVE_PLATFORM_GLX.patch
>  create mode 100644 
> meta-gnome/recipes-support/webkitgtk/webkitgtk3/reproducibility.patch create 
> mode 100644 meta-gnome/recipes-support/webkitgtk/webkitgtk3_2.40.2.bb diff 
> --git a/meta-gnome/recipes-connectivity/geary/geary_43.0.bb 
> b/meta-gnome/recipes-connectivity/geary/geary_43.0.bb index 
> 6085d94fdc..bab4f909e0 100644 --- 
> a/meta-gnome/recipes-connectivity/geary/geary_43.0.bb +++ 
> b/meta-gnome/recipes-connectivity/geary/geary_43.0.bb @@ -26,7 +26,7 @@ 
> DEPENDS = " \ libstemmer \ libxml2 \ sqlite3 \ - webkitgtk \ + webkitgtk3 \ " 
> RDEPENDS:${PN} = "gnome-keyring" diff --git 
> a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb 
> b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb 
> index 43717a84cd..edbe30ff87 100644 --- 
> a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb +++ 
> b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb @@ 
> -37,7 +37,7 @@ EXTRA_OECMAKE:append:class-target = " 
> -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scan PACKAGECONFIG ?= "oauth" 
> PACKAGECONFIG[canberra] = 
> "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra" 
> -PACKAGECONFIG[oauth] = "-DENABLE_OAUTH2_WEBKITGTK=ON 
> -DENABLE_OAUTH2_WEBKITGTK4=OFF,-DENABLE_OAUTH2_WEBKITGTK4=OFF 
> -DENABLE_OAUTH2_WEBKITGTK=OFF,webkitgtk json-glib" +PACKAGECONFIG[oauth] = 
> "-DENABLE_OAUTH2_WEBKITGTK=ON 
> -DENABLE_OAUTH2_WEBKITGTK4=OFF,-DENABLE_OAUTH2_WEBKITGTK4=OFF 
> -DENABLE_OAUTH2_WEBKITGTK=OFF,webkitgtk3 json-glib" PACKAGECONFIG[goa] = 
> "-DENABLE_GOA=ON,-DENABLE_GOA=OFF,gnome-online-accounts" 
> PACKAGECONFIG[kerberos] = "-DWITH_KRB5=ON,-DWITH_KRB5=OFF,krb5" # BROKEN: due 
> missing pkg-config in openldap eds' cmake finds host-libs when diff --git 
> a/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.48.0.bb
>  
> b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.48.0.bb
>  index ca78fa0119..cd14b48508 100644 --- 
> a/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.48.0.bb
>  +++ 
> b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.48.0.bb
>  @@ -14,7 +14,7 @@ SRC_URI[archive.sha256sum] = 
> "418bb9fcffdbd72a98205ad365137617fc1e3551a54de74

Re: [oe] [RFC][meta-gnome][PATCHv2] webkitgtk3: add recipe

2023-07-26 Thread Alexander Kanavin
ot;-Dgoabackend=true,-Dgoabackend=false,gtk+3 
> gtk+3-native json-glib libxml2 libsoup rest libsecret webkitgtk"
> +PACKAGECONFIG[goabackend] = "-Dgoabackend=true,-Dgoabackend=false,gtk+3 
> gtk+3-native json-glib libxml2 libsoup rest libsecret webkitgtk3"
>  PACKAGECONFIG[kerberos] = "-Dkerberos=true, -Dkerberos=false,krb5 gcr3"
>  PACKAGECONFIG[exchange] = "-Dexchange=true, -Dexchange=false"
>  PACKAGECONFIG[google] = "-Dgoogle=true, -Dgoogle=false"
> diff --git a/meta-gnome/recipes-gnome/yelp/yelp_42.2.bb 
> b/meta-gnome/recipes-gnome/yelp/yelp_42.2.bb
> index 200ed0f709..51d51ee0ab 100644
> --- a/meta-gnome/recipes-gnome/yelp/yelp_42.2.bb
> +++ b/meta-gnome/recipes-gnome/yelp/yelp_42.2.bb
> @@ -19,7 +19,7 @@ DEPENDS += " \
>  libxslt \
>  sqlite3 \
>  libhandy \
> -webkitgtk \
> +webkitgtk3 \
>  yelp-xsl \
>  "
>  PACKAGECONFIG_SOUP ?= "soup3"
> diff --git a/meta-gnome/recipes-gnome/zenity/zenity_3.44.0.bb 
> b/meta-gnome/recipes-gnome/zenity/zenity_3.44.0.bb
> index 8ea24ca49b..3548cc5bbe 100644
> --- a/meta-gnome/recipes-gnome/zenity/zenity_3.44.0.bb
> +++ b/meta-gnome/recipes-gnome/zenity/zenity_3.44.0.bb
> @@ -20,7 +20,7 @@ SRC_URI[archive.sha256sum] = 
> "c15582301ed90b9d42ce521dbccf99a989f22f12041bdd5279
>  SRC_URI += 
> "file://0001-Harcode-shebang-to-avoid-pointing-to-build-system-s-.patch"
>
>  PACKAGECONFIG ?= "webkitgtk"
> -PACKAGECONFIG[webkitgtk] = "-Dwebkitgtk=true,-Dwebkitgtk=false,webkitgtk"
> +PACKAGECONFIG[webkitgtk] = "-Dwebkitgtk=true,-Dwebkitgtk=false,webkitgtk3"
>
>  PACKAGES =+ "${PN}-gdialog"
>  FILES:${PN}-gdialog = "${bindir}/gdialog"
> diff --git 
> a/meta-gnome/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
>  
> b/meta-gnome/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
> new file mode 100644
> index 00..8ae39f14e1
> --- /dev/null
> +++ 
> b/meta-gnome/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
> @@ -0,0 +1,29 @@
> +From 10cfdcc905915d8814c609008a069102f2bc7e39 Mon Sep 17 00:00:00 2001
> +From: Alexander Kanavin 
> +Date: Tue, 27 Oct 2015 16:02:19 +0200
> +Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
> + from pkg-config with PKG_CONFIG_SYSROOT_DIR
> +
> +See discussion at https://bugs.webkit.org/show_bug.cgi?id=232933 for
> +reasons why this is not approproiate for upstream submission.
> +
> +Upstream-Status: Inappropriate [oe-core specific]
> +Signed-off-by: Alexander Kanavin 
> +---
> + Source/cmake/FindGI.cmake | 3 +++
> + 1 file changed, 3 insertions(+)
> +
> +diff --git a/Source/cmake/FindGI.cmake b/Source/cmake/FindGI.cmake
> +index af039cbb..b3e810cd 100644
> +--- a/Source/cmake/FindGI.cmake
>  b/Source/cmake/FindGI.cmake
> +@@ -72,6 +72,9 @@ if (PKG_CONFIG_FOUND)
> + endif ()
> + endif ()
> +
> ++set(_GI_SCANNER_EXE "$ENV{PKG_CONFIG_SYSROOT_DIR}${_GI_SCANNER_EXE}")
> ++set(_GI_COMPILER_EXE "$ENV{PKG_CONFIG_SYSROOT_DIR}${_GI_COMPILER_EXE}")
> ++
> + find_program(GI_SCANNER_EXE NAMES ${_GI_SCANNER_EXE} g-ir-scanner)
> + find_program(GI_COMPILER_EXE NAMES ${_GI_COMPILER_EXE} g-ir-compiler)
> +
> diff --git 
> a/meta-gnome/recipes-support/webkitgtk/webkitgtk3/0001-Source-JavaScriptCore-CMakeLists.txt-ensure-reproduc.patch
>  
> b/meta-gnome/recipes-support/webkitgtk/webkitgtk3/0001-Source-JavaScriptCore-CMakeLists.txt-ensure-reproduc.patch
> new file mode 100644
> index 00..bbe265059d
> --- /dev/null
> +++ 
> b/meta-gnome/recipes-support/webkitgtk/webkitgtk3/0001-Source-JavaScriptCore-CMakeLists.txt-ensure-reproduc.patch
> @@ -0,0 +1,28 @@
> +From cd65e3d9256a4f6eb7906a9f10678c29a4ffef2f Mon Sep 17 00:00:00 2001
> +From: Alexander Kanavin 
> +Date: Mon, 26 Jun 2023 14:30:02 +0200
> +Subject: [PATCH] Source/JavaScriptCore/CMakeLists.txt: ensure reproducibility
> + of __TIMESTAMP__
> +
> +__TIMESTAMP__ refers to mtime of the file that contains it, which is unstable
> +and breaks binary reproducibility when the file is generated at build time. 
> To ensure
> +this does not happen, mtime should be set from the original file.
> +
> +Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/15293]
> +Signed-off-by: Alexander Kanavin 
> +---
> + Source/JavaScriptCore/CMakeLists.txt | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/Source/JavaScriptCore/CMakeLists.txt 
> b/Source/JavaScriptCore/CMakeLists.txt
> +index 43dc22ff..c2e3b1cd 100644
> +--- a/Source/Ja

Re: [oe] DISTRO_FEATURE gobject-introspection-data or gobject-introspection?

2023-05-31 Thread Alexander Kanavin
On Wed, 31 May 2023 at 18:00, Petr Gotthard  wrote:
>
> Hello. Is there a DISTRO_FEATURE "gobject-introspection" or just 
> "gobject-introspection-data", please? Or both?
>
> Recently there was a set of patches called "requires 
> gobject-introspection-data DISTRO_FEATURE", but for some recipes it added 
> "gobject-introspection" instead, which is not defined anywhere and hence the 
> build fails. Was it an intention, or a typo?
> The recipes in question are: firewalld, blueman and system-config-printer 
> (which contains both gobject-introspection-data and gobject-introspection)

The correct and the only one is gobject-introspection-data. If you can
send patches to fix this, would be appreciated.

Alex

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



Re: [oe] Depending on external recipes in OE-core

2023-04-21 Thread Alexander Kanavin
PACKAGECONFIG definition for a feature such as qt5/6 support doesn't
have to be in an external .bbappend, as in itself it doesn't change
how a recipe is being built, it only defines a recipe option,
component command line switches to enable it, and dependencies that
need to be fulfilled.

If there are other missing recipe options, then just add them to the
gstreamer recipe.

Where and how these options should be enabled is another question:
default set in oe-core is made such that no external layers are
required. I tend to think that vendor layers such as meta-qt6
shouldn't mess with other recipes (through bbappends) behind
integrators' backs, unless those changes are strictly required for
building qt itself.

Alex

On Fri, 21 Apr 2023 at 16:33, Bartosz Golaszewski  wrote:
>
> I noticed that there are some recipes in OE-core that depend on
> recipes living in third-party layers which are not in LAYERDEPENDS.
>
> For instance: gstreamer1.0-plugins-good has a PACKAGECONFIG switch for
> qt5 which pulls in a bunch of packages from meta-qt5 but the core
> layer (obviously) doesn't depend on meta-qt5.
>
> It would seem to me the right way to do it, would be to add a
> .bbappend to meta-qt5 that would extend the gstreamer recipe with qt5
> support.
>
> Is this done on purpose or is it just some leftover from earlier development?
>
> I'm asking because I want to add support for qt6qml gstreamer module
> but I'm not sure anymore where this should go - oe-core or meta-qt6.
>
> Bart
>
> 
>

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



Re: [oe] [meta-oe][PATCH 2/3] libfprint: New recipe

2023-03-30 Thread Alexander Kanavin
On Thu, 30 Mar 2023 at 19:20, Böszörményi Zoltán  wrote:
>
> 2023. 03. 30. 17:40 keltezéssel, Alexander Kanavin írta:
> > How do libfprint's meson rules for producing the executable and then
> > running it look like?
>
> Here are the two generators:
> https://gitlab.freedesktop.org/libfprint/libfprint/-/blob/master/libfprint/meson.build#L310
> https://gitlab.freedesktop.org/libfprint/libfprint/-/blob/master/libfprint/meson.build#L325

Right. Welcome to:
https://github.com/mesonbuild/meson/issues/11029

I'm not sure what rules in meson do use the exe_wrapper setting, if
you can investigate that and see if one of them can be used in this
case, would be great. Or those two generators can be patched to prefix
the wrapper.

Alex

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



Re: [oe] [meta-oe][PATCH 2/3] libfprint: New recipe

2023-03-30 Thread Alexander Kanavin
Maybe you can raise the concern with upstream and see what they say?
How, in their opinion, should their component be cross-compiled? Can
the need to run target executables be eliminated from the build in
some other way we're not seeing?

Alex

On Thu, 30 Mar 2023 at 17:52, Böszörményi Zoltán  wrote:
>
> 2023. 03. 30. 17:24 keltezéssel, Zoltan Boszormenyi via 
> lists.openembedded.org írta:
> > 2023. 03. 30. 15:50 keltezéssel, Alexander Kanavin írta:
> >> Meson is specifically configured in yocto to user qemu usermode as the
> >> wrapper to run cross binaries, so can libfprint build configuration be
> >> tweaked to use that? This would avoid all the nasty -native extensions
> >> and modifications.
> >
> > How would I do that? This is the error if I not use the
> > externally built executables:
> >
> > | [122/124]
> > /home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/bin/meson.real
> > --internal exe --capture libfprint/70-libfprint-2.rules --
> > /home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/build/libfprint/fprint-list-udev-rules
> > | FAILED: libfprint/70-libfprint-2.rules
> > |
> > /home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/bin/meson.real
> > --internal exe --capture libfprint/70-libfprint-2.rules --
> > /home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/build/libfprint/fprint-list-udev-rules
> > | Traceback (most recent call last):
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/bin/meson.real",
> > line 8, in 
> > | sys.exit(main())
> > |  ^^
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py",
> > line 287, in main
> > | return run(sys.argv[1:], launcher)
> > |^^^
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py",
> > line 275, in run
> > | return run_script_command(args[1], args[2:])
> > |^
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py",
> > line 223, in run_script_command
> > | return module.run(script_args)
> > |^^^
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/scripts/meson_exe.py",
> > line 121, in run
> > | return run_exe(exe)
> > |
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/scripts/meson_exe.py",
> > line 66, in run_exe
> > | p = subprocess.Popen(cmd_args, env=child_env, cwd=exe.workdir,
> > | ^^
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/subprocess.py",
> > line 1024, in __init__
> > | self._execute_child(args, executable, preexec_fn, close_fds,
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/subprocess.py",
> > line 1789, in _execute_child
> > | self._posix_spawn(args, executable, env, restore_signals,
> > |   File
> > "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/subprocess.py",
> > line 1733, in _posix_spawn
> > | self.pid = os.posix_spawn(executable, args, env, **kwargs)
> > |^^^
> > | FileNotFoundError: [Errno 2] No such file or directory:
> > '/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/build/libfprint/fprint-list-udev-rules'
> >
> > The executable is built, it is there, and it's using the target system's
> > runtime linker path.
> >
> > 

Re: [oe] [meta-oe][PATCH 2/3] libfprint: New recipe

2023-03-30 Thread Alexander Kanavin
How do libfprint's meson rules for producing the executable and then
running it look like?

Any meson based recipe has a similar entry in ${WORKDIR}/meson.cross:

exe_wrapper = 
'/srv/storage/alex/yocto/build-64-alt/tmp/work/core2-64-poky-linux/glib-2.0/1_2.74.6-r0/meson-qemuwrapper'

And the use of the exe_wrapper is documented here:
https://mesonbuild.com/Cross-compilation.html

Alex

On Thu, 30 Mar 2023 at 17:24, Böszörményi Zoltán  wrote:
>
> 2023. 03. 30. 15:50 keltezéssel, Alexander Kanavin írta:
> > Meson is specifically configured in yocto to user qemu usermode as the
> > wrapper to run cross binaries, so can libfprint build configuration be
> > tweaked to use that? This would avoid all the nasty -native extensions
> > and modifications.
>
> How would I do that? This is the error if I not use the
> externally built executables:
>
> | [122/124]
> /home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/bin/meson.real
> --internal exe --capture libfprint/70-libfprint-2.rules --
> /home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/build/libfprint/fprint-list-udev-rules
> | FAILED: libfprint/70-libfprint-2.rules
> |
> /home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/bin/meson.real
> --internal exe --capture libfprint/70-libfprint-2.rules --
> /home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/build/libfprint/fprint-list-udev-rules
> | Traceback (most recent call last):
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/bin/meson.real",
> line 8, in 
> | sys.exit(main())
> |  ^^
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py",
> line 287, in main
> | return run(sys.argv[1:], launcher)
> |^^^
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py",
> line 275, in run
> | return run_script_command(args[1], args[2:])
> |^
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py",
> line 223, in run_script_command
> | return module.run(script_args)
> |^^^
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/scripts/meson_exe.py",
> line 121, in run
> | return run_exe(exe)
> |
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/scripts/meson_exe.py",
> line 66, in run_exe
> | p = subprocess.Popen(cmd_args, env=child_env, cwd=exe.workdir,
> | ^^
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/subprocess.py",
> line 1024, in __init__
> | self._execute_child(args, executable, preexec_fn, close_fds,
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/subprocess.py",
> line 1789, in _execute_child
> | self._posix_spawn(args, executable, env, restore_signals,
> |   File
> "/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/recipe-sysroot-native/usr/lib/python3.11/subprocess.py",
> line 1733, in _posix_spawn
> | self.pid = os.posix_spawn(executable, args, env, **kwargs)
> |^^^
> | FileNotFoundError: [Errno 2] No such file or directory:
> '/home/zozo/dtd-yocto-4.2/tmp-sicom-glibc/work/corei7-64-oe-linux/libfprint/1.94.5-r0/build/libfprint/fprint-list-udev-rules'
>
> The executable is built, it is there, and it's using the target system's
> runtime linker path.
>
> Obviously, meson doesn't run it through the exe_wrapper.
>
> >
> > Alex
> >
> > On Thu, 30 Mar 2023 at 15:43, Zoltan Boszormenyi  wrote:
> >> libfprint is the library used by fprintd.
> >>
> >> Signed-off-by: Zoltán Böszörményi 

Re: [oe] [meta-oe][PATCH 2/3] libfprint: New recipe

2023-03-30 Thread Alexander Kanavin
Meson is specifically configured in yocto to user qemu usermode as the
wrapper to run cross binaries, so can libfprint build configuration be
tweaked to use that? This would avoid all the nasty -native extensions
and modifications.

Alex

On Thu, 30 Mar 2023 at 15:43, Zoltan Boszormenyi  wrote:
>
> libfprint is the library used by fprintd.
>
> Signed-off-by: Zoltán Böszörményi 
> ---
>  ...001-Optionally-use-native-generators.patch | 111 ++
>  .../0002-Make-building-tests-optional.patch   |  47 
>  .../libfprint/libfprint_1.94.5.bb |  45 +++
>  3 files changed, 203 insertions(+)
>  create mode 100644 
> meta-oe/recipes-support/libfprint/libfprint/0001-Optionally-use-native-generators.patch
>  create mode 100644 
> meta-oe/recipes-support/libfprint/libfprint/0002-Make-building-tests-optional.patch
>  create mode 100644 meta-oe/recipes-support/libfprint/libfprint_1.94.5.bb
>
> diff --git 
> a/meta-oe/recipes-support/libfprint/libfprint/0001-Optionally-use-native-generators.patch
>  
> b/meta-oe/recipes-support/libfprint/libfprint/0001-Optionally-use-native-generators.patch
> new file mode 100644
> index 0..779d78c28
> --- /dev/null
> +++ 
> b/meta-oe/recipes-support/libfprint/libfprint/0001-Optionally-use-native-generators.patch
> @@ -0,0 +1,111 @@
> +From 4f0f84448dbc46c18d2700ddb45acdee67687574 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?=
> + 
> +Date: Thu, 30 Mar 2023 09:45:31 +0200
> +Subject: [PATCH 1/2] Optionally use native generators
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +fprint-list-udev-hwdb and fprint-list-udev-rules are run
> +during the build to generate autosuspend.hwdb and 70-*.rules,
> +respectively.
> +
> +Since they are not marked as "native: true", a cross-compiled
> +version is not possible.
> +
> +Since these binaries are linked with the libfprint_drivers target,
> +marking them as native binaries would also need libfprint_drivers
> +to be duplicated as a native version and possibly other library
> +targets, too.
> +
> +Instead, make it the responsibility of the cross-compiler
> +framework to build the native variant separately and allow
> +the external binaries to be passed in.
> +
> +Upstream-Status: Submitted
> +
> +Signed-off-by: Zoltán Böszörményi 
> +---
> + libfprint/meson.build | 30 --
> + meson_options.txt |  8 
> + 2 files changed, 28 insertions(+), 10 deletions(-)
> +
> +diff --git a/libfprint/meson.build b/libfprint/meson.build
> +index d3c8b03..2a4de67 100644
> +--- a/libfprint/meson.build
>  b/libfprint/meson.build
> +@@ -301,11 +301,16 @@ libfprint_private_dep = declare_dependency(
> + ]
> + )
> +
> +-udev_hwdb = executable('fprint-list-udev-hwdb',
> +-'fprint-list-udev-hwdb.c',
> +-dependencies: libfprint_private_dep,
> +-link_with: libfprint_drivers,
> +-install: false)
> ++udev_hwdb_cmd = get_option('udev_hwdb_cmd')
> ++if udev_hwdb_cmd == ''
> ++udev_hwdb = executable('fprint-list-udev-hwdb',
> ++'fprint-list-udev-hwdb.c',
> ++dependencies: libfprint_private_dep,
> ++link_with: libfprint_drivers,
> ++install: false)
> ++else
> ++udev_hwdb = find_program(udev_hwdb_cmd)
> ++endif
> +
> + udev_hwdb_generator = custom_target('udev-hwdb',
> + output: 'autosuspend.hwdb',
> +@@ -315,12 +320,17 @@ udev_hwdb_generator = custom_target('udev-hwdb',
> + install: false,
> + )
> +
> ++udev_rules_cmd = get_option('udev_rules_cmd')
> + if install_udev_rules
> +-udev_rules = executable('fprint-list-udev-rules',
> +-'fprint-list-udev-rules.c',
> +-dependencies: libfprint_private_dep,
> +-link_with: libfprint_drivers,
> +-install: false)
> ++if udev_rules_cmd == ''
> ++udev_rules = executable('fprint-list-udev-rules',
> ++'fprint-list-udev-rules.c',
> ++dependencies: libfprint_private_dep,
> ++link_with: libfprint_drivers,
> ++install: false)
> ++else
> ++udev_rules = find_program(udev_rules_cmd)
> ++endif
> +
> + custom_target('udev-rules',
> + output: '70-@0@.rules'.format(versioned_libname),
> +diff --git a/meson_options.txt b/meson_options.txt
> +index f9b801f..a6f0c4d 100644
> +--- a/meson_options.txt
>  b/meson_options.txt
> +@@ -14,6 +14,10 @@ option('udev_rules_dir',
> +description: 'Installation path for udev rules',
> +type: 'string',
> +value: 'auto')
> ++option('udev_rules_cmd',
> ++   description : 'Optional path for native build of 
> fprint-list-udev-rules',
> ++   type : 'string',
> ++   value : '')
> + option('udev_hwdb',
> +description: 'Whether to create a udev hwdb for autosuspend 
> (included in systemd v248 and later)',
> +type: 'feature',
> +@@ -22,6 +26,10 @@ option('udev_hwdb_dir',
> +description: 'Installation 

Re: [oe] [meta-python][PATCH v2 2/3] python3-cmake: New recipe

2023-03-11 Thread Alexander Kanavin
There are several 'master-next' branches, each integrator maintains their own.

The pypi patch did make it into
https://git.yoctoproject.org/poky-contrib/log/?h=abelloni/master-next

Alex

On Sat, 11 Mar 2023 at 06:59, Zoltan Boszormenyi  wrote:
>
> 2023. 03. 10. 14:46 keltezéssel, Zoltan Boszormenyi via 
> lists.openembedded.org írta:
> > Some python modules rely on "import cmake".
> >
> > Only build and ship the python parts, and don't download and
> > build cmake from sources. Use the already built cmake instead.
> >
> > The CMakeLists.txt file is a crippled copy from this cmake
> > python module's sources, removing almost everything, and
> > adding a dummy install target, so do_install() doesn't fail.
> >
> > The python code is patched so cmake is used from PATH.
> >
> > Signed-off-by: Zoltán Böszörményi 
> > ---
> >   .../python/python3-cmake/CMakeLists.txt   | 11 ++
> >   .../python3-cmake/run-cmake-from-path.patch   | 11 ++
> >   .../python/python3-cmake_3.25.2.bb| 37 +++
> >   3 files changed, 59 insertions(+)
> >   create mode 100644 
> > meta-python/recipes-devtools/python/python3-cmake/CMakeLists.txt
> >   create mode 100644 
> > meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch
> >   create mode 100644 
> > meta-python/recipes-devtools/python/python3-cmake_3.25.2.bb
> >
> > ...
> >
> > diff --git a/meta-python/recipes-devtools/python/python3-cmake_3.25.2.bb 
> > b/meta-python/recipes-devtools/python/python3-cmake_3.25.2.bb
> > new file mode 100644
> > index 0..d0e11f9a6
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python3-cmake_3.25.2.bb
> > @@ -0,0 +1,37 @@
> > +SUMMARY = "CMake is an open-source, cross-platform family of tools 
> > designed to build, test and package software"
> > +LICENSE = "BSD-3-Clause & Apache-2.0"
> > +LIC_FILES_CHKSUM = " \
> > + file://LICENSE_BSD_3;md5=9134cb61aebbdd79dd826ccb9ae6afcd \
> > + file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \
> > +"
> > +
> > +DEPENDS = "ninja-native cmake-native python3-scikit-build-native"
> > +
> > +PYPI_PACKAGE = "cmake"
> > +PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
>
> This line needs the pypi.bbclass change in OE-Core.
> As far as I can see it not even reached master-next there,
> while this series was merged into meta-openembedded
> master-next.
>
> As is, it will cause bad checksum warnings when building
> python3-cmake.
>
> 
>

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



Re: [oe] [meta-gnome][PATCH] gnome:terminal add missing inherit meson

2023-01-05 Thread Alexander Kanavin
Presence of '  GNOMEBASEBUILDCLASS = "meson"' indicates that the
recipe should be inheriting gnomebase class rather. Did it get
erroneously dropped at some point?

Alex

On Thu, 5 Jan 2023 at 16:36, Markus Volk  wrote:
>
> When testing Gnome recipes at runtime, I noticed that inherit meson was 
> missing
> and gnome-terminal was not compiled. Fix this
>
> Signed-off-by: Markus Volk 
> ---
>  .../recipes-gnome/gnome-terminal/gnome-terminal_3.46.7.bb   | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.46.7.bb 
> b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.46.7.bb
> index 69af11c91..d9afeec46 100644
> --- a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.46.7.bb
> +++ b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.46.7.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
>
>  GNOMEBASEBUILDCLASS = "meson"
>
> -inherit gsettings gnome-help gettext itstool upstream-version-is-even
> +inherit pkgconfig meson gsettings gnome-help gettext itstool 
> upstream-version-is-even
>
>  DEPENDS = " \
>  glib-2.0 \
> @@ -30,8 +30,8 @@ PACKAGECONFIG[nautilus] = 
> "-Dnautilus_extension=true,-Dnautilus_extension=false,
>  PACKAGECONFIG[search_provider] = 
> "-Dsearch_provider=true,-Dsearch_provider=false,,gnome-shell"
>
>  FILES:${PN} += " \
> -${datadir}/metainfo \
> -${datadir}/dbus-1 \
> +${datadir} \
> +${libdir}/nautilus/extensions-4 \
>  ${systemd_user_unitdir} \
>  "
>
> --
> 2.34.1
>
>
> 
>

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



[oe] [PATCH] nftables: fix builds with latest setuptools

2023-01-05 Thread Alexander Kanavin
Using a private module from setuptools is not a good idea and
no longer works with latest setuptools.

it's actually better to revert to official distutils even if
it is going away in the next python release. Hopefully by
then upstream will transition to something supported.

TMPDIR in .pyc can be addressed by simply not installing the .pyc.

Signed-off-by: Alexander Kanavin 
---
 ...tables-python-Split-root-from-prefix.patch | 44 ---
 .../recipes-filter/nftables/nftables_1.0.6.bb |  6 ++-
 2 files changed, 5 insertions(+), 45 deletions(-)
 delete mode 100644 
meta-networking/recipes-filter/nftables/nftables/0001-nftables-python-Split-root-from-prefix.patch

diff --git 
a/meta-networking/recipes-filter/nftables/nftables/0001-nftables-python-Split-root-from-prefix.patch
 
b/meta-networking/recipes-filter/nftables/nftables/0001-nftables-python-Split-root-from-prefix.patch
deleted file mode 100644
index 377b29fff..0
--- 
a/meta-networking/recipes-filter/nftables/nftables/0001-nftables-python-Split-root-from-prefix.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From c7513195a72b2e5be5c9c439cc606eb5dcc3fb7a Mon Sep 17 00:00:00 2001
-From: Alex Kiernan 
-Date: Tue, 12 Jul 2022 17:44:34 +0100
-Subject: [PATCH] nftables: python: Split root from prefix
-
-The buildpaths QA check fails when python is enabled:
-
-  WARNING: nftables-1.0.4-r0 do_package_qa: QA Issue: File 
/usr/lib/python3.10/site-packages/nftables/__pycache__/nftables.cpython-310.pyc 
in package nftables-python contains reference to TMPDIR
-  File 
/usr/lib/python3.10/site-packages/nftables/__pycache__/__init__.cpython-310.pyc 
in package nftables-python contains reference to TMPDIR [buildpaths]
-
-Upstream-Status: Pending
-Signed-off-by: Alex Kiernan 

- py/Makefile.am | 2 +-
- py/setup.py| 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/py/Makefile.am b/py/Makefile.am
-index 215ecd9e4751..a827cca10135 100644
 a/py/Makefile.am
-+++ b/py/Makefile.am
-@@ -7,7 +7,7 @@ all-local:
- install-exec-local:
-   cd $(srcdir) && \
-   $(PYTHON_BIN) setup.py build --build-base $(abs_builddir) \
--  install --prefix $(DESTDIR)$(prefix)
-+  install --root $(DESTDIR) --prefix $(prefix)
- 
- uninstall-local:
-   rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/nftables
-diff --git a/py/setup.py b/py/setup.py
-index 72fc8fd98b26..976aec583b71 100755
 a/py/setup.py
-+++ b/py/setup.py
-@@ -1,5 +1,5 @@
- #!/usr/bin/env python
--from distutils.core import setup
-+from setuptools._distutils.core import setup
- from nftables import NFTABLES_VERSION
- 
- setup(name='nftables',
--- 
-2.35.1
-
diff --git a/meta-networking/recipes-filter/nftables/nftables_1.0.6.bb 
b/meta-networking/recipes-filter/nftables/nftables_1.0.6.bb
index 789a49312..fb9c6e7d6 100644
--- a/meta-networking/recipes-filter/nftables/nftables_1.0.6.bb
+++ b/meta-networking/recipes-filter/nftables/nftables_1.0.6.bb
@@ -7,7 +7,6 @@ DEPENDS = "libmnl libnftnl bison-native \
${@bb.utils.contains('PACKAGECONFIG', 'mini-gmp', '', 'gmp', d)}"
 
 SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.xz \
-   file://0001-nftables-python-Split-root-from-prefix.patch \
file://run-ptest \
   "
 SRC_URI[sha256sum] = 
"2407430ddd82987670e48dc2fda9e280baa8307abec04ab18d609df3db005e4c"
@@ -40,6 +39,11 @@ TESTDIR = "tests"
 
 PRIVATE_LIBS:${PN}-ptest:append = "libnftables.so.1"
 
+do_install:append() {
+# Avoid "contains reference to TMPDIR" warning
+find ${D} -name *.pyc -delete
+}
+
 do_install_ptest() {
 cp -rf ${S}/build-aux ${D}${PTEST_PATH}
 cp -rf ${S}/src ${D}${PTEST_PATH}
-- 
2.30.2


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



Re: [oe] [PATCH] packagegroup-meta-python: drop python3-strict-rfc3339

2023-01-04 Thread Alexander Kanavin
No, jsonschema is fixed to not use the removed recipe. I sent a gigantic
patchset to core a few hours ago with all that.

Alex

On Wed 4. Jan 2023 at 18.00, Khem Raj  wrote:

> On Wed, Jan 4, 2023 at 3:22 AM Alexander Kanavin 
> wrote:
> >
> > This has been unmaintained, not needed by anything and is now
> > removed from oe-core.
>
> There is also python3-jsonschema in this packagegroup which depends on
> python3-strict-rfc3339
> perhaps that needs to go as well ?
>
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  .../recipes-core/packagegroups/packagegroup-meta-python.bb   | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/meta-python/recipes-core/packagegroups/
> packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/
> packagegroup-meta-python.bb
> > index 4e318967d..2275ccd6c 100644
> > --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> > +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
> > @@ -414,7 +414,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
> >  python3-sqlparse \
> >  python3-sqlsoup \
> >  python3-stevedore \
> > -python3-strict-rfc3339 \
> >  python3-supervisor \
> >  python3-sympy \
> >  python3-tabulate \
> > --
> > 2.30.2
> >
> >
> > 
> >
>

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



[oe] [PATCH] packagegroup-meta-python: drop python3-strict-rfc3339

2023-01-04 Thread Alexander Kanavin
This has been unmaintained, not needed by anything and is now
removed from oe-core.

Signed-off-by: Alexander Kanavin 
---
 .../recipes-core/packagegroups/packagegroup-meta-python.bb   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb 
b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 4e318967d..2275ccd6c 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -414,7 +414,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
 python3-sqlparse \
 python3-sqlsoup \
 python3-stevedore \
-python3-strict-rfc3339 \
 python3-supervisor \
 python3-sympy \
 python3-tabulate \
-- 
2.30.2


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



[oe] [PATCH] libportal: move to oe-core

2022-12-29 Thread Alexander Kanavin
Epiphany now again requires it.

Signed-off-by: Alexander Kanavin 
---
 .../recipes-gnome/libportal/libportal_0.6.bb  | 19 ---
 1 file changed, 19 deletions(-)
 delete mode 100644 meta-gnome/recipes-gnome/libportal/libportal_0.6.bb

diff --git a/meta-gnome/recipes-gnome/libportal/libportal_0.6.bb 
b/meta-gnome/recipes-gnome/libportal/libportal_0.6.bb
deleted file mode 100644
index 9784f0481..0
--- a/meta-gnome/recipes-gnome/libportal/libportal_0.6.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "libportal provides GIO-style async APIs for most Flatpak portals."
-DESCRIPTION = "It provides simple asynchronous wrappers for most Flatpak 
portals \
-with a familiar GObject API along side the D-Bus API"
-HOMEPAGE = "https://github.com/flatpak/libportal;
-BUGTRACKER = "https://github.com/flatpak/libportal/issues;
-LICENSE = "LGPL-3.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
-
-SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https;branch=main"
-SRCREV = "13df0b887a7eb7b0f9b14069561a41f62e813155"
-S = "${WORKDIR}/git"
-
-inherit meson gtk-doc gobject-introspection features_check
-
-ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-
-DEPENDS += "glib-2.0 glib-2.0-native gtk+3"
-
-EXTRA_OEMESON = "-Dbackends=gtk3 -Dvapi=false"
-- 
2.30.2


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



Re: [oe] [OE-core] OpenEmbedded Happy Hour November 30

2022-11-29 Thread Alexander Kanavin
Isn't that clashing with YPS social slot?
https://summit.yoctoproject.org/yocto-project-summit-2022-11/talk/UBXLG8/

Alex

On Tue, 29 Nov 2022 at 14:15, Denys Dmytriyenko  wrote:
>
> All,
>
> This month OpenEmbedded Happy Hour coincides with the Yocto Project Summit
> and will be held on Wednesday, November 30 after the sessions are over,
> aroud 1800/6pm UTC (1pm ET / 10am PT). The usual Zoom link is in the Wiki:
>
> https://www.openembedded.org/wiki/Calendar
> https://www.openembedded.org/wiki/Happy_Hours
>
> --
> Regards,
> Denys Dmytriyenko 
> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
> Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
>
> 
>

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



Re: [oe] [PATCH 2/2] lirc: correctly use PYTHONPATH

2022-11-09 Thread Alexander Kanavin
That I can certainly agree with. Still, the problem is that devtool
knows only one style of formatting and resets to it, and I'm not sure
it's a good use of time to implement auto-detection of the other style
when modifying recipes.

Alex

On Wed, 9 Nov 2022 at 21:55, Martin Jansa  wrote:
>
> Well the obvious difference is that your commit which I was reviewing chows 
> 11 changed lines, instead of just 1 added .patch file in SRC_URI.
>
> Style changes shouldn't be applied together with functional changes, 
> especially when they make it worse.
>
> On Wed, Nov 9, 2022 at 9:50 PM Alexander Kanavin  
> wrote:
>>
>> This commit shows that at some point in the past you fixed up
>> formatting to your preference. It does not set one way or another way
>> as the 'correct' one, particularly as it is not mentioned anywhere in
>> the layer.
>>
>> And honestly, I don't care if it's consistent or not, and neither
>> should you or anyone else. It helps nobody to spend time and energy
>> enforcing those 4 spaces throughout the layer, as opposed to some
>> recipes having 4 spaces and some aligning with the value on the first
>> line. What's so bad about that, seriously?
>>
>> If you feel strongly about this, you can just run a linter
>> periodically to fix it up.
>>
>> Alex
>>
>> On Wed, 9 Nov 2022 at 21:37, Martin Jansa  wrote:
>> >
>> > Style guide says:
>> > "Some layers prefer to use four-space indentation on sucessive lines and 
>> > prefer the closing quote as the first character"
>> >
>> > And this commit:
>> > https://git.openembedded.org/meta-openembedded/commit/?id=a45830a39bb47a9eab27980d52966226c9504ea4
>> > shows that meta-oe/meta-* layers belong to this group.
>> >
>> > Yes, it's not 100% consistent, but lets not make it less consistent, just 
>> > because "devtool finish" prepared such change.
>> >
>> > On Wed, Nov 9, 2022 at 9:32 PM Alexander Kanavin  
>> > wrote:
>> >>
>> >> This was re-set by devtool modify/devtool finish, I didn't
>> >> specifically adjust it.
>> >>
>> >> The styleguide says either way is ok. I'd suggest we spend our time on
>> >> more important matters.
>> >>
>> >> Alex
>> >>
>> >> On Wed, 9 Nov 2022 at 21:16, Martin Jansa  wrote:
>> >> >
>> >> > Please don't change SRC_URI indentation, meta-oe uses 4 spaces for 
>> >> > indentation with closing quote as the first character as described on 
>> >> > https://www.openembedded.org/wiki/Styleguide
>> >> >
>> >> > On Wed, Nov 9, 2022 at 9:06 PM Alexander Kanavin 
>> >> >  wrote:
>> >> >>
>> >> >> Signed-off-by: Alexander Kanavin 
>> >> >> ---
>> >> >>  ...ot-clobber-PYTHONPATH-from-build-env.patch | 55 +++
>> >> >>  .../recipes-connectivity/lirc/lirc_0.10.2.bb  | 21 +++
>> >> >>  2 files changed, 66 insertions(+), 10 deletions(-)
>> >> >>  create mode 100644 
>> >> >> meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> >> >>
>> >> >> diff --git 
>> >> >> a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> >> >>  
>> >> >> b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> >> >> new file mode 100644
>> >> >> index 0..089ed23c7
>> >> >> --- /dev/null
>> >> >> +++ 
>> >> >> b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> >> >> @@ -0,0 +1,55 @@
>> >> >> +From 5e3b74927b4fef03d91518d235e9e3ba8cd7ab2e Mon Sep 17 00:00:00 2001
>> >> >> +From: Alexander Kanavin 
>> >> >> +Date: Wed, 9 Nov 2022 20:49:41 +0100
>> >> >> +Subject: [PATCH] Makefile.am: do not clobber PYTHONPATH from build 
>> >> >> environment
>> >> >> +
>> >> >> +This environment variable has special significance for python,
>> >> >> +and so lirc's variable has to be named something else.
>> >> >> +
>> >> >> +Signed-off-

Re: [oe] [PATCH 2/2] lirc: correctly use PYTHONPATH

2022-11-09 Thread Alexander Kanavin
This commit shows that at some point in the past you fixed up
formatting to your preference. It does not set one way or another way
as the 'correct' one, particularly as it is not mentioned anywhere in
the layer.

And honestly, I don't care if it's consistent or not, and neither
should you or anyone else. It helps nobody to spend time and energy
enforcing those 4 spaces throughout the layer, as opposed to some
recipes having 4 spaces and some aligning with the value on the first
line. What's so bad about that, seriously?

If you feel strongly about this, you can just run a linter
periodically to fix it up.

Alex

On Wed, 9 Nov 2022 at 21:37, Martin Jansa  wrote:
>
> Style guide says:
> "Some layers prefer to use four-space indentation on sucessive lines and 
> prefer the closing quote as the first character"
>
> And this commit:
> https://git.openembedded.org/meta-openembedded/commit/?id=a45830a39bb47a9eab27980d52966226c9504ea4
> shows that meta-oe/meta-* layers belong to this group.
>
> Yes, it's not 100% consistent, but lets not make it less consistent, just 
> because "devtool finish" prepared such change.
>
> On Wed, Nov 9, 2022 at 9:32 PM Alexander Kanavin  
> wrote:
>>
>> This was re-set by devtool modify/devtool finish, I didn't
>> specifically adjust it.
>>
>> The styleguide says either way is ok. I'd suggest we spend our time on
>> more important matters.
>>
>> Alex
>>
>> On Wed, 9 Nov 2022 at 21:16, Martin Jansa  wrote:
>> >
>> > Please don't change SRC_URI indentation, meta-oe uses 4 spaces for 
>> > indentation with closing quote as the first character as described on 
>> > https://www.openembedded.org/wiki/Styleguide
>> >
>> > On Wed, Nov 9, 2022 at 9:06 PM Alexander Kanavin  
>> > wrote:
>> >>
>> >> Signed-off-by: Alexander Kanavin 
>> >> ---
>> >>  ...ot-clobber-PYTHONPATH-from-build-env.patch | 55 +++
>> >>  .../recipes-connectivity/lirc/lirc_0.10.2.bb  | 21 +++
>> >>  2 files changed, 66 insertions(+), 10 deletions(-)
>> >>  create mode 100644 
>> >> meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> >>
>> >> diff --git 
>> >> a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> >>  
>> >> b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> >> new file mode 100644
>> >> index 0..089ed23c7
>> >> --- /dev/null
>> >> +++ 
>> >> b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> >> @@ -0,0 +1,55 @@
>> >> +From 5e3b74927b4fef03d91518d235e9e3ba8cd7ab2e Mon Sep 17 00:00:00 2001
>> >> +From: Alexander Kanavin 
>> >> +Date: Wed, 9 Nov 2022 20:49:41 +0100
>> >> +Subject: [PATCH] Makefile.am: do not clobber PYTHONPATH from build 
>> >> environment
>> >> +
>> >> +This environment variable has special significance for python,
>> >> +and so lirc's variable has to be named something else.
>> >> +
>> >> +Signed-off-by: Alexander Kanavin 
>> >> +---
>> >> + Makefile.am   | 2 +-
>> >> + pylint.mak| 2 +-
>> >> + tools/Makefile.am | 2 +-
>> >> + 3 files changed, 3 insertions(+), 3 deletions(-)
>> >> +
>> >> +diff --git a/Makefile.am b/Makefile.am
>> >> +index 6718af1..fae423e 100644
>> >> +--- a/Makefile.am
>> >>  b/Makefile.am
>> >> +@@ -128,7 +128,7 @@ endif
>> >> +
>> >> + pylint: .phony
>> >> +   $(MAKE) -C tools pylint
>> >> +-  -PYTHONPATH=$(PYTHONPATH) $(PYLINT) --rcfile=pylint.conf \
>> >> ++  -PYTHONPATH=$(LIRCPYTHONPATH) $(PYLINT) --rcfile=pylint.conf \
>> >> +   --msg-template='$(pylint_template)' $(py_PYTHON)
>> >> +
>> >> + pep8: $(py_PYTHON)
>> >> +diff --git a/pylint.mak b/pylint.mak
>> >> +index bf427ab..2692951 100644
>> >> +--- a/pylint.mak
>> >>  b/pylint.mak
>> >> +@@ -1,5 +1,5 @@
>> >> + PYTHONPATH1  = $(abs_top_srcdir)/python-pkg/lirc:
>> >> + PYTHONPATH2  = $(abs_top_srcdir)/python-pkg/lirc/lib/.libs
>> >> +-PYTHONPATH   = $(PYTHONPATH1):$(PYTHO

Re: [oe] [PATCH 2/2] lirc: correctly use PYTHONPATH

2022-11-09 Thread Alexander Kanavin
This was re-set by devtool modify/devtool finish, I didn't
specifically adjust it.

The styleguide says either way is ok. I'd suggest we spend our time on
more important matters.

Alex

On Wed, 9 Nov 2022 at 21:16, Martin Jansa  wrote:
>
> Please don't change SRC_URI indentation, meta-oe uses 4 spaces for 
> indentation with closing quote as the first character as described on 
> https://www.openembedded.org/wiki/Styleguide
>
> On Wed, Nov 9, 2022 at 9:06 PM Alexander Kanavin  
> wrote:
>>
>> Signed-off-by: Alexander Kanavin 
>> ---
>>  ...ot-clobber-PYTHONPATH-from-build-env.patch | 55 +++
>>  .../recipes-connectivity/lirc/lirc_0.10.2.bb  | 21 +++
>>  2 files changed, 66 insertions(+), 10 deletions(-)
>>  create mode 100644 
>> meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>>
>> diff --git 
>> a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>>  
>> b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> new file mode 100644
>> index 0..089ed23c7
>> --- /dev/null
>> +++ 
>> b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Makefile.am-do-not-clobber-PYTHONPATH-from-build-env.patch
>> @@ -0,0 +1,55 @@
>> +From 5e3b74927b4fef03d91518d235e9e3ba8cd7ab2e Mon Sep 17 00:00:00 2001
>> +From: Alexander Kanavin 
>> +Date: Wed, 9 Nov 2022 20:49:41 +0100
>> +Subject: [PATCH] Makefile.am: do not clobber PYTHONPATH from build 
>> environment
>> +
>> +This environment variable has special significance for python,
>> +and so lirc's variable has to be named something else.
>> +
>> +Signed-off-by: Alexander Kanavin 
>> +---
>> + Makefile.am   | 2 +-
>> + pylint.mak| 2 +-
>> + tools/Makefile.am | 2 +-
>> + 3 files changed, 3 insertions(+), 3 deletions(-)
>> +
>> +diff --git a/Makefile.am b/Makefile.am
>> +index 6718af1..fae423e 100644
>> +--- a/Makefile.am
>>  b/Makefile.am
>> +@@ -128,7 +128,7 @@ endif
>> +
>> + pylint: .phony
>> +   $(MAKE) -C tools pylint
>> +-  -PYTHONPATH=$(PYTHONPATH) $(PYLINT) --rcfile=pylint.conf \
>> ++  -PYTHONPATH=$(LIRCPYTHONPATH) $(PYLINT) --rcfile=pylint.conf \
>> +   --msg-template='$(pylint_template)' $(py_PYTHON)
>> +
>> + pep8: $(py_PYTHON)
>> +diff --git a/pylint.mak b/pylint.mak
>> +index bf427ab..2692951 100644
>> +--- a/pylint.mak
>>  b/pylint.mak
>> +@@ -1,5 +1,5 @@
>> + PYTHONPATH1  = $(abs_top_srcdir)/python-pkg/lirc:
>> + PYTHONPATH2  = $(abs_top_srcdir)/python-pkg/lirc/lib/.libs
>> +-PYTHONPATH   = $(PYTHONPATH1):$(PYTHONPATH2)
>> ++LIRCPYTHONPATH   = $(PYTHONPATH1):$(PYTHONPATH2)
>> + PYLINT   = python3-pylint
>> + pylint_template  = {path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
>> +diff --git a/tools/Makefile.am b/tools/Makefile.am
>> +index 85d1fd0..96b17f8 100644
>> +--- a/tools/Makefile.am
>>  b/tools/Makefile.am
>> +@@ -142,7 +142,7 @@ force-pylint: .phony
>> +
>> + pylint: .pylint-stamp
>> + .pylint-stamp: $(py_sources)
>> +-  -PYTHONPATH=$(PYTHONPATH) $(PYLINT) --rcfile=../pylint.conf \
>> ++  -PYTHONPATH=$(LIRCPYTHONPATH) $(PYLINT) --rcfile=../pylint.conf \
>> +   --msg-template='$(pylint_template)' $? && touch $@
>> +
>> + .phony:
>> +--
>> +2.30.2
>> +
>> diff --git 
>> a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb
>>  
>> b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb
>> index 234d347af..458d9d7cd 100644
>> --- 
>> a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb
>> +++ 
>> b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb
>> @@ -11,16 +11,17 @@ DEPENDS = "libxslt-native alsa-lib libftdi libusb1 
>> libusb-compat jack portaudio-
>>  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
>>
>>  SRC_URI = "http://prdownloads.sourceforge.net/lirc/lirc-${PV}.tar.bz2 \
>> -file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
>> -file://fix_build_errors.patch \
>> -file://0001-mplay-Fix-build-with-musl.patch \
>> -file://lircd.service \
>> -file://lircd.init \
>> -file://lircexec.init \
>> -file://lir

  1   2   3   4   5   >