Put the dict_ja and _zh data in files instead of code for iOS

Desktop / LibreOffice - Tor Lillqvist [collabora.com] - 14 April 2014 09:21 UTC

Map the file(s) into memory on demand. The executable file of an app needs to be as small as possible. Including additional data files in an app bundle is fine.

0b6fb1f Put the dict_ja and _zh data in files instead of code for iOS
i18npool/CustomTarget_breakiterator.mk | 16 ++++
i18npool/Executable_gendict.mk | 8 ++
i18npool/Library_i18npool.mk | 6 ++
i18npool/README | 15 +++-
i18npool/source/breakiterator/gendict.cxx | 111 +++++++++++++++++++++++--
i18npool/source/breakiterator/xdictionary.cxx | 76 ++++++++++-------
ios/CustomTarget_TiledLibreOffice_app.mk | 3 +
7 files changed, 196 insertions(+), 39 deletions(-)

Upstream: cgit.freedesktop.org


  • Share