mpg123: updated to 1.32.3

1.32.3:

ports/cmake: Only enable modules with GetThreadErrorMode() on Windows.
compat: Define EOVERFLOW for ancient Windows toolchains.
libmpg123, libsyn123: always ifdef LFS_LARGEFILE_64 (not just if)
libsyn123: re-introduce _32 wrappers in addition to suffix-less ones (regression from 1.31, bug 363)


1.32.2:

libmpg123: Re-introduce _64 symbols on native 64 bit offset platforms. This was a regression since 1.31 series. Sorry, too much cleanup, not enough testing.
build:
Better O_LARGEFILE logic, avoiding redefintion.
ports/cmake:
Require C99 (bug 360, among other points, thanks to Ozkan Sezer).
Fix broken O_LARGEFILE logic (bug 360).
Typo fix and cleanup, also manual SSE switch for Android on old x86 (bug 359).


1.32.1:

Include man pages again in tarball and install. We cannot avoid the empty man directory when disabling programs with autoconf.
Fix signal handler prototype, avoiding some justified warnings.
ports/cmake:
Include CheckTypeSize, which seems to be needed sometimes (bug 357).
Avoid O_LARGEFILE redefinition, logic closer to autoconf.


1.32.0:

build:
Move version handling out of configure.ac to ease other build systems.
Include "fmt123.h" instead of <fmt123.h> in main API headers to make it more likely the correct one is included (at least gcc picks the one in the same directory as the including header first).
All headers are build-independent now.
Fix build for picky linkers by avoiding definition of wrap_getcpuflags() where it is not used (spurious linker error to non-exitent getcpuflags(), bug 353).
Handle deprecation of C99 detection macro in autoconf 2.70.
No use of AC_SYS_LARGEFILE anymore for explicit handling and differing choice for the libraries and frontend programs.
Added --enable-portable and --disable-largefile to configure, removing the other largefile-related options.
Added --disable-components --enable-libmpg123 to only build libmpg123 (and likewise --enable-libout123, --enable-libout123-modules, --enable-libsyn123) to autoconf build. CMake build has something similar with BUILD_PROGRAMS and BUILD_LIBOUT123, which leave only libmpg123 and libsyn123 if disabled). (bug 351)
Consistent formatting of ./configure --help with AS_HELP_STRING().
ports/Sony_PSP: removed
mpg123:
Added --libversion.
Added proper A-B looping with terminal control key 'o', renamed --pauseloop to --presetloop.
Really get rid of mpg123_position() usage. (It was all lies before!)
Fix terminal progress info when seeking in stopped mode (1.31 regression).
Patch up interaction of output buffer with generic remote control, adding non-interruptible drain after P 3, and dropping buffer on QUIT.
Uppercase some generic control replies for consinstency: SILENCE, PROGRESS, MUTE, UNMUTE
libmpg123, libout123, libsyn123:
Bumped API version for version query functions.
Replaced nearly all symbol renames with explicit INT123_ prefix declarations (intsym.h close to empty now).
libout123:
Add sleep builtin output module (silent, but proper timing).
libsyn123:
Introduced SYN123_PORTABLE_API for an API without off_t and ssize_t (see NEWS.libsyn123).
libmpg123:
Internal I/O using explicit largefile support via off64_t, lseek64, fallback to plain 32 bit off_t.
Added explicit 64 bit API with 64 suffix (mpg123_tell64(), not mpg123_tell_64()). This allows full avoidance of ambiguus off_t. The API is always using 64 bit integers, regardless of internal implementation. (bug 344)
Introduced MPG123_PORTABLE_API for an API subset without off_t and ssize_t.
Made mpg123_seek() and friends ignore offset sign for SEEK_END (always seeking towards beginning, assuming negative offset) to make lseek()-conforming usage possible. Seeking beyond the end never made sense, so no loss of valid functionality.
Overall use of INT123_strerror(), trying to use thread-safe strerror_l() if possible.
This commit is contained in:
adam 2023-10-30 09:43:40 +00:00
parent ebb3a37d3c
commit 8264167043
4 changed files with 8 additions and 10 deletions

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.8 2023/05/06 19:09:02 ryoon Exp $
# $NetBSD: Makefile,v 1.9 2023/10/30 09:43:40 adam Exp $
MPG123_MODULE= jack
PKGREVISION= 1
.include "../../audio/mpg123/Makefile.common"
.include "../../audio/mpg123/buildlink3.mk"

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.41 2023/05/06 19:09:02 ryoon Exp $
# $NetBSD: Makefile,v 1.42 2023/10/30 09:43:40 adam Exp $
MPG123_MODULE= pulse
PKGREVISION= 1
.include "../../audio/mpg123/Makefile.common"
.include "../../audio/mpg123/buildlink3.mk"

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile.common,v 1.70 2023/03/19 22:15:37 thor Exp $
# $NetBSD: Makefile.common,v 1.71 2023/10/30 09:43:40 adam Exp $
#
# used by audio/mpg123-jack/Makefile
# used by audio/mpg123-nas/Makefile
# used by audio/mpg123-pulse/Makefile
DISTNAME= mpg123-1.31.3
DISTNAME= mpg123-1.32.3
PKGNAME?= ${DISTNAME:C/[[:alnum:]]*/&-${MPG123_MODULE}/}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}

View File

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.71 2023/03/19 22:15:37 thor Exp $
$NetBSD: distinfo,v 1.72 2023/10/30 09:43:40 adam Exp $
BLAKE2s (mpg123-1.31.3.tar.bz2) = 09dc4d21ef494558636f3f60122b32fac30ec621bfecd99893a8533c7f0636cd
SHA512 (mpg123-1.31.3.tar.bz2) = 5dd550e06f5d0d432cac1b7e546215e56378b44588c1a98031498473211e08bc4228de45be41f7ba764f7f6c0eb752a6501235bcc3712c9a8d8852ae3c607d98
Size (mpg123-1.31.3.tar.bz2) = 1094474 bytes
BLAKE2s (mpg123-1.32.3.tar.bz2) = c234804f367fdcebe92fbf87893cd266dd85a4db625ec9ba91621b7c2e9ccd7d
SHA512 (mpg123-1.32.3.tar.bz2) = 946c1073b6eebfd65333ec543df1caeea25864479e9c8e153fb53d8b636cc756d8d81947f7b5cbedbbfb1ea664d3fb27562ed36e7726d95e80591bd2ad622afc
Size (mpg123-1.32.3.tar.bz2) = 1111054 bytes
SHA1 (patch-ad) = f07b637c3fc1d3ea0426013fc25bca8e3aecba56
SHA1 (patch-src_libout123_modules_sun.c) = aa11e1420fd07f2e1c4a0d911d1642f0fd50b916