office-gobmx/distro-configs/LibreOfficeFlatpak.conf
Stephan Bergmann 2799b94bf9 Flatpak: Work around patched libpng in org.freedesktop.Sdk
see
<7c79189f67>
"Work around patched libpng in org.freedesktop.Sdk":

...which carries
<873b284504>
"elements/base/libpng.bst: Add support for animated PNGs", thus handles "acTL"
chunks by itself, thus doesn't call the LibreOffice handle_unknown_chunk
function (in vcl/source/filter/png/PngImageReader.cxx) for such chunks, thus
never sets APNGInfo::mbIsApng to true, so causes CppunitTest_vcl_png_test to
fail with

> PngFilterTest.cxx:382:Assertion
> Test name: PngFilterTest::testApng
> assertion failed
> - Expression: aGraphic.IsAnimated()

(<https://buildbot.flathub.org/#/builders/6/builds/92958>) since
<https://git.libreoffice.org/core/+/bf944e33569e4a1d6236a54671b7320cdc6ffaf6%5E%21>
"tdf#104877 Add basic APNG format support".

The patch appears to originate from
<https://sourceforge.net/projects/libpng-apng/>, and it might be possible to
adapt the LibreOffice code to also work with such a patched libpng (whose png.h
defines PNG_APGN_SUPPORTED).  However, for now just use LibreOffice's own
external/libpng instead of the patched one.

Change-Id: Ib67056d11dfa6456920a18216a3b2bbec45f3662
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162112
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-15 17:29:00 +01:00

66 lines
1.7 KiB
Text

--disable-odk
--enable-release-build
--with-ant-home=/run/build/libreoffice/ant
--with-extra-buildid=Flatpak
--with-help=html
--with-jdk-home=/usr/lib/sdk/openjdk17/jvm/openjdk-17
--with-lang=ALL
--with-system-libs
--with-vendor=The Document Foundation
--without-export-validation
--without-junit
--without-lxml
--without-system-abseil
--without-system-argon2
--without-system-beanshell
--without-system-bluez
--without-system-boost
--without-system-box2d
--without-system-clucene
--without-system-coinmp
--without-system-cppunit
--without-system-dragonbox
--without-system-firebird
--without-system-frozen
--without-system-glm
--without-system-gpgmepp
--without-system-jfreereport
--without-system-libabw
--without-system-libatomic_ops
--without-system-libcdr
--without-system-libcmis
--without-system-libebook
--without-system-libepubgen
--without-system-libetonyek
--without-system-libexttextcat
--without-system-libfixmath
--without-system-libfreehand
--without-system-liblangtag
--without-system-libmspub
--without-system-libmwaw
--without-system-libnumbertext
--without-system-libodfgen
--without-system-libpagemaker
--without-system-libpng
--without-system-libqxp
--without-system-librevenge
--without-system-libstaroffice
--without-system-libtommath
--without-system-libvisio
--without-system-libwpd
--without-system-libwpg
--without-system-libwps
--without-system-libzmf
--without-system-lpsolve
--without-system-mariadb
--without-system-mdds
--without-system-odbc
--without-system-openldap
--without-system-orcus
--without-system-poppler
--without-system-postgresql
--without-system-redland
--without-system-sane
--without-system-xmlsec
--without-system-zxcvbn
--without-system-zxing