No description
Sandino Araico Sánchez
97b85f4bd9
gob.mx 1.4 para Libreoffice 24.2.5 See merge request strepsirrhini/libreoffice-compilar!13 |
||
---|---|---|
rpmbuild | ||
scripts | ||
Windows | ||
.gitignore | ||
CentOS-9 | ||
Fedora-39 | ||
Fedora-40 | ||
README.md |
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