[packages/openttd] - up to 15.0

mrozowik mrozowik at pld-linux.org
Fri Jan 2 00:36:21 CET 2026


commit 1d89662db448fc675f468e3119f2cc3c4ec30a3a
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Thu Jan 1 23:36:11 2026 +0000

    - up to 15.0

 icu76.patch  | 31 -------------------------------
 openttd.spec | 11 ++++-------
 2 files changed, 4 insertions(+), 38 deletions(-)
---
diff --git a/openttd.spec b/openttd.spec
index ebfc8ef..fb4b1fa 100644
--- a/openttd.spec
+++ b/openttd.spec
@@ -1,16 +1,15 @@
 Summary:	An open source reimplementation of the Microprose game "Transport Tycoon Deluxe"
 Summary(pl.UTF-8):	Otwarta reimplementacja gry Transport Tycoon Deluxe
 Name:		openttd
-Version:	14.1
-Release:	2
+Version:	15.0
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	https://cdn.openttd.org/openttd-releases/%{version}/%{name}-%{version}-source.tar.xz
-# Source0-md5:	cb708ae418a12175385267e0dd74b4f6
+# Source0-md5:	7df6e6acfb71db306da4e5145588f332
 Source1:	%{name}.desktop
 Source2:	%{name}-server.desktop
 Patch0:		%{name}-create-grf.patch
-Patch1:		icu76.patch
 URL:		http://www.openttd.org/
 BuildRequires:	SDL2-devel
 BuildRequires:	fontconfig-devel
@@ -76,7 +75,6 @@ graficzny klient OpenTTD również zawiera taką funkcjonalność.
 %prep
 %setup -q
 %patch -P0 -p1
-%patch -P1 -p1
 
 # Let's pldize
 find src/lang/ -type f -exec %{__sed} -i 's/:Unix/:PLD Linux/' \{\} \;
@@ -135,8 +133,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-#%doc CONTRIBUTING.md COPYING.md README.md changelog.txt known-bugs.txt docs/{*.md,*.html,*.svg,*png,*.txt}
-%doc CONTRIBUTING.md COPYING.md README.md changelog.txt known-bugs.txt docs
+%doc CONTRIBUTING.md COPYING.md README.md changelog.md known-bugs.md docs
 %attr(755,root,root) %{_bindir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_mandir}/man6/openttd.*
diff --git a/icu76.patch b/icu76.patch
deleted file mode 100644
index f187bf7..0000000
--- a/icu76.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 14fac2ad37bfb9cec56b4f9169d864f6f1c7b96e Mon Sep 17 00:00:00 2001
-From: fundawang <fundawang at yeah.net>
-Date: Tue, 5 Nov 2024 19:12:34 +0800
-Subject: [PATCH] Fix: build with icu >= 76 where icu-i18n and icu-uc become
- separated (#13048)
-
----
- CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 137eb7d0f8ce9..2f0248047506a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -152,7 +152,7 @@ if(NOT OPTION_DEDICATED)
-                 find_package(Fontconfig)
-             endif()
-             find_package(Harfbuzz)
--            find_package(ICU OPTIONAL_COMPONENTS i18n)
-+            find_package(ICU OPTIONAL_COMPONENTS i18n uc)
-         endif()
-     endif()
- endif()
-@@ -331,6 +331,7 @@ if(NOT OPTION_DEDICATED)
-     link_package(Fontconfig TARGET Fontconfig::Fontconfig)
-     link_package(Harfbuzz TARGET harfbuzz::harfbuzz)
-     link_package(ICU_i18n)
-+    link_package(ICU_uc)
- 
-     if(SDL2_FOUND AND OPENGL_FOUND AND UNIX)
-         # SDL2 dynamically loads OpenGL if needed, so do not link to OpenGL when
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openttd.git/commitdiff/1d89662db448fc675f468e3119f2cc3c4ec30a3a



More information about the pld-cvs-commit mailing list