Posts

Showing posts with the label Ubuntu phone

Lazarus development for Ubuntu Phone

Image
This post will cover: Why Lazarus Installing Lazarus IDE on the phone Using phone-installed Lazarus over SSH Device-specific aspects of developing software with Lazarus Native execution on the Ubuntu phone Software publishing and distribution Appendix: tools and scripts but just before all this, here is a 30 min video I recorded especially to go with this post: And these are earlier attempts, where I actually ran lazarus inside a headless X server in a container with an openbox window manager and accessed via VNC. Yes, it was a bit of an overkill, but you gotta start somewhere, and at least I made a progress by now already: Why Lazarus Most of people when they hear "Lazarus" they have no idea what that is. Then they hear "Free Pascal" and they think/say: "Pascal?? Someone is still using this? I learnt it at junior high..." Well, they probably have vague memory of Borland Turbo Pascal, an rather ancient compiler crafted for...

X applications on Ubuntu Phone

Image
All the X software So yeah, Mir ... Canonical's very own display server, to replace X server entirely in the future. Just that, all the great software currently existing, is made for X server. Not for Mir. Simple as that. Well, worry not. First of all, you can still put an executable that is written for X server on the phone. As long as it is ARM linux binary, it is a valid one on the Ubuntu Phone as well. True, you cannot just execute it and expect to work auto-magically, but there is quite a lot of ways you can make it work with some extra work. Generally there are 3 major ways to run X applications on the phone: Right on the phone via XMir Via a compatibility layer called Libertine Off the phone but onto the Desktop via SSH with X forwarding In the future directly: Ubuntu devs demo gtk apps running in Mir XMir to the rescue So Mir is a totally new display server somewhat based on Wayland, but it does come with a layer for compatibility with X. It is called ...