RKWard | Submit to flathub (#13)

Thomas Friedrichsmeier (@tfry) noreply at kde.org
Fri Apr 22 12:29:23 BST 2022




Thomas Friedrichsmeier commented:


https://github.com/flathub/flathub/pull/3042

On hold for now, because executing binaries outside the sandbox fails due to problems with the paths they see: https://docs.flatpak.org/en/latest/sandbox-permissions.html (e.g. gcc would be at /var/run/host/usr/bin, and can be started, but will fail as soon as it looks for any other files in /usr; same for R).

Plan to work around this:
 - Create a chroot-wrapper to start external R. The chroot dir (inside /app, I guess) will have the standard paths mapped in.
 - Start system-installed R inside that chroot.
 - Whenever passing paths between frontend and backend, make sure to map them as appropriate (this is going to be quite a hassle, but is a long-term-plan anyway, in order to allow remote R backends, for instance).
 - R will no longer be bundled inside the flatpak, after this, but be an external dependency (if allowed)

---

For reference:
flatpak cheat-cheet: https://develop.kde.org/docs/build/flatpak/publishing/

-- 
Reply to this email directly or view it on GitLab: https://invent.kde.org/education/rkward/-/issues/13#note_436361
You're receiving this email through KDE Activity Filter (see sysadmin/activityfilter on invent.kde.org)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20220422/666e0fdf/attachment.htm>


More information about the rkward-devel mailing list