Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xmoto for openSUSE:Factory checked in at 2023-03-14 18:17:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmoto (Old) and /work/SRC/openSUSE:Factory/.xmoto.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmoto" Tue Mar 14 18:17:16 2023 rev:6 rq:1071416 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/xmoto/xmoto.changes 2023-01-18 14:23:25.400153547 +0100 +++ /work/SRC/openSUSE:Factory/.xmoto.new.31432/xmoto.changes 2023-03-14 18:17:22.723967226 +0100 @@ -1,0 +2,39 @@ +Sat Mar 11 18:55:36 UTC 2023 - Carsten Ziepke <kiel...@gmail.com> + +- Update to 0.6.2 + * X-Moto now uses SDL2 for window handling, input etc + * Added: + * Shortcut to view level info + * Shortcut for connecting / disconnecting from the server + * Button for clearing level cache + * File drag & drop support + * File associations + * Support for high refresh rate screens + * Improved controller support in menus + * Default theme changed to 'Classic' + * Safemode now prevents you from restarting in the death screen + if a checkpoint has been reached + * In 'beating mode', if you have not reached a checkpoint, + the 'return to checkpoint' key takes you to the start of + the level + * Log files are now kept for longer + * UI improvements: + * Improved text boxes (with pasting support and word jumping etc) + * Scrollable admin console + * Added new options: + * Hide sprites in ugly mode and minimap + * Max frame rate + * Native/software cursor + * Updated translations: + * Russian + * Swedish + * Danish + * Bug fixes: + * The window is now properly focused when alt-tabbing + * Fixed various memory leaks and crashes +- Add xmoto-install-icon.patch, fix install xmoto icon into the + correct directory +- Removed BuildRequires pkgconfig(ode), because xmoto dropped + system ode support: https://github.com/xmoto/xmoto/commit/bd78a39 + +------------------------------------------------------------------- Old: ---- 0.6.1.tar.gz New: ---- xmoto-0.6.2.tar.gz xmoto-install-icon.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmoto.spec ++++++ --- /var/tmp/diff_new_pack.JhNY2k/_old 2023-03-14 18:17:23.687972379 +0100 +++ /var/tmp/diff_new_pack.JhNY2k/_new 2023-03-14 18:17:23.695972421 +0100 @@ -17,37 +17,36 @@ Name: xmoto -Version: 0.6.1 +Version: 0.6.2 Release: 0 Summary: 2D motocross platform game License: GPL-2.0-or-later Group: Amusements/Games/Action/Other URL: https://xmoto.tuxfamily.org/ -Source0: https://github.com/xmoto/xmoto/archive/%{version}/%{version}.tar.gz +Source0: https://github.com/xmoto/xmoto/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.appdata.xml +# PATCH-FIX-UPSTREAM xmoto-install-icon.patch - fix install xmoto icon into the correct directory +Patch0: xmoto-install-icon.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: hicolor-icon-theme BuildRequires: libjpeg-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files -BuildRequires: pkgconfig(SDL_mixer) -BuildRequires: pkgconfig(SDL_net) -BuildRequires: pkgconfig(SDL_ttf) +BuildRequires: pkgconfig(SDL2_mixer) +BuildRequires: pkgconfig(SDL2_net) +BuildRequires: pkgconfig(SDL2_ttf) BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(lua5.1) -BuildRequires: pkgconfig(ode) +BuildRequires: pkgconfig(lua) +BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(zlib) Requires: %{name}-data = %{version} -# Fix for: Failed loading SDL2 library on openSUSE Leap -%if 0%{?suse_version} <= 1500 -BuildRequires: pkgconfig(sdl2) -%endif %description X-Moto is a challenging 2D motocross platform game, where physics play @@ -67,20 +66,16 @@ Xmoto translations and some other architecture independent data. %prep -%setup -q -# Let's always use system's ode: -rm -rf src/ode -ln -s %{_includedir}/ode src/ode +%autosetup -p1 %build -%cmake -DPREFER_SYSTEM_BZip2=ON -DPREFER_SYSTEM_Lua=ON -DPREFER_SYSTEM_ODE=ON -DPREFER_SYSTEM_XDG=OFF \ +%cmake -DPREFER_SYSTEM_BZip2=ON -DPREFER_SYSTEM_Lua=ON -DPREFER_SYSTEM_XDG=OFF \ -DDEFAULT_ASIAN_TTF_FILE=%{_datadir}/fonts/truetype/bkai00mp.ttf %make_build %install %cmake_install %fdupes %{buildroot}%{_datadir}/locale -install -p -D -m 644 extra/%{name}.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm mkdir -p %{buildroot}%{_datadir}/appdata install -p -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml %suse_update_desktop_file -i %{name} @@ -90,11 +85,11 @@ %license COPYING %doc README.md %{_bindir}/%{name} -%{_mandir}/man6/%{name}.6%{?ext_man} -%{_datadir}/pixmaps/xmoto.xpm +%{_datadir}/icons/hicolor/*/apps/%{name}.png %dir %{_datadir}/appdata %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop +%{_mandir}/man6/%{name}.6%{?ext_man} %files data -f %{name}.lang %{_datadir}/%{name} ++++++ xmoto-install-icon.patch ++++++ diff -Nur xmoto-0.6.2-orig/extra/CMakeLists.txt xmoto-0.6.2/extra/CMakeLists.txt --- xmoto-0.6.2-orig/extra/CMakeLists.txt 2023-03-05 11:10:34.000000000 +0100 +++ xmoto-0.6.2/extra/CMakeLists.txt 2023-03-12 07:47:37.728455269 +0100 @@ -6,7 +6,7 @@ install( FILES xmoto.png - DESTINATION share/pixmaps + DESTINATION share/icons/hicolor/256x256/apps ) install(