stellarium icon indicating copy to clipboard operation
stellarium copied to clipboard

adapt stellarium to non-android/non-aosp-based mobile devices? postmarket, ubuntoutuch, manjaro, maemo...

Open lm2lm2 opened this issue 1 year ago • 17 comments

hello

in order to definitely leave android/lineage/aosp operating system, to postmarketos (or others kind of mobian/droidian/maemoleste/ubuntutouch/manjaro), would it be possible to adapt stellarium on the pure linux mobile OS?

thank you!

lm2lm2 avatar Aug 11 '24 17:08 lm2lm2

This is a good task for the community to participate in the contribution into Stellarium. Who wants to help us?

github-actions[bot] avatar Aug 11 '24 19:08 github-actions[bot]

It is certainly "possible" to do that. But seriously the 3 of us won't do it. Be the one, do it and get famous!

gzotti avatar Aug 11 '24 21:08 gzotti

Suggestion: 10 years ago option GUI_MODE was removed as outdated solution, so, anyone can add separate gui for small-screen devices and reintroduce this mode again

alex-w avatar Aug 20 '24 13:08 alex-w

Hm? We have GUI_MODE=Standard|None. Was there a third option? A new option without large-screen Qt widgets (e.g. QML) could be added, but is far from a weekend enjoyment. This is what I mean. If @lm2lm2 so much wants it, here is the starting point.

gzotti avatar Aug 20 '24 14:08 gzotti

Hm? We have GUI_MODE=Standard|None. Was there a third option? A new option without large-screen Qt widgets (e.g. QML) could be added, but is far from a weekend enjoyment. This is what I mean. If @lm2lm2 so much wants it, here is the starting point.

my thought would be : seeing the very great and perfect result of stellarium on android and iphone, does a such projects could aim the same interface, the same features, within a postmarketos (or other non android based) phone?

btw, if there is only "standard" and "none", how does it works for ios/android?

(in addition please notice i never coded...)

lm2lm2 avatar Aug 20 '24 17:08 lm2lm2

seeing the very great and perfect result of stellarium on android and iphone

If you mean Stellarium Mobile, it's a separate project, specifically designed to be used on mobile devices and sharing no code with Stellarium.

if there is only "standard" and "none", how does it works for ios/android?

Desktop Stellarium doesn't work on iOS/Android AFAIK.

10110111 avatar Aug 20 '24 17:08 10110111

seeing the very great and perfect result of stellarium on android and iphone

If you mean Stellarium Mobile, it's a separate project, specifically designed to be used on mobile devices and sharing no code with Stellarium.

if there is only "standard" and "none", how does it works for ios/android?

Desktop Stellarium doesn't work on iOS/Android AFAIK.

but we can well concur that stellarium mobile is not 100% independent of the opensource stellarium app, not just a "name borrowed", but it's well a part of the desktop project, as code plus space/data information used, to adapt it on mobile?

edit: as they concur :

Stellarium, the award-winning open source planetarium, is now available on your mobile devices! https://stellarium-labs.com/stellarium-mobile-plus/

lm2lm2 avatar Aug 20 '24 17:08 lm2lm2

Old Stellarium Mobile is based on version 0.13 of desktop edition, but the modern Stellarium Mobile Plus is a full new project who sharing ideas and some look, but not the code (C language for Mobile+ and C++ language for Mobile)

alex-w avatar Aug 20 '24 17:08 alex-w

The current smartphone apps called "Stellarium mobile" for iOS and Android are not derived from the desktop program. Many years ago there was a smartphone version of Stellarium that was forked away from desktop Stellarium. It has developed too far away to remain source compatible. Some other people have forked and compiled desktop Stellarium for Android. These seem to work on ~10" tablets, but not on 6" phone screens. Their changes never went back here, so are not part of this project. Nobody, including any of the core developers, has ever provided a post-1.0 version of Desktop Stellarium running on Android devices with small screens.

gzotti avatar Aug 20 '24 17:08 gzotti

Please check https://github.com/ultrapre/Stellarium-mobile

alex-w avatar Aug 20 '24 17:08 alex-w

The current smartphone apps called "Stellarium mobile" for iOS and Android are not derived from the desktop program. Many years ago there was a smartphone version of Stellarium that was forked away from desktop Stellarium. It has developed too far away to remain source compatible. Some other people have forked and compiled desktop Stellarium for Android. These seem to work on ~10" tablets, but not on 6" phone screens. Their changes never went back here, so are not part of this project. Nobody, including any of the core developers, has ever provided a post-1.0 version of Desktop Stellarium running on Android devices with small screens.

that means its quite definitely dead, to adapt either : -stellarium desktop -stellarium mobile project, android/iphone

..to any linux-phone, such as postmarketos, manjrao, mobian, maemo leste, ubuntu, sailfish..

lm2lm2 avatar Aug 20 '24 17:08 lm2lm2

Please check https://github.com/ultrapre/Stellarium-mobile

Stellarium MobileStellarium Mobile is a fork of Stellarium, developed by some of the Stellarium team members. It currently targets mobile devices running Symbian, Maemo, Android, and iOS. Some of the mobile optimisations have been integrated into the mainline Stellarium product. https://en.wikipedia.org/wiki/Stellarium_(software)

no real/easy clue to see a real independence between those two softwares

lm2lm2 avatar Aug 20 '24 17:08 lm2lm2

no real/easy clue to see a real independence between those two softwares

I share the link to fork an old mobile edition, who is based on desktop edition of Stellarium

alex-w avatar Aug 20 '24 17:08 alex-w

This is a fork of the version mentioned in

Many years ago there was a smartphone version of Stellarium that was forked away from desktop Stellarium. It has developed too far away to remain source compatible.

Unfortunately, whoever does that seems not to document changes, or write usage instructions for their new features. At least there are APKs in this repo.

gzotti avatar Aug 20 '24 17:08 gzotti

no real/easy clue to see a real independence between those two softwares

Right, this one, despite being named "Stellarium-mobile", is not the app that you see in the app stores.

The actual independent project seen in the app stores is based on this one, has seriously evolved and is no longer open-source.

10110111 avatar Aug 20 '24 17:08 10110111

The Android version of Stellarium is very limited. I have installed Andronix, a prooted Linux on Android with a complete desktop available via VNC. Running Stellarium 24.2 (just by installing it via the Ubuntu package manager) is flawlessly, so I can run full fledged Stellarium (and other apps, like Firefox) on my smartphone. It is accessible via a VNC viewer on the smartphone itself (screen might be too small so I use 1200x600 resolution) or a VNC viewer on a desktop computer. There are more Linux deploys on Android.

freebrowser1 avatar Aug 21 '24 07:08 freebrowser1

There are Andro* power users who attach a desktop monitor or run VNC. And there are too few developers who add or improve functional features to the desktop-designated software in front of a 30" or larger desktop screen and just have no time to care for *droid and 12 flavours of free competitors. If you know what to do, fine. If you can describe what you do for others to repeat, much better. If you fork the repo, add a GUI that fulfills the needs of 6" Android screens (which you know better than devs on 30" screens whose smartphones die before they have learned all features), compiles for Android on at least one of the 3 supported desktop dev platforms (Windows, macOS, Ubuntu Linux, all with Qt6.5 or later), spits out an APK for self installation for e.g. Android8+ and whatever mobile systems you feel the need to support, clearly describes the configuration steps for total mobile dev noobs and does not break the sources for the desktop mainline, we could even include it in the official repo. But don't expect us to do this.

gzotti avatar Aug 21 '24 07:08 gzotti