Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package freeciv for openSUSE:Factory checked in at 2025-08-09 19:59:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freeciv (Old) and /work/SRC/openSUSE:Factory/.freeciv.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freeciv" Sat Aug 9 19:59:59 2025 rev:28 rq:1298601 version:3.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/freeciv/freeciv.changes 2025-05-12 16:50:12.532015610 +0200 +++ /work/SRC/openSUSE:Factory/.freeciv.new.1085/freeciv.changes 2025-08-09 20:06:52.667919836 +0200 @@ -1,0 +2,14 @@ +Sat Aug 9 14:03:19 UTC 2025 - Andreas Stieger <andreas.stie...@gmx.de> + +- freeciv 3.2.0: + * Client not compatible with pre-3.2 servers and vice versa + * Unit orders are now executed after all the Turn Change + activities, and after the AIs have begun their turn. This + avoids "double move" issues with units executing orders with + replenished movement but still before the new turn + * Numerouus ruleset and gameplay changes as listed in + https://freeciv.fandom.com/wiki/NEWS-3.2.0 +- enable the SDL2 client +- Build with Qt6 on Leap 15.6 + +------------------------------------------------------------------- Old: ---- freeciv-3.1.5.tar.xz New: ---- freeciv-3.2.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freeciv.spec ++++++ --- /var/tmp/diff_new_pack.fjOfwR/_old 2025-08-09 20:06:55.028017923 +0200 +++ /var/tmp/diff_new_pack.fjOfwR/_new 2025-08-09 20:06:55.040018422 +0200 @@ -18,7 +18,7 @@ Name: freeciv -Version: 3.1.5 +Version: 3.2.0 Release: 0 Summary: Free Civilization Clone License: GPL-2.0-or-later @@ -27,30 +27,34 @@ Source0: https://files.freeciv.org/stable/%{name}-%{version}.tar.xz BuildRequires: c++_compiler BuildRequires: fdupes -BuildRequires: gtk3-devel >= 3.22.0 -BuildRequires: pkgconfig -BuildRequires: readline-devel +BuildRequires: pkgconfig >= 0.9.0 +BuildRequires: pkgconfig(Qt6Core) +BuildRequires: pkgconfig(Qt6Gui) +BuildRequires: pkgconfig(Qt6Widgets) +BuildRequires: pkgconfig(SDL2_gfx) +BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(SDL2_mixer) -BuildRequires: pkgconfig(audiofile) +BuildRequires: pkgconfig(SDL2_ttf) BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(gdk-3.0) >= 3.22.0 BuildRequires: pkgconfig(gtk4) >= 4.0.0 BuildRequires: pkgconfig(icu-uc) -BuildRequires: pkgconfig(libcurl) >= 7.9.7 +BuildRequires: pkgconfig(libcurl) >= 7.15.4 BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(lua) >= 5.4 -BuildRequires: pkgconfig(sdl2) >= 2.0.0 BuildRequires: pkgconfig(sqlite3) >= 3.0.0 BuildRequires: pkgconfig(zlib) Requires: freeciv_client-%{version} -%if 0%{?suse_version} > 1600 -BuildRequires: pkgconfig(Qt6Core) -BuildRequires: pkgconfig(Qt6Gui) -BuildRequires: pkgconfig(Qt6Widgets) +%if 0%{?suse_version} >= 1600 +BuildRequires: pkgconfig(readline) %else -BuildRequires: libqt5-qtbase-common-devel -BuildRequires: libqt5-qtbase-devel +BuildRequires: readline-devel +%endif +%if 0%{?suse_version} < 1600 +BuildRequires: gcc12-c++ %endif + %lang_package %description @@ -90,20 +94,27 @@ %description gtk4 Freeciv executable using Gtk4 library +%package sdl2 +Summary: SDL2 client for freeciv +Group: Amusements/Games/Strategy/Turn Based +Requires: freeciv = %{version} +Provides: freeciv_client-%{version} + +%description sdl2 +Freeciv executable using the SDL2 library + %prep %autosetup -p1 %build +%if 0%{?suse_version} < 1600 +export CXX=g++-12 +%endif %configure \ - --enable-client=gtk3.22,gtk4,qt \ + --enable-client=gtk3.22,gtk4,qt,sdl2 \ --enable-fcmp=gtk3,gtk4,qt \ -%if 0%{?suse_version} > 1600 --with-qtver=qt6 \ -%else - --with-qtver=qt5 \ -%endif --enable-fcdb=sqlite3 \ - --enable-ruleedit \ --with-readline \ --with-libbz2 \ --with-liblzma \ @@ -111,7 +122,6 @@ --enable-sys-lua \ --disable-static \ --docdir=%{_docdir}/freeciv \ - --disable-static \ %{nil} %make_build @@ -126,6 +136,9 @@ %find_lang %{name}-ruledit %fdupes %{buildroot}/%{_datadir}/ +%check +%make_build check + %files %doc %{_docdir}/freeciv %doc README @@ -182,3 +195,9 @@ %{_datadir}/metainfo/org.freeciv.qt.metainfo.xml %{_datadir}/metainfo/org.freeciv.qt.mp.metainfo.xml +%files sdl2 +%license COPYING +%{_bindir}/freeciv-sdl2 +%{_datadir}/applications/org.freeciv.sdl2.desktop +%{_datadir}/metainfo/org.freeciv.sdl2.metainfo.xml + ++++++ freeciv-3.1.5.tar.xz -> freeciv-3.2.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/freeciv/freeciv-3.1.5.tar.xz /work/SRC/openSUSE:Factory/.freeciv.new.1085/freeciv-3.2.0.tar.xz differ: char 15, line 1