Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138811 - mozilla-firefox-bin should use OSS emulation given specific use flags
Summary: mozilla-firefox-bin should use OSS emulation given specific use flags
Status: RESOLVED DUPLICATE of bug 131237
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-02 00:18 UTC by Boky
Modified: 2006-07-02 01:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boky 2006-07-02 00:18:37 UTC
It is quite annoying that each time another version of firefox-bin is installed, I have to manually edit starter files and add aoss(32), artsdsp(32) or esddsp(32).

Since most modern systems do not use OSS anymore but some plugins (namely Flash) depends on OSS, you get no sound unless you run the binaries with former wrappers.

Solution:
- add use tags "arts", "alsa" and "esd" to firefox-bin (and other related mozilla-*-bin packages)
- patch the "mozilla-lanucher" to call the binary with given wrapper
- use the 32-bit versions when installing on 64-bin system.

In my case (AMD64, firefox 1.5.0.4) I had to add the following to mozilla-launcher:
line 447: MOZ_NO_REMOTE=1 /usr/bin/aoss32 "$mozbin" "$@" &
line 450: /usr/bin/aoss32 "$mozbin" "$@" &
line 589: /usr/bin/aoss32 $mozbin -register || echo "E: Registration process exited with status: $?" >&2

All this can be easily acomplished with a simple sed script on ebuild install.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 01:06:23 UTC

*** This bug has been marked as a duplicate of 131237 ***