pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/sndio



Module Name:    pkgsrc
Committed By:   vins
Date:           Sun Nov 15 16:06:08 UTC 2026

Modified Files:
        pkgsrc/audio/sndio: Makefile PLIST buildlink3.mk distinfo
        pkgsrc/audio/sndio/patches: patch-configure
Removed Files:
        pkgsrc/audio/sndio/patches: patch-libsndio_sio__oss.c

Log Message:
audio/sndio: update to 1.11.0

# pkgsrc changes
* Allow build on Darwin (to be tested; probably needs a separate PLIST
  file for shared libs.)

# noteworthy changes

* sndiod: Unify "midithru/N" and "midi/N" ports.
* sndiod: Implement control of midithru ports with sndioctl
* sndioctl: Allow list elements to be added or removed.
* sndiod: Enable recording and monitoring at the same time.
* libsndio: Simplify cookie handling.
* sndiod: Simplify/rework the Unix socket binding code
* Add the new sio_onxrun(3) function to report underruns.
* Add support for OSS/NetBSD.
* sndiod: Enable fall-back audio devices by default
* Sync lib version to OpenBSD.
* aucat: Switch to printf(3)-style logging.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/audio/sndio/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/sndio/PLIST \
    pkgsrc/audio/sndio/buildlink3.mk pkgsrc/audio/sndio/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/sndio/patches/patch-configure
cvs rdiff -u -r1.1 -r0 pkgsrc/audio/sndio/patches/patch-libsndio_sio__oss.c

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

Modified files:

Index: pkgsrc/audio/sndio/Makefile
diff -u pkgsrc/audio/sndio/Makefile:1.4 pkgsrc/audio/sndio/Makefile:1.5
--- pkgsrc/audio/sndio/Makefile:1.4     Mon Apr 20 18:44:42 2026
+++ pkgsrc/audio/sndio/Makefile Sun Nov 15 16:06:08 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2026/04/20 18:44:42 vins Exp $
+# $NetBSD: Makefile,v 1.5 2026/11/15 16:06:08 vins Exp $
 
-DISTNAME=      sndio-1.10.0
-PKGREVISION=   1
+DISTNAME=      sndio-1.11.0
 CATEGORIES=    audio
 MASTER_SITES=  http://www.sndio.org/
 

Index: pkgsrc/audio/sndio/PLIST
diff -u pkgsrc/audio/sndio/PLIST:1.1 pkgsrc/audio/sndio/PLIST:1.2
--- pkgsrc/audio/sndio/PLIST:1.1        Sat Nov 15 21:38:42 2025
+++ pkgsrc/audio/sndio/PLIST    Sun Nov 15 16:06:08 2026
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2025/11/15 21:38:42 vins Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/11/15 16:06:08 vins Exp $
 bin/aucat
 bin/midicat
 bin/sndioctl
 bin/sndiod
 include/sndio.h
 lib/libsndio.so
-lib/libsndio.so.7
-lib/libsndio.so.7.3
+lib/libsndio.so.9
+lib/libsndio.so.9.0
 lib/pkgconfig/sndio.pc
 man/man1/aucat.1
 man/man1/midicat.1
@@ -27,6 +27,7 @@ man/man3/sio_initpar.3
 man/man3/sio_nfds.3
 man/man3/sio_onmove.3
 man/man3/sio_onvol.3
+man/man3/sio_onxrun.3
 man/man3/sio_open.3
 man/man3/sio_pollfd.3
 man/man3/sio_read.3
Index: pkgsrc/audio/sndio/buildlink3.mk
diff -u pkgsrc/audio/sndio/buildlink3.mk:1.1 pkgsrc/audio/sndio/buildlink3.mk:1.2
--- pkgsrc/audio/sndio/buildlink3.mk:1.1        Sat Nov 15 21:38:42 2025
+++ pkgsrc/audio/sndio/buildlink3.mk    Sun Nov 15 16:06:08 2026
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2025/11/15 21:38:42 vins Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2026/11/15 16:06:08 vins Exp $
 
 BUILDLINK_TREE+=       sndio
 
 .if !defined(SNDIO_BUILDLINK3_MK)
 SNDIO_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.sndio+=  sndio>=1.10.0
+BUILDLINK_API_DEPENDS.sndio+=  sndio>=1.11.0
 BUILDLINK_PKGSRCDIR.sndio?=    ../../audio/sndio
 .endif # SNDIO_BUILDLINK3_MK
 
Index: pkgsrc/audio/sndio/distinfo
diff -u pkgsrc/audio/sndio/distinfo:1.1 pkgsrc/audio/sndio/distinfo:1.2
--- pkgsrc/audio/sndio/distinfo:1.1     Sat Nov 15 21:38:42 2025
+++ pkgsrc/audio/sndio/distinfo Sun Nov 15 16:06:08 2026
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.1 2025/11/15 21:38:42 vins Exp $
+$NetBSD: distinfo,v 1.2 2026/11/15 16:06:08 vins Exp $
 
-BLAKE2s (sndio-1.10.0.tar.gz) = 39f92241015c931433dad456ee5ca965806c5b86e97950265d8a609ac38525a3
-SHA512 (sndio-1.10.0.tar.gz) = c35462976a1bffd128eacb185165964dac6b03505255e9ab9a933e24be5ed146cd9ac6995fd7af23247cb9133c010cce0876572db53b783ebabeb563fec7a1cf
-Size (sndio-1.10.0.tar.gz) = 162725 bytes
-SHA1 (patch-configure) = d1c1833fbcf925cbb31de04c3480757b83fb1aea
-SHA1 (patch-libsndio_sio__oss.c) = ca220153f77b65659b490ef26bfbb2efaab67d74
+BLAKE2s (sndio-1.11.0.tar.gz) = 7cdcac713f380b5b5354681500ead9e67f09060952382e823788dcfe6a07e603
+SHA512 (sndio-1.11.0.tar.gz) = d6f8a5410aa43a99234c6440042e7c2df4e2837544a995ebcbfc7e1fef09c1966d2ebcb8a2b4308fe9ad193618dca4a097fa9b6d4acc98ddad5863f75f193f0a
+Size (sndio-1.11.0.tar.gz) = 165578 bytes
+SHA1 (patch-configure) = 77103dc7516d9f740833e56692495a5ff5c67152

Index: pkgsrc/audio/sndio/patches/patch-configure
diff -u pkgsrc/audio/sndio/patches/patch-configure:1.1 pkgsrc/audio/sndio/patches/patch-configure:1.2
--- pkgsrc/audio/sndio/patches/patch-configure:1.1      Sat Nov 15 21:38:43 2025
+++ pkgsrc/audio/sndio/patches/patch-configure  Sun Nov 15 16:06:08 2026
@@ -1,56 +1,24 @@
-$NetBSD: patch-configure,v 1.1 2025/11/15 21:38:43 vins Exp $
+$NetBSD: patch-configure,v 1.2 2026/11/15 16:06:08 vins Exp $
 
 * Standardise configure options to avoid PLIST inconsistencies.
-* Enable OSS backend on NetBSD. 
 
---- configure.orig     2024-08-01 15:36:54.000000000 +0000
+--- configure.orig     2026-10-15 10:05:00.000000000 +0000
 +++ configure
-@@ -70,8 +70,9 @@ case `uname` in
-       Linux)
+@@ -71,7 +71,7 @@ case `uname` in
                alsa=yes
+               libbsd=yes
                ldadd="-lrt -lm"
 -              user=sndiod
--              so_link="libsndio.so libsndio.so.\${MAJ} libsndio.so.\${MAJ}.0"
-+              libbsd=yes
 +              user=_sndio
-+              so_link="libsndio.so libsndio.so.\${MAJ}"
+               so_link="libsndio.so libsndio.so.\${MAJ}"
                so_ldflags="-Wl,-soname=libsndio.so.\${MAJ}"
-               defs='-D_GNU_SOURCE -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
-               ;;
-@@ -95,17 +96,21 @@ case `uname` in
-               ;;
-       NetBSD)
-               sun=no
-+              oss=yes
-+              ldadd="-lossaudio -lm"
+               defs='-D_GNU_SOURCE -DHAVE_SOCK_CLOEXEC'
+@@ -100,6 +100,8 @@ case `uname` in
                rmidi=yes
                user=_sndio
--              so_link="libsndio.so"
+               so_link="libsndio.so"
 +              so_ldflags="-Wl,-soname=libsndio.so.\${MAJ}"
 +              so_link="libsndio.so libsndio.so.\${MAJ}"
-               defs='-DHAVE_ARC4RANDOM -DHAVE_GETPEEREID -DHAVE_ISSETUGID \\\
--              -DHAVE_STRLCAT -DHAVE_STRLCPY \\\
--              -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
-+              -D_OPENBSD_SOURCE -DHAVE_STRLCAT -DHAVE_STRLCPY \\\
-+              -DHAVE_STRTONUM -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
+               defs='-D_OPENBSD_SOURCE -DHAVE_ISSETUGID -DHAVE_SOCK_CLOEXEC'
                ;;
        OpenBSD)
-               sun=yes
-               rmidi=yes
--              user=_sndiop
-+              user=_sndio
-+              so_link="libsndio.so.\${MAJ}"
-               defs='-DHAVE_ARC4RANDOM -DHAVE_GETPEEREID -DHAVE_ISSETUGID \\\
-               -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRTONUM \\\
-               -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
-@@ -114,8 +119,8 @@ case `uname` in
-               oss=yes
-               umidi=yes
-               user=_sndio
--              so_ldflags="-Wl,-soname=libsndio.so.\${MAJ}.\${MIN}"
--              so_link="libsndio.so"
-+              so_ldflags="-Wl,-soname=libsndio.so.\${MAJ}"
-+              so_link="libsndio.so libsndio.so.\${MAJ}"
-               defs='-DHAVE_ARC4RANDOM -DHAVE_GETPEEREID -DHAVE_ISSETUGID \\\
-               -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRTONUM \\\
-               -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'



Home | Main Index | Thread Index | Old Index