¿ªÔÆÌåÓý

Locked Re: Flatpak version


 

In theory, there is no reason JMRI could not be packaged as a .deb
and/or .rpm. Such a .deb or .rpm would only have a dependency for openjdk's JRE and would be arch ALL, so would be installably for any version or arch of Linux. One could then do something like:

I don't think it's possible for JMRI to get a .deb file or a .rpm file into Debian or Feodora repositories. We are not able to fulfill the requirements for that.





For example, the Feodora link has the following sentence:

In particular, *.class and *.jar files from upstream releases MUST
NOT be used during build of Fedora packages and they MUST NOT be included in binary RPM.

Debian has similar rules. This is very difficult for us to follow.

See:

Daniel


On 2024-10-02 16:33, Robert Heller wrote:
Flatpak is mainly to get around shared library version dependency issues,
partitularly with LTS Linux distributions and "bleeding edge" applications.
Since JMRI is coded in *JAVA*, its only system dependency is the JAVA JRE. I
don't know if anyone has bothered with a Flatpak of the JAVA JRE (does that
even make sense since a current version of openjdk's jre is available in all
Linux distro repos).

I *suppose* a Flatpak containing the JAVA JRE with JMRI might make sense, but
I don't know if that buys anyone anything. It might NOT be legal to package
Orcale's JAVA that way (not that there really is any reason to do that). I
guess packaging openjdk's JRE in a flatpak with JMRI might make sense, but
why? There are no shared library version dependency issues.

In theory, there is no reason JMRI could not be packaged as a .deb and/or
.rpm. Such a .deb or .rpm would only have a dependency for openjdk's JRE and
would be arch ALL, so would be installably for any version or arch of Linux.
One could then do something like:

sudo apt install ./jmri-5.mumble.deb

which would cause apt to install openjdk-jre as a dependency (simular for
yum/dnf for RPM-based Linuxes). This would be one way of "simplifing" the
install process under linux: download one file (jmri-mumble.deb or
jmri-mumble.rpm) and one "install" command: sudo apt install
./jmri-5.mumble.deb or sudo install dnf install ./jmri-5.mumble.rpm. The
.deb or .rpm file could even include dropping stuff in the Freedesktop.org
places to get JMRI's entry points into the system menu, etc.

I guess the only other thing would be getting JMRI onto the radar of the
distro maintainers to get it into the official distro repos.

At Wed, 02 Oct 2024 05:25:27 +0200 [email protected] wrote:

Join [email protected] to automatically receive all group messages.