public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] 2.6.0 kernel and alsa-driver
@ 2003-09-28  2:46 Jason Stubbs
  2003-09-28  4:51 ` Marius Mauch
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Stubbs @ 2003-09-28  2:46 UTC (permalink / raw
  To: gentoo-dev

Hello all,

There is a discepancy in the way that mm-sources and development-sources 
handles virtual/alsa. Have a look:

bash-2.05b$ grep alsa /usr/portage/sys-kernel/development-sources/
development-sources-2.6.0_beta5-r11.ebuild
IUSE="alsa"
[ -n "$(use alsa)" ] && PROVIDE="${PROVIDE} virtual/alsa"

bash-2.05b$ grep alsa /usr/portage/sys-kernel/mm-sources/
mm-sources-2.6.0_beta5-r4.ebuild
                virtual/alsa"

In other words, development-sources will provide virtual/alsa only if the use 
flag is set when it is emerged. mm-sources, however, will provide virtual/
alsa regardless. Which is the correct behaviour?

Personally, I think mm-sources is the better option. The reason being if a 
user decides to use alsa after emerging development-sources by adding alsa to 
the use flags, portage will see no virtual/alsa and try and pull in 
alsa-driver.

Any opinions before I post a bug?

Regards,
Jason

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] 2.6.0 kernel and alsa-driver
  2003-09-28  2:46 [gentoo-dev] 2.6.0 kernel and alsa-driver Jason Stubbs
@ 2003-09-28  4:51 ` Marius Mauch
  2003-09-28  9:29   ` Jason Stubbs
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Mauch @ 2003-09-28  4:51 UTC (permalink / raw
  To: gentoo-dev

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

On 09/28/03  Jason Stubbs wrote:

> Hello all,
> 
> There is a discepancy in the way that mm-sources and
> development-sources handles virtual/alsa. Have a look:
> 
> bash-2.05b$ grep alsa /usr/portage/sys-kernel/development-sources/
> development-sources-2.6.0_beta5-r11.ebuild
> IUSE="alsa"
> [ -n "$(use alsa)" ] && PROVIDE="${PROVIDE} virtual/alsa"
> 
> bash-2.05b$ grep alsa /usr/portage/sys-kernel/mm-sources/
> mm-sources-2.6.0_beta5-r4.ebuild
>                 virtual/alsa"
> 
> In other words, development-sources will provide virtual/alsa only if
> the use flag is set when it is emerged. mm-sources, however, will
> provide virtual/ alsa regardless. Which is the correct behaviour?
> 
> Personally, I think mm-sources is the better option. The reason being
> if a user decides to use alsa after emerging development-sources by
> adding alsa to the use flags, portage will see no virtual/alsa and try
> and pull in alsa-driver.
> 
> Any opinions before I post a bug?

PROVIDE should not be conditional and it doesn't even make sense in this
case as the kernel has alsa modules independent of the alsa USE flag. So
file a bug for development sources.

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: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] 2.6.0 kernel and alsa-driver
  2003-09-28  4:51 ` Marius Mauch
@ 2003-09-28  9:29   ` Jason Stubbs
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Stubbs @ 2003-09-28  9:29 UTC (permalink / raw
  To: gentoo-dev

On Sunday 28 September 2003 13:51, Marius Mauch wrote:
> PROVIDE should not be conditional and it doesn't even make sense in this
> case as the kernel has alsa modules independent of the alsa USE flag. So
> file a bug for development sources.

Bug submitted.
http://bugs.gentoo.org/show_bug.cgi?id=29790

Jason

--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2003-09-28  9:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-28  2:46 [gentoo-dev] 2.6.0 kernel and alsa-driver Jason Stubbs
2003-09-28  4:51 ` Marius Mauch
2003-09-28  9:29   ` Jason Stubbs

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