Re: [oe] OpenEmbedded Happy Hour July 26 5pm/1700 UTC

2023-07-25 Thread Denys Dmytriyenko
In less than a day, tomorrow, we hope to see everyone at OE Happy Hour.


On Wed, Jul 19, 2023 at 06:07:04PM -0400, Denys Dmytriyenko wrote:
> All,
> 
> A friendly reminder - our regular monthly OpenEmbedded Happy Hour is 1 week 
> away, on July 26 for Europe/Americas timezones @ 1700/5pm UTC (1pm ET/10am PT)
> 
> https://www.openembedded.org/wiki/Calendar
> https://www.openembedded.org/wiki/Happy_Hours
> https://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenEmbedded+Happy+Hour+July+26=20230726T17

-- 
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 (#104029): 
https://lists.openembedded.org/g/openembedded-devel/message/104029
Mute This Topic: https://lists.openembedded.org/mt/100245301/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] rsyslog: update from 8.2302.0 to 8.2306.0

2023-07-25 Thread nicolas.marguet via lists.openembedded.org
From: Nicolas Marguet 

ptest results for qemux86-64/kvm

   Version   | Passed | Failed | Skipped
8.2302.0 | 471|  0 |   5
8.2306.0 | 472|  0 |   5

Signed-off-by: Nicolas Marguet 
---
 .../rsyslog/{rsyslog_8.2302.0.bb => rsyslog_8.2306.0.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/rsyslog/{rsyslog_8.2302.0.bb => 
rsyslog_8.2306.0.bb} (97%)

diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2302.0.bb 
b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2306.0.bb
similarity index 97%
rename from meta-oe/recipes-extended/rsyslog/rsyslog_8.2302.0.bb
rename to meta-oe/recipes-extended/rsyslog/rsyslog_8.2306.0.bb
index 39d9516d0..c639e8147 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2302.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2306.0.bb
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=51d9635e646fb75e1b74c074f788e973 \
 file://COPYING.ASL20;md5=052f8a09206615ab07326ff8ce2d9d32\
 "
 
-SRC_URI = 
"http://www.rsyslog.com/download/files/download/rsyslog/${BPN}-${PV}.tar.gz \
+SRC_URI = "https://www.rsyslog.com/files/download/rsyslog/${BPN}-${PV}.tar.gz \
file://initscript \
file://rsyslog.conf \
file://rsyslog.logrotate \
@@ -31,7 +31,7 @@ SRC_URI:append:libc-musl = " \
 file://0001-Include-sys-time-h.patch \
 "
 
-SRC_URI[sha256sum] = 
"25415f85b662615ce3c83077d53758029e8743cb5929044bfd3564e3d626a3b9"
+SRC_URI[sha256sum] = 
"f6283efaadc609540a56e6bec88a362c966e77f29fe48e6b734bd6c1123e0be5"
 
 UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/releases;
 UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)"
-- 
2.39.0


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



[oe] [meta-oe][PATCH 2/2] nvme-cli: upgrade 1.13 -> 2.5

2023-07-25 Thread Christophe Vu-Brugier
From: Christophe Vu-Brugier 

Update the recipe to match the changes introduced in nvme-cli v2.0.

 * Add dependency on libnvme since the code base is split between
   nvme-cli and libnvme.
 * Add dependency on json-c.
 * Remove dependency on util-linux since libuuid is no longer needed.
 * Add license information for files from CCAN.
 * Use Meson to build the project.

Signed-off-by: Christophe Vu-Brugier 
---
 .../{nvme-cli_1.13.bb => nvme-cli_2.5.bb}  | 18 --
 1 file changed, 8 insertions(+), 10 deletions(-)
 rename meta-oe/recipes-bsp/nvme-cli/{nvme-cli_1.13.bb => nvme-cli_2.5.bb} (65%)

diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.13.bb 
b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.5.bb
similarity index 65%
rename from meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.13.bb
rename to meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.5.bb
index 1055fa42a9..dd273e24d0 100644
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.13.bb
+++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.5.bb
@@ -2,22 +2,20 @@ SUMMARY = "NVMe management command line interface"
 AUTHOR = "Stefan Wiehler "
 HOMEPAGE = "https://github.com/linux-nvme/nvme-cli;
 SECTION = "console/utils"
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022"
-DEPENDS = "util-linux"
-PV .= "+git${SRCPV}"
+LICENSE = "GPL-2.0-only & CC0-1.0 & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \
+
file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
+
file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
+DEPENDS = "json-c libnvme"
+SRCREV = "d6c07e0de9be777009ebb9ab7475bee1ae3e0e95"
 
 SRC_URI = 
"git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https"
-SRCREV = "f0e9569df9289d6ee55ba2c23615cc7c73a9b088"
 
 S = "${WORKDIR}/git"
 
-inherit bash-completion systemd
+inherit bash-completion meson pkgconfig systemd
 
-do_install() {
-oe_runmake install-spec DESTDIR=${D} PREFIX=${prefix} \
-UDEVDIR=${nonarch_base_libdir}/udev SYSTEMDDIR=${systemd_unitdir}
-}
+EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system"
 
 pkg_postinst_ontarget:${PN}() {
 ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn
-- 
2.40.1


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



[oe] [meta-oe][PATCH 1/2] libnvme: add recipe

2023-07-25 Thread Christophe Vu-Brugier
From: Christophe Vu-Brugier 

Signed-off-by: Christophe Vu-Brugier 
---
 .../recipes-support/libnvme/libnvme_1.5.bb| 20 +++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-support/libnvme/libnvme_1.5.bb

diff --git a/meta-oe/recipes-support/libnvme/libnvme_1.5.bb 
b/meta-oe/recipes-support/libnvme/libnvme_1.5.bb
new file mode 100644
index 00..607b055d81
--- /dev/null
+++ b/meta-oe/recipes-support/libnvme/libnvme_1.5.bb
@@ -0,0 +1,20 @@
+SUMMARY = "libnvme development C library"
+DESCRIPTION = "\
+libnvme provides type definitions for NVMe specification structures, \
+enumerations, and bit fields, helper functions to construct, dispatch, \
+and decode commands and payloads, and utilities to connect, scan, and \
+manage nvme devices on a Linux system."
+HOMEPAGE = "https://github.com/linux-nvme/${BPN};
+SECTION = "libs"
+LICENSE = "LGPL-2.1-only & CC0-1.0 & MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
+
file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
+
file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
+DEPENDS = "json-c"
+SRCREV = "4fea83db8328ea788ea8f1001e8ce1cb80ef5fae"
+
+SRC_URI = "git://github.com/linux-nvme/libnvme;protocol=https;branch=master"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
-- 
2.40.1


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



[oe] ola_git.bb: where should this recipe be placed?

2023-07-25 Thread Jan Vermaete
Hi,

I have modified the recipe for Open Light Architecture in meta-calaos.

The meta-calaos layer seems to be not maintained.

Open Light Architecture (https://github.com/OpenLightingProject/ola)
seems to be maintained.

It is a service to control dmx512 controllers used in staging and
other lightning solutions.
And I'm using it with a raspberrypi (thanks meta-raspberrypi). But
only a small part of the possibilities of this application is tested
by me.

The DMX512 protocol is open. And OLA also :-)

Where could this recipe belong?
meta-multimedia?  Or not at all under meta-oe?

br
-- 
Jan Vermaete
“Success is a self-correcting phenomenom.” -- Gary Hamel

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



[oe] [meta-python][PATCH 7/7] python3-sqlparse: upgrade 0.4.3 -> 0.4.4

2023-07-25 Thread Trevor Gamblin
- Use python_flit_core instead of setuptools3
- Modify 0001-sqlparse-change-shebang-to-python3.patch to apply on 0.4.4
- Remove CVE-2023-30608.patch since it's now upstream:

[tgamblin@megalith sqlparse]$ git tag --contains c457abd
0.4.4

Changelog (https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG):

Release 0.4.4 (Apr 18, 2023)


Notable Changes

* IMPORTANT: This release fixes a security vulnerability in the
  parser where a regular expression vulnerable to ReDOS (Regular
  Expression Denial of Service) was used. See the security advisory
  for details: 
https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2
  The vulnerability was discovered by @erik-krogh from GitHub
  Security Lab (GHSL). Thanks for reporting!

Bug Fixes

* Revert a change from 0.4.0 that changed IN to be a comparison (issue694).
  The primary expectation is that IN is treated as a keyword and not as a
  comparison operator. That also follows the definition of reserved keywords
  for the major SQL syntax definitions.
* Fix regular expressions for string parsing.

Other

* sqlparse now uses pyproject.toml instead of setup.cfg (issue685).

Signed-off-by: Trevor Gamblin 
---
 ...1-sqlparse-change-shebang-to-python3.patch | 80 ++-
 .../python3-sqlparse/CVE-2023-30608.patch | 51 
 ...rse_0.4.3.bb => python3-sqlparse_0.4.4.bb} |  5 +-
 3 files changed, 7 insertions(+), 129 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-sqlparse/CVE-2023-30608.patch
 rename meta-python/recipes-devtools/python/{python3-sqlparse_0.4.3.bb => 
python3-sqlparse_0.4.4.bb} (78%)

diff --git 
a/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch
 
b/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch
index 94121340d5..0c9f29a6b8 100644
--- 
a/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch
+++ 
b/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch
@@ -1,4 +1,4 @@
-From 7fd00ab8c1b663052d57e735b6b956d5c92fbaed Mon Sep 17 00:00:00 2001
+From f236a30dc8528b6f114201580f1efdcc1c447d43 Mon Sep 17 00:00:00 2001
 From: Changqing Li 
 Date: Mon, 9 Mar 2020 13:10:37 +0800
 Subject: [PATCH] sqlparse: change shebang to python3
@@ -12,80 +12,10 @@ dropped.
 Signed-off-by: Changqing Li 
 Signed-off-by: Leon Anavi 
 ---
- 0001-sqlparse-change-shebang-to-python3.patch | 51 +++
- setup.py  |  2 +-
- sqlparse/__main__.py  |  2 +-
- sqlparse/cli.py   |  2 +-
- 4 files changed, 54 insertions(+), 3 deletions(-)
- create mode 100644 0001-sqlparse-change-shebang-to-python3.patch
+ sqlparse/__main__.py | 2 +-
+ sqlparse/cli.py  | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/0001-sqlparse-change-shebang-to-python3.patch 
b/0001-sqlparse-change-shebang-to-python3.patch
-new file mode 100644
-index 000..ad6c50f
 /dev/null
-+++ b/0001-sqlparse-change-shebang-to-python3.patch
-@@ -0,0 +1,51 @@
-+From 10c9d3341d64d697f678a64ae707f6bda21565bb Mon Sep 17 00:00:00 2001
-+From: Changqing Li 
-+Date: Mon, 9 Mar 2020 13:10:37 +0800
-+Subject: [PATCH] sqlparse: change shebang to python3
-+
-+Upstream-Status: Pending
-+
-+Don't send upstream since upstream still support python2,
-+we can only make this change after python2 is offcially
-+dropped.
-+
-+Signed-off-by: Changqing Li 
-+---
-+ setup.py | 2 +-
-+ sqlparse/__main__.py | 2 +-
-+ sqlparse/cli.py  | 2 +-
-+ 3 files changed, 3 insertions(+), 3 deletions(-)
-+
-+diff --git a/setup.py b/setup.py
-+index 345d0ce..ce3abc3 100644
-+--- a/setup.py
- b/setup.py
-+@@ -1,4 +1,4 @@
-+-#!/usr/bin/env python
-++#!/usr/bin/env python3
-+ # -*- coding: utf-8 -*-
-+ #
-+ # Copyright (C) 2009-2018 the sqlparse authors and contributors
-+diff --git a/sqlparse/__main__.py b/sqlparse/__main__.py
-+index 867d75d..dd0c074 100644
-+--- a/sqlparse/__main__.py
- b/sqlparse/__main__.py
-+@@ -1,4 +1,4 @@
-+-#!/usr/bin/env python
-++#!/usr/bin/env python3
-+ # -*- coding: utf-8 -*-
-+ #
-+ # Copyright (C) 2009-2018 the sqlparse authors and contributors
-+diff --git a/sqlparse/cli.py b/sqlparse/cli.py
-+index 2a5..8bf050a 100755
-+--- a/sqlparse/cli.py
- b/sqlparse/cli.py
-+@@ -1,4 +1,4 @@
-+-#!/usr/bin/env python
-++#!/usr/bin/env python3
-+ # -*- coding: utf-8 -*-
-+ #
-+ # Copyright (C) 2009-2018 the sqlparse authors and contributors
-+-- 
-+2.7.4
-+
-diff --git a/setup.py b/setup.py
-index ede0aff..dc6a323 100644
 a/setup.py
-+++ b/setup.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- #
- # Copyright (C) 2009-2020 the sqlparse authors and contributors
- # 
 diff --git a/sqlparse/__main__.py b/sqlparse/__main__.py
 index 2bf2513..6a3a115 100644
 --- 

[oe] [meta-python][PATCH 4/7] python3-matplotlib: upgrade 3.6.3 -> 3.7.2

2023-07-25 Thread Trevor Gamblin
- Adjust target lines in setup.py for LIC_FILES_CHKSUM, since the
  content of interest has moved (but not changed)
- Tweak matplotlib-disable-download.patch to apply on 3.7.2
- Remove backported patch since it's in 3.7.2:

[tgamblin@megalith matplotlib]$ git log --oneline --grep="removed 
RandomNumberGenerator class"
601d92a885 removed RandomNumberGenerator class, included , replaced 
random_shuffle with shuffle and used mersenne twister engine to generate 
uniform random bit generator for the shuffle.
[tgamblin@megalith matplotlib]$ git tag --contains 601d92a885
v3.7.0
v3.7.0rc1
v3.7.1
v3.7.2

Changelog: https://github.com/matplotlib/matplotlib/releases

Signed-off-by: Trevor Gamblin 
---
 ...mberGenerator-class-included-random-.patch | 59 ---
 .../matplotlib-disable-download.patch | 28 -
 ...b_3.6.3.bb => python3-matplotlib_3.7.2.bb} |  7 ++-
 3 files changed, 18 insertions(+), 76 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-matplotlib/0001-removed-RandomNumberGenerator-class-included-random-.patch
 rename meta-python/recipes-devtools/python/{python3-matplotlib_3.6.3.bb => 
python3-matplotlib_3.7.2.bb} (90%)

diff --git 
a/meta-python/recipes-devtools/python/python3-matplotlib/0001-removed-RandomNumberGenerator-class-included-random-.patch
 
b/meta-python/recipes-devtools/python/python3-matplotlib/0001-removed-RandomNumberGenerator-class-included-random-.patch
deleted file mode 100644
index 1f9b8cdeaf..00
--- 
a/meta-python/recipes-devtools/python/python3-matplotlib/0001-removed-RandomNumberGenerator-class-included-random-.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 3eb9987b02cc10b93e09219ddc86aa6be5f10177 Mon Sep 17 00:00:00 2001
-From: tybeller 
-Date: Fri, 30 Sep 2022 16:13:41 -0400
-Subject: [PATCH] removed RandomNumberGenerator class, included ,
- replaced random_shuffle with shuffle and used mersenne twister engine to
- generate uniform random bit generator for the shuffle.
-
-Upstream-Status: Backport 
[https://github.com/matplotlib/matplotlib/commit/601d92a8850]
-Signed-off-by: Khem Raj 

- src/tri/_tri.cpp | 20 
- 1 file changed, 4 insertions(+), 16 deletions(-)
-
-diff --git a/src/tri/_tri.cpp b/src/tri/_tri.cpp
-index b7a87783de..6e639eea44 100644
 a/src/tri/_tri.cpp
-+++ b/src/tri/_tri.cpp
-@@ -12,6 +12,7 @@
- 
- #include 
- #include 
-+#include 
- 
- 
- TriEdge::TriEdge()
-@@ -1465,8 +1466,8 @@ TrapezoidMapTriFinder::initialize()
- _tree->assert_valid(false);
- 
- // Randomly shuffle all edges other than first 2.
--RandomNumberGenerator rng(1234);
--std::random_shuffle(_edges.begin()+2, _edges.end(), rng);
-+std::mt19937 rng(1234);
-+std::shuffle(_edges.begin()+2, _edges.end(), rng);
- 
- // Add edges, one at a time, to tree.
- size_t nedges = _edges.size();
-@@ -2055,17 +2056,4 @@ 
TrapezoidMapTriFinder::Trapezoid::set_upper_right(Trapezoid* upper_right_)
- upper_right = upper_right_;
- if (upper_right != 0)
- upper_right->upper_left = this;
--}
--
--
--
--RandomNumberGenerator::RandomNumberGenerator(unsigned long seed)
--: _m(21870), _a(1291), _c(4621), _seed(seed % _m)
--{}
--
--unsigned long
--RandomNumberGenerator::operator()(unsigned long max_value)
--{
--_seed = (_seed*_a + _c) % _m;
--return (_seed*max_value) / _m;
--}
-+}
-\ No newline at end of file
--- 
-2.39.0
-
diff --git 
a/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch
 
b/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch
index 899cac624a..aea8f62ea7 100644
--- 
a/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch
+++ 
b/meta-python/recipes-devtools/python/python3-matplotlib/matplotlib-disable-download.patch
@@ -4,19 +4,17 @@ Upstream-Status: Inappropriate [disable feature]
 
 Signed-off-by: Mark Hatle 
 
+Update patch to fit on 3.7.2.
+
+Signed-off-by: Trevor Gamblin 
+
+diff --git a/setup.py b/setup.py
+index 0bea13fa6f..f39d8fc871 100644
 --- a/setup.py
 +++ b/setup.py
-@@ -303,7 +303,6 @@ setup(  # Finally, pass this all along t
- setup_requires=[
- "certifi>=2020.06.20",
- "numpy>=1.19",
--"setuptools_scm>=7",
- ],
- install_requires=[
- "contourpy>=1.0.1",
-@@ -315,13 +314,7 @@ setup(  # Finally, pass this all along t
+@@ -327,13 +327,7 @@ setup(  # Finally, pass this all along to setuptools to 
do the heavy lifting.
  "pillow>=6.2.0",
- "pyparsing>=2.2.1",
+ "pyparsing>=2.3.1,<3.1",
  "python-dateutil>=2.7",
 -] + (
 -# Installing from a git checkout that is not producing a wheel.
@@ -26,12 +24,14 @@ Signed-off-by: Mark Hatle 
 -) else []
 -),
 +],
- use_scm_version={
- "version_scheme": "release-branch-semver",
- "local_scheme": "node-and-date",
+ extras_require={
+ ':python_version<"3.10"': [
+ 

[oe] [meta-python][PATCH 5/7] python3-pyaudio: upgrade 0.2.11 -> 0.2.13

2023-07-25 Thread Trevor Gamblin
License-Update: Move to LICENSE.txt

Changelog:

2022-12-26  Hubert Pham  

  PyAudio 0.2.13

  * Move pyaudio.Stream to pyaudio.PyAudio.Stream.
The pyaudio.Stream class is now pyaudio.PyAudio.Stream, nested under the
existing pyaudio.PyAudio class. This should not affect existing code, as
directly accessing the module-level pyaudio.Stream class has always been
unsupported (use PyAudio.open instead). Accessing pyaudio.Stream
directly is deprecated and will raise a DeprecationWarning.

  * Deprecate PaMacCoreStreamInfo's get_channel_map() and get_flags() methods.
Use the channel_map and flags properties, respectively, instead. Also
deprecates internal method _get_host_api_stream_object. Calling
deprecated methods will raise a DeprecationWarning.

  * Package PyAudio as an actual package (directory).
Previously, the library deployed a single pyaudio.py file and a C
extension module to the root of site-packages. Now, the library deploys
a Python package.

  * Add default shared library path for Homebrew installations on Apple Silicon.

  * Refactor and cleanup.
- Refactor C extension for better maintainability.
- Add more unit tests.
- Update and modernize examples directory.
- Improve C and python style conformance, plus many cosmetic updates.

2022-07-18  Hubert Pham  

  PyAudio 0.2.12

  - Modernize build process for Microsoft Windows, using the native toolchain.

Setuptool setup.py and INSTALL instructions are more streamlined.
Building from Cygwin/MinGW is no longer supported nor tested.

Thanks to Sean Zimmermann for the patches and general help!

  - Change default frames per buffer size to paFramesPerBufferUnspecified.

Previously, pyaudio.py set a default frames per buffer size of 1024,
which can lead to dropped frames on some systems.  Now, by default,
PortAudio selects the buffer size based on host and latency
requirements.

Thanks to Jason Hihn for the suggestion!

  - Minor fixes and refactoring for compatibility with Python 3.7+.

Updates include:
* Remove call to deprecated PyEval_InitThreads() for Python 3.7+
* Use Py_ssize_t types in appropriate places (for Python 3.10+).
* Remove the min macro to ease compilation for Windows.

  - Use the locale's preferred encoding to decode device names.

Thanks to Eiichi Takamori for the patch!

  - Unit tests: add skipIf decorators to skip tests that require hardware.

Set the PYAUDIO_SKIP_HW_TESTS environment variable to disable tests that
require sound hardware, useful for (automated) test environments without
access to audio devices.

Thanks to Matěj Cepl for the suggestion and patch!

  - Documentation, examples, and unit tests: various fixes.
* Add more unit tests and repair a few that test the GIL on macOS.
* Remove examples/error.py, which is redundant with tests/error_tests.py.
* Fix type documentation of return value types in docstrings.

Thanks to Vasily Zakharov for pointing out the return-value type errors!

  - Modernize packaging: add LICENSE.txt, pyproject.toml, and classifiers.

Signed-off-by: Trevor Gamblin 
---
 ...{python3-pyaudio_0.2.11.bb => python3-pyaudio_0.2.13.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyaudio_0.2.11.bb => 
python3-pyaudio_0.2.13.bb} (53%)

diff --git a/meta-python/recipes-devtools/python/python3-pyaudio_0.2.11.bb 
b/meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb
similarity index 53%
rename from meta-python/recipes-devtools/python/python3-pyaudio_0.2.11.bb
rename to meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb
index 802ca35100..dbeed9c2d8 100644
--- a/meta-python/recipes-devtools/python/python3-pyaudio_0.2.11.bb
+++ b/meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb
@@ -1,12 +1,12 @@
 SUMMARY = "PyAudio provides Python bindings for PortAudio, the cross-platform 
audio I/O library"
 SECTION = "devel/python"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://README;md5=288793c2b9b05bd67abbd2a8f5d144f7"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7c3152b432b96d6dc4a1cb35397da9ec"
 
 PYPI_PACKAGE = "PyAudio"
 
-SRC_URI[md5sum] = "7e4c88139284033f67b4336c74eda3b8"
-SRC_URI[sha256sum] = 
"93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74"
+SRC_URI[md5sum] = "41199ffd2abbdaf1ce6b88cf8af48cc5"
+SRC_URI[sha256sum] = 
"26bccc81e4243d1c0ff5487e6b481de6329fcd65c79365c267cef38f363a2b56"
 
 inherit pypi setuptools3
 
-- 
2.41.0


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



[oe] [meta-python][PATCH 6/7] python3-pybind11: upgrade 2.10.3 -> 2.11.1

2023-07-25 Thread Trevor Gamblin
Changelog: https://github.com/pybind/pybind11/releases

Signed-off-by: Trevor Gamblin 
---
 .../{python3-pybind11_2.10.3.bb => python3-pybind11_2.11.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pybind11_2.10.3.bb => 
python3-pybind11_2.11.1.bb} (92%)

diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb 
b/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb
rename to meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb
index bb604982d0..d51dd905a5 100644
--- a/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb
@@ -7,7 +7,7 @@ DEPENDS = "boost"
 
 SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https"
 
-SRCREV = "0bd8896a4010f2d91b2340570c24fa08606ec406"
+SRCREV = "8a099e44b3d5f85b20f05828d919d2332a8de841"
 
 S = "${WORKDIR}/git"
 
-- 
2.41.0


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



[oe] [meta-python][PATCH 3/7] python3-m2crypto: upgrade 0.38.0 -> 0.39.0

2023-07-25 Thread Trevor Gamblin
Remove the CVE-2020-25657 patch, as it is fixed in 0.39.0:

[tgamblin@megalith m2crypto]$ git log --oneline --grep="CVE-2020-25657"
84c5395 Mitigate the Bleichenbacher timing attacks in the RSA decryption API 
(CVE-2020-25657)
[tgamblin@megalith m2crypto]$ git tag --contains 
84c53958def0f510e92119fca14d74f94215827a
0.39.0

Changelog 
(https://gitlab.com/m2crypto/m2crypto/-/blob/master/CHANGES?ref_type=heads):

0.39.0 - 2023-01-31
---

- SUPPORT FOR PYTHON 2 HAS BEEN DEPRECATED AND IT WILL BE
  COMPLETELY REMOVED IN THE NEXT RELEASE.
- Remove dependency on parameterized and use unittest.subTest
  instead.
- Upgrade embedded six.py module to 1.16.0 (really tiny
  inconsequential changes).
- Make tests working on MacOS again (test_bio_membuf: Use fork)
- Use OpenSSL_version_num() instead of unrealiable parsing of .h
  file.
- Mitigate the Bleichenbacher timing attacks in the RSA
  decryption API (CVE-2020-25657)
- Add functionality to extract EC key from public key + Update
  tests
- Worked around compatibility issues with OpenSSL 3.*
- Support for Twisted has been deprecated (they have their own
  SSL support anyway).
- Generate TAP while testing.
- Stop using GitHub for testing.
- Accept a small deviation from time in the testsuite (for
  systems with non-standard HZ kernel parameter).
- Use the default BIO.__del__ rather tha overriding in BIO.File
  (avoid a memleak).
- Resolve "X509_Name.as_der() method from X509.py -> class
  X509_Name caused segmentation fault"

Signed-off-by: Trevor Gamblin 
---
 .../python3-m2crypto/CVE-2020-25657.patch | 176 --
 ...o_0.38.0.bb => python3-m2crypto_0.39.0.bb} |   3 +-
 2 files changed, 1 insertion(+), 178 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-m2crypto/CVE-2020-25657.patch
 rename meta-python/recipes-devtools/python/{python3-m2crypto_0.38.0.bb => 
python3-m2crypto_0.39.0.bb} (92%)

diff --git 
a/meta-python/recipes-devtools/python/python3-m2crypto/CVE-2020-25657.patch 
b/meta-python/recipes-devtools/python/python3-m2crypto/CVE-2020-25657.patch
deleted file mode 100644
index 38ecd7a276..00
--- a/meta-python/recipes-devtools/python/python3-m2crypto/CVE-2020-25657.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-Backport patch to fix CVE-2020-25657.
-
-Upstream-Status: Backport 
[https://gitlab.com/m2crypto/m2crypto/-/commit/84c53958]
-
-Signed-off-by: Kai Kang 
-
-From 84c53958def0f510e92119fca14d74f94215827a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= 
-Date: Tue, 28 Jun 2022 21:17:01 +0200
-Subject: [PATCH] Mitigate the Bleichenbacher timing attacks in the RSA
- decryption API (CVE-2020-25657)
-
-Fixes #282

- src/SWIG/_m2crypto_wrap.c | 20 
- src/SWIG/_rsa.i   | 20 
- tests/test_rsa.py | 15 +++
- 3 files changed, 31 insertions(+), 24 deletions(-)
-
-diff --git a/src/SWIG/_m2crypto_wrap.c b/src/SWIG/_m2crypto_wrap.c
-index aba9eb6d..a9f30da9 100644
 a/src/SWIG/_m2crypto_wrap.c
-+++ b/src/SWIG/_m2crypto_wrap.c
-@@ -7040,9 +7040,10 @@ PyObject *rsa_private_encrypt(RSA *rsa, PyObject *from, 
int padding) {
- tlen = RSA_private_encrypt(flen, (unsigned char *)fbuf,
- (unsigned char *)tbuf, rsa, padding);
- if (tlen == -1) {
--m2_PyErr_Msg(_rsa_err);
-+ERR_clear_error();
-+PyErr_Clear();
- PyMem_Free(tbuf);
--return NULL;
-+Py_RETURN_NONE;
- }
- 
- ret = PyBytes_FromStringAndSize((const char *)tbuf, tlen);
-@@ -7070,9 +7071,10 @@ PyObject *rsa_public_decrypt(RSA *rsa, PyObject *from, 
int padding) {
- tlen = RSA_public_decrypt(flen, (unsigned char *)fbuf,
- (unsigned char *)tbuf, rsa, padding);
- if (tlen == -1) {
--m2_PyErr_Msg(_rsa_err);
-+ERR_clear_error();
-+PyErr_Clear();
- PyMem_Free(tbuf);
--return NULL;
-+Py_RETURN_NONE;
- }
- 
- ret = PyBytes_FromStringAndSize((const char *)tbuf, tlen);
-@@ -7097,9 +7099,10 @@ PyObject *rsa_public_encrypt(RSA *rsa, PyObject *from, 
int padding) {
- tlen = RSA_public_encrypt(flen, (unsigned char *)fbuf,
- (unsigned char *)tbuf, rsa, padding);
- if (tlen == -1) {
--m2_PyErr_Msg(_rsa_err);
-+ERR_clear_error();
-+PyErr_Clear();
- PyMem_Free(tbuf);
--return NULL;
-+Py_RETURN_NONE;
- }
- 
- ret = PyBytes_FromStringAndSize((const char *)tbuf, tlen);
-@@ -7124,9 +7127,10 @@ PyObject *rsa_private_decrypt(RSA *rsa, PyObject *from, 
int padding) {
- tlen = RSA_private_decrypt(flen, (unsigned char *)fbuf,
- (unsigned char *)tbuf, rsa, padding);
- if (tlen == -1) {
--m2_PyErr_Msg(_rsa_err);
-+ERR_clear_error();
-+PyErr_Clear();
- PyMem_Free(tbuf);
--return NULL;
-+Py_RETURN_NONE;
- }
- ret = PyBytes_FromStringAndSize((const char *)tbuf, tlen);
- 
-diff --git a/src/SWIG/_rsa.i b/src/SWIG/_rsa.i

[oe] [meta-python][PATCH 1/7] python3-fastjsonschema: upgrade 2.16.3 -> 2.18.0

2023-07-25 Thread Trevor Gamblin
Changelog 
(https://github.com/horejsek/python-fastjsonschema/blob/master/CHANGELOG.txt):

=== 2.18.0 (2023-07-22)

* Improved error message for required props - only missing are reported
* Fixed support of boolean schema in if-then-else application

=== 2.17.1 (2023-05-22)

* Fixed tests in sdist

=== 2.17.0 (2023-05-21)

* Added support for Decimals
* Added tests in sdist

Signed-off-by: Trevor Gamblin 
---
 ...astjsonschema_2.16.3.bb => python3-fastjsonschema_2.18.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-fastjsonschema_2.16.3.bb 
=> python3-fastjsonschema_2.18.0.bb} (94%)

diff --git 
a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.3.bb 
b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
similarity index 94%
rename from meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.3.bb
rename to meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
index 689fe51a33..e0be7b6160 100644
--- a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.3.bb
+++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/seznam/python-fastjsonschema;
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"
 
-SRCREV = "4f11540d2e8f7c0aeae1230cdbc65a99f1b277c4"
+SRCREV = "756540088687cda351390f687b92e602feaa7dc6"
 PYPI_SRC_URI = 
"git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master"
 
 SRC_URI += "file://run-ptest"
-- 
2.41.0


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



[oe] [meta-python][PATCH 2/7] python3-jsonpatch: upgrade 1.32 -> 1.33

2023-07-25 Thread Trevor Gamblin
Update-License: Change name from COPYING to LICENSE

No changelog provided. Commit log:

0b05203 (tag: v1.33) bump version to 1.33
45cfe90 Switch to GitHub actions (#144)
33562b0 Update license text to match official 3-clause-BSD (#142)
a76f742 feat(jsondiff): Add support for preserving Unicode characters (#145)
714df3c docs: fix simple typo, raies -> raise (#135)
e0b3a9b Merge pull request #134 from Ventilateur/b/fix-invalid-remove-index
46eef55 remove unused import
db194f8 fix invalid remove index
a652648 Merge pull request #132 from JulienPalard/mdk/TypeError
c9bfb91 FIX: TypeError when one forgot to put its operation in a list.

Signed-off-by: Trevor Gamblin 
---
 .../{python3-jsonpatch_1.32.bb => python3-jsonpatch_1.33.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-jsonpatch_1.32.bb => 
python3-jsonpatch_1.33.bb} (65%)

diff --git a/meta-python/recipes-devtools/python/python3-jsonpatch_1.32.bb 
b/meta-python/recipes-devtools/python/python3-jsonpatch_1.33.bb
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-jsonpatch_1.32.bb
rename to meta-python/recipes-devtools/python/python3-jsonpatch_1.33.bb
index 2a653cce88..3d6deb2a61 100644
--- a/meta-python/recipes-devtools/python/python3-jsonpatch_1.32.bb
+++ b/meta-python/recipes-devtools/python/python3-jsonpatch_1.33.bb
@@ -1,11 +1,11 @@
 SUMMARY  = "Appling JSON patches in Python 2.6+ and 3.x"
 HOMEPAGE = "https://github.com/stefankoegl/python-json-patch;
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4f81c84f9a053e31fe9402a2a4e78864"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"b6ddfe6c3db30d81a96aaeceb6baf916094ffa23d7dd5fa2c13e13f8b6e600c2"
+SRC_URI[sha256sum] = 
"9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c"
 
 RDEPENDS:${PN} += " \
 ${PYTHON_PN}-json \
-- 
2.41.0


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



[oe] [meta-python][PATCH] python3-beautifulsoup4: upgrade 4.11.1 -> 4.12.2

2023-07-25 Thread Trevor Gamblin
beautifulsoup4 uses hatchling now, so inherit python_hatchling.

License-Update: Rename from COPYING.txt to LICENSE, update year

Changelog: https://git.launchpad.net/beautifulsoup/tree/CHANGELOG

Signed-off-by: Trevor Gamblin 
---
 ...ifulsoup4_4.11.1.bb => python3-beautifulsoup4_4.12.2.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-beautifulsoup4_4.11.1.bb 
=> python3-beautifulsoup4_4.12.2.bb} (61%)

diff --git 
a/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.11.1.bb 
b/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.2.bb
similarity index 61%
rename from meta-python/recipes-devtools/python/python3-beautifulsoup4_4.11.1.bb
rename to meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.2.bb
index 3037ea83c0..7eb2d7c345 100644
--- a/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.11.1.bb
+++ b/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.12.2.bb
@@ -1,11 +1,11 @@
 SUMMARY = "Screen-scraping library"
 HOMEPAGE = " https://www.crummy.com/software/BeautifulSoup/bs4;
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=15a76c7c51ecfc5c094d04f3ccd41a09"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=96e0034f7c9443910c486773aa1ed9ac"
 
-SRC_URI[sha256sum] = 
"ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693"
+SRC_URI[sha256sum] = 
"492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da"
 
-inherit pypi setuptools3
+inherit pypi python_hatchling
 
 RDEPENDS:${PN} = "\
 ${PYTHON_PN}-html5lib \
-- 
2.41.0


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



[oe] [meta-python][PATCH 5/5] python3-werkzeug: upgrade 2.2.3 -> 2.3.6

2023-07-25 Thread Trevor Gamblin
Upstream states that the build backend is now flit, but inheriting
python_flit_core alone still causes the following error:

| ModuleNotFoundError: No module named 'setuptools'
|
| ERROR Backend 'setuptools.build_meta' is not available.

Instead, inherit python_setuptools_build_meta, which works OK.

Changelog: https://github.com/pallets/werkzeug/blob/main/CHANGES.rst

Signed-off-by: Trevor Gamblin 
---
 .../{python3-werkzeug_2.2.3.bb => python3-werkzeug_2.3.6.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-werkzeug_2.2.3.bb => 
python3-werkzeug_2.3.6.bb} (90%)

diff --git a/meta-python/recipes-devtools/python/python3-werkzeug_2.2.3.bb 
b/meta-python/recipes-devtools/python/python3-werkzeug_2.3.6.bb
similarity index 90%
rename from meta-python/recipes-devtools/python/python3-werkzeug_2.2.3.bb
rename to meta-python/recipes-devtools/python/python3-werkzeug_2.3.6.bb
index 5565fb4ead..11441fca2b 100644
--- a/meta-python/recipes-devtools/python/python3-werkzeug_2.2.3.bb
+++ b/meta-python/recipes-devtools/python/python3-werkzeug_2.3.6.bb
@@ -12,9 +12,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
 
 PYPI_PACKAGE = "Werkzeug"
 
-SRC_URI[sha256sum] = 
"2e1ccc9417d4da358b9de6f174e3ac094391ea1d4fbef2d667865d819dfd0afe"
+SRC_URI[sha256sum] = 
"98c774df2f91b05550078891dee5f0eb0cb797a522c757a2452b9cee5b202330"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 CLEANBROKEN = "1"
 
-- 
2.41.0


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



[oe] [meta-python][PATCH 4/5] python3-snagboot: upgrade 1.0 -> 1.1

2023-07-25 Thread Trevor Gamblin
The udev file was updated and renamed in 1.1 to 50-snagboot.rules.

Changelog (https://github.com/bootlin/snagboot/releases/tag/v1.1):

- udev: use uaccess tags instead of group assignments
- fix and test i.MX8QM and i.MX93 supports
- homogenize i.MX firmware configuration interfaces
- don't require contributors to modify license headers
- fix README links on PyPI

Signed-off-by: Trevor Gamblin 
---
 .../{python3-snagboot_1.0.bb => python3-snagboot_1.1.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-snagboot_1.0.bb => 
python3-snagboot_1.1.bb} (69%)

diff --git a/meta-python/recipes-devtools/python/python3-snagboot_1.0.bb 
b/meta-python/recipes-devtools/python/python3-snagboot_1.1.bb
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-snagboot_1.0.bb
rename to meta-python/recipes-devtools/python/python3-snagboot_1.1.bb
index 1853596b46..e6f3148ce0 100644
--- a/meta-python/recipes-devtools/python/python3-snagboot_1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-snagboot_1.1.bb
@@ -3,7 +3,7 @@ SUMMARY = "Snagboot intends to be an open-source replacement 
vendor-specific too
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI[sha256sum] = 
"c2d21cadddecfd97dd62a8b66b6f88bd56272627b9b71272e9dda6f868ee8715"
+SRC_URI[sha256sum] = 
"40b045e6225f3544080558e4bd604d116d4cffceea80cb84307579d914e4e498"
 
 inherit pypi python_setuptools_build_meta
 
@@ -17,5 +17,5 @@ RDEPENDS:${PN} += " \
 "
 
 do_install:append() {
-install -D -m 0644 ${S}/src/snagrecover/80-snagboot.rules 
${D}${sysconfdir}/udev/rules.d/80-snagboot.rules
+install -D -m 0644 ${S}/src/snagrecover/50-snagboot.rules 
${D}${sysconfdir}/udev/rules.d/50-snagboot.rules
 }
-- 
2.41.0


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



[oe] [meta-python][PATCH 1/5] python3-semver: upgrade 2.13.0 -> 3.0.1

2023-07-25 Thread Trevor Gamblin
- Update to point at the proper license file with correct checksum.
  Previously it was pointing at a subset of a PKG-INFO file, which was
  a legacy output from distutils
- Update build backend and include python3-setuptools-scm-native in
  DEPENDS
- Modify ptest installation and run-ptest script since the tests have
  been moved into their own folder

Changelog: https://github.com/python-semver/python-semver/releases

Signed-off-by: Trevor Gamblin 
---
 .../python/python3-semver/run-ptest   |  2 +-
 .../python/python3-semver_2.13.0.bb   | 24 -
 .../python/python3-semver_3.0.1.bb| 26 +++
 3 files changed, 27 insertions(+), 25 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-semver_2.13.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-semver_3.0.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-semver/run-ptest 
b/meta-python/recipes-devtools/python/python3-semver/run-ptest
index 43c03b594b..cd2bc8537c 100644
--- a/meta-python/recipes-devtools/python/python3-semver/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-semver/run-ptest
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-pytest -o log_cli=true -o log_cli_level=INFO test_semver.py 
--disable-warnings| sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 
's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || 
$NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", 
$NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || 
$NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
+pytest -o log_cli=true -o log_cli_level=INFO tests/test_semver.py 
--disable-warnings| sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 
's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || 
$NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", 
$NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || 
$NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta-python/recipes-devtools/python/python3-semver_2.13.0.bb 
b/meta-python/recipes-devtools/python/python3-semver_2.13.0.bb
deleted file mode 100644
index b47bcae008..00
--- a/meta-python/recipes-devtools/python/python3-semver_2.13.0.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "Python module for Semantic Versioning"
-HOMEPAGE = "https://github.com/k-bx/python-semver;
-BUGTRACKER = "https://github.com/k-bx/python-semver/issues;
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
-
-SRC_URI[md5sum] = "e98b5fb283ea84daa5195087de83ebf1"
-SRC_URI[sha256sum] = 
"fa0fe2722ee1c3f57eac478820c3a5ae2f624af8264cbdf9000c980ff7f75e3f"
-
-inherit pypi setuptools3 ptest
-
-BBCLASSEXTEND = "native nativesdk"
-
-SRC_URI += " \
-file://run-ptest \
-"
-
-RDEPENDS:${PN}-ptest += " \
-${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
-cp -f ${S}/test_semver.py ${D}${PTEST_PATH}/
-}
diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb 
b/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb
new file mode 100644
index 00..2d85d789c7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Python module for Semantic Versioning"
+HOMEPAGE = "https://github.com/python-semver/python-semver;
+BUGTRACKER = "https://github.com/python-semver/python-semver;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98"
+
+SRC_URI[md5sum] = "b7502c12ce325eab694fed52f6f5"
+SRC_URI[sha256sum] = 
"9ec78c5447883c67b97f98c3b6212796708191d22e4ad30f4570f840171cbce1"
+
+inherit pypi python_setuptools_build_meta ptest
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+file://run-ptest \
+"
+
+DEPENDS += " python3-setuptools-scm-native"
+
+RDEPENDS:${PN}-ptest += " \
+${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+cp -rf ${S}/tests ${D}${PTEST_PATH}/
+}
-- 
2.41.0


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



[oe] [meta-python][PATCH 3/5] python3-sh: upgrade 1.14.3 -> 2.0.4

2023-07-25 Thread Trevor Gamblin
- The project uses poetry now, so inherit python_poetry_core
- Add python3-asyncio and python3-compression to RDEPENDS

Changelog (https://github.com/amoffat/sh/blob/develop/CHANGELOG.md):

2.0.4 - 5/13/22

- Allow ok_code to be used with fg #665
- Make sure new_group never creates a new session #675

2.0.2 / 2.0.3 (misversioned) - 2/13/22

- Performance regression when using a generator with _in #650
- Adding test support for python 3.11

2.0.0 - 2/9/22

- Executed commands now return a unicode string by default
- Removed magical module-like execution contexts #636
- Added basic asyncio support via _async
- Dropped support for Python < 3.8
- Bumped default tty size to more standard (24, 80)
- First argument being a RunningCommand no longer automatically passes it as 
stdin
- RunningCommand.__eq__ no longer has the side effect of executing the command 
#518
- _tee now supports both "err" and "out" #215
- Removed the builtin override cd link
- Altered process launching model to behave more expectedly #495
- Bugfix where _no_out isn't allowed with _iter="err" #638
- Allow keyword arguments to have a list of values #529

Signed-off-by: Trevor Gamblin 
---
 .../python/{python3-sh_1.14.3.bb => python3-sh_2.0.4.bb}| 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-sh_1.14.3.bb => 
python3-sh_2.0.4.bb} (73%)

diff --git a/meta-python/recipes-devtools/python/python3-sh_1.14.3.bb 
b/meta-python/recipes-devtools/python/python3-sh_2.0.4.bb
similarity index 73%
rename from meta-python/recipes-devtools/python/python3-sh_1.14.3.bb
rename to meta-python/recipes-devtools/python/python3-sh_2.0.4.bb
index 317f648dcd..fa9f97a8f9 100644
--- a/meta-python/recipes-devtools/python/python3-sh_1.14.3.bb
+++ b/meta-python/recipes-devtools/python/python3-sh_2.0.4.bb
@@ -3,14 +3,16 @@ HOMEPAGE = "https://github.com/amoffat/sh;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5317094292296f03405f59ae5f6544b6"
 
-SRC_URI[sha256sum] = 
"e4045b6c732d9ce75d571c79f5ac2234edd9ae4f5fa9d59b09705082bdca18c7"
+SRC_URI[sha256sum] = 
"a18920f0839991bc9dfddb6dcc006c360b1064ba96257359f0ea356e9fa75a60"
 
 PYPI_PACKAGE = "sh"
 
-inherit pypi setuptools3
+inherit pypi python_poetry_core
 
 RDEPENDS:${PN} += " \
+${PYTHON_PN}-asyncio \
 ${PYTHON_PN}-codecs \
+${PYTHON_PN}-compression \
 ${PYTHON_PN}-core \
 ${PYTHON_PN}-io \
 ${PYTHON_PN}-logging \
-- 
2.41.0


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



[oe] [meta-python][PATCH 2/5] python3-send2trash: upgrade 1.8.0 -> 1.8.2

2023-07-25 Thread Trevor Gamblin
- Update build backend since they use a pyproject.toml file now.
- Add python3-io to RDEPENDS so that the module can be imported.

Changelog (https://github.com/arsenetar/send2trash/releases):

1.8.2

- Add fallback to HOMETRASH when cross device errors happen in plat_other (#26, 
#41, #63)
- win/legacy: tiny logic simplification by @BoboTiG in #77
- TravisCI is not used anymore by @sobolevn in #73
- fix(ci): Update to latest actions, fix python versions by @arsenetar in #78

1.8.1b0

- Add fallback to HOMETRASH when cross device errors happen in plat_other (#26, 
#41, #63)

Signed-off-by: Trevor Gamblin 
---
 ...3-send2trash_1.8.0.bb => python3-send2trash_1.8.2.bb} | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-python/recipes-extended/send2trash/{python3-send2trash_1.8.0.bb => 
python3-send2trash_1.8.2.bb} (51%)

diff --git 
a/meta-python/recipes-extended/send2trash/python3-send2trash_1.8.0.bb 
b/meta-python/recipes-extended/send2trash/python3-send2trash_1.8.2.bb
similarity index 51%
rename from meta-python/recipes-extended/send2trash/python3-send2trash_1.8.0.bb
rename to meta-python/recipes-extended/send2trash/python3-send2trash_1.8.2.bb
index a20b0194f8..eac89e6297 100644
--- a/meta-python/recipes-extended/send2trash/python3-send2trash_1.8.0.bb
+++ b/meta-python/recipes-extended/send2trash/python3-send2trash_1.8.2.bb
@@ -2,10 +2,13 @@ SUMMARY = "Send file to trash natively under Mac OS X, 
Windows and Linux"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a02659c2d5f4cc626e4dcf6504b865eb"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = 
"d2c24762fd3759860a0aff155e45871447ea58d2be6bdd39b5c8f966a0c99c2d"
+SRC_URI[sha256sum] = 
"c132d59fa44b9ca2b1699af5c86f57ce9f4c5eb56629d5d55fbb7a35f84e2312"
 
 PYPI_PACKAGE = "Send2Trash"
 
-RDEPENDS:${PN} += "python3-datetime"
+RDEPENDS:${PN} += "\
+python3-io \
+python3-datetime \
+"
-- 
2.41.0


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



[oe] [meta-oe] [PATCH v3] lastlog2: add new recipe

2023-07-25 Thread wangmy
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 ...emove-lto-to-fix-link-error-of-clang.patch | 31 
 .../lastlog2/lastlog2_1.1.0.bb| 36 +++
 2 files changed, 67 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch
 create mode 100644 meta-oe/recipes-extended/lastlog2/lastlog2_1.1.0.bb

diff --git 
a/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch
 
b/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch
new file mode 100644
index 00..71c3de9748
--- /dev/null
+++ 
b/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch
@@ -0,0 +1,31 @@
+From 692523d2f8bf0ce893a781761154db4277f0fceb Mon Sep 17 00:00:00 2001
+From: Wang Mingyu 
+Date: Wed, 19 Jul 2023 07:11:15 +
+Subject: remove lto to fix link error of clang
+
+error message:
+| tests/tst-y2038-64bit-time_t.p/tst-y2038-64bit-time_t.c.o: file not 
recognized: file format not recognized
+| clang-16: error: linker command failed with exit code 1 (use -v to see 
invocation)
+
+Upstream-Status: Pending
+
+Signed-off-by: Wang Mingyu 
+---
+ meson.build | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index c521577..13d993b 100644
+--- a/meson.build
 b/meson.build
+@@ -26,7 +26,6 @@ add_project_arguments(['-D_GNU_SOURCE=1',
+
'-DPROJECT_VERSION="@0@"'.format(meson.project_version()) ], language : 'c')
+ 
+ possible_cc_flags = [
+-  '-flto=auto',
+   '-ffat-lto-objects',
+ '-fstack-protector-strong',
+ '-funwind-tables',
+-- 
+2.34.1
+
diff --git a/meta-oe/recipes-extended/lastlog2/lastlog2_1.1.0.bb 
b/meta-oe/recipes-extended/lastlog2/lastlog2_1.1.0.bb
new file mode 100644
index 00..757af0073a
--- /dev/null
+++ b/meta-oe/recipes-extended/lastlog2/lastlog2_1.1.0.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Y2038 safe version of lastlog"
+HOMEPAGE = "https://github.com/thkukuk/lastlog2;
+DESCRIPTION = "lastlog reports the last login of a given user or of all users 
who did ever login on a system."
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c"
+SECTION = "libs"
+
+SRCREV = "585153a577788c590370d20e40263b61238dfab3"
+
+SRC_URI = "git://github.com/thkukuk/lastlog2.git;branch=main;protocol=https \
+   file://0001-remove-lto-to-fix-link-error-of-clang.patch \
+"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig systemd features_check
+
+DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} 
sqlite3 "
+REQUIRED_DISTRO_FEATURES = "pam"
+
+SYSTEMD_SERVICE:${PN} = "lastlog2-import.service"
+
+EXTRA_OEMESON = " -Dpamlibdir=${libdir}"
+
+do_install:append () {
+  if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname 
${D}${systemd_unitdir}` ]; then
+  # Fix makefile hardcoded path assumptions for systemd (assumes 
$prefix)
+  # without usrmerge distro feature enabled
+  install -d `dirname ${D}${systemd_unitdir}`
+  mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}`
+  fi
+}
+
+FILES:${PN} += " ${systemd_system_unitdir} "
+FILES:${PN} += " ${libdir} "
+FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* "
-- 
2.34.1


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



[oe] [meta-oe] [PATCH v3] wtmpdb: add new recipe

2023-07-25 Thread wangmy
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 ...emove-lto-to-fix-link-error-of-clang.patch | 31 
 .../recipes-extended/wtmpdb/wtmpdb_0.7.1.bb   | 36 +++
 2 files changed, 67 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/wtmpdb/files/0001-remove-lto-to-fix-link-error-of-clang.patch
 create mode 100644 meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb

diff --git 
a/meta-oe/recipes-extended/wtmpdb/files/0001-remove-lto-to-fix-link-error-of-clang.patch
 
b/meta-oe/recipes-extended/wtmpdb/files/0001-remove-lto-to-fix-link-error-of-clang.patch
new file mode 100644
index 00..ef188e7a15
--- /dev/null
+++ 
b/meta-oe/recipes-extended/wtmpdb/files/0001-remove-lto-to-fix-link-error-of-clang.patch
@@ -0,0 +1,31 @@
+From 9840939789dec9153150e8f9ae34de4171a5c15e Mon Sep 17 00:00:00 2001
+From: Wang Mingyu 
+Date: Wed, 19 Jul 2023 07:31:32 +
+Subject: [PATCH] remove lto to fix link error of clang
+
+error message:
+| tests/tst-dlopen.p/tst-dlopen.c.o: file not recognized: file format not 
recognized
+| clang-16: error: linker command failed with exit code 1 (use -v to see 
invocation)
+
+Upstream-Status: Pending
+
+Signed-off-by: Wang Mingyu 
+---
+ meson.build | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 6fe8045..166a15b 100644
+--- a/meson.build
 b/meson.build
+@@ -28,7 +28,6 @@ add_project_arguments(['-D_GNU_SOURCE=1',
+'-D_TIME_BITS=64'], language : 'c')
+ 
+ possible_cc_flags = [
+-  '-flto=auto',
+   '-ffat-lto-objects',
+ '-fstack-protector-strong',
+ '-funwind-tables',
+-- 
+2.34.1
+
diff --git a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb 
b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb
new file mode 100644
index 00..cffae2d432
--- /dev/null
+++ b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Y2038 safe version of wtmp"
+HOMEPAGE = "https://github.com/thkukuk/wtmpdb;
+DESCRIPTION = "last reports the login and logout times of users and when the 
machine got rebooted."
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c"
+SECTION = "libs"
+
+SRCREV = "502b19a41c7a3b1b5e70969b18088683825f71f8"
+
+SRC_URI = "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https \
+   file://0001-remove-lto-to-fix-link-error-of-clang.patch \
+"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig systemd features_check
+
+DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} 
sqlite3 "
+REQUIRED_DISTRO_FEATURES = "pam"
+
+SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service wtmpdb-rotate.service"
+
+EXTRA_OEMESON = " -Dpamlibdir=${libdir}"
+
+do_install:append () {
+  if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname 
${D}${systemd_unitdir}` ]; then
+  # Fix makefile hardcoded path assumptions for systemd (assumes 
$prefix)
+  # without usrmerge distro feature enabled
+  install -d `dirname ${D}${systemd_unitdir}`
+  mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}`
+  fi
+}
+
+FILES:${PN} += " ${systemd_system_unitdir} "
+FILES:${PN} += " ${libdir} "
+FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* "
-- 
2.34.1


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