No description
Find a file
2024-08-03 00:49:59 +00:00
rpmbuild Merge branch 'gob.mx/centos-9' into 'master' 2024-08-03 00:49:59 +00:00
scripts Código merge de upstream a strep 2024-06-19 03:14:35 +00:00
Windows Agregado autogen.input funcional para compilacion de windows 2022-09-26 22:13:29 -05:00
.gitignore merge 7.6.2.1-fc39 2023-11-22 01:18:50 -06:00
CentOS-9 Directorio rpmbuild para evitarnos ambigüedades con CentOS 2024-06-28 04:07:38 -06:00
Fedora-39 Directorio rpmbuild para evitarnos ambigüedades con CentOS 2024-04-02 19:30:37 -06:00
Fedora-40 Directorio rpmbuild para evitarnos ambigüedades con CentOS 2024-04-02 19:30:37 -06:00
README.md Update 'README.md' 2022-03-07 23:57:27 -06:00

libreoffice-compilar

Configuración de repositorio de libreoffice

# 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
$ git clone git@github.com:CollaboraOnline/online.git
$git clone git@git.softwarelibre.mx:strepsirrhini/libreoffice.git --depth 1
$ sudo dnf install -y libcap-devel libpng-devel pam-devel gcc-c++ cppunit-devel pam-devel fontconfig make libpcap kernel-headers python3-polib python3-lxml poco
$ cd online
$ ./autogen.sh
$ ./configure --with-lo-path=../libreoffice --with-lokit-path=../libreoffice/include
$ make

Compilación de LibreOffice en CentOS

Este módulo es necesario para poder instalar el paquete junit-1

# dnf module enable javapackages-tools:201801

Instalación de paquetes

# dnf builddep -y libreoffice
# dnf install -y java-11-openjdk-devel nasm libe-book-devel
# 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
$ ./autogen.sh --with-system-libs
$ make
$ Be happy

Referencias