Debian alsa-lib patches
As previously discussed, I'm posting all Debian patches against alsa-oss that were pending upstreaming.
Thanks,
Jordi
[PATCH 1/3] Fix path to libaoss.so.
[PATCH 2/3] Show a warning if the alsa wrapper failed. [PATCH 3/3] Add AM_MAINTAINER_MODE([enable]) to configure.in.
PATCH 1/3 Fix path to libaoss.so.
Fix path to libaoss.so using ${libdir} instead of ${exec_prefix}. ${libdir} has the value given at configure time and works with Debian's Multiarch implementation.
--- alsa/aoss.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
alsa/aoss.in +2 -2
@@ -6,8 +6,8 @@ if [ -d /proc/asound ]; then prefix=@prefix@ - exec_prefix=@exec_prefix@ - LD_PRELOAD=${exec_prefix}/\$LIB/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" + libdir=@libdir@ + LD_PRELOAD=${libdir}/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" else exec "$@" fi
Signature · 1 line
1.7.10.4
PATCH 2/3 Show a warning if the alsa wrapper failed.
In reply to Jordi MallachIf /proc/asound is not found, throw a warning and continue without any wrapping.
--- alsa/aoss.in | 1 + 1 file changed, 1 insertion(+)
alsa/aoss.in +1 -0
@@ -9,6 +9,7 @@ if [ -d /proc/asound ]; then libdir=@libdir@ LD_PRELOAD=${libdir}/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" else + echo "Warning: /proc/asound not found. Running without ALSA wrapper." exec "$@" fi exit 1
Signature · 1 line
1.7.10.4
Re: [PATCH 2/3] Show a warning if the alsa wrapper failed.
At Wed, 15 May 2013 18:58:06 +0200,
Quoted 3 lines · Jordi Mallach
If
/proc/asoundis not found, throw a warning and continue without any wrapping.
The purpose of aoss is to make OSS apps working *transparently*. So spewing a warning at each time is a bad idea, IMO.
If a warning is justified, why don't you give a joyful success message at each time if aoss can wrap the call? :)
Takashi
Quoted 26 lines
Signed-off-by Jordi Mallach <[email protected]>--- alsa/aoss.in | 1 + 1 file changed, 1 insertion(+)alsa/aoss.in +1
-0@@ -9,6 +9,7 @@ if [ -d /proc/asound ]; then libdir=@libdir@ LD_PRELOAD=${libdir}/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" else + echo "Warning: /proc/asound not found. Running without ALSA wrapper." exec "$@" fi exit 1Signature · 6 lines
1.7.10.4 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 3/3 Add AM_MAINTAINER_MODE([enable]) to configure.in.
In reply to Jordi Mallach--- configure.in | 2 ++ 1 file changed, 2 insertions(+)
configure.in +2 -0
@@ -2,6 +2,8 @@ AC_PREREQ(2.59) AC_INIT(alsa/alsa-oss.c) AM_INIT_AUTOMAKE(alsa-oss, 1.0.25) +AM_MAINTAINER_MODE([enable]) + LIBTOOL_VERSION_INFO="0:0:0" AC_SUBST(LIBTOOL_VERSION_INFO)
Signature · 1 line
1.7.10.4
El dc 15 de 05 de 2013 a les 18:58 +0200, en/na Jordi Mallach va escriure:
Quoted 2 lines
As previously discussed, I'm posting all Debian patches against alsa-oss that were pending upstreaming.
Regardless of the wrong subject, the patches are actually against alsa-oss.
Signature · 8 lines
Jordi Mallach Pérez -- Debian developer http://www.debian.org/ [email protected] [email protected] http://www.sindominio.net/ GnuPG public key information available at http://oskuro.net/ _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: Debian alsa-oss patches
In reply to Jordi MallachAt Wed, 15 May 2013 18:58:04 +0200,
Quoted 3 lines · Jordi Mallach
As previously discussed, I'm posting all Debian patches against alsa-oss that were pending upstreaming.
I applied patches 1 & 3.
thanks,
Takashi
Quoted 12 lines
Thanks,
Jordi[PATCH 1/3] Fix path to libaoss.so.
[PATCH 2/3] Show a warning if the alsa wrapper failed. [PATCH 3/3] AddAM_MAINTAINER_MODE([enable])to configure.in.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel