summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-01-15 16:00:53 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2024-01-15 21:45:00 +0100
commit8f72aa782500f456f02f18fa74f6b3b6c9b5e90c (patch)
tree3f08eb0a264a796c6ea643cb9e64568b016a383b /solenv
parentb65a2bc14c1553846bd0f4910951a0a964b3cde5 (diff)
Flatpak: Work around patched libpng in org.freedesktop.Sdk
see <https://github.com/flathub/org.libreoffice.LibreOffice/pull/268/commits/7c79189f674c7cc88f0ab2790d8d198f4a855182> "Work around patched libpng in org.freedesktop.Sdk": ...which carries <https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/commit/873b28450476c434a3f6fa86cb1874b11968a479> "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> (cherry picked from commit 223bfa24cdeee2ed45ff8d9ab7bb0b92eb8af587) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162107 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/flatpak-manifest.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/solenv/flatpak-manifest.in b/solenv/flatpak-manifest.in
index a8d8b88394a8..74beb39f21b9 100644
--- a/solenv/flatpak-manifest.in
+++ b/solenv/flatpak-manifest.in
@@ -794,6 +794,13 @@
"dest-filename": "@ARGON2_TARBALL@"
},
{
+ "url": "https://dev-www.libreoffice.org/src/@LIBPNG_TARBALL@",
+ "sha256": "@LIBPNG_SHA256SUM@",
+ "type": "file",
+ "dest": "external/tarballs",
+ "dest-filename": "@LIBPNG_TARBALL@"
+ },
+ {
"url": "https://dev-www.libreoffice.org/extern/@OPENSYMBOL_TTF@",
"sha256": "@OPENSYMBOL_SHA256SUM@",
"type": "file",