After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772606 - Create a container (with Flatpak for example)
Create a container (with Flatpak for example)
Status: RESOLVED OBSOLETE
Product: gnome-latex
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: unspecified
Assigned To: LaTeXila maintainer(s)
LaTeXila maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-10-08 13:34 UTC by Sébastien Wilmet
Modified: 2018-02-23 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2016-10-08 13:34:09 UTC
I tried to create a Flatpak, see the wip/flatpak branch:

https://git.gnome.org/browse/latexila/commit/?h=wip/flatpak

As said in the commit message:
There is a problem, LaTeX (TeX Live) is not installed inside the sandbox.
LaTeXila launches a GSubprocess with a latex command.
See this thread:

"Flatpak and LaTeX"
https://lists.freedesktop.org/archives/xdg-app/2016-June/000255.html

An interesting addition in Flatpak 0.6.10:

> A new dbus request "HostCommand" has been added to org.freedesktop.Flatpak.
> This lets you run any command on the host, and is therefore clearly not
> sandboxed, so access to this should be limited. However, it is very useful
> if you're using flatpak mainly as a distribution mechanism, for a non-sandboxed
> application.

But it needs code modification in latexila to make it work (or maybe a GSubprocess flag can be added in GIO to launch the command on the host).

Or instead of using Flatpak, another container system could be used, like systemd-nspawn. See the following article for a way to create a systemd-nspawn container for a LaTeX application:
https://ramsdenj.com/2016/09/23/containerizing-graphical-applications-on-linux-with-systemd-nspawn.html
Comment 1 GNOME Infrastructure Team 2018-02-23 16:26:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-latex/issues/39.