pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/openal-soft



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 20 09:33:00 UTC 2024

Modified Files:
        pkgsrc/audio/openal-soft: Makefile distinfo
        pkgsrc/audio/openal-soft/patches: patch-CMakeLists.txt
            patch-alc_alconfig.cpp

Log Message:
openal-soft: updated to 1.24.0

openal-soft-1.24.0:

Updated library codebase to C++17.

Implemented the ALC_SOFT_system_events extension.

Implemented the AL_EXT_debug extension.

Implemented the AL_EXT_direct_context extension.

Implemented speaker configuration and headphones detection on CoreAudio.

Fixed a potential crash with some extension functions on 32-bit Windows.

Fixed a crash that can occur when stopping playback with the Oboe backend.

Fixed calculating the reverb room rolloff.

Fixed EAX occlusion, obstruction, and exclusion low-pass filter strength.

Fixed EAX distance factor calculations.

Fixed querying AL_EFFECTSLOT_EFFECT on auxiliary effect slots.

Fixed compilation on some macOS systems that lack libdispatch.

Fixed compilation as a subproject with MinGW.

Changed the context error state to be thread-local. This is technically out
of spec, but necessary to avoid race conditions with multi-threaded use.

Split the cubic resampler into 4-point spline and gaussian variants. The
latter prioritizing the suppression of aliasing distortion and harmonics,
the former not reducing high frequencies as much.

Improved timing precision of starting delayed sources.

Improved ring modulator quality.

Improved performance of convolution reverb.

Improved WASAPI device enumeration performance.

Added UWP support.

Added 'noexcept' to functions and function types when compiled as C++. As a
C API, OpenAL can't be expected to throw C++ exceptions, nor can it handle
them if they leave a callback.

Added an experimental config option for using WASAPI spatial audio output.

Added enumeration support to the PortAudio backend.

Added compatibility options to override the AL_VENDOR, AL_VERSION, and
AL_RENDERER strings.

Added an example to play LAF files.

Disabled real-time mixing by default for PipeWire playback.

Disabled the SndIO backend by default on non-BSD targets.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/audio/openal-soft/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/audio/openal-soft/distinfo
cvs rdiff -u -r1.6 -r1.7 \
    pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/audio/openal-soft/patches/patch-alc_alconfig.cpp

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

Modified files:

Index: pkgsrc/audio/openal-soft/Makefile
diff -u pkgsrc/audio/openal-soft/Makefile:1.40 pkgsrc/audio/openal-soft/Makefile:1.41
--- pkgsrc/audio/openal-soft/Makefile:1.40      Sun Aug 25 06:18:25 2024
+++ pkgsrc/audio/openal-soft/Makefile   Wed Nov 20 09:33:00 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2024/08/25 06:18:25 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2024/11/20 09:33:00 adam Exp $
 
-DISTNAME=      openal-soft-1.23.1
-PKGREVISION=   3
+DISTNAME=      openal-soft-1.24.0
 CATEGORIES=    audio
 MASTER_SITES=  https://openal-soft.org/openal-releases/
 EXTRACT_SUFX=  .tar.bz2
@@ -11,10 +10,9 @@ HOMEPAGE=    https://openal-soft.org/
 COMMENT=       Software implementation of the OpenAL 3D audio API
 LICENSE=       gnu-lgpl-v2
 
-USE_LANGUAGES= c c++
-USE_TOOLS+=    pkg-config gmake
-
-USE_CXX_FEATURES+=     c++20
+USE_CXX_FEATURES=      c++20
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            gmake pkg-config
 
 PKGCONFIG_OVERRIDE+=   openal.pc.in
 PKG_SYSCONFSUBDIR=     openal

Index: pkgsrc/audio/openal-soft/distinfo
diff -u pkgsrc/audio/openal-soft/distinfo:1.18 pkgsrc/audio/openal-soft/distinfo:1.19
--- pkgsrc/audio/openal-soft/distinfo:1.18      Sun Apr 23 09:13:19 2023
+++ pkgsrc/audio/openal-soft/distinfo   Wed Nov 20 09:33:00 2024
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.18 2023/04/23 09:13:19 wiz Exp $
+$NetBSD: distinfo,v 1.19 2024/11/20 09:33:00 adam Exp $
 
-BLAKE2s (openal-soft-1.23.1.tar.bz2) = da179b66de6bfa924ab61e4f05b9f7153ab078b850929b4a5b5f16119e3708f7
-SHA512 (openal-soft-1.23.1.tar.bz2) = 0d40577cd27040dc8814c15bacc310a0ce1c98e084f0a37db9f66899265df42ea61ac672efba7445e495849c25b9ba5b086f43320a38965f6ee74081b2896819
-Size (openal-soft-1.23.1.tar.bz2) = 699330 bytes
-SHA1 (patch-CMakeLists.txt) = 7ad92c7175b7888c1954daf413eef2db3aeef583
-SHA1 (patch-alc_alconfig.cpp) = 0539016dadf1827e5a86700c2db5a96479a8b70d
+BLAKE2s (openal-soft-1.24.0.tar.bz2) = 0636170f082091c8c3df6ba64a1f79ee6317e8cd0e37ecb48ce77ba0ba3e2a62
+SHA512 (openal-soft-1.24.0.tar.bz2) = f3e9f7a2729688092a77413bce3191b874bb898c80defc620754ce85ed079446f2b0cfe1b81846606357515e40f1c1fd035f0f64e9d9ce4f861b873f54d3a3e7
+Size (openal-soft-1.24.0.tar.bz2) = 763289 bytes
+SHA1 (patch-CMakeLists.txt) = 4821a484cc7f3315bae044df9959a46894f905cf
+SHA1 (patch-alc_alconfig.cpp) = e2c1c5e1116fb7e3cd4a84dae7432222c050682e
 SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a
 SHA1 (patch-include_AL_al.h) = e11858155db9d48ca8ae0d4e28479ec4d674411b

Index: pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
diff -u pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.6 pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.7
--- pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.6   Thu Feb 16 15:15:55 2023
+++ pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt       Wed Nov 20 09:33:00 2024
@@ -1,10 +1,10 @@
-$NetBSD: patch-CMakeLists.txt,v 1.6 2023/02/16 15:15:55 wiz Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.7 2024/11/20 09:33:00 adam Exp $
 
 Disable libsndfile.
 
---- CMakeLists.txt.orig        2023-02-03 14:48:18.000000000 +0000
+--- CMakeLists.txt.orig        2024-11-16 12:20:51.000000000 +0000
 +++ CMakeLists.txt
-@@ -1559,7 +1559,7 @@ if(ALSOFT_UTILS)
+@@ -1626,7 +1626,7 @@ if(ALSOFT_UTILS)
          set(EXTRA_INSTALLS ${EXTRA_INSTALLS} openal-info)
      endif()
  
@@ -13,12 +13,12 @@ Disable libsndfile.
          add_executable(uhjdecoder utils/uhjdecoder.cpp)
          target_compile_definitions(uhjdecoder PRIVATE ${CPP_DEFS})
          target_include_directories(uhjdecoder
-@@ -1645,7 +1645,7 @@ if(ALSOFT_EXAMPLES)
+@@ -1729,7 +1729,7 @@ if(ALSOFT_EXAMPLES)
  
      message(STATUS "Building example programs")
  
 -    if(SNDFILE_FOUND)
 +    if(SNDFILE_FOUND AND False)
          add_executable(alplay examples/alplay.c)
-         target_link_libraries(alplay PRIVATE ${LINKER_FLAGS} SndFile::SndFile ex-common
+         target_link_libraries(alplay PRIVATE ${LINKER_FLAGS} SndFile::SndFile alsoft.excommon
              ${UNICODE_FLAG})

Index: pkgsrc/audio/openal-soft/patches/patch-alc_alconfig.cpp
diff -u pkgsrc/audio/openal-soft/patches/patch-alc_alconfig.cpp:1.1 pkgsrc/audio/openal-soft/patches/patch-alc_alconfig.cpp:1.2
--- pkgsrc/audio/openal-soft/patches/patch-alc_alconfig.cpp:1.1 Sat Nov 30 13:40:29 2019
+++ pkgsrc/audio/openal-soft/patches/patch-alc_alconfig.cpp     Wed Nov 20 09:33:00 2024
@@ -1,15 +1,15 @@
-$NetBSD: patch-alc_alconfig.cpp,v 1.1 2019/11/30 13:40:29 nia Exp $
+$NetBSD: patch-alc_alconfig.cpp,v 1.2 2024/11/20 09:33:00 adam Exp $
 
 Allow the Makefile to specify the default config file path.
 
---- alc/alconfig.cpp.orig      2019-11-28 08:45:08.000000000 +0000
+--- alc/alconfig.cpp.orig      2024-11-16 12:20:51.000000000 +0000
 +++ alc/alconfig.cpp
-@@ -325,7 +325,7 @@ void ReadALConfig()
- 
+@@ -383,7 +383,7 @@ void ReadALConfig()
  void ReadALConfig()
  {
--    const char *str{"/etc/openal/alsoft.conf"};
-+    const char *str{SYS_CONF_DIR "/alsoft.conf"};
+     namespace fs = std::filesystem;
+-    fs::path path{"/etc/openal/alsoft.conf"};
++    fs::path path{SYS_CONF_DIR "/alsoft.conf"};
  
-     TRACE("Loading config %s...\n", str);
-     al::ifstream f{str};
+     TRACE("Loading config %s...\n", path.u8string().c_str());
+     if(std::ifstream f{path}; f.is_open())



Home | Main Index | Thread Index | Old Index