Hi Javier,
Patching icu is the last thing we want to do, particularly when OOo
selects to uses platform's icu, the patch is lost.
Actually we can put icu resource bundle in i18npool and passed it into
breakiterator locally. We do that for word/line breakiterator. Please
let me know what resource bundle you want to patch or create.
Thanks,
Kar.
Javier SOLA 写道:
Karl, Eike,
The version of ICU 3.6 that we use in ICU has all the basic resources
pre-compiled in a data file. These resources include berakiterators,
collators, etc...
Changes to ICU are usually done through a patch to the source, kept
separate from the source itself.
The goal for 4.0 is not to have any patches... but the fact is that it
is quite possible that new resource will be added during the life of
3.x, such as new or improved line-breaking dictionaries.
To add a new resource to ICU for OpenOffice (such as a new
breakiterator), it is necessary to download the 4.0 version from SVN,
then to make the changes in that version, compile it... and hand to
OpenOffice a patch for the source... AND A NEW RESOURCE BUNDLE that
has all the new stuff. The resource bundle is binary and cannot be
visually studied, it can be tested.
Another possibility for OpenOffice would be to use the SVN version of
ICU 4.0, instead of the dowload one (checked out, cleaned and
compressed). This version has all the resource files, and compiles the
data files. All changes and extensions can be done in source code. The
consequences I see:
- New resources can be added as source, with patches. This facilitates
QA also.
- The build will be slightly slower, as it has to build the data
files. I do not think that this would be more than one or two more
minutes for a good machine.
- The generated resource bundle goes to a different place than the one
that is already in the download, the packaging system might have to be
changed to accommodate this.
If this has already been discussed in some other list, can somebody
please point me to it?
Javier
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]