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:           Tue May 19 05:18:45 UTC 2026

Modified Files:
        pkgsrc/audio/openal-soft: Makefile PLIST distinfo
        pkgsrc/audio/openal-soft/patches: patch-CMakeLists.txt
            patch-alc_backends_alsa.cpp
Removed Files:
        pkgsrc/audio/openal-soft/patches: patch-common_alformat.hpp

Log Message:
openal-soft: updated to 1.25.2

openal-soft-1.25.2:

Fixed the library version string for builds made without Git repo info.

Fixed an STL hardening assertion in the reverb effect.

Fixed a potential crash for builds made with older PipeWire headers.

Fixed capturing mono from a stereo or greater WASAPI input device.

Fixed building on macOS without std::format.

Fixed height encoding for TSME output.

Fixed the Super Stereo decoder's stereo separation with TSME output.

Implemented 3D processing for the Distortion, Chorus, Flanger, Pitch
Shifter, and Frequency Shifter effects.

Improved handling duplicate device names from PipeWire.

Added support for 7.1.4 output autodetection with CoreAudio.

Added capture support to the SDL3 backend.

Added support for device added and removed events to the SDL3 backend.

Removed use of "protected" visibility for exported symbols, now using the
normal "default" visibility.

Actually changed the default Super Stereo width to 0.46.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/audio/openal-soft/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/audio/openal-soft/PLIST
cvs rdiff -u -r1.30 -r1.31 pkgsrc/audio/openal-soft/distinfo
cvs rdiff -u -r1.10 -r1.11 \
    pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/audio/openal-soft/patches/patch-alc_backends_alsa.cpp
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/audio/openal-soft/patches/patch-common_alformat.hpp

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.53 pkgsrc/audio/openal-soft/Makefile:1.54
--- pkgsrc/audio/openal-soft/Makefile:1.53      Tue Feb 17 23:46:09 2026
+++ pkgsrc/audio/openal-soft/Makefile   Tue May 19 05:18:45 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.53 2026/02/17 23:46:09 gutteridge Exp $
+# $NetBSD: Makefile,v 1.54 2026/05/19 05:18:45 adam Exp $
 
-DISTNAME=      openal-soft-1.25.1
+DISTNAME=      openal-soft-1.25.2
 CATEGORIES=    audio
 MASTER_SITES=  https://openal-soft.org/openal-releases/
 EXTRACT_SUFX=  .tar.bz2
@@ -53,9 +53,6 @@ SUBST_SED.oss=                -e 's,/dev/dsp,${DEVOSSA
 
 .include "options.mk"
 
-post-install:
-       ${RM} ${DESTDIR}${PREFIX}/include/AL/al.h.orig
-
 .include "../../devel/cmake/build.mk"
 .include "../../audio/libmysofa/buildlink3.mk"
 .include "../../mk/atomic64.mk"

Index: pkgsrc/audio/openal-soft/PLIST
diff -u pkgsrc/audio/openal-soft/PLIST:1.8 pkgsrc/audio/openal-soft/PLIST:1.9
--- pkgsrc/audio/openal-soft/PLIST:1.8  Thu Feb 16 15:15:55 2023
+++ pkgsrc/audio/openal-soft/PLIST      Tue May 19 05:18:45 2026
@@ -1,18 +1,17 @@
-@comment $NetBSD: PLIST,v 1.8 2023/02/16 15:15:55 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/05/19 05:18:45 adam Exp $
 bin/makemhr
 bin/openal-info
 include/AL/al.h
 include/AL/alc.h
 include/AL/alext.h
-include/AL/efx-creative.h
 include/AL/efx-presets.h
 include/AL/efx.h
 lib/cmake/OpenAL/OpenALConfig.cmake
 lib/cmake/OpenAL/OpenALTargets-relwithdebinfo.cmake
 lib/cmake/OpenAL/OpenALTargets.cmake
 lib/libopenal.so
-lib/libopenal.so.1
 lib/libopenal.so.${PKGVERSION}
+lib/libopenal.so.1
 lib/pkgconfig/openal.pc
 share/openal/alsoftrc.sample
 share/openal/hrtf/Default HRTF.mhr

Index: pkgsrc/audio/openal-soft/distinfo
diff -u pkgsrc/audio/openal-soft/distinfo:1.30 pkgsrc/audio/openal-soft/distinfo:1.31
--- pkgsrc/audio/openal-soft/distinfo:1.30      Mon Apr 13 18:07:26 2026
+++ pkgsrc/audio/openal-soft/distinfo   Tue May 19 05:18:45 2026
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.30 2026/04/13 18:07:26 tnn Exp $
+$NetBSD: distinfo,v 1.31 2026/05/19 05:18:45 adam Exp $
 
-BLAKE2s (openal-soft-1.25.1.tar.bz2) = 53051e01f058b5bdd5c79da8fb58fb0316e7d6b6858e6a20973ae52391d69452
-SHA512 (openal-soft-1.25.1.tar.bz2) = 9207c93e18f2789d97dfec710b5fcedf9ed7df70581ba356678ef4db3f6ee9b634b5b56d206d077866384e1309f0622f8f3f7100f0349d7c4e970cf443441c93
-Size (openal-soft-1.25.1.tar.bz2) = 1119330 bytes
-SHA1 (patch-CMakeLists.txt) = 5440e78b4558ff165823c8274131fa0c30c7c563
+BLAKE2s (openal-soft-1.25.2.tar.bz2) = a5a681860465577a322299e238d35237c2145fef42f6af81fb18c1b335e1a88d
+SHA512 (openal-soft-1.25.2.tar.bz2) = 2881556cd21ee9aebfcbd256e385e8dc63f8e67c916e1d583f597d24184015aa608ca6b21802a236b7fbdb10a407c2dc2320494a1d79e9920fd1ca6a966d8a2f
+Size (openal-soft-1.25.2.tar.bz2) = 1132689 bytes
+SHA1 (patch-CMakeLists.txt) = 4bfc2d498d8661982c5963798b9817bb4d975465
 SHA1 (patch-alc_alconfig.cpp) = 5fe00b60f6f31165be951324659f5c7ee1898859
-SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a
-SHA1 (patch-common_alformat.hpp) = 7c0b567b5c0e9b941f179029b08a76a2f5891b40
+SHA1 (patch-alc_backends_alsa.cpp) = de9838202cbf1ef26f8230353a23db1b3fd2723c
 SHA1 (patch-common_althreads.h) = 316de49f7a923a1a1535e49639f5e6bccf0c08d3
 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.10 pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.11
--- pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.10  Tue Jan 20 13:47:49 2026
+++ pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt       Tue May 19 05:18:45 2026
@@ -1,5 +1,6 @@
-$NetBSD: patch-CMakeLists.txt,v 1.10 2026/01/20 13:47:49 kikadf Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.11 2026/05/19 05:18:45 adam Exp $
 
+Silence "error: attribute 'nonblocking' should not be added".
 Disable libsndfile.
 Fix ld error on NetBSD<11:
 [ 97%] Linking CXX shared library libopenal.so
@@ -7,9 +8,19 @@ Fix ld error on NetBSD<11:
 `alcCreateContext' can not be used when making a shared object
 /usr/bin/ld: final link failed: bad value
 
---- CMakeLists.txt.orig        2025-12-22 09:17:45.000000000 +0000
+--- CMakeLists.txt.orig        2026-05-12 02:21:07.000000000 +0000
 +++ CMakeLists.txt
-@@ -501,6 +501,9 @@ if(NOT LIBTYPE STREQUAL "STATIC")
+@@ -407,9 +407,6 @@ else()
+         list(APPEND C_FLAGS -Werror=undef -Werror=format-security
+             $<$<COMPILE_LANGUAGE:C>:-Werror=implicit -Werror=incompatible-pointer-types
+                 -Werror=int-conversion>)
+-        if(HAVE_WFUNCTION_EFFECTS)
+-            list(APPEND C_FLAGS $<$<COMPILE_LANGUAGE:CXX>:-Werror=function-effects>)
+-        endif()
+     endif()
+ 
+     # NOTE: This essentially provides the equivalent of the C++26 feature to
+@@ -506,6 +503,9 @@ if(NOT LIBTYPE STREQUAL "STATIC")
              set(CMAKE_C_VISIBILITY_PRESET hidden)
              set(CMAKE_CXX_VISIBILITY_PRESET hidden)
          endif()
@@ -17,23 +28,23 @@ Fix ld error on NetBSD<11:
 +            set(EXPORT_DECL "__attribute__((visibility(\"default\")))")
 +        endif()
  
-         set(CMAKE_REQUIRED_FLAGS "${OLD_REQUIRED_FLAGS}")
+         set(CMAKE_REQUIRED_FLAGS ${OLD_REQUIRED_FLAGS})
      endif()
-@@ -1910,7 +1913,7 @@ if(ALSOFT_UTILS)
-         set(EXTRA_INSTALLS ${EXTRA_INSTALLS} openal-info)
+@@ -2057,7 +2057,7 @@ if(ALSOFT_UTILS)
+         install(TARGETS openal-info)
      endif()
  
 -    if(SNDFILE_FOUND)
-+    if(SNDFILE_FOUND AND False)
++    if(FALSE)
          add_executable(uhjdecoder utils/uhjdecoder.cpp)
-         target_compile_definitions(uhjdecoder PRIVATE ${CPP_DEFS})
-         target_include_directories(uhjdecoder
-@@ -2050,7 +2053,7 @@ if(ALSOFT_EXAMPLES)
+         target_link_libraries(uhjdecoder PRIVATE alsoft::common SndFile::SndFile ${UNICODE_FLAG})
+         set_target_properties(uhjdecoder PROPERTIES ${ALSOFT_STD_VERSION_PROPS})
+@@ -2166,7 +2166,7 @@ if(ALSOFT_EXAMPLES)
  
      message(STATUS "Building example programs")
  
 -    if(SNDFILE_FOUND)
-+    if(SNDFILE_FOUND AND False)
++    if(FALSE)
          add_executable(alplay examples/alplay.c)
          target_link_libraries(alplay PRIVATE ${LINKER_FLAGS} SndFile::SndFile alsoft.excommon
              ${UNICODE_FLAG})

Index: pkgsrc/audio/openal-soft/patches/patch-alc_backends_alsa.cpp
diff -u pkgsrc/audio/openal-soft/patches/patch-alc_backends_alsa.cpp:1.1 pkgsrc/audio/openal-soft/patches/patch-alc_backends_alsa.cpp:1.2
--- pkgsrc/audio/openal-soft/patches/patch-alc_backends_alsa.cpp:1.1    Sat Nov 30 13:40:29 2019
+++ pkgsrc/audio/openal-soft/patches/patch-alc_backends_alsa.cpp        Tue May 19 05:18:45 2026
@@ -1,12 +1,12 @@
-$NetBSD: patch-alc_backends_alsa.cpp,v 1.1 2019/11/30 13:40:29 nia Exp $
+$NetBSD: patch-alc_backends_alsa.cpp,v 1.2 2026/05/19 05:18:45 adam Exp $
 
 Support building on non-Linux.
 
---- alc/backends/alsa.cpp.orig 2019-11-28 08:45:08.000000000 +0000
+--- alc/backends/alsa.cpp.orig 2026-05-12 02:21:07.000000000 +0000
 +++ alc/backends/alsa.cpp
-@@ -53,6 +53,9 @@
- 
- #include <alsa/asoundlib.h>
+@@ -54,6 +54,9 @@ import logging;
+ #include "core/logging.h"
+ #endif
  
 +#ifndef ESTRPIPE
 +#define ESTRPIPE EPIPE



Home | Main Index | Thread Index | Old Index