smithay icon indicating copy to clipboard operation
smithay copied to clipboard

Initial Android port

Open togetherwithasteria opened this issue 1 year ago • 9 comments

This feels like a very niche feature, but it's teoritically possible to run a Wayland compositor in Android!

Why though?

Upstream GTK has no interest for an Android backend, since it's quite hard for them to maintain an Android GDK backend, since they're pretty short-handed at the moment, soo people might be able to use this to run GNOME apps on Android!!

Nevertheless, with GNOME priorities are on mobile Linux now, we could expect smooth compatibility with Android phones once all the technical things are resolved!!

This is also great for emulating PC apps to run on Android, though not sure whether they'll run with acceptable performance.

History

Initially, I wanted this to be in a hardfork of Smithay, but I found @Drakulix to be of interest mainlining this into upstream Smithay! So here we are..

The commits here are recommits based on the https://github.com/waylovely-project/smithay/commits/main branch.

This PR requires #745 to be merged first!!

togetherwithasteria avatar Aug 21 '22 02:08 togetherwithasteria

I feel like you accidentially added huge file which contains logs and errors which shouldn't be part of smithay for sure.

heavyrain266 avatar Aug 21 '22 06:08 heavyrain266

I feel like you accidentially added huge file which contains logs and errors which shouldn't be part of smithay for sure.

waitt. oh my goodness... Sorry!!

togetherwithasteria avatar Aug 21 '22 06:08 togetherwithasteria

Uhh also, I have yet to test this PR first. This PR is basically a rebase of the original branch soo.. yeah!!

togetherwithasteria avatar Aug 21 '22 06:08 togetherwithasteria

Hiii everyonee!! <3

Let's talk about the state of this PR.

Not that this PR is staling or something, but it's much more about the estimated time I can finish this PR!!

Soo, when I initially worked on this, I had to cross compile a lot of dependencies for this. Most of the build scripts for that (except the core scripts) was placed in my original Smithay fork, but obviously it has to be away, since we don't want Smithay vendoring soo many libraries!!

I would like to have a nice compilation experience for everyone looking to use Smithay in Android, soo I'm currently slowly reworking on the home-made build system for this!!

togetherwithasteria avatar Aug 25 '22 13:08 togetherwithasteria

Alsooo I think I have to change the app id to something like io.github.smithay.Anvil?

I wonder how we should get Smithay inside of AOSP too, but maybe that'll be for another time..

togetherwithasteria avatar Sep 18 '22 07:09 togetherwithasteria

Alsooo I think I have to change the app id to something like io.github.smithay.Anvil?

io.smithay.Anvil would be more appropriate, I think.

I wonder how we should get Smithay inside of AOSP too, but maybe that'll be for another time..

Lets not rush things ^^

Drakulix avatar Sep 21 '22 12:09 Drakulix

Seems like a great project, would love to test this when builds are being produced, seems like in conjunction with waypipe, it could be great for developing mobile linux applications for those without linux capable phones.

Quackdoc avatar Nov 01 '22 00:11 Quackdoc

Seems like a great project, would love to test this when builds are being produced, seems like in conjunction with waypipe, it could be great for developing mobile linux applications for those without linux capable phones.

yuppp that's our goal. But I'm having midterms this month so can't do much.

But December is interesting though!!

togetherwithasteria avatar Nov 03 '22 15:11 togetherwithasteria

Seems like a great project, would love to test this when builds are being produced, seems like in conjunction with waypipe, it could be great for developing mobile linux applications for those without linux capable phones.

At the moment, we haven't even managed to run any apps atm.

But we'll working in it!

togetherwithasteria avatar Nov 07 '22 21:11 togetherwithasteria