* [gentoo-dev] Video4Linux and linux headers
@ 2005-04-18 0:07 Diego 'Flameeyes' Pettenò
2005-04-18 2:04 ` Mike Frysinger
0 siblings, 1 reply; 10+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-04-18 0:07 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
Hi,
I don't remember why I started looking at avifile this night, but while I was
at it, I found something which uncovers a bit of troubles with v4l useflag.
Summarizing:
v4l useflag enables Video4Linux support (usually webcams and tv cards) on many
multimedia softwares (like avifile, but not only).
As v4l is related to kernel, it needs kernel's headers to be used by software
(usually linux/videodev.h file).
V4L is not avaiable on non-linux systems.
Now, I was trying to add dependency on headers if v4l was used, but adding a
simple v4l? ( sys-kernel/linux-headers ) doesn't work as mips uses
mips-headers.
I'm not sure to use virtual/os-headers as it targets also non-linux headers.
But then joem and geoman pointed out that v4l should only be used on linux, so
it should be usemasked on other arches.
Now what? I'm going to ask here what to do with this. I think the right way
should be adding v4l to base/use.mask and then -v4l on
default-linux/use.mask, as it's strictly-linux thing.
--
Diego "Flameeyes" Pettenò
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-18 0:07 [gentoo-dev] Video4Linux and linux headers Diego 'Flameeyes' Pettenò
@ 2005-04-18 2:04 ` Mike Frysinger
2005-04-18 9:56 ` Diego 'Flameeyes' Pettenò
0 siblings, 1 reply; 10+ messages in thread
From: Mike Frysinger @ 2005-04-18 2:04 UTC (permalink / raw
To: gentoo-dev
On Sunday 17 April 2005 08:07 pm, Diego 'Flameeyes' Pettenò wrote:
> Now what? I'm going to ask here what to do with this. I think the right way
> should be adding v4l to base/use.mask and then -v4l on
> default-linux/use.mask, as it's strictly-linux thing.
this probably falls along side the USE refactoring someone else suggested
where we use.mask everything in base/use.mask that is arch-specific and only
unmask in appropriate profiles
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-18 2:04 ` Mike Frysinger
@ 2005-04-18 9:56 ` Diego 'Flameeyes' Pettenò
2005-04-18 18:27 ` Mike Frysinger
0 siblings, 1 reply; 10+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-04-18 9:56 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
On Monday 18 April 2005 04:04, Mike Frysinger wrote:
> this probably falls along side the USE refactoring someone else suggested
> where we use.mask everything in base/use.mask that is arch-specific and
> only unmask in appropriate profiles
So what? This, imho, should be done also for alsa and oss (just to take media
useflags which I'm more used to handle), which are linux (and obsd/nbsd, in
case of oss) specific.
I can get a list of flags to mask/unmask, if this is feasible, and commit them
in the next days, cleaning up deps.
--
Diego "Flameeyes" Pettenò
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-18 9:56 ` Diego 'Flameeyes' Pettenò
@ 2005-04-18 18:27 ` Mike Frysinger
2005-04-19 19:57 ` Diego 'Flameeyes' Pettenò
0 siblings, 1 reply; 10+ messages in thread
From: Mike Frysinger @ 2005-04-18 18:27 UTC (permalink / raw
To: gentoo-dev
On Monday 18 April 2005 05:56 am, Diego 'Flameeyes' Pettenò wrote:
> On Monday 18 April 2005 04:04, Mike Frysinger wrote:
> > this probably falls along side the USE refactoring someone else suggested
> > where we use.mask everything in base/use.mask that is arch-specific and
> > only unmask in appropriate profiles
>
> So what?
so what -> in other words, we should do this together instead of 1 USE flag at
a time :P
> This, imho, should be done also for alsa and oss (just to take
> media useflags which I'm more used to handle), which are linux (and
> obsd/nbsd, in case of oss) specific.
>
> I can get a list of flags to mask/unmask, if this is feasible, and commit
> them in the next days, cleaning up deps.
if by commit you mean the profiles then i think you should go make a list of
specific USE flags and drop it onto the gentoo-dev list before committing :p
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-18 18:27 ` Mike Frysinger
@ 2005-04-19 19:57 ` Diego 'Flameeyes' Pettenò
2005-04-19 20:16 ` Mike Frysinger
2005-04-19 23:06 ` Greg KH
0 siblings, 2 replies; 10+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-04-19 19:57 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 599 bytes --]
On Monday 18 April 2005 20:27, Mike Frysinger wrote:
> if by commit you mean the profiles then i think you should go make a list
> of specific USE flags and drop it onto the gentoo-dev list before
> committing :p:p -mike
Ok here we are :) This is the list of *global* flags which are linux specific:
alsa
direcfb
hal
lirc
lm_sensors
oss (common to netbsd/openbsd)
svga
sysfs
symlink
v4l
I'll try to find the local ones but they are quite.. many :P
--
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-19 19:57 ` Diego 'Flameeyes' Pettenò
@ 2005-04-19 20:16 ` Mike Frysinger
2005-04-20 11:46 ` Diego 'Flameeyes' Pettenò
2005-04-19 23:06 ` Greg KH
1 sibling, 1 reply; 10+ messages in thread
From: Mike Frysinger @ 2005-04-19 20:16 UTC (permalink / raw
To: gentoo-dev
On Tuesday 19 April 2005 03:57 pm, Diego 'Flameeyes' Pettenò wrote:
> This is the list of *global* flags which are linux specific:
erm i was trying to trick you into doing arch/os specific ones, not just os
specific :)
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-19 19:57 ` Diego 'Flameeyes' Pettenò
2005-04-19 20:16 ` Mike Frysinger
@ 2005-04-19 23:06 ` Greg KH
2005-04-19 23:31 ` Mike Frysinger
1 sibling, 1 reply; 10+ messages in thread
From: Greg KH @ 2005-04-19 23:06 UTC (permalink / raw
To: gentoo-dev; +Cc: vapier
On Tue, Apr 19, 2005 at 09:57:29PM +0200, Diego 'Flameeyes' Petten? wrote:
> On Monday 18 April 2005 20:27, Mike Frysinger wrote:
> > if by commit you mean the profiles then i think you should go make a list
> > of specific USE flags and drop it onto the gentoo-dev list before
> > committing :p:p -mike
>
> Ok here we are :) This is the list of *global* flags which are linux specific:
>
> sysfs
Ugh, why is this global? It looks like only DirectFB is using it, which
is hardly a reason to have a global use flag :(
Care to fix this?
thanks,
greg k-h
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-19 23:06 ` Greg KH
@ 2005-04-19 23:31 ` Mike Frysinger
0 siblings, 0 replies; 10+ messages in thread
From: Mike Frysinger @ 2005-04-19 23:31 UTC (permalink / raw
To: gentoo-dev
On Tuesday 19 April 2005 07:06 pm, Greg KH wrote:
> On Tue, Apr 19, 2005 at 09:57:29PM +0200, Diego 'Flameeyes' Petten? wrote:
> > On Monday 18 April 2005 20:27, Mike Frysinger wrote:
> > > if by commit you mean the profiles then i think you should go make a
> > > list of specific USE flags and drop it onto the gentoo-dev list before
> > > committing :p:p -mike
> >
> > Ok here we are :) This is the list of *global* flags which are linux
> > specific:
> >
> > sysfs
>
> Ugh, why is this global? It looks like only DirectFB is using it, which
> is hardly a reason to have a global use flag :(
my fault, i'll fix
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-19 20:16 ` Mike Frysinger
@ 2005-04-20 11:46 ` Diego 'Flameeyes' Pettenò
2005-04-20 12:20 ` Jan Kundrát
0 siblings, 1 reply; 10+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-04-20 11:46 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 645 bytes --]
On Tuesday 19 April 2005 22:16, Mike Frysinger wrote:
> erm i was trying to trick you into doing arch/os specific ones, not just os
> specific :):)
I think the only arch-specific ones I know on global are the
mmx/mmxex/mmx2/3dnow/3dnowex/sse flags.
I really don't know what other can be removed as I'm not exactly an expert of
other arches, as I only have x86/amd64/ppc (and this one hasn't linux for
now).
I'll see the local useflags later, there there can be some useflag I know are
arch specific.
--
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Video4Linux and linux headers
2005-04-20 11:46 ` Diego 'Flameeyes' Pettenò
@ 2005-04-20 12:20 ` Jan Kundrát
0 siblings, 0 replies; 10+ messages in thread
From: Jan Kundrát @ 2005-04-20 12:20 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
Diego 'Flameeyes' Pettenò wrote:
> I think the only arch-specific ones I know on global are the
> mmx/mmxex/mmx2/3dnow/3dnowex/sse flags.
Maybe also "altivec"?
-jkt
--
cd /local/pub && more beer > /dev/mouth
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-04-20 12:20 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-18 0:07 [gentoo-dev] Video4Linux and linux headers Diego 'Flameeyes' Pettenò
2005-04-18 2:04 ` Mike Frysinger
2005-04-18 9:56 ` Diego 'Flameeyes' Pettenò
2005-04-18 18:27 ` Mike Frysinger
2005-04-19 19:57 ` Diego 'Flameeyes' Pettenò
2005-04-19 20:16 ` Mike Frysinger
2005-04-20 11:46 ` Diego 'Flameeyes' Pettenò
2005-04-20 12:20 ` Jan Kundrát
2005-04-19 23:06 ` Greg KH
2005-04-19 23:31 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox