iPhone support?

Basic iPhone support has been in CVS for a while now, but it’s still rudimentary and it’s not straightforward to build.