From 7cee6348fd25b332770497173ece249e74b27ec9 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Sat, 23 May 2020 14:35:26 +0100 Subject: [PATCH] Cry in public --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e5bd706..d5d9457 100644 --- a/README.md +++ b/README.md @@ -121,8 +121,7 @@ binaries with musl, but openssl makes it hard. If you get it working, tell me how! UBTouch uses an ancient version of OpenSSL: 1.0.2g. KDE Neon does much better -with 1.1.1, so is easier to compile against. PostmarketOS is probably easiest of -all. +with 1.1.1, so is easier to compile against. An alternative approach to using multiarch (as above) is to use `debootstrap` (or a similar tool) to get a sysroot containing libraries of all the right @@ -131,6 +130,20 @@ versions. E.g. You can then add `-C link-args=--sysroot=/path/to/sysroot` to ...I'm compiling it directly on the phone. Not ideal. Add swap. +Compiling directly on the phone, using KDE Neon, I can get Padfoot running at +the same time as [Spacebar](https://invent.kde.org/plasma-mobile/spacebar), +which is a Telepathy client. I can see that Padfoot is checked for protocols, +but I don't see a way to start a connection with it yet. Next step for this is +to get Spacebar built and running locally, for a better debugging experience. + +postmarketOS is more difficult. It's an `aarch64...musl` target. Rustup doesn't +support this, and the `rustc` included in the repositories is stable, not +nightly, so compiling directly on the phone is very difficult. Cross-compile is +likely the way to go here, in the end, but I need to get one of the two tries +above working first. Spacebar is available, but Empathy is not. + +Phosh uses Chatty, which is based on libpurple, so doesn't work with Padfoot. + ### Installing There is a `share/` directory in this project that contains a bunch of files.