Gentoo Archives: gentoo-releng

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-releng@l.g.o
Subject: Re: [gentoo-releng] oss in make.defaults for 2006.0?
Date: Sat, 26 Nov 2005 23:29:55
Message-Id: 1133047700.19957.35.camel@vertigo.twi-31o2.org
In Reply to: Re: [gentoo-releng] oss in make.defaults for 2006.0? by Michiel de Bruijne
1 On Sat, 2005-11-26 at 09:32 +0100, Michiel de Bruijne wrote:
2 > > There's no way that we can make, for example, Return to Castle
3 > > Wolfenstein or Enemy Territory, both of which are extremely popular, use
4 > > ALSA natively. They *do* work with ALSA compiled with USE="oss" or with
5 > > alsa-oss installed. As far as I know, the oss USE flag on ALSA only
6 > > enables the alsa-oss dependency.
7 >
8 > All the systems I maintain have -oss and don't have alsa-oss installed (I do
9 > have activated OSS emulation in the kernel though). All the games I have
10 > installed on those systems (including RTCW and ET) work perfectly. That
11 > doesn't off course say that all Gentoo-based systems or all games work
12 > without problems, but I'm trying to say that the dependency on alsa might not
13 > be as necessary as you seem to think.
14
15 Having OSS emulation in the kernel is the same as merging alsa-oss if
16 using alsa-driver.
17
18 > > > > For the programs that are oss-only a useflag shouldn't even exists,
19 > > > > because it's not optional.
20 > >
21 > > For those applications, correct. However, I have shown a good reason
22 > > for it. Unless we simply tell anyone to always merge alsa-oss if they
23 > > want to play games, which isn't exactly a "works out of the box"
24 > > solution. I can think of a few scenarios we could employ to work around
25 > > this, but they aren't nearly as clean as simply having OSS in the
26 > > default USE. Personally, I think it should stay until it is removed
27 > > from the kernel, and even then, it must stay so long as we are
28 > > supporting 2.4 kernels which do not have ALSA, such as vanilla-sources.
29 >
30 > Shouldn't 2.4 users use a 2.4 profile? (if they don't they have other
31 > "challenges" as well e.g. udev vs. devfs). oss turned on by default in a 2.4
32 > profile makes perfect sense to me.
33
34 They do. The point being that I would prefer not diverge them
35 significantly except in locations where necessary.
36
37 The real problem comes in with a game, such as enemy-territory, that
38 uses oss. If we remove oss from the default USE, we must have the game
39 check for either alsa-oss being installed, or check the kernel
40 configuration itself (yuck!). With it being a default, we can just
41 explain to the user that they need OSS support, as the default suggests.
42
43 I really would not have a problem with removing oss from the default USE
44 if someone can come up with a clean way of making sure the support is
45 there on these older binary games.
46
47 --
48 Chris Gianelloni
49 Release Engineering - Strategic Lead
50 x86 Architecture Team
51 Games - Developer
52 Gentoo Linux

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-releng] oss in make.defaults for 2006.0? "Spider (D.m.D. Lj.)" <spider@g.o>