pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libspectrum



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 19 12:56:44 UTC 2026

Modified Files:
        pkgsrc/emulators/libspectrum: Makefile distinfo

Log Message:
libspectrum: updated to 1.6.1

1.6.1

* Fix PZX string reading to advance past the null terminator, so that
  archive info tag-value pairs after the title in a PZX PZXT block are
  no longer silently ignored (Fredrick Meunier).

* Reduce initial buffer allocation from 65536 to 1024 bytes, cutting
  peak heap usage during SZX snapshot writes from ~640 KB to ~10 KB
  before payload data is written (Fredrick Meunier).

* Optimise reallocate_to_new_size() to compute the final target size
  first and call realloc exactly once, instead of once per doubling
  step (Fredrick Meunier).

* Zero-initialise struct fields in alloc functions by switching from
  libspectrum_new to libspectrum_new0 in tape_block, dck_block,
  buffer, rzx, ide, microdrive, and creator alloc functions,
  preventing reads of uninitialised memory (Fredrick Meunier).

* Add const to libspectrum_creator getter function parameters, making
  them callable with const pointers without a cast (Fredrick Meunier).

* Various minor bug fixes/improvements:
  * Add extensive unit tests for snap accessor functions covering Plus
    D, DivIDE, DivMMC, AY registers, beta disk, ZXATASP, SpecDrum,
    Fuller Box, Multiface, custom ROM, RAM pages, interface1, Z80
    registers, and creator API (tests 85-116) (Fredrick Meunier).
  * Add unit tests for buffer write functions, buffer_set, and
    buffer_append (tests 77-84) (Fredrick Meunier).
  * Add microdrive API and serialisation round-trip tests (tests
    91-93) (Fredrick Meunier).
  * Use byte arrays in libspectrum_buffer_write_word and
    libspectrum_buffer_write_dword to avoid type-punning casts
    (Fredrick Meunier).
  * Make stdatomic usage C23-compatible (Fredrick Meunier).
  * Update bundled pkg.m4 from serial 1 (pkg-config 0.24) to serial 12
    (pkg-config 0.29.2) (Fredrick Meunier).
  * Remove obsolete AC_C_CONST macro from configure.ac (Fredrick
    Meunier).
  * Upgrade SourceForge URLs from http:// to https:// (Fredrick
    Meunier).
  * Document need to run ldconfig on some Linux installs
  * Add missing and update stale exported function documentation
    (Fredrick Meunier).
  * Fix typo and remove redundant autoreconf in macOS GitHub Actions
    workflow (Fredrick Meunier).
  * Remove unused libxml2 dependency from Linux and macOS GitHub
    workflows (Fredrick Meunier).
  * Use macOS 26 runners for GitHub macOS actions (Fredrick Meunier).


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/emulators/libspectrum/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/emulators/libspectrum/distinfo

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

Modified files:

Index: pkgsrc/emulators/libspectrum/Makefile
diff -u pkgsrc/emulators/libspectrum/Makefile:1.60 pkgsrc/emulators/libspectrum/Makefile:1.61
--- pkgsrc/emulators/libspectrum/Makefile:1.60  Thu Mar 26 13:33:48 2026
+++ pkgsrc/emulators/libspectrum/Makefile       Tue May 19 12:56:44 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.60 2026/03/26 13:33:48 adam Exp $
+# $NetBSD: Makefile,v 1.61 2026/05/19 12:56:44 adam Exp $
 
-DISTNAME=      libspectrum-1.6.0
+DISTNAME=      libspectrum-1.6.1
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
 
@@ -9,9 +9,9 @@ HOMEPAGE=       https://fuse-emulator.sourcefo
 COMMENT=       ZX Spectrum emulator file format library
 LICENSE=       gnu-gpl-v2
 
-USE_TOOLS+=            gmake perl pkg-config
-USE_LIBTOOL=           yes
-GNU_CONFIGURE=         yes
+USE_TOOLS+=    gmake perl pkg-config
+USE_LIBTOOL=   yes
+GNU_CONFIGURE= yes
 
 DOCDIR=                        ${PREFIX}/share/doc/libspectrum
 INSTALLATION_DIRS=     ${DOCDIR}

Index: pkgsrc/emulators/libspectrum/distinfo
diff -u pkgsrc/emulators/libspectrum/distinfo:1.27 pkgsrc/emulators/libspectrum/distinfo:1.28
--- pkgsrc/emulators/libspectrum/distinfo:1.27  Thu Mar 26 13:33:48 2026
+++ pkgsrc/emulators/libspectrum/distinfo       Tue May 19 12:56:44 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.27 2026/03/26 13:33:48 adam Exp $
+$NetBSD: distinfo,v 1.28 2026/05/19 12:56:44 adam Exp $
 
-BLAKE2s (libspectrum-1.6.0.tar.gz) = 840bf6e9834f1beca5d3aca2f866d549f21c7c9f33653b4312cd2e77152b620b
-SHA512 (libspectrum-1.6.0.tar.gz) = f3bd1e35ba26c0230ba326a5765927ef237e1eee2ac77e656c18d1a285745e7f9720825a849ef763cfb27448e8cb1e8e95769ab5a194bf3c9d49a0e13e253d31
-Size (libspectrum-1.6.0.tar.gz) = 630698 bytes
+BLAKE2s (libspectrum-1.6.1.tar.gz) = 8efa47070cdd3b961d2aeb8bf08170fd07a20ab969d36fecaca0274cf1b58a5b
+SHA512 (libspectrum-1.6.1.tar.gz) = 540505e8391f3b87f1568e0e1b230b3bb1c01bc94d285d70af0e5429164f8daa5764ba97d3932616134b5fb3b7317bb199985265bbae6c5827e84ae3b8a00822
+Size (libspectrum-1.6.1.tar.gz) = 641556 bytes



Home | Main Index | Thread Index | Old Index