public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
@ 2006-11-30 21:17 Diego 'Flameeyes' Pettenò
  2006-11-30 21:40 ` Marius Mauch
  0 siblings, 1 reply; 11+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2006-11-30 21:17 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2330 bytes --]

Today I added a 1.0.13_pre20061130 pre-release version of alsa-driver, and I 
noticed that we currently don't have ALSA_CARDS as IUSE-expanded variable, 
and that people aren't aware of which drivers are available during build.

An easy testing shows me that it works fine:

Calculating dependencies... done!
[ebuild   R   ] media-sound/alsa-driver-1.0.14_pre20061130  USE="-debug -doc 
oss" 
ALSA_CARDS="-ad1816a% -ad1848% -ad1848-lib% -ad1889% -adlib% -ali5451% -als100% -als300% -als4000% -aoa% -aoa-fabric-layout% -aoa-onyx% -aoa-soundbus% -aoa-soundbus-i2s% -aoa-tas% -aoa-toonie% -armaaci% -asihpi% -at91-soc% -at91-soc-eti-b1-wm8731% -atiixp% -atiixp-modem% -au1x00% -au8810% -au8820% -au8830% -azt2320% -azt3328% 
bt87x%* -ca0106% -cmi8330% -cmipci% -cs4231% -cs4231-lib% -cs4232% -cs4236% -cs4281% -cs46xx% -cs5535audio% -darla20% -darla24% -dt019x% -dummy% -echo3g% -emu10k1% -emu10k1x% -ens1370% -ens1371% -es1688% -es18xx% -es1938% -es1968% -es968% -fm801% -fm801-tea575x% -gina20% -gina24% -gusclassic% -gusextreme% -gusmax% -harmony% -hda-intel% -hdsp% -hdspm% -ice1712% -ice1724% -indigo% -indigodj% -indigoio% -intel8x0% -intel8x0m% -interwave% -interwave-stb% -korg1212% -layla20% -layla24% -loopback% -maestro3% -mia% -miro% -mixart% -mona% -mpu401% -msnd-pinnacle% -mtpav% -mts64% -nm256% -opl3sa2% -opti92x-ad1848% -opti92x-cs4231% -opti93x% -pc98-cs4232% -pcsp% -pcxhr% -pdaudiocf% -pdplus% -portman2x4% -powermac% -pxa2xx-i2sound% -pxa2xx-soc% -pxa2xx-soc-corgi% -pxa2xx-soc-poodle% -pxa2xx-soc-spitz% -pxa2xx-soc-tosa% -riptide% -rme32% -rme96% -rme9652% -s3c2410% -sa11xx-uda1341% -sb16% -sb8% -sbawe% -seq-dummy% -serial-u16550% -serialmidi% -sgalaxy% -soc% -sonicvibes% -sscape% -sun-amd7930% -sun-cs4231% -sun-dbri% -trident% -usb-audio% -usb-usx2y% 
via82xx%* -via82xx-modem% -virmidi% -vx222% -vxpocket% -wavefront% -ymfpci%" 
0 kB

and the concern that stopped me last time (we use ALSA_CARDS useflag not the 
single value with use function) is now gone (portage 2.1.1 handle this fine 
even if users change the values using package.use as they were useflags -- 
checked it myself, it works).

Anybody has any reason not to add this to USE_EXPAND ?

-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, Sound, ALSA, PAM, KDE, CJK, Ruby ...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-11-30 21:17 [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND Diego 'Flameeyes' Pettenò
@ 2006-11-30 21:40 ` Marius Mauch
  2006-11-30 21:45   ` Diego 'Flameeyes' Pettenò
  2006-12-01 13:22   ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
  0 siblings, 2 replies; 11+ messages in thread
From: Marius Mauch @ 2006-11-30 21:40 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]

On Thu, 30 Nov 2006 22:17:29 +0100
"Diego 'Flameeyes' Pettenò" <flameeyes@gentoo.org> wrote:

> Today I added a 1.0.13_pre20061130 pre-release version of
> alsa-driver, and I noticed that we currently don't have ALSA_CARDS as
> IUSE-expanded variable, and that people aren't aware of which drivers
> are available during build.
> 
> An easy testing shows me that it works fine:
> 
> Calculating dependencies... done!
> [ebuild   R   ] media-sound/alsa-driver-1.0.14_pre20061130
> USE="-debug -doc oss" 
> ALSA_CARDS="-ad1816a% -ad1848% -ad1848-lib% -ad1889% -adlib%
> -ali5451% -als100% -als300% -als4000% -aoa% -aoa-fabric-layout%
> -aoa-onyx% -aoa-soundbus% -aoa-soundbus-i2s% -aoa-tas% -aoa-toonie%
> -armaaci% -asihpi% -at91-soc% -at91-soc-eti-b1-wm8731% -atiixp%
> -atiixp-modem% -au1x00% -au8810% -au8820% -au8830% -azt2320%
> -azt3328% bt87x%* -ca0106% -cmi8330% -cmipci% -cs4231% -cs4231-lib%
> -cs4232% -cs4236% -cs4281% -cs46xx% -cs5535audio% -darla20% -darla24%
> -dt019x% -dummy% -echo3g% -emu10k1% -emu10k1x% -ens1370% -ens1371%
> -es1688% -es18xx% -es1938% -es1968% -es968% -fm801% -fm801-tea575x%
> -gina20% -gina24% -gusclassic% -gusextreme% -gusmax% -harmony%
> -hda-intel% -hdsp% -hdspm% -ice1712% -ice1724% -indigo% -indigodj%
> -indigoio% -intel8x0% -intel8x0m% -interwave% -interwave-stb%
> -korg1212% -layla20% -layla24% -loopback% -maestro3% -mia% -miro%
> -mixart% -mona% -mpu401% -msnd-pinnacle% -mtpav% -mts64% -nm256%
> -opl3sa2% -opti92x-ad1848% -opti92x-cs4231% -opti93x% -pc98-cs4232%
> -pcsp% -pcxhr% -pdaudiocf% -pdplus% -portman2x4% -powermac%
> -pxa2xx-i2sound% -pxa2xx-soc% -pxa2xx-soc-corgi% -pxa2xx-soc-poodle%
> -pxa2xx-soc-spitz% -pxa2xx-soc-tosa% -riptide% -rme32% -rme96%
> -rme9652% -s3c2410% -sa11xx-uda1341% -sb16% -sb8% -sbawe% -seq-dummy%
> -serial-u16550% -serialmidi% -sgalaxy% -soc% -sonicvibes% -sscape%
> -sun-amd7930% -sun-cs4231% -sun-dbri% -trident% -usb-audio%
> -usb-usx2y% via82xx%* -via82xx-modem% -virmidi% -vx222% -vxpocket%
> -wavefront% -ymfpci%" 0 kB
> 
> and the concern that stopped me last time (we use ALSA_CARDS useflag
> not the single value with use function) is now gone (portage 2.1.1
> handle this fine even if users change the values using package.use as
> they were useflags -- checked it myself, it works).
> 
> Anybody has any reason not to add this to USE_EXPAND ?

Not if you take care of providing the proper defaults in
make.defaults (the sample above should not be the default).

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-11-30 21:40 ` Marius Mauch
@ 2006-11-30 21:45   ` Diego 'Flameeyes' Pettenò
  2006-12-01  7:25     ` Petteri Räty
  2006-12-01 13:22   ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
  1 sibling, 1 reply; 11+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2006-11-30 21:45 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

On Thursday 30 November 2006 22:40, Marius Mauch wrote:
> Not if you take care of providing the proper defaults in
> make.defaults (the sample above should not be the default).
Forgot to say, if no ALSA_CARDS is set, the default is enabling everything 
(alsa's default)

-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, Sound, ALSA, PAM, KDE, CJK, Ruby ...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-11-30 21:45   ` Diego 'Flameeyes' Pettenò
@ 2006-12-01  7:25     ` Petteri Räty
  2006-12-01 12:55       ` Diego 'Flameeyes' Pettenò
  0 siblings, 1 reply; 11+ messages in thread
From: Petteri Räty @ 2006-12-01  7:25 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

Diego 'Flameeyes' Pettenò kirjoitti:
> On Thursday 30 November 2006 22:40, Marius Mauch wrote:
>> Not if you take care of providing the proper defaults in
>> make.defaults (the sample above should not be the default).
> Forgot to say, if no ALSA_CARDS is set, the default is enabling everything 
> (alsa's default)
> 

It should give you what the emerge -pv line says. If it says nothing is
enabled then, it should not give you everything. This is because other
USE_EXPANDed stuff works this way.

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-12-01  7:25     ` Petteri Räty
@ 2006-12-01 12:55       ` Diego 'Flameeyes' Pettenò
  2006-12-01 13:01         ` Ciaran McCreesh
  0 siblings, 1 reply; 11+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2006-12-01 12:55 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

On Friday 01 December 2006 08:25, Petteri Räty wrote:
> It should give you what the emerge -pv line says. If it says nothing is
> enabled then, it should not give you everything. This is because other
> USE_EXPANDed stuff works this way.
Err, LINGUAS does not work this way for smaller packages (you ask nothing you 
get everything to be safe), and last I knew also INPUT_DRIVERS had that...

-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, Sound, ALSA, PAM, KDE, CJK, Ruby ...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-12-01 12:55       ` Diego 'Flameeyes' Pettenò
@ 2006-12-01 13:01         ` Ciaran McCreesh
  2006-12-01 13:16           ` Diego 'Flameeyes' Pettenò
  0 siblings, 1 reply; 11+ messages in thread
From: Ciaran McCreesh @ 2006-12-01 13:01 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

On Fri, 1 Dec 2006 13:55:15 +0100 "Diego 'Flameeyes' Pettenò"
<flameeyes@gentoo.org> wrote:
| On Friday 01 December 2006 08:25, Petteri Räty wrote:
| > It should give you what the emerge -pv line says. If it says
| > nothing is enabled then, it should not give you everything. This is
| > because other USE_EXPANDed stuff works this way.
|
| Err, LINGUAS does not work this way for smaller packages (you ask
| nothing you get everything to be safe), and last I knew also
| INPUT_DRIVERS had that...

That's not really a reason not to do it for ALSA_CARDS, since it's so
easy in this particular case...

-- 
Ciaran McCreesh
Mail                : ciaranm at ciaranm.org
Web                 : http://ciaranm.org/
as-needed is broken : http://ciaranm.org/show_post.pl?post_id=13


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-12-01 13:01         ` Ciaran McCreesh
@ 2006-12-01 13:16           ` Diego 'Flameeyes' Pettenò
  2006-12-06  9:08             ` [gentoo-dev] " Steve Long
  0 siblings, 1 reply; 11+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2006-12-01 13:16 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

On Friday 01 December 2006 14:01, Ciaran McCreesh wrote:
> That's not really a reason not to do it for ALSA_CARDS, since it's so
> easy in this particular case...
Uh, no.
Because the cards supported changes from release to release.

Although yes from one side it's easy to provide some more or less sane 
defaults, I'd rather stick with -* representing all cards.

-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, Sound, ALSA, PAM, KDE, CJK, Ruby ...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-11-30 21:40 ` Marius Mauch
  2006-11-30 21:45   ` Diego 'Flameeyes' Pettenò
@ 2006-12-01 13:22   ` Diego 'Flameeyes' Pettenò
  2006-12-01 14:46     ` Luca Barbato
  2006-12-06  0:08     ` Jason Wever
  1 sibling, 2 replies; 11+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2006-12-01 13:22 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]

On Thursday 30 November 2006 22:40, Marius Mauch wrote:
> Not if you take care of providing the proper defaults in
> make.defaults (the sample above should not be the default).
Okay, let's get with a non-complete default, it would probably also help as 
you won't need PNP support on x86 and amd64 kernels by default...

For x86/amd64, I think this would cover a good part of users, but I'm open for 
better suggestion from arch teams:

ali5451 atiixp atiixp-modem cmipci emu10k1 emu10k1x ens1370 ens1371 fm801 
hda-intel intel8x0 intel8x0m maestro3 mpu401 usb-audio via82xx via82xx-modem

For PPC, at least the following for Apple platforms, if someone has 
suggestions for other PPC non-Apple platforms they are welcome

aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas 
aoa-toonie powermac

For SPARC, I'd say at lesat the following by their name, but also here I'd 
leave to the arch team to provide suggestions

sun-amd7930 sun-cs4231 sun-dbri

other arches, please advise.

-- 
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, Sound, ALSA, PAM, KDE, CJK, Ruby ...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-12-01 13:22   ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
@ 2006-12-01 14:46     ` Luca Barbato
  2006-12-06  0:08     ` Jason Wever
  1 sibling, 0 replies; 11+ messages in thread
From: Luca Barbato @ 2006-12-01 14:46 UTC (permalink / raw
  To: gentoo-dev

Diego 'Flameeyes' Pettenò wrote:
> 
> aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas 
> aoa-toonie powermac
> 

add usb-audio

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-12-01 13:22   ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
  2006-12-01 14:46     ` Luca Barbato
@ 2006-12-06  0:08     ` Jason Wever
  1 sibling, 0 replies; 11+ messages in thread
From: Jason Wever @ 2006-12-06  0:08 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

On Fri, 1 Dec 2006 14:22:23 +0100
"Diego 'Flameeyes' Pettenò" <flameeyes@gentoo.org> wrote:

> For SPARC, I'd say at lesat the following by their name, but also
> here I'd leave to the arch team to provide suggestions

Please add ali5451 as this is used on Blade 100 and Blade 150 Sun
workstations.

Thanks,
-- 
Jason Wever
Gentoo/Sparc Team Co-Lead

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-dev]  Re: [RFC] Add ALSA_CARDS to USE_EXPAND
  2006-12-01 13:16           ` Diego 'Flameeyes' Pettenò
@ 2006-12-06  9:08             ` Steve Long
  0 siblings, 0 replies; 11+ messages in thread
From: Steve Long @ 2006-12-06  9:08 UTC (permalink / raw
  To: gentoo-dev

Diego 'Flameeyes' Pettenò wrote:

> On Friday 01 December 2006 14:01, Ciaran McCreesh wrote:
>> That's not really a reason not to do it for ALSA_CARDS, since it's so
>> easy in this particular case...
> Uh, no.
> Because the cards supported changes from release to release.
> 
> Although yes from one side it's easy to provide some more or less sane
> defaults, I'd rather stick with -* representing all cards.
> 
There should definitely be /something/ representing all cards; as you say,
the cards supported change.


-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-12-06  9:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-30 21:17 [gentoo-dev] [RFC] Add ALSA_CARDS to USE_EXPAND Diego 'Flameeyes' Pettenò
2006-11-30 21:40 ` Marius Mauch
2006-11-30 21:45   ` Diego 'Flameeyes' Pettenò
2006-12-01  7:25     ` Petteri Räty
2006-12-01 12:55       ` Diego 'Flameeyes' Pettenò
2006-12-01 13:01         ` Ciaran McCreesh
2006-12-01 13:16           ` Diego 'Flameeyes' Pettenò
2006-12-06  9:08             ` [gentoo-dev] " Steve Long
2006-12-01 13:22   ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2006-12-01 14:46     ` Luca Barbato
2006-12-06  0:08     ` Jason Wever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox