Community meeting on IRC 23rd June 2022

  • Name/IRC nick: Nico
  • Topic: Updating kf5bluezqt - MediaTransport conflict
  • Some details about the topic: see below
  • Approx. time needed: 15min
  • Substitute (optional):

Jolla intends to deprecate QBluetooth (part of QtConnectivity) usage in Sailfish: https://forum.sailfishos.org/t/deprecation-notice-bluez-gnutls-qtconnectivity-qtsysteminfo-repomd-pattern-builder/
Some applications currently use this to talk to advanced bluetooth gadgets. One of them is OBDFish: https://github.com/explit7/OBDFish

I wanted to update that application to use kf5bluezqt, since doing raw Dbus calls is not something I am comfortable with. The characteristics stuff in kf5bluezqt should be usable as a replacement for QBluetoothSocket. This was however added after the 5.50 version currently available in Sailfish. While that package was updated in February, it was only updated to 5.50, since newer version add a MediaTransport API which the Sailfish package added independently as a patch.

I would like to figure out how to move forward with that conflict to get a newer kf5bluezqt before QBluetooth is removed. Ideally we could just switch to the upstream implementation of MediaTransport, but this doesn’t expose some properties Sailfish does and some things have different names. Should those be merged? Are those necessary? What about binary compatibility concerns? I am not familiar enough with that package to judge that and I would like to figure out who I should talk to and maybe get some answers.

As an additional question some of the patches in that package look like they are valid bugfixes and should be upstreamed, but I am not sure if they are specific to the old Qt version SailfishOS uses or if they are even still applicable. It would be great to be able to drop some of those patches to make updating the package less of a pain.

You can find my current work in progress upgrade to 5.82.0 here: https://github.com/deepbluev7/kf5bluezqt

Feel free to postpone that question until a later meeting if it takes a while to answer or to approach me directly on IRC/Matrix/the forum, since this topic probably isn’t interesting to everyone.

2 Likes