Hello community,
here is the log from the commit of package simutrans for openSUSE:Factory
checked in at 2020-10-22 14:25:37
Comparing /work/SRC/openSUSE:Factory/simutrans (Old)
and /work/SRC/openSUSE:Factory/.simutrans.new.3463 (New)
Package is "simutrans"
Thu Oct 22 14:25:37 2020 rev:2 rq:843251 version:122.0
Changes:
--- /work/SRC/openSUSE:Factory/simutrans/simutrans.changes 2020-10-21
14:38:00.437592523 +0200
+++ /work/SRC/openSUSE:Factory/.simutrans.new.3463/simutrans.changes
2020-10-22 14:26:49.798995236 +0200
@@ -1,0 +2,5 @@
+Sun Oct 11 17:08:01 UTC 2020 - Michiel van der Wulp
- 122-0
+
+- update to version 122.0
+
+---
Old:
simutrans-src-121-0.zip
New:
simutrans-src-122-0.zip
Other differences:
--
++ simutrans.spec ++
--- /var/tmp/diff_new_pack.Mp9OXB/_old 2020-10-22 14:26:50.338995720 +0200
+++ /var/tmp/diff_new_pack.Mp9OXB/_new 2020-10-22 14:26:50.342995724 +0200
@@ -16,9 +16,9 @@
#
-%define pkgver 121-0
+%define pkgver 122-0
Name: simutrans
-Version:121.0
+Version:122.0
Release:0
Summary:Transport and Economic Simulation Game
License:Artistic-1.0
@@ -36,6 +36,7 @@
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(zlib)
+BuildRequires: freetype2-devel
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: update-desktop-files
@@ -66,8 +67,6 @@
%prep
%setup -q -c -n simutrans
-# this file has the wrong line-endings, which would give a patch error:
-dos2unix simsys.cc
%patch0 -p1
cp %{SOURCE1} .
# files with the wrong line-endings, which give a rpmlint warning:
@@ -77,6 +76,10 @@
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
%install
# Create starter-wrapper script (not a source so we can use directory macros):
++ config.default ++
--- /var/tmp/diff_new_pack.Mp9OXB/_old 2020-10-22 14:26:50.374995753 +0200
+++ /var/tmp/diff_new_pack.Mp9OXB/_new 2020-10-22 14:26:50.374995753 +0200
@@ -12,7 +12,7 @@
#BACKEND = posix
#COLOUR_DEPTH = 0
-COLOUR_DEPTH = 16
+#COLOUR_DEPTH = 16 #seems to be not needed any more
#OSTYPE = amiga
#OSTYPE = beos
@@ -46,6 +46,12 @@
VERBOSE = 1
+USE_UPNP=0
+
+USE_FREETYPE=1
+
+USE_ZSTD=0
+
# Use static libraries instead
# STATIC = 1
@@ -78,7 +84,7 @@
# In order to use the flags, add a line like this: (-Dxxx)
# FLAGS = -DUSE_C
-FLAGS += -DREVISION="8870"
+FLAGS += -DREVISION="9274"
# Output directories:
#
@@ -93,3 +99,5 @@
# MAKEOBJ_PROGDIR = $(shell pwd)
# NETTOOL_PROGDIR = $(shell pwd)
# PROGDIR = $(shell pwd)
+
+
++ simutrans-fhs-home-directory.patch ++
--- /var/tmp/diff_new_pack.Mp9OXB/_old 2020-10-22 14:26:50.386995764 +0200
+++ /var/tmp/diff_new_pack.Mp9OXB/_new 2020-10-22 14:26:50.386995764 +0200
@@ -1,6 +1,6 @@
old/simsys.cc 2018-09-10 08:15:34.305159327 +0200
-+++ new/simsys.cc 2018-09-10 08:19:59.325153888 +0200
-@@ -357,7 +357,7 @@
+--- old/sys/simsys.cc 2018-09-10 08:15:34.305159327 +0200
new/sys/simsys.cc 2018-09-10 08:19:59.325153888 +0200
+@@ -363,7 +363,7 @@
find_directory(B_USER_DIRECTORY, );
sprintf(buffer, "%s/simutrans", userDir.Path());
#else