Re: scripts: profile - QTDIR & QMAKESPEC killed especially setting Q...

2007-01-17 Thread Arkadiusz Miskiewicz
On czwartek, 18 stycznia 2007, Jeff Johnson wrote:
> On Jan 18, 2007, at 12:58 AM, Arkadiusz Miskiewicz wrote:
> > On środa, 17 stycznia 2007, Tomasz Wittner wrote:
> >> On Wed 17. January 2007 00:42, Arkadiusz Miskiewicz wrote:
> >>> On Wednesday 17 January 2007 00:22, twittner wrote:
>  Author: twittner Date: Tue Jan 16 23:22:38
>  2007 GMT
>  Module: scripts   Tag: HEAD
>   Log message:
>  - QTDIR & QMAKESPEC killed
>    especially setting QMAKESPEC to /usr/share/qt/mkspecs/linux-g++
>    is really inappropriate when qt-3.3.x and qt-4.x can exist
>  together
> >>>
> >>> W qt4.spec IMO je warto czyścić przed budowaniem.
> >>
> >> A translation attempt: IMO is worth to unset these (QTDIR,
> >> QMAKESPEC) in
> >> qt4.spec before building.
> >>
> >> My suggestion: by default, start building with completely cleaned
> >> environment, then set only necessary env. variables [1]. Of course
> >> there
> >> should be possibility to turn off cleaning & setting in rpm such
> >> environment (via rpm macro).
> >
> > Provide a patch then. jbj doesn't want to make that happen (env
> > cleaning) in
> > rpm by default :(
>
> *I* don't want to manage *YOUR* build environment variables, but you
> can easily add
>  unset QTDIR QMAKESPEC
> to %___build_pre.

My opinion is that rpm should enforce stable, always the same variables 
enviroment for building packages. Depending on user enviroment settings sucks 
badly. If some build process needs custom enviroment then it should be set in 
spec file, not in some other place.

> 73 de Jeff

-- 
Arkadiusz MiśkiewiczPLD/Linux Team
arekm / maven.plhttp://ftp.pld-linux.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: scripts: profile - QTDIR & QMAKESPEC killed especially setting Q...

2007-01-17 Thread Jeff Johnson

On Jan 18, 2007, at 12:58 AM, Arkadiusz Miskiewicz wrote:

> On środa, 17 stycznia 2007, Tomasz Wittner wrote:
>> On Wed 17. January 2007 00:42, Arkadiusz Miskiewicz wrote:
>>> On Wednesday 17 January 2007 00:22, twittner wrote:
 Author: twittner Date: Tue Jan 16 23:22:38  
 2007 GMT
 Module: scripts   Tag: HEAD
  Log message:
 - QTDIR & QMAKESPEC killed
   especially setting QMAKESPEC to /usr/share/qt/mkspecs/linux-g++
   is really inappropriate when qt-3.3.x and qt-4.x can exist  
 together
>>>
>>> W qt4.spec IMO je warto czyścić przed budowaniem.
>>
>> A translation attempt: IMO is worth to unset these (QTDIR,  
>> QMAKESPEC) in
>> qt4.spec before building.
>>
>> My suggestion: by default, start building with completely cleaned
>> environment, then set only necessary env. variables [1]. Of course  
>> there
>> should be possibility to turn off cleaning & setting in rpm such
>> environment (via rpm macro).
>
> Provide a patch then. jbj doesn't want to make that happen (env  
> cleaning) in
> rpm by default :(
>

*I* don't want to manage *YOUR* build environment variables, but you  
can easily add
 unset QTDIR QMAKESPEC
to %___build_pre.

In fact, there is already
 ...
 unset PERL_MM_OPT || :
 ...
 unset DISPLAY || :

in %___build_pre  (mostly because I was too tired to argue with some  
particularly
stubborn RH developers some day long ago ...)

hth

73 de Jeff

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: scripts: profile - QTDIR & QMAKESPEC killed especially setting Q...

2007-01-17 Thread Arkadiusz Miskiewicz
On środa, 17 stycznia 2007, Tomasz Wittner wrote:
> On Wed 17. January 2007 00:42, Arkadiusz Miskiewicz wrote:
> > On Wednesday 17 January 2007 00:22, twittner wrote:
> > > Author: twittner Date: Tue Jan 16 23:22:38 2007 GMT
> > > Module: scripts   Tag: HEAD
> > >  Log message:
> > > - QTDIR & QMAKESPEC killed
> > >   especially setting QMAKESPEC to /usr/share/qt/mkspecs/linux-g++
> > >   is really inappropriate when qt-3.3.x and qt-4.x can exist together
> >
> > W qt4.spec IMO je warto czyścić przed budowaniem.
>
> A translation attempt: IMO is worth to unset these (QTDIR, QMAKESPEC) in
> qt4.spec before building.
>
> My suggestion: by default, start building with completely cleaned
> environment, then set only necessary env. variables [1]. Of course there
> should be possibility to turn off cleaning & setting in rpm such
> environment (via rpm macro).

Provide a patch then. jbj doesn't want to make that happen (env cleaning) in 
rpm by default :(

-- 
Arkadiusz MiśkiewiczPLD/Linux Team
arekm / maven.plhttp://ftp.pld-linux.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: scripts: profile - QTDIR & QMAKESPEC killed especially setting Q...

2007-01-17 Thread Tomasz Wittner
On Wed 17. January 2007 00:42, Arkadiusz Miskiewicz wrote:
> On Wednesday 17 January 2007 00:22, twittner wrote:
> > Author: twittner Date: Tue Jan 16 23:22:38 2007 GMT
> > Module: scripts   Tag: HEAD
> >  Log message:
> > - QTDIR & QMAKESPEC killed
> >   especially setting QMAKESPEC to /usr/share/qt/mkspecs/linux-g++
> >   is really inappropriate when qt-3.3.x and qt-4.x can exist together
>
> W qt4.spec IMO je warto czyścić przed budowaniem.
A translation attempt: IMO is worth to unset these (QTDIR, QMAKESPEC) in 
qt4.spec before building.

My suggestion: by default, start building with completely cleaned environment,  
then set only necessary env. variables [1]. Of course there should be 
possibility to turn off cleaning & setting in rpm such environment (via rpm 
macro).
 
[1] I remember that I was against such solution some time ago, but I wasted 
plenty of time trying to build qt4 due to QMAKESPEC setting in my shell 
environment.
-- 
Tomasz Wittner
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Flash update

2007-01-17 Thread Michał Łukaszek
If anyone wanted to update the spec to the final version,
I would suggest

cvs cp/mv {macromedia,adobe}-flash.spec,v

-- 
regards,
Michał Łukaszek
[EMAIL PROTECTED]
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en