2022-03-07 20:45:10 -06:00
|
|
|
# libreoffice-compilar
|
|
|
|
|
2022-03-07 22:54:54 -06:00
|
|
|
## Configuración de repositorio de libreoffice
|
|
|
|
|
2022-03-07 22:56:06 -06:00
|
|
|
|
2022-03-07 22:54:54 -06:00
|
|
|
```
|
|
|
|
# echo "207.249.123.209 repos.libreoffice.gob.mx" >> /etc/hosts
|
|
|
|
# cat <<EOF>>/etc/yum.repos.d/libreoffice_gob.repo
|
|
|
|
[libreoffice_gob]
|
|
|
|
baseurl = http://repos.libreoffice.gob.mx/repos/builddeps
|
|
|
|
gpgcheck = 0
|
|
|
|
name = LibreOffice Mexico goverment repo
|
|
|
|
priority = 1
|
|
|
|
EOF
|
|
|
|
```
|
|
|
|
|
2022-03-07 22:56:06 -06:00
|
|
|
Este módulo es necesario para poder instalar el paquete `junit-1`
|
2022-03-07 22:54:54 -06:00
|
|
|
```
|
|
|
|
# dnf module enable javapackages-tools:201801
|
|
|
|
```
|
2022-03-07 23:06:54 -06:00
|
|
|
|
|
|
|
## Instalación de paquetes
|
|
|
|
|
|
|
|
```
|
|
|
|
# dnf builddep -y libreoffice
|
|
|
|
# dnf install -y java-11-openjdk-devel nasm
|
|
|
|
# alternatives --set javac /usr/lib/jvm/java-11-openjdk-11.0.14.0.9-2.el8_5.x86_64/bin/javac
|
|
|
|
# alternatives --set java /usr/lib/jvm/java-11-openjdk-11.0.14.0.9-2.el8_5.x86_64/bin/java
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
## Compilación
|
|
|
|
|
|
|
|
```
|
|
|
|
$ git clone https://git.softwarelibre.mx/strepsirrhini/libreoffice.git
|
|
|
|
$ cd libreoffice
|
2022-03-07 23:35:25 -06:00
|
|
|
$ ./autogen.sh --with-system-libs
|
2022-03-07 23:06:54 -06:00
|
|
|
$ make
|
|
|
|
$ Be happy
|
|
|
|
```
|
|
|
|
|
|
|
|
# Referencias
|
|
|
|
|
|
|
|
* https://wiki.documentfoundation.org/Development/BuildingOnLinux/es
|