Jump to content

LuneOS UI: Difference between revisions

From postmarketOS Wiki
move photo to bottom, add note that just selecting it doesn't make it automatically start
update to gitlab.postmarketos.org
 
(13 intermediate revisions by 8 users not shown)
Line 4: Line 4:
| toolkit = QT5
| toolkit = QT5
| image = File:LuneOS Browser.png|LuneOS UI running on pmOS
| image = File:LuneOS Browser.png|LuneOS UI running on pmOS
| unavailable = yes
}}
}}


User interface from LuneOS, a continuation of webOS (Palm/HP's discontinued and open sourced mobile operating system updated with Wayland and QT5). A UI port is under development.[https://github.com/postmarketOS/pmbootstrap/issues/629]
[[File:luna_qemu_pmos_dec13.png |thumb| LuneOS UI running in QEMU]]


User interface from LuneOS, a continuation of webOS (Palm/HP's discontinued and open sourced mobile operating system updated with Wayland and QT5).


== Current Status ==
== Unmaintained ==


The UI currently starts in QEMU and a couple of real devices, along with most of the core services.
We were able to present an initial version in [https://postmarketos.org/blog/2017/12/31/219-days-of-postmarketOS/#luneos-ui December of 2017]. But after that, LuneOS was unmaintained and didn't build anymore ({{issue|49|pmaports}}). '''The packages have been removed from postmarketOS.''' If you are interested in making it work again and maintaining the packages, [https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/tree/0.6.0/aports/luna here are the old build recipies] for reference.


This does ''not'' mean porting work is done, there's still a ton of work to get something usable day-to-day. See [https://trello.com/b/5tzrh9gw/luneos-porting magmastonealex's trello board] for more detailed status of the effort.
'''All information above is outdated.'''


Current work can be found in master.
''It's sad that we can't maintain this right now and had to remove it. But nevertheless, some of the efforts lived on, because ncopa from Alpine Linux could use some of the musl related qt5-qtwebengine patches that magmastonealex created to make LuneOS UI work on postmarketOS. And who knows, we could be able to support this UI again in the future if someone steps up to maintain it.''


See [https://github.com/postmarketOS/pmbootstrap/issues/629 The github issue] related to this work as well.
== Running (QEMU) ==
== Running (QEMU) ==
{{outdated|You cannot choose luna in UI section anymore.}}
{{note|Choosing luna in the UI selection in <code>pmbootstrap init</code> is not enough to make it start right now!}}
{{note|Choosing luna in the UI selection in <code>pmbootstrap init</code> is not enough to make it start right now!}}
Install:
Install:
Line 27: Line 29:
* mesa-egl
* mesa-egl


Run /usr/bin/start_luna.sh to start everything. The first-use app should open.
Edit /usr/bin/start_luna.sh, to set your desired input devices on the luna-next line. Run /usr/bin/start_luna.sh to start everything. The first-use app should open.
 
See also {{issue|629}} for more instructions and ideas for getting this running on non-accelerated phones.


Complete the steps, when you get to the black screen, click where the "next" button should be. It's not clear what causes that yet.
Complete the steps, when you get to the black screen, click where the "next" button should be. It's not clear what causes that yet.
Line 34: Line 38:


== Major to-dos ==
== Major to-dos ==
* Running this on ARM (Everything is packaged. Currently seems to crash on non-hardware accellerated devices in swrast somewhere.)
* Running this on ARM (Everything is packaged. Currently seems to crash on non-hardware accellerated devices in swrast somewhere.)
* Trying to get this running with software rendering (Appears to work somewhat, no luck on armhf yet.) Zhuowei has a lot of research [https://github.com/postmarketOS/pmbootstrap/issues/629 here].
* Trying to get this running with software rendering (Appears to work somewhat, no luck on armhf yet.) Zhuowei has a lot of research in {{issue|629}}.
* Getting the HAL working (nyx-lib). (Probably involved, but can support only a couple things at first)
* Getting the HAL working (nyx-lib). (Probably involved, but can support only a couple things at first)
* Create init service files to get services starting at boot.
* Create init service files to get services starting at boot.
* See [https://trello.com/b/5tzrh9gw/luneos-porting magmastonealex's trello board]
* See [https://trello.com/b/5tzrh9gw/luneos-porting magmastonealex's trello board]
* Applying the LuneOS patches for <code>qt5-qtwebengine</code> again. magmastonealex [https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/tree/ac17316441ab522b9d7bbfcf53dc6f41d1420754/aports/main/qt5-qtwebengine made a version] that worked with QT 5.9, but these patches are incompatible with later QT versions (details: {{issue|1459}})


== Photos ==
[[File:luna_qemu_pmos_dec13.png |thumb|left| LuneOS UI running in QEMU]]


[[Category:Interface]]
== See also ==
* [https://postmarketos.org/blog/2017/12/31/219-days-of-postmarketOS/#luneos-ui 219 days of postmarketOS: LuneOS UI]
* {{issue|629}} initial issue about packaging LuneOS UI with lots of information and photos
* {{issue|49|pmaports}} LuneOS is broken (issue migrated from {{issue|1459}})
* [https://trello.com/b/5tzrh9gw/luneos-porting magmastonealex' LuneOS UI trello board]

Latest revision as of 06:40, 3 November 2024

LuneOS UI
Name LuneOS UI
Graphics stack Wayland
Toolkit QT5
In postmarketOS
Package N/A
Status Unavailable
LuneOS UI running in QEMU

User interface from LuneOS, a continuation of webOS (Palm/HP's discontinued and open sourced mobile operating system updated with Wayland and QT5).

Unmaintained

We were able to present an initial version in December of 2017. But after that, LuneOS was unmaintained and didn't build anymore (pmaports#49). The packages have been removed from postmarketOS. If you are interested in making it work again and maintaining the packages, here are the old build recipies for reference.

All information above is outdated.

It's sad that we can't maintain this right now and had to remove it. But nevertheless, some of the efforts lived on, because ncopa from Alpine Linux could use some of the musl related qt5-qtwebengine patches that magmastonealex created to make LuneOS UI work on postmarketOS. And who knows, we could be able to support this UI again in the future if someone steps up to maintain it.

Running (QEMU)

OUTDATED! You cannot choose luna in UI section anymore.
Note Choosing luna in the UI selection in pmbootstrap init is not enough to make it start right now!

Install:

  • postmarketos-ui-luna
  • mesa-dri-virtio (if in QEMU)
  • mesa
  • mesa-egl

Edit /usr/bin/start_luna.sh, to set your desired input devices on the luna-next line. Run /usr/bin/start_luna.sh to start everything. The first-use app should open.

See also #629 for more instructions and ideas for getting this running on non-accelerated phones.

Complete the steps, when you get to the black screen, click where the "next" button should be. It's not clear what causes that yet.

Once the app exits and you're presented with the home screen, run luna-send -n 1 'luna://com.palm.configurator/run' '{"types":["dbkinds","dbpermissions","activities"]}' in another terminal. Stop luna, reboot, and start luna again, and everything should be usable.

Major to-dos

  • Running this on ARM (Everything is packaged. Currently seems to crash on non-hardware accellerated devices in swrast somewhere.)
  • Trying to get this running with software rendering (Appears to work somewhat, no luck on armhf yet.) Zhuowei has a lot of research in #629.
  • Getting the HAL working (nyx-lib). (Probably involved, but can support only a couple things at first)
  • Create init service files to get services starting at boot.
  • See magmastonealex's trello board
  • Applying the LuneOS patches for qt5-qtwebengine again. magmastonealex made a version that worked with QT 5.9, but these patches are incompatible with later QT versions (details: #1459)


See also