On Thu, Jan 6, 2011 at 3:47 AM, Michael Meeks <michael.meeks@novell.com> wrote:
On Wed, 2011-01-05 at 20:13 +0000, Caolán McNamara wrote:
On Wed, 2011-01-05 at 20:22 +0100, Petr Mladek wrote:
our build service found broken RPATH in libicudata.so.42.1
That libicudata is the biggest nuisance, causes all sorts of problems on
different platforms. Rather an odd use of an elf file as data storage
IIRC and manually created by icu rather than by the normal compiler
+linker chain.
It is also huge; the biggest single files we have in our install (on
Windows at least):
zip size/kb size/kb compression name
5632 13914 40% icudt40.dll
Which makes me wonder: do we really need everything that is in that
beast ? pmap seems to suggest we use 84K out of the 13Mb on Linux:
Michael: icudata contains, among other things all the supported
utf16<->other-codepage convertion.
If your locale is utf8 or iso8859-1/15 (which is most likely in your case)
then sure you just need one or two of these conversion table... if any
at all (some convertion like utf8<->utf16 are algorithmic)
libicudata also contains stuff about collation and locales...
There are ways to use your own, or to use a directory of individual
ressources files ( http://userguide.icu-project.org/icudata ) . but
then you'd have to ship the resource file in text form instead (which
might compress better)
either way libicudata is big, but there is not that much redundancy in
it. it just covert and insanely large number of code page (
http://source.icu-project.org/repos/icu/icu/trunk/source/data/mappings/convrtrs.txt
) and locales. if you start stripping stuff out, you will reduce the
functionality for people using more 'exotic' locale (which where they
live may not be exotic at all :-) )
Norbert
(Note: The above is based on memory of work I did 6-7 years ago on
icu... things may have changed since version 2.4 :-) )
b48de000 13588K 84K 84K 0K 0K
r--p /data/opt/OOInstall/basis3.3/program/libicudata.so.40.1
Which makes it rather a good target for dropping from the pagein-common
map I suspect; just commit that fix; but it'd be great to shrink our
install and download size by having a dig at exactly what is and is not
used in libicudata; perhaps an easy hack to add ?
HTH,
Michael.
--
michael.meeks@novell.com <><, Pseudo Engineer, itinerant idiot
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.