head 1.10; access; symbols pkgsrc-2019Q4:1.9.0.72 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.68 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.66 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.64 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.62 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.60 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.58 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.56 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.54 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.52 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.48 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.46 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.44 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.42 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.40 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.38 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.36 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.34 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.32 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.30 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.28 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.26 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.24 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.22 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.20 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.18 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.16 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.14 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.12 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.10 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.8 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.6 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.4 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.2 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.8.0.22 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.20 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.18 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.16 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.14 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.12 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.10 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.8 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.6 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.4 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.2 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.7.0.4 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.2 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.5.0.42 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.40 pkgsrc-2008Q1:1.5.0.38 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.36 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.34 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.32 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.30 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.28 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.26 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.24 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.22 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.20 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.18 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.16 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.14 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.12 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.10 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.8 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.6 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.4 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.5.0.2 netbsd-1-6-1-base:1.5 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.10 date 2020.01.20.21.54.00; author nia; state dead; branches; next 1.9; commitid dznnPOejT5D1CtTB; 1.9 date 2011.09.09.15.20.59; author wiz; state Exp; branches; next 1.8; 1.8 date 2008.11.20.17.42.27; author wiz; state Exp; branches; next 1.7; 1.7 date 2008.09.06.14.42.53; author wiz; state Exp; branches; next 1.6; 1.6 date 2008.07.29.21.58.13; author wiz; state Exp; branches; next 1.5; 1.5 date 2002.10.03.12.21.29; author jlam; state Exp; branches; next 1.4; 1.4 date 2002.04.29.08.40.28; author wiz; state Exp; branches; next 1.3; 1.3 date 2000.05.30.19.20.13; author drochner; state Exp; branches; next 1.2; 1.2 date 2000.02.06.03.33.53; author wiz; state Exp; branches; next 1.1; 1.1 date 99.04.07.23.21.26; author tron; state Exp; branches; next ; desc @@ 1.10 log @*: Remove esound support from pkgsrc Enlightened Sound Daemon was one of the earlier solutions to the old "multiple programs can't open /dev/audio at once" problem that was once a thing we had to worry about. Eventually, it was adopted as part of GNOME. GNOME lost interest in it about a decade ago and dropped it in favour of PulseAudio, newer applications are generally uninterested in supporting it. Last release was in 2008 and support for newer OS APIs is pretty nonexistent. Several years ago the original website disappeared. https://en.wikipedia.org/wiki/Enlightened_Sound_Daemon https://tracker.debian.org/news/999428/removed-0241-11-from-unstable/ @ text @$NetBSD: patch-ab,v 1.9 2011/09/09 15:20:59 wiz Exp $ Adapt path to audio device. --- audio_oss.c.orig 2008-11-18 20:35:19.000000000 +0000 +++ audio_oss.c @@@@ -20,7 +20,7 @@@@ #define ARCH_esd_audio_devices const char *esd_audio_devices() { - return "/dev/dsp, /dev/dsp2, etc."; + return "/dev/audio, /dev/audio2, etc. or /dev/dsp, /dev/dsp2, etc."; } #define NFRAGS 32 @@@@ -56,7 +56,7 @@@@ int esd_audio_open() mode |= O_NONBLOCK; /* open the sound device */ - device = esd_audio_device ? esd_audio_device : "/dev/dsp"; + device = esd_audio_device ? esd_audio_device : DEV_DSP; if ((afd = open(device, mode, 0)) == -1) { /* Opening device failed */ if (errno != ENOENT) @ 1.9 log @Add comments to patches. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8 2008/11/20 17:42:27 wiz Exp $ @ 1.8 log @Update to 0.2.41: =============== Version 0.2.41 =============== * Fix 32k samples turning into static when 8k samples played in the middle. Debian #79145. (Matthew Ashton) * Fix filter buffer handling so filters work. Debian #202027. (Ryan Murray) * Reconnect the ALSA driver and reload the config file after receiving a SIGUSR1. (Martin Pitt) * Fixed esd_audio_write() to use select() if the driver supports it (otherwise usleep) and write data in a configurable block size. (Ryan Murray) * Fixed esound.pc audifile linking. (Josselin Mouette) * Fixed esdcat.1. (Josselin Mouette) * Protect dsp_init() with a mutex lock. (Josselin Mouette) * Fixed to allow multiple esd instances (one per user). (Martin Pitt) * Fixes to startup time by not trying to exec a binary if it doesn't exist. (Martin Pitt) * Prettier debugging output. (Ryan Murray) * Fixed signedness compiler warnings. (Josselin Mouette) * Remove libesddsp from LD_PRELOAD when autospawning esd. (Ryan Murray) * Fixes for GStreamer using ESPEAKER. (Jeff Waugh) * Fixes for mmap64 (Josselin Mouette) * Close the spawnfd when the startup is successful. (Josselin Mouette) * Save a call to esd_audio_pause when run with -nobeeps. (Josselin Mouette) * Improved error checking for the -spawnfd switch. (Josselin Mouette) * Fixed buffer overflow possibilities. (Ryan Murray) * Call snd_pcm_hw_free() before calling snd_pcm_close() to avoid a memory leak. (Martin Pitt) * Add informative output for -double switch. (Josselin Mouette) * Use smaller sleep timeouts. (Josselin Mouette) * Updated to handle more file formats supported by audiofile 0.2.3. (Josselin Mouette) @ text @d1 3 a3 1 $NetBSD: patch-ab,v 1.7 2008/09/06 14:42:53 wiz Exp $ @ 1.7 log @Update to 0.2.40: =============== Version 0.2.40 =============== * Fixed poll() logic issues for *BSD (Jeffrey Stedfast) * Fixed bug #543239 by including errno.h (Jeffrey Stedfast) @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2008/07/29 21:58:13 wiz Exp $ d3 1 a3 1 --- audio_oss.c.orig 2008-07-15 16:00:03.000000000 +0000 d5 1 a5 1 @@@@ -19,7 +21,7 @@@@ d13 2 a14 2 @@@@ -38,7 +40,7 @@@@ int esd_audio_open() @ 1.6 log @Update to 0.2.39: =============== Version 0.2.39 =============== * Fixed esd client-side code to not hang if esd crashes/hangs or otherwise becomes unreachable (Jeffrey Stedfast) * Suppress verbose error messages from ALSA (Stanislav Brabec) * Allow for multiple esd instances * Fix esound-config for multi-lib setups (Matthias Clasen) * Don't report errors about /dev/dsp not existing (Havoc Pennington) * Various other build fixes for AMD64 (Rémi Cardona) @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2002/10/03 12:21:29 jlam Exp $ a4 8 @@@@ -1,5 +1,7 @@@@ #include "config.h" +#include + #ifdef HAVE_MACHINE_SOUNDCARD_H # include #else @ 1.5 log @Use ossaudio.buildlink2.mk and modify to allow this to work with audio/oss. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2002/04/29 08:40:28 wiz Exp $ d3 1 a3 1 --- audio_oss.c.orig Tue Jul 18 18:33:41 2000 d5 9 a13 1 @@@@ -19,7 +19,7 @@@@ d22 1 a22 1 @@@@ -38,7 +38,7 @@@@ d30 1 a30 1 perror(device); @ 1.4 log @Update to 0.2.25: Bugfix releases. @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 + return "/dev/audio, /dev/audio2, etc."; d19 1 a19 1 + device = esd_audio_device ? esd_audio_device : "/dev/audio"; @ 1.3 log @update to 0.2.18 The "NEWS" file id one of the oldest files in the distribution:-( @ text @d3 2 a4 2 --- audio_oss.c.orig Wed Mar 15 19:00:49 2000 +++ audio_oss.c Tue May 30 17:05:24 2000 @ 1.2 log @updated esound to 1.2.17. From the ChangeLog: * audio_solaris.c: Don't spit warnings if /dev/audio doesn't exist. User probably knows he doesn't have a sound card. * esdlib.c (esd_connect_tcpip): Fix case in which user specifies only a port number (first character of host is :) @ text @d3 2 a4 2 --- ./audio_oss.c.orig Tue Oct 5 00:10:32 1999 +++ ./audio_oss.c Sun Feb 6 03:42:31 2000 d14 2 a15 2 @@@@ -36,7 +36,7 @@@@ mode = O_RDWR; @ 1.1 log @Use "/dev/audio", not "/dev/dsp". Fixes PR pkg/7296. @ text @d3 3 a5 3 --- audio_oss.c.orig Wed Dec 30 17:28:45 1998 +++ audio_oss.c Thu Apr 8 01:18:25 1999 @@@@ -17,7 +17,7 @@@@ d14 1 a14 1 @@@@ -34,7 +34,7 @@@@ @