head 1.8; access; symbols pkgsrc-2019Q4:1.7.0.88 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.84 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.82 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.80 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.78 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.76 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.74 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.72 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.70 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.68 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.64 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.62 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.60 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.58 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.56 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.54 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.52 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.50 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.48 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.46 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.44 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.42 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.40 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.38 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.36 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.34 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.32 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.30 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.28 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.26 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.24 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.22 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.20 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.18 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.16 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.14 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.12 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.10 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.8 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.6 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.4 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.2 pkgsrc-2009Q3-base:1.7 pkgsrc-2008Q4:1.6.0.6 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.4 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.2 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.3.0.40 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.38 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.1 netbsd-1-5-PATCH001:1.1 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1 netbsd-1-4-PATCH002:1.1 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.8 date 2020.01.20.21.54.00; author nia; state dead; branches; next 1.7; commitid dznnPOejT5D1CtTB; 1.7 date 2009.09.21.17.26.46; author sno; state Exp; branches; next 1.6; 1.6 date 2008.09.06.14.42.53; author wiz; state dead; branches; next 1.5; 1.5 date 2008.07.31.14.03.16; author drochner; state Exp; branches; next 1.4; 1.4 date 2008.07.29.21.58.13; author wiz; state dead; branches; next 1.3; 1.3 date 2003.11.10.01.14.43; author danw; state Exp; branches; next 1.2; 1.2 date 2002.04.29.08.40.28; author wiz; state Exp; branches; next 1.1; 1.1 date 99.04.29.10.01.51; author tron; state Exp; branches; next ; desc @@ 1.8 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-ac,v 1.7 2009/09/21 17:26:46 sno Exp $ FreeBSD doesn't define off64_t --- esddsp.c.orig 2009-09-19 19:15:30.000000000 +0200 +++ esddsp.c 2009-09-19 19:22:16.000000000 +0200 @@@@ -70,6 +70,7 @@@@ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__bsdi__) typedef unsigned long request_t; +typedef off_t off64_t; #else typedef int request_t; #endif @ 1.7 log @Adding patch from FreeBSD ports to let esound build on FreeBSD, too. The rest of the patch from FreeBSD ports should be reviewed by the maintainer, I'm not sure how far this is reasonable ... @ text @d1 1 a1 1 $NetBSD$ @ 1.6 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-ac,v 1.5 2008/07/31 14:03:16 drochner Exp $ d3 12 a14 40 --- esdlib.c.orig 2008-07-15 17:35:15.000000000 +0200 +++ esdlib.c @@@@ -90,7 +90,7 @@@@ read_timeout (int fd, char *buf, size_t do { pfd[0].revents = 0; rv = poll (pfd, 1, 100); - } while (rv == -1 && errno == EINTR); + } while (rv == -1 && (errno == EINTR || errno == EAGAIN)); if (rv < 1 || !(pfd[0].revents & POLLIN)) { errno = ETIMEDOUT; @@@@ -138,9 +138,9 @@@@ write_timeout (int fd, const char *buf, do { pfd[0].revents = 0; rv = poll (pfd, 1, 100); - } while (rv == -1 && errno == EINTR); + } while (rv == -1 && (errno == EINTR || errno == EAGAIN)); - if (rv < 1 || !(pfd[0].revents & POLLOUT)) { + if (rv < 1 || (pfd[0].revents & (POLLERR | POLLHUP | POLLOUT)) != POLLOUT) { fcntl (fd, F_SETFL, flags); errno = ETIMEDOUT; return -1; @@@@ -150,8 +150,14 @@@@ write_timeout (int fd, const char *buf, n = write (fd, buf + nwritten, buflen - nwritten); } while (n == -1 && errno == EINTR); - if (n > 0) - nwritten += n; + if (n == -1) { + rv = errno; + fcntl (fd, F_SETFL, flags); + errno = rv; + return -1; + } + + nwritten += n; } while (nwritten < buflen); fcntl (fd, F_SETFL, flags); @ 1.5 log @In the new nonblocking write code, abort on write errors, especially on EPIPE. This fixes Gnome session hangs if sounds are switched off. See Gnome bugzilla #542391 for details. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 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-ac,v 1.3 2003/11/10 01:14:43 danw Exp $ d3 40 a42 14 --- esd-config.in.orig Fri Feb 5 23:34:19 1999 +++ esd-config.in @@@@ -54,9 +54,9 @@@@ ;; --libs) my_audiofile_libs= - libdirs=-L@@libdir@@ + libdirs="-L@@libdir@@ -Wl,-R@@libdir@@" for i in $audiofile_libs ; do - if test $i != -L@@libdir@@ ; then + if test $i != -L@@libdir@@ -a "$i" != "-Wl,-R@@libdir@@"; then if test -z "$my_audiofile_libs" ; then my_audiofile_libs="$i" else @ 1.3 log @tweak esd-config.in patch so it doesn't generate a sh syntax error when buildlink strips out $RPATH_FLAG on Darwin @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2002/04/29 08:40:28 wiz Exp $ @ 1.2 log @Update to 0.2.25: Bugfix releases. @ text @d1 1 a1 1 $NetBSD$ d13 1 a13 1 + if test $i != -L@@libdir@@ -a $i != -Wl,-R@@libdir@@; then @ 1.1 log @Properly order linker option output of "esd-config". @ text @d3 2 a4 2 --- esd-config.in.orig Mon Feb 8 17:13:34 1999 +++ esd-config.in Thu Apr 29 11:58:13 1999 @