Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libgig for openSUSE:Factory checked in at 2026-12-02 17:06:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgig (Old) and /work/SRC/openSUSE:Factory/.libgig.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgig" Wed Dec 2 17:06:30 2026 rev:12 rq:1402348 version:4.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libgig/libgig.changes 2026-08-18 16:38:59.692323727 +0200 +++ /work/SRC/openSUSE:Factory/.libgig.new.1340718/libgig.changes 2026-12-02 17:09:04.057976535 +0100 @@ -1,0 +2,69 @@ +Wed Dec 2 09:49:53 UTC 2026 - Edgar Aichinger <[email protected]> + +- Update to version 4.6.1 (18 Nov 2026) + + * general changes: + - Introduce tests for SF2 classes. + - Introduce tests for JSON parser. + + * src/RIFF.cpp: + - Fix wrong chunk size being read/written on big-endian systems if RIFF + file offsets were encoded in 32-bit. + - Fix Chunk::Write() from not having reverted temporary byte-swapping + after non-native endian correction. + + * src/gig.cpp: + - Fix access to 3CRC chunk data on big-endian systems in + File::VerifySampleChecksumTable(), File::RebuildSampleChecksumTable() + and File::UpdateChunks() from using raw uint32_t* pointer access on + little-endian encoded data (patch by Pranav P). + - Fix CRC-32 calculation of sample data on big-endian systems by ensuring + __calculateCRC() operates on little-endian bytes as stored on disk + (by temporarily byte-swapping the sample data before the CRC calculation, + but omit that for 24 bit sample data as these are already stored as + little-endian on disk). + + * src/SF.cpp: + - Fix Sample::Read*() for 24-bit samples on big-endian systems. + - Fix Sample::Read() corrupting 24-bit sample data on all systems: the + sample data was assembled in-place inside the destination buffer and + the loop overwrote bytes that later iterations still needed to read. + - Fix Sample::ReadNoClear() corrupting the other channel of 24-bit stereo + samples. + - Fix 24-bit linked samples (LINKED_SAMPLE / ROM_LINKED_SAMPLE) being + misrouted into the stereo spread, causing buffer overflow. + - Fix region's STARTLOOP_ADDRS_COARSE_OFFSET and + ENDLOOP_ADDRS_COARSE_OFFSET calculations (signed vs. unsigned issue). + - Clamp region's out-of-range loop points instead of throwing an exception + (since this prevented many SF2 files from being loaded). + - Fix Sample::Read*() from reading out-of-bounds when the sample position + is at or past the end of the sample. + - Fix Sample::Read() from losing the first sample of 16-bit right channel. + - Fix Sample::Read*() from silently ignoring 16-bit linked samples. + + * src/Akai.cpp, src/Akai.h: + - Fix compile error on some non-Linux systems (e.g. GNU Hurd or FreeBSD) + due to missing linux/cdrom.h header file. + - Fix AkaiDiskElement::ReadFAT() from reading the 16-bit little-endian + FAT entry with a raw Read() call, which returned byte-swapped value + on big-endian systems. + - Fix loading of S3000 disks: their file entries use a type byte with a + high bit set (0x80 | 'p' / 0x80 | 's'). + - Fix S3000 sample and program header sizes: S3000 samples have a 192 byte + header (not 150) and S3000 programs use 192 byte keygroup entries + (not 150). + - Fix AkaiVolume::ReadDir() from having capped S3000 volumes at the S1000 + limit of 125 entries. + + * src/Serialization.cpp, src/Serialization.h: + - JSON parser: provide meaningful exception message on syntax errors + (line number, column, what expected, what found instead). + - JSON parser: relax syntax by allowing "inf" and "nan" as number values + (not supported by official JSON). + + * src/helper.cpp, src/helper.h: + - Add function interleave16_8to24() which implements in-place merging of + two separate 16-bit and 8-bit streams into one interleaved 24-bit stream. + + +------------------------------------------------------------------- Old: ---- libgig-4.6.0.tar.bz2 New: ---- libgig-4.6.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgig.spec ++++++ --- /var/tmp/diff_new_pack.3AhArb/_old 2026-12-02 17:09:04.662002095 +0100 +++ /var/tmp/diff_new_pack.3AhArb/_new 2026-12-02 17:09:04.664002179 +0100 @@ -21,7 +21,7 @@ %define sover_gig 14 %define sover_akai 0 Name: libgig -Version: 4.6.0 +Version: 4.6.1 Release: 0 Summary: Library for loading Gigasampler and DLS Level 1/2 files License: GPL-2.0-or-later ++++++ libgig-4.6.0.tar.bz2 -> libgig-4.6.1.tar.bz2 ++++++ ++++ 3047 lines of diff (skipped)
