mpg123 1.33.0-dev+20250607022201

This commit is contained in:
Ozkan Sezer
2025-06-07 10:51:56 +03:00
parent bf2eba7bc0
commit 426f60d4f4
7 changed files with 37 additions and 20 deletions

14
NEWS
View File

@@ -6,12 +6,20 @@
-- Make --continue mode work with --random. -- Make --continue mode work with --random.
-- Handle possible failure of __wgetmainargs on Windows (bug 375). -- Handle possible failure of __wgetmainargs on Windows (bug 375).
- mpg123-id3dump: Fix up command line arg handling for Windows. - mpg123-id3dump: Fix up command line arg handling for Windows.
- out123
-- Finally give zero exit code when generating sounds, not indicating
spurious failure.
- build: - build:
-- Use CCASFLAGS for assembler tests, to enable builds that enable instruction -- Use CCASFLAGS for assembler tests, to enable builds that enable instruction
sets that way (bug 377). sets that way (bug 377).
- compat: Map strtok use to strtok_r or strtok_s (MS platforms), if possible. -- PIC for compat libs (convenience libs used during build) only if building
users only in control_generic and libout123 so far. Out123 itself uses mytok. shared libs (github PR 17 by Wouter Wijsman).
Shall fix bug 376 (build with MSVC again). - compat:
-- Map strtok use to strtok_r or strtok_s (MS platforms), if possible.
users only in control_generic and libout123 so far. Out123 itself uses mytok.
Shall fix bug 376 (build with MSVC again).
-- Enable build on PSP by merging in the hotfix of opmitting signal code
(github PR 18 by Wouter Wijsman).
- libout123 - libout123
-- modules/win32: Align waveOutGetDevCapsA to WAVEOUTCAPSA, in anticipation -- modules/win32: Align waveOutGetDevCapsA to WAVEOUTCAPSA, in anticipation
of some UNICODE change. of some UNICODE change.

20
configure vendored
View File

@@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for mpg123 1.33.0-dev+20250525022201. # Generated by GNU Autoconf 2.71 for mpg123 1.33.0-dev+20250607022201.
# #
# Report bugs to <maintainer@mpg123.org>. # Report bugs to <maintainer@mpg123.org>.
# #
@@ -621,8 +621,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='mpg123' PACKAGE_NAME='mpg123'
PACKAGE_TARNAME='mpg123' PACKAGE_TARNAME='mpg123'
PACKAGE_VERSION='1.33.0-dev+20250525022201' PACKAGE_VERSION='1.33.0-dev+20250607022201'
PACKAGE_STRING='mpg123 1.33.0-dev+20250525022201' PACKAGE_STRING='mpg123 1.33.0-dev+20250607022201'
PACKAGE_BUGREPORT='maintainer@mpg123.org' PACKAGE_BUGREPORT='maintainer@mpg123.org'
PACKAGE_URL='' PACKAGE_URL=''
@@ -1727,7 +1727,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures mpg123 1.33.0-dev+20250525022201 to adapt to many kinds of systems. \`configure' configures mpg123 1.33.0-dev+20250607022201 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1798,7 +1798,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of mpg123 1.33.0-dev+20250525022201:";; short | recursive ) echo "Configuration of mpg123 1.33.0-dev+20250607022201:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -2077,7 +2077,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
mpg123 configure 1.33.0-dev+20250525022201 mpg123 configure 1.33.0-dev+20250607022201
generated by GNU Autoconf 2.71 generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2622,7 +2622,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by mpg123 $as_me 1.33.0-dev+20250525022201, which was It was created by mpg123 $as_me 1.33.0-dev+20250607022201, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw $ $0$ac_configure_args_raw
@@ -3992,7 +3992,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='mpg123' PACKAGE='mpg123'
VERSION='1.33.0-dev+20250525022201' VERSION='1.33.0-dev+20250607022201'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -22467,7 +22467,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by mpg123 $as_me 1.33.0-dev+20250525022201, which was This file was extended by mpg123 $as_me 1.33.0-dev+20250607022201, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@@ -22535,7 +22535,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped' ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\ ac_cs_version="\\
mpg123 config.status 1.33.0-dev+20250525022201 mpg123 config.status 1.33.0-dev+20250607022201
configured by $0, generated by GNU Autoconf 2.71, configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View File

@@ -3,7 +3,7 @@
# - devel packages for alsa, sdl, etc... to build the respective output modules. # - devel packages for alsa, sdl, etc... to build the respective output modules.
Summary: The fast console mpeg audio decoder/player. Summary: The fast console mpeg audio decoder/player.
Name: mpg123 Name: mpg123
Version: 1.33.0-dev+20250525022201 Version: 1.33.0-dev+20250607022201
Release: 1 Release: 1
URL: http://www.mpg123.org/ URL: http://www.mpg123.org/
License: GPL License: GPL

View File

@@ -2,12 +2,18 @@ set(TARGET compat)
add_library(${TARGET} OBJECT add_library(${TARGET} OBJECT
"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/compat/compat.c" "${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/compat/compat.c"
"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/compat/compat_str.c") "${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/compat/compat_str.c")
set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON) if(BUILD_SHARED_LIBS)
set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON)
endif()
add_library(${TARGET}_dl OBJECT add_library(${TARGET}_dl OBJECT
"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/compat/compat_dl.c") "${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/compat/compat_dl.c")
set_target_properties(${TARGET}_dl PROPERTIES POSITION_INDEPENDENT_CODE ON) if(BUILD_SHARED_LIBS)
set_target_properties(${TARGET}_dl PROPERTIES POSITION_INDEPENDENT_CODE ON)
endif()
add_library(${TARGET}_str OBJECT add_library(${TARGET}_str OBJECT
"${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/compat/compat_str.c") "${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/compat/compat_str.c")
set_target_properties(${TARGET}_str PROPERTIES POSITION_INDEPENDENT_CODE ON) if(BUILD_SHARED_LIBS)
set_target_properties(${TARGET}_str PROPERTIES POSITION_INDEPENDENT_CODE ON)
endif()

View File

@@ -512,7 +512,7 @@ size_t INT123_unintr_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *st
} }
#ifndef NO_CATCHSIGNAL #ifndef NO_CATCHSIGNAL
#if (!defined(WIN32) || defined (__CYGWIN__)) && defined(HAVE_SIGNAL_H) #if (!defined(WIN32) || defined (__CYGWIN__)) && !defined(__PSP__) && defined(HAVE_SIGNAL_H)
void (*INT123_catchsignal(int signum, void(*handler)(int)))(int) void (*INT123_catchsignal(int signum, void(*handler)(int)))(int)
{ {
struct sigaction new_sa; struct sigaction new_sa;

View File

@@ -1,7 +1,7 @@
/* /*
out123: stream data from libmpg123 or libsyn123 to an audio output device out123: stream data from libmpg123 or libsyn123 to an audio output device
copyright 1995-2023 by the mpg123 project, copyright 1995-2025 by the mpg123 project,
free software under the terms of the LGPL 2.1 free software under the terms of the LGPL 2.1
see COPYING and AUTHORS files in distribution or http://mpg123.org see COPYING and AUTHORS files in distribution or http://mpg123.org
@@ -1630,7 +1630,10 @@ int main(int sys_argc, char ** sys_argv)
} }
if(strcmp(signal_source, "file")) if(strcmp(signal_source, "file"))
{
had_something = 1;
generate = TRUE; generate = TRUE;
}
else else
input = open_next_file(argc, argv, 1); input = open_next_file(argc, argv, 1);

View File

@@ -19,7 +19,7 @@
#define MPG123_PATCH 0 #define MPG123_PATCH 0
// Don't get too wild with that to avoid confusing m4. No brackets. // Don't get too wild with that to avoid confusing m4. No brackets.
// Also, it should fit well into a sane file name for the tarball. // Also, it should fit well into a sane file name for the tarball.
#define MPG123_SUFFIX "-dev+20250525022201" #define MPG123_SUFFIX "-dev+20250607022201"
#define MPG123_VERSION_CAT_REALLY(a, b, c) #a "." #b "." #c #define MPG123_VERSION_CAT_REALLY(a, b, c) #a "." #b "." #c
#define MPG123_VERSION_CAT(a, b, c) MPG123_VERSION_CAT_REALLY(a, b, c) #define MPG123_VERSION_CAT(a, b, c) MPG123_VERSION_CAT_REALLY(a, b, c)