pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/chocolate-doom



Module Name:    pkgsrc
Committed By:   micha
Date:           Fri Aug  9 11:35:11 UTC 2024

Modified Files:
        pkgsrc/games/chocolate-doom: Makefile PLIST distinfo

Log Message:
games/chocolate-doom: Update to 3.1.0

3.1.0 (2024-08-01)

General
=======

* Drag and drop loading of WAD, Dehacked and demo files is now supported on
  Windows - simply drag the files onto chocolate-doom.exe (thanks Fabian).
* WAD file autoloading was added - WAD and DEH files can be copied into
  an autoload folder to be automatically included on every game start.
* Music pack configuration has been significantly simplified. By simply
  copying .flac/.ogg music files into a folder they will be automatically
  detected by filename and used.
* Music packs can now be used with OPL as a fallback, and music pack
  config files can have any name ending in '.cfg'.
* MP3 music packs are now supported.
* Network synchronization now uses a PID controller by default, which
  makes games more smooth and more stable, especially for Internet play.
* UDP hole punching is now used to make servers behind NAT gateways
  automatically accessible to the Internet.
* OPL emulation now uses Nuked OPL3 v1.8 (thanks nukeykt)
  Allow simultaneous PC speaker emulation and OPL emulation
  (thanks Michael Day).
* The setup tool now uses "Romero Blue" as a background (see the wiki:
  https://doomwiki.org/wiki/Romero_Blue for more info).
* The 0 and 5 keys on the number pad can now be bound independently
  of any other keyboard key (thanks BlooD2ool).
* With aspect ratio correction disabled, the game can scale to any
  arbitrary size and remove all black borders in full screen mode.
  (thanks chungy)
* The executable's location is now checked when looking for IWADs.
* The IWAD files installed by Steam-on-Linux are now detected (thanks
  chungy).
* It's now possible to use -response to load response files.
* Default savegame name now includes the WAD filename (thanks Fabian).
* Mouse movement is no longer read when the game window is inactive
  (thanks Julia Nechaevskaya).
* Chocolate Doom now by default generates a "pet name" for the user
  to respect privacy (thanks Jon!)
* The Freedoom single-player IWAD files are now officially supported,
  since recent versions changed all levels to be vanilla compatible.
* Add native support for the FluidSynth midi synthesizer.
* Add a fsynth_gain config key to fine tune the FluidSynth output level
  (thanks Fabian).
* Redesign of native MIDI support in Windows (thanks ceski and Roman Fomin):
  Emulates DMX MPU-401 feature set by default, change with winmm_complevel.
  MIDI device reset between songs using "GM System On", change with
  winmm_reset_type.
  Configurable delay after reset for legacy MIDI hardware (e.g. Roland
  SC-55), change with winmm_reset_delay.
* Add improved gamepad support via the SDL_GameController interface. This
  includes support for analog triggers, modern dual-stick default bindings
  (based on Unity Doom), descriptive button names for common controller
  types and configurable dead zones for stick axes. (Michael Day).
* All games now have shiny new icons!
* The -display parameter was added to specify the display number on which
  to show the screen (thanks Robin Emeršič).

Build systems
=============

* SDL2_mixer and SDL2_net can now be optionally disabled to increase
  portability to systems that might not support audio or networking
  (thanks turol).
* Travis CI was replaced with GitHub Actions (thanks Michael Francis).
* mingw CI was added for automatic Windows-building (thanks turol).
* A cpp-linter CI was added to improve the quality and formatting of code
  (thanks turol).
* The --disable-zpool autoconf argument for disabling memory pooling was
  added to make debugging easier (thanks turol).
* Python 2 has been deprecated and Python 3 is now used exclusively
  (thanks Fabian).

Refactorings
============

* CMake project files have been added, replacing the Microsoft Visual
  Studio and Code::Blocks files. CMake maintains support for multiple
  IDEs and versions thereof, and reduces developer overhead when updating
  Chocolate Doom (huge thanks to AlexMax for this work).
* Source code has been retrofitted to fix many compiler warnings and
  add const annotations to many variables (thanks turol).
* Several functions have been hardened against incomplete reads and
  error conditions, and made safer (thanks turol).
* Man page generation has been reworked to use autoconf macro
  substitution, making it eaiser for downstream forks to change the
  project name (thanks Jon).
* We now print a meaningful error message when a savegame cannot be
  loaded (thanks Zodomaniac, chungy).
  There's now a log file feature for the network code to aid in tracking
  down multiplayer bugs.
* AppData files were updated to the AppStream standard (thanks Mike).
* Many abuses of the extern keyword have been cleaned up to prevent
  undefined behavior (thanks turol).
* Install of bash completion scripts was fixed (thanks Mike Swanson).

Bug fixes
=========

* Fixed an exception thrown by the Windows kernel when debugging with
  GDB (thanks AXDOOMER).
* Loop metadata now works properly with music packs on Windows.
  Mouse movement is ignored when the game window isn't active (thanks
  Julia Nechaevskaya).
* A bug was fixed where music would not play after pausing on an
  intermission screen (thanks Julia Nechaevskaya).
* Timeouts when connecting to a network server were fixed (thanks
  @bradc6).
* A long-standing bug where some visplane overflows caused crashes was
  fixed (thanks Michael Francis).
* A multiplayer deadlock bug where clients would stop sending tics after
  missing tics from the server was fixed. There are both client- and
  server- side fixes to fix the problem when playing with older versions
  (thanks MadDog and Mortrixs for help tracking this down).
* The macOS launcher now quits automatically when all windows are closed.
* The mouse speed calibration thermometer was fixed.
* Some improvements have been made to PC speaker emulation to better match
  Vanilla (thanks NY00123).
* Filenames and paths with non-latin characters now work on Windows
  (thanks Roman Fomin).
* Properly handle orphan carriage returns when parsing deh files
  (thanks Michael Day).

Doom
====

* Doom 1.2 demo support was added (thanks James Canete!)
  Map33 intermission screen and map33-map35 automap names are
  emulated (thanks CapnClever).
* We now exit gracefully when player starts are missing (thanks Michael
  Francis).
* We now exit gracefully on levels with a boss brain and no boss spitter
  things (thanks Jason Benaim).
* It's now possible to play multiplayer with gameversion=1.2.
* When the game hits the limit for the number of wall scrollers, a count
  of the number of scrollers is now displayed (thanks Jon).
* Sector special 17 (random light flicker) is now accurately emulated to
  only appear in gameversion > 1.2 (thanks tpoppins).
* Fixed mouse events causing unwanted key presses (thanks Michael Day).
* French Doom II files doom2f.wad and french.deh are now automatically
  detected (thanks Acts19quiz).
* Mouse buttons are now bindable to run (thanks Archenoth).
* The "Sky never changes in Doom II" bug is now accurately emulated
  (thanks Michael Francis).
* Mouse buttons are now bindable to turn left/right (thanks Fabian).
* Fix possible undefined behavior and accurately emulate vanilla when
  -skill parameter is given a negative value (thanks Henrique Jorge).

Heretic
=======

* P_FindNextHighestFloor was changed to match vanilla behavior (thanks
  AXDOOMER).
* WAD hash table is now generated for speed (thanks Michael Francis).
* HHE level name replacements now apply on the intermission screen
  (thanks ETTiNGRiNDER).
* Mouse buttons are now bindable to scroll through inventory and
  "use artifact" (thanks Michael Day).
* Mouse buttons are now bindable to run (thanks Archenoth).
* Multiplayer demo playback was fixed (thanks Ryan Krafnick).
* The GOG.com release is now detected (thanks Mike Swanson).
* Mouse buttons are now bindable to turn left/right (thanks Fabian).
* Fix NULL backsector crash (thanks kitchen-ace and Julia Nechaevskaya).

Hexen
=====

* ACS code has been hardened against potential security vulnerabilities.
* WAD hash table is now generated for speed (thanks AXDOOMER).
* Mouse buttons are now bindable to scroll through inventory and
 "use artifact" (thanks Michael Day).
* Mouse buttons are now bindable to run (thanks Archenoth).
* Multiplayer demo playback was fixed (thanks Ryan Krafnick).
* The GOG.com release is now detected (thanks Mike Swanson).
* Mouse buttons are now bindable to turn left/right (thanks Fabian).
* Fixed demo desyncs in P_LookForPlayers (thanks Michael Day)
* Add support for two different v1.1 variants through -gameversion
  argument (thank NY00123).

Strife
======

* Sehacked replacements of the "empty slot" string now work.
* VOICES.WAD is now found in a case-insensitive way
  (thanks Michael Francis).
* PC speaker sound effects are now supported (thanks ceski).
* Mouse buttons are now bindable to turn left/right (thanks Fabian).
* Fixed demo desyncs in P_LookForPlayers (thanks Michael Day)
* Fix possible undefined behavior and accurately emulate vanilla when
  -skill parameter is given a negative value (thanks Henrique Jorge).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/games/chocolate-doom/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/chocolate-doom/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/chocolate-doom/distinfo

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

Modified files:

Index: pkgsrc/games/chocolate-doom/Makefile
diff -u pkgsrc/games/chocolate-doom/Makefile:1.14 pkgsrc/games/chocolate-doom/Makefile:1.15
--- pkgsrc/games/chocolate-doom/Makefile:1.14   Sat Apr  6 08:05:24 2024
+++ pkgsrc/games/chocolate-doom/Makefile        Fri Aug  9 11:35:11 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2024/04/06 08:05:24 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2024/08/09 11:35:11 micha Exp $
 
-DISTNAME=      chocolate-doom-3.0.1
-PKGREVISION=   10
+DISTNAME=      chocolate-doom-3.1.0
 CATEGORIES=    games
-MASTER_SITES=  http://www.chocolate-doom.org/downloads/${PKGVERSION_NOREV}/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=chocolate-doom/}
+GITHUB_TAG=    ${DISTNAME}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.chocolate-doom.org/
@@ -11,7 +11,7 @@ COMMENT=      Doom/Heretic/Hexen/Strife sourc
 LICENSE=       gnu-gpl-v2
 
 GNU_CONFIGURE= yes
-USE_TOOLS+=    gmake pkg-config
+USE_TOOLS+=    autoconf automake autoreconf gmake pkg-config
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -30,13 +30,8 @@ REPLACE_PYTHON+=             man/simplecpp
 INSTALLATION_DIRS+=    share/icons/hicolor/48x48/apps
 INSTALLATION_DIRS+=    share/icons/hicolor/128x128/apps
 
-post-install:
-       ${INSTALL_DATA} ${WRKSRC}/pkg/osx/Resources/app.png \
-               ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/chocolate-doom.png
-       ${MV} ${DESTDIR}${PREFIX}/share/icons/chocolate-doom.png \
-               ${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps
-       ${MV} ${DESTDIR}${PREFIX}/share/icons/chocolate-setup.png \
-               ${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps
+pre-configure:
+       set -e; cd ${WRKSRC} && autoreconf -fi
 
 .include "../../lang/python/application.mk"
 .include "../../audio/SDL2_mixer/buildlink3.mk"

Index: pkgsrc/games/chocolate-doom/PLIST
diff -u pkgsrc/games/chocolate-doom/PLIST:1.2 pkgsrc/games/chocolate-doom/PLIST:1.3
--- pkgsrc/games/chocolate-doom/PLIST:1.2       Fri Aug 30 22:08:36 2019
+++ pkgsrc/games/chocolate-doom/PLIST   Fri Aug  9 11:35:11 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/08/30 22:08:36 nia Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/08/09 11:35:11 micha Exp $
 bin/chocolate-doom
 bin/chocolate-doom-setup
 bin/chocolate-heretic
@@ -23,24 +23,20 @@ man/man6/chocolate-heretic.6
 man/man6/chocolate-hexen-setup.6
 man/man6/chocolate-hexen.6
 man/man6/chocolate-server.6
-man/man6/chocolate-setup.6
 man/man6/chocolate-strife-setup.6
 man/man6/chocolate-strife.6
-share/appdata/chocolate-doom.appdata.xml
-share/appdata/chocolate-heretic.appdata.xml
-share/appdata/chocolate-hexen.appdata.xml
-share/appdata/chocolate-strife.appdata.xml
-share/applications/chocolate-doom.desktop
-share/applications/chocolate-heretic.desktop
-share/applications/chocolate-hexen.desktop
-share/applications/chocolate-setup.desktop
-share/applications/chocolate-strife.desktop
-share/applications/screensavers/chocolate-doom-screensaver.desktop
+share/applications/org.chocolate_doom.Doom.desktop
+share/applications/org.chocolate_doom.Heretic.desktop
+share/applications/org.chocolate_doom.Hexen.desktop
+share/applications/org.chocolate_doom.Setup.desktop
+share/applications/org.chocolate_doom.Strife.desktop
+share/applications/screensavers/org.chocolate_doom.Doom_Screensaver.desktop
 share/bash-completion/completions/chocolate-doom
 share/bash-completion/completions/chocolate-heretic
 share/bash-completion/completions/chocolate-hexen
 share/bash-completion/completions/chocolate-strife
 share/doc/chocolate-doom/CMDLINE.doom
+share/doc/chocolate-doom/COPYING.md
 share/doc/chocolate-doom/ChangeLog
 share/doc/chocolate-doom/INSTALL.doom
 share/doc/chocolate-doom/NEWS.md
@@ -49,6 +45,7 @@ share/doc/chocolate-doom/PHILOSOPHY.md
 share/doc/chocolate-doom/README.Music.md
 share/doc/chocolate-doom/README.md
 share/doc/chocolate-heretic/CMDLINE.heretic
+share/doc/chocolate-heretic/COPYING.md
 share/doc/chocolate-heretic/ChangeLog
 share/doc/chocolate-heretic/INSTALL.heretic
 share/doc/chocolate-heretic/NEWS.md
@@ -56,6 +53,7 @@ share/doc/chocolate-heretic/PHILOSOPHY.m
 share/doc/chocolate-heretic/README.Music.md
 share/doc/chocolate-heretic/README.md
 share/doc/chocolate-hexen/CMDLINE.hexen
+share/doc/chocolate-hexen/COPYING.md
 share/doc/chocolate-hexen/ChangeLog
 share/doc/chocolate-hexen/INSTALL.hexen
 share/doc/chocolate-hexen/NEWS.md
@@ -63,6 +61,7 @@ share/doc/chocolate-hexen/PHILOSOPHY.md
 share/doc/chocolate-hexen/README.Music.md
 share/doc/chocolate-hexen/README.md
 share/doc/chocolate-strife/CMDLINE.strife
+share/doc/chocolate-strife/COPYING.md
 share/doc/chocolate-strife/ChangeLog
 share/doc/chocolate-strife/INSTALL.strife
 share/doc/chocolate-strife/NEWS.md
@@ -71,5 +70,11 @@ share/doc/chocolate-strife/README.Music.
 share/doc/chocolate-strife/README.Strife.md
 share/doc/chocolate-strife/README.md
 share/icons/hicolor/128x128/apps/chocolate-doom.png
+share/icons/hicolor/128x128/apps/chocolate-heretic.png
+share/icons/hicolor/128x128/apps/chocolate-hexen.png
 share/icons/hicolor/128x128/apps/chocolate-setup.png
-share/icons/hicolor/48x48/apps/chocolate-doom.png
+share/icons/hicolor/128x128/apps/chocolate-strife.png
+share/metainfo/org.chocolate_doom.Doom.metainfo.xml
+share/metainfo/org.chocolate_doom.Heretic.metainfo.xml
+share/metainfo/org.chocolate_doom.Hexen.metainfo.xml
+share/metainfo/org.chocolate_doom.Strife.metainfo.xml

Index: pkgsrc/games/chocolate-doom/distinfo
diff -u pkgsrc/games/chocolate-doom/distinfo:1.4 pkgsrc/games/chocolate-doom/distinfo:1.5
--- pkgsrc/games/chocolate-doom/distinfo:1.4    Tue Oct 26 10:43:50 2021
+++ pkgsrc/games/chocolate-doom/distinfo        Fri Aug  9 11:35:11 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:43:50 nia Exp $
+$NetBSD: distinfo,v 1.5 2024/08/09 11:35:11 micha Exp $
 
-BLAKE2s (chocolate-doom-3.0.1.tar.gz) = de9d6a04bf19e7bab6e8a85203619e19a638d8d2289c55a9a662def0fef7f28c
-SHA512 (chocolate-doom-3.0.1.tar.gz) = bec5daf5b26a8dd238780cb4e0c23ffc59b97825d323aa67bb6a3279cd243c18c03e899c4cb4b3106ac187330c6421915a14a6a7c0d34cb0ee75d6f29f9dc905
-Size (chocolate-doom-3.0.1.tar.gz) = 2514985 bytes
+BLAKE2s (chocolate-doom-3.1.0.tar.gz) = fc930d6da9c8ff2bb87ce2d887237aa77271312f913c277f2824ef90534787de
+SHA512 (chocolate-doom-3.1.0.tar.gz) = 17f65c6f4a48dd1b0aa71bdf495d1036602739f1955d64f7de46157fce912ab4e4344a0f7ad073980f50d67e34f9f5e84402e7f2142cd6364453b71c8d5c2592
+Size (chocolate-doom-3.1.0.tar.gz) = 2256537 bytes



Home | Main Index | Thread Index | Old Index