localization moved into own repository

Ivo Hinkelmann <[email protected]> Mon, 07 Mar 2011 14:26:17 +0100
Newsgroups gmane.comp.openoffice.devel.localization
Message-ID <[email protected]>
I repost this, somehow this message got lost during the Kenai migration ....

Hi,

with the integration of the cws l10nmove the way change how to make a 
localized build. The reason for the change is that we want that the 
contl10n process integrates new localization every milestone. We moved 
the localization into a own repository, master_l10n / cws_l10n, to 
reduce the growing of the main repository caused by the localization. As 
we have about 100 languages a single changed string causes 100 changes 
in the l10n module. Most developers don't need the localization thus it 
does not make sense to download/clone all the changesets from the l10n 
process.

In case you are doing en-US only builds only, e.g. while developing then
nothing will change for you.

If you want a localized master build you need to do this:

- clone the OOo repository ( of cause! )
- clone the l10n repository
- copy a so called source_config file beside your both repositories
- use configure --with-lang=de,cs,xy as usual


- clone the OOo repository
 > hg clone http://hg.services.openoffice.org/master/DEV300 ooo

- clone the l10n repository
 > hg clone http://hg.services.openoffice.org/master_l10n/DEV300 l10n
please name it l10n as we refer to that in the makefile system

- copy a so called source_config file beside your both repositories
This source_config file is used to introduce both repositories to 
build.pl and possible further tools. For some more info about 
source_config please read this:
http://wiki.services.openoffice.org/wiki/Source_config

 > ls
l10n  ooo    source_config
 > cat source_config
[repositories]
ooo=active
l10n=active

- use configure --with-lang=de,cs,xy as usual
 > cd ooo
 > ./configure --with-lang=de [...]
 > ./bootstrap
 > source LinuxX86-64Env.Set
 > echo $gb_REPOS
/net/so-cwsserv03/export/cws/l10nmove/ooo
/net/so-cwsserv03/export/cws/l10nmove/l10n

The gb_REPOS environment variable introduce the repositories to the gnu
build system.

Just for the case anyone uses the cws fetch command, I added a new
switch "-r" for additional repositories. Add this to your .cwsrc file:
L10N_HG_REMOTE_SOURCE=http://hg.services.openoffice.org/

Read here for some more background about the .cwsrc file:
http://wiki.services.openoffice.org/wiki/Mercurial/Cws#Configuring_cws_fetch

 > cws fetch -c l10nmove -r l10n l10nmove

This will clone the ooo and l10n repository of your cws ( e.g. l10nmove )

Cheers,
Ivo
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help