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

2006-06-05 Thread Matteo Azzali
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



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

2006-06-05 Thread Mike Frysinger
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


pgplS49zhZlYF.pgp
Description: PGP signature


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

2006-06-05 Thread Matteo Azzali
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



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

2006-06-04 Thread Mike Frysinger
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


pgp8cjmq5iMBe.pgp
Description: PGP signature


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

2006-06-04 Thread Matteo Azzali
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



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

2006-06-04 Thread Mike Frysinger
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


pgpJguhwqrXMM.pgp
Description: PGP signature


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

2006-06-04 Thread Diego 'Flameeyes' Pettenò
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


pgpEqyAQhunfd.pgp
Description: PGP signature


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

2006-06-04 Thread Alec Warner

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



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

2006-06-04 Thread Mike Frysinger
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


pgp2NVCysmPcO.pgp
Description: PGP signature


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

2006-06-04 Thread Matteo Azzali
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



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

2006-06-04 Thread Jakub Moc
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



signature.asc
Description: OpenPGP digital signature


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

2006-06-04 Thread Doug Goldstein
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 [EMAIL PROTECTED]
http://dev.gentoo.org/~cardoe/



signature.asc
Description: OpenPGP digital signature


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

2006-06-04 Thread Mike Frysinger
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


pgpz819BrzzN3.pgp
Description: PGP signature


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

2006-06-04 Thread Harald van Dijk
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



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

2006-06-02 Thread Simon Stelling
You forgot to mention which package uses the variable.

-- 
Kind Regards,

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



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

2006-06-02 Thread Jakub Moc
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



signature.asc
Description: OpenPGP digital signature