head 1.5; access; symbols pkgsrc-2023Q1:1.4.0.14 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.12 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.10 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.8 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.6 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.4 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.2 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.3.0.2 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.1.0.6 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.4 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.2 pkgsrc-2020Q3-base:1.1; locks; strict; comment @// @; 1.5 date 2023.04.27.18.50.59; author yhardy; state dead; branches; next 1.4; commitid CcSt0Yg2rQm8iMmE; 1.4 date 2021.07.22.21.19.43; author yhardy; state Exp; branches; next 1.3; commitid tDCUZD5vdlwBN12D; 1.3 date 2021.06.21.14.02.47; author nia; state Exp; branches; next 1.2; commitid 0sYojPSGJ2GBo0YC; 1.2 date 2021.06.06.16.59.51; author nia; state Exp; branches; next 1.1; commitid cX7js5bm1co3R5WC; 1.1 date 2020.08.31.12.46.21; author nia; state Exp; branches; next ; commitid 4YRZAyd82fKeqdmC; desc @@ 1.5 log @gemrb: update to gemrb-0.9.1 Announcement: GemRB 0.9.1 released! (Life is strength edition) The GemRB team is proud to announce a new release. It features loads of improvements in core game systems, making Icewind Dale II almost completable, but also in the rest of the engine. Among other things this means further improved speed, better unicode support and deprecation of Python 2 support. As usual the release also comes with many smaller features, bug fixes, polishing and code cleanups. Full changelog digest: GemRB v0.9.1 (2022-08-29): New features: - iwd2 can be progressed to well into chapter 5 - faster loading and saving, faster OpenGL rendering - Use magic device skill, precise shot, iwd1 bard song choice - SDLAudio plugin now supports ambients - console history is now preserved, more text colors externalized - logging is now done via fmt (bundled headers) Improved features: - python3 support (now the only option) - unicode support (iconv not optional any more!) - spellcaster ai, effects, scripting, projectiles, weapon style customization - audio, drawing, appimage, ini spawns - bugfixes @ text @$NetBSD: patch-gemrb_core_System_String.cpp,v 1.4 2021/07/22 21:19:43 yhardy Exp $ Deal with old NetBSD/SunOS style iconv. --- gemrb/core/System/String.cpp.orig 2021-06-18 12:08:06.000000000 +0000 +++ gemrb/core/System/String.cpp @@@@ -30,6 +30,15 @@@@ #include #endif +#if defined(__NetBSD__) +#include +#if __NetBSD_Prereq__(9,99,17) +#define NETBSD_POSIX_ICONV 1 +#else +#define NETBSD_POSIX_ICONV 0 +#endif /* __NetBSD_Prereq__(9,99,17) */ +#endif /* defined(__NetBSD__) */ + namespace GemRB { static String* StringFromEncodedData(const ieByte* string, const EncodingStruct& encoded) @@@@ -122,7 +131,11 @@@@ char* ConvertCharEncoding(const char* st size_t out_len_left = out_len; char* buf = (char*) malloc(out_len); char* buf_out = buf; +#if (defined(__NetBSD__) && !NETBSD_POSIX_ICONV) || defined(__sun) + size_t ret = iconv(cd, (const char **)&in, &in_len, &buf_out, &out_len_left); +#else size_t ret = iconv(cd, &in, &in_len, &buf_out, &out_len_left); +#endif iconv_close(cd); if (ret == (size_t)-1) { @ 1.4 log @games/gemrb: update to gemrb-0.9.0 Announcement: GemRB 0.9.0 released! (A view to the future edition) The GemRB team is proud to announce a new major release. Over six years in the making, growing in scope with time, the subviews branch was a true monster. But the quest to lay it to rest has now been successfully completed, among other things modernizing the GUI, drawing and input handling. For most use cases, there is no need for the Widescreen mod any more (see screenshot or video explainer). The SDL2 backend is now mature and default, OpenGL support is not experimental any more, most benefiting Mac users. Additionally, in the last minutes between the merge and this release, Python 3 support was added and our demo received an ending. If you don’t believe that this is a big upgrade, consider just the changes from the branch. It included 3527 commits, 668 changed files, and over 30,000 changed lines of code. That’s about every fifth line! Full changelog digest: GemRB v0.9.0 (2021-06-18): New features: - basic resolution independence - python3 support - arbitrary window dragging support - improved debug console - subtitle support for BIK videos Improved features: - window management, drawing and input handling - performance: SDL2 video playback, general and text rendering - smoother movement animations, demo - bugfixes Thanks to everyone that contributed their time and wit, including: Bernd Schmidt, Brad Allred (main author), Diego J., fizzet, FrElvire, Jaka Kranjc, Laurie Chilvers, m7600, MarcelHB, Northfear, Rodrigo Santellan. Notes to packagers: Python 3 support has been added. SDL2 is now the default backend and anyone still on SDL1 is encouraged to switch. If you are packaging from git sources, not the archive, either run make fetch-demo-data first or manually include the files. These are (currently two) bigger assets kept in a separate repository. Configuration notes (details): * key TooltipDelay was deprecated (was unused, there is an ingame option) * key ScriptDebugMode was renamed to DebugMode and received more values * key FogOfWar was deprecated for GCDebug * new key GCDebug can be used to draw various debug features of maps * new key TouchInput for force disabling or enabling… @ text @d1 1 a1 1 $NetBSD: patch-gemrb_core_System_String.cpp,v 1.3 2021/06/21 14:02:47 nia Exp $ @ 1.3 log @gemrb: fix broken patch @ text @d1 1 a1 1 $NetBSD: patch-gemrb_core_System_String.cpp,v 1.2 2021/06/06 16:59:51 nia Exp $ d5 1 a5 1 --- gemrb/core/System/String.cpp.orig 2021-06-02 16:16:47.000000000 +0000 d7 1 a7 1 @@@@ -31,6 +31,15 @@@@ d23 1 a23 1 @@@@ -123,7 +132,11 @@@@ char* ConvertCharEncoding(const char* st @ 1.2 log @gemrb: update to 0.8.8 GemRB v0.8.8 (2021-06-02): New features: - gameplay content for the demo - Heart of Fury support - SDLAudio caching and volume control - PlayStation Vita port - simpler invocation, AppImage packages Improved features: - lightning bolts, iwd2 stealth, iwd effects, pst levelup - scripting, audio backends, logging - build system, portability and performance improvements - externalized summoning limit, trap limit, narration text speed - bugfixes @ text @d1 1 a1 1 $NetBSD: patch-gemrb_core_System_String.cpp,v 1.1 2020/08/31 12:46:21 nia Exp $ d7 1 a7 1 @@@@ -31,6 +31,16 @@@@ a18 1 +#endif d23 1 a23 1 @@@@ -123,7 +133,11 @@@@ char* ConvertCharEncoding(const char* st @ 1.1 log @gemrb: Update to 0.8.7 GemRB v0.8.7 (2020-08-23): New features: - new smarter pathfinder with bumping support - animal taming, iwd2 hardcoded saving throw bonuses - vcpkg and out-of-the box msvc support - non-ascii data filename support Improved features: - disk reading speedups, ease of setup - iwd chargen, pst spell timing, hardcoded overlays, iwd2 casting ai - better actor speeds & walk sounds - audio, pst ini handling, savegame compatibility, morale handling - effects, projectiles, actions, range calculations - bugfixes Notes: - switched to c++11 and cmake 3.1 as a minimum - dropped windows 9x compatibility @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- gemrb/core/System/String.cpp.orig 2020-08-23 18:32:26.000000000 +0000 d7 1 a7 2 @@@@ -35,6 +35,15 @@@@ #if HAVE_ICONV d9 2 a10 2 #include + d19 3 a21 1 #endif d23 2 a24 2 namespace GemRB { @@@@ -127,7 +136,11 @@@@ char* ConvertCharEncoding(const char* st @