File project.diff of Package vcmi
--- vcmi.changes.orig
+++ vcmi.changes
@@ -1,4 +1,163 @@
-------------------------------------------------------------------
+Mon Jan 13 20:24:42 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 1.6.3
+ Stability
+ * Fixed possible crash on attempt to play corrupted video file.
+ * Fixed possible crash on invalid or corrupted game data.
+ * Fixed possible crash on invalid upscaling filter.
+ Interface
+ * Added right-click popup to Keymasters, Border Guards, and
+ Border Gates that show all discovered objects of the same
+ color.
+ * Added right-click popup to Obelisks that shows all discovered
+ objects and their visitation status.
+ * Added support for randomly selected main menu backgrounds.
+ * Fixed display of long text in text-only right-click popups.
+ * Hero overview screen on map setup will now have scrollbars for
+ hero desription when necessary.
+ * Fixed teleporter right-click popup appearing out of screen
+ when interacting with teleporter near screen edge.
+ * Scenario Information window will now correctly replace random
+ hero with actual starting hero.
+ AI
+ * Improved performance of Battle AI.
+ * Improved performance of pathfinding calculations.
+ * Reduced calculation of threat range, especially on low
+ difficulties to improve performance.
+ * Fixed Nullkiller AI not considering nearby objects for visiting
+ in some cases, breaking its exploration logic.
+ * Fixed Nullkiller AI not building town dwellings.
+ Map Editor
+ * Added option to convert .h3c files into .vcmp .
+ * It is now possible to configure town to have same faction as
+ player.
+- Update to version 1.6.2
+ General
+ * Holding Alt while in town will now highlight all interactive
+ buildings in town.
+ * Fixed missing surrender video on battle results dialog.
+ * Game will no longer show custom campaigns dialog for short
+ period when selecting Heroes III campaign.
+ * Added workaround for right mouse button being recognized as
+ 'back' button on some Android devices.
+ * Fixed regression that caused second and further upgrades that
+ were not functioning correctly.
+ * Fixed regression that sometime caused curved path that leads
+ to a blocked monolith in random map generation.
+ * Fixed regression that broke several mechanics, such as issues
+ with Legion artifacts or with Gelu/Dracon specialties.
+ * Fixed broken positioning for some images when selected scaling
+ factor is different from prescaled texture factor.
+ Stability
+ * Game will now show list of mods with critical issues that might
+ cause crash after game start.
+ * Fixed crash in map editor on attempt to copy wandering monster.
+ * Fixed crash on having unsupported mod (e.g. Era mod) in a
+ preset.
+ * Fixed crash on attempt to update a mod that depends on unknown
+ mod that is not installed or not available in repository.
+ * Fixed possible crash on attempt to flip an empty image.
+ * Fixed possible crash on attempt to remove old saves.
+ Campaigns
+ * Game will now select correct scenario in campaigns with
+ multiple available scenarios.
+ * Added blink animation for campaign scenario selection.
+ AI
+ * Nullkiller AI will now only upgrade units if this would
+ increase their AI value. Fixes possible freeze on upgrading
+ units in some mods that can be upgraded in both directions.
+ * Nullkiller AI will no longer attempt to build Mage Guild of 4th
+ or 5th levels in towns without such guild.
+ * Battle AI now correctly estimates damage for spells that
+ completely eliminate a unit.
+ * Fixed bug preventing AI from casting damaging spells if his
+ troops are unable to reach enemies, for example during siege.
+
+-------------------------------------------------------------------
+Fri Dec 27 15:03:40 UTC 2024 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 1.6.1
+ General
+ * Right-click popup for Monoliths, Subterranean Gates and
+ Whirlpools now shows location of all known entrances and exits.
+ * Added support for importing and exporting mod presets in the
+ launcher.
+ * Added option to VCMI popup menu on Android to skip launcher and
+ start game immediately.
+ * Fixed defeat music not stopping when skipping defeat movie
+ playback.
+ * Launcher will now open start game tab instead of mods tab after
+ initial setup if no mods were chosen for install
+ Performance
+ * xbrz is no longer auto-selected on mobile platforms, and only
+ xbrz2 can be auto-selected on PC platforms. Manual selection
+ is unaffected.
+ * Fixed a performance regression that more than doubled the time
+ of random map generation.
+ * Improved performance of the Nullkiller AI, which should now
+ take turns up to twice as fast.
+ * Minor xbrz performance improvements.
+ Stability
+ * Fixed crash when trying to install a mod when no mod is
+ selected.
+ * Fixed possible crash when trying to load non-existing frame
+ from .def file.
+ * Fixed crash when right-clicking on modded market items, such
+ as HotA's Junkman.
+ * Fixed crash when trying to activate mod with recursive
+ dependencies.
+ * Fixed crash when trying to activate Chronicles mod after
+ failed import.
+ * Fixed crash when attempting to access a non-installed mod when
+ repository checkout is off.
+ * Show error message on failure to load filesystem instead of
+ crashing in launcher.
+ * Added workaround for crash on attempt to delete non-existent
+ save/map.
+ Adventure AI
+ * AI can now use all possible upgrades on Hill Fort, including
+ alternative upgrades.
+ * AI will now correctly identify and use 8th creature dwelling
+ (e.g. Factory)
+ * AI will now correctly identify 2nd level upgrades to dwellings
+ (e.g. Cove) and score them accordingly.
+ Interface
+ * Fixed poor alignment of hero primary skill descriptions in the
+ Thieves' Guild menu.
+ * Fixed missing description for spell school immunity in
+ creature window.
+ * Fixed bonuses such as OPENING_BATTLE_SPELL not appearing in
+ creature window.
+
+-------------------------------------------------------------------
+Sat Dec 21 11:24:11 UTC 2024 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 1.6.0
+ * Greatly improved decision-making of NullkillerAI.
+ * Implemented support for multiple mod presets allowing player
+ to quickly switch between them in Launcher.
+ * Implemented handicap system, with options to reduce income and
+ growth in addition to starting resources restriction.
+ * Game will now show statistics after scenario completion, such
+ as resources or army strength over time.
+ * Implemented spell quick selection panel in combat.
+ * Implemented adventure map overlay accessible via Alt key that
+ highlights all interactive objects on screen.
+ * Implemented xBRZ upscaling filter.
+ * Added support for high-resolution graphical assets.
+ * It is now possible to import data from Heroes Chronicles
+ (gog.com installer only) as custom campaigns.
+ * Added simple support for spell research feature from HotA that
+ can be enabled via mod or game configuration editing.
+ * Implemented automatic selection of interface scaling.
+ Selecting interface scaling manually will restore old behavior.
+ * VCMI will now launch in fullscreen on desktop systems. Use F4
+ hotkey or toggle option in settings to restore old behavior.
+- Drop patch:
+ * fix-compilation-with-boost-1.86.patch (not longer needed)
+
+-------------------------------------------------------------------
Tue Oct 8 14:10:00 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- added fix-compilation-with-boost-1.86.patch
--- vcmi.spec.orig
+++ vcmi.spec
@@ -1,7 +1,7 @@
#
# spec file for package vcmi
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
%define boost_version 1.66.0
Name: vcmi
-Version: 1.5.7
+Version: 1.6.3
Release: 0
Summary: An open-source project aiming to reimplement HMM3:WoG game engine
License: GPL-2.0-only
Group: Amusements/Games/Strategy/Turn Based
URL: https://vcmi.eu/
Source: https://github.com/vcmi/vcmi/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch0: fix-compilation-with-boost-1.86.patch
BuildRequires: cmake >= 3.16.0
BuildRequires: fdupes
# building on openSUSE Leap fails with boost 1.66.0, using boost 1.75.0 instead