pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libxmp libxmp: update to 4.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e0b9d489102
branches:  trunk
changeset: 769349:6e0b9d489102
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Nov 13 10:28:27 2021 +0000

description:
libxmp: update to 4.5.0

4.5.0 (20210606):
        Changes by Alice Rowan:
        - xmp_load_module_from_callbacks and xmp_test_module_from_callbacks
          added to api
        - fix xmp_set_position et al. when used during loops, pattern delay
        - make xmp_set_position() consistently clear pattern break/jump vars
        - avoid shell command injection when calling external unmo3 or unrar
        - fix volume event handling for FAR modules
        - fix GDM loader to correctly handle empty notes
        - fix GDM fine effects
        - fix incorrect handling of GDM speed effect
        - implement GDM surround effect
        - add support for DSMI 0.8 and 0.9 AMF modules
        - fix incorrect DSMI AMF volume and note 0x7f handling
        - fix DSMI AMF track 0 remapping bug
        - fix DSMI AMF speed effect and pan command conversions
        - fix IMAGO Orpheus channel panning and status values
        - fix S3M ADPCM4 samples
        - fix OctaMED 'tracker compatibility' tempos, more accurate OctaMED
          8-channel mode BPM tables.
        - ignore MED volume/slide effects with param of 0, fix speed bound.
        - improve MOD loader checks for Mod's Grave WOW files
        - fix Schism Tracker version date calculation
        - fix MED2 BPM handling
        - fix MED modules with pattern lengths > 256
        - fix MED instrument corruption
        - allow up to 512 rows in X-Tracker patterns
        - add support for DigiBooster Pro pan envelopes
        - fix DigiBooster Pro volume envelope number of points
        - fix fine effects for DigiBooster Pro modules
        - fix loading DigiBooster Pro modules with large sample chunks
        - fix IT bug where Cxx on same row as SBx would not be ignored
        - fix IT bug where Qxy would ignore the volume parameter
        - fix IT sample global volume and sample vibrato
        - fix two IT bugs related to note off and volume handling
        - fix event out-of-bounds reads due to invalid key values
        - fix multiple out-of-bounds reads/writes, memory corruptions,
          uninitialized reads and hangs in several loaders (thanks to
          Lionel Debroux for providing fuzz files)
        - fix xmp_release_module double frees when invoked multiple times
        - check external sample file names before opening them
        - make it possible to disable module depacker functionality
        - make it possible to disable prowizard module loaders
        Changes by viiri:
        - fix samples corruption in STM modules
        - support more versions of STM modules
        Changes by Özkan Sezer:
        - add new xmp_syserrno call to the api
        - xmp_get_format_list() now returns const char* const*, not char**
          (no ABI change)
        - xmp_test_module, xmp_load_module, xmp_set_instrument_path and
          xmp_smix_load_sample() now accept const char* path parameters
          (no ABI change)
        - xmp_load_module_from_memory() now accepts a const void* memory
          param (no ABI change)
        - xmp_load_module_from_memory() no longer accepts sizes <= 0.
        - explicitly document that callers of xmp_load_module_from_file()
          are responsible for closing their own file.
        - remove nonportable use of fdopen in xmp_load_module_from_file()
        - fix a seek issue with xmp_load_module_from_memory
        - fix memory-io functions' error handling
        - fix number of envelope points sanity check in IMF loader
        - rewrite the UMX loader
        - revise sanity checks to prevent oob reads in s404 depacker
        - fix vorbis depacker to function properly on big endian systems
        - fix windows static library builds
        - fix win64 compatibility in ptpopen
        - fix build with C89 compilers
        - fix issues related to visibility attributes
        - fix compatibility with old gcc, mingw, djgpp
        - fix warnings in configure script
        - fix Watcom C build on OS/2
        - fix Amiga build
        - several code clean-ups
        Changes by Carsten Teibes:
        - fix lite build mod loader symbols
        Changes by NoSuck:
        - add new xmp_set_row() call to skip replay to the given row
        - IT: T00 now repeats previous slide
        - prevent clobbering of muted channels' volumes in IT modules
        - clamp number of IT envelope nodes at load time
        - fix IT message (comment) length miscalculation
        - fix IT volume panning effect
        - fix mute status on player creation
        Changes by Cameron Cawley:
        - fix sanity check in Digital Symphony loader
        - fix and enable the Coconizer loader
        - support compiling for Windows with OpenWatcom
        Changes by Ghabry:
        - add xmp_test_module_from_memory and xmp_test_module_from_file
          calls to api
        Fix problems reported by Ralf Hoffmann:
        - fix MMD3 instrument type sanity check
        - fix strictness of MOD pattern data tester
        - fix loading of XMLiTE XM modules
        - fix loading of ST modules with invalid names
        Fix problems reported by Lionel Debroux:
        - fix PTM loader issues
        - fix MED4 invalid sample load error
        - fix NNA and DCT/DCA issues
        Fix problems reported by Dennis Mulleneers:
        - handle XM 16-bit samples with odd in-file data
        Fix problems reported by Jay Garcia:
        - fix smix sample allocation
        - force reset of buffer state on player start
        Fix problems reported by Vitaly Novichkov:
        - fix Emscripten builds
        - fix linkage errors with MSVC debug builds
        Other changes:
        - fix IT pattern delay volume reset bug (read row events only
          once per row)
        - fix volume, pitch and pan slides lagging behind one frame
        - fix tempo assignment in module scan to fix seek issues/crashes
        - fix double free in case of ADPCM sample load error
        - code refactoring and cleanup
        - add new xmp_set_tempo_factor() call to set the replay tempo
          multiplier
        - fix XM keyoff with instrument
        - fix loading xm instruments with more than 16 samples

diffstat:

 audio/libxmp/Makefile                    |   4 ++--
 audio/libxmp/distinfo                    |  12 ++++++------
 audio/libxmp/patches/patch-include_xmp.h |   4 +++-
 audio/libxmp/patches/patch-src_common.h  |  16 +++++++++-------
 4 files changed, 20 insertions(+), 16 deletions(-)

diffs (66 lines):

diff -r 8412701e7b84 -r 6e0b9d489102 audio/libxmp/Makefile
--- a/audio/libxmp/Makefile     Sat Nov 13 10:20:24 2021 +0000
+++ b/audio/libxmp/Makefile     Sat Nov 13 10:28:27 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2020/01/26 05:26:12 rillig Exp $
+# $NetBSD: Makefile,v 1.14 2021/11/13 10:28:27 nia Exp $
 
-DISTNAME=      libxmp-4.4.1
+DISTNAME=      libxmp-4.5.0
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xmp/}
 
diff -r 8412701e7b84 -r 6e0b9d489102 audio/libxmp/distinfo
--- a/audio/libxmp/distinfo     Sat Nov 13 10:20:24 2021 +0000
+++ b/audio/libxmp/distinfo     Sat Nov 13 10:28:27 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 09:59:10 nia Exp $
+$NetBSD: distinfo,v 1.13 2021/11/13 10:28:27 nia Exp $
 
-BLAKE2s (libxmp-4.4.1.tar.gz) = fe3cc7355b94833e6f38a2e7e0457114b6c90bf93a2c7af941ee725741169c84
-SHA512 (libxmp-4.4.1.tar.gz) = 81608b60f9b952ae4899854235c99493f0acb9e79254143037f7f5b8d368a0149d52e5c32cd4fd07882d02897f801bac3f7e27d6dd20ba9f6106534f54ab1cf6
-Size (libxmp-4.4.1.tar.gz) = 618448 bytes
-SHA1 (patch-include_xmp.h) = 235dbcae39926fcacb07eea5dde4b64a6064dca9
-SHA1 (patch-src_common.h) = f23d1490d6b3f0ec95c4ff7932348a4b05266570
+BLAKE2s (libxmp-4.5.0.tar.gz) = 3a1187f8a40581df800b5ed8276a71faeb0b5e038a21fb655237a7a654b933aa
+SHA512 (libxmp-4.5.0.tar.gz) = 71a57c7fcd696267c6e2d3cc12b43fe09adce9ed83f9f130755d3b2c2b984eb52e4ae4fad115ffeb07397c7cc4886fc3c4e01cbb1f047449228f7a557760cb1a
+Size (libxmp-4.5.0.tar.gz) = 652983 bytes
+SHA1 (patch-include_xmp.h) = 4976367981f3706514f54801665cab5b7600bf26
+SHA1 (patch-src_common.h) = 9ae1b83d53968841e2001b45bd2ef83f6efd748c
diff -r 8412701e7b84 -r 6e0b9d489102 audio/libxmp/patches/patch-include_xmp.h
--- a/audio/libxmp/patches/patch-include_xmp.h  Sat Nov 13 10:20:24 2021 +0000
+++ b/audio/libxmp/patches/patch-include_xmp.h  Sat Nov 13 10:28:27 2021 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-include_xmp.h,v 1.1 2014/02/27 09:29:10 rxg Exp $
+$NetBSD: patch-include_xmp.h,v 1.2 2021/11/13 10:28:27 nia Exp $
+
+Up max sampling rate to 192 kHz.
 
 --- include/xmp.h.orig 2014-02-22 22:13:36.000000000 +0000
 +++ include/xmp.h
diff -r 8412701e7b84 -r 6e0b9d489102 audio/libxmp/patches/patch-src_common.h
--- a/audio/libxmp/patches/patch-src_common.h   Sat Nov 13 10:20:24 2021 +0000
+++ b/audio/libxmp/patches/patch-src_common.h   Sat Nov 13 10:28:27 2021 +0000
@@ -1,13 +1,15 @@
-$NetBSD: patch-src_common.h,v 1.3 2019/11/21 23:48:27 nia Exp $
+$NetBSD: patch-src_common.h,v 1.4 2021/11/13 10:28:27 nia Exp $
 
---- src/common.h.orig  2016-10-12 10:30:03.000000000 +0000
+Avoid versioned symbols on SunOS to fix dependencies.
+
+--- src/common.h.orig  2021-06-10 00:24:24.000000000 +0000
 +++ src/common.h
-@@ -10,7 +10,7 @@
- #include "xmp.h"
+@@ -22,7 +22,7 @@
+ #endif
  
- #if defined(__GNUC__) || defined(__clang__)
--#if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(__AMIGA__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && !defined(__MINT__) 
-+#if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(__AMIGA__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && !defined(__MINT__) && 
!defined(__sun)
+ #if (defined(__GNUC__) || defined(__clang__)) && defined(XMP_SYM_VISIBILITY)
+-#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(LIBXMP_AMIGA) && !defined(__MSDOS__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && 
!defined(__MINT__)
++#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(LIBXMP_AMIGA) && !defined(__MSDOS__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && 
!defined(__MINT__) && !defined(__sun)
  #define USE_VERSIONED_SYMBOLS
  #endif
  #endif



Home | Main Index | Thread Index | Old Index