SHA256
1
0
forked from pool/simutrans

53 Commits

Author SHA256 Message Date
704c5be8e1 Accepting request 1268184 from games
OBS-URL: https://build.opensuse.org/request/show/1268184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=12
2025-04-11 14:46:10 +00:00
Michiel van der Wulp
b1b80681ed - Update to new version 124.3.1
- In the words of prissi: This is mostly a bugfixing release, improving bridge building 
(which now requires dragging or two clicks) and multitile city buildings. 
You can change the currency symbol and a bad memory consumption bug was removed. 
Cost and maintenance can be now much higher, so a new makeobj is needed too 
if one wants to go that way.
- This release is built from svn revision number 11671.
- Added a patch "returnNull.patch" to solve a build error "this statement may fall through".

OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=52
2025-04-09 15:17:48 +00:00
Michiel van der Wulp
40815d4615 OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=51 2025-03-21 06:19:36 +00:00
Michiel van der Wulp
b8cabcca9b OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=50 2025-03-21 06:18:51 +00:00
f6cd8bfde6 Accepting request 1242908 from games
OBS-URL: https://build.opensuse.org/request/show/1242908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=11
2025-02-04 17:12:50 +00:00
Michiel van der Wulp
d0e1b30f12 - Remove deprecated %suse_update_desktop_file - no need any more thanks to
https://forum.simutrans.com/index.php/topic,23253.msg208733.html#msg208733
- See lots of explanation at https://en.opensuse.org/openSUSE:Update-desktop-files_deprecation

OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=48
2025-02-03 19:14:01 +00:00
23f3e28e68 Accepting request 1241366 from games
OBS-URL: https://build.opensuse.org/request/show/1241366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=10
2025-01-31 15:04:15 +00:00
Michiel van der Wulp
1ea40d3b47 - simutrans failed with: "FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded".
This is caused by the lacking theme pak files in the simutrans src file (as supplied upstream).
All atempts to build the themes with the supplied build_themes.sh script failed.
Hence, the needed files were retrieved from the Subversion source.
- patched the build_themes.sh, reported upstream as: https://forum.simutrans.com/index.php/topic,23401.0.html

OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=46
2025-01-30 14:28:41 +00:00
Michiel van der Wulp
f044a070ef - update to version 124.3 (r11590 on 10-Jan-2025)
- see for more information about this release:
https://forum.simutrans.com/index.php/topic,23369.0.html
- in the words of prissi: "This release saw lots of bugfixing. 
It features also two new tools, a pipette tool that lets you build whatever 
you have clicked on (if allowed) and a marco editor, where you can copy 
your favorite airport (or whatever layout) and build it again 
by a single mouse click. Finally, the tutorial saw major rework 
and is much more stable."
- Complete history can be found at (unofficial): 
https://github.com/simutrans/simutrans/blob/master/simutrans/history.txt
- Some explanation about the new tools is given at 
https://blog.simutrans.com/?p=2532

OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=45
2025-01-25 14:38:21 +00:00
5ebf3795a1 Accepting request 1230019 from games
OBS-URL: https://build.opensuse.org/request/show/1230019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=9
2024-12-11 20:04:28 +00:00
Ferdinand Thiessen
9d2c490caa - update to version 124.2.2 (r11400 on 31-August-2024)
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=43
2024-12-11 08:24:39 +00:00
a1bc28c980 Accepting request 1192358 from games
OBS-URL: https://build.opensuse.org/request/show/1192358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=8
2024-08-08 08:58:34 +00:00
ff66a63369 Accepting request 1178880 from games
- update to version 124.1
- This version mostly fixes bugs reported for previous version 124.0, 
with some features added to the top. There are also some changes related to packaging:
1. The 124 release made Freetype a required dependency, but the build system 
was not updated to reflect that. As a result, you could compile Simutrans 
without Freetype, only for the game to fail at launch because 
it could not use any font. We have fixed this for the 124.1 release, 
and now Freetype is also required for building (except for server builds).
2. The ".desktop" file has been renamed and moved to "src/linux/simutrans.desktop".
- See for more information about the 124.1 and the 124.0 releases: 
https://forum.simutrans.com/index.php/board,3.0.html
- Patch simutrans-makefile.patch added since GNU make version on OpenSuse 15.5 and 15.6 
does not support hashtags inside shell commands properly 
while the Gnu Make in Tumbleweed works correctly.

OBS-URL: https://build.opensuse.org/request/show/1178880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=7
2024-06-06 10:34:12 +00:00
Michiel van der Wulp
2f25379426 OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=39 2024-06-06 05:52:48 +00:00
Michiel van der Wulp
cdb6e56da8 Accepting request 1178584 from home:m_vanderwulp:branches:games
- update to version 124.1
- This version mostly fixes bugs reported for previous version 124.0, 
with some features added to the top. There are also some changes related to packaging:
1. The 124 release made Freetype a required dependency, but the build system 
was not updated to reflect that. As a result, you could compile Simutrans 
without Freetype, only for the game to fail at launch because 
it could not use any font. We have fixed this for the 124.1 release, 
and now Freetype is also required for building (except for server builds).
2. The ".desktop" file has been renamed and moved to "src/linux/simutrans.desktop".
- See for more information about the 124.1 and the 124.0 releases: 
https://forum.simutrans.com/index.php/board,3.0.html

OBS-URL: https://build.opensuse.org/request/show/1178584
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=38
2024-06-06 05:12:59 +00:00
Michiel van der Wulp
2869b0c695 OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=37 2024-06-05 19:34:14 +00:00
7abec74122 Accepting request 1151963 from games
OBS-URL: https://build.opensuse.org/request/show/1151963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=6
2024-02-27 21:47:56 +00:00
Michiel van der Wulp
47b90caecf Accepting request 1151538 from home:dimstar:rpm4.20:s
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151538
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=35
2024-02-26 21:35:08 +00:00
08a42f5735 Accepting request 952743 from games
- update to version 123.0.1
- This is a bugfix to 123.0, where the schedule editing did not really work. 
- Also pak48, pak128, pak128.german and pak64.german got updates.
- This release is build from svn revision number 10421. This number is configured to allow
network games to be able to connect to an online server running the same stable version.
- Complete history can be found at (unofficial):
  https://github.com/aburch/simutrans/blob/master/simutrans/history.txt
- From now on, the build is configured to use the zstd compression library for saving. Previously 
this was done with bzip2 compression, but zstd can replace it. Zstd is faster (advantage) 
but also leads to larger files (disadvantage). Usually network games using zstd, since speed is an issue. 
So for maximum network gaming compatibility, zstd is recommended.
- Drop upstream patch: patch-bugs.patch

OBS-URL: https://build.opensuse.org/request/show/952743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=5
2022-02-09 19:39:26 +00:00
8d0dfa4619 OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=34 2022-02-08 16:03:50 +00:00
b99570f2a1 Accepting request 951546 from home:m_vanderwulp:branches:games
update to version 123.0.1

OBS-URL: https://build.opensuse.org/request/show/951546
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=33
2022-02-08 15:59:49 +00:00
dff174c2f7 Accepting request 947293 from games
OBS-URL: https://build.opensuse.org/request/show/947293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=4
2022-01-18 23:35:30 +00:00
Ferdinand Thiessen
2aa02171d4 Accepting request 947192 from home:m_vanderwulp:branches:games
- update to version 123.0
- The most noticeable change will be the new GUI, which is now enforced in all dialogs. 
You can now also schedule convois with fixed departure times, if you want to play 
model railroad. Rivers now go from their source through lakes until the sea, and 
are shippable after passing a lake. Paks can be installed now ingame. There were 
of course also lot of bugfixes, not least thanks to the automatic testing.
- This release is build from svn revision number 10317.
- Added patch-bugs.patch
- Since the release contains some severe regression bugs, which were solved in the weeks after the release, 
the solutions were included here. See for the bugs: 
1: Map showing network: https://forum.simutrans.com/index.php/topic,21320.0.html 
2: The new setting  stop_halt_as_scheduled should be disabled by default: 
https://forum.simutrans.com/index.php/topic,21317.msg198325.html#msg198325
- Complete history can be found at (unofficial):
  https://github.com/aburch/simutrans/blob/master/simutrans/history.txt

OBS-URL: https://build.opensuse.org/request/show/947192
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=32
2022-01-18 20:17:55 +00:00
b38e6c0364 Accepting request 844892 from games
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/844892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=3
2020-10-30 10:49:14 +00:00
Michiel van der Wulp
588cc11f8e Suggest the new updated pak128-german
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=30
2020-10-22 14:45:38 +00:00
Michiel van der Wulp
a900950a59 Added a more detailed history description for the 122.0 version.
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=29
2020-10-22 13:53:17 +00:00
7595994fac Accepting request 843251 from games
OBS-URL: https://build.opensuse.org/request/show/843251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=2
2020-10-22 12:25:37 +00:00
2894498905 Accepting request 842371 from home:m_vanderwulp:branches:games
- update to version 122.0

OBS-URL: https://build.opensuse.org/request/show/842371
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=27
2020-10-21 15:46:48 +00:00
8039331059 Accepting request 840321 from games
thanks to Stefan Brüns

OBS-URL: https://build.opensuse.org/request/show/840321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/simutrans?expand=0&rev=1
2020-10-21 12:37:52 +00:00
Matthias Mailänder
7ed6ac23f3 Accepting request 840115 from home:StefanBruens:branches:games
- Rename makeobj subpackage to simutrans-makeobj, and install the
  makeobj binary as /usr/bin/makeobj-simutrans, to avoid a conflict
  with makeobj from kdesdk-scripts.
- Cleanup spec file:
  * Remove unused allegro build dep
  * Remove no longer required __DATE__ mangling
  * Remove BuildRoot and defattr tags

OBS-URL: https://build.opensuse.org/request/show/840115
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=25
2020-10-08 17:36:20 +00:00
Michiel van der Wulp
bb890240b5 Accepting request 832356 from home:Mailaender:branches:games
added the changelog as requested

OBS-URL: https://build.opensuse.org/request/show/832356
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=24
2020-09-04 17:44:33 +00:00
7ff2ee5ea3 Accepting request 754499 from home:m_vanderwulp:branches:games
- update to version 121-0
- Comletely overhauled GUI, which should scale much better with button and fontsize changes
- Larger citybuildings than 1x1 tile are now possible
- New signal type: Priority signals to facilitate overtaking of trains
- More details at (unofficial):
  https://github.com/aburch/simutrans/blob/master/simutrans/history.txt

OBS-URL: https://build.opensuse.org/request/show/754499
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=23
2019-12-06 07:56:42 +00:00
a44e981226 Accepting request 637777 from home:m_vanderwulp:branches:games
- update to version 120-4-1 - changes described at
  https://forum.simutrans.com/index.php/topic,18515.0.html
  or more in detail (unofficial):
  https://github.com/aburch/simutrans/blob/master/simutrans/history.txt

OBS-URL: https://build.opensuse.org/request/show/637777
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=21
2018-09-25 10:00:32 +00:00
e577e26e04 Accepting request 636547 from home:m_vanderwulp:branches:games
- update to version 120-4 - changes described at 
  https://forum.simutrans.com/index.php/topic,18499.0.html
  or more in detail (unofficial):
  https://github.com/aburch/simutrans/blob/master/simutrans/history.txt

OBS-URL: https://build.opensuse.org/request/show/636547
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=20
2018-09-19 12:17:06 +00:00
Michiel van der Wulp
1910af1693 Accepting request 634665 from home:m_vanderwulp:branches:games
- update to version 120-3

OBS-URL: https://build.opensuse.org/request/show/634665
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=19
2018-09-10 08:01:57 +00:00
Michiel van der Wulp
dd2e09bea5 Accepting request 634234 from home:m_vanderwulp:branches:games
BuildRequire pkgconfig(allegro) instead of pkgconfig(allegro-5).

This fixes the build in Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/634234
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=18
2018-09-07 14:24:10 +00:00
Michiel van der Wulp
c2491582e9 OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=17 2018-09-07 11:12:32 +00:00
Michiel van der Wulp
c3538194ff OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=16 2018-09-07 11:12:14 +00:00
Michiel van der Wulp
50b7886012 Accepting request 634091 from home:m_vanderwulp:branches:games
It works for Leap now.
Tumbleweed not yet...

OBS-URL: https://build.opensuse.org/request/show/634091
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=15
2018-09-07 09:25:09 +00:00
Michiel van der Wulp
3af47d1190 OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=14 2018-06-28 06:23:30 +00:00
Michiel van der Wulp
1c24e602dd OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=13 2018-06-28 06:20:41 +00:00
Michiel van der Wulp
9b59eb45ba Accepting request 577622 from home:simonpuchert:branches:games
BuildRequire pkgconfig(allegro-5) instead of pkgconfig(allegro-5.0), reflecting the change in liballegro5_2-devel.

This fixes the build in Leap 42.3, Leap 15 and Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/577622
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=12
2018-02-17 15:55:40 +00:00
Ferdinand Thiessen
ffc6c50b81 Accepting request 484257 from home:m_vanderwulp:branches:games
Update to the latest version.

OBS-URL: https://build.opensuse.org/request/show/484257
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=11
2017-04-04 14:13:38 +00:00
Matthias Mailänder
ae4b7e80f7 Accepting request 482618 from home:susnux:branches:games
Install makeobj and build with sdl2

OBS-URL: https://build.opensuse.org/request/show/482618
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=10
2017-03-26 17:20:06 +00:00
Ferdinand Thiessen
4d7c7a9f79 Accepting request 481769 from home:m_vanderwulp:branches:games
update to version 120.2.1

OBS-URL: https://build.opensuse.org/request/show/481769
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=9
2017-03-21 23:12:06 +00:00
Michiel van der Wulp
45195d7dbd Accepting request 357748 from home:m_vanderwulp:branches:games
Updated to the latest version

OBS-URL: https://build.opensuse.org/request/show/357748
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=8
2016-02-04 15:40:12 +00:00
Michiel van der Wulp
696eb4db2c Accepting request 352695 from home:m_vanderwulp:branches:games
Update to the newer version.
There is already a newer version, too, but that one was revoked. I tested this, it works with the former paksets ok.

OBS-URL: https://build.opensuse.org/request/show/352695
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=7
2016-01-09 19:50:23 +00:00
Matthias Mailänder
a79adf9e9a Accepting request 291302 from home:m_vanderwulp:branches:games
Updated to the latest version - also the "pak" packages should be updated, but it works without updating the paks.

OBS-URL: https://build.opensuse.org/request/show/291302
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=6
2015-03-18 16:34:00 +00:00
Matthias Mailänder
a0e9fa6c9d Accepting request 225097 from home:m_vanderwulp:branches:games
Updated to the latest version.

OBS-URL: https://build.opensuse.org/request/show/225097
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=5
2014-03-07 16:33:29 +00:00
Ismail Dönmez
fa1cdefa7c Accepting request 146622 from home:Mailaender:branches:games
total redo of the package

OBS-URL: https://build.opensuse.org/request/show/146622
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=4
2013-01-19 10:31:11 +00:00
Matthias Mailänder
948284f394 Accepting request 146425 from home:worldcitizen:branches:games
Build for all architectures
Corrected Url and license

OBS-URL: https://build.opensuse.org/request/show/146425
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=3
2012-12-27 09:31:57 +00:00
df04259996 Strip redundant sections/tags from specfile
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=2
2012-03-23 02:47:26 +00:00
Pavol Rusnak
43daadd2ef osc copypac from project:openSUSE:Factory package:simutrans revision:3
OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=1
2009-07-12 23:45:13 +00:00
9 changed files with 101 additions and 29 deletions

View File

@@ -87,7 +87,7 @@ USE_FLUIDSYNTH_MIDI = 1
# In order to use the flags, add a line like this: (-Dxxx)
# FLAGS = -DUSE_C
FLAGS += -DREVISION="11351"
FLAGS += -DREVISION="11671"
# Output directories:
#

14
returnNull.patch Normal file
View File

@@ -0,0 +1,14 @@
Index: src/simutrans/tool/simtool.cc
===================================================================
--- old/src/simutrans/tool/simtool.cc (revision 11680)
+++ new/src/simutrans/tool/simtool.cc (working copy)
@@ -2951,8 +2951,8 @@
return error;
}
bridge_builder_t::build_bridge( player, start, end, zv, bridge_height, desc, way_builder_t::weg_search(desc->get_waytype(), desc->get_topspeed(), welt->get_timeline_year_month(), type_flat));
- return NULL; // all checks are performed before building.
}
+ return NULL; // all checks are performed before building.
}
void tool_build_bridge_t::rdwr_custom_data(memory_rw_t *packet)

View File

@@ -1,12 +1,12 @@
diff -ru old/src/simutrans/sys/simsys.cc new/src/simutrans/sys/simsys.cc
--- old/src/simutrans/sys/simsys.cc
+++ new/src/simutrans/sys/simsys.cc
@@ -554,7 +554,7 @@
}
#else
@@ -562,7 +562,7 @@
int maxlen = PATH_MAX + 22;
unsigned n;
if( getenv("XDG_DATA_HOME") == NULL ) {
- sprintf(buffer, "%s/simutrans", getenv("HOME"));
+ sprintf(buffer, "%s/.simutrans", getenv("HOME"));
} else {
sprintf(buffer, "%s/simutrans", getenv("XDG_DATA_HOME"));
- n = snprintf(buffer, maxlen, "%s/simutrans", getenv("HOME"));
+ n = snprintf(buffer, maxlen, "%s/.simutrans", getenv("HOME"));
}
else {
n = snprintf(buffer, maxlen, "%s/simutrans", getenv("XDG_DATA_HOME"));

View File

@@ -1,7 +1,7 @@
diff -ru old/Makefile new/Makefile
--- old/Makefile
+++ new/Makefile
@@ -272,7 +272,7 @@
@@ -274,7 +274,7 @@
DUMMY := $(shell rm -f src/simutrans/revision.h)
else
ifeq ("$(wildcard src/simutrans/revision.h)","")

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fc4e071a8b7fe1931b30fc0293aa68967f943c6fa6d89c6df119eb3d84d5437
size 5965405

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5de58f340ffa7f06f83a358a92925c6869ac517344c70e7ae49590860faf520
size 5422371

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9c9afc7a3ed5250a59fb2ff7650967f566c06b011ed62985c201adb70475602
size 6251853

View File

@@ -1,3 +1,61 @@
-------------------------------------------------------------------
Sun Apr 6 10:03:06 UTC 2025 - Michiel van der Wulp <michiel.vanderwulp@gmail.com> - 124.3.1
- Update to new version 124.3.1
- In the words of prissi: This is mostly a bugfixing release, improving bridge building
(which now requires dragging or two clicks) and multitile city buildings.
You can change the currency symbol and a bad memory consumption bug was removed.
Cost and maintenance can be now much higher, so a new makeobj is needed too
if one wants to go that way.
- This release is built from svn revision number 11671.
- Added a patch "returnNull.patch" to solve a build error "this statement may fall through".
-------------------------------------------------------------------
Mon Feb 3 18:56:01 UTC 2025 - Michiel van der Wulp <michiel.vanderwulp@gmail.com> - 124.3
- Remove deprecated %suse_update_desktop_file - no need any more thanks to
https://forum.simutrans.com/index.php/topic,23253.msg208733.html#msg208733
- See lots of explanation at https://en.opensuse.org/openSUSE:Update-desktop-files_deprecation
-------------------------------------------------------------------
Mon Jan 27 15:18:56 UTC 2025 - Michiel van der Wulp <michiel.vanderwulp@gmail.com> - 124.3
- simutrans failed with: "FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded".
This is caused by the lacking theme pak files in the simutrans src file (as supplied upstream).
All atempts to build the themes with the supplied build_themes.sh script failed.
Hence, the needed files were retrieved from the Subversion source.
- patched the build_themes.sh, reported upstream as: https://forum.simutrans.com/index.php/topic,23401.0.html
-------------------------------------------------------------------
Mon Jan 13 13:38:13 UTC 2025 - Michiel van der Wulp <michiel.vanderwulp@gmail.com> - 124.3
- update to version 124.3 (r11590 on 10-Jan-2025)
- see for more information about this release:
https://forum.simutrans.com/index.php/topic,23369.0.html
- in the words of prissi: "This release saw lots of bugfixing.
It features also two new tools, a pipette tool that lets you build whatever
you have clicked on (if allowed) and a marco editor, where you can copy
your favorite airport (or whatever layout) and build it again
by a single mouse click. Finally, the tutorial saw major rework
and is much more stable."
- Complete history can be found at (unofficial):
https://github.com/simutrans/simutrans/blob/master/simutrans/history.txt
- Some explanation about the new tools is given at
https://blog.simutrans.com/?p=2532
-------------------------------------------------------------------
Wed Dec 11 06:35:24 UTC 2024 - Michiel van der Wulp <michiel.vanderwulp@gmail.com> - 124-2-2
- update to version 124.2.2 (r11400 on 31-August-2024)
- See for more information about the 124.2.2 release:
https://forum.simutrans.com/index.php/topic,23193.0.html
- In the words of prissi: "... There were even some ancient bugs unearthed with crossings
and tiles with ways in cities and more. On Intel/AMD cpu's the memory footprint
became 10% smaller with some faster sync_step."
- Complete history can be found at (unofficial):
https://github.com/simutrans/simutrans/blob/master/simutrans/history.txt
-------------------------------------------------------------------
Wed Jul 31 08:13:14 UTC 2024 - Michiel van der Wulp <michiel.vanderwulp@gmail.com> - 124-2-1

View File

@@ -1,7 +1,7 @@
#
# spec file for package simutrans
#
# Copyright (c) 2020-2024 SUSE LLC
# Copyright (c) 2020-2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,31 +16,32 @@
#
%define pkgver 124-2-1
%define pkgver 124-3-1
Name: simutrans
Version: 124.2.1
Version: 124.3.1
Release: 0
Summary: Transport and Economic Simulation Game
License: Artistic-1.0
Group: Amusements/Games/Strategy/Real Time
URL: http://sourceforge.net/projects/simutrans/
Source0: http://downloads.sourceforge.net/simutrans/simutrans-src-%{pkgver}.zip
Source0: simutrans-src-124-3-1.zip
Source1: config.default
Source2: http://www.simutrans.com/images/resources/simutrans-square.svg
# PATCH-FIX-UPSTREAM http://forum.simutrans.com/index.php?topic=11173.0
Patch0: simutrans-fhs-home-directory.patch
Patch1: simutrans-makefile.patch
# PATCH-FIX-UPSTREAM https://forum.simutrans.com/index.php/topic,23464.0.html
Patch2: returnNull.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: unzip
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(zlib)
BuildRequires: freetype2-devel
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: update-desktop-files
%endif
BuildRequires: dos2unix
BuildRequires: hicolor-icon-theme
@@ -48,9 +49,9 @@ BuildRequires: hicolor-icon-theme
BuildRequires: fluidsynth-devel >= 2.1.0
Requires: fluid-soundfont-gm
BuildRequires: libzstd-devel
Recommends: %{name}-pak128 >= 2.9.1
Recommends: %{name}-pak128 >= 2.10.0
Suggests: %{name}-pak128-german >= 2.2
Suggests: %{name}-pak64 >= 124.2
Suggests: %{name}-pak64 >= 124.3
Suggests: %{name}-makeobj
%description
@@ -72,7 +73,8 @@ Makeobj is a easy to use software used to compile .dat files and .png pictures
to simutrans .pak files.
%prep
%autosetup -p1 -c -n simutrans
# In the next line, remove the -v for verbose if you want to be more quiet:
%autosetup -v -p1 -c -n simutrans
cp %{SOURCE1} .
# files with the wrong line-endings, which give a rpmlint warning:
@@ -82,10 +84,11 @@ cp %{SOURCE1} .
export CFLAGS="%{optflags}"
export CCFLAGS="$CFLAGS"
%make_build all makeobj
# The next 3 lines did not function correctly; so now we use the available theme pak files:
# cd themes.src
# sed -i 's|../makeobj|../../build/default/makeobj/makeobj|g' build_themes.sh
# ./build_themes.sh
# The build_themes.sh script used to be broken, see upstream report:
# https://forum.simutrans.com/index.php/topic,23401.0.html
cd themes.src
sed -i 's|../../src/makeobj/makeobj|../../build/default/makeobj/makeobj|g' build_themes.sh
./build_themes.sh
%install
# Create starter-wrapper script (not a source so we can use directory macros):
@@ -112,7 +115,7 @@ mv -v %{buildroot}%{_datadir}/%{name}/*.txt %{buildroot}%{_docdir}/%{name}
# Install icon and .desktop file
install -vDm644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%if 0%{?suse_version}
%suse_update_desktop_file -c simutrans "Simutrans" "Transportation Simulation Game" "simutrans" simutrans Game StrategyGame
install -D -m 0644 src/linux/simutrans.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
%fdupes %{buildroot}%{_datadir}/%{name}
%endif