Package: firefox
Version: 1.5.dfsg+1.5.0.1-4
Severity: wishlist
Tags: patch

Attached is the patch against firefox startup shell script adding the audiooss
DSP wrapper support. audiooss is the DSP wrapper for nas - Network Audio
System.

Upstream bugreport is https://bugzilla.mozilla.org/show_bug.cgi?id=334374
Similar mozilla bug is #363111

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages firefox depends on:
ii  debianutils               2.15.3         Miscellaneous utilities specific t
ii  fontconfig                2.3.2-1.1      generic font configuration library
ii  libatk1.0-0               1.11.3-1       The ATK accessibility toolkit
ii  libc6                     2.3.6-3        GNU C Library: Shared libraries an
ii  libcairo2                 1.0.2-3        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.3.2-1.1      generic font configuration library
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.1.0-1      GCC support library
ii  libglib2.0-0              2.10.1-2       The GLib library of C routines
ii  libgtk2.0-0               2.8.16-1       The GTK+ graphical user interface 
ii  libidl0                   0.8.6-1        library for parsing CORBA IDL file
ii  libjpeg62                 6b-12          The Independent JPEG Group's JPEG 
ii  libpango1.0-0             1.12.0-2       Layout and rendering of internatio
ii  libpng12-0                1.2.8rel-5     PNG library - runtime
ii  libstdc++6                4.1.0-1        The GNU Standard C++ Library v3
ii  libx11-6                  6.9.0.dfsg.1-6 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.9.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxft2                   2.1.8.2-5.1    FreeType-based font drawing librar
ii  libxi6                    6.9.0.dfsg.1-6 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-6 X Window System multi-head display
ii  libxp6                    6.9.0.dfsg.1-6 X Window System printing extension
ii  libxrandr2                6.9.0.dfsg.1-6 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
ii  libxt6                    6.9.0.dfsg.1-6 X Toolkit Intrinsics
ii  psmisc                    22.2-1         Utilities that use the proc filesy
ii  zlib1g                    1:1.2.3-11     compression library - runtime

firefox recommends no packages.

-- no debconf information
--- /usr/lib/firefox/firefox    2006-03-13 09:38:27.000000000 +0600
+++ firefox     2006-04-18 00:45:42.000000000 +0700
@@ -74,6 +74,14 @@
 ## find /dev/dsp handler
 ##
 
+if [ "${FIREFOX_DSP}" = "auto" ] && [ "x${AUDIOSERVER}" != "x" ]; then
+    # do not prevent using other wrappers if $AUDIOSERVER was set up
+    # unintentionally or audiooss is not available
+    if type audiooss >/dev/null 2>&1; then
+        FIREFOX_DSP=audiooss
+    fi
+fi
+
 if [ "${FIREFOX_DSP}" = "auto" ]; then
     FIREFOX_DSP=
     if pgrep -u `id -u` esd >/dev/null 2>&1; then 

Reply via email to