From 4c241efa522a81635658253ecb37183777152b5c416f122312f31b05d4f15961 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 9 Apr 2024 13:26:19 +0000 Subject: [PATCH] Accepting request 1163764 from home:Kieltux:branches:games - Update to 1.2: * UI Plugins are add-ons that can add more functionality to the user interface * Naval Warfare preview: Invade foreign coasts using warships! * This is included as a preview feature and needs to be explicitly enabled in the game setup screen. * Soldier garrisons for ports and headquarters * Balancing changes to the Amazon economy * Fifth scenario for the Frisian campaign * More settings in the game setup screen, such as configurable durations for timed win conditions * Diplomacy handling for the computer players * Stick pinned notes onto map fields to mark important points * Hyperlinks let you navigate within the encyclopedia and to the online help * Easy maps publishing inside the editor * High-resolution images for many more units * Accessibility enhancements for many user interface components * Expose more functionality to the add-ons and scenario scripting interface * Fixed many crashes and hangs and enhanced error handling - Drop widelands-fix-missing-include.patch, fixed upstream OBS-URL: https://build.opensuse.org/request/show/1163764 OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=67 --- widelands-1.1.tar.gz | 3 - widelands-1.2.tar.gz | 3 + widelands-fix-missing-include.patch | 152 ---------------------------- widelands.changes | 26 +++++ widelands.spec | 6 +- 5 files changed, 31 insertions(+), 159 deletions(-) delete mode 100644 widelands-1.1.tar.gz create mode 100644 widelands-1.2.tar.gz delete mode 100644 widelands-fix-missing-include.patch diff --git a/widelands-1.1.tar.gz b/widelands-1.1.tar.gz deleted file mode 100644 index 3bbeb87..0000000 --- a/widelands-1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6853fcf3daec9b66005691e5bcb00326634baf0985ad89a7e6511502612f6412 -size 416104611 diff --git a/widelands-1.2.tar.gz b/widelands-1.2.tar.gz new file mode 100644 index 0000000..ae1c484 --- /dev/null +++ b/widelands-1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6bed3717c541276fbed8a33adce230a2637297588c719268fcb963e076210e2 +size 457713595 diff --git a/widelands-fix-missing-include.patch b/widelands-fix-missing-include.patch deleted file mode 100644 index 22ff395..0000000 --- a/widelands-fix-missing-include.patch +++ /dev/null @@ -1,152 +0,0 @@ -From a05b4e7de1eb125882c8c390ee7ffee0bcaf09ca Mon Sep 17 00:00:00 2001 -From: Heiko Becker -Date: Fri, 27 Jan 2023 09:03:25 +0100 -Subject: [PATCH] Fix build with gcc 13 by including `` (#5765) - ---- - src/base/md5.h | 1 + - src/base/random.h | 1 + - src/base/time_string.h | 1 + - src/build_info.h | 1 + - src/graphic/align.h | 1 + - src/graphic/text/textstream.h | 1 + - src/logic/generic_save_handler.h | 1 + - src/logic/map_revision.h | 1 + - src/logic/save_handler.h | 1 + - src/map_io/map_elemental_packet.h | 1 + - src/scripting/persistence.h | 2 ++ - 11 files changed, 12 insertions(+) - -Index: widelands-1.1/src/base/md5.h -=================================================================== ---- widelands-1.1.orig/src/base/md5.h -+++ widelands-1.1/src/base/md5.h -@@ -21,6 +21,7 @@ - #define WL_BASE_MD5_H - - #include -+#include - #include - #include - -Index: widelands-1.1/src/base/random.h -=================================================================== ---- widelands-1.1.orig/src/base/random.h -+++ widelands-1.1/src/base/random.h -@@ -20,6 +20,7 @@ - #define WL_BASE_RANDOM_H - - #include -+#include - #include - - extern const uint32_t rng_sbox[256]; -Index: widelands-1.1/src/base/time_string.h -=================================================================== ---- widelands-1.1.orig/src/base/time_string.h -+++ widelands-1.1/src/base/time_string.h -@@ -19,6 +19,7 @@ - #ifndef WL_BASE_TIME_STRING_H - #define WL_BASE_TIME_STRING_H - -+#include - #include - - /// Get a string representation conforming to ISO 8601 of the current time (in -Index: widelands-1.1/src/build_info.h -=================================================================== ---- widelands-1.1.orig/src/build_info.h -+++ widelands-1.1/src/build_info.h -@@ -19,6 +19,7 @@ - #ifndef WL_BUILD_INFO_H - #define WL_BUILD_INFO_H - -+#include - #include - - constexpr uint16_t kWidelandsCopyrightStart = 2002; -Index: widelands-1.1/src/graphic/align.h -=================================================================== ---- widelands-1.1.orig/src/graphic/align.h -+++ widelands-1.1/src/graphic/align.h -@@ -19,6 +19,7 @@ - #ifndef WL_GRAPHIC_ALIGN_H - #define WL_GRAPHIC_ALIGN_H - -+#include - #include - - #include "base/rect.h" -Index: widelands-1.1/src/graphic/text/textstream.h -=================================================================== ---- widelands-1.1.orig/src/graphic/text/textstream.h -+++ widelands-1.1/src/graphic/text/textstream.h -@@ -19,6 +19,7 @@ - #ifndef WL_GRAPHIC_TEXT_TEXTSTREAM_H - #define WL_GRAPHIC_TEXT_TEXTSTREAM_H - -+#include - #include - - namespace RT { -Index: widelands-1.1/src/logic/generic_save_handler.h -=================================================================== ---- widelands-1.1.orig/src/logic/generic_save_handler.h -+++ widelands-1.1/src/logic/generic_save_handler.h -@@ -19,6 +19,7 @@ - #ifndef WL_LOGIC_GENERIC_SAVE_HANDLER_H - #define WL_LOGIC_GENERIC_SAVE_HANDLER_H - -+#include - #include - - #include "io/filesystem/filesystem.h" -Index: widelands-1.1/src/logic/map_revision.h -=================================================================== ---- widelands-1.1.orig/src/logic/map_revision.h -+++ widelands-1.1/src/logic/map_revision.h -@@ -19,6 +19,7 @@ - #ifndef WL_LOGIC_MAP_REVISION_H - #define WL_LOGIC_MAP_REVISION_H - -+#include - #include - - namespace Widelands { -Index: widelands-1.1/src/logic/save_handler.h -=================================================================== ---- widelands-1.1.orig/src/logic/save_handler.h -+++ widelands-1.1/src/logic/save_handler.h -@@ -19,6 +19,7 @@ - #ifndef WL_LOGIC_SAVE_HANDLER_H - #define WL_LOGIC_SAVE_HANDLER_H - -+#include - #include "io/filesystem/filesystem.h" - - namespace Widelands { -Index: widelands-1.1/src/map_io/map_elemental_packet.h -=================================================================== ---- widelands-1.1.orig/src/map_io/map_elemental_packet.h -+++ widelands-1.1/src/map_io/map_elemental_packet.h -@@ -19,6 +19,7 @@ - #ifndef WL_MAP_IO_MAP_ELEMENTAL_PACKET_H - #define WL_MAP_IO_MAP_ELEMENTAL_PACKET_H - -+#include - #include - #include - -Index: widelands-1.1/src/scripting/persistence.h -=================================================================== ---- widelands-1.1.orig/src/scripting/persistence.h -+++ widelands-1.1/src/scripting/persistence.h -@@ -19,6 +19,8 @@ - #ifndef WL_SCRIPTING_PERSISTENCE_H - #define WL_SCRIPTING_PERSISTENCE_H - -+#include -+ - #include "scripting/lua.h" - - class FileRead; diff --git a/widelands.changes b/widelands.changes index e5f81b1..3e2089f 100644 --- a/widelands.changes +++ b/widelands.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Sun Mar 31 06:31:48 UTC 2024 - Carsten Ziepke + +- Update to 1.2: + * UI Plugins are add-ons that can add more functionality to + the user interface + * Naval Warfare preview: Invade foreign coasts using warships! + * This is included as a preview feature and needs to be + explicitly enabled in the game setup screen. + * Soldier garrisons for ports and headquarters + * Balancing changes to the Amazon economy + * Fifth scenario for the Frisian campaign + * More settings in the game setup screen, such as configurable + durations for timed win conditions + * Diplomacy handling for the computer players + * Stick pinned notes onto map fields to mark important points + * Hyperlinks let you navigate within the encyclopedia and to + the online help + * Easy maps publishing inside the editor + * High-resolution images for many more units + * Accessibility enhancements for many user interface components + * Expose more functionality to the add-ons and scenario + scripting interface + * Fixed many crashes and hangs and enhanced error handling +- Drop widelands-fix-missing-include.patch, fixed upstream + ------------------------------------------------------------------- Thu Mar 30 07:38:29 UTC 2023 - Bjørn Lie diff --git a/widelands.spec b/widelands.spec index 2554d84..9e422dd 100644 --- a/widelands.spec +++ b/widelands.spec @@ -1,7 +1,7 @@ # # spec file for package widelands # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,12 @@ Name: widelands -Version: 1.1 +Version: 1.2 Release: 0 Summary: Realtime strategy game involving map control License: GPL-2.0-or-later URL: https://www.widelands.org Source0: https://github.com/%{name}/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM widelands-fix-missing-include.patch -- Add missing #include -Patch0: widelands-fix-missing-include.patch BuildRequires: SDL2_gfx-devel BuildRequires: SDL2_image-devel BuildRequires: SDL2_mixer-devel