ports/84745: Make the skype script hide the anoying messages about SOUND_MIXER_WRITE_IGAIN
Carlos A M dos Santos
casantos at urisan.tche.br
Wed Aug 10 12:20:21 UTC 2005
>Number: 84745
>Category: ports
>Synopsis: Make the skype script hide the anoying messages about SOUND_MIXER_WRITE_IGAIN
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 10 12:20:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Carlos A M dos Santos
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
Universidade Regional Integrada
>Environment:
System: FreeBSD sophia.inf.urisan 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Mon May 16 01:34:41 BRT 2005 root at avatar.casantos.org:/share/FreeBSD/5.4-RELEASE/src/sys/i386/compile/A7N266-VM i386
>Description:
Skype shows 'volume_adjust: SOUND_MIXER_WRITE_IGAIN failed: No such
device or address' thoousands of times. That is a very annoying
bahavior that can not be disabled but can be hidden if the sandard
output is redirected to /dev/null.
>How-To-Repeat:
At the command prompt type:
setenv SKYPE_RESOURCES_PATH /usr/X11R6/share/skype
/usr/X11R6/bin/skype_bin
>Fix:
Apply the attached patch
--- net::skype.patch begins here ---
diff -durP ports/net/skype/Makefile ports/net/skype/Makefile
--- ports.orig/net/skype/Makefile Sat Jul 23 22:22:39 2005
+++ ports/net/skype/Makefile Mon Aug 8 09:18:19 2005
@@ -47,7 +47,7 @@
do-install:
${INSTALL} ${WRKSRC}/skype ${PREFIX}/bin/skype_bin
- ${ECHO_CMD} -e "#!/bin/sh\n\nSKYPE_RESOURCES_PATH='${DATADIR}' exec skype_bin \"\$$@\"" >${PREFIX}/bin/skype
+ ${ECHO_CMD} -e "#!/bin/sh\n\nSKYPE_RESOURCES_PATH='${DATADIR}' exec ${PREFIX}/bin/skype_bin \"\$$@\" > /dev/null 2>&1" >${PREFIX}/bin/skype
${CHMOD} a+rx ${PREFIX}/bin/skype
.if ${HAVE_GNOME:Mgnomehier} != ""
${INSTALL_DATA} ${WRKSRC}/skype.desktop ${PREFIX}/share/gnome/applications/
--- net::skype.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list