0880000007
LibreOffice Online/loleaflet-ui (Hungarian) Currently translated at 100.0% (296 of 296 strings) Change-Id: Iaaa5fc948c142c87f634b75afd2a26812a0f8dca update translations LibreOffice Online/loleaflet-ui (Polish) Currently translated at 100.0% (296 of 296 strings) Change-Id: I8c1c88cf50fe031173900059f8486ac0972dd7a9 Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Change-Id: I17e88df1578b17e9beae7e6195b66634cc8b424b Translation: LibreOffice Online/loleaflet-ui Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/ update translations LibreOffice Online/loleaflet-help (Slovak) Currently translated at 98.8% (411 of 416 strings) Change-Id: I20f4c5ce0fa87a26f9f05e75835e3d0cc245f011 update translations LibreOffice Online/loleaflet-ui (Slovak) Currently translated at 100.0% (294 of 294 strings) Change-Id: Ib2c80fa7f5ed5cc748f37d92638095224fb187f3 update translations LibreOffice Online/loleaflet-help (Catalan) Currently translated at 84.9% (353 of 416 strings) Change-Id: I06008211ffceec01cbb3221eaaa1be784f5345b7 update translations LibreOffice Online/loleaflet-help (Venetian) Currently translated at 9.1% (38 of 416 strings) Change-Id: I14f64e85dd3cfacb5bdd93cb61746fbfca934ae9 update translations LibreOffice Online/loleaflet-ui (Portuguese) Currently translated at 100.0% (294 of 294 strings) Change-Id: Ib164c7193b415e07cc5ab6a3e54236790e56e7a0 update translations LibreOffice Online/loleaflet-ui (Amharic) Currently translated at 72.4% (213 of 294 strings) Change-Id: I2188bc567aa2fa6b85e98daffa16fd8f0f3ddef6 update translations LibreOffice Online/loleaflet-ui (Asturian) Currently translated at 40.5% (119 of 294 strings) Change-Id: I3b871c9aeda5edac643a28e1b0c7a99acc0aa1eb update translations LibreOffice Online/loleaflet-help (Czech) Currently translated at 100.0% (416 of 416 strings) Change-Id: Ic4268f4bccd2d68f41f3db688e28af60e6d3fe48 update translations LibreOffice Online/loleaflet-ui (Upper Sorbian) Currently translated at 100.0% (294 of 294 strings) Change-Id: I1c51dc5c12f6c4e0fc6bc3c190bd612e09321f36 update translations LibreOffice Online/loleaflet-ui (Basque) Currently translated at 100.0% (294 of 294 strings) Change-Id: I6d4b2768d17ca951ca5123f97888fc1587ea2d90 update translations LibreOffice Online/loleaflet-ui (Lower Sorbian) Currently translated at 100.0% (294 of 294 strings) Change-Id: I0b2e4f1ffcd00eb1514026cd76f7211cd1972b3d update translations LibreOffice Online/loleaflet-ui (Bulgarian) Currently translated at 99.7% (293 of 294 strings) Change-Id: I5eb914e253472e3645469166fa00d81a44b20558 update translations LibreOffice Online/loleaflet-ui (Portuguese (Brazil)) Currently translated at 100.0% (294 of 294 strings) Change-Id: I5f2d9a3785f94bdaf4cd41b0446ffe51d3938fd2 update translations LibreOffice Online/loleaflet-ui (Welsh) Currently translated at 100.0% (294 of 294 strings) Change-Id: I45962b07b3890d49e83b47f6b10193934cb4d6b6 update translations LibreOffice Online/ios (Dutch) Currently translated at 100.0% (5 of 5 strings) Change-Id: I17acebfd6380cb5c0822a97d9eb72ffb811a430c update translations LibreOffice Online/android-lib (Dutch) Currently translated at 100.0% (12 of 12 strings) Change-Id: I68896cbc8830521f22c91cf981550adee39cdcf2 update translations LibreOffice Online/android-app (Dutch) Currently translated at 100.0% (102 of 102 strings) Change-Id: I13207ecfb48d4493d761ea434503cead9bd5e021 update translations LibreOffice Online/android-lib (Dutch) Currently translated at 91.7% (11 of 12 strings) Change-Id: I95cf32aea3fe06052c72dda9fbc9f53d45e343f3 update translations LibreOffice Online/loleaflet-ui (Dutch) Currently translated at 100.0% (294 of 294 strings) Change-Id: I1057bd39dabab7f35f539eb5145b26df9ff3db4a update translations LibreOffice Online/loleaflet-ui (Spanish) Currently translated at 100.0% (294 of 294 strings) Change-Id: I5ad5f88c4c7b845654178ab4fdf8269d5dac68fa update translations LibreOffice Online/loleaflet-ui (Catalan) Currently translated at 100.0% (294 of 294 strings) Change-Id: Iac1658f04f6ae759d19566338fd761b4842c6f2b update translations LibreOffice Online/loleaflet-ui (Asturian) Currently translated at 39.1% (115 of 294 strings) Change-Id: I0b4f91e151376158dfb19ba7aa8ae3a1dfd1ee52 update translations LibreOffice Online/android-app (Norwegian Bokmål) Currently translated at 100.0% (102 of 102 strings) Change-Id: I893c6ea94dc954667756d076ea54953cd4e18497 update translations LibreOffice Online/loleaflet-help (Norwegian Bokmål) Currently translated at 52.6% (219 of 416 strings) Change-Id: If4ed7f3626e94949ca0bac1d2861a3496aa7fcee update translations LibreOffice Online/loleaflet-ui (Slovenian) Currently translated at 100.0% (294 of 294 strings) Change-Id: I135f8b0bf6591637daf8140538037c0b56e428af update translations LibreOffice Online/loleaflet-ui (Norwegian Bokmål) Currently translated at 100.0% (294 of 294 strings) Change-Id: Ib8d0e3153a719c86820043f206a3ced88d9bf1ae Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Change-Id: I2ab01e8363e023660377ff6172ddea17e6047a2f Translation: LibreOffice Online/loleaflet-ui Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/ update translations LibreOffice Online/loleaflet-ui (Polish) Currently translated at 100.0% (294 of 294 strings) Change-Id: I993555978da571097b4a3f159992ccbd82b3f634 update translations LibreOffice Online/loleaflet-ui (Hungarian) Currently translated at 100.0% (294 of 294 strings) Change-Id: I9016c2d1954c4c6e43d6dae83683f8aa782798b2 Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Change-Id: I89e25cc20f4d2e75b0b77ba7c00fb2fdda368434 Translation: LibreOffice Online/loleaflet-ui Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/ Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92369 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> |
||
---|---|---|
.. | ||
app | ||
gradle/wrapper | ||
lib | ||
templates | ||
.gitignore | ||
build.gradle.in | ||
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