diff mbox series

[meta-oe,2/2] sdbus-c++: Support using alternative runtime D-Bus

Message ID 20250402112901.3804235-2-niko.mauno@vaisala.com
State New
Headers show
Series [meta-oe,1/2] iwd: Support using alternative runtime D-Bus | expand

Commit Message

Niko Mauno April 2, 2025, 11:29 a.m. UTC
In order to facilitate using e.g. dbus-broker as runtime D-Bus
implementation, change the Freedesktop.org specific D-Bus runtime
dependency declaration to honor oe-core's new VIRTUAL-RUNTIME_dbus
variable.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Khem Raj April 2, 2025, 2:27 p.m. UTC | #1
On 4/2/25 4:29 AM, Niko Mauno via lists.openembedded.org wrote:
> In order to facilitate using e.g. dbus-broker as runtime D-Bus
> implementation, change the Freedesktop.org specific D-Bus runtime
> dependency declaration to honor oe-core's new VIRTUAL-RUNTIME_dbus
> variable.
> 
> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
> ---
>   meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb
> index 2b6bb1011a..a3e7c9ab54 100644
> --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb
> +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb
> @@ -46,6 +46,6 @@ do_install_ptest() {
>   FILES:${PN}-ptest =+ "${sysconfdir}/dbus-1/system.d/"
>   FILES:${PN}-dev += "${bindir}/sdbus-c++-xml2cpp"
>   
> -RDEPENDS:${PN}-ptest += "dbus"
> +RDEPENDS:${PN}-ptest += "${VIRTUAL-RUNTIME_dbus}"
>   # It adds -isystem which is spurious, no idea where it gets it from
>   CCACHE_DISABLE = "1"
> 

Thanks for these patches, as I understand they depend upon the changes 
in flight for oe-core, so do me favor, consolidate all the patches 
needed in meta-openembedded layer into a single series and send it 
together and perhaps send a reminder once it gets merged into oe-core.

> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116523): https://lists.openembedded.org/g/openembedded-devel/message/116523
> Mute This Topic: https://lists.openembedded.org/mt/112044576/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb
index 2b6bb1011a..a3e7c9ab54 100644
--- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb
+++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb
@@ -46,6 +46,6 @@  do_install_ptest() {
 FILES:${PN}-ptest =+ "${sysconfdir}/dbus-1/system.d/"
 FILES:${PN}-dev += "${bindir}/sdbus-c++-xml2cpp"
 
-RDEPENDS:${PN}-ptest += "dbus"
+RDEPENDS:${PN}-ptest += "${VIRTUAL-RUNTIME_dbus}"
 # It adds -isystem which is spurious, no idea where it gets it from
 CCACHE_DISABLE = "1"