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 mgo...@gentoo.org wrote: On Sat, 14 Jul 2012 12:29:59 +0200 Davide Pesavento p...@gentoo.org wrote: On Fri, Jul 13, 2012 at 3:50 PM, Alexis Ballier aball...@gentoo.org wrote: On Fri, 13 Jul 2012 15:26:58 +0200 Davide Pesavento p...@gentoo.org

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 p...@gentoo.org wrote: On Sat, Jul 14, 2012 at 4:00 PM, Michał Górny mgo...@gentoo.org wrote: On Sat, 14 Jul 2012 12:29:59 +0200 Davide Pesavento p...@gentoo.org wrote: On Fri, Jul 13, 2012 at 3:50 PM, Alexis Ballier

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 mgo...@gentoo.org wrote: On Sun, 15 Jul 2012 13:00:47 +0200 Davide Pesavento p...@gentoo.org wrote: On Sat, Jul 14, 2012 at 4:00 PM, Michał Górny mgo...@gentoo.org wrote: On Sat, 14 Jul 2012 12:29:59 +0200 Davide Pesavento p...@gentoo.org

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 p...@gentoo.org wrote: On Sun, Jul 15, 2012 at 3:42 PM, Michał Górny mgo...@gentoo.org wrote: On Sun, 15 Jul 2012 13:00:47 +0200 Davide Pesavento p...@gentoo.org wrote: On Sat, Jul 14, 2012 at 4:00 PM, Michał Górny mgo...@gentoo.org

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 mgo...@gentoo.org wrote: On Sun, 15 Jul 2012 17:36:05 +0200 Davide Pesavento p...@gentoo.org wrote: On Sun, Jul 15, 2012 at 3:42 PM, Michał Górny mgo...@gentoo.org wrote: On Sun, 15 Jul 2012 13:00:47 +0200 Davide Pesavento p...@gentoo.org

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 aball...@gentoo.org wrote: On Fri, 13 Jul 2012 15:26:58 +0200 Davide Pesavento p...@gentoo.org wrote: [...] + # backward compatibility for non-array variables + if [[ -n ${DOCS} ]] [[ $(declare -p DOCS 2/dev/null 21) != declare

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 p...@gentoo.org wrote: On Fri, Jul 13, 2012 at 3:50 PM, Alexis Ballier aball...@gentoo.org wrote: On Fri, 13 Jul 2012 15:26:58 +0200 Davide Pesavento p...@gentoo.org wrote: [...] + # backward compatibility for non-array

[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

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 yng...@gentoo.org 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

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 aball...@gentoo.org wrote: On Fri, 13 Jul 2012 20:02:19 +0800 Ben de Groot yng...@gentoo.org 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 @@

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 p...@gentoo.org wrote: [...] + # backward compatibility for non-array variables + if [[ -n ${DOCS} ]] [[ $(declare -p DOCS 2/dev/null 21) != declare -a* ]]; then + dodoc ${DOCS} || die dodoc failed + fi +