No description
Find a file
2023-12-02 03:27:19 -06:00
CentOS-8 Merge branch 'sandino/7.3.1-fc36-el8' into sandino/7.3.1-fc36-el9 2022-09-19 22:05:23 -05:00
CentOS-9 merge branch sandino/7.6.3-el9 2023-12-02 03:27:19 -06:00
scripts Paquetes linreoffice-myspell-dict-* don noarch 2023-12-01 13:24:54 -06:00
.gitignore merge 7.6.2.1-fc39 2023-11-22 01:18:50 -06:00
Fedora-38 Fedora-38 symlink 2023-07-27 02:03:25 -06:00
Fedora-39 version bump: 7.6.0.1 2023-08-05 04:15:55 -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