Re: [OE-core] [PATCH 2/2] python3: add bluez5-native to DEPENDS conditionally

2024-11-16 Thread Guðni Már Gilbert via lists . openembedded . org
This isn't a problem on Scarthgap, so I looked into what has changed, and I found the two changes which introduce the dependency loop. 1. glib-2.0 now adds gobject-introspection to DEPENDS if gobject-introspection-data is in DISTRO_FEATURES 2. systemd now inherits mime class and adds shared-mime

Re: [OE-core] [PATCH 2/2] python3: add bluez5-native to DEPENDS conditionally

2024-11-16 Thread Guðni Már Gilbert via lists . openembedded . org
Hi all, I've thought some more about this issue. I think it is best to remove these two patches I submitted from master-next if you haven't done so already. Using bluez5-native is wrong, I was misunderstanding the 'native' part a little bit. Moving forward I think there are really only two poss

Re: [OE-core] [PATCH 2/2] python3: add bluez5-native to DEPENDS conditionally

2024-11-16 Thread Alexander Kanavin via lists.openembedded.org
On Sat, 16 Nov 2024 at 11:56, Guðni Már Gilbert via lists.openembedded.org wrote: > > Hi all, > > I've thought some more about this issue. I think it is best to remove these > two patches I submitted from master-next if you haven't done so already. > Using bluez5-native is wrong, I was misunders

Re: [OE-core] [PATCH 2/2] python3: add bluez5-native to DEPENDS conditionally

2024-11-14 Thread Guðni Már Gilbert via lists . openembedded . org
Hi Richard, I do agree with you, this feels like its not the "proper" solution. I am pretty sure you don't need python3 to build BlueZ, I suspect it has something to do with systemd. Perhaps we can optimise the DEPENDS in BlueZ recipe. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sen

Re: [OE-core] [PATCH 2/2] python3: add bluez5-native to DEPENDS conditionally

2024-11-14 Thread Richard Purdie via lists.openembedded.org
On Mon, 2024-11-11 at 17:34 +, Guðni Már Gilbert via lists.openembedded.org wrote: > When bluetooth is in DISTRO_FEATURES, Python should enable support for > Bluetooth sockets > in the socket library. To enable AF_BLUETOOTH socket family and its > protocols, bluetooth.h > header needs to be

Re: [OE-core] [PATCH 2/2] python3: add bluez5-native to DEPENDS conditionally

2024-11-13 Thread Guðni Már Gilbert via lists . openembedded . org
Thanks for the suggestion Alexander. I really appreciate it. Now that I have my bluetooth hardware running on master branch, I can easily test this. It will probably have to wait until the weekend though. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Onli

Re: [OE-core] [PATCH 2/2] python3: add bluez5-native to DEPENDS conditionally

2024-11-12 Thread Alexander Kanavin via lists.openembedded.org
On Mon, 11 Nov 2024 at 18:34, Guðni Már Gilbert via lists.openembedded.org wrote: > +# Enable support for AF_BLUETOOTH socket family > +DEPENDS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', > 'bluetooth', 'bluez5-native', '', d)}" This is brittle and can be improved. If bluez5-

[OE-core] [PATCH 2/2] python3: add bluez5-native to DEPENDS conditionally

2024-11-11 Thread Guðni Már Gilbert via lists . openembedded . org
When bluetooth is in DISTRO_FEATURES, Python should enable support for Bluetooth sockets in the socket library. To enable AF_BLUETOOTH socket family and its protocols, bluetooth.h header needs to be available at build-time. With this change a Python application can open and use Bluetooth sockets