* [PATCH 1/6] python3-pydbus-manager: remove obsolete recipe
@ 2023-05-24 17:14 ross.burton
2023-05-24 17:14 ` [PATCH 2/6] python3-pydbus: " ross.burton
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: ross.burton @ 2023-05-24 17:14 UTC (permalink / raw)
To: openembedded-devel; +Cc: nd
From: Ross Burton <ross.burton@arm.com>
This project has been untouched upstream for six years and doesn't appear
to be considered "finished".
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../packagegroups/packagegroup-meta-python.bb | 1 -
.../python/python3-pydbus-manager_git.bb | 15 ---------------
2 files changed, 16 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-pydbus-manager_git.bb
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 4965e69e02..c78fd1e7f7 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -315,7 +315,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-pyconnman \
python3-pycurl \
python3-pydbus \
- python3-pydbus-manager \
python3-pydicti \
python3-pyephem \
python3-pyexpect \
diff --git a/meta-python/recipes-devtools/python/python3-pydbus-manager_git.bb b/meta-python/recipes-devtools/python/python3-pydbus-manager_git.bb
deleted file mode 100644
index 796f7219ac..0000000000
--- a/meta-python/recipes-devtools/python/python3-pydbus-manager_git.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SUMMARY = "DBus.ObjectManager implementation for pydbus"
-AUTHOR = "Sébastien Corne"
-
-LICENSE = "WTFPL"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=0fd5bb1dae91ba145745db55870be6a7"
-
-inherit setuptools3
-
-SRC_URI = "git://github.com/seebz/pydbus-manager.git;branch=master;protocol=https"
-SRCREV = "6b576b969cbda50521dca62a7df929167207f9fc"
-PV = "git${SRCPV}"
-
-S = "${WORKDIR}/git"
-
-RDEPENDS:${PN} += "python3-pydbus"
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/6] python3-pydbus: remove obsolete recipe
2023-05-24 17:14 [PATCH 1/6] python3-pydbus-manager: remove obsolete recipe ross.burton
@ 2023-05-24 17:14 ` ross.burton
2023-05-24 17:14 ` [PATCH 3/6] firewalld: add features_check on gobject-introspection-data ross.burton
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: ross.burton @ 2023-05-24 17:14 UTC (permalink / raw)
To: openembedded-devel; +Cc: nd
From: Ross Burton <ross.burton@arm.com>
This project has been untouched since 2018 and doesn't appear to have
any real dependents.
If something similar to pydbus is needed, then a maintained alternative
would be https://github.com/rhinstaller/dasbus (recipe available in
meta-anaconda).
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../packagegroups/packagegroup-meta-python.bb | 1 -
.../0001-Support-asynchronous-calls-58.patch | 93 --------
...mation-between-D-Bus-errors-and-exce.patch | 203 ------------------
.../python/python3-pydbus_0.6.0.bb | 19 --
4 files changed, 316 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-pydbus/0001-Support-asynchronous-calls-58.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-pydbus/0002-Support-transformation-between-D-Bus-errors-and-exce.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index c78fd1e7f7..982e41303c 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -314,7 +314,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-pycodestyle \
python3-pyconnman \
python3-pycurl \
- python3-pydbus \
python3-pydicti \
python3-pyephem \
python3-pyexpect \
diff --git a/meta-python/recipes-devtools/python/python3-pydbus/0001-Support-asynchronous-calls-58.patch b/meta-python/recipes-devtools/python/python3-pydbus/0001-Support-asynchronous-calls-58.patch
deleted file mode 100644
index eb97f05850..0000000000
--- a/meta-python/recipes-devtools/python/python3-pydbus/0001-Support-asynchronous-calls-58.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From 39a7d79ee6c548902fbac8b95c934af7e4c69260 Mon Sep 17 00:00:00 2001
-From: Vendula Poncova <vponcova@redhat.com>
-Date: Thu, 2 Aug 2018 15:30:45 +0800
-Subject: [PATCH 1/2] Support asynchronous calls (#58)
-
-Added support for asynchronous calls of methods. A method is called
-synchronously unless its callback parameter is specified. A callback
-is a function f(*args, returned=None, error=None), where args is
-callback_args specified in the method call, returned is a return
-value of the method and error is an exception raised by the method.
-
-Example of an asynchronous call:
-
-def func(x, y, returned=None, error=None):
- pass
-
-proxy.Method(a, b, callback=func, callback_args=(x, y))
-
-Upstream-Status: Backport [https://src.fedoraproject.org/cgit/rpms/python-pydbus.git/]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- pydbus/proxy_method.py | 44 ++++++++++++++++++++++++++++++++++++++------
- 1 file changed, 38 insertions(+), 6 deletions(-)
-
-diff --git a/pydbus/proxy_method.py b/pydbus/proxy_method.py
-index 8798edd..4ea4304 100644
---- a/pydbus/proxy_method.py
-+++ b/pydbus/proxy_method.py
-@@ -65,15 +65,34 @@ class ProxyMethod(object):
-
- # Python 2 sux
- for kwarg in kwargs:
-- if kwarg not in ("timeout",):
-+ if kwarg not in ("timeout", "callback", "callback_args"):
- raise TypeError(self.__qualname__ + " got an unexpected keyword argument '{}'".format(kwarg))
- timeout = kwargs.get("timeout", None)
-+ callback = kwargs.get("callback", None)
-+ callback_args = kwargs.get("callback_args", tuple())
-+
-+ call_args = (
-+ instance._bus_name,
-+ instance._path,
-+ self._iface_name,
-+ self.__name__,
-+ GLib.Variant(self._sinargs, args),
-+ GLib.VariantType.new(self._soutargs),
-+ 0,
-+ timeout_to_glib(timeout),
-+ None
-+ )
-+
-+ if callback:
-+ call_args += (self._finish_async_call, (callback, callback_args))
-+ instance._bus.con.call(*call_args)
-+ return None
-+ else:
-+ ret = instance._bus.con.call_sync(*call_args)
-+ return self._unpack_return(ret)
-
-- ret = instance._bus.con.call_sync(
-- instance._bus_name, instance._path,
-- self._iface_name, self.__name__, GLib.Variant(self._sinargs, args), GLib.VariantType.new(self._soutargs),
-- 0, timeout_to_glib(timeout), None).unpack()
--
-+ def _unpack_return(self, values):
-+ ret = values.unpack()
- if len(self._outargs) == 0:
- return None
- elif len(self._outargs) == 1:
-@@ -81,6 +100,19 @@ class ProxyMethod(object):
- else:
- return ret
-
-+ def _finish_async_call(self, source, result, user_data):
-+ error = None
-+ return_args = None
-+
-+ try:
-+ ret = source.call_finish(result)
-+ return_args = self._unpack_return(ret)
-+ except Exception as err:
-+ error = err
-+
-+ callback, callback_args = user_data
-+ callback(*callback_args, returned=return_args, error=error)
-+
- def __get__(self, instance, owner):
- if instance is None:
- return self
---
-2.7.4
-
diff --git a/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-transformation-between-D-Bus-errors-and-exce.patch b/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-transformation-between-D-Bus-errors-and-exce.patch
deleted file mode 100644
index 9c9b9b779b..0000000000
--- a/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-transformation-between-D-Bus-errors-and-exce.patch
+++ /dev/null
@@ -1,203 +0,0 @@
-From 69968dec867053e38de0b91d76ac41d5a5735e36 Mon Sep 17 00:00:00 2001
-From: Vendula Poncova <vponcova@redhat.com>
-Date: Thu, 2 Aug 2018 15:31:56 +0800
-Subject: [PATCH 2/2] Support transformation between D-Bus errors and
- exceptions.
-
-Exceptions can be registered with decorators, raised in a remote
-method and recreated after return from the remote call.
-
-Upstream-Status: Backport [https://src.fedoraproject.org/cgit/rpms/python-pydbus.git/]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- pydbus/error.py | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++
- pydbus/proxy_method.py | 18 ++++++++--
- pydbus/registration.py | 16 ++++++---
- 3 files changed, 123 insertions(+), 8 deletions(-)
- create mode 100644 pydbus/error.py
-
-diff --git a/pydbus/error.py b/pydbus/error.py
-new file mode 100644
-index 0000000..aaa3510
---- /dev/null
-+++ b/pydbus/error.py
-@@ -0,0 +1,97 @@
-+from gi.repository import GLib, Gio
-+
-+
-+def register_error(name, domain, code):
-+ """Register and map decorated exception class to a DBus error."""
-+ def decorated(cls):
-+ error_registration.register_error(cls, name, domain, code)
-+ return cls
-+
-+ return decorated
-+
-+
-+def map_error(error_name):
-+ """Map decorated exception class to a DBus error."""
-+ def decorated(cls):
-+ error_registration.map_error(cls, error_name)
-+ return cls
-+
-+ return decorated
-+
-+
-+def map_by_default(cls):
-+ """Map decorated exception class to all unknown DBus errors."""
-+ error_registration.map_by_default(cls)
-+ return cls
-+
-+
-+class ErrorRegistration(object):
-+ """Class for mapping exceptions to DBus errors."""
-+
-+ _default = None
-+ _map = dict()
-+ _reversed_map = dict()
-+
-+ def map_by_default(self, exception_cls):
-+ """Set the exception class as a default."""
-+ self._default = exception_cls
-+
-+ def map_error(self, exception_cls, name):
-+ """Map the exception class to a DBus name."""
-+ self._map[name] = exception_cls
-+ self._reversed_map[exception_cls] = name
-+
-+ def register_error(self, exception_cls, name, domain, code):
-+ """Map and register the exception class to a DBus name."""
-+ self.map_error(exception_cls, name)
-+ return Gio.DBusError.register_error(domain, code, name)
-+
-+ def is_registered_exception(self, obj):
-+ """Is the exception registered?"""
-+ return obj.__class__ in self._reversed_map
-+
-+ def get_dbus_name(self, obj):
-+ """Get the DBus name of the exception."""
-+ return self._reversed_map.get(obj.__class__)
-+
-+ def get_exception_class(self, name):
-+ """Get the exception class mapped to the DBus name."""
-+ return self._map.get(name, self._default)
-+
-+ def transform_message(self, name, message):
-+ """Transform the message of the exception."""
-+ prefix = "{}:{}: ".format("GDBus.Error", name)
-+
-+ if message.startswith(prefix):
-+ return message[len(prefix):]
-+
-+ return message
-+
-+ def transform_exception(self, e):
-+ """Transform the remote error to the exception."""
-+ if not isinstance(e, GLib.Error):
-+ return e
-+
-+ if not Gio.DBusError.is_remote_error(e):
-+ return e
-+
-+ # Get DBus name of the error.
-+ name = Gio.DBusError.get_remote_error(e)
-+ # Get the exception class.
-+ exception_cls = self.get_exception_class(name)
-+
-+ # Return the original exception.
-+ if not exception_cls:
-+ return e
-+
-+ # Return new exception.
-+ message = self.transform_message(name, e.message)
-+ exception = exception_cls(message)
-+ exception.dbus_name = name
-+ exception.dbus_domain = e.domain
-+ exception.dbus_code = e.code
-+ return exception
-+
-+
-+# Default error registration.
-+error_registration = ErrorRegistration()
-diff --git a/pydbus/proxy_method.py b/pydbus/proxy_method.py
-index 4ea4304..e9496f5 100644
---- a/pydbus/proxy_method.py
-+++ b/pydbus/proxy_method.py
-@@ -2,6 +2,7 @@ from gi.repository import GLib
- from .generic import bound_method
- from .identifier import filter_identifier
- from .timeout import timeout_to_glib
-+from .error import error_registration
-
- try:
- from inspect import Signature, Parameter
-@@ -87,9 +88,20 @@ class ProxyMethod(object):
- call_args += (self._finish_async_call, (callback, callback_args))
- instance._bus.con.call(*call_args)
- return None
-+
- else:
-- ret = instance._bus.con.call_sync(*call_args)
-- return self._unpack_return(ret)
-+ result = None
-+ error = None
-+
-+ try:
-+ result = instance._bus.con.call_sync(*call_args)
-+ except Exception as e:
-+ error = error_registration.transform_exception(e)
-+
-+ if error:
-+ raise error
-+
-+ return self._unpack_return(result)
-
- def _unpack_return(self, values):
- ret = values.unpack()
-@@ -108,7 +120,7 @@ class ProxyMethod(object):
- ret = source.call_finish(result)
- return_args = self._unpack_return(ret)
- except Exception as err:
-- error = err
-+ error = error_registration.transform_exception(err)
-
- callback, callback_args = user_data
- callback(*callback_args, returned=return_args, error=error)
-diff --git a/pydbus/registration.py b/pydbus/registration.py
-index f531539..1d2cbcb 100644
---- a/pydbus/registration.py
-+++ b/pydbus/registration.py
-@@ -5,6 +5,7 @@ from . import generic
- from .exitable import ExitableWithAliases
- from functools import partial
- from .method_call_context import MethodCallContext
-+from .error import error_registration
- import logging
-
- try:
-@@ -91,11 +92,16 @@ class ObjectWrapper(ExitableWithAliases("unwrap")):
- logger = logging.getLogger(__name__)
- logger.exception("Exception while handling %s.%s()", interface_name, method_name)
-
-- #TODO Think of a better way to translate Python exception types to DBus error types.
-- e_type = type(e).__name__
-- if not "." in e_type:
-- e_type = "unknown." + e_type
-- invocation.return_dbus_error(e_type, str(e))
-+ if error_registration.is_registered_exception(e):
-+ name = error_registration.get_dbus_name(e)
-+ invocation.return_dbus_error(name, str(e))
-+ else:
-+ logger.info("name is not registered")
-+ e_type = type(e).__name__
-+ if not "." in e_type:
-+ e_type = "unknown." + e_type
-+
-+ invocation.return_dbus_error(e_type, str(e))
-
- def Get(self, interface_name, property_name):
- type = self.readable_properties[interface_name + "." + property_name]
---
-2.7.4
-
diff --git a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
deleted file mode 100644
index a1b9fffea6..0000000000
--- a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-DESCRIPTION = "Pythonic DBus library"
-HOMEPAGE = "https://pypi.python.org/pypi/pydbus/"
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a916467b91076e631dd8edb7424769c7"
-
-SRC_URI += "file://0001-Support-asynchronous-calls-58.patch \
- file://0002-Support-transformation-between-D-Bus-errors-and-exce.patch \
-"
-
-SRC_URI[md5sum] = "c6abd44862322679bd4e907bebc3e0d0"
-SRC_URI[sha256sum] = "4207162eff54223822c185da06c1ba8a34137a9602f3da5a528eedf3f78d0f2c"
-
-inherit pypi setuptools3
-
-S = "${WORKDIR}/pydbus-${PV}"
-
-RDEPENDS:${PN} = "${PYTHON_PN}-pygobject \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-logging"
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/6] firewalld: add features_check on gobject-introspection-data
2023-05-24 17:14 [PATCH 1/6] python3-pydbus-manager: remove obsolete recipe ross.burton
2023-05-24 17:14 ` [PATCH 2/6] python3-pydbus: " ross.burton
@ 2023-05-24 17:14 ` ross.burton
2023-05-24 23:07 ` [oe] " Khem Raj
2023-05-24 17:14 ` [PATCH 4/6] blueman: " ross.burton
` (2 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: ross.burton @ 2023-05-24 17:14 UTC (permalink / raw)
To: openembedded-devel; +Cc: nd
From: Ross Burton <ross.burton@arm.com>
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../recipes-connectivity/firewalld/firewalld_1.2.0.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
index 987cc640e1..8efbd39f74 100644
--- a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
+++ b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
@@ -15,7 +15,9 @@ SRC_URI[sha256sum] = "28fd90e88bda0dfd460f370f353474811b2e295d7eb27f0d7d18ffa3d7
# glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from gsettings.m4
DEPENDS = "intltool-native glib-2.0-native nftables"
-inherit gettext autotools-brokensep bash-completion pkgconfig python3native python3-dir gsettings systemd update-rc.d ptest
+inherit gettext autotools-brokensep bash-completion pkgconfig python3native python3-dir gsettings systemd update-rc.d ptest features_check
+
+REQUIRED_DISTRO_FEATURES = "gobject-introspection"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd"
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/6] blueman: add features_check on gobject-introspection-data
2023-05-24 17:14 [PATCH 1/6] python3-pydbus-manager: remove obsolete recipe ross.burton
2023-05-24 17:14 ` [PATCH 2/6] python3-pydbus: " ross.burton
2023-05-24 17:14 ` [PATCH 3/6] firewalld: add features_check on gobject-introspection-data ross.burton
@ 2023-05-24 17:14 ` ross.burton
2023-05-24 17:14 ` [PATCH 5/6] networkd-dispatcher: " ross.burton
2023-05-24 17:14 ` [PATCH 6/6] python3-asyncio-glib: " ross.burton
4 siblings, 0 replies; 9+ messages in thread
From: ross.burton @ 2023-05-24 17:14 UTC (permalink / raw)
To: openembedded-devel; +Cc: nd
From: Ross Burton <ross.burton@arm.com>
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
index eb42e62f45..dc7f2b6f7f 100644
--- a/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
+++ b/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb
@@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject python3-cython-native"
-inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache useradd
+inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache useradd features_check
+
+REQUIRED_DISTRO_FEATURES = "gobject-introspection"
SRC_URI = " \
git://github.com/blueman-project/blueman.git;protocol=https;branch=2-3-stable \
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 5/6] networkd-dispatcher: add features_check on gobject-introspection-data
2023-05-24 17:14 [PATCH 1/6] python3-pydbus-manager: remove obsolete recipe ross.burton
` (2 preceding siblings ...)
2023-05-24 17:14 ` [PATCH 4/6] blueman: " ross.burton
@ 2023-05-24 17:14 ` ross.burton
2023-05-24 17:14 ` [PATCH 6/6] python3-asyncio-glib: " ross.burton
4 siblings, 0 replies; 9+ messages in thread
From: ross.burton @ 2023-05-24 17:14 UTC (permalink / raw)
To: openembedded-devel; +Cc: nd
From: Ross Burton <ross.burton@arm.com>
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../networkd-dispatcher/networkd-dispatcher_2.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb b/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb
index e929534c3f..a83dad350f 100644
--- a/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb
+++ b/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
inherit features_check systemd
RDEPENDS:${PN} = "python3-pygobject python3-dbus"
-REQUIRED_DISTRO_FEATURES = "systemd"
+REQUIRED_DISTRO_FEATURES = "systemd gobject-introspection-data"
SRCREV = "30e278e50749a60a930ceaa0971207c6436b8a0c"
SRC_URI = "git://gitlab.com/craftyguy/networkd-dispatcher;protocol=https;nobranch=1"
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 6/6] python3-asyncio-glib: add features_check on gobject-introspection-data
2023-05-24 17:14 [PATCH 1/6] python3-pydbus-manager: remove obsolete recipe ross.burton
` (3 preceding siblings ...)
2023-05-24 17:14 ` [PATCH 5/6] networkd-dispatcher: " ross.burton
@ 2023-05-24 17:14 ` ross.burton
4 siblings, 0 replies; 9+ messages in thread
From: ross.burton @ 2023-05-24 17:14 UTC (permalink / raw)
To: openembedded-devel; +Cc: nd
From: Ross Burton <ross.burton@arm.com>
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../recipes-devtools/python/python3-asyncio-glib_0.1.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb b/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb
index 2314f72845..02ace02a3d 100644
--- a/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb
@@ -3,7 +3,9 @@ AUTHOR = "James Henstridge"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
-inherit setuptools3 pypi
+inherit setuptools3 pypi features_check
+
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
SRC_URI[md5sum] = "60153055e76ceaacdfbaeafb03d61dd9"
SRC_URI[sha256sum] = "fe3ceb2ba5f541330c07ca1bd7ae792468d625bad1acf5354a3a7a0b9fd87521"
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [oe] [PATCH 3/6] firewalld: add features_check on gobject-introspection-data
2023-05-24 17:14 ` [PATCH 3/6] firewalld: add features_check on gobject-introspection-data ross.burton
@ 2023-05-24 23:07 ` Khem Raj
2023-05-25 12:14 ` Ross Burton
0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2023-05-24 23:07 UTC (permalink / raw)
To: Ross Burton; +Cc: openembedded-devel, nd
I see some more fallouts with this
https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2772
On Wed, May 24, 2023 at 10:14 AM Ross Burton <ross.burton@arm.com> wrote:
>
> From: Ross Burton <ross.burton@arm.com>
>
> This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> .../recipes-connectivity/firewalld/firewalld_1.2.0.bb | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
> index 987cc640e1..8efbd39f74 100644
> --- a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
> +++ b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
> @@ -15,7 +15,9 @@ SRC_URI[sha256sum] = "28fd90e88bda0dfd460f370f353474811b2e295d7eb27f0d7d18ffa3d7
> # glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from gsettings.m4
> DEPENDS = "intltool-native glib-2.0-native nftables"
>
> -inherit gettext autotools-brokensep bash-completion pkgconfig python3native python3-dir gsettings systemd update-rc.d ptest
> +inherit gettext autotools-brokensep bash-completion pkgconfig python3native python3-dir gsettings systemd update-rc.d ptest features_check
> +
> +REQUIRED_DISTRO_FEATURES = "gobject-introspection"
>
> PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#102787): https://lists.openembedded.org/g/openembedded-devel/message/102787
> Mute This Topic: https://lists.openembedded.org/mt/99113395/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [oe] [PATCH 3/6] firewalld: add features_check on gobject-introspection-data
2023-05-24 23:07 ` [oe] " Khem Raj
@ 2023-05-25 12:14 ` Ross Burton
2023-05-25 19:02 ` Martin Jansa
0 siblings, 1 reply; 9+ messages in thread
From: Ross Burton @ 2023-05-25 12:14 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel
I did a world build with G-I disabled, patch bomb sent.
Ross
> On 25 May 2023, at 00:07, Khem Raj <raj.khem@gmail.com> wrote:
>
> I see some more fallouts with this
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2772
>
> On Wed, May 24, 2023 at 10:14 AM Ross Burton <ross.burton@arm.com> wrote:
>>
>> From: Ross Burton <ross.burton@arm.com>
>>
>> This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
>>
>> Signed-off-by: Ross Burton <ross.burton@arm.com>
>> ---
>> .../recipes-connectivity/firewalld/firewalld_1.2.0.bb | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
>> index 987cc640e1..8efbd39f74 100644
>> --- a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
>> +++ b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
>> @@ -15,7 +15,9 @@ SRC_URI[sha256sum] = "28fd90e88bda0dfd460f370f353474811b2e295d7eb27f0d7d18ffa3d7
>> # glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from gsettings.m4
>> DEPENDS = "intltool-native glib-2.0-native nftables"
>>
>> -inherit gettext autotools-brokensep bash-completion pkgconfig python3native python3-dir gsettings systemd update-rc.d ptest
>> +inherit gettext autotools-brokensep bash-completion pkgconfig python3native python3-dir gsettings systemd update-rc.d ptest features_check
>> +
>> +REQUIRED_DISTRO_FEATURES = "gobject-introspection"
>>
>> PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
>> PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd"
>> --
>> 2.34.1
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#102787): https://lists.openembedded.org/g/openembedded-devel/message/102787
>> Mute This Topic: https://lists.openembedded.org/mt/99113395/1997914
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [oe] [PATCH 3/6] firewalld: add features_check on gobject-introspection-data
2023-05-25 12:14 ` Ross Burton
@ 2023-05-25 19:02 ` Martin Jansa
0 siblings, 0 replies; 9+ messages in thread
From: Martin Jansa @ 2023-05-25 19:02 UTC (permalink / raw)
To: Ross Burton; +Cc: Khem Raj, openembeded-devel
[-- Attachment #1: Type: text/plain, Size: 2649 bytes --]
Thanks, now I see only the dbusmock in oe-core issue in my world builds.
On Thu, May 25, 2023 at 2:15 PM Ross Burton <ross.burton@arm.com> wrote:
> I did a world build with G-I disabled, patch bomb sent.
>
> Ross
>
> > On 25 May 2023, at 00:07, Khem Raj <raj.khem@gmail.com> wrote:
> >
> > I see some more fallouts with this
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2772
> >
> > On Wed, May 24, 2023 at 10:14 AM Ross Burton <ross.burton@arm.com>
> wrote:
> >>
> >> From: Ross Burton <ross.burton@arm.com>
> >>
> >> This project uses gobject-introspection, so depend on the
> DISTRO_FEATURE.
> >>
> >> Signed-off-by: Ross Burton <ross.burton@arm.com>
> >> ---
> >> .../recipes-connectivity/firewalld/firewalld_1.2.0.bb | 4 +++-
> >> 1 file changed, 3 insertions(+), 1 deletion(-)
> >>
> >> diff --git
> a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/
> firewalld_1.2.0.bb
> b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/
> firewalld_1.2.0.bb
> >> index 987cc640e1..8efbd39f74 100644
> >> ---
> a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/
> firewalld_1.2.0.bb
> >> +++
> b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/
> firewalld_1.2.0.bb
> >> @@ -15,7 +15,9 @@ SRC_URI[sha256sum] =
> "28fd90e88bda0dfd460f370f353474811b2e295d7eb27f0d7d18ffa3d7
> >> # glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from
> gsettings.m4
> >> DEPENDS = "intltool-native glib-2.0-native nftables"
> >>
> >> -inherit gettext autotools-brokensep bash-completion pkgconfig
> python3native python3-dir gsettings systemd update-rc.d ptest
> >> +inherit gettext autotools-brokensep bash-completion pkgconfig
> python3native python3-dir gsettings systemd update-rc.d ptest features_check
> >> +
> >> +REQUIRED_DISTRO_FEATURES = "gobject-introspection"
> >>
> >> PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> >> PACKAGECONFIG[systemd] =
> "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd"
> >> --
> >> 2.34.1
> >>
> >>
> >>
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#102858):
> https://lists.openembedded.org/g/openembedded-devel/message/102858
> Mute This Topic: https://lists.openembedded.org/mt/99113395/3617156
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> Martin.Jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 4452 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-05-25 19:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 17:14 [PATCH 1/6] python3-pydbus-manager: remove obsolete recipe ross.burton
2023-05-24 17:14 ` [PATCH 2/6] python3-pydbus: " ross.burton
2023-05-24 17:14 ` [PATCH 3/6] firewalld: add features_check on gobject-introspection-data ross.burton
2023-05-24 23:07 ` [oe] " Khem Raj
2023-05-25 12:14 ` Ross Burton
2023-05-25 19:02 ` Martin Jansa
2023-05-24 17:14 ` [PATCH 4/6] blueman: " ross.burton
2023-05-24 17:14 ` [PATCH 5/6] networkd-dispatcher: " ross.burton
2023-05-24 17:14 ` [PATCH 6/6] python3-asyncio-glib: " ross.burton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.