Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-15 Thread Davide Pesavento
On Sun, Jul 15, 2012 at 5:53 PM, Michał Górny wrote: > On Sun, 15 Jul 2012 17:36:05 +0200 > Davide Pesavento wrote: > >> On Sun, Jul 15, 2012 at 3:42 PM, Michał Górny >> wrote: >> > On Sun, 15 Jul 2012 13:00:47 +0200 >> > Davide Pesavento wrote: >> > >> >> On Sat, Jul 14, 2012 at 4:00 PM, Micha

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-15 Thread Michał Górny
On Sun, 15 Jul 2012 17:36:05 +0200 Davide Pesavento wrote: > On Sun, Jul 15, 2012 at 3:42 PM, Michał Górny > wrote: > > On Sun, 15 Jul 2012 13:00:47 +0200 > > Davide Pesavento wrote: > > > >> On Sat, Jul 14, 2012 at 4:00 PM, Michał Górny > >> wrote: > >> > On Sat, 14 Jul 2012 12:29:59 +0200 >

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-15 Thread Davide Pesavento
On Sun, Jul 15, 2012 at 3:42 PM, Michał Górny wrote: > On Sun, 15 Jul 2012 13:00:47 +0200 > Davide Pesavento wrote: > >> On Sat, Jul 14, 2012 at 4:00 PM, Michał Górny >> wrote: >> > On Sat, 14 Jul 2012 12:29:59 +0200 >> > Davide Pesavento wrote: >> > >> >> On Fri, Jul 13, 2012 at 3:50 PM, Alexi

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-15 Thread Michał Górny
On Sun, 15 Jul 2012 13:00:47 +0200 Davide Pesavento wrote: > On Sat, Jul 14, 2012 at 4:00 PM, Michał Górny > wrote: > > On Sat, 14 Jul 2012 12:29:59 +0200 > > Davide Pesavento wrote: > > > >> On Fri, Jul 13, 2012 at 3:50 PM, Alexis Ballier > >> wrote: > >> > On Fri, 13 Jul 2012 15:26:58 +0200

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-15 Thread Davide Pesavento
On Sat, Jul 14, 2012 at 4:00 PM, Michał Górny wrote: > On Sat, 14 Jul 2012 12:29:59 +0200 > Davide Pesavento wrote: > >> On Fri, Jul 13, 2012 at 3:50 PM, Alexis Ballier >> wrote: >> > On Fri, 13 Jul 2012 15:26:58 +0200 >> > Davide Pesavento wrote: >> > >> >> > [...] >> >> >> + # backward co

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-14 Thread Michał Górny
On Sat, 14 Jul 2012 12:29:59 +0200 Davide Pesavento wrote: > On Fri, Jul 13, 2012 at 3:50 PM, Alexis Ballier > wrote: > > On Fri, 13 Jul 2012 15:26:58 +0200 > > Davide Pesavento wrote: > > > >> > [...] > >> >> + # backward compatibility for non-array variables > >> >> + if [[ -n ${DOCS}

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-14 Thread Davide Pesavento
On Fri, Jul 13, 2012 at 3:50 PM, Alexis Ballier wrote: > On Fri, 13 Jul 2012 15:26:58 +0200 > Davide Pesavento wrote: > >> > [...] >> >> + # backward compatibility for non-array variables >> >> + if [[ -n ${DOCS} ]] && [[ "$(declare -p DOCS 2>/dev/null >> >> 2>&1)" != "declare -a"* ]]; th

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-13 Thread Alexis Ballier
On Fri, 13 Jul 2012 15:26:58 +0200 Davide Pesavento wrote: > > [...] > >> + # backward compatibility for non-array variables > >> + if [[ -n ${DOCS} ]] && [[ "$(declare -p DOCS 2>/dev/null > >> 2>&1)" != "declare -a"* ]]; then > >> + dodoc ${DOCS} || die "dodoc failed" > >> +

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-13 Thread Davide Pesavento
On Fri, Jul 13, 2012 at 2:34 PM, Alexis Ballier wrote: > On Fri, 13 Jul 2012 20:02:19 +0800 > Ben de Groot wrote: > >> --- /usr/portage/eclass/qt4-r2.eclass 2012-04-20 >> 07:01:13.0 +0800 +++ qt4-r2.eclass.new2012-07-13 >> 19:45:59.259773917 +0800 @@ -19,6 +19,22 @@ >> >> export

Re: [gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-13 Thread Alexis Ballier
On Fri, 13 Jul 2012 20:02:19 +0800 Ben de Groot wrote: > --- /usr/portage/eclass/qt4-r2.eclass 2012-04-20 > 07:01:13.0 +0800 +++ qt4-r2.eclass.new2012-07-13 > 19:45:59.259773917 +0800 @@ -19,6 +19,22 @@ > > export XDG_CONFIG_HOME="${T}" > > +# @ECLASS-VARIABLE: DOCS > +# @DEF

[gentoo-dev] RFC: using array variables in qt4-r2.eclass

2012-07-13 Thread Ben de Groot
Hi, We'd like to start using array variables for DOCS and HTML_DOCS in qt4-r2.eclass, as they are already more widely used in other eclasses. Please check the attached diff and let us know what you think. Thanks on behalf of the Qt team! -- Cheers, Ben | yngwin Gentoo developer Gentoo Qt projec