Re: [OE-core] Question: Need advise with providing native Bluetooth sockets for Python

2024-11-11 Thread Guðni Már Gilbert via lists . openembedded . org
I've submitted a patch which builds without any issues on my end. I am testing on latest master branch. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#206966): https://lists.openembedded.org/g/openembedded-core/message/206966 Mute This Topic: http

Re: [OE-core] Question: Need advise with providing native Bluetooth sockets for Python

2024-11-11 Thread Ross Burton via lists.openembedded.org
On 9 Nov 2024, at 17:09, Guðni Már Gilbert via lists.openembedded.org wrote: > > Adding this to bluez5 bbappend: > PACKAGECONFIG:class-native = "" > BBCLASSEXTEND = "native" > And to python3 bbappend: > DEPENDS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', > 'bluetooth', '

Re: [OE-core] Question: Need advise with providing native Bluetooth sockets for Python

2024-11-09 Thread Guðni Már Gilbert via lists . openembedded . org
Adding this to bluez5 bbappend: PACKAGECONFIG:class-native = "" BBCLASSEXTEND = "native" And to python3 bbappend: DEPENDS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5-native', '', d)}" Seems to do the trick. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [OE-core] Question: Need advise with providing native Bluetooth sockets for Python

2024-11-09 Thread Guðni Már Gilbert via lists . openembedded . org
Hmm I found this in BlueZ README, it suggests creating a separate package. If no one is against that idea I will try to create it and submit a patch. --enable-library Enable installation of Bluetooth library By default the Bluetooth library is no longer installed. The user interfaces or command l

[OE-core] Question: Need advise with providing native Bluetooth sockets for Python

2024-11-09 Thread Guðni Már Gilbert via lists . openembedded . org
Hi everyone, I am upgrading a project from Scarthgap to Styhead and am facing a problem again which I somewhat solved before though not properly. And now I want to fix it for good and hopefully have the solution upstream too. The problem: I have a Python application which needs bluetooth.h head