News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Simutrans now available at Flathub (flatpak)

Started by Roboron, June 07, 2024, 03:14:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Roboron

Simutrans is now officially available at Flathub

=> https://flathub.org/apps/com.simutrans.Simutrans

This means Simutrans can now be searched and installed from Linux app stores (such as KDE Discover or GNOME Software) even if it is not packaged by your distribution.

You can also choose to install Simutrans from Flathub to get faster managed updates (currently, only OpenSuse has updated Simutrans to version 124 or 124.1).

Note: This was possible thanks to the work done for the 124 release (the new directory structure and more). However, currently the title says it is the "nightly" (it is indeed revision 11276), because some minor unplanned packaging changes were needed. But it is disguised as r11272 so you can use it for online play. As a positive side-effect, the tutorial works as it is not affected by the version comparison bug ;)

m.vanderwulp

Quote from: Roboron on June 07, 2024, 03:14:47 PM(currently, only OpenSuse has updated Simutrans to version 124 or 124.1).

Yes, I spent some time on that this week...

Simutrans 124.1 is now available on OpenSuse Tumbleweed and Leap 15.5 and Leap 15.6, if  you add the games repo (at https://download.opensuse.org/repositories/games/...).
Also the paks are updated:
simutrans-pak128, simutrans-pak128-german, simutrans-pak192-comic, simutrans-pak64, simutrans-pak64-german, etc.
And, yes, finally the sound is working, too!

This work is done at the OpenSuse build service, see https://build.opensuse.org/package/show/games/simutrans .

I had to patch the simutrans makefile to make it build - only needed for both Leaps, not needed for Tumbleweed - since Leap uses a somewhat older GNU make version. Maybe you can add that "\" in simutrans? See the patch file in the link above.

Constructing a "spec" file is really difficult for me, so if you would have any remarks to improve, let me know!

Regards

prissi

Thanks. However, it was a design decision not to hide addons, screenshots, and saved games since a normal user should see them. Hence the ~/simutrans patch will have to remain.

On the makefile: I guess that line was never executed, otherwise Haiku's gnu 4.xx had certainly an older make and would have complained.

Roboron

Quote from: m.vanderwulp on June 07, 2024, 07:52:31 PMAnd, yes, finally the sound is working, too!

Glad to see things progressing downstream!

Quote from: m.vanderwulp on June 07, 2024, 07:52:31 PMMaybe you can add that "\" in simutrans? See the patch file in the link above.

I think prissi has already done so. Also note that CMake can be a good alternative in those cases, as it should be able to generate a makefile fit for your system.