head 1.8; access; symbols pkgsrc-2026Q1:1.8.0.4 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.2 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.7.0.12 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.10 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.8 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.6 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.4 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.2 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.6.0.14 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.12 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.10 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.8 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.6 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.4 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.2 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.5.0.4 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.2 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.4.0.2 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.3.0.26 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.24 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.22 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.20 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.18 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.16 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.12 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.14 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.10 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.8 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.6 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.4 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.2 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.2.0.2 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.1.0.48 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.46 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.44 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.40 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.38 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.36 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.34 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.32 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.30 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.28 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.26 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.24 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.22 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.20 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.18 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.16 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.14 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.12 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.10 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.8 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.6 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.4 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.2 pkgsrc-2012Q3-base:1.1; locks; strict; comment @# @; 1.8 date 2025.09.30.09.14.24; author adam; state Exp; branches; next 1.7; commitid kZgSstkzYh5LAIcG; 1.7 date 2024.04.07.21.39.03; author adam; state Exp; branches; next 1.6; commitid ayZIJR66yX9f6g5F; 1.6 date 2022.07.27.08.40.58; author adam; state Exp; branches; next 1.5; commitid IL2hXydr3HIFIvND; 1.5 date 2022.01.21.20.37.07; author adam; state Exp; branches; next 1.4; commitid oxj4RmqiEfQWGxpD; 1.4 date 2021.11.02.18.35.04; author adam; state Exp; branches; next 1.3; commitid trulwQ3QvA4tAffD; 1.3 date 2018.07.26.10.19.56; author adam; state Exp; branches; next 1.2; commitid dZgzcaOuxiQggDLA; 1.2 date 2018.06.24.16.02.50; author adam; state Exp; branches; next 1.1; commitid pG1R2oG2UfKEbyHA; 1.1 date 2012.07.18.06.37.41; author adam; state Exp; branches; next ; desc @@ 1.8 log @wesnoth: fix build with Boost-1.89.0 @ text @$NetBSD: patch-CMakeLists.txt,v 1.7 2024/04/07 21:39:03 adam Exp $ Don't use boost_system library. Do not look for X11 on macOS. We don't have readline as a module. Do not bother with uninstaller. --- CMakeLists.txt.orig 2025-05-20 22:28:48.000000000 +0000 +++ CMakeLists.txt @@@@ -93,14 +93,16 @@@@ if(APPLE) find_library(SECURITY_LIBRARY Security REQUIRED) endif() -find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS iostreams program_options regex system thread random coroutine locale filesystem graph) +find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS iostreams program_options regex thread random coroutine locale filesystem graph) find_package(ICU REQUIRED COMPONENTS data i18n uc) # no, gettext executables are not required when NLS is deactivated find_package(Gettext) find_package(Python) +if(NOT APPLE) find_package(X11) +endif(NOT APPLE) if(NOT WIN32 AND NOT ENABLE_SYSTEM_LUA) # Use the safer `mkstemp' instead of `tmpnam' on POSIX systems. @@@@ -542,7 +544,6 @@@@ if(ENABLE_GAME OR ENABLE_TESTS) pkg_check_modules(CAIRO REQUIRED cairo>=1.10) pkg_check_modules(PANGOCAIRO REQUIRED pangocairo>=1.44.0) pkg_check_modules(PANGO REQUIRED pango>=1.44.0) - pkg_check_modules(LIBREADLINE readline) endif() if(ENABLE_TESTS) @@@@ -625,11 +626,6 @@@@ endif() # uninstall # -configure_file( - "${CMAKE_SOURCE_DIR}/cmake/uninstall.cmake.in" - "${CMAKE_CURRENT_BINARY_DIR}/uninstall.cmake" - IMMEDIATE @@ONLY -) add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/uninstall.cmake" @ 1.7 log @wesnoth: updated to 1.18.0 1.18.0 This release features many new additions as well as refinements to existing content including a new Drake campaign, a full remake of our oldest Loyalist campaign, greatly improved graphical performance, major balance changes for multiplayer, achievements, many enhancements to the editor, and so much more! @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.6 2022/07/27 08:40:58 adam Exp $ d3 1 d8 1 a8 1 --- CMakeLists.txt.orig 2024-03-18 00:11:38.000000000 +0000 d10 9 a18 1 @@@@ -100,7 +100,9 @@@@ find_package(ICU REQUIRED COMPONENTS dat @ 1.6 log @wesnoth: updated to 1.16.5 Version 1.16.4+dev Miscellaneous and Bug Fixes * Fixed frequent crashes occurring in multiplayer matches Version 1.16.4 Campaigns * Eastern Invasion * S07a: * Better handling for side 2 * Fixed Grug upkeep, added dialogue about ogres joining * Northern Rebirth * S1: Fixed Al'Tar confusing an orc for a slave * Under the Burning Suns * S5: Enforce encounter with the Cloaked Figure Translations * Updated translations: Arabic, British English, Chinese (Traditional), Czech, Polish, Finnish, French Units * Fixed Warden’s and Arbiter’s animations popping on water tiles User interface * Resolved broken layout in some low-resolution configurations Miscellaneous and Bug Fixes * Fixed path finding visibility bug that sometimes caused OOS errors on maps with tunnels and at least three sides that do not share vision * Fixed being unable to interact with units when Scroll Lock is active * Removing the Protect Unit Micro AI no longer causes a Lua error * Fixed chance of being unscathed in damage calculation for some fights in which both units can die * Fixed visibility bug in ai_helper.get_attackable_enemies() for some complex filters * Fixed bug in Bottleneck Micro AI involving units without moves on terrain with multiple open passages * Fixed error in Castle Switch CA of the Experimental AI after a leader was killed * Fixed error in retreat-injured CA when regenerate ability code does not include a value= key * Retreat-injured CA no longer takes villages from allies * Experimental AI no longer uses generic_recruit_engine: fixes a data leakage bug between Experimental AIs of different sides * Experimental AI recruit rushers: include unit types from extra_recruit * Fix segfault when weapon is removed during attack * Add no-unit error message for unit debug command * Significantly improve efficiency of move-to-any-enemy CA Version 1.16.3 Add-ons client * Fixed: using the up or down arrow keys in small-screen mode returned to the title screen * Add-on passwords that are not stored in the `_server.pbl` can now be stored in the same credentials file as multiplayer passwords Campaigns * Delfador’s Memoirs * S11: Finding Chantal will now share her side’s vision with the player, as originally intended. * S14: Smoother appearance of enemies and added dialogue. * Descent into Darkness * S08: Prevent Spectral Servant from picking up the book * Northern Rebirth * S05a_01: Solve units getting stuck in the wall before the spider chamber * Sceptre of Fire * Fixed Thursagan's Arcanister advancement being "lost" after dismounting a minecart. * Improvements and spelling corrections to the English prose text * S9: Allow Grypon Riders to complete the scenario * Son of the Black Eye * Improvements and spelling corrections to the English prose text * The Rise of Wesnoth * S22: Fixed the possibility of a misplaced dialogue when a bridge was broken * Under the Burning Suns * S08: Kromph and the Dust devil now trigger a critical event * World Conquest * Updated the modding instructions, helping add-on authors add extra factions etc. Editor * Add documentation for the magenta D and special terrain overlays * Added some missing terrain groupings Multiplayer * Fixed updating add-ons when joining a game that requires a new version * Add a `/clear` command for the lobby-chat window. Packaging * flatpak: update freedesktop runtime version to 21.08 Terrain * Better transition for Swamp to Icy Cobbles * New graphics variations for icy and rocky terrains. * The help browser adds special notes for castles and healing terrains Translations * Updated translations: British English, Bulgarian, Chinese (Simplified), Czech, French, Italian, Japanese, Portuguese (Brazil), Russian * Fixed the stats for Spanish being overwritten by the stats for Spanish (Latin American). Units * Saurian sprites cleanup * Various small sprite updates for sea serpents and swamp lizards User interface * Mark the Plan Unit Advance mod as MP-only so it doesn't show up as available for campaigns. Miscellaneous and Bug Fixes * wmlscope can now report about calls to deprecated macros when using the `--unresolved` switch. * wmlxgettext’s old behavior of processing files in the order they’re given on the command line can be selected with the `--no-sort-by-file` option * Fixed a crash with "laststrike" (firststrike given to the opponent) weapon specials * Fixed a crash with locally-edited add-ons that had neither `_server.pbl` nor `_info.cfg` * Added more unit tests for weapon specials. * Resolve crash on systems using musl implementation of libc * The `--stringfreeze` (`-Z`) command line flag has been removed from wmllint. * The checks for the old special notes system have been removed from wmllint; the `notecheck off`, `notecheck on` and `match with ` magic comments no longer have any effect. * Resolved title screen flashing during the loading screen * Fixed erratic keyboard and mouse scroll speed * wmllint automatically removes the obsolete lines `{SOUND:SLOW}` and `{SOUND:POISON}` @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.5 2022/01/21 20:37:07 adam Exp $ d7 1 a7 1 --- CMakeLists.txt.orig 2022-07-13 16:10:31.000000000 +0000 d9 1 a9 2 @@@@ -76,7 +76,9 @@@@ find_package(ICU REQUIRED COMPONENTS dat # no, gettext executables are not required when NLS is deactivated d11 1 d17 6 a22 6 if(NOT WIN32) # needed to get some SDL2 defines in... (as of rev31694 -D_GNU_SOURCE=1 is required!) @@@@ -500,7 +502,6 @@@@ if(ENABLE_GAME OR ENABLE_TESTS) # TODO: can use find_package and Fontconfig::Fontconfig with cmake 3.14+ pkg_check_modules(FONTCONFIG REQUIRED fontconfig>=2.4.1) pkg_check_modules(PANGO REQUIRED pango>=1.22.0) d27 1 a27 1 @@@@ -583,11 +584,6 @@@@ endif() @ 1.5 log @wesnoth: updated to 1.16.2 Version 1.16.2 Campaigns * Delfador’s Memoirs * S07: Clarified objectives * Descent into Darkness * S08: Prevent possibility of Darken Volk advancing to Lich * Heir to the Throne * S05b: Temples given an aged appearance to match ‘ancient temples’ description * Sceptre of Fire * Added notes about Thursagan’s rune mechanics * S04: Mining objectives are much clearer now * Secret of the Ancients * S06: Ardonna should no longer mistake hostile bats as ‘my pet’ * S20: Directions “left” and “right” in character speech now use the character’s orientation, not the player’s * Consistently capitalise the name of the Academy of Magic * The Rise of Wesnoth * S08: The appearance of Naga is now smoother * S08: Refactored ship-boarding events * S19: The troll’s gold is automatically collected upon victory if not already obtained * S19: Avoid units spawning over chasms * Under the Burning Suns * Correct Traveler’s Ring description * Remove the “formation” ability from the attack predictions dialog, as it was in a confusing location; its effect is still shown in the calculations and chance-to-hit percentage * S02: Pinnacle Rock is now shown during dialogue * S04: Improve dialogue about dark underground tunnels * S06b: * Account for non-elvish units encountering Dwarf Sergeant * Grog will not die as quick now * Hermit dialogue cannot be accidentally skipped now * Fixed bug where tentacles would not spawn * Fast units cannot get stuck on the wall now * Camera now moves to where the charges are blown up * Fixed weird scout AI behaviour * S09: Rebels joining Kaleh’s side are now loyal * The last unit killed to trigger certain events should no longer linger during those events * The Dark Assassin’s race is not revealed until uncloaked * The Dust Devil’s XP bar is now blue * World Conquest: * Fixed for Winged Scepter not giving the correct defence values * Corrected the attack icon of ice bow from a lightning bolt to an iceball Multiplayer * Lobby joins are no longer displayed in chat even when that preference has been disabled * Added a specific prompt for moderators before joining password-protected games * Fixed add-ons not getting enabled for clients, leading to errors such as Unknown Terrain * Fixed an information leak where planned multi-turn moves could be visible to enemy players * Made planned moves visible to allies; this refers to trying to move more hexes than the unit can move this turn, it isn’t the whiteboard Lua API * Fixed an error in `gui.get_user_choice()` and added support for the current DescriptionWML syntax Translations * Added translations: Spanish (Latin American) * Updated translations: British English, Chinese (Simplified), Czech, Finnish, Italian, Japanese, Portuguese (Brazil), Scottish Gaelic, Turkish. * Lots of corrections of typos in `en_US` (untranslated text), which will require marking translations as `non-fuzzy` again * Implemented delayed translation option for gettext plurals * Comments in .po files are now kept in order when the .pot is regenerated Units * Added attack image for the Bone Knight’s trample * Added attack image for the Nightblade’s kick User interface * Improved translatability of MP ban durations * Fixed missing sidebar tooltips in low resolutions such as 800x600 Miscellaneous and Bug Fixes * Password storage was fixed to work with multiple accounts * wmllint now automatically removes `{MAGENTA_IS_THE_TEAM_COLOR}` * Added workaround for connecting to the multiplayer server taking too long when Chinese or Japanese language is selected * Added `KeyboardInterrupt` handling to many Python WML tools * Added `--simple-version` command line option * wmllint, wmlscope and wmlindent now support the command line `--version` flag, which reports the current version of Wesnoth * wmllint is now capable of handling unit levels and types when checking recruitment patterns. * Fixed units on a recall list sometimes being put on the map by `[modify_unit]` or `[store_unit]...[unstore_unit]` * Fixed abilities that are shown as weapon specials in the attack prediction window being shown on the placeholder for units with no ranged attack, or dark adepts' melee response * Fixed a glitch after a move is interrupted, paths to the hex where the move started were shown Version 1.16.1 Add-ons server * Fixed `core=` attribute in `_server.pbl` being completely ignored Campaigns * Tutorial * Use a portrait on the Campaigns menu. * Sceptre of Fire * S02p5: Added defeat condition if Alanin dies. Multiplayer * Increased the limits of timer values (up to 10 minutes turn bonus, 50 minutes reservoir). * Re-added HTML character escaping. Lua API * Fixed an error in `gui.get_user_choice()`. * Fixed an error in handling `x,y` locations Packaging * Fixed missing dependency on boost-math in the vcpkg config. * Made `get_dlls.py` install libraries for `wesnothd` too. Translations * Updated translations: Dutch, Italian, Portuguese (Brazil). * Added po hints for time format strings. User interface * Made the Add-ons Manager search box less unwieldy on very small resolutions. * Made listbox header toggle buttons taller. WML Engine * Fixed `[item]x,y=` at scenario scope Miscellaneous and Bug Fixes * Fixed missing tooltips on the side-bar (hover over the unit type to see a description, etc). * Fixed several issues in the multiplayer server about TLS connections, error-handling and disconnections. * Added `.DS_Store` and `Thumbs.db` to wmltool's list of files to ignore. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2021/11/02 18:35:04 adam Exp $ d7 1 a7 1 --- CMakeLists.txt.orig 2022-01-16 18:10:36.000000000 +0000 d23 1 a23 1 - pkg_check_modules(LIBREADLINE REQUIRED readline) @ 1.4 log @wesnoth: updated to 1.16.0 Version 1.16.0 Campaigns * Sceptre of Fire * S06: Fix some WML variable handling causing autodefeat in S06 or rune-equip bugs in a later scenario * Under the Burning Suns * S05: Avoid village just taken by the player being re-assigned to the enemy Lua API * Fixed `wesnoth.audio.volume = N` always setting volume to 0. Translations * Updated translations: British English, Czech, Finnish, Italian, Japanese, Portuguese (Brazil), Spanish. User interface * Don't display the locale API identifier on the Language button. Miscellaneous and Bug Fixes * Fix the engine exiting immediately due to a corrupt .mo file * When showing [message] with [options] but no default, highlight the first one * Ensure that [modify_unit] has some expected side-effects of unstoring a unit Version 1.15.18 Campaigns * Northern Rebirth * Give Eryssa’s side a consistent team color * The Rise of Wesnoth * Remove time-runs-out lose condition for final scenario * Under the Burning Suns * Avoid a few possibilities where the Dust Devil could speak * Avoid dehydration status icon persisting into the next scenario Editor * Avoid rare crash situation after editing scenarios Translations * Updated translations: British English, Bulgarian, Czech, French, Italian, Portuguese (Brazil), Russian, Spanish. * gettext plural forms now have caret prefixes stripped as well. User interface * Steam cloud file is no longer listed in the Load Game dialog. * Redefine green text in dialogs and tool-tips so they are no longer ‘too dark’ with recent Pango versions * Gave the main menu's Language button a label again, now displaying the current language. * Tweaked margins around the main menu's bottom row. * Difficulty no longer displayed in the Load Game dialog when it is not relevant to a save file Miscellaneous and Bug Fixes * Correct unit display adjustments on certain tiles when at zoom level other than 100% Version 1.15.17 Campaigns * World Conquest is re-enabled. Translations * Updated translations: British English, Polish Miscellaneous and Bug Fixes * Messenger MAI: fixed bug of own units sometimes blocking the path to a waypoint for the messenger * A bug that would corrupt WML sent to the multiplayer and add-ons server was fixed. Version 1.15.16 Campaigns * Liberty * S06: Enforce failure condition for allied team * The South Guard * S8b: Reduced difficulty * Tutorial * S01: Don't let the first Quintain chase the player to a village * S01: Synchronise the choice of character dialog, so that replays don't get OOS * S01: Fix some glitches on HDPI displays * Secrets of the Ancients * Synchronise the walking corpse recruitment dialog, so that replays don't get OOS * Under the Burning Suns * S09: Reveal the boss of the scenario at the end of part 1 * World Conquest * Add campaign icons, campaign image and credits * Update to new mushroom terrain from the deprecated mushroom terrain Multiplayer * If an add-on needs to be installed on all players' devices but doesn't specify a min version, assume it needs the latest Terrain * Fix transition between snowy mountains and castles Translations * Updated translations: British English, Chinese (Traditional), Czech, Finnish, French, Indonesian, Italian, Polish, Portuguese (Brazil), Russian, Turkish Units * Added and improved Naga animations * Added Troll defense animations User interface * The names of the abilities used as specials appear in the attack prediction window with specials weapons * In the Load Game dialog, list directories from previous versions in decending order * Refined design of the Faction Select screen * Made the campaign selection on bigger on HDPI screens Miscellaneous and Bug Fixes * Added a timeout when connecting to the wesnothd server * Improved logging of deprecation messages, fixing duplication and missing timestamps * Added `[era]` attributes to the schema * Added to wmllint an automatic update of four terrain-graphics macros * Removed wmllint's check for spaces in e-mail addresses * Standardised the date line of copyright statements, and updated them to 2021 Version 1.15.15 Translations * Updated translations: British English, Bulgarian, Chinese (Traditional), Czech, Italian, Portuguese (Brazil), Russian, Spanish, Turkish User interface * Added a prompt to allow migrating settings and redownloading add-ons used in a previous version of Wesnoth when starting a new versions for the first time. Miscellaneous and Bug Fixes * Fixed: keyboard input during the loading screen intermittently caused a crash * AI: fixed custom synced commands not changing the game state Version 1.15.14 Add-ons client * Fixed: using the versions drop-down in small-screen mode returned to the title screen * Fixed: keyboard input in small-screen mode returned to the title screen Campaigns * A Tale of Two Brothers * S02: Dialog revisions. * Sceptre of Fire * Revisions to the last two scenarios. * Tutorial * S02: Mention the acceleration factor preference. Lua API * Pathfinding functions are now in a new wesnoth.paths module. * Pathfinding in map generation now takes an options table as the third argument. * New sync module that contains functions for multiplayer synchronization * In particular, wesnoth.synchronize_choice is now wesnoth.sync.evaluate_single * allow_end_turn and end_turn moved to the wesnoth.interface module * wesnoth.message is now wesnoth.interface.add_chat_message * Shroud and fog control are now in the wesnoth.sides module * Shroud data strings and the special string "all" are no longer supported by place_shroud - only a list of locations is supported * wesnoth.map.parse_bitmap transforms a shroud data string into a list of locations * wesnoth.map.make_bitmap builds a shroud data string from a list of locations * There are now two different ways of altering shroud: place_shroud merges with existing shroud, while override_shroud replaces the entire shroud with the new value. * New schedule module for working with schedules and time areas * wesnoth.map.get_time_area now returns the area's schedule object * The global scenario schedule is available as wesnoth.current.schedule * wesnoth.get_time_of_day is split into wesnoth.schedule.get_time_of_day (ignoring illumination) and wesnoth.get_illumination (which considers illumination). Both functions now take the location as the first argument. * wesnoth.get_max_liminal_bonus() is now wesnoth.current.schedule.liminal_bonus * wesnoth.replace_schedule is now wesnoth.schedule.replace * wesnoth.end_level() and wesnoth.get_end_level_data() are now removed - instead, there's an end_level_data field in wesnoth.scenario.that serves both purposes. * wesnoth.get_traits() is now wesnoth.game_config.global_traits * wesnoth.teleport moved to the units module Multiplayer * Added Isle of Mists, a new single player or coop survival scenario. Networking * Added support for encrypting connection using TLS to multiplayer/addon client/server * Moved password hashing code from client to server, relying on TLS to avoid sending cleartext passwords Packaging Terrain * Added some great tree variations * Added 'icy cobbles' (terrain code `Rra`) - mostly useful for the transitions Translations * Updated translations: British English, Chinese (Traditional), Czech, Indonesian, Italian, Japanese, Scottish Gaelic, Slovak, Spanish Units * Added missing Seahorse graphics * Revised Jinn (unit config and graphics) * Fire Wraith added * added LordBob's Jinn, Fire Guardian, and Fire Wraith portraits * Moved Naga guardian line from UtBS to core, and made some revisions * Dune Apothecary experience needed to level up changed from 100 to 65 * Dune Captain experience needed to level up changed from 86 to 75 * Dune Herbalist cost changed form 15 to 14 * Dune Horse Archer experience needed to level up changed form 70 to 65 * Naga Sicarius hp changed form 55 to 53 and melee damage changed form 9 to 6, new special "deflect" added to melee attack * Fire Guardian can now level into Fire Wraith, experience needed to level up for Fire Guardian changed from 50 to 29 * Revised statistics of all animal horses, Bay Horse can now level into Great Horse Wesnoth Formula Language * The use of "side" on units and "owner" on terrain objects is now deprecated. Instead, you should use "side_number" or "owner_side", respectively. The old key returns 0 for side 1 and so on, so the new key is preferred. * A unit object now has a "terrain" key that returns the terrain object the unit is standing on. * Add new functions tod_bonus() and base_tod_bonus() to get the bonus on a specific location WML Engine * add 'unslowable' and 'unpetrifiable' status to immune to slow or petrifies * Schema validation now checks whether string values are translatable or not, according to what the schema specifies. * Fix schema validation rejecting Lua AI goals * Unit special notes are now read directly from weapon specials, abilities, and a few other places, meaning the `[special_note]` tag is usually not required in `[unit]` or `[unit_type]`. * A warning is now displayed when the next scenario is unknown. * Changed the default duration for `[print]` to 5000 milliseconds, and added support for `duration=unlimited`. Miscellaneous and Bug Fixes * The unit description tooltip in the sidebar now includes the text from `[special_note]`s. * Added a collection of item images * AI: fixed crash when using attacks aspect with invalidate_on_gamestate_change=no * AI: fixed crash when using custom_synced_commands * Micro AIs: fixed unit variables getting lost when continuing from replay * Fixed AI state initialization problem after reloading Version 1.15.13 Add-ons client * The details panel now shows the list of tags in each add-on. * Added a filter based on tags. Lua API * Added `pango_color` to the `wesnoth.colors` table, for easy use in formatted text. * Add new function `filesystem.resolve_asset` to convert `[binary_path]` relative paths to data-relative paths. * Add new function `filesystem.have_asset` which can determine if an image or sound exists. * `wesnoth.have_file`, `wesnoth.read_file`, `wesnoth.image_size` moved to new `filesystem` library * Add a more advanced way of manipulating version strings via `wesnoth.version` constructor function. * Add a `wesnoth.scenario` data module that consolidates everything there is to know about the current scenario. Much of this information was previously available through `wesnoth.game_config`, but there are some new details too. * Fixed a regression introduced in 1.15.5 causing GUI2 widgets set to a hidden state to remain visible but not able to be interacted with. * Fixed a regression introduced in 1.15.5 causing GUI2 listboxes to break when cleared and re-filled under certain circumstances. Packaging * Increased minimum required version of SDL to 2.0.8. Translations * Updated translations: British English, Czech, Dutch, Italian, Russian. Units * Horses added * Seahorse added * Zombie horse variation added * Update piglet/boar graphics User interface * The multiplayer "turns over" dialog now uses each team's colors when showing teams' names. WML Engine * Modify implementation of overwrite_specials attribute for replace yes/no parameter by none/one_side/both_sides and select abilities used like weapons and specials who must be overwrited(owned by fighter where special applied or both) * Add a `ability_id_active` attribute to `[filter]` * `[terrain_mask]` now accepts `mask_file` as an alternative to an inline mask. The file is loaded from the same place as `map_file` in the `[scenario]` tag (ie, a maps/ subdirectory of your binary path). Anyone who prefers to keep masks separate from regular maps is free to make a subdirectory for their masks (or just keep all their masks inline). * `[effect]apply_to=movement` now always affects vision too, except when given the `apply_to_vision=no` attribute Miscellaneous and Bug Fixes * More optimization in the UI drawing code, fixes the crash displaying the full credits. * Made GUI.pyw compatible with Python 3.9. * Removed workarounds for bugs affecting older SDL 2.0 versions, including an extra copy of the game screen made during gamemap scrolling. * FPS values calculated when the :fps or :benchmark are now written to a file which can then be used to track FPS values over time. * Removed old image optimisation scripts, as there's a rewrite in Python. Version 1.15.12 Add-ons client * When uploading or deleting an add-on, the game will now prompt for the required password if it is not present in the `_server.pbl` file. AI * Improved AI decisions about whether an attack with poison is better than one with higher direct damage. * Added options to the Patrol Micro AI on whether to notice invisible units, and on attack range. * Added a `[filter]` option to the Swarm Micro AI. * Replaced several uses of Formula AIs with Micro AIs, and removed Formula AIs from demo scenarios. * Removed experimental MP dev Formula AIs. * Fixed a crash in the Lurker Formula AI. Campaigns * Descent into Darkness * Buffed Malin. * Eastern Invasion * Dialogue changes in S07b. * Legend of Wesmere * S16: Replaced the Patrol Formula AI with the Patrol Micro AI. * Secrets of the Ancients * Reimplemented the zombie recruitment UI. * The Rise of Wesnoth * Balance changes. * The South Guard * Fix the new ally's upkeep when choosing the bandit branch. * Tutorial * Reimplemented the character-choice UI. * Under the Burning Suns * In S01, fixed one of the mystics spawning in the lake. Lua API * Fix issues with the wesnoth.map module. Multiplayer * Dark Forecast * Difficulty rebalanced so that two-player-mode is hard rather than impossible. * The weather now changes on side 1's turn instead of side 3's turn. * World Conquest * Many bugs have been fixed, however WC is still hidden while more bugs are fixed. * Converted GUI2 dialogs to WML. * Fixed an error in the destruction mechanic. Packaging * Removed the obsolete FindSDL2_ttf cmake module. Terrain * Improved transition between human castle ruins and sunken ruins. Translations * Updated translations: Chinese (Traditional), Czech, Italian. Units * New rock scorpion monster and scorpion zombie variation. * Rename tusker/gorer references to boars and piglets, to avoid stepping on existing UMC. * Dune Blademaster gold cost changed from 52 to 57. * Dune Captain alignment changed from liminal to lawful. * Dune Cataphract gold cost changed from 61 to 62. * Dune Firetrooper gold cost changed from 50 to 41. * Dune Harrier gold cost changed from 46 to 47. * Dune Luminary gold cost changed from 53 to 38. * Dune Maruder gold cost changed from 52 to 60. * Dune Sky Hunter gold cost changed from 47 to 51. * Dune Spearmaster gold cost changed from 51 to 57. * Dune Wayfarer gold cost changed from 52 to 55. * Dune Windbolt gold cost changed from 50 to 49. * Dune Warmaster gold cost changed from 56 to 57, hp changed from 57 to 59, alignment changed from liminal to lawful. * Naga Ophidian gold cost changed from 24 to 22, melee damage changed from 7 to 6, ranged damage changed from 10 to 12. * Naga Ringcaster gold cost changed from 24 to 22. * Naga Sicarus gold cost changed from 48 to 46, melee damage changed from 10 to 9, ranged damage changed from 12 to 13. * Naga Zephyr gold cost changed from 50 to 46. * Wose Sapling gold cost changed from 10 to 11. * Wose Shaman gold cost changed from 40 to 27, movement points changed from 3 to 4, melee damage changed from 9 to 12, ranged damage changed from 10 to 11, hp changed from 50 to 56. * Horned Scarab gold cost changed from 12 to 11. * Fixed the Walking Corpses of some river creatures having poor movement in deep water. * New descriptions for the Fire Ant, Roc and Sand Scuttler. * Fixed the Giant Scorpion having an empty variation name. User interface * Improved the attack dialog's recommendation about whether an attack with poison is better than one with higher direct damage. * Added logs folder path to the Game Version dialog on Windows. * Added built-in Lua engine version to the Game Version dialog and `--report`. * Made Accelerated Speed toggle announcement not stackable over itself or other announcements. * Minor adjustments to the sidebar's minimap area in the default game theme to reclaim empty and uneven space back. Note that this WILL break custom WML themes that use the same sidebar graphics as the default theme. * Minor adjustment to the placement of numerals on the debug clock. * Players now receive an error message when attempting to save games using illegal file names. * Fixed text labels containing only a single link becoming empty. * Separated floating labels' duration from the speed of their eventual fade-out. * Fixed font family leakage from GUI2 canvases to GUI1 elements such as the in-game chat overlay. WML Engine * In development builds, deprecation warnings are now shown in-game by default. * Conditional WML's `[variable]` tag now expects exactly one comparison, and will warn if given none or multiple tests. * `[store_reachable_locations]range=vision` now calculates vision, instead of using movement costs and max movement points. Miscellaneous and Bug Fixes * Fixed units with max movement set to zero being given one max movement point by `[unstore_unit]` or when loading a saved game. * Fixed an intermittent crash on the loading screen. * wmlunits (units.wesnoth.org) no longer incorrectly assumes that units with movement costs equal to their maximum movement can't move into the affected terrains. * Fixed a bug where log domains' severity could accidentally be reduced. * Changed the verbosity and error-handling of the `run_wml_tests` script. * Made `run_wml_tests` automatically skip tests which need strict mode when running without strict mode. * Made optimizations in the UI drawing code, these shouldn't have visible effects. * Optimized the command-line `wesnoth_addon_manager` tool. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2018/07/26 10:19:56 adam Exp $ d4 1 d7 1 a7 1 --- CMakeLists.txt.orig 2021-10-24 00:23:51.000000000 +0000 d19 9 a27 1 @@@@ -568,11 +570,6 @@@@ endif() @ 1.3 log @wesnoth: updated to 1.14.4 Version 1.14.4 * Security Fixes * Fixed Lua being able to escape sandboxing via load/loadstring (CVE-2018-1999023). * Add-ons server * Made it so plain-text .po catalogues in add-ons are detected and added to the list of translations for them. * Campaigns * Dead Water: * In 'Tirigaz', take the situation into account of orcs being killed either first or by undead. * Delfador's Memoirs: * Fix hero units costing upkeep * Eastern Invasion: * Fixed missing prisoners and loss of recallable units in 'Captured'. * Northern Rebirth: * Level 0 units are not available anymore after scenario 5 * Secrets of the Ancients: * Adjust gender of enemies to better match story in S11 & 21 * Simplify dialog to fix possible confusion in S16 * Have nagas be able to recruit in S21 * The South Guard: * S4: undead leader won't leave the castle anymore * S5: the untypical situation that one can defeat the lich before finding Urza Afalas is now handled * Under the Burning Suns: * S11: added custom graphics for the citadel. * S12: clarified the alien bodies' weaknesses. * Various visual improvements. * Editor * Fixed saving a map as a scenario not enabling scenario editor tools. * Graphics * New attack animation for the Peasant. * Tweaked the Ruffian's attack animation timing. * Language and i18n * Updated translations: British English, Bulgarian, Chinese (Simplified), Chinese (Traditional), Czech, French, German, Hungarian, Japanese, Scottish Gaelic, Slovak, Spanish * Lua API * Upgrade to Lua 5.3.5. * Multiplayer server * Fixed lobby and whisper messages not having a maximum length. * User interface * Improved the layout of the Statistics dialog. * Allow changing dropdown menu selections with the scrollwheel. * Fixed lobby chat box scrolling to top on a new message if it isn't at the bottom * Fixed the unit preview pane not showing the default race icon when detailing a single unit's stats. * Sort units secondarily by XP in the unit list dialog. * Whiteboard related bugfixes * WML engine * Fixed errors about WESNOTH_VERSION not being defined when trying to load add-ons that have preprocessor errors. * Miscellaneous and bug fixes * Added an advanced preference to enable experimental PRNG combat. * Campfires use illumination instead of a different ToD. * Linux builds now enable security hardening by default. * Fixed MP admins being unable to observe private games. * Fixed MP faction, leader, and leader gender changes persisting even if the selection dialog is dismissed. * Fixed an issue with positioned sound sources ignoring the volume set in Preferences after going off the audible radius and back. * Fixed wmllint choking on gzipped binary files (e.g. gzipped tarballs). * Fixed wmllint crashing on nonexistent paths provided in the command line. * Slight changes to the objectives dialogue * Greatly improved touch control support. * Fixed wmlindent crashing on nonexistent paths provided in the command line @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2018/06/24 16:02:50 adam Exp $ d6 1 a6 1 --- CMakeLists.txt.orig 2018-07-22 11:40:33.000000000 +0000 d8 1 a8 1 @@@@ -68,7 +68,9 @@@@ find_package(Boost 1.50 REQUIRED COMPONE d16 3 a18 3 # needed to get some SDL2 defines in... (as of rev31694 -D_GNU_SOURCE=1 is required!) set(SDL2_CONFIG "sdl2-config" CACHE STRING "Path to sdl2-config script") @@@@ -601,11 +576,6 @@@@ endif(ENABLE_GAME) @ 1.2 log @wesnoth: updated to 1.14.3 Version 1.14.3 AI * Fixed crash in presence of units with negative hitpoints (issue 3042). * Efficiency improvements to filter evaluations in the Goto Micro AI and some AI helper functions Campaigns * Dead Water: * Fix possibility of villagers blocking pickup of sword in S10 The Flaming Sword (issue 3207). * Descent Into Darkness: * New Parthyn map in S1 and S6. * Northern Rebirth: * Reduced starting gold and income in scenarios 10 to 13 * Secrets of the Ancients: * Fix S09 Training Session not ending when all dark adepts die (issue 3192) * Tutorial: * S2: made enemy starting gold equal to that of the player. * Under the Burning Suns: * Added portrait and updated sprite for Giant Ant. Language and i18n * Updated translations: British English, Chinese (Traditional), Czech, French, Italian, Japanese, Scottish Gaelic, Spanish Multiplayer server * Fixed lan_server option not causing the server to exit once vacated, e.g. when using the Host Networked Game option from the Multiplayer menu in the game (issue 3206). Music and sound effects * The music now changes immediately when you load a save file (issue 2602). * Fixed Lua errors when setting a music track that cannot be found when the playlist is already empty, e.g. if there's no music installed for the game (issue 3194). WML engine * Removed validation to ensure units cannot have negative hitpoints. We learned that the ability to create such units is documented, and thus disallowing it was an API change. Since API changes aren't allowed in the stable branch, we have reverted it. Miscellaneous and bug fixes * Fixed an occasional crash at the loading screen related to multi-thread access of the image cache. * [kill] animate=yes no longer scrolls to units through fog or shroud, thus matching 1.12's behavior again. * [message] displays the unit type name when a nameless unit speaks and no custom caption= is specified (issue 3211). * do_not_list=yes units are no longer excluded from the debug mode-only Create Unit dialog. * Fixed a rare issue where disabled attacks could cause the wrong attack to be initially selected in the Unit Attack dialog. This bug also had the potential to cause units to the wrong attack when engaging or viewing damage calculations. * Fixed [scenario] map_file= being unusable in most circumstances. Version 1.14.2 Campaigns * Northern Rebirth: * S02.1 Infested Caves: keep side 8 AI leader from wandering off too far and ending up on a keep with only one hex for recruiting. * S02.1 Infested Caves: AIs are less likely to kill each other in early game, which would make it harder for the player otherwise. * S02.1 Infested Caves: Dwarvish allies are also less likely to die. * S02.1 Infested Caves: minor map tweaks and improvements. * S05 The Pursuit: removed a bottleneck and tweaked Rod of Justice. * Sceptre of Fire: * In 'Caverns of Flame', fixed various issues with the volcano eruption. * Under the Burning Suns: * Various Quenoth unit graphics updates. * Descent into Darkness: * In 'A small Favor', disabled a not intended way to win the scenario. * Secrets of the Ancients: * Bats are transformed to normal ones already after S5 Graphics * Fixed a minor team coloring mistake in the north-facing Revenant standing animation. Language and i18n * Updated translations: British English, Chinese (Simplified), Czech, French, Galician, German, Italian, Japanese, Scottish Gaelic, Spanish, Ukrainian User interface * List boxes (MP lobby game list in particular) now keep the scroll position when they change, instead of keeping the selected item visible (issue 3016). * Fixed MP lobby player list scrolling to top when it changes * Fixed the first unit sometimes not being selected when opening the Recall dialog. * Fixed a crash when using very large portraits in [message] (issue 2912) * Added a button to access the version info dialog to Preferences. * Removed player list sorting options in the MP lobby. The list is now automatically sorted alphabetically, friends first. * Rearranged campaign difficulty menu layout Terrains * Removed hidden terrains that were not supposed to make it to 1.14: ^Prg, ^Prgo, ^Pwd, ^Pwdo Miscellaneous and bug fixes * Fixed memory leak in terrain filter code. In a huge map with Silver Mages, it could leak several gigabytes of memory in a long session. * Fixed: unit halo remained after undoing a recall (issue 3065) * Fixed: unit halo intensity doubled during AMLA animation * [change_theme] no longer causes a Lua error when theme= is not specified instead of explicitly set to an empty string. * [change_theme] no longer requires running a separate action to update the UI afterwards (e.g. [redraw]) and the status panels are updated immediately. as well. * Lua random map generator: fixed error when flipping map; specifically this also fixes an assert at the start of HttT S7 (Sceptre of Fire) that had a 50% chance of being triggered * Experimental AI: fixed recruiting not working on maps without enemies, such as the first two turns of Dark Forecast * Experimental AI: fixed recruiting evaluations sometimes not being updated * Replaced deprecated Lua code and all remaining uses of FOREACH and MESSAGE macros * Fixed [color_adjust] interacting poorly with time of day color shifts and values outside the [-255, 255] range (issue 3144). * Fixed a regression from 1.13.10 where modification option values couldn't be properly saved in arrays. * Added stricter validation to ensure units cannot have negative hitpoints, except during specific attack-related events. * Added deprecation notices for several macros that had them missing before. * [message] no longer scrolls to units through fog or shroud so it matches 1.12's behavior. * Fixed animation-wide text_color and blend_color keys being overwritten. This fixes level-in and level-out animations sometimes fading to black instead of white. * Fixed [animate_unit] freezing the game when observing MP games (2970). * Fixed carryover behaving differently when loading a start-of-scenario save (issue 3152). * Fixed turn replay function in MP. * Fixed savegames being created even when not needed (issue 3150). * Fixed handling of extra_recruit in planning mode (issue 3100). * Fixed handling of skirmisher in planning mode. * Fixed handling of filter_recall in planning mode. * Fixed possible segfault at game end. * Fixed require_resource in [resource]. * Fixed require_scenario=yes not working with map_generation (issue 3105). Version 1.14.1 Campaigns * Eastern Invasion: * In 'Captured', fixed units incorrectly costing upkeep after leveling up. * Secrets of the Ancients * Fixed minor unit naming inconsistencies (issues 2844 and 2846). * Under the Burning Suns * Added custom graphics for the broken tree in S1. * Various sprite and image updates. * Fixed a bug in the formation ability causing defense bonuses not being received in some cases. Language and i18n * Updated translations: British English, Chinese (Simplified), Czech, French, Galician, German, Italian, Japanese, Scottish Gaelic, Slovak, Spanish * Fixed Logging Options tooltips not being translatable (issue 2837). * Add command-line argument to disable the filtering of incomplete translations in the language selection list. Multiplayer server * Added support for matching user, IP, and email bans from a forums board when the forum_user_handler is enabled and active. (IP and email bans with wildcards are not supported yet.) * Fixed various instances of the server crashing under certain conditions. Performance * Added an option to disable the FPS limiter for a slight performance boost. Units * Changed the plural name for the merfolk race from Mermen to Merfolk (issue 2940) and replaced a few instances in core unit or terrain descriptions accordingly. User interface * Removed individual Join/Observe buttons for each game in the MP Lobby. * Highlight the titles of MP games with vacant slots. * Improved MP Lobby layout on low resolutions. * Improved reporting of network errors in the MP lobby (issue 3005). * Ensure the chat widget remains the correct size even after a window resize. * Custom MP game names are now capped at 50 characters. * Restored Era info to main MP game display. * Improved the resolution selection criteria for the MP Lobby. * Fixed inactive weapon specials being displayed in the Unit Attack dialog unlike in 1.12 (issue 3033). Miscellaneous and bug fixes * Removed misleading tooltip text stating registered nicknames are optional for the official MP server. * Attempting to save a screenshot with an unsupported format now shows an error message, instead of saving the screenshot as BMP with the requested extension. * It is now possible to disable logdomains in the Logging Options dialog. * Fixed the wesnoth(6) manpage claiming the default log level is 'error' when it has been 'warning' since version 1.9.0. * Document --log-none in the wesnoth(6) manpage. * Avoid trying to load invalid base64-encoded data URIs. * wesnoth_addon_manager and the addons.wesnoth.org web index can now use data URIs. * Fixed a crash when using certain invalid color= values. * Implemented a workaround for an unhandled std::bad_cast from string comparison functions that caused a crash-to-desktop when opening Preferences among others (issue 3050). * Fixed many crashes and out-of-sync errors when using the planning mode. Version 1.14.0 Campaigns * Under the Burning Suns * New set of Quenoth faction and character portraits by LordBob. * Updated sprites for several Quenoth units. * Fixed "Invalid WML found" error that can be caused by the Quenoth Youth support ability. Help browser * Temporarily hidden Editor section as it is mostly incomplete and of little use right now (issue 2963). Language and i18n * Fixed Version label on the title screen not being translatable (issue 2914). * Updated translations: Czech, French, Galician, German, Japanese, Polish, Scottish Gaelic, Slovak, Spanish Multiplayer * Fixed regression causing a crash-to-desktop when trying to log into the server using a registered and active account without specifying a password. * Fixed an infinite loading screen if the server shut down or restarted mid-login. * Fixed an infinite loading screen when attempting to login with an unregistered nickname followed by a registered one. * Dark Forecast: Fixed possible Lua error when the weather changes. User Interface * Implemented MP chat message history saving (issue 1194, issue 2802). * Fixed context menus not dismissing on right click. Miscellaneous and bug fixes * Fixed an AI assertion when a unit with one disabled attack attacked a unit with no attacks or a single disabled attack. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2012/07/18 06:37:41 adam Exp $ a3 1 Remove -O3. d6 1 a6 1 --- CMakeLists.txt.orig 2018-06-10 00:02:23.000000000 +0000 d18 1 a18 14 @@@@ -258,9 +260,9 @@@@ RemoveFlag(CMAKE_SHARED_LIBRARY_LINK_C_F # # # reset the base Release build option -MESSAGE("Replacing default flags used for Release build with -O3 ${EXTRA_FLAGS_CONFIG} ${EXTRA_FLAGS_RELEASE}") -set(CMAKE_CXX_FLAGS_RELEASE "-O3 ${EXTRA_FLAGS_CONFIG} ${EXTRA_FLAGS_RELEASE}" CACHE STRING "Release build flags" FORCE) -set(CMAKE_C_FLAGS_RELEASE "-O3 ${EXTRA_FLAGS_CONFIG} ${EXTRA_FLAGS_RELEASE}" CACHE STRING "Release build flags" FORCE) +MESSAGE("Replacing default flags used for Release build with ${EXTRA_FLAGS_CONFIG} ${EXTRA_FLAGS_RELEASE}") +set(CMAKE_CXX_FLAGS_RELEASE "${EXTRA_FLAGS_CONFIG} ${EXTRA_FLAGS_RELEASE}" CACHE STRING "Release build flags" FORCE) +set(CMAKE_C_FLAGS_RELEASE "${EXTRA_FLAGS_CONFIG} ${EXTRA_FLAGS_RELEASE}" CACHE STRING "Release build flags" FORCE) set(CMAKE_EXE_LINKER_FLAGS_RELEASE "" CACHE STRING "" FORCE) # set the arch to use for Release build if provided if(ARCH) @@@@ -557,11 +559,6 @@@@ endif(ENABLE_GAME) @ 1.1 log @Changes 1.10.3: * Campaigns: * Heir to the Throne: * Fixed bug 19531: scroll to reinforcement units in Blackwater Port * Fixed bug 19517: The injured sergeant in HttT: Cliffs of Thoria will now always become visible when he is discovered. * Under the Burning Suns: * Made it so that all units are rehydrated quietly upon victory in scenario two * Under the Burning Suns: * Fix bug 19630: unit lost when Nym returns * Dust Devil no longer comments on cuttlefish * Wolf Riders now utter fleeing message on easy in scenario 3 * Editor: * Improved performance of the Editor Settings ToD lighting controls * Language and i18n: * Fixed untranslatable Cancel button label in the add-ons server network status dialog (bug 19659) * Updated translations: Chinese (Simplified), Finnish, French, Galician, Irish, Italian, Korean, Latin, Old English, Portuguese (Brazil), Russian * Multiplayer: * A New Land: * Made it so that the "Elvish Shaman" option in the elvish unit selection menu gets translated. Fixes bug 19677. * User interface: * Stop showing a unit's potential moves before moving in a move & attack, rather than after (more consistent with regular movement) * Whiteboard: * Fixed bug 19613: Multiple attacks after planning attacks in whiteboard * Fixed bug 19619: In local games, units keep ghosted appearance during opponent's turn * Fixed bug 19618: Problems with ending turn with impossible moves * Fixed bug 19615: Can see part of opponents' planned moves in local multiplayer game * WML engine: * Fix $owner_side in capture events fired due to unit movement * Miscellaneous and bug fixes: * Fixed: A preprocessor bug looking beyond the end of a buffer. * Fixed: Binding a temporary in the network code, possibly causing crashing. * Fixed bug 19469: Missing scenario hash results in Remote scenario always added to game description * Fixed bug 19322: controller=null hides a side in the status table * Fixed bug 19681: cache is never valid tweaked the number to string conversion of config_attribute * Fixed bug 16544: Fail to read `empty' cache files. * Added shroud_data to the inspection window (FR 19623). * Fixed: Wrong current side number after side turns (bug 19735) It also affected the lua field wesnoth.current.side @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 2 Don't look for X11 on Mac OS X Fix MANDIR d7 1 a7 1 --- CMakeLists.txt.orig 2012-05-01 21:08:26.000000000 +0000 d9 3 a11 3 @@@@ -27,7 +27,9 @@@@ find_package(Gettext) # src/gettext.cpp since it includes libintl.h) find_package(Libintl REQUIRED) d17 16 a32 12 if(NOT MSVC) #needed to get some SDL defines in... (as of rev31694 -D_GNU_SOURCE=1 is required!) @@@@ -55,7 +57,7 @@@@ include(SearchForStuff) set(BINDIR "bin" CACHE STRING "Where to install binaries") set(DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location") set(DOCDIR "${DATAROOTDIR}/doc/wesnoth" CACHE STRING "Sets the doc directory to a non-default location.") -set(MANDIR "${DATAROOTDIR}/man" CACHE STRING "Where to install manpages") +set(MANDIR "man" CACHE STRING "Where to install manpages") set(DATADIRNAME "wesnoth" CACHE STRING "change the name of the directory for the read-only architecture-independent game data") set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}" CACHE STRING "change the dir where binaries are placed right at compile time") set(LOCALEDIR "translations" CACHE STRING "change the name of the locale data directory to a non-default name") @@@@ -307,11 +309,6 @@@@ install(FILES l10n-track DESTINATION ${D d37 1 a37 1 - "${CMAKE_MODULE_PATH}/uninstall.cmake.in" @