pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libxmp



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Dec  1 13:32:44 UTC 2025

Modified Files:
        pkgsrc/audio/libxmp: Makefile PLIST distinfo
Removed Files:
        pkgsrc/audio/libxmp/patches: patch-src_common.h

Log Message:
libxmp: updated to 4.6.3

4.6.3 (20250511):
        Changes by Alice Rowan:
        - Fix crashes when xmp_set_position is used to set a negative position.
          Negative positions now correctly return -XMP_ERROR_INVALID.
        - Fix crashes when xmp_set_row is used to set a negative row.
          Negative positions now correctly return -XMP_ERROR_INVALID.
        - Fix hangs when xmp_prev_position is used on the first position of
          a sequence which is preceded by an S3M/IT skip marker.
        - Fix out-of-bounds reads when xmp_next_position is used at the end of
          a 256 position module.
        - Fix hangs when seeking to an end-of-module marker caused by these
          positions getting assigned a non-existent sequence.
        - Document xmp_set_position/xmp_next_position/xmp_prev_position
          interactions with xmp_stop_module/xmp_restart_module.
        - Fix stack underflow in Pha Packer loader (CVE-2025-47256).
        - Slight performance improvements for the Oktalyzer and SFX loaders.
        - Fix broken conversion of ProRunner 2.0 pattern data.
        - xmp_set_tempo_factor no longer alters frame time calculation for
          xmp_get_frame_info. Frame time is now updated to account for the
          new time factor after calling xmp_scan_module.
        - Fix loading XMs with some types of harmless pattern truncation.
          See: Jazztiz/ta-da-da-da.xm, Sonic (UK)/phuture.xm, et al.
        - Fix Poly Tracker pattern break hex parameter.
        - Fix Digital Tracker broken instrument finetune.
        - Fix Digital Tracker 2.03 position jump effect for 4 channel DTMs.
        - Fix pattern loop jump interactions with same row pattern jump/break:
          Scream Tracker 3.03b+; Impulse Tracker 1.00 to 1.06 IT;
          Impulse Tracker 2.00+ IT/S3M; Modplug Tracker 1.16 IT/XM/S3M;
          Imago Orpheus IMF/S3M; Liquid Tracker LIQ/S3M; Poly Tracker;
          Digital Tracker <=2.02 DTM/MOD; Digital Tracker 2.03 (partial);
          Digital Tracker 1.9 (partial); Octalyser.
        Changes by Thomas Neumann:
        - Fix the pattern loop effect in Astroidea XMF loader.
        - Fix loading of Extreme Pinball modules.

4.6.2 (20250224):
        Changes by Alice Rowan:
        - Fix MED effect 1Fxy (delay and retrigger). The new implementation
          supports both delay and retrigger at the same time and repeats.
        - Fix MED effect FF3 (revert change from 4.6.1). The buggy version
          of this effect prior to OctaMED v5 is not currently supported.
        - Fix MED3 and MED4 time factor and tempos 1-10.
        - Fix MED4 effect 9xx (set speed).
        - Add support for MED3 and MED4 song files.
        - Better MED MMD tracker version fingerprinting.
        - Fix loading external instruments from the current directory.
        Changes by Thomas Neumann:
        - Fix oxm modules with empty samples (e.g.: The Four Ages.oxm)
        - Fix some modules would be misidentified as Scream Tracker 2.
        - Handle IT modules with edit history but no midi configuration
        Changes by Ozkan Sezer:
        - Revert a bad CVE fix to the miniz inflate code
        - Add missing HAVE_DIRENT definition to Android makefile.

4.6.1 (20250101):
        Changes by Claudio Matsuoka:
        - The full library is now under MIT license
        Changes by Alice Rowan:
        - Add stereo sample loading support for IT, S3M, XM, MED, LIQ, and
          Digital Tracker (partial).
        - Add sample preamplification to filter mixers for high sample rates.
        - Add support for Ultra Tracker tempo commands.
        - Load Ultra Tracker comments instead of skipping them.
        - Implement support for Protracker instrument swapping.
        - Implement retrigger effects for MED, OctaMED, and Liquid Tracker
          where only one retrigger occurs. Liquid Tracker (new format) and
          Digital Symphony now allow retrigger values larger than 15.
        - Fix XM envelope sustain points that exist on a zero-length loop.
        - Fix XM extra fine portamento effect memory.
        - Fix XM portamento up and portamento down memory (only for modules
          where FT2 bug compatibility is enabled, for now).
        - Fix loading edge case STMs with an EOF byte of 2.
        - Fix loading Imago Orpheus modules with null instrument magic
          strings, bidirectional samples, and disabled default panning.
        - Faster IT loading by buffering pattern, sample, and comment reads.
        - Fix loop detection edge cases broken by S3M/IT marker scan bugs.
        - Add fix for IT break to module scan (was missed in libxmp 4.5.0.)
        - Fix restart position for >64k sample and Digital Tracker MODs.
        - Reset Invert Loop position when a new instrument is encountered.
        - MOD: make presence of invert loop override tracker ID guesses.
          M.K. modules within Amiga limits which use EFx invert loop are
          now IDed as Protracker.
        - Multiple Digital Tracker bug fixes:
          * Support for loading Digital Tracker 2.03 DTMs (MOD patterns).
          * Support for loading Digital Tracker 1.9 DTMs (VERS/SV19).
          * Better Digital Tracker version fingerprinting.
          * Fix Digital Tracker 2.03 global sample rate and bit depth fields.
          * Fix Digital Tracker 2.04 pattern note loading (was off-by-one).
          * Fix Digital Tracker instrument loops (loop end was off-by-one).
          * Allow patterns up to 396 rows in Digital Home Studio DTMs.
          * Support for Digital Tracker 1.9 "MIDI note" transpose.
          * Simulate Digital Tracker effects bugs where possible.
          * Fix loading of Digital Tracker module names (not always 32 bytes).
        - Liquid Tracker bug fixes:
          * [Old] Fix loading of module and instrument names (fixes the old
            format version of WASTETIM.LIQ).
          * [Old] Fix loading of instrument lengths/loops (32-bit, not 16-bit).
          * [Old] Fix loading of pattern notes and volumes (off-by-one).
          * [Old] Fix initial panning.
          * [Old] Most effects are now supported. H70/H6A is not yet supported.
            Fxx, if it was ever implemented, is not yet supported.
          * [New] Fixed Pan Control, Retrigger, Global Volume effects, and
            vibrato/tremolo waveform 3. P70/P6A is not yet supported.
          * [New] Fix incorrect bounding of notes that caused several LIQs
            to fail to load.
          * [New] Fix loading of pattern volumes (off-by-one).
          * [New] 16-bit samples with loops no longer cause a failed load.
          * [New] Fix loading of instrument global volumes.
          * [New] Add support for ping pong loops.
          * [New] Fix initial channel volume/pan tables for 0.00 LIQs.
          * [New] Support channel volume and instrument global volume gain
            functionality by doubling the mix volume once for each (4x total).
          * [Both] Stopped incorrectly applying QUIRK_S3MLOOP, QUIRK_VOLPDN,
            QUIRK_S3MRTG, and QUIRK_MARKER.
        - Fix loading of Poly Tracker (PTM) empty sample names.
        - Fix Real Tracker loader on targets where char is unsigned by default.
        - Fix out-of-bounds reads in His Master's Noise Mupp instruments.
        - Fix slow ProWizard testing.
        - Fix Paula mixer state leak after changing XMP_PLAYER_MODE.
        - Replace rand() with a built-in reentrant alternative.
        - xmp_set_tempo_factor now returns -XMP_ERROR_STATE when called prior
          to xmp_start_player (instead of causing crashes).
        - Fix mixer crashes caused by previously valid tempo factors after
          sample rate or BPM changes.
        - Passing NULL to xmp_set_instrument_path() now unsets the instrument
          path instead of crashing.
        - Merge song file instrument path detection routines.
        - Fix module scan pattern delay counting.
        - Add compatibility for non-standard Pattern Loop implementations:
          Scream Tracker 3.01b; Scream Tracker 3.03b+; Impulse Tracker 1.00;
          Impulse Tracker 1.04 to 2.09; Modplug Tracker 1.16; Digital Tracker
          <=2.04; Digital Tracker 1.9; Octalyser; Imago Orpheus; Liquid Tracker;
          Poly Tracker. (MOD, FT2, and IT 2.10+ were already supported.)
        - Fixed numerous defects found by fuzzing.
        Changes by Thomas Neumann:
        - Fix XM envelope handling
        - Bug fixes to DSMI loader
        - Fix 16-bit sample check in MultiTracker loader
        - Fix finetune in MultiTracker loader
        - Fix XM restart position, so that it is possible to play
         "10 Days Of Abstinence.xm"
        Changes by Saga Musix:
        - S3M: Detect PlayerPRO, Velvet Studio and old MPT versions
        Changes by ds-sloth:
        - Optimize scan code for common case of no effects
        Changes by Misty De Méo:
        - Filter off html files when reading archives.
        Changes by Ozkan Sezer:
        - Change lha depacker to use a stripped down version of lhasa.
        - Merge several CVE fixes to depackers stb_vorbis backend.
        - Make the lite version buildable from git or full distribution.
        - Build system fixes and clean-ups. Misc code clean-ups.

4.6.0 (20230615):
        Changes by Alice Rowan:
        - Add Astroidea XMF format loader.
        - Implement S3M and IT mix volume.
        - Add IT MIDI macro filter effects support.
        - Fix for IT filter cutoff 127 on new note behavior.
        - Add missing IT filter clamp to mixer loops.
        - Fix IT duplicate note check to use the key prior to transpose.
        - Fix multiple IT playback bugs affecting, e.g. Atomic Playboy.
        - Fix IT tone portamento and offset.
        - Fix reverse sustain loop release bug, add IT effect S9F support.
        - Add Modplug ADPCM4 support for Impulse Tracker modules.
        - Improve anticlick performance and fix anticlick filter volume bug.
        - IT fade envelope reset should only affect volume envelope.
        - Fix Impulse Tracker envelope and fadeout order.
        - Replace bidirectional loop unrolling with reverse sample rendering.
        - Fix crash when xmp_set_row() is used on an IT end marker.
        - Fix NNA and tone portamento interaction with sample changes.
        - Add compatibility for Modplug Tracker preamp scaling.
        - Add tracker detection for ModPlug Tracker XMs, pre-alpha ITs.
        - New Protracker CIA and VBlank timing detection routine.
        - Fix detection for TakeTracker TDZx MODs.
        - Fix loading of Digital Tracker FA0x MODs.
        - Fix ASYLUM Music Format restart byte.
        - Fix >1MB S3M modules relying on the sample segment high byte.
        - New MIT-licensed Digital Symphony LZW decoder.
        - Add support for Digital Symphony sigma-delta samples.
        - Fix Digital Symphony effects and pattern loading issues.
        - Fix support for most Farandole Composer effects.
        - Implement Ultra Tracker tone portamento.
        - Multiple OctaMED fixes and support for MMDC packed modules.
        - Fix MED Soundstudio 2 default note events.
        - Fix MTM tempo effect and FX_SPEED scan bugs.
        - Add MTM module tempo mode detection and comments support.
        - Multiple fixes and updates for ST modules.
        - Move interpolation wraparound handling out of sample loader.
        - Don't increment voice position by step value at loop/tick end.
        - Several loading performance improvements.
        - Allow up to 255 sequences to be scanned.
        - Allow xmp_smix_play functions to play key off, cut and fade events.
        - Allow loading MED2 samples from the module directory.
        - Fix misc. bugs in the MASI 16 loader.
        - Fix heap corruption in Coconizer loader with invalid sequences.
        - Fix MMCMP literal block unpacking.
        - Fix bad seeking behavior in MMCMP compressed blocks.
        - New permissive licensed Amiga LZX and ARC/ArcFS depackers.
        - Update XZ depacker with an MIT reimplementation.
        - Fixed numerous defects found by fuzzing.
        Changes by Saga Musix:
        - Fix MMD0 pattern loader to honor play transpose setting.
        Changes by Vitaly Novichkov:
        - Cmake build system support.
        Changes by Anonymous Maarten:
        - Cmake and autotools build system updates.
        Changes by Ozkan Sezer:
        - Galaxy Music System loading no longer needs including depackers
          to inflate MUSE container.
        - Cleanups and refactoring of platform-specific code.
        - Multiple code cleanups.
        - Build system fixes and clean-ups.
        Changes by Claudio Matsuoka:
        - Fix linkage with gcc when versioned symbols and LTO are enabled.
        Changes by Cameron Cawley:
        - Integrate the OXM depacker with the XM loader.
        - Change several depackers to work without using a temporary file.
        - Replace inflate code with permissive licensed miniz.
        - Update the bzip2 depacker code to a newer 0BSD-licensed version.
        - Update to latest version of stb_vorbis depacker.
        - Several code and build system clean-ups.
        Changes by Clownacy:
        - Fixes and cleanups for C++ compatibility.
        Changes by Chris Young:
        - Relicense XFD decruncher under MIT.
        Changes by Denis Barkar:
        - Fix compilation for UWP platform.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/audio/libxmp/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/libxmp/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/audio/libxmp/distinfo
cvs rdiff -u -r1.4 -r0 pkgsrc/audio/libxmp/patches/patch-src_common.h

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

Modified files:

Index: pkgsrc/audio/libxmp/Makefile
diff -u pkgsrc/audio/libxmp/Makefile:1.16 pkgsrc/audio/libxmp/Makefile:1.17
--- pkgsrc/audio/libxmp/Makefile:1.16   Mon Nov 17 11:00:19 2025
+++ pkgsrc/audio/libxmp/Makefile        Mon Dec  1 13:32:44 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2025/11/17 11:00:19 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2025/12/01 13:32:44 adam Exp $
 
-DISTNAME=      libxmp-4.5.0
+DISTNAME=      libxmp-4.6.3
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xmp/}
 
@@ -11,6 +11,7 @@ LICENSE=      gnu-gpl-v2
 
 USE_TOOLS+=    gmake
 GNU_CONFIGURE= yes
+TEST_TARGET=   check
 
 INSTALLATION_DIRS=     bin lib
 INSTALL_MAKE_FLAGS+=   INSTALL=${INSTALL:Q}

Index: pkgsrc/audio/libxmp/PLIST
diff -u pkgsrc/audio/libxmp/PLIST:1.1 pkgsrc/audio/libxmp/PLIST:1.2
--- pkgsrc/audio/libxmp/PLIST:1.1       Sat Nov 16 07:34:24 2013
+++ pkgsrc/audio/libxmp/PLIST   Mon Dec  1 13:32:44 2025
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2013/11/16 07:34:24 shattered Exp $
+@comment $NetBSD: PLIST,v 1.2 2025/12/01 13:32:44 adam Exp $
 include/xmp.h
+lib/cmake/libxmp/libxmp-config-version.cmake
+lib/cmake/libxmp/libxmp-config.cmake
 lib/libxmp.so
-lib/libxmp.so.4
 lib/libxmp.so.${PKGVERSION}
+lib/libxmp.so.4
 lib/pkgconfig/libxmp.pc

Index: pkgsrc/audio/libxmp/distinfo
diff -u pkgsrc/audio/libxmp/distinfo:1.13 pkgsrc/audio/libxmp/distinfo:1.14
--- pkgsrc/audio/libxmp/distinfo:1.13   Sat Nov 13 10:28:27 2021
+++ pkgsrc/audio/libxmp/distinfo        Mon Dec  1 13:32:44 2025
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.13 2021/11/13 10:28:27 nia Exp $
+$NetBSD: distinfo,v 1.14 2025/12/01 13:32:44 adam Exp $
 
-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
+BLAKE2s (libxmp-4.6.3.tar.gz) = f0107c707912e87e698e62c0c4326e9ebf6a6c14364e69db8e2c057a105972fc
+SHA512 (libxmp-4.6.3.tar.gz) = fc87fafa392ebd07f6f9823801cdf296d5f5a6216e15a437d0539bc4ebf0f963bb8d868c73499d1ece33a238b71a8da6da303be23d409975a62b166225853bec
+Size (libxmp-4.6.3.tar.gz) = 805616 bytes
 SHA1 (patch-include_xmp.h) = 4976367981f3706514f54801665cab5b7600bf26
-SHA1 (patch-src_common.h) = 9ae1b83d53968841e2001b45bd2ef83f6efd748c



Home | Main Index | Thread Index | Old Index