Thu Feb 16 15:15:55 2023 UTC ()
openal-soft: update to 1.23.0.

openal-soft-1.23.0:

    Fixed CoreAudio capture support.

    Fixed handling per-version EAX properties.

    Fixed interpolating changes to the Super Stereo width source property.

    Fixed detection of the update and buffer size from PipeWire.

    Fixed resuming playback devices with OpenSL.

    Fixed support for certain OpenAL implementations with the router.

    Improved reverb environment transitions.

    Improved performance of convolution reverb.

    Improved quality and performance of the pitch shifter effect slightly.

    Improved sub-sample precision for resampled sources.

    Improved blending spatialized multi-channel sources that use the source
    radius property.

    Improved mixing 2D ambisonic sources for higher-order 3D ambisonic mixing.

    Improved quadraphonic and 7.1 surround sound output slightly.

    Added config options for UHJ encoding/decoding quality. Including Super
    Stereo processing.

    Added a config option for specifying the speaker distance.

    Added a compatibility config option for specifying the NFC distance
    scaling.

    Added a config option for mixing on PipeWire's non-real-time thread.

    Added support for virtual source nodes with PipeWire capture.

    Added the ability for the WASAPI backend to use different playback rates.

    Added support for SOFA files that define per-response delays in makemhr.

    Changed the default fallback playback sample rate to 48khz. This doesn't
    affect most backends, which can detect a default rate from the system.

    Changed the default resampler to cubic.

    Changed the default HRTF size from 32 to 64 points.


(wiz)
diff -r1.31 -r1.32 pkgsrc/audio/openal-soft/Makefile
diff -r1.7 -r1.8 pkgsrc/audio/openal-soft/PLIST
diff -r1.16 -r1.17 pkgsrc/audio/openal-soft/distinfo
diff -r1.5 -r1.6 pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
diff -r1.1 -r0 pkgsrc/audio/openal-soft/patches/patch-alc_backends_solaris.cpp
diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/patches/patch-include_AL_al.h

cvs diff -r1.31 -r1.32 pkgsrc/audio/openal-soft/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/Makefile 2023/01/24 18:36:20 1.31
+++ pkgsrc/audio/openal-soft/Makefile 2023/02/16 15:15:55 1.32
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.31 2023/01/24 18:36:20 wiz Exp $ 1# $NetBSD: Makefile,v 1.32 2023/02/16 15:15:55 wiz Exp $
2 2
3DISTNAME= openal-soft-1.22.2 3DISTNAME= openal-soft-1.23.0
4PKGREVISION= 1 
5CATEGORIES= audio 4CATEGORIES= audio
6MASTER_SITES= https://openal-soft.org/openal-releases/ 5MASTER_SITES= https://openal-soft.org/openal-releases/
7EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://openal-soft.org/ 9HOMEPAGE= https://openal-soft.org/
11COMMENT= Software implementation of the OpenAL 3D audio API 10COMMENT= Software implementation of the OpenAL 3D audio API
12LICENSE= gnu-lgpl-v2 11LICENSE= gnu-lgpl-v2
13 12
14USE_LANGUAGES= c c++14 13USE_LANGUAGES= c c++14
15USE_TOOLS+= pkg-config gmake 14USE_TOOLS+= pkg-config gmake
16 15
17# https://github.com/kcat/openal-soft/issues/347 16# https://github.com/kcat/openal-soft/issues/347

cvs diff -r1.7 -r1.8 pkgsrc/audio/openal-soft/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/PLIST 2022/05/04 06:53:06 1.7
+++ pkgsrc/audio/openal-soft/PLIST 2023/02/16 15:15:55 1.8
@@ -1,25 +1,26 @@ @@ -1,25 +1,26 @@
1@comment $NetBSD: PLIST,v 1.7 2022/05/04 06:53:06 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.8 2023/02/16 15:15:55 wiz Exp $
2bin/makemhr 2bin/makemhr
3bin/openal-info 3bin/openal-info
4include/AL/al.h 4include/AL/al.h
5include/AL/alc.h 5include/AL/alc.h
6include/AL/alext.h 6include/AL/alext.h
7include/AL/efx-creative.h 7include/AL/efx-creative.h
8include/AL/efx-presets.h 8include/AL/efx-presets.h
9include/AL/efx.h 9include/AL/efx.h
10lib/cmake/OpenAL/OpenALConfig.cmake 10lib/cmake/OpenAL/OpenALConfig.cmake
11lib/cmake/OpenAL/OpenALTargets-relwithdebinfo.cmake 11lib/cmake/OpenAL/OpenALTargets-relwithdebinfo.cmake
12lib/cmake/OpenAL/OpenALTargets.cmake 12lib/cmake/OpenAL/OpenALTargets.cmake
13lib/libopenal.so 13lib/libopenal.so
14lib/libopenal.so.1 14lib/libopenal.so.1
15lib/libopenal.so.${PKGVERSION} 15lib/libopenal.so.${PKGVERSION}
16lib/pkgconfig/openal.pc 16lib/pkgconfig/openal.pc
17share/openal/alsoftrc.sample 17share/openal/alsoftrc.sample
18share/openal/hrtf/Default HRTF.mhr 18share/openal/hrtf/Default HRTF.mhr
19share/openal/presets/3D7.1.ambdec 19share/openal/presets/3D7.1.ambdec
 20share/openal/presets/hex-quad.ambdec
20share/openal/presets/hexagon.ambdec 21share/openal/presets/hexagon.ambdec
21share/openal/presets/itu5.1-nocenter.ambdec 22share/openal/presets/itu5.1-nocenter.ambdec
22share/openal/presets/itu5.1.ambdec 23share/openal/presets/itu5.1.ambdec
23share/openal/presets/presets.txt 24share/openal/presets/presets.txt
24share/openal/presets/rectangle.ambdec 25share/openal/presets/rectangle.ambdec
25share/openal/presets/square.ambdec 26share/openal/presets/square.ambdec

cvs diff -r1.16 -r1.17 pkgsrc/audio/openal-soft/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/distinfo 2022/07/07 10:03:53 1.16
+++ pkgsrc/audio/openal-soft/distinfo 2023/02/16 15:15:55 1.17
@@ -1,10 +1,9 @@ @@ -1,10 +1,9 @@
1$NetBSD: distinfo,v 1.16 2022/07/07 10:03:53 adam Exp $ 1$NetBSD: distinfo,v 1.17 2023/02/16 15:15:55 wiz Exp $
2 2
3BLAKE2s (openal-soft-1.22.2.tar.bz2) = 690b1f9b85d8da35186a1bade6628e1dec28e118f815c48086bd9db7c57a74ca 3BLAKE2s (openal-soft-1.23.0.tar.bz2) = b43f3a968a415e2aeaacb950165bb06036acccdd4355a82b3aef0060684b2942
4SHA512 (openal-soft-1.22.2.tar.bz2) = 2271968955d55746caf514b6d4304d09d5e552d5640552e2503186ef36bc872a836804ebf79ffbda663931bd13d4e2ce53e0c46cc4faf4134bdb3c08983a5e47 4SHA512 (openal-soft-1.23.0.tar.bz2) = 5c10ccd3cf0c05b9331f9b0da8913a9ffd0f9fc4464192b4b6a12ee1ddaab123ae5a719ead837f7701b129d7faecec1aaf91aabc4c58ee10932c9d716d128071
5Size (openal-soft-1.22.2.tar.bz2) = 606151 bytes 5Size (openal-soft-1.23.0.tar.bz2) = 692978 bytes
6SHA1 (patch-CMakeLists.txt) = 906d46ec5a71dc93a05a94985568b22ab67e60a2 6SHA1 (patch-CMakeLists.txt) = 7ad92c7175b7888c1954daf413eef2db3aeef583
7SHA1 (patch-alc_alconfig.cpp) = 0539016dadf1827e5a86700c2db5a96479a8b70d 7SHA1 (patch-alc_alconfig.cpp) = 0539016dadf1827e5a86700c2db5a96479a8b70d
8SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a 8SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a
9SHA1 (patch-alc_backends_solaris.cpp) = 62e7a5bddb5c4ed7f7e4c4889b2234dd778be960 9SHA1 (patch-include_AL_al.h) = e11858155db9d48ca8ae0d4e28479ec4d674411b
10SHA1 (patch-include_AL_al.h) = 5545de5f606320b64ddd713569c9a86c8552eb46 

cvs diff -r1.5 -r1.6 pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt 2022/05/04 17:23:35 1.5
+++ pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt 2023/02/16 15:15:55 1.6
@@ -1,36 +1,24 @@ @@ -1,36 +1,24 @@
1$NetBSD: patch-CMakeLists.txt,v 1.5 2022/05/04 17:23:35 tnn Exp $ 1$NetBSD: patch-CMakeLists.txt,v 1.6 2023/02/16 15:15:55 wiz Exp $
2 2
3Fix building. 3Disable libsndfile.
4 4
5--- CMakeLists.txt.orig 2022-04-23 01:46:14.000000000 +0000 5--- CMakeLists.txt.orig 2023-02-03 14:48:18.000000000 +0000
6+++ CMakeLists.txt 6+++ CMakeLists.txt
7@@ -1206,9 +1206,9 @@ if(ALSOFT_EMBED_HRTF_DATA) 7@@ -1559,7 +1559,7 @@ if(ALSOFT_UTILS)
8  
9 add_custom_command(OUTPUT "${outfile}" 
10 COMMAND ${CMAKE_COMMAND} -D "INPUT_FILE=${infile}" -D "OUTPUT_FILE=${outfile}" 
11- -D "VARIABLE_NAME=${VARNAME}" -P "${CMAKE_MODULE_PATH}/bin2h.script.cmake" 
12+ -D "VARIABLE_NAME=${VARNAME}" -P "${OpenAL_SOURCE_DIR}/cmake/bin2h.script.cmake" 
13 WORKING_DIRECTORY "${OpenAL_SOURCE_DIR}" 
14- DEPENDS "${infile}" "${CMAKE_MODULE_PATH}/bin2h.script.cmake" 
15+ DEPENDS "${infile}" "${OpenAL_SOURCE_DIR}/cmake/bin2h.script.cmake" 
16 VERBATIM 
17 ) 
18 set(ALC_OBJS ${ALC_OBJS} "${outfile}") 
19@@ -1522,7 +1522,7 @@ if(ALSOFT_UTILS) 
20 set(EXTRA_INSTALLS ${EXTRA_INSTALLS} openal-info) 8 set(EXTRA_INSTALLS ${EXTRA_INSTALLS} openal-info)
21 endif() 9 endif()
22  10
23- if(SNDFILE_FOUND) 11- if(SNDFILE_FOUND)
24+ if(SNDFILE_FOUND AND False) 12+ if(SNDFILE_FOUND AND False)
25 add_executable(uhjdecoder utils/uhjdecoder.cpp) 13 add_executable(uhjdecoder utils/uhjdecoder.cpp)
26 target_compile_definitions(uhjdecoder PRIVATE ${CPP_DEFS}) 14 target_compile_definitions(uhjdecoder PRIVATE ${CPP_DEFS})
27 target_include_directories(uhjdecoder 15 target_include_directories(uhjdecoder
28@@ -1608,7 +1608,7 @@ if(ALSOFT_EXAMPLES) 16@@ -1645,7 +1645,7 @@ if(ALSOFT_EXAMPLES)
29  17
30 message(STATUS "Building example programs") 18 message(STATUS "Building example programs")
31  19
32- if(SNDFILE_FOUND) 20- if(SNDFILE_FOUND)
33+ if(SNDFILE_FOUND AND False) 21+ if(SNDFILE_FOUND AND False)
34 add_executable(alplay examples/alplay.c) 22 add_executable(alplay examples/alplay.c)
35 target_link_libraries(alplay PRIVATE ${LINKER_FLAGS} SndFile::SndFile ex-common 23 target_link_libraries(alplay PRIVATE ${LINKER_FLAGS} SndFile::SndFile ex-common
36 ${UNICODE_FLAG}) 24 ${UNICODE_FLAG})

File Deleted: pkgsrc/audio/openal-soft/patches/Attic/patch-alc_backends_solaris.cpp

cvs diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/patches/patch-include_AL_al.h (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/patches/patch-include_AL_al.h 2020/04/09 13:35:21 1.1
+++ pkgsrc/audio/openal-soft/patches/patch-include_AL_al.h 2023/02/16 15:15:55 1.2
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1$NetBSD: patch-include_AL_al.h,v 1.1 2020/04/09 13:35:21 jperkin Exp $ 1$NetBSD: patch-include_AL_al.h,v 1.2 2023/02/16 15:15:55 wiz Exp $
2 2
3Fix SunOS build, int8_t is not always the same as signed char. 3Fix SunOS build, int8_t is not always the same as signed char.
4 4
5--- include/AL/al.h.orig 2020-01-24 07:28:45.000000000 +0000 5--- include/AL/al.h.orig 2023-02-03 14:48:18.000000000 +0000
6+++ include/AL/al.h 6+++ include/AL/al.h
7@@ -41,7 +41,12 @@ typedef char ALboolean; 7@@ -41,7 +41,12 @@ typedef char ALboolean;
8 typedef char ALchar; 8 typedef char ALchar;
9  9
10 /** signed 8-bit 2's complement integer */ 10 /** signed 8-bit integer */
11+#ifdef __sun 11+#ifdef __sun
12+#include <inttypes.h> 12+#include <inttypes.h>
13+typedef int8_t ALbyte; 13+typedef int8_t ALbyte;
14+#else 14+#else
15 typedef signed char ALbyte; 15 typedef signed char ALbyte;
16+#endif 16+#endif
17  17
18 /** unsigned 8-bit integer */ 18 /** unsigned 8-bit integer */
19 typedef unsigned char ALubyte; 19 typedef unsigned char ALubyte;