diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index dd17508b6d5..7c434210f55 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -91,7 +91,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`gawk`](gawk/) | GNU awk | 5.3.0 | https://www.gnu.org/software/gawk/ | | [`gcc`](gcc/) | GNU Compiler Collection | 13.2.0 | https://gcc.gnu.org/ | | [`gdb`](gdb/) | GNU Project Debugger | 11.2 | https://sourceware.org/gdb | -| [`gemrb`](gemrb/) | GemRB | 0.9.1 | https://gemrb.org/ | +| [`gemrb`](gemrb/) | GemRB | 0.9.2 | https://gemrb.org/ | | [`genemu`](genemu/) | Genesis / MegaDrive Emulator | e39f690 | https://github.com/rasky/genemu | | [`genext2fs`](genext2fs/) | genext2fs | 1.5.0 | https://github.com/bestouff/genext2fs | | [`gettext`](gettext/) | GNU gettext | 0.22.4 | https://www.gnu.org/software/gettext/ | diff --git a/Ports/gemrb/package.sh b/Ports/gemrb/package.sh index 6bc5ec51e2e..25d60b7ea79 100755 --- a/Ports/gemrb/package.sh +++ b/Ports/gemrb/package.sh @@ -1,17 +1,17 @@ #!/usr/bin/env -S bash ../.port_include.sh port='gemrb' -version='0.9.1' +version='0.9.2' useconfigure='true' files=( - "https://github.com/gemrb/gemrb/archive/refs/tags/v${version}.tar.gz#6e5dbcf7398d5566751f434b0d4647196bfbe9a813e3b65ad6a4ee2f1bbfb9ba" + "https://github.com/gemrb/gemrb/archive/refs/tags/v${version}.tar.gz#ea614c067483606dab680ab18cd50527f56803bd46e0888e3c786eec05d3bb7d" ) depends=( - 'freetype' - 'libiconv' - 'python3' - 'SDL2' + 'freetype' + 'libiconv' + 'python3' + 'SDL2' 'SDL2_mixer' - 'zlib' + 'zlib' ) configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" diff --git a/Ports/gemrb/patches/0001-Hard-code-some-paths-for-runtime-purposes.patch b/Ports/gemrb/patches/0001-Hard-code-some-paths-for-runtime-purposes.patch index dd704695c19..01f0004cdf1 100644 --- a/Ports/gemrb/patches/0001-Hard-code-some-paths-for-runtime-purposes.patch +++ b/Ports/gemrb/patches/0001-Hard-code-some-paths-for-runtime-purposes.patch @@ -12,7 +12,7 @@ this is to hard-code these paths in the header file. 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/cmake_config.h.in b/cmake/cmake_config.h.in -index 17584b33da6e9cc610d8be7d1a4f28b8b587844a..02a6214f4215723eb4c90b65f67aea6d508be193 100644 +index 8368c3b0e9b1b67b9cbf18a1abd8b2194733094b..4bc1c7b283dce482b1e40561c46a82c954d79ac9 100644 --- a/cmake/cmake_config.h.in +++ b/cmake/cmake_config.h.in @@ -10,9 +10,9 @@ diff --git a/Ports/gemrb/patches/0002-Create-SDL2-renderer-as-unaccelerated.patch b/Ports/gemrb/patches/0002-Create-SDL2-renderer-as-unaccelerated.patch index bf97a04f713..26decfe01dc 100644 --- a/Ports/gemrb/patches/0002-Create-SDL2-renderer-as-unaccelerated.patch +++ b/Ports/gemrb/patches/0002-Create-SDL2-renderer-as-unaccelerated.patch @@ -8,15 +8,15 @@ Subject: [PATCH] Create SDL2 renderer as unaccelerated 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemrb/plugins/SDLVideo/SDL20Video.cpp b/gemrb/plugins/SDLVideo/SDL20Video.cpp -index 36dc17caffc89bed2610d26d19e97290905bcf20..158ee2fe5eb1b396c1a63b1e7bc898bd1ae224fc 100644 +index 8d906ec6066cac11a91ebcc372810b3e0a4f71db..741f4085458a6b7cc03c7613e8fa93beb7a60a2d 100644 --- a/gemrb/plugins/SDLVideo/SDL20Video.cpp +++ b/gemrb/plugins/SDLVideo/SDL20Video.cpp -@@ -139,7 +139,7 @@ int SDL20VideoDriver::CreateSDLDisplay(const char* title) +@@ -171,7 +171,7 @@ int SDL20VideoDriver::CreateSDLDisplay(const char* title, bool vsync) SetWindowIcon(window); #endif -- renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_TARGETTEXTURE | SDL_RENDERER_ACCELERATED); -+ renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_TARGETTEXTURE); - SDL_RendererInfo info; - SDL_GetRendererInfo(renderer, &info); - Log(DEBUG, "SDL20Video", "Renderer: {}", info.name); +- int rendererFlags = SDL_RENDERER_TARGETTEXTURE | SDL_RENDERER_ACCELERATED; ++ int rendererFlags = SDL_RENDERER_TARGETTEXTURE; + if (vsync) { + rendererFlags |= SDL_RENDERER_PRESENTVSYNC; + }