[work in progress] Stellarium with an Aarch64 rpm

Hi everyone!

As @michfu has left SailfishOS, he won’t be maintaining his SailfishOS port of Stellarium (itself based on lduboeuf’s UbuntuTouch port, of chengxinlun’s Stellarium Android),
and as aviarus hasn’t managed to get this newer version to compile only the older SFM,

I’ve decided to pick up this package.

The good news:

  • I’ve rebased it on the latest 0.4 upstream of the UbuntuPort (based on the latest Android version, which uses the last publicly available version of the Stellarium-for-Mobile core 1.29.6)
  • It mostly works on my Xperia 10iii
  • It asks for the correct permissions.

The bad news/what’s missing:

  • This latest UbuntuTouch version uses QtQuick Controls 2 API which is NOT available in SailfishOS, and thus the StarloreDialog (that’s the menu that normally comes in Settings => _Starlore) and LocationCityPicker (Settings => Location => Name/City: => Manual).

    (I’ve haven’t noticed other regressions, yet).

The ugly news:

  • Inicidentally, the data pins on my Xperia 10iii broke the other day (I’m still in the left side of the bathtube curve), which is reducing my possibilities to debug/test (only over Wifi) to not mention even charge the smartphone (only USB-C chargers that use USB-PD work as they negociate using CC1,CC2, instead of D+,D-)
  • So I won’t be doing much testing in the near future. Once I get the warranty repair, I could have another look at the app.
11 Likes

Finally got to it. They were using this in a very limited way. I commented the sections (only one scroll attribute) and that works just fine.

The StareLoreDialog is ok, but the LocationCityPicker has another issue:

“file not found: data/base_locations.bin.gz” That file is 500 kb smaller and so we should consider making sure it and not the txt version get distributed.

I went and found that file in the upstream and placed it into the install (.pro data section) which solves that issue, but there is a second issue which is a bit more convoluted.

In any case, I’ll fix that as I find time. GPS works so I’m happy for now. I’ll make a merge request for my changes.

Thanks for getting this this far!

2 Likes

Oh, almost forgot, upstream celebrated version 1.0.

And it’s a really heavy install (100mb +) … so I’m also looking at moving the base dir for the data directory

3 Likes

And, here we go: Corrections to remove QtQuck.Controls and base_locations reading. by poetaster · Pull Request #1 · sailfishos-chum/Stellarium-sailfishos · GitHub

1 Like

Updated on SailfishOS:Chum:testing

1 Like

Small update:
0.4.2 - permission tweaked to also request access to removable media.

So now, you can also move and symlink the data to the SD card, to free space on the tiny root partition.

Will probably send a request to merge into main SailfishOS:Chum

Request for inclusion into SailfishOS:Chum :
https://build.merproject.org/request/show/2486

Thanks to @rinigus for merging it into main Chum !

Ping @flypig : you might want to mention it in the next application roud-up section of the community news.

And big thanks to @poetaster for fixing the app! High five to collaborative work!

2 Likes

Thank you for getting the ball rolling and rebasing in the first place!

1 Like

Fantastic initiative, and thanks for highlighting it @DrYak, I’ll make sure it gets a mention in the next newsletter.

@poetaster : looks like your slowly becoming a Sailfish apps celebrity! :wink:

2 Likes

I just have enough time on my hands and a bit of mania. After 10 boring years I’ve rediscovered my programming childhood :slight_smile:

Thanks again to Stellarium. I had forgetten it! How terrible!

3 Likes