Date   

Re: [meta-python][PATCH] python3-wxgtk4: replace deprecated inspect.getargspec

Kai Kang
 

On 11/30/22 06:19, Khem Raj wrote:
On Tue, Nov 29, 2022 at 6:51 AM Kai Kang <kai.kang@...> wrote:
From: Kai Kang <kai.kang@...>

Backport patch to replace deprecated inspect.getargspec in lib pubsub.

And add python3-pip to RDEPENDS which is required by utils wxdemo,
wxdocs and wxget provided by python3-wxgtk4.

Signed-off-by: Kai Kang <kai.kang@...>
---
...eplace-deprecated-inspect.getargspec.patch | 65 +++++++++++++++++++
.../python3-wxgtk4/python3-wxgtk4_4.2.0.bb | 2 +
2 files changed, 67 insertions(+)
create mode 100644 meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch

diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch
new file mode 100644
index 000000000..4501667f9
--- /dev/null
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch
@@ -0,0 +1,65 @@
+Upstream-Status: Backport [https://github.com/wxWidgets/Phoenix/commit/9986a0d5]
+
+Signed-off-by: Kai Kang <kai.kang@...>
+
+From 9986a0d5c24b5d45ddf571d60351f68765a8a9be Mon Sep 17 00:00:00 2001
+From: Scott Talbert <swt@...>
+Date: Mon, 8 Aug 2022 22:35:58 -0400
+Subject: [PATCH] pypubsub: Replace deprecated inspect.getargspec
+
+inspect.getargspec was removed in Python 3.11. This is a backport of:
+https://github.com/schollii/pypubsub/commit/089c7a73f85c76a3aa22e4b10c71db1bf65a8637
+---
+ wx/lib/pubsub/core/callables.py | 23 +++++++++++++++--------
+ 1 file changed, 15 insertions(+), 8 deletions(-)
+
+diff --git a/wx/lib/pubsub/core/callables.py b/wx/lib/pubsub/core/callables.py
+index 65eb1ebe..7e798c54 100644
+--- a/wx/lib/pubsub/core/callables.py
++++ b/wx/lib/pubsub/core/callables.py
+@@ -12,7 +12,7 @@ CallArgsInfo regarding its autoTopicArgName data member.
+
+ """
+
+-from inspect import getargspec, ismethod, isfunction
++from inspect import ismethod, isfunction, signature, Parameter
+
+ from .. import py2and3
+
+@@ -133,19 +133,26 @@ class CallArgsInfo:
+ self.autoTopicArgName = None."""
+
+ #args, firstArgIdx, defaultVals, acceptsAllKwargs
+- (allParams, varParamName, varOptParamName, defaultVals) = getargspec(func)
+- if defaultVals is None:
+- defaultVals = []
+- else:
+- defaultVals = list(defaultVals)
++ allParams = []
++ defaultVals = []
++ varParamName = None
++ varOptParamName = None
++ for argName, param in signature(func).parameters.items():
++ if param.default != Parameter.empty:
++ defaultVals.append(param.default)
++ if param.kind == Parameter.VAR_POSITIONAL:
++ varParamName = argName
++ elif param.kind == Parameter.VAR_KEYWORD:
++ varOptParamName = argName
++ else:
++ allParams.append(argName)
+
+ self.acceptsAllKwargs = (varOptParamName is not None)
+ self.acceptsAllUnnamedArgs = (varParamName is not None)
+-
+ self.allParams = allParams
+- del self.allParams[0:firstArgIdx] # does nothing if firstArgIdx == 0
+
+ self.numRequired = len(self.allParams) - len(defaultVals)
++ assert len(self.allParams) >= len(defaultVals)
+ assert self.numRequired >= 0
+
+ # if listener wants topic, remove that arg from args/defaultVals
+--
+2.34.1
+
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
index faea43777..df23037fc 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
@@ -13,6 +13,7 @@ PYPI_PACKAGE = "wxPython"
SRC_URI += "file://add-back-option-build-base.patch \
file://wxgtk-fixup-build-scripts.patch \
file://not-overwrite-cflags-cxxflags.patch \
+ file://0001-pypubsub-Replace-deprecated-inspect.getargspec.patch \
"
Fails to apply

patching file wx/lib/pubsub/core/callables.py
Hunk #1 FAILED at 12 (different line endings).
Hunk #2 FAILED at 133 (different line endings).
2 out of 2 hunks FAILED -- rejects in file wx/lib/pubsub/core/callables.py
Patch 0001-pypubsub-Replace-deprecated-inspect.getargspec.patch does
not apply (enforce with -f)
Sorry, my fault. v2 will be sent.

Kai



SRC_URI[sha256sum] = "663cebc4509d7e5d113518865fe274f77f95434c5d57bc386ed58d65ceed86c7"

@@ -29,6 +30,7 @@ RDEPENDS:${PN} = "\
python3-image \
python3-numpy \
python3-pillow \
+ python3-pip \
python3-pprint \
python3-pycairo \
python3-six \
--
2.17.1


--
Kai Kang
Wind River Linux


[meta-python] [PATCH] python3-termcolor: upgrade 2.1.0 -> 2.1.1

zhengruoqin
 

Changelog:
Add __main__ to re-enable demo via python -m termcolor (#27)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../{python3-termcolor_2.1.0.bb => python3-termcolor_2.1.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-termcolor_2.1.0.bb => python3-termcolor_2.1.1.bb} (81%)

diff --git a/meta-python/recipes-devtools/python/python3-termcolor_2.1.0.bb b/meta-python/recipes-devtools/python/python3-termcolor_2.1.1.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-termcolor_2.1.0.bb
rename to meta-python/recipes-devtools/python/python3-termcolor_2.1.1.bb
index 4794fc084..4f48f5e5c 100644
--- a/meta-python/recipes-devtools/python/python3-termcolor_2.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-termcolor_2.1.1.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e5f5f7c9b280511f124dba5dda3d180e"

inherit pypi python_setuptools_build_meta

-SRC_URI[sha256sum] = "b80df54667ce4f48c03fe35df194f052dc27a541ebbf2544e4d6b47b5d6949c4"
+SRC_URI[sha256sum] = "67cee2009adc6449c650f6bcf3bdeed00c8ba53a8cda5362733c53e0a39fb70b"

DEPENDS += " \
${PYTHON_PN}-toml-native \
--
2.25.1


[meta-python] [PATCH] python3-twitter: upgrade 4.10.1 -> 4.12.1

zhengruoqin
 

Changelog:
=============
* Add 1 second buffer to API v2 streaming timeout (51a5d61)
* Default AsyncBaseStream to abort closed SSL transports (#1904)
* Warn when Tweet data is missing default edit_history_tweet_ids field (3dea0df, #1994)
* Change initial network_error_wait to 0 for streaming (b18c1a6)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../{python3-twitter_4.10.1.bb => python3-twitter_4.12.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-twitter_4.10.1.bb => python3-twitter_4.12.1.bb} (82%)

diff --git a/meta-python/recipes-devtools/python/python3-twitter_4.10.1.bb b/meta-python/recipes-devtools/python/python3-twitter_4.12.1.bb
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-twitter_4.10.1.bb
rename to meta-python/recipes-devtools/python/python3-twitter_4.12.1.bb
index b283aef56..addbe16e0 100644
--- a/meta-python/recipes-devtools/python/python3-twitter_4.10.1.bb
+++ b/meta-python/recipes-devtools/python/python3-twitter_4.12.1.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "Python module to support twitter API"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=9;endline=9;md5=8227180126797a0148f94f483f3e1489"

-SRC_URI[sha256sum] = "310193775d7fc381abd6f37021a9af27f7e9edfcce5ec51bd73ea5f30c21fa61"
+SRC_URI[sha256sum] = "5e4c5b5d22f9e5dd9678a708fae4e40e6eeb1a860a89891a5de3040d5f3da8fe"

PYPI_PACKAGE = "tweepy"

--
2.25.1


[meta-python] [PATCH] python3-sentry-sdk: upgrade 1.9.10 -> 1.11.1

zhengruoqin
 

Changelog:
==============
Move set_transaction_name out of event processor in fastapi/starlette (#1751)
Expose proxy_headers as top level config and use in ProxyManager: https://docs.sentry.io/platforms/python/configuration/options/#proxy-headers (#1746)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
...ython3-sentry-sdk_1.9.10.bb => python3-sentry-sdk_1.11.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-sentry-sdk_1.9.10.bb => python3-sentry-sdk_1.11.1.bb} (86%)

diff --git a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.9.10.bb b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.11.1.bb
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-sentry-sdk_1.9.10.bb
rename to meta-python/recipes-devtools/python/python3-sentry-sdk_1.11.1.bb
index c09a01b2a..5b2cc4851 100644
--- a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.9.10.bb
+++ b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.11.1.bb
@@ -15,7 +15,7 @@ RDEPENDS:${PN} += "\
${PYTHON_PN}-datetime \
"

-SRC_URI[sha256sum] = "4fbace9a763285b608c06f01a807b51acb35f6059da6a01236654e08b0ee81ff"
+SRC_URI[sha256sum] = "675f6279b6bb1fea09fd61751061f9a90dca3b5929ef631dd50dc8b3aeb245e9"

PYPI_PACKAGE = "sentry-sdk"

--
2.25.1


[meta-python] [PATCH] python3-texttable: upgrade 1.6.4 -> 1.6.7

zhengruoqin
 

Changelog:
Get rid of stub file in wheel package (#84)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../{python3-texttable_1.6.4.bb => python3-texttable_1.6.7.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-texttable_1.6.4.bb => python3-texttable_1.6.7.bb} (74%)

diff --git a/meta-python/recipes-devtools/python/python3-texttable_1.6.4.bb b/meta-python/recipes-devtools/python/python3-texttable_1.6.7.bb
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-texttable_1.6.4.bb
rename to meta-python/recipes-devtools/python/python3-texttable_1.6.7.bb
index 6916a72d3..e8024987c 100644
--- a/meta-python/recipes-devtools/python/python3-texttable_1.6.4.bb
+++ b/meta-python/recipes-devtools/python/python3-texttable_1.6.7.bb
@@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7a97cdac2d9679ffdcfef3dc036d24f6"

inherit pypi setuptools3

-SRC_URI[sha256sum] = "42ee7b9e15f7b225747c3fa08f43c5d6c83bc899f80ff9bae9319334824076e9"
+SRC_URI[sha256sum] = "290348fb67f7746931bcdfd55ac7584ecd4e5b0846ab164333f0794b121760f2"

BBCLASSEXTEND = "native nativesdk"
--
2.25.1


[meta-python] [PATCH] python3-redis: upgrade 4.3.4 -> 4.3.5

zhengruoqin
 

Changelog:
=========
* New Features
--------------
Add support for TIMESERIES 1.8 (#2296)
Graph - add counters for removed labels and properties (#2292)
Add support for TDIGEST.QUANTILE extensions (#2317)
Add TDIGEST.TRIMMED_MEAN (#2300)
Add support for async GRAPH module (#2273)
Support TDIGEST.MERGESTORE and make compression optional on TDIGEST.CREATE (#2319)
Adding reserve as an alias for create, so that we have BF.RESERVE and CF.RESERVE accuratenly supported (#2331)

* Bug Fixes
--------------
Fix async connection.is_connected to return a boolean value (#2278)
Fix: workaround asyncio bug on connection reset by peer (#2259)
Fix crash: key expire while search (#2270)
Async cluster: fix concurrent pipeline (#2280)
Fix async SEARCH pipeline (#2316)
Fix KeyError in async cluster - initialize before execute multi key commands (#2439)

* Maintenance
----------------
Supply chain risk reduction: remove dependency on library named deprecated (#2386)
Search test - Ignore order of the items in the response (#2322)
Fix GRAPH.LIST & TDIGEST.QUANTILE tests (#2335)
Fix TimeSeries range aggregation (twa) tests (#2358)
Mark TOPK.COUNT as deprecated (#2363)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../python/{python3-redis_4.3.4.bb => python3-redis_4.3.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-redis_4.3.4.bb => python3-redis_4.3.5.bb} (82%)

diff --git a/meta-python/recipes-devtools/python/python3-redis_4.3.4.bb b/meta-python/recipes-devtools/python/python3-redis_4.3.5.bb
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-redis_4.3.4.bb
rename to meta-python/recipes-devtools/python/python3-redis_4.3.5.bb
index e0f953ca4..f6dcebb16 100644
--- a/meta-python/recipes-devtools/python/python3-redis_4.3.4.bb
+++ b/meta-python/recipes-devtools/python/python3-redis_4.3.5.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://github.com/andymccurdy/redis-py"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=51d9ad56299ab60ba7be65a621004f27"

-SRC_URI[sha256sum] = "ddf27071df4adf3821c4f2ca59d67525c3a82e5f268bed97b813cb4fabf87880"
+SRC_URI[sha256sum] = "30c07511627a4c5c4d970e060000772f323174f75e745a26938319817ead7a12"

inherit pypi setuptools3

--
2.25.1


Re: [meta-python][PATCH] python3-wxgtk4: replace deprecated inspect.getargspec

Khem Raj
 

On Tue, Nov 29, 2022 at 6:51 AM Kai Kang <kai.kang@...> wrote:

From: Kai Kang <kai.kang@...>

Backport patch to replace deprecated inspect.getargspec in lib pubsub.

And add python3-pip to RDEPENDS which is required by utils wxdemo,
wxdocs and wxget provided by python3-wxgtk4.

Signed-off-by: Kai Kang <kai.kang@...>
---
...eplace-deprecated-inspect.getargspec.patch | 65 +++++++++++++++++++
.../python3-wxgtk4/python3-wxgtk4_4.2.0.bb | 2 +
2 files changed, 67 insertions(+)
create mode 100644 meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch

diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch
new file mode 100644
index 000000000..4501667f9
--- /dev/null
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch
@@ -0,0 +1,65 @@
+Upstream-Status: Backport [https://github.com/wxWidgets/Phoenix/commit/9986a0d5]
+
+Signed-off-by: Kai Kang <kai.kang@...>
+
+From 9986a0d5c24b5d45ddf571d60351f68765a8a9be Mon Sep 17 00:00:00 2001
+From: Scott Talbert <swt@...>
+Date: Mon, 8 Aug 2022 22:35:58 -0400
+Subject: [PATCH] pypubsub: Replace deprecated inspect.getargspec
+
+inspect.getargspec was removed in Python 3.11. This is a backport of:
+https://github.com/schollii/pypubsub/commit/089c7a73f85c76a3aa22e4b10c71db1bf65a8637
+---
+ wx/lib/pubsub/core/callables.py | 23 +++++++++++++++--------
+ 1 file changed, 15 insertions(+), 8 deletions(-)
+
+diff --git a/wx/lib/pubsub/core/callables.py b/wx/lib/pubsub/core/callables.py
+index 65eb1ebe..7e798c54 100644
+--- a/wx/lib/pubsub/core/callables.py
++++ b/wx/lib/pubsub/core/callables.py
+@@ -12,7 +12,7 @@ CallArgsInfo regarding its autoTopicArgName data member.
+
+ """
+
+-from inspect import getargspec, ismethod, isfunction
++from inspect import ismethod, isfunction, signature, Parameter
+
+ from .. import py2and3
+
+@@ -133,19 +133,26 @@ class CallArgsInfo:
+ self.autoTopicArgName = None."""
+
+ #args, firstArgIdx, defaultVals, acceptsAllKwargs
+- (allParams, varParamName, varOptParamName, defaultVals) = getargspec(func)
+- if defaultVals is None:
+- defaultVals = []
+- else:
+- defaultVals = list(defaultVals)
++ allParams = []
++ defaultVals = []
++ varParamName = None
++ varOptParamName = None
++ for argName, param in signature(func).parameters.items():
++ if param.default != Parameter.empty:
++ defaultVals.append(param.default)
++ if param.kind == Parameter.VAR_POSITIONAL:
++ varParamName = argName
++ elif param.kind == Parameter.VAR_KEYWORD:
++ varOptParamName = argName
++ else:
++ allParams.append(argName)
+
+ self.acceptsAllKwargs = (varOptParamName is not None)
+ self.acceptsAllUnnamedArgs = (varParamName is not None)
+-
+ self.allParams = allParams
+- del self.allParams[0:firstArgIdx] # does nothing if firstArgIdx == 0
+
+ self.numRequired = len(self.allParams) - len(defaultVals)
++ assert len(self.allParams) >= len(defaultVals)
+ assert self.numRequired >= 0
+
+ # if listener wants topic, remove that arg from args/defaultVals
+--
+2.34.1
+
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
index faea43777..df23037fc 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
@@ -13,6 +13,7 @@ PYPI_PACKAGE = "wxPython"
SRC_URI += "file://add-back-option-build-base.patch \
file://wxgtk-fixup-build-scripts.patch \
file://not-overwrite-cflags-cxxflags.patch \
+ file://0001-pypubsub-Replace-deprecated-inspect.getargspec.patch \
"
Fails to apply

patching file wx/lib/pubsub/core/callables.py
Hunk #1 FAILED at 12 (different line endings).
Hunk #2 FAILED at 133 (different line endings).
2 out of 2 hunks FAILED -- rejects in file wx/lib/pubsub/core/callables.py
Patch 0001-pypubsub-Replace-deprecated-inspect.getargspec.patch does
not apply (enforce with -f)


SRC_URI[sha256sum] = "663cebc4509d7e5d113518865fe274f77f95434c5d57bc386ed58d65ceed86c7"

@@ -29,6 +30,7 @@ RDEPENDS:${PN} = "\
python3-image \
python3-numpy \
python3-pillow \
+ python3-pip \
python3-pprint \
python3-pycairo \
python3-six \
--
2.17.1




Re: [meta-oe][PATCH 3/3] tuna: add recipe

Khem Raj
 

On Mon, Nov 28, 2022 at 7:21 AM Erwann Roussy
<erwann.roussy@...> wrote:

Tuna is a cui/gui tool for tuning of running processes.
It is useful to see and changed irq affinity on an embedded board.

The chosen revision of tuna is the last commit to this day and not the
last release. This is due to the python3-ethtool module which was
required in the last release but isn't anymore. Tuna now has a built-in
module instead.

Despite tuna's homepage's dependencies section, python3-inet_diag isn't
required anymore.

Signed-off-by: Erwann Roussy <erwann.roussy@...>
---
meta-oe/recipes-support/tuna/tuna_git.bb | 25 ++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 meta-oe/recipes-support/tuna/tuna_git.bb

diff --git a/meta-oe/recipes-support/tuna/tuna_git.bb b/meta-oe/recipes-support/tuna/tuna_git.bb
new file mode 100644
index 000000000..f698b2ea2
--- /dev/null
+++ b/meta-oe/recipes-support/tuna/tuna_git.bb
@@ -0,0 +1,25 @@
+SUMMARY = "cui/gui tool for tuning of running processes"
+HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Tuna"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI = "git://git.kernel.org/pub/scm/utils/tuna/tuna.git;branch=main"
+
+SRCREV = "0681906e75e1c8166126bbfc2f3055e7507bfcb5"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS:${PN} += " \
+ python3-io \
+ python3-linux-procfs \
+ python3-logging \
+ python3-schedutils \
+ python3-six \
+ "
it seems to depend on python3-linux-procfs which is in meta-python but
meta-oe does not depend on meta-python
as layer dependency, so perhaps it should be using dynamic layers or
perhaps should be moved to meta-python

+
+inherit setuptools3
+
+do_install:append() {
+ install -m 0755 -d ${D}${bindir}
+ install -m 0755 ${S}/tuna-cmd.py ${D}${bindir}/tuna
+}
--
2.25.1




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

Alexander Kanavin
 

On Tue, 29 Nov 2022 at 14:15, Denys Dmytriyenko <denis@...> 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 <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964



Re: [kirkstone][master][meta-oe][PATCH] redis: upgrade 7.0.4 to 7.0.5

Randy MacLeod
 

On 2022-10-13 22:24, Changqing Li wrote:
From: Changqing Li <changqing.li@...>
Signed-off-by: Changqing Li <changqing.li@...>
---
.../recipes-extended/redis/{redis_7.0.4.bb => redis_7.0.5.bb} | 2 +-

Is it time to remove redis_6* yet? 7 was added in February and
it seems to be the stable version now. redis_6 was added in Jun 2020
and according to the 2nd link below, support is only for 1 year so
it's removal is overdue.


https://en.wikipedia.org/wiki/Redis
https://redis.io/docs/about/releases/

commit c8544b3627fdd026a0e3e85a64f8af37e0417919
Author: Oleksandr Kravchuk <open.source@...>
Date: Tue Feb 1 16:01:53 2022

redis: add recipe for 7.0-rc1

Redis 7.0 "includes changes that potentially break backwards
compatibility with older versions", so let's let folks some time to
test 7.0 and later decide which version(s) we want to keep.



commit 6045c0dc8a08bd9d74d3d1d160250d00a877822f
Author: Andreas Müller <schnitzeltony@...>
Date: Fri Jun 19 07:32:00 2020

redis: upgrade 5.0.9 -> 6.0.4


../Randy



1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/redis/{redis_7.0.4.bb => redis_7.0.5.bb} (96%)
diff --git a/meta-oe/recipes-extended/redis/redis_7.0.4.bb b/meta-oe/recipes-extended/redis/redis_7.0.5.bb
similarity index 96%
rename from meta-oe/recipes-extended/redis/redis_7.0.4.bb
rename to meta-oe/recipes-extended/redis/redis_7.0.5.bb
index e292237097..3c23deb9ce 100644
--- a/meta-oe/recipes-extended/redis/redis_7.0.4.bb
+++ b/meta-oe/recipes-extended/redis/redis_7.0.5.bb
@@ -19,7 +19,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
file://GNU_SOURCE-7.patch \
file://0006-Define-correct-gregs-for-RISCV32.patch \
"
-SRC_URI[sha256sum] = "f0e65fda74c44a3dd4fa9d512d4d4d833dd0939c934e946a5c622a630d057f2f"
+SRC_URI[sha256sum] = "67054cc37b58c125df93bd78000261ec0ef4436a26b40f38262c780e56315cc3"
inherit autotools-brokensep update-rc.d systemd useradd
--
# Randy MacLeod
# Wind River Linux


Re: [meta-networking] [PATCH] lldpd: upgrade 1.0.15 -> 1.0.16

Khem Raj
 

On Mon, Nov 28, 2022 at 8:01 PM Peter Kjellerstedt
<peter.kjellerstedt@...> wrote:

-----Original Message-----
From: openembedded-devel@... <openembedded-devel@...> On Behalf Of wangmy
Sent: den 28 november 2022 07:10
To: openembedded-devel@...
Cc: Wang Mingyu <wangmy@...>
Subject: [oe] [meta-networking] [PATCH] lldpd: upgrade 1.0.15 -> 1.0.16

From: Wang Mingyu <wangmy@...>

Fix:
======
Do not use 00:00:00:00:00:00 as chassis ID.
Do not busy loop when an interface with a neighbor disappears.

Signed-off-by: Wang Mingyu <wangmy@...>
---
.../recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb} (96%)

diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
similarity index 96%
rename from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb
rename to meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
index c7237d74b..45425561f 100644
--- a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb
+++ b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
@@ -12,7 +12,7 @@ SRC_URI = "\
file://run-ptest \
"

-SRC_URI[sha256sum] = "f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126"
+SRC_URI[sha256sum] = "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"
This was for some reason integrated without the checksum update.
However, a subsequent commit changed the SRC_URI (from media.luffy.cx
to github.com), which caused a change to the checksum as I now get:

ERROR: lldpd-1.0.16-r0 do_fetch: Fetcher failure for URL:
'https://github.com/lldpd/lldpd/releases/download/1.0.16/lldpd-1.0.16.tar.gz'.
Checksum mismatch! File: '.../downloads/lldpd-1.0.16.tar.gz.tmp' has sha256
checksum '7753c6e31e938923185f4e10c4ab328929729e22ee4a9687d08881fb82c092ee'
when 'f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126' was
expected

I.e., the checksums for the 1.0.16 tarball on media.luffy.cx does not match
the checksum of the same tar ball on github.com. And comparing the contents
of the two identically named tarballs reveals that the one from
media.luffy.cx has been generated with newer version of autoconf and
automake.

I also wonder if the change of SRC_URI, which was triggered by the AB not
being able to fetch the tarball, was really due to the checksum not having
been updated when the recipe version was stepped.
The site was not accessible. I would rather use github release
artifacts if the projects
make that. I think I forgot to run bitbake -ccleanall before testing
this change. Thanks for reporting it.
and fixing it.


Based on the above, my recommendation is to revert commit e154914718 (i.e.,
the SRC_URI update), and then update the checksum as per the originally
supplied patch from Wang Mingyu:

SRC_URI[sha256sum] = "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"

I will send two patches to do this.


inherit autotools update-rc.d useradd systemd pkgconfig bash-completion github-releases ptest

--
2.25.1
//Peter


[kirkstone][PATCH] redis-6: build with USE_SYSTEMD=yes when systemd is enabled

Qiu, Zheng
 

Compile redis with full systemd support when the chosen init system
is systemd.

Enabling systemd supervision allows redis to communicate the actual
server status (i.e. "Loading dataset", "Waiting for master<->replica
sync") to systemd, instead of declaring readiness right after
initializing the server process.

Signed-off-by: Zheng Qiu <zheng.qiu@...>
---
meta-oe/recipes-extended/redis/redis/redis.service | 1 +
meta-oe/recipes-extended/redis/redis_6.2.7.bb | 8 ++++++--
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-extended/redis/redis/redis.service b/meta-oe/recipes-extended/redis/redis/redis.service
index 36d29852d..a52204cc7 100644
--- a/meta-oe/recipes-extended/redis/redis/redis.service
+++ b/meta-oe/recipes-extended/redis/redis/redis.service
@@ -9,6 +9,7 @@ ExecStart=/usr/bin/redis-server /etc/redis/redis.conf
ExecStop=/usr/bin/redis-cli shutdown
Restart=always
LimitNOFILE=10032
+Type=notify

[Install]
WantedBy=multi-user.target
diff --git a/meta-oe/recipes-extended/redis/redis_6.2.7.bb b/meta-oe/recipes-extended/redis/redis_6.2.7.bb
index 7f922a4e0..e89ab20e4 100644
--- a/meta-oe/recipes-extended/redis/redis_6.2.7.bb
+++ b/meta-oe/recipes-extended/redis/redis_6.2.7.bb
@@ -33,7 +33,10 @@ USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "--system --home-dir /var/lib/redis -g redis --shell /bin/false redis"
GROUPADD_PARAM:${PN} = "--system redis"

-REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}"
+PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[systemd] = "USE_SYSTEMD=yes,USE_SYSTEMD=no,systemd"
+
+EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"

do_compile:prepend() {
(cd deps && oe_runmake hiredis lua linenoise)
@@ -53,8 +56,9 @@ do_install() {
install -m 0644 ${WORKDIR}/redis.service ${D}${systemd_system_unitdir}
sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/redis.service

- if [ "${REDIS_ON_SYSTEMD}" = true ]; then
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
sed -i 's!daemonize yes!# daemonize yes!' ${D}/${sysconfdir}/redis/redis.conf
+ sed -i 's!supervised no!supervised systemd!' ${D}/${sysconfdir}/redis/redis.conf
fi
}

--
2.33.0


[meta-python][PATCH] python3-wxgtk4: replace deprecated inspect.getargspec

Kai Kang
 

From: Kai Kang <kai.kang@...>

Backport patch to replace deprecated inspect.getargspec in lib pubsub.

And add python3-pip to RDEPENDS which is required by utils wxdemo,
wxdocs and wxget provided by python3-wxgtk4.

Signed-off-by: Kai Kang <kai.kang@...>
---
...eplace-deprecated-inspect.getargspec.patch | 65 +++++++++++++++++++
.../python3-wxgtk4/python3-wxgtk4_4.2.0.bb | 2 +
2 files changed, 67 insertions(+)
create mode 100644 meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch

diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch
new file mode 100644
index 000000000..4501667f9
--- /dev/null
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/0001-pypubsub-Replace-deprecated-inspect.getargspec.patch
@@ -0,0 +1,65 @@
+Upstream-Status: Backport [https://github.com/wxWidgets/Phoenix/commit/9986a0d5]
+
+Signed-off-by: Kai Kang <kai.kang@...>
+
+From 9986a0d5c24b5d45ddf571d60351f68765a8a9be Mon Sep 17 00:00:00 2001
+From: Scott Talbert <swt@...>
+Date: Mon, 8 Aug 2022 22:35:58 -0400
+Subject: [PATCH] pypubsub: Replace deprecated inspect.getargspec
+
+inspect.getargspec was removed in Python 3.11. This is a backport of:
+https://github.com/schollii/pypubsub/commit/089c7a73f85c76a3aa22e4b10c71db1bf65a8637
+---
+ wx/lib/pubsub/core/callables.py | 23 +++++++++++++++--------
+ 1 file changed, 15 insertions(+), 8 deletions(-)
+
+diff --git a/wx/lib/pubsub/core/callables.py b/wx/lib/pubsub/core/callables.py
+index 65eb1ebe..7e798c54 100644
+--- a/wx/lib/pubsub/core/callables.py
++++ b/wx/lib/pubsub/core/callables.py
+@@ -12,7 +12,7 @@ CallArgsInfo regarding its autoTopicArgName data member.
+
+ """
+
+-from inspect import getargspec, ismethod, isfunction
++from inspect import ismethod, isfunction, signature, Parameter
+
+ from .. import py2and3
+
+@@ -133,19 +133,26 @@ class CallArgsInfo:
+ self.autoTopicArgName = None."""
+
+ #args, firstArgIdx, defaultVals, acceptsAllKwargs
+- (allParams, varParamName, varOptParamName, defaultVals) = getargspec(func)
+- if defaultVals is None:
+- defaultVals = []
+- else:
+- defaultVals = list(defaultVals)
++ allParams = []
++ defaultVals = []
++ varParamName = None
++ varOptParamName = None
++ for argName, param in signature(func).parameters.items():
++ if param.default != Parameter.empty:
++ defaultVals.append(param.default)
++ if param.kind == Parameter.VAR_POSITIONAL:
++ varParamName = argName
++ elif param.kind == Parameter.VAR_KEYWORD:
++ varOptParamName = argName
++ else:
++ allParams.append(argName)
+
+ self.acceptsAllKwargs = (varOptParamName is not None)
+ self.acceptsAllUnnamedArgs = (varParamName is not None)
+-
+ self.allParams = allParams
+- del self.allParams[0:firstArgIdx] # does nothing if firstArgIdx == 0
+
+ self.numRequired = len(self.allParams) - len(defaultVals)
++ assert len(self.allParams) >= len(defaultVals)
+ assert self.numRequired >= 0
+
+ # if listener wants topic, remove that arg from args/defaultVals
+--
+2.34.1
+
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
index faea43777..df23037fc 100644
--- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
+++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.0.bb
@@ -13,6 +13,7 @@ PYPI_PACKAGE = "wxPython"
SRC_URI += "file://add-back-option-build-base.patch \
file://wxgtk-fixup-build-scripts.patch \
file://not-overwrite-cflags-cxxflags.patch \
+ file://0001-pypubsub-Replace-deprecated-inspect.getargspec.patch \
"
SRC_URI[sha256sum] = "663cebc4509d7e5d113518865fe274f77f95434c5d57bc386ed58d65ceed86c7"

@@ -29,6 +30,7 @@ RDEPENDS:${PN} = "\
python3-image \
python3-numpy \
python3-pillow \
+ python3-pip \
python3-pprint \
python3-pycairo \
python3-six \
--
2.17.1


OpenEmbedded Happy Hour November 30

Denys Dmytriyenko
 

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 <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964


[meta-gnome][PATCH 5/7] tepl: update 6.0.0 -> 6.2.0

Markus Volk
 

Signed-off-by: Markus Volk <f_l_k@...>
---
.../tepl/{tepl_6.00.0.bb =3D> tepl_6.2.0.bb} | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
rename meta-gnome/recipes-gnome/tepl/{tepl_6.00.0.bb =3D> tepl_6.2.0.bb}=
(60%)

diff --git a/meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb b/meta-gnome/re=
cipes-gnome/tepl/tepl_6.2.0.bb
similarity index 60%
rename from meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb
rename to meta-gnome/recipes-gnome/tepl/tepl_6.2.0.bb
index 66de215cf..8173b6d31 100644
--- a/meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb
+++ b/meta-gnome/recipes-gnome/tepl/tepl_6.2.0.bb
@@ -3,21 +3,25 @@ LICENSE =3D "LGPL-3.0-or-later"
LIC_FILES_CHKSUM =3D "file://LICENSES/LGPL-3.0-or-later.txt;md5=3Dc51d3e=
ef3be114124d11349ca0d7e117"
=20
DEPENDS =3D " \
- glib-2.0-native \
+ gsettings-desktop-schemas \
+ glib-2.0 \
gtk+3 \
gtksourceview4 \
amtk \
libxml2 \
uchardet \
+ gtk-doc-native \
+ libxslt-native \
+ docbook-xsl-stylesheets-native \
"
=20
-GNOMEBASEBUILDCLASS =3D "meson"
+inherit meson gobject-introspection gettext features_check pkgconfig
=20
-inherit gnomebase gobject-introspection gettext features_check
=20
ANY_OF_DISTRO_FEATURES =3D "${GTK3DISTROFEATURES}"
-
-SRC_URI[archive.sha256sum] =3D "a86397a895dca9c0de7a5ccb063bda8f7ef691cc=
cb950ce2cfdee367903e7a63"
+SRC_URI =3D "git://gitlab.gnome.org/swilmet/tepl;protocol=3Dhttps;branch=
=3Dmain"
+SRCREV =3D "34973a0d48ba5a0dd0a776c66bfc0c3f65682d9c"
+S =3D "${WORKDIR}/git"
=20
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES +=3D "gobject-introspection-data"
--=20
2.34.1


[meta-gnome][PATCH 7/7] evolution-data-server: remove libgdata dependency

Markus Volk
 

libgdata is not a dependency of evolution-data-server anymore

Signed-off-by: Markus Volk <f_l_k@...>
---
.../evolution-data-server/evolution-data-server.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-dat=
a-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-da=
ta-server.bb
index 681ff677a..c2f543ffc 100644
--- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve=
r.bb
+++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve=
r.bb
@@ -2,7 +2,7 @@ require ${BPN}.inc
=20
DEPENDS =3D " \
${BPN}-native intltool-native gperf-native \
- glib-2.0 gtk+3 gtk4 libgdata libxml2 icu \
+ glib-2.0 gtk+3 gtk4 libxml2 icu \
dbus db virtual/libiconv zlib libsoup-3.0 libical nss libsecret \
"
=20
--=20
2.34.1


[meta-gnome][PATCH 6/7] gtk4: remove recipe

Markus Volk
 

It has been moved to oe-core

Signed-off-by: Markus Volk <f_l_k@...>
---
meta-gnome/recipes-gnome/gtk4/gtk4_4.6.7.bb | 142 --------------------
1 file changed, 142 deletions(-)
delete mode 100644 meta-gnome/recipes-gnome/gtk4/gtk4_4.6.7.bb

diff --git a/meta-gnome/recipes-gnome/gtk4/gtk4_4.6.7.bb b/meta-gnome/rec=
ipes-gnome/gtk4/gtk4_4.6.7.bb
deleted file mode 100644
index c71be23a7..000000000
--- a/meta-gnome/recipes-gnome/gtk4/gtk4_4.6.7.bb
+++ /dev/null
@@ -1,142 +0,0 @@
-SUMMARY =3D "Multi-platform toolkit for creating GUIs"
-DESCRIPTION =3D "GTK is a multi-platform toolkit for creating graphical =
user interfaces. Offering a complete \
-set of widgets, GTK is suitable for projects ranging from small one-off =
projects to complete application suites."
-HOMEPAGE =3D "http://www.gtk.org"
-BUGTRACKER =3D "https://bugzilla.gnome.org/"
-SECTION =3D "libs"
-
-DEPENDS =3D " \
- sassc-native \
- glib-2.0 \
- libepoxy \
- graphene \
- cairo \
- pango \
- atk \
- jpeg \
- libpng \
- librsvg \
- tiff \
- gdk-pixbuf-native gdk-pixbuf \
-"
-
-LICENSE =3D "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
-LIC_FILES_CHKSUM =3D " \
- file://COPYING;md5=3D5f30f0716dfdd0d91eb439ebec522ec2 \
- file://gtk/gtk.h;endline=3D25;md5=3D1d8dc0fccdbfa26287a271dce88af737=
\
- file://gdk/gdk.h;endline=3D25;md5=3Dc920ce39dc88c6f06d3e7c50e08086f2=
\
- file://tests/testgtk.c;endline=3D25;md5=3D49d06770681b8322466b52ed19=
d29fb2 \
-"
-
-MAJ_VER =3D "${@oe.utils.trim_version("${PV}", 2)}"
-
-UPSTREAM_CHECK_REGEX =3D "gtk-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.=
xz"
-
-SRC_URI =3D "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-$=
{PV}.tar.xz"
-SRC_URI[sha256sum] =3D "effd2e7c4b5e2a5c7fad43e0f24adea68baa4092abb0b752=
caff278e6bb010e8"
-
-S =3D "${WORKDIR}/gtk-${PV}"
-
-inherit meson gettext pkgconfig gtk-doc update-alternatives gsettings fe=
atures_check gobject-introspection
-
-# TBD: nativesdk
-# gobject-introspection.bbclass pins introspection off for nativesk. As =
long as
-# we do not remove this wisdom or hack gtk4, it is not possible to build
-# nativesdk-gtk4
-BBCLASSEXTEND =3D "native"
-
-GSETTINGS_PACKAGE:class-native =3D ""
-
-ANY_OF_DISTRO_FEATURES =3D "${GTK3DISTROFEATURES}"
-REQUIRED_DISTRO_FEATURES =3D "opengl"
-
-GIR_MESON_ENABLE_FLAG =3D 'enabled'
-GIR_MESON_DISABLE_FLAG =3D 'disabled'
-GTKDOC_MESON_OPTION =3D 'gtk_doc'
-
-EXTRA_OEMESON =3D " -Dbuild-tests=3Dfalse"
-
-PACKAGECONFIG ??=3D "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11'=
, d)}"
-PACKAGECONFIG:class-native =3D "${@bb.utils.filter('DISTRO_FEATURES', 'x=
11', d)}"
-PACKAGECONFIG:class-nativesdk =3D "${@bb.utils.filter('DISTRO_FEATURES',=
'x11', d)}"
-
-PACKAGECONFIG[x11] =3D "-Dx11-backend=3Dtrue,-Dx11-backend=3Dfalse,at-sp=
i2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr li=
bxrender libxcomposite libxfixes xinerama"
-PACKAGECONFIG[wayland] =3D "-Dwayland-backend=3Dtrue,-Dwayland-backend=3D=
false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2=
wayland-native"
-PACKAGECONFIG[cups] =3D "-Dprint-cups=3Denabled,-Dprint-cups=3Ddisabled,=
cups"
-PACKAGECONFIG[colord] =3D "-Dcolord=3Denabled,-Dcolord=3Ddisabled,colord=
"
-# gtk4 wants gstreamer-player-1.0 -> gstreamer1.0-plugins-bad
-PACKAGECONFIG[gstreamer] =3D "-Dmedia-gstreamer=3Denabled,-Dmedia-gstrea=
mer=3Ddisabled,gstreamer1.0-plugins-bad"
-PACKAGECONFIG[tracker] =3D "-Dtracker=3Denabled,-Dtracker=3Ddisabled,tra=
cker"
-
-
-do_compile:prepend() {
- export GIR_EXTRA_LIBS_PATH=3D"${B}/gdk/.libs"
-}
-
-
-PACKAGES =3D+ "${PN}-demo"
-LIBV =3D "4.0.0"
-
-FILES:${PN}-demo =3D " \
- ${datadir}/applications/org.gtk.Demo4.desktop \
- ${datadir}/applications/org.gtk.IconBrowser4.desktop \
- ${datadir}/applications/org.gtk.WidgetFactory4.desktop \
- ${datadir}/icons/hicolor/*/apps/org.gtk.Demo4*.* \
- ${datadir}/icons/hicolor/*/apps/org.gtk.IconBrowser4*.* \
- ${datadir}/icons/hicolor/*/apps/org.gtk.WidgetFactory4*.* \
- ${bindir}/gtk4-demo \
- ${bindir}/gtk4-demo-application \
- ${bindir}/gtk4-icon-browser \
- ${bindir}/gtk4-widget-factory \
-"
-
-FILES:${PN}:append =3D " \
- ${datadir}/glib-2.0/schemas/ \
- ${datadir}/gtk-4.0/emoji/ \
- ${datadir}/metainfo/ \
- ${datadir}/icons/hicolor/*/apps/org.gtk.PrintEditor4*.* \
- ${libdir}/gtk-4.0/${LIBV}/printbackends \
- ${bindir}/gtk4-update-icon-cache \
- ${bindir}/gtk4-launch \
-"
-
-FILES:${PN}-dev +=3D " \
- ${datadir}/gtk-4.0/gtk4builder.rng \
- ${datadir}/gtk-4.0/include \
- ${datadir}/gtk-4.0/valgrind \
- ${datadir}/gettext/its \
- ${bindir}/gtk4-builder-tool \
- ${bindir}/gtk4-encode-symbolic-svg \
- ${bindir}/gtk4-query-settings \
-"
-
-GTKBASE_RRECOMMENDS ?=3D " \
- liberation-fonts \
- gdk-pixbuf-loader-png \
- gdk-pixbuf-loader-jpeg \
- gdk-pixbuf-loader-gif \
- gdk-pixbuf-loader-xpm \
- shared-mime-info \
- adwaita-icon-theme-symbolic \
-"
-
-GTKBASE_RRECOMMENDS:class-native ?=3D ""
-
-GTKGLIBC_RRECOMMENDS ?=3D "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1"
-
-RRECOMMENDS:${PN} =3D "${GTKBASE_RRECOMMENDS}"
-RRECOMMENDS:${PN}:libc-glibc =3D "${GTKGLIBC_RRECOMMENDS}"
-RDEPENDS:${PN}-dev +=3D "${@bb.utils.contains("PACKAGECONFIG", "wayland"=
, "wayland-protocols", "", d)}"
-
-PACKAGES_DYNAMIC +=3D "^gtk4-printbackend-.*"
-python populate_packages:prepend () {
- import os.path
-
- gtk_libdir =3D d.expand('${libdir}/gtk-3.0/${LIBV}')
- printmodules_root =3D os.path.join(gtk_libdir, 'printbackends');
-
- do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$=
', 'gtk4-printbackend-%s', 'GTK printbackend module for %s')
-
- if (d.getVar('DEBIAN_NAMES')):
- d.setVar(d.expand('PKG:${PN}'), '${MLPREFIX}libgtk-4.0')
-}
--=20
2.34.1


[meta-gnome][PATCH 4/7] gthumb: build with libsoup-3

Markus Volk
 

Signed-off-by: Markus Volk <f_l_k@...>
---
meta-gnome/recipes-gnome/gthumb/gthumb_3.12.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.2.bb b/meta-gnom=
e/recipes-gnome/gthumb/gthumb_3.12.2.bb
index 0c5b71f5b..92152aca6 100644
--- a/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.2.bb
+++ b/meta-gnome/recipes-gnome/gthumb/gthumb_3.12.2.bb
@@ -19,7 +19,7 @@ DEPENDS =3D " \
lcms \
libraw \
librsvg \
- libsoup-2.4 \
+ libsoup \
json-glib \
libsecret \
"
--=20
2.34.1


[meta-gnome][PATCH 2/7] amtk: update 5.3.1 -> 5.6.1

Markus Volk
 

Signed-off-by: Markus Volk <f_l_k@...>
---
meta-gnome/recipes-gnome/amtk/amtk_5.3.1.bb | 18 ------------------
meta-gnome/recipes-gnome/amtk/amtk_5.6.1.bb | 21 +++++++++++++++++++++
2 files changed, 21 insertions(+), 18 deletions(-)
delete mode 100644 meta-gnome/recipes-gnome/amtk/amtk_5.3.1.bb
create mode 100644 meta-gnome/recipes-gnome/amtk/amtk_5.6.1.bb

diff --git a/meta-gnome/recipes-gnome/amtk/amtk_5.3.1.bb b/meta-gnome/rec=
ipes-gnome/amtk/amtk_5.3.1.bb
deleted file mode 100644
index f6d8739da..000000000
--- a/meta-gnome/recipes-gnome/amtk/amtk_5.3.1.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY =3D "Actions, Menus and Toolbars Kit"
-LICENSE =3D "LGPL-2.1-only"
-LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D4fbd65380cdd255951079008b3645=
16c"
-
-DEPENDS =3D " \
- glib-2.0-native \
- gtk+3 \
-"
-
-GNOMEBASEBUILDCLASS =3D "meson"
-
-GIR_MESON_OPTION =3D ""
-
-inherit gnomebase gettext features_check gobject-introspection
-
-ANY_OF_DISTRO_FEATURES =3D "${GTK3DISTROFEATURES}"
-
-SRC_URI[archive.sha256sum] =3D "d5aa236c5d71dc41aa4674f345560a67a27f21c0=
efc97c9b3da09cb582b4638b"
diff --git a/meta-gnome/recipes-gnome/amtk/amtk_5.6.1.bb b/meta-gnome/rec=
ipes-gnome/amtk/amtk_5.6.1.bb
new file mode 100644
index 000000000..8cb2fa79b
--- /dev/null
+++ b/meta-gnome/recipes-gnome/amtk/amtk_5.6.1.bb
@@ -0,0 +1,21 @@
+SUMMARY =3D "Actions, Menus and Toolbars Kit"
+LICENSE =3D "LGPL-3.0-or-later"
+LIC_FILES_CHKSUM =3D "file://LICENSES/LGPL-3.0-or-later.txt;md5=3Dc51d3e=
ef3be114124d11349ca0d7e117"
+
+DEPENDS =3D " \
+ glib-2.0-native \
+ gtk+3 \
+ gtk-doc-native \
+ libxslt-native \
+ docbook-xsl-stylesheets-native \
+"
+
+GNOMEBASEBUILDCLASS =3D "meson"
+
+GIR_MESON_OPTION =3D ""
+
+inherit gnomebase gettext features_check gobject-introspection
+
+ANY_OF_DISTRO_FEATURES =3D "${GTK3DISTROFEATURES}"
+
+SRC_URI[archive.sha256sum] =3D "d50115b85c872aac296934b5ee726a3fa156c6f5=
ad96d27e0edd0aa5ad173228"
--=20
2.34.1


[meta-gnome][PATCH 3/7] gedit: update 42.2 -> 43.2

Markus Volk
 

Signed-off-by: Markus Volk <f_l_k@...>
---
.../recipes-gnome/gedit/{gedit_42.2.bb =3D> gedit_43.2.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-gnome/recipes-gnome/gedit/{gedit_42.2.bb =3D> gedit_43.2.bb}=
(89%)

diff --git a/meta-gnome/recipes-gnome/gedit/gedit_42.2.bb b/meta-gnome/re=
cipes-gnome/gedit/gedit_43.2.bb
similarity index 89%
rename from meta-gnome/recipes-gnome/gedit/gedit_42.2.bb
rename to meta-gnome/recipes-gnome/gedit/gedit_43.2.bb
index 13d3e0af7..1c1803d5e 100644
--- a/meta-gnome/recipes-gnome/gedit/gedit_42.2.bb
+++ b/meta-gnome/recipes-gnome/gedit/gedit_43.2.bb
@@ -10,7 +10,7 @@ DEPENDS =3D " \
gtk+3 \
gsettings-desktop-schemas \
libpeas \
- libsoup-2.4 \
+ libsoup \
gspell \
gtksourceview4 \
tepl \
@@ -21,7 +21,7 @@ inherit gnomebase gsettings itstool gnome-help gobject-=
introspection gtk-doc val
def gnome_verdir(v):
return oe.utils.trim_version(v, 1)
=20
-SRC_URI[archive.sha256sum] =3D "3c6229111f0ac066ae44964920791d1265f5bbb5=
6b0bd949a69b7b1261fc8fca"
+SRC_URI[archive.sha256sum] =3D "f950d2d35c594bb6c8dbc9f5440cad7788ca0a86=
88e2b07846f83de9a4e3fc25"
=20
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES =3D "gobject-introspection-data"
--=20
2.34.1