[Libreoffice] [ANNOUNCE] Partial Build without the need to source Env.Host.sh

2011-11-16 Thread Norbert Thiebaud
Hi all,

Having to source Env.Host.sh to do partial build is a pain, especially
since it polute tour session environment quite a bit and essentially
force you to start a new session eveytime ou need to re-autogen.sh, or
go to another source tree

I've recently pushed a series of patch to alleviate that problem.

First, the patches do not hinder the 'old' way. If you were hapy to
source Env.Host.sh... you can still do it.. nothing changes

Second, after these patches, partial make on gbuildified moduel just
work.. no need to do anything

Third, for dmake module it is still a bit of work to do:
There are two way to do it:
a/ source the brand new build_env file generated during autogen
The purpose of that file is essentially to create the proper aliases
so that build and deliver 'works'

b/ you can
- copy solenv/bin/lo_find_src_root and solenv/bin/lo_proxy_start in a
directory of your choice that is in your normal PATH
- add
alias build='lo_proxy_start build'
alias deliver='lo_proxy_start deliver'

to your .bashrc

then build and deliver will do the 'right thing' based on the current
working directory (that is, you can have more than one copy of the
'core' repo and can go from one to the other in the same session
without having to source/re-source anything).


As usual, if these broke something for you, please ping me.

Norbert

PS: I have not yet changed the build instruction, neither in build.pl
nor on the Wiki...
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [ANNOUNCE] Partial Build without the need to source Env.Host.sh

2011-11-16 Thread Noel Grandin
Hi

Thank you to all the hackers working to make the build process smoother! Your 
efforts are much appreciated.

Having some time spelunking in the build system, I now understand why almost 
every large-scale software project ends up
writing it's own build system - trying to read gmake/dmake macro code makes me 
think back to my
programming-with-MSDOS-batch-file days :-)

-- Noel Grandin

Norbert Thiebaud wrote:
 Hi all,

 Having to source Env.Host.sh to do partial build is a pain, especially
 since it polute tour session environment quite a bit and essentially
 force you to start a new session eveytime ou need to re-autogen.sh, or
 go to another source tree

 I've recently pushed a series of patch to alleviate that problem.

 First, the patches do not hinder the 'old' way. If you were hapy to
 source Env.Host.sh... you can still do it.. nothing changes

 Second, after these patches, partial make on gbuildified moduel just
 work.. no need to do anything

 Third, for dmake module it is still a bit of work to do:
 There are two way to do it:
 a/ source the brand new build_env file generated during autogen
 The purpose of that file is essentially to create the proper aliases
 so that build and deliver 'works'

 b/ you can
 - copy solenv/bin/lo_find_src_root and solenv/bin/lo_proxy_start in a
 directory of your choice that is in your normal PATH
 - add
 alias build='lo_proxy_start build'
 alias deliver='lo_proxy_start deliver'

 to your .bashrc

 then build and deliver will do the 'right thing' based on the current
 working directory (that is, you can have more than one copy of the
 'core' repo and can go from one to the other in the same session
 without having to source/re-source anything).


 As usual, if these broke something for you, please ping me.

 Norbert

 PS: I have not yet changed the build instruction, neither in build.pl
 nor on the Wiki...
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice


Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice