Skip to content

Commit

Permalink
Merge pull request #21 from h2oai/am/libreoffice_xlsx
Browse files Browse the repository at this point in the history
Fix libreoffice so it works with xlsx formats
  • Loading branch information
achraf-mer committed Jul 25, 2024
2 parents be8f18f + d08fd93 commit 65cae28
Showing 1 changed file with 19 additions and 24 deletions.
43 changes: 19 additions & 24 deletions libreoffice-24.2.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: libreoffice-24.2
name: libreoffice-xlsx
version: 24.2.5.2
epoch: 1
epoch: 2
description:
# https://www.libreoffice.org/about-us/licenses
copyright:
Expand Down Expand Up @@ -33,8 +33,6 @@ package:
- libxml2
- libxslt
- zlib
provides:
- libreoffice=${{package.full-version}}

environment:
contents:
Expand Down Expand Up @@ -90,6 +88,10 @@ environment:
- libxslt-dev
- libxt-dev
- libxtst-dev
- libnghttp2-14
- libcurl-openssl4
- nghttp2-dev
- libpsl-dev
- m4
- mesa-dev
- mesa-egl
Expand All @@ -104,9 +106,11 @@ environment:
- perl
- pkgconf
- pkgconf-dev
- python-3.11
- python-3.11-dev
- python-3.10
- python-3.10-dev
- zip
- zlib
- git
environment:
JAVA_HOME: /usr/lib/jvm/java-17-openjdk

Expand All @@ -122,28 +126,20 @@ pipeline:
patches: 2b27f0eb5858a4fd296170fb7e4533e5fc7aa3e9.patch # fix build issue with xml2, this patch is in main upstream but not released yet

- runs: |
sed -i 's/bootstrap: check-if-root/bootstrap: /g' Makefile.in
cat > autogen.input <<EOF
--with-jdk-home=$JAVA_HOME
--enable-python=system
--enable-split-debug
--prefix=/usr
--with-system-argon2
--with-system-libcmis
--with-system-expat
--prefix=/usr
--disable-gui
--without-java
--with-system-gpgmepp
--with-system-liblangtag
--with-system-openssl
--disable-postgresql-sdbc
--disable-mariadb-sdbc
--disable-gstreamer-1-0
--with-system-cairo
--with-system-zlib
--with-system-boost
--with-system-curl
--host=${{host.triplet.gnu}}
--build=${{host.triplet.gnu}}
--without-junit
--without-galleries
EOF
./autogen.sh
sed -i 's/bootstrap: check-if-root/bootstrap: /g' Makefile.in
make clean
make fetch
- runs: make -j$(nproc)

Expand All @@ -167,7 +163,6 @@ update:
identifier: LibreOffice/core
use-tag: true
strip-prefix: libreoffice-
tag-filter-prefix: libreoffice-24.2

test:
environment:
Expand Down

0 comments on commit 65cae28

Please sign in to comment.