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 [2021/03/06 16:38] – Ajout de "--with-jdk-home" à autogen.sh root | projets:libreoffice [2023/06/12 14:21] (Version actuelle) – [Limitation générale] : mise à jour root | ||
---|---|---|---|
Ligne 58: | Ligne 58: | ||
- | ===Compiler sous Ubuntu=== | + | ===Cross-compiler depuis |
- | Installation minimale + Télécharger les mises à jour pendant l'installation. | + | * Installer le [[ide: |
- | | + | |
- | sudo apt-src update | + | |
- | + | ||
- | Installer l' | + | |
- | + | ||
- | sudo apt-get build-dep libreoffice | + | |
- | + | ||
- | Télécharger | + | |
- | Installer via SDK_MANAGER android SDK et NDK | + | |
<code bash> | <code bash> | ||
Ligne 78: | Ligne 70: | ||
<code bash> | <code bash> | ||
git clone git:// | git clone git:// | ||
+ | git clone git:// | ||
+ | git clone http:// | ||
cd libreoffice | cd libreoffice | ||
</ | </ | ||
+ | |||
+ | * Installer les dépendances | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install gperf openjdk-18-jdk libxslt1-dev xsltproc libxml2-utils flex bison ant nasm | ||
+ | </ | ||
+ | |||
+ | * Configurer la compilation | ||
Créer le fichier '' | Créer le fichier '' | ||
Ligne 86: | Ligne 88: | ||
--with-distro=LibreOfficeAndroid | --with-distro=LibreOfficeAndroid | ||
--with-android-sdk=~/ | --with-android-sdk=~/ | ||
- | --with-android-ndk=~/ | + | --with-android-ndk=~/ |
</ | </ | ||
- | puis exécuter | + | puis exécuter |
<code bash> | <code bash> | ||
autogen.sh | autogen.sh | ||
- | </ | ||
- | ou (Gentoo) | ||
- | |||
- | <code bash> | ||
- | CFLAGS=" | ||
</ | </ | ||
Ligne 106: | Ligne 103: | ||
</ | </ | ||
- | Pas besoin de préciser '' | + | Pas besoin de préciser '' |
===Compiler sous Gentoo=== | ===Compiler sous Gentoo=== | ||
Ligne 120: | Ligne 117: | ||
===Limitation générale=== | ===Limitation générale=== | ||
- | Limitation à NDK 20. Après, on a un problème où la commande '' | + | Limitation à JDK 18 pour compiler l' |
- | + | ||
- | Limitation à JDK 9 pour compiler l' | + | |
- | + | ||
- | Il faut garder sous le coude un Java 8 pour exécuter la commande | + | |
=====Bugs===== | =====Bugs===== |
projets/libreoffice.1615045090.txt.gz · Dernière modification : 2021/03/06 16:38 de root