开云体育

Locked Re: Flatpak version


 

For more informations:

Flatpak is a GNU/Linux Desktop package format. Is goal is to provide the
same environment to execute an app on each GNU/Linux distribution that
support Flatpak. Which include Debian, Ubuntu, Fedora, CentOS, OpenSuse,
etc.

Each app can request a runtime that include the majority of its
dependencies. It exist generic runtimes, like Gnome, KDE or FreeDesktop.
But it's possible to make custom runtime.

Each app can also request extension(s) for their runtime. These extensions
add specific dependencies. Like for example audio/video codecs.

And finally, for specific dependencies who are not provided by runtime end
their extension, the app is packages with them.

When the app is launched by an user: A container is created with the app file
system, a read-only access the runtime and its extension(s) and the
software is executed inside this container.

For more about Flatpak:

* The official Flatpak website:


* The documentation:


* The list of GNU/Linux distributions who support Flatpak:



Flathub is a community repository who provide a lot of desktop apps:

* The official Flathub website:


* The publication documentation:


* The app author documentation:



Best regards

-------
Gendre Sébastien




Sébastien Gendre <seb@...> writes:

[[PGP Signed Part:Bad signature from B586F7C77239E29E Sébastien Gendre <seb@...>]]
Hello,

I would like to know if JMRI developers have planned to release JMRI as a
Flatpak, on Flathub.

Flatpak offer a good way to ensure the app to run in the same
environment, for each GNU/Linux system that support Flatpak. Which is a
lot of them. And distributing the app on Flathub will make it
downloadable and installable with a simple click.


I have already started to see if it's technically feasible. For what I
have tested, JMRI run well with OpenJDK 11 java runtime. And Flathub
provide an extension to the Freedesktop sdk that contain the OpenJDK 11
Java Runtime Environment (JRE) and Java Developement Kit (JDK):



This repository README also provide an example of Flatpak manifest to
package a Java app.

I can help on this. But I'm not a Java expert.


Best regards

-------
Gendre Sébastien





[[End of PGP Signed Part]]

Join jmriusers@groups.io to automatically receive all group messages.