File project.diff of Package freesynd
--- freesynd.changes.orig
+++ freesynd.changes
@@ -1,4 +1,47 @@
-------------------------------------------------------------------
+Sun Mar 15 17:09:40 UTC 2026 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 0.9
+ Added
+ * Display routines for Freesynd now use hardware acceleration
+ through textures.
+ * New option in freesynd/CMakeLists for defining the FS_TRACK_FPS
+ macro.
+ * Setting language to zero in user.conf selects language based on
+ system locale.
+ * Use of Conan 2 to manage some project's dependencies.
+ * Use of libADLMidi to play original XMI files correctly.
+ * Play music when mission is completed or failed.
+ * Editor : new menu to play sounds for the game.
+ * Increase/Decrease game sound with +/- keys. Saves value in
+ user.conf. Not working for music.
+ * Error during the game are now displayed using a pop up.
+ * Added unit testing with Catch2.
+ Changed
+ * Project has been relicensed to GPL v3.
+ * Cmake 3.28 is required for building the app.
+ * Application uses UTF-8 completely for internal string
+ manipulation.
+ * Save files format is now in version 1.3 as logo color is
+ stored as a color index and not as the color itself.
+ * Toggling music/sound is now available through all the
+ application not just in gameplay.
+ * Toggling music/sound hotkeys are F9 and F10 and assigning#
+ weapons in mission is F1 to F8.
+ * CLI parameter is now managed using CLI11 library.
+ Fixed
+ * Option to disable friendly fire.
+ * Radar signal does not display on minimap.
+ Removed
+ * Files assassinate.ogg and intro.ogg removed to use XMI files
+ for music.
+- Drop patch:
+ * gcc15.patch (not longer needed)
+- Add patches:
+ * 0001-Add-FindCRCpp.cmake.patch
+ * freesynd-dont-link-utf8cpp-header-only-lib.patch
+
+-------------------------------------------------------------------
Mon Nov 3 20:13:55 UTC 2025 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.8
--- freesynd.spec.orig
+++ freesynd.spec
@@ -1,7 +1,7 @@
#
# spec file for package freesynd
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,32 @@
#
+%define libadl_hash 2b350f9ef5fa7bafd90b8ce3beb2a77c1e87af25
+
Name: freesynd
-Version: 0.8
+Version: 0.9
Release: 0
Summary: Reimplementation of the classic Bullfrog game Syndicate
License: GPL-2.0-only
Group: Amusements/Games/Strategy/Real Time
URL: https://freesynd.sourceforge.net/
Source: https://master.dl.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/Freesynd-%{version}-Source.zip
-Patch0: gcc15.patch
+Source1: https://github.com/Wohlstand/libADLMIDI/archive/%{libadl_hash}.tar.gz#/libADLMIDI-%{libadl_hash}.tar.gz
+Patch0: 0001-Add-FindCRCpp.cmake.patch
+Patch1: freesynd-dont-link-utf8cpp-header-only-lib.patch
+BuildRequires: CRCpp-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: unzip
BuildRequires: update-desktop-files
+BuildRequires: utfcpp-devel
+BuildRequires: pkgconfig(CLI11)
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_mixer)
+BuildRequires: pkgconfig(catch2)
+BuildRequires: pkgconfig(libADLMIDI)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(zlib)
@@ -46,14 +55,31 @@ The game assets from an original copy of
%prep
%autosetup -p1 -n Freesynd-%{version}-Source
+mkdir prefetched
+pushd prefetched
+for s in %{SOURCE1}; do tar -xf "$s"; done
+popd
+
+# HACK
+sed 's|utf8.h|utf8cpp/utf8.h|g' -i \
+ engine/include/fs-engine/gfx/font.h \
+ engine/include/fs-engine/io/keys.h \
+ engine/src/system/sdl/system_sdl.cpp \
+ engine/src/menus/widget.cpp \
+ kernel/src/model/missionbriefing.cpp
+
%build
+export CXXFLAGS='%{optflags} -Wno-unused-parameter'
%cmake \
-DBUILD_STATIC_LIBS:BOOL=ON \
- -DBUILD_SHARED_LIBS:BOOL=OFF
+ -DBUILD_SHARED_LIBS:BOOL=OFF \
+ -DFETCHCONTENT_SOURCE_DIR_LIBADL=../prefetched/libADLMIDI-%{libadl_hash} \
+ -DBUILD_TESTING=ON
%make_jobs
%install
%cmake_install
+install -D -m0644 docs/freesynd.6 %{buildroot}%{_mandir}/man6/freesynd.6
install -D -m0644 packaging/icon/freesynd-logo.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/freesynd.svg
mkdir -p %{buildroot}%{_datadir}/applications/
@@ -80,5 +106,14 @@ rm %{buildroot}%{_docdir}/freesynd/copyr
%{_datadir}/freesynd
%{_datadir}/icons/hicolor/scalable/apps/freesynd.svg
%{_datadir}/applications/freesynd.desktop
+%{_mandir}/man6/freesynd.6%{?ext_man}
+#
+#HACK
+%exclude /usr/include/adlmidi.h
+%exclude /usr/lib64/cmake/libADLMIDI/
+%exclude /usr/lib64/libADLMIDI.a
+%exclude /usr/lib64/pkgconfig/libADLMIDI.pc
+%exclude /usr/share/doc/libADLMIDI
+#/HACK
%changelog