AsteroidOS / starship

SailfishOS synchronization app for AsteroidOS.
GNU General Public License v3.0
22 stars 12 forks source link

What's a good way to build this on-device? #7

Open nerd7473 opened 3 years ago

nerd7473 commented 3 years ago

There are no builds or releases, so I don't have a good idea of where to start to try this.

GeoffTearle commented 3 years ago

Hey @nerd7473, unfortunately there's currently an incompatibility between the versions of bluez5 that are used on AsteriodOS and SailfishOS (4.0, & 4.1) :(

Currently Sailfish is using bluez5 5.54 which has a flaw in the code that caches GATT information. This results in the bluetoothd service segfaulting, on the phone, when you try to connect your watch.

This should be resolved in the next SailfishOS update as they have recently upgraded their bluez5 fork to 5.58.

To answer your question though, unfortunately I'm not sure how to build this on a Sailfish device, but it is quite simple to build using Sailfish's Application SDK. https://sailfishos.org/wiki/Application_Development

The AsteroidOS team is wanting to get Starfish published to the jolla store, but unfortunately I've been quite busy recently and haven't been able to assist in getting that set up.

direc85 commented 3 years ago

It looks like a thing and a half to get Starfish accepted to Jolla Store, because it has to be able to install systemd services, has multiple binary files and requires and provides libraries.

It is however trivial to push Starfish into Openrepos, though. There is another app called Starfish already... The polite solution would be changing the name; the other application has ~4400 downloads, too.

I just managed to get Starfish build on my Sailfish Application SDK for SFOS 4.1.0.24, and yes, pairing the watch either hangs or crashes Sailfish Settings on my XA2. So, let's wait for 4.2.0 EA...