48d234be96
LibreOffice Online/loleaflet-ui (Czech) Currently translated at 100.0% (282 of 282 strings) Change-Id: If75f6ce6e15750327864573454c7044308ef8d07 update translations LibreOffice Online/loleaflet-ui (Welsh) Currently translated at 93.3% (263 of 282 strings) Change-Id: I7c96315a438bacf0591b863b30b3d8b608e6728f update translations LibreOffice Online/loleaflet-ui (Welsh) Currently translated at 92.9% (262 of 282 strings) Change-Id: Iad2d2a143fd22a58333f6ee615ad3a3a5fc07d0a update translations LibreOffice Online/loleaflet-ui (Welsh) Currently translated at 92.6% (261 of 282 strings) Change-Id: I0e64428eecb93883dc17ab6632100169385a0e62 update translations LibreOffice Online/android-app (Welsh) Currently translated at 100.0% (99 of 99 strings) Change-Id: I62c8e5ce09eaaade3888ad9f5780a71e01e19d1c update translations LibreOffice Online/android-lib (Welsh) Currently translated at 100.0% (6 of 6 strings) Change-Id: I6b93b3565e0e7e68ddb2c1a7e7d8d4c3d39b1714 update translations LibreOffice Online/loleaflet-help (Czech) Currently translated at 100.0% (416 of 416 strings) Change-Id: I0a97f5e1b81bb58b2d752a1494120bbd770e42d6 update translations LibreOffice Online/loleaflet-ui (Welsh) Currently translated at 91.8% (259 of 282 strings) Change-Id: If4d124cedfc7d9cf86c439f00daf3ff27225a676 update translations LibreOffice Online/android-app (Welsh) Currently translated at 63.6% (63 of 99 strings) Change-Id: I6ee1560ff4ea26c88e9929ea5e8167788035f770 update translations LibreOffice Online/loleaflet-help (Czech) Currently translated at 99.8% (415 of 416 strings) Change-Id: I975b920b2f71ac9dfb469179faa21515f5efa975 Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Change-Id: Ib36213f57986afceeac201fa5711205683d7e0b9 Translation: LibreOffice Online/loleaflet-ui Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/ update translations LibreOffice Online/android-app (Welsh) Currently translated at 62.6% (62 of 99 strings) Change-Id: I1ac7b732db8c6847ca3cf7cb20e53b8a06fc93df update translations LibreOffice Online/loleaflet-help (Czech) Currently translated at 99.5% (414 of 416 strings) Change-Id: I83a58faa7905de2a0192b85910373b7c4ba0baa6 update translations LibreOffice Online/loleaflet-help (Czech) Currently translated at 81.7% (340 of 416 strings) Change-Id: I1beee6c2bb17bedf75ca66c7bc1367aa17f663d0 update translations LibreOffice Online/android-app (Asturian) Currently translated at 23.2% (23 of 99 strings) Change-Id: I94e4179d1dafce9359dc2b160e5797cc75ca3fb1 update translations LibreOffice Online/loleaflet-help (Czech) Currently translated at 81.7% (340 of 416 strings) Change-Id: I51c5c2ec2b816e1ef6a84bb98e031f26f27a8f79 update translations LibreOffice Online/loleaflet-ui (Slovenian) Currently translated at 100.0% (283 of 283 strings) Change-Id: Id65a338c7c65460fb4bcc76963c00234dcc326d7 update translations LibreOffice Online/ios (Slovenian) Currently translated at 100.0% (4 of 4 strings) Change-Id: I4c8ae8bb5b9bd3d05ac5bfe67fd653b4d057f3ec update translations LibreOffice Online/android-lib (Slovenian) Currently translated at 100.0% (6 of 6 strings) Change-Id: I94e6887c1dd1a312b9d5ded089e889609a97317d update translations LibreOffice Online/android-app (Slovenian) Currently translated at 100.0% (99 of 99 strings) Change-Id: Id598ca2b7a36679f07281b0d2f5d7945765cbf22 update translations LibreOffice Online/android-app (Hungarian) Currently translated at 100.0% (99 of 99 strings) Change-Id: Iac62e966ecc7fbcf4e99c1f75120fc71d060d43b update translations LibreOffice Online/loleaflet-help (Hungarian) Currently translated at 48.1% (200 of 416 strings) Change-Id: I79d18a150ff9cbe147dba0d100876fa9703e859f update translations LibreOffice Online/loleaflet-help (Czech) Currently translated at 76.4% (318 of 416 strings) Change-Id: If73cd55eda6d8966efe7dd8407fa71a50d9ea070 update translations LibreOffice Online/loleaflet-ui (Slovenian) Currently translated at 99.6% (282 of 283 strings) Change-Id: I8d6d0f73d550d1407eb092876ee88c4e6e9eeb07 update translations LibreOffice Online/loleaflet-ui (Hungarian) Currently translated at 100.0% (283 of 283 strings) Change-Id: I4a2bb1f1270c05efa4763af6ca7e7b5059acd4ca update translations LibreOffice Online/loleaflet-ui (Upper Sorbian) Currently translated at 100.0% (283 of 283 strings) Change-Id: Iac701e1cd5ef08c2d1f2df2292a5f3b8ba4fad97 update translations LibreOffice Online/loleaflet-ui (Esperanto) Currently translated at 61.8% (175 of 283 strings) Change-Id: I68804c4fe8c3b264a809114b6cba61c907fae2c7 update translations LibreOffice Online/loleaflet-ui (Lower Sorbian) Currently translated at 100.0% (283 of 283 strings) Change-Id: I86e9c3285708dad45b5e87cd1a9150fe420c7283 update translations LibreOffice Online/loleaflet-ui (Czech) Currently translated at 100.0% (283 of 283 strings) Change-Id: I0eede7c487be5938669c70b4476878870280e92c update translations LibreOffice Online/loleaflet-ui (Asturian) Currently translated at 27.9% (79 of 283 strings) Change-Id: Ibbb55e611b19bb0a552347410a08da0b46cc0f8e update translations LibreOffice Online/android-app (Asturian) Currently translated at 22.2% (22 of 99 strings) Change-Id: I9cc16e1f4b2da192ccea8b2cdbab68cbb66c1321 update translations LibreOffice Online/loleaflet-help (Asturian) Currently translated at 7.7% (32 of 416 strings) Change-Id: I4178e8f52f67ad93f7acfbd69c3b5734767ceaca update translations LibreOffice Online/loleaflet-ui (Portuguese (Brazil)) Currently translated at 100.0% (283 of 283 strings) Change-Id: Ib264d5788913a6e11d8a3831d38f9477c4dbeff3 update translations LibreOffice Online/loleaflet-ui (Spanish) Currently translated at 100.0% (283 of 283 strings) Change-Id: I6885ac316280d16fda6e0615d16c7f69238590b3 update translations LibreOffice Online/loleaflet-ui (Catalan) Currently translated at 96.8% (274 of 283 strings) Change-Id: I8179f4374a14640265994d5fd67968ded756f4c9 update translations LibreOffice Online/loleaflet-ui (Asturian) Currently translated at 27.6% (78 of 283 strings) Change-Id: Ibfe2145c8ec9337e85eeddeb8d75a35013601243 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86140 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org> |
||
---|---|---|
.. | ||
app | ||
lib | ||
templates | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
Makefile.am | ||
README | ||
settings.gradle |
The development of this Android app has to be done on Linux, it's currently not possible to build the native parts on Windows. * Compile LibreOffice master for Android. Do this in the folder where you cloned the LibreOffice core (e.g master-android). Create an autogen.input file: --build=x86_64-unknown-linux-gnu --with-android-ndk=/home/$USER/Android/Sdk/ndk-bundle --with-android-sdk=/home/$USER/Android/Sdk --with-distro=LibreOfficeAndroid --enable-sal-log Run ./autogen.sh && make * Build the POCO for Android # clone the poco repository in the same folder where LibreOffice core and online folders are placed. git clone https://github.com/pocoproject/poco poco-android cd poco-android # use the 1.9.1 branch git checkout -b poco-1.9.1 origin/poco-1.9.1 # configure ./configure --config=Android --no-samples --no-tests --minimal # make it PATH="$PATH":~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin make -j8 ANDROID_ABI=armeabi-v7a CC=armv7a-linux-androideabi21-clang CXX=armv7a-linux-androideabi21-clang++ SYSLIBS=-static-libstdc++ # install it to /opt/poco-android PATH="$PATH":~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin make -j8 ANDROID_ABI=armeabi-v7a CC=armv7a-linux-androideabi21-clang CXX=armv7a-linux-androideabi21-clang++ SYSLIBS=-static-libstdc++ install INSTALLDIR=/opt/poco-android * 64bit POCO for Android # checkout the 1.9.1 in a different location and apply the following patch: --- a/build/config/Android +++ b/build/config/Android @@ -21,6 +21,11 @@ TOOL = arm-linux-androideabi ARCHFLAGS = -march=armv7-a -mfloat-abi=softfp LINKFLAGS = -Wl,--fix-cortex-a8 else +ifeq ($(ANDROID_ABI),arm64-v8a) +TOOL = aarch64-linux-android +#ARCHFLAGS = -march=armv7-a -mfloat-abi=softfp +#LINKFLAGS = -Wl,--fix-cortex-a8 +else ifeq ($(ANDROID_ABI),x86) TOOL = i686-linux-android ARCHFLAGS = -march=i686 -msse3 -mstackrealign -mfpmath=sse @@ -29,6 +34,7 @@ $(error Invalid ABI specified in ANDROID_ABI) endif endif endif +endif # # Define Tools # configure as above and make it: PATH="$PATH":~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin make -j8 ANDROID_ABI=arm64-v8a CC=aarch64-linux-android21-clang CXX=aarch64-linux-android21-clang++ SYSLIBS=-static-libstdc++ # install PATH="$PATH":~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin make -j8 ANDROID_ABI=arm64-v8a CC=aarch64-linux-android21-clang CXX=aarch64-linux-android21-clang++ SYSLIBS=-static-libstdc++ install INSTALLDIR=/opt/poco-android-64bit * Configure the online.git (eg. in online-android folder) Don't forget to change --with-lo-builddir in the following: ./autogen.sh && ./configure CC=~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang CXX=~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang++ --host=arm-linux-androideabi --enable-androidapp --with-lo-builddir=/local/libreoffice/master-android --with-poco-includes=/opt/poco-android/include --with-poco-libs=/opt/poco-android/lib --disable-setcap --enable-silent-rules --enable-debug * Build the JavaScript, HTML and CSS files also in the online-android folder # just run 'make' make * Build the actual app + Start Android Studio + Open this 'android' subdir as a project + Build from Android Studio (Build -> Make Project) == Building 32bit + 64bit combined .apk == + you need to build both a 32bit (armeabi-v7a) and 64bit (arm64-v8a) core + you need to build both a 32bit and 64bit POCO + and then provide paths to both to the ./configure, separated by a colon ':', like: --with-lo-builddir=/local/libreoffice/master-android-release:/local/libreoffice/master-android-release-64bit \ --with-poco-includes=/opt/poco-android/include:/opt/poco-android-64bit/include \ --with-poco-libs=/opt/poco-android/lib:/opt/poco-android-64bit/lib \ == Debugging == To debug the native code in Android Studio, you need the debugging symbols and to setup lldb to actually read & use them. * Add debugging symbols for the modules you are interested in To autogen.input, add something like: --enable-symbols="vcl/ desktop/ sal/ svx/ framework/ sfx2/ tools/ cppu/ cppuhelper/ filter/ comphelper/ Library_sw Library_swd Library_swui" clean the appropriate modules, like make vcl.clean desktop.clean sal.clean svx.clean framework.clean sfx2.clean tools.clean cppu.clean cppuhelper.clean filter.clean comphelper.clean sw.clean and rebuild using 'make'. * Add android/source/obj/local/armeabi-v7a from core.git as a Symbol Directory In Android Studio, choose Run -> Debug... -> Edit Configurations... There go to the Android App -> app, choose the Debugger tab, and: Debug type: Auto (or Dual) Symbol Directories: here add the full path, like /local/libreoffice/master-android/android/source/obj/local/armeabi-v7a This path contains the non-stripped version of the liblo-native-code.so, and the debugger will read the symbols from that one (even if the APK contains the stripped version). *NB* ensure that this is before any internal source directories - since the internal source contains stripped native code. [Alternatively you can add the following to your ~/.lldbinit instead: settings set target.inline-breakpoint-strategy always settings append target.exec-search-paths /local/libreoffice/master-android/android/source/obj/local/armeabi-v7a ] * To use pretty printers for types like OUString, add the following to your ~/.lldbinit: command script import '/local/libreoffice/master-android/solenv/lldb/libreoffice/LO.py' From now on, you will be able to debug directly in the Android Studio debugger. Happy debugging! Note: to re-buld your app with a newly compiled libnative-lo code - it is == Tip: How to speed up your core.git build == If you use icecream for parallel building, you can use it for cross-compilation too. # first generate a tarball with the toolchain (once) icecc-create-env ~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang ~/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang++ And add it and the paths to the compiler as the first things to the autogen.input: CC=icecc [here copy what the output of ./autogen.sh without icecream said for C compiler] CXX=icecc [here copy what the output of ./autogen.sh without icecream said for C++ compiler] ICECC_VERSION=/path/to/the/tarball/generated/above/955ceb546ceb7a5715bf0223ddd788fe.tar.gz --with-parallelism=[amount of cpu threads in your icecream farm] --enable-icecream [...the original autogen.input...] So the result will look something like this: CC=icecc /home/$USER/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=neon -Wl,--fix-cortex-a8 -gcc-toolchain /home/$USER/Android/Sdk/ndk-bundle/to> CXX=icecc /home/$USER/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=neon -Wl,--fix-cortex-a8 -gcc-toolchain /home/$USER/Android/Sdk/ndk-bundle> ICECC_VERSION=/local/libreoffice/android/955ceb546ceb7a5715bf0223ddd788fe.tar.gz --with-parallelism=25 --enable-icecream --build=x86_64-unknown-linux-gnu --with-android-ndk=/home/$USER/Android/Sdk/ndk-bundle --with-android-sdk=/home/$USER/Android/Sdk --with-distro=LibreOfficeAndroid --enable-sal-log