pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/corsix-th



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Tue Nov 26 06:08:36 UTC 2024

Modified Files:
        pkgsrc/games/corsix-th: Makefile PLIST distinfo
        pkgsrc/games/corsix-th/patches: patch-CorsixTH_CMakeLists.txt

Log Message:
corsix-th: Update to 0.68.0

pkgsrc changes:
---------------
  * Remove USE_TOOLS=cmake, add inclusion of devel/cmake/build.mk.
  * Update FFmpeg dependency ffmpeg4 to ffmpeg7.

upstream changes:
-----------------
-------------------------------------------------------------------------------
CorsixTH 0.68.0 - released October 2024
-------------------------------------------------------------------------------
# New Features/Enhancements
* In-game movies now play for users using TH Data directly from a .ISO file
* Custom campaign creators can now optionally use the original level advance
  movie when progressing through the campaign
* The Map Editor has received some love including new features, fixes, and
  jukebox controls
* Long windows now behave properly in the game if they get intersected by an
  adjacent wall
* You can now control the Jukebox from the Main Menu by going to
  Options > Jukebox
* External (non-TH) XMI files are now supported by the Jukebox
* The adviser now tells you the cost of replacing your machine if you cannot
  currently afford it
* More cheats!
* [Experimental] Right mouse panning can now be used instead of using the
  middle mouse button. Enable it in the configuration file
* [Experimental] We’re closer to fully implementing falling actions! Get a
  sneak peek and get the chance to push people over by enabling it in the
  configuration file/debug menu

# Changes
* The demo movie will no longer play and cause jumpscares at the main menu if
  the CorsixTH window is not in focus
* Game speeds are now more closely aligned with the original game
* Improvements to handling of win/lose conditions, and the progress report
* Staff tiredness levels are now taken from the level config file based on
  difficulty level of the main campaign
* You can no longer win a level if you still have outstanding loans
* Emergencies will now be announced once patients actually begin arriving
  instead of at the start
* Errors with music playback will now attempt to provide more helpful
  information in the console
* Level briefings now show before the in-game tutorial
* The first patient of a level will now arrive faster after opening the
  hospital
* The information dialog box is now more closely aligned with the original game
* The tip of the day window should no longer be obscured in the main menu
* The load/save windows now have better labelling
* Unavailable languages are shown as disabled until you select a Unicode font
* Support is added to auto-detect a Theme Hospital install via GOG Galaxy

# Translations
* Ukranian translation added. Thanks @JurecStrongman
* Dutch translation has been updated. Thanks @jetenergy and @Alberth289346
* Italian translation has been updated. Thanks @SebastianoPistore & @Inkub0
* Russian translation has been updated. Thanks @Matroftt
* Spanish translation has been updated. Thanks @ShiroAka
* French translation has been updated. Thanks @nMustaki & @Sanndow
* Brazilian-Portuguese translation has been updated. Thanks @altiereslima
* Some unused language strings have been cleaned up
* Custom campaign and level creators can now optionally add translated strings
  for campaign description, level briefing, and winning text

# Bug Fixes
* Swing (double) doors will no longer crash your game if you built rooms that
  used them while paused
* Fixed a bug for NVIDIA users who didn’t like graphical corruption when
  playing fullscreen at non-native resolutions
* Games should no longer crash irrecoverably because you have a 4k monitor :)
* The game will now exit to the main menu cleanly if a problem occurred trying
  to load a new level or map
* Staff who have left the hospital can no longer ask for a raise
* Fixed a bug where some staff may have no initial before surname
* Patients can no longer litter outdoors
* Patients waiting for a player decision no longer lose their mood icon on
  vomit/pee
* Fixed a bug where an unreachable reception desk could cause a crash
* The Computer and Atom Analyser now make button sounds as originally intended
* The mark for vaccination action now makes a sound as originally intended
* Fixed a rare bug where edges of map tiles for parcels could cause unintended
  behaviour when purchasing plots
* Active cheats will now persist across saves
* Audio settings have better safeguards against no audio enabled/no background
  music
* Movies will no longer attempt to play audio when global audio is off
* Config values using brackets (such as a custom music directory) will now work
  properly
* Custom campaigns menu now will use a scrollbar for long campaign descriptions
* Continue Game now properly targets files explicitly ending in the .sav format
* Tooltips for language menu now align with list items. Please note we are aware
  of an issue where some languages don't show a tooltip
* Fixed an instance where information boxes could load pink from older
  savegames
* Implemented a more permanent fix for the money bar being drawn incorrectly in
  some CJK and Cyrllic languages
* Fixed a crash on exit that could occur in some systems
* Mouse panning behaviour has been made more responsive and accurate

# Packager Notes
* Minimum CMake version is now bumped to 3.14
* CMake presets are now available for some common build scenarios
* Dependencies can now be obtained automatically using vcpkg on Linux and
  MacOS. If using Windows, please note that the CMake options have changed
* If update checks are enabled you now require libcurl at build and run time
  (update checks can be disabled using the WITH_UPDATE_CHECK CMake option).
  Luasec and luasocket are no longer used


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/games/corsix-th/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/corsix-th/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/games/corsix-th/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/games/corsix-th/patches/patch-CorsixTH_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/corsix-th/Makefile
diff -u pkgsrc/games/corsix-th/Makefile:1.23 pkgsrc/games/corsix-th/Makefile:1.24
--- pkgsrc/games/corsix-th/Makefile:1.23        Sun Aug 25 06:18:43 2024
+++ pkgsrc/games/corsix-th/Makefile     Tue Nov 26 06:08:36 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2024/08/25 06:18:43 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2024/11/26 06:08:36 triaxx Exp $
 
-DISTNAME=      corsix-th-0.67
-PKGREVISION=   4
+DISTNAME=      corsix-th-0.68.0
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=CorsixTH/}
 GITHUB_PROJECT=        CorsixTH
@@ -19,7 +18,6 @@ LUA_VERSIONS_ACCEPTED=        54 53 52 51
 DEPENDS+=      ${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem
 DEPENDS+=      ${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg
 
-USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
@@ -34,15 +32,17 @@ SOEXT=      so
 .endif
 
 .for module in AVCODEC AVFORMAT AVDEVICE AVUTIL SWSCALE POSTPROC SWRESAMPLE
-CMAKE_CONFIGURE_ARGS+= -D${module}_INCLUDE_DIRS=${BUILDLINK_PREFIX.ffmpeg4}/include/ffmpeg4
-CMAKE_CONFIGURE_ARGS+= -D${module}_LIBRARIES=${PREFIX}/lib/ffmpeg4/lib${module:tl}.${SOEXT}
+CMAKE_CONFIGURE_ARGS+= -D${module}_INCLUDE_DIRS=${BUILDLINK_PREFIX.ffmpeg7}/include/ffmpeg7
+CMAKE_CONFIGURE_ARGS+= -D${module}_LIBRARIES=${PREFIX}/lib/ffmpeg7/lib${module:tl}.${SOEXT}
 .endfor
 
+.include "../../devel/cmake/build.mk"
 .include "../../audio/SDL2_mixer/buildlink3.mk"
 .include "../../devel/SDL2/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../lang/lua/buildlink3.mk"
-.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../multimedia/ffmpeg7/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/games/corsix-th/PLIST
diff -u pkgsrc/games/corsix-th/PLIST:1.2 pkgsrc/games/corsix-th/PLIST:1.3
--- pkgsrc/games/corsix-th/PLIST:1.2    Sat Sep  4 11:02:26 2021
+++ pkgsrc/games/corsix-th/PLIST        Tue Nov 26 06:08:36 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/09/04 11:02:26 nia Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/11/26 06:08:36 triaxx Exp $
 bin/corsix-th
 man/man6/corsix-th.6
 share/applications/com.corsixth.corsixth.desktop
@@ -170,6 +170,8 @@ share/corsix-th/Lua/diseases/transparenc
 share/corsix-th/Lua/diseases/tv_personalities.lua
 share/corsix-th/Lua/diseases/uncommon_cold.lua
 share/corsix-th/Lua/diseases/unexpected_swelling.lua
+share/corsix-th/Lua/earthquake.lua
+share/corsix-th/Lua/endconditions.lua
 share/corsix-th/Lua/entities/humanoid.lua
 share/corsix-th/Lua/entities/humanoids/grim_reaper.lua
 share/corsix-th/Lua/entities/humanoids/inspector.lua
@@ -246,6 +248,7 @@ share/corsix-th/Lua/languages/simplified
 share/corsix-th/Lua/languages/spanish.lua
 share/corsix-th/Lua/languages/swedish.lua
 share/corsix-th/Lua/languages/traditional_chinese.lua
+share/corsix-th/Lua/languages/ukrainian.lua
 share/corsix-th/Lua/map.lua
 share/corsix-th/Lua/movie_player.lua
 share/corsix-th/Lua/objects/analyser.lua

Index: pkgsrc/games/corsix-th/distinfo
diff -u pkgsrc/games/corsix-th/distinfo:1.6 pkgsrc/games/corsix-th/distinfo:1.7
--- pkgsrc/games/corsix-th/distinfo:1.6 Sun Oct 15 20:53:58 2023
+++ pkgsrc/games/corsix-th/distinfo     Tue Nov 26 06:08:36 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2023/10/15 20:53:58 triaxx Exp $
+$NetBSD: distinfo,v 1.7 2024/11/26 06:08:36 triaxx Exp $
 
-BLAKE2s (corsix-th-0.67.tar.gz) = aec2ff241dcba7165975b936a79f1da23bb0b8fef4c46aecbdd029b322044963
-SHA512 (corsix-th-0.67.tar.gz) = b0e245a8aed9ad36e1040f88bbf8bf031bddf8dead0c59bc99a3c7f19cd6957c52e8185b2b737e78d57c73a58e460360428c81d5df1f6660aa17c7ec91ac62ba
-Size (corsix-th-0.67.tar.gz) = 4127698 bytes
-SHA1 (patch-CorsixTH_CMakeLists.txt) = e05c7d35e268a86a3c2bcc97343992c53277b9b9
+BLAKE2s (corsix-th-0.68.0.tar.gz) = 8a2ed8ba3ca061e40ad85c2015585080305d987bad0170de3099651834ea8929
+SHA512 (corsix-th-0.68.0.tar.gz) = 087c20d79d249cff77e037561fb978290af75ff13c02e24c52699fd7b4e8a542e23806b7fde93cfff7d47bd98ee1eda4878cd0d4585e12775a2e6337655a5bbf
+Size (corsix-th-0.68.0.tar.gz) = 4240659 bytes
+SHA1 (patch-CorsixTH_CMakeLists.txt) = 74835978605a221f298c5d59296c6a052177f5b6

Index: pkgsrc/games/corsix-th/patches/patch-CorsixTH_CMakeLists.txt
diff -u pkgsrc/games/corsix-th/patches/patch-CorsixTH_CMakeLists.txt:1.1 pkgsrc/games/corsix-th/patches/patch-CorsixTH_CMakeLists.txt:1.2
--- pkgsrc/games/corsix-th/patches/patch-CorsixTH_CMakeLists.txt:1.1    Sun Oct 15 20:53:58 2023
+++ pkgsrc/games/corsix-th/patches/patch-CorsixTH_CMakeLists.txt        Tue Nov 26 06:08:36 2024
@@ -1,8 +1,8 @@
-$NetBSD: patch-CorsixTH_CMakeLists.txt,v 1.1 2023/10/15 20:53:58 triaxx Exp $
+$NetBSD: patch-CorsixTH_CMakeLists.txt,v 1.2 2024/11/26 06:08:36 triaxx Exp $
 
 Disable macOS bundle.
 
---- CorsixTH/CMakeLists.txt.orig       2023-08-06 03:02:29.000000000 +0000
+--- CorsixTH/CMakeLists.txt.orig       2024-10-06 14:58:17.000000000 +0000
 +++ CorsixTH/CMakeLists.txt
 @@ -23,9 +23,6 @@ if(USE_SOURCE_DATADIRS)
  elseif(MSVC)
@@ -34,14 +34,14 @@ Disable macOS bundle.
  elseif(MSVC)
 @@ -80,7 +68,7 @@ if(SEARCH_LOCAL_DATADIRS)
  endif()
- target_link_libraries(CorsixTH CorsixTH_lib)
+ target_link_libraries(CorsixTH PRIVATE CorsixTH_lib)
  
 -if(UNIX AND NOT APPLE)
 +if(UNIX)
    set_target_properties(CorsixTH PROPERTIES OUTPUT_NAME corsix-th)
  endif()
  
-@@ -249,10 +237,7 @@ endif()
+@@ -279,10 +267,7 @@ endif()
  
  # Declaration of the install process
  if(NOT USE_SOURCE_DATADIRS)
@@ -53,7 +53,7 @@ Disable macOS bundle.
      install(TARGETS CorsixTH
        RUNTIME DESTINATION ${CORSIX_TH_DATADIR}
        LIBRARY DESTINATION ${CORSIX_TH_DATADIR}
-@@ -281,26 +266,12 @@ if(NOT USE_SOURCE_DATADIRS)
+@@ -315,26 +300,12 @@ if(NOT USE_SOURCE_DATADIRS)
    )
    install(FILES CorsixTH.lua ../LICENSE.txt DESTINATION ${CORSIX_TH_DATADIR})
  



Home | Main Index | Thread Index | Old Index