public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
@ 2006-06-01 23:37 Matteo Azzali
  2006-06-02  9:59 ` Simon Stelling
  2006-06-04  8:35 ` Mike Frysinger
  0 siblings, 2 replies; 17+ messages in thread
From: Matteo Azzali @ 2006-06-01 23:37 UTC (permalink / raw
  To: gentoo-dev

XMLTV_OPTS isn't accessible anymore through the ebuild (tomorrow it
was....).
So I'll need a TV_GRAB expanded variable to avoid having 200 local flags.

Anyone has something against the addition of such variable into
|"profiles/base/make.default" ?

mattepiu
|
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-01 23:37 [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv Matteo Azzali
@ 2006-06-02  9:59 ` Simon Stelling
  2006-06-02 10:05   ` Jakub Moc
  2006-06-04  8:35 ` Mike Frysinger
  1 sibling, 1 reply; 17+ messages in thread
From: Simon Stelling @ 2006-06-02  9:59 UTC (permalink / raw
  To: gentoo-dev

You forgot to mention which package uses the variable.

-- 
Kind Regards,

Simon Stelling
Gentoo/AMD64 Developer
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-02  9:59 ` Simon Stelling
@ 2006-06-02 10:05   ` Jakub Moc
  0 siblings, 0 replies; 17+ messages in thread
From: Jakub Moc @ 2006-06-02 10:05 UTC (permalink / raw
  To: gentoo-dev

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

Simon Stelling wrote:
> You forgot to mention which package uses the variable.
> 

Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv

;)


-- 

jakub


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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-01 23:37 [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv Matteo Azzali
  2006-06-02  9:59 ` Simon Stelling
@ 2006-06-04  8:35 ` Mike Frysinger
  2006-06-04 10:03   ` Matteo Azzali
  1 sibling, 1 reply; 17+ messages in thread
From: Mike Frysinger @ 2006-06-04  8:35 UTC (permalink / raw
  To: gentoo-dev; +Cc: Matteo Azzali

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

On Thursday 01 June 2006 19:37, Matteo Azzali wrote:
> XMLTV_OPTS isn't accessible anymore through the ebuild (tomorrow it
> was....).
> So I'll need a TV_GRAB expanded variable to avoid having 200 local flags.

how about a better variable name ?  TV_GRAB is kind of awful
-mike

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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04  8:35 ` Mike Frysinger
@ 2006-06-04 10:03   ` Matteo Azzali
  2006-06-04 12:56     ` Mike Frysinger
  0 siblings, 1 reply; 17+ messages in thread
From: Matteo Azzali @ 2006-06-04 10:03 UTC (permalink / raw
  To: gentoo-dev

Well, TV_GRAB is synthetical , but explains what this variable
is,however, how about TV_GRABBER or
TV_LOCALE or TV_GRABBER_LOC ?

Any suggestion is listened....

-mattepiu

Mike Frysinger wrote:
> On Thursday 01 June 2006 19:37, Matteo Azzali wrote:
>   
>> XMLTV_OPTS isn't accessible anymore through the ebuild (tomorrow it
>> was....).
>> So I'll need a TV_GRAB expanded variable to avoid having 200 local flags.
>>     
>
> how about a better variable name ?  TV_GRAB is kind of awful
> -mike
>   

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 10:03   ` Matteo Azzali
@ 2006-06-04 12:56     ` Mike Frysinger
  2006-06-04 12:59       ` Diego 'Flameeyes' Pettenò
  0 siblings, 1 reply; 17+ messages in thread
From: Mike Frysinger @ 2006-06-04 12:56 UTC (permalink / raw
  To: gentoo-dev; +Cc: Matteo Azzali

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

On Sunday 04 June 2006 06:03, Matteo Azzali wrote:
> Well, TV_GRAB is synthetical , but explains what this variable
> is,however, how about TV_GRABBER or
> TV_LOCALE or TV_GRABBER_LOC ?

all same quality

what about TV_CAPTURE_CARDS
-mike

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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 12:56     ` Mike Frysinger
@ 2006-06-04 12:59       ` Diego 'Flameeyes' Pettenò
  2006-06-04 13:21         ` Alec Warner
  2006-06-04 14:34         ` Mike Frysinger
  0 siblings, 2 replies; 17+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2006-06-04 12:59 UTC (permalink / raw
  To: gentoo-dev

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

On Sunday 04 June 2006 14:56, Mike Frysinger wrote:
> what about TV_CAPTURE_CARDS
You got it quite wrong, it's not about the TV cards :)
It's about TV guide grabbers.

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

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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 12:59       ` Diego 'Flameeyes' Pettenò
@ 2006-06-04 13:21         ` Alec Warner
  2006-06-04 14:34         ` Mike Frysinger
  1 sibling, 0 replies; 17+ messages in thread
From: Alec Warner @ 2006-06-04 13:21 UTC (permalink / raw
  To: gentoo-dev

Diego 'Flameeyes' Pettenò wrote:
> On Sunday 04 June 2006 14:56, Mike Frysinger wrote:
> 
>>what about TV_CAPTURE_CARDS
> 
> You got it quite wrong, it's not about the TV cards :)
> It's about TV guide grabbers.
> 

TV_GUIDE_GRABBERS

see that was easy ;)
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 12:59       ` Diego 'Flameeyes' Pettenò
  2006-06-04 13:21         ` Alec Warner
@ 2006-06-04 14:34         ` Mike Frysinger
  2006-06-04 19:08           ` Matteo Azzali
  1 sibling, 1 reply; 17+ messages in thread
From: Mike Frysinger @ 2006-06-04 14:34 UTC (permalink / raw
  To: gentoo-dev

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

On Sunday 04 June 2006 08:59, Diego 'Flameeyes' Pettenò wrote:
> On Sunday 04 June 2006 14:56, Mike Frysinger wrote:
> > what about TV_CAPTURE_CARDS
>
> You got it quite wrong, it's not about the TV cards :)
> It's about TV guide grabbers.


then i guess Matteo's assumption that 'TV_GRAB' was self-explanatory was a bit 
off ;)

how portable are TV guide grabbers ?  in other words, if xmltv is the only one  
using this stuff, i say force the maintainer to use a lot of local use 
variables rather than bloat the rest of the tree
-mike

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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 14:34         ` Mike Frysinger
@ 2006-06-04 19:08           ` Matteo Azzali
  2006-06-04 19:43             ` Jakub Moc
  0 siblings, 1 reply; 17+ messages in thread
From: Matteo Azzali @ 2006-06-04 19:08 UTC (permalink / raw
  To: gentoo-dev

Repoman considers "lots of local variables" as an error, I was pointed
to expanded vars as a solution.
If no developers has something against I'll be happy to use 28 local
flags!!!!

mattepiu


Mike Frysinger wrote:
> On Sunday 04 June 2006 08:59, Diego 'Flameeyes' Pettenò wrote:
>   
>> On Sunday 04 June 2006 14:56, Mike Frysinger wrote:
>>     
>>> what about TV_CAPTURE_CARDS
>>>       
>> You got it quite wrong, it's not about the TV cards :)
>> It's about TV guide grabbers.
>>     
>
>
> then i guess Matteo's assumption that 'TV_GRAB' was self-explanatory was a bit 
> off ;)
>
> how portable are TV guide grabbers ?  in other words, if xmltv is the only one  
> using this stuff, i say force the maintainer to use a lot of local use 
> variables rather than bloat the rest of the tree
> -mike
>   

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 19:08           ` Matteo Azzali
@ 2006-06-04 19:43             ` Jakub Moc
  2006-06-05  0:36               ` Doug Goldstein
                                 ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Jakub Moc @ 2006-06-04 19:43 UTC (permalink / raw
  To: gentoo-dev

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

Matteo Azzali wrote:
> Repoman considers "lots of local variables" as an error, I was pointed
> to expanded vars as a solution.
> If no developers has something against I'll be happy to use 28 local
> flags!!!!
> 
> mattepiu

Well uh, no please.... Don't create 28 local use flags for one ebuild,
use.local.desc is cluttered enough as it is... :)

Otherwise, I'd say you've misunderstood the repoman output, you probably
didn't put them into use.local.desc when testing your local stuff.


-- 

jakub


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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 19:43             ` Jakub Moc
@ 2006-06-05  0:36               ` Doug Goldstein
  2006-06-05  5:58                 ` Harald van Dijk
  2006-06-05 11:50                 ` Matteo Azzali
  2006-06-05  1:52               ` Mike Frysinger
  2006-06-05 10:01               ` Matteo Azzali
  2 siblings, 2 replies; 17+ messages in thread
From: Doug Goldstein @ 2006-06-05  0:36 UTC (permalink / raw
  To: gentoo-dev

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

Jakub Moc wrote:
> Matteo Azzali wrote:
>> Repoman considers "lots of local variables" as an error, I was pointed
>> to expanded vars as a solution.
>> If no developers has something against I'll be happy to use 28 local
>> flags!!!!
>>
>> mattepiu
> 
> Well uh, no please.... Don't create 28 local use flags for one ebuild,
> use.local.desc is cluttered enough as it is... :)
> 
> Otherwise, I'd say you've misunderstood the repoman output, you probably
> didn't put them into use.local.desc when testing your local stuff.
> 
> 
My plan with xmltv was to USE locales since the xmltv grabbers actually
use the same locale codes (i.e. "de" for the German ones). Granted
there's some differences (two "de" grabbers and they're called
xmltv_de_something and xmltv_de_something else). However the "de" locale
setting would turn both on.

I think that's the best option. But I just haven't had enough time to do it.

-- 
Doug Goldstein <cardoe@gentoo.org>
http://dev.gentoo.org/~cardoe/


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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 19:43             ` Jakub Moc
  2006-06-05  0:36               ` Doug Goldstein
@ 2006-06-05  1:52               ` Mike Frysinger
  2006-06-05 10:01               ` Matteo Azzali
  2 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger @ 2006-06-05  1:52 UTC (permalink / raw
  To: gentoo-dev

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

On Sunday 04 June 2006 15:43, Jakub Moc wrote:
> Matteo Azzali wrote:
> > Repoman considers "lots of local variables" as an error, I was pointed
> > to expanded vars as a solution.

you did something wrong then ... there is no such error "lots of local 
variables" ... and if there is such an errro, then repoman is broken

> > If no developers has something against I'll be happy to use 28 local
> > flags!!!!
>
> Well uh, no please.... Don't create 28 local use flags for one ebuild

if it's the correct solution then it's the correct solution

a use-expanded variable for one package is a much worse solution

basing it off LINGUAS as proposed by cardoe seems like a workable solution
-mike

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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-05  0:36               ` Doug Goldstein
@ 2006-06-05  5:58                 ` Harald van Dijk
  2006-06-05 11:50                 ` Matteo Azzali
  1 sibling, 0 replies; 17+ messages in thread
From: Harald van Dijk @ 2006-06-05  5:58 UTC (permalink / raw
  To: gentoo-dev

On Sun, Jun 04, 2006 at 08:36:57PM -0400, Doug Goldstein wrote:
> Jakub Moc wrote:
> > Matteo Azzali wrote:
> >> Repoman considers "lots of local variables" as an error, I was pointed
> >> to expanded vars as a solution.
> >> If no developers has something against I'll be happy to use 28 local
> >> flags!!!!
> >>
> >> mattepiu
> > 
> > Well uh, no please.... Don't create 28 local use flags for one ebuild,
> > use.local.desc is cluttered enough as it is... :)
> > 
> > Otherwise, I'd say you've misunderstood the repoman output, you probably
> > didn't put them into use.local.desc when testing your local stuff.
> > 
> > 
> My plan with xmltv was to USE locales since the xmltv grabbers actually
> use the same locale codes (i.e. "de" for the German ones). Granted
> there's some differences (two "de" grabbers and they're called
> xmltv_de_something and xmltv_de_something else). However the "de" locale
> setting would turn both on.
> 
> I think that's the best option. But I just haven't had enough time to do it.

Please don't do that. LINGUAS is for translations, nothing more, and
using it for xmltv grabbers will be a huge pain for everyone using
different languages than implied by their locations.
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-04 19:43             ` Jakub Moc
  2006-06-05  0:36               ` Doug Goldstein
  2006-06-05  1:52               ` Mike Frysinger
@ 2006-06-05 10:01               ` Matteo Azzali
  2006-06-05 10:47                 ` Mike Frysinger
  2 siblings, 1 reply; 17+ messages in thread
From: Matteo Azzali @ 2006-06-05 10:01 UTC (permalink / raw
  To: gentoo-dev

The options are just :
1) local flags  or
2) expanded var.
3) I've also tried to reuse the "LINGUAS" expanded flag but is something
hackish: not enogh control to the ebuild,
people in foreign country can do nothing, there are some issues for
country with non-exclusive language
(think about switzerland, reunion island or south africa.....).

I happily let you choose which way is the best,please do it fast....

mattepiu




Jakub Moc wrote:
> Matteo Azzali wrote:
>   
>> Repoman considers "lots of local variables" as an error, I was pointed
>> to expanded vars as a solution.
>> If no developers has something against I'll be happy to use 28 local
>> flags!!!!
>>
>> mattepiu
>>     
>
> Well uh, no please.... Don't create 28 local use flags for one ebuild,
> use.local.desc is cluttered enough as it is... :)
>
> Otherwise, I'd say you've misunderstood the repoman output, you probably
> didn't put them into use.local.desc when testing your local stuff.
>
>
>   

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-05 10:01               ` Matteo Azzali
@ 2006-06-05 10:47                 ` Mike Frysinger
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger @ 2006-06-05 10:47 UTC (permalink / raw
  To: gentoo-dev; +Cc: Matteo Azzali

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

On Monday 05 June 2006 06:01, Matteo Azzali wrote:
> 1) local flags  or
> 2) expanded var.

if xmltv is the only package which would benefit from this, then you should 
use local flags
-mike

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

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

* Re: [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv
  2006-06-05  0:36               ` Doug Goldstein
  2006-06-05  5:58                 ` Harald van Dijk
@ 2006-06-05 11:50                 ` Matteo Azzali
  1 sibling, 0 replies; 17+ messages in thread
From: Matteo Azzali @ 2006-06-05 11:50 UTC (permalink / raw
  To: gentoo-dev

I already did it , check http://pastebin.com/759475 , but truedfx wrote :

"Please don't do that. LINGUAS is for translations, nothing more, and
using it for xmltv grabbers will be a huge pain for everyone using
different languages than implied by their locations."

My solution is 3 use flags, tv_check , tv_pick_cgi and onlinguas.
If onlinguas is set, ebuild will emerge based on LINGUAS, if is unset
it will emerge the complete XMLTV (deps and grabbers).


>From what vapier told, the only other viable alternative is local use
flag, and if I'll not get a different definitive answer
from anyone else before tomorrow, I'll follow vapier instructions (he's
Gentoo Base System Project Leader ....).

mattepiu


Doug Goldstein wrote:
> Jakub Moc wrote:
>   
>> Matteo Azzali wrote:
>>     
>>> Repoman considers "lots of local variables" as an error, I was pointed
>>> to expanded vars as a solution.
>>> If no developers has something against I'll be happy to use 28 local
>>> flags!!!!
>>>
>>> mattepiu
>>>       
>> Well uh, no please.... Don't create 28 local use flags for one ebuild,
>> use.local.desc is cluttered enough as it is... :)
>>
>> Otherwise, I'd say you've misunderstood the repoman output, you probably
>> didn't put them into use.local.desc when testing your local stuff.
>>
>>
>>     
> My plan with xmltv was to USE locales since the xmltv grabbers actually
> use the same locale codes (i.e. "de" for the German ones). Granted
> there's some differences (two "de" grabbers and they're called
> xmltv_de_something and xmltv_de_something else). However the "de" locale
> setting would turn both on.
>
> I think that's the best option. But I just haven't had enough time to do it.
>
>   

-- 
gentoo-dev@gentoo.org mailing list



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

end of thread, other threads:[~2006-06-05 11:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-01 23:37 [gentoo-dev] Need a use-expanded TV_GRAB variable for xmltv Matteo Azzali
2006-06-02  9:59 ` Simon Stelling
2006-06-02 10:05   ` Jakub Moc
2006-06-04  8:35 ` Mike Frysinger
2006-06-04 10:03   ` Matteo Azzali
2006-06-04 12:56     ` Mike Frysinger
2006-06-04 12:59       ` Diego 'Flameeyes' Pettenò
2006-06-04 13:21         ` Alec Warner
2006-06-04 14:34         ` Mike Frysinger
2006-06-04 19:08           ` Matteo Azzali
2006-06-04 19:43             ` Jakub Moc
2006-06-05  0:36               ` Doug Goldstein
2006-06-05  5:58                 ` Harald van Dijk
2006-06-05 11:50                 ` Matteo Azzali
2006-06-05  1:52               ` Mike Frysinger
2006-06-05 10:01               ` Matteo Azzali
2006-06-05 10:47                 ` Mike Frysinger

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