Skip to content

[SimpleBLE] Add support for macOS and fixed linux linking bug#14200

Open
AwesomeQuest wants to merge 8 commits into
JuliaPackaging:masterfrom
AwesomeQuest:master
Open

[SimpleBLE] Add support for macOS and fixed linux linking bug#14200
AwesomeQuest wants to merge 8 commits into
JuliaPackaging:masterfrom
AwesomeQuest:master

Conversation

@AwesomeQuest

Copy link
Copy Markdown

The explicit dbus dependency was breaking the functionality of the library by loading its own instance instead of calling the one already on the os

The explicit dbus dependency was breaking the functionality of the library by loading its own instance instead of calling the one already on the os
@AwesomeQuest

Copy link
Copy Markdown
Author

I was decived by AI I'm sorry, I'll do better

AI disclosure, this issue was entirely fixed by AI. I think it looks reasonable and it works (as far as I can tell)
@AwesomeQuest AwesomeQuest reopened this Jul 13, 2026
Comment thread S/SimpleBLE/build_tarballs.jl Outdated
Comment on lines +23 to +27
# dbus source: built locally for Linux to satisfy CMake find_package
# without pulling in Dbus_jll as a runtime dependency (which breaks
# communication with the system bus daemon).
ArchiveSource("https://dbus.freedesktop.org/releases/dbus/dbus-1.16.2.tar.xz",
"0ba2a1a4b16afe7bceb2c07e9ce99a8c2c3508e5dec290dbb643384bd6beb7e2"),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the existing JLL as a Dependency

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since in my testing, when Dbus_jll is included as a dependency it causes a linking issue preventing simpleble from connecting to bluetooth.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you be willing to let me test this by letting this pull request through? if I'm wrong then I'll just switch linux to prebuilt binaries.

@giordano giordano Jul 13, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I've made the change. is this alright?

@giordano giordano changed the title Update build_tarballs.jl to fix broken linking [SimpleBLE] Add support for macOS Jul 13, 2026
Fixed to use Dbus_jll at build time but not runtime
@AwesomeQuest AwesomeQuest changed the title [SimpleBLE] Add support for macOS [SimpleBLE] Add support for macOS and fixed linux linking bug Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants