projets:libreoffice
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
projets:libreoffice [2020/06/11 21:20] – Ajout de "Gerrit" root | projets:libreoffice [2023/06/12 14:21] (Version actuelle) – [Limitation générale] : mise à jour root | ||
---|---|---|---|
Ligne 23: | Ligne 23: | ||
<code bash> | <code bash> | ||
git config remote.origin.pushurl ssh:// | git config remote.origin.pushurl ssh:// | ||
+ | </ | ||
+ | |||
+ | * Pousser un patch | ||
+ | |||
+ | < | ||
+ | ./logerrit submit master | ||
+ | </ | ||
+ | |||
+ | * Pour pousser une modification à un patch | ||
+ | |||
+ | Gerrit s'y retrouvera grâce à l'ID dans le message du commit lors du premier '' | ||
+ | |||
+ | < | ||
+ | git commit --amend | ||
+ | ./logerrit submit master | ||
</ | </ | ||
Ligne 31: | Ligne 46: | ||
<code bash> | <code bash> | ||
- | CFLAGS=" | + | CFLAGS=" |
</ | </ | ||
Pour ne pas masquer les lignes de code exécutées, | Pour ne pas masquer les lignes de code exécutées, | ||
Ligne 43: | Ligne 58: | ||
- | Installer | + | ===Cross-compiler depuis |
- | Installation minimale + Télécharger les mises à jour pendant l' | + | |
- | | + | |
- | sudo apt-src update | + | |
- | Installer l' | + | * Télécharger les sources |
- | | + | <code bash> |
+ | sudo apt-get | ||
+ | </ | ||
- | Télécharger Android studio (https://developer.android.com/studio) | + | <code bash> |
- | Installer via SDK_MANAGER android SDK et NDK | + | git clone git://gerrit.libreoffice.org/core libreoffice |
+ | git clone git:// | ||
+ | git clone http:// | ||
+ | cd libreoffice | ||
+ | </ | ||
- | | + | |
- | git clone git:// | + | <code bash> |
- | cd libreoffice | + | sudo apt install gperf openjdk-18-jdk libxslt1-dev xsltproc libxml2-utils flex bison ant nasm |
+ | </code> | ||
- | Create your '' | + | * Configurer la compilation |
+ | |||
+ | Créer le fichier | ||
< | < | ||
--with-distro=LibreOfficeAndroid | --with-distro=LibreOfficeAndroid | ||
--with-android-sdk=~/ | --with-android-sdk=~/ | ||
- | --with-android-ndk=~/ | + | --with-android-ndk=~/ |
</ | </ | ||
+ | |||
+ | puis exécuter | ||
+ | |||
+ | <code bash> | ||
+ | autogen.sh | ||
+ | </ | ||
+ | |||
+ | et | ||
+ | |||
+ | <code bash> | ||
+ | make | ||
+ | </ | ||
+ | |||
+ | Pas besoin de préciser '' | ||
+ | |||
+ | ===Compiler sous Gentoo=== | ||
+ | |||
+ | C'est la même chose sauf les éléments ci-dessous. | ||
+ | |||
+ | '' | ||
+ | |||
+ | <code bash> | ||
+ | CFLAGS=" | ||
+ | </ | ||
+ | |||
+ | ===Limitation générale=== | ||
+ | |||
+ | Limitation à JDK 18 pour compiler l' | ||
=====Bugs===== | =====Bugs===== | ||
+ | |||
+ | ====Debug==== | ||
+ | |||
+ | Pour lancer l' | ||
+ | |||
+ | <code bash> | ||
+ | adb shell am start -D -n " | ||
+ | </ | ||
====Gerrit==== | ====Gerrit==== |
projets/libreoffice.1591903205.txt.gz · Dernière modification : 2020/06/11 21:20 de root