Re: [gobolinux-devel] Use flags specification

2008-04-15 Thread Michael Homer
On Tue, Apr 15, 2008 at 7:30 PM, Jonatan Liljedahl <[EMAIL PROTECTED]> wrote: > > Michael Homer wrote: > > On Tue, Apr 15, 2008 at 6:33 AM, Hisham <[EMAIL PROTECTED]> wrote: > >> On Mon, Apr 14, 2008 at 3:58 AM, Daniele Maccari <[EMAIL PROTECTED]> > wrote: > >> > Michael Homer wrote: > >> >

Re: [gobolinux-devel] Use flags specification

2008-04-15 Thread Jonatan Liljedahl
Michael Homer wrote: > On Tue, Apr 15, 2008 at 6:33 AM, Hisham <[EMAIL PROTECTED]> wrote: >> On Mon, Apr 14, 2008 at 3:58 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: >> > Michael Homer wrote: >> > > It would be silly to write that, since the flag definitely won't be >> > > enabled by defaul

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Michael Homer
On Tue, Apr 15, 2008 at 6:33 AM, Hisham <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 3:58 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > > Michael Homer wrote: > > > It would be silly to write that, since the flag definitely won't be > > > enabled by default. -gtk1 won't do anything

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Michael Homer
On Tue, Apr 15, 2008 at 6:26 AM, Hisham <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 5:09 AM, Michael Homer <[EMAIL PROTECTED]> wrote: > > On Sun, Apr 13, 2008 at 8:03 PM, jan <[EMAIL PROTECTED]> wrote: > > > On Saturday 12 April 2008 20:06:10 Michael Homer wrote: > > > > The environm

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Daniele Maccari
Hisham wrote: > If they're not "real" in the sense that they are not Gentoo-equivalent > use flags, then yes, they're not. But if they're not use flags, then > what are they? I find it better to keep the name than to just invent a > name and have to explain it to people like "well, they're basicall

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Hisham
On Mon, Apr 14, 2008 at 3:58 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > Michael Homer wrote: > > It would be silly to write that, since the flag definitely won't be > > enabled by default. -gtk1 won't do anything unless you've already > > enabled it yourself earlier in the file. > > -Mich

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Hisham
On Mon, Apr 14, 2008 at 5:09 AM, Michael Homer <[EMAIL PROTECTED]> wrote: > On Sun, Apr 13, 2008 at 8:03 PM, jan <[EMAIL PROTECTED]> wrote: > > On Saturday 12 April 2008 20:06:10 Michael Homer wrote: > > > The environment variable takes a space-separated list of flag > > > specifications (rath

Re: [gobolinux-devel] Use flags specification

2008-04-14 Thread Michael Homer
On Sun, Apr 13, 2008 at 8:03 PM, jan <[EMAIL PROTECTED]> wrote: > On Saturday 12 April 2008 20:06:10 Michael Homer wrote: > > The environment variable takes a space-separated list of flag > > specifications (rather than newline), so it accepts a special syntax > > for the specifications, with ';

Re: [gobolinux-devel] Use flags specification

2008-04-13 Thread Daniele Maccari
Michael Homer wrote: > It would be silly to write that, since the flag definitely won't be > enabled by default. -gtk1 won't do anything unless you've already > enabled it yourself earlier in the file. > -Michael That's an interesting point. They're not *real* use flags then, since choosing to dis

Re: [gobolinux-devel] Use flags specification

2008-04-13 Thread Michael Homer
On Mon, Apr 14, 2008 at 7:40 AM, Jonatan Liljedahl <[EMAIL PROTECTED]> wrote: > > > On Sat, Apr 12, 2008 at 2:16 PM, Daniele Maccari <[EMAIL PROTECTED]> > > wrote: > >> > >> Hisham wrote: > >> > On Sat, Apr 12, 2008 at 11:01 AM, Daniele Maccari > >> <[EMAIL PROTECTED]> wrote: > >> > > >>

Re: [gobolinux-devel] Use flags specification

2008-04-13 Thread Jonatan Liljedahl
> On Sat, Apr 12, 2008 at 2:16 PM, Daniele Maccari <[EMAIL PROTECTED]> > wrote: >> >> Hisham wrote: >> > On Sat, Apr 12, 2008 at 11:01 AM, Daniele Maccari >> <[EMAIL PROTECTED]> wrote: >> > >> >> Jonatan Liljedahl wrote: >> >> > Or something like this: >> >> > >> >> > with_gtk1=( >> >> >

Re: [gobolinux-devel] Use flags specification

2008-04-13 Thread jan
On Saturday 12 April 2008 20:06:10 Michael Homer wrote: > The environment variable takes a space-separated list of flag > specifications (rather than newline), so it accepts a special syntax > for the specifications, with ';' instead of a space when listing > programs to go with a flag. It takes th

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Daniele Maccari
Michael Homer wrote: > Yes. That is the desired behaviour. Having to enable the flags for > everything a pain. We also want the recipes to be as short as > possible, so in most cases you don't have to add anything to them at > all, and the autodetection in configure just does the right thing. >

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Michael Homer
On Sun, Apr 13, 2008 at 5:34 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > Hisham wrote: > > On Sat, Apr 12, 2008 at 2:16 PM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > >> Hisham wrote: > >> > On Sat, Apr 12, 2008 at 11:01 AM, Daniele Maccari <[EMAIL PROTECTED]> > wrote: > >> >> Jonatan

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Michael Homer
On Sat, Apr 12, 2008 at 10:55 PM, Jonatan Liljedahl <[EMAIL PROTECTED]> wrote: > Jonatan Liljedahl wrote: > > Michael Homer wrote: > > ... > >> In most cases, dependencies are autodetected by configure correctly > >> and no change to the Recipe file will be necessary. In that case, the > >> wi

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Daniele Maccari
Hisham wrote: > On Sat, Apr 12, 2008 at 2:16 PM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > >> Hisham wrote: >> > On Sat, Apr 12, 2008 at 11:01 AM, Daniele Maccari <[EMAIL PROTECTED]> >> wrote: >> > >> >> Jonatan Liljedahl wrote: >> >> > Or something like this: >> >> > >> >> > with_g

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Hisham
On Sat, Apr 12, 2008 at 2:16 PM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > > Hisham wrote: > > On Sat, Apr 12, 2008 at 11:01 AM, Daniele Maccari <[EMAIL PROTECTED]> > wrote: > > > >> Jonatan Liljedahl wrote: > >> > Or something like this: > >> > > >> > with_gtk1=( > >> > "--enable-

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Daniele Maccari
Hisham wrote: > On Sat, Apr 12, 2008 at 11:01 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > >> Jonatan Liljedahl wrote: >> > Or something like this: >> > >> > with_gtk1=( >> > "--enable-gtk" >> > "--disable-gtk" >> > ) >> > >> > or more self-documenting: >> > >> > useflag_gtk1=(

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Hisham
On Sat, Apr 12, 2008 at 11:01 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > Jonatan Liljedahl wrote: > > Or something like this: > > > > with_gtk1=( > > "--enable-gtk" > > "--disable-gtk" > > ) > > > > or more self-documenting: > > > > useflag_gtk1=( > > "with=--enable-gtk" > >

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Daniele Maccari
Jonatan Liljedahl wrote: > Daniele Maccari wrote: > >> Jonatan Liljedahl wrote: >> >>> Or something like this: >>> >>> with_gtk1=( >>> "--enable-gtk" >>> "--disable-gtk" >>> ) >>> >>> or more self-documenting: >>> >>> useflag_gtk1=( >>> "with=--enable-gtk" >>> "without=--disable-gtk

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Jonatan Liljedahl
Daniele Maccari wrote: > Jonatan Liljedahl wrote: >> Or something like this: >> >> with_gtk1=( >> "--enable-gtk" >> "--disable-gtk" >> ) >> >> or more self-documenting: >> >> useflag_gtk1=( >> "with=--enable-gtk" >> "without=--disable-gtk" >> ) >> >> Those would be easy parsable by bash its

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Daniele Maccari
Jonatan Liljedahl wrote: > Or something like this: > > with_gtk1=( > "--enable-gtk" > "--disable-gtk" > ) > > or more self-documenting: > > useflag_gtk1=( > "with=--enable-gtk" > "without=--disable-gtk" > ) > > Those would be easy parsable by bash itself... > Sure, the possibilities are

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Jonatan Liljedahl
Daniele Maccari wrote: > Jonatan Liljedahl wrote: >> Michael Homer wrote: >> ... >> >>> In most cases, dependencies are autodetected by configure correctly >>> and no change to the Recipe file will be necessary. In that case, the >>> with_ variables should *not* be used only to convey redundant

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Daniele Maccari
Jonatan Liljedahl wrote: > Michael Homer wrote: > ... > >> In most cases, dependencies are autodetected by configure correctly >> and no change to the Recipe file will be necessary. In that case, the >> with_ variables should *not* be used only to convey redundant >> information, and the flag sh

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Jonatan Liljedahl
Jonatan Liljedahl wrote: > Michael Homer wrote: > ... >> In most cases, dependencies are autodetected by configure correctly >> and no change to the Recipe file will be necessary. In that case, the >> with_ variables should *not* be used only to convey redundant >> information, and the flag should

Re: [gobolinux-devel] Use flags specification

2008-04-12 Thread Jonatan Liljedahl
Michael Homer wrote: ... > In most cases, dependencies are autodetected by configure correctly > and no change to the Recipe file will be necessary. In that case, the > with_ variables should *not* be used only to convey redundant > information, and the flag should just be listed appropriately in >

[gobolinux-devel] Use flags specification

2008-04-12 Thread Michael Homer
Hi all, As promised a few days ago, here's a specification-slash-explanation of the flags system as it currently stands. There's still a little time to fix anything you think is broken, but you'll have to be quick. Flags are lower-case alphanumeric plus underscore, and should be named after what t