Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sdlpop for openSUSE:Factory checked in at 2021-07-10 22:54:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sdlpop (Old) and /work/SRC/openSUSE:Factory/.sdlpop.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sdlpop" Sat Jul 10 22:54:39 2021 rev:4 rq:905460 version:1.22 Changes: -------- --- /work/SRC/openSUSE:Factory/sdlpop/sdlpop.changes 2020-08-24 15:15:14.382748905 +0200 +++ /work/SRC/openSUSE:Factory/.sdlpop.new.2625/sdlpop.changes 2021-07-10 22:55:10.067450462 +0200 @@ -1,0 +2,106 @@ +Sat Jul 10 09:55:52 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Update to version 1.22 + Fixed: + * The prince can now grab a ledge at the bottom right corner of + a room with no room below. + * Don't allow killing a skeleton in cheat mode. + * Ctrl+S didn't mute music (except death music). + * A falling tile on the left side of a pillar could cause the + blue stripe to be drawn over the pillar. + * The top of moving gates became glitched on levels using + non-default palettes. + * The right edge of pressed drop buttons was black if a big + pillar was next to them. + * Guards appeared in the current room when they fell into spikes + in an adjacent room. (Example: original level 11, room 22.) + * Show an error message if a data file is missing. + * Colored torches were not restored on quickload if you + (quit and) restarted the game after quicksave. + * Fixed compiling with some features #undefined. (USE_TEXT, + USE_LIGHTING, USE_MENU) + * Fixed the detection of Ctrl+L during the demo level. + * Create the screenshots directory in SDLPoP's directory, even + if the current directory is something else. + This is to match how the replay folder works. + * After quickload, show the room where the prince is, even if + the player moved the view away from it (with the H,J,U,N keys). + * After quickload, don't draw guard HP if a previously viewed + room (with the H,J,U,N keys) had a guard but the current room + doesn't have one. + * Prevent the modifier remapping from accessing out-of-range + rooms. + * Don't show the mirror image if the prince is not in the + currently shown room. + * Fixed the length of feather fall in fast-forward mode. + * Prevent torches from being randomly colored when an older + replay is loaded. + * If the prince is fighting a guard, and the player does a + quickload to a state where the prince is near the mouse, the + prince would draw the sword. + * Fixed graphical glitches with an opening gate: + 1. with a loose floor above and a wall above-right. + 2. with the top half of a big pillar above-right. + See FIX_ABOVE_GATE in config.h . + * Validate mode crashed with the error "init_scaling: + SDL_CreateTexture: Invalid renderer". + * Fixed crashing when a MIDI music interrupted another one. + * Make it possible to go through a certain closed gate on + level 11 of Demo by Suave Prince. + * When the prince jumps up at the bottom of a big pillar split + between two rooms, a part near the top of the screen + disappears. + + Example: The top row in the first room of the original + level 5. + + Details: See FIX_BIGPILLAR_JUMP_UP in config.h . + * Fixed spiked/chomped/bumped guards teleporting into the wrong + room. (if fixes are enabled) + * Quicksave during feather fall mode. (if fixes are enabled) + * Prevent the prince from entering a glitched room when he + falls into a wall or he is revived near a wall. + * Optimized OPL mixing (MIDI music). + * Fixed the prince sliding through closed gates when you are + using the caped prince graphics. + * If the prince dies on level 14, don't return to the intro + after the level was restarted. + Done: + * Added command-line parameter "mute": Start the game with + sound off. + * Hide references to various features if the game was compiled + without them. + * A scrollbar appears in the pause menu if scrolling is + possible. It's not clickable yet, it just shows where you are + in the list. + * Added command-line parameter "playdemo": Make the demo level + playable. + * Speed up music, sounds, and transitions during fast forwarding. + * Added a new cheat key: Ctrl+B: Go back to the room where the + prince is. (Undo H,J,U,N.) + * Added options for changing speeds. They are detected from + PRINCE.EXE. (Used in Hurry up Prince, for example.) + * In the settings menu, allow using Page Up, Page Down, Home, End. + * Rewrote all mentions of key combinations to the "Ctrl+A" style. + * Marked which features of SDLPoP are not in the original game. + * Allow Backspace and Ctrl+C during replay. + * During playback, display the number of ticks since start, if + the timer is shown (debug cheats: T). + * Added a debug cheat to quickload but keep the currently loaded + level. (Shift+F9) + * Added a compilation-time flag to disable all fixes for vanilla + execution. + * Waste an RNG cycle in loose_shake() to match DOS PoP. + * In new replays, use deprecation_number = 2. On playback, waste + the RNG cycle only if deprecation_number >= 2. + Older replays have deprecation_number <= 1, and we don't waste + the RNG cycle when playing them back. + * When backing offscreen (to the left) from the first guard on + level 7 (among others), simulate the glitch from DOS PoP, + which causes the prince to fall through the floor. + * Added a more visible error message when a mod referenced by a + replay file cannot be found in the mods folder. + * Allow guard skill customizations in SDLPoP.ini. + * Made FIX_DOORTOP_DISABLING_GUARD configurable. +- Add patch: + * sdlpop-fix-sdl2-includes.patch + +------------------------------------------------------------------- Old: ---- sdlpop-1.21.tar.gz New: ---- sdlpop-1.22.tar.gz sdlpop-fix-sdl2-includes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sdlpop.spec ++++++ --- /var/tmp/diff_new_pack.DGyhPj/_old 2021-07-10 22:55:10.599446356 +0200 +++ /var/tmp/diff_new_pack.DGyhPj/_new 2021-07-10 22:55:10.603446326 +0200 @@ -1,7 +1,7 @@ # # spec file for package sdlpop # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,14 @@ Name: sdlpop -Version: 1.21 +Version: 1.22 Release: 0 Summary: An open-source port of Prince of Persia License: GPL-3.0-only Group: Amusements/Games/Other -URL: http://www.popot.org/get_the_games.php?game=SDLPoP +URL: https://www.popot.org/get_the_games.php?game=SDLPoP Source: https://github.com/NagyD/SDLPoP/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: sdlpop-fix-sdl2-includes.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ @@ -44,6 +45,7 @@ %prep %setup -q -n SDLPoP-%{version} +%patch0 -p1 sed -i 's/\r$//' doc/*.txt %build @@ -68,7 +70,7 @@ EOF %files -%doc doc/Readme.txt doc/ChangeLog.txt doc/bugs.txt +%doc doc/Readme.txt doc/ChangeLog.txt %license doc/gpl-3.0.txt %attr(0755,root,root) %{_bindir}/sdlpop %{_libexecdir}/%{name} ++++++ sdlpop-1.21.tar.gz -> sdlpop-1.22.tar.gz ++++++ ++++ 6485 lines of diff (skipped) ++++++ sdlpop-fix-sdl2-includes.patch ++++++ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 28d73c7..e81e81b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,6 +16,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${SDLPoP_SOURCE_DIR}/..") #set(SDL2 "/usr/local/Cellar/sdl2/2.0.5") +find_package(SDL2 REQUIRED) +include_directories(${SDL2_INCLUDE_DIRS}) + + if (NOT(WIN32) AND (DEFINED SDL2)) include_directories(${SDL2}/include) link_directories(${SDL2}/lib)