From db698a94ad52d1fbc387df66845907595615bb4f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 18 Apr 2019 13:34:23 +0200 Subject: Disable OpenCL by default for LO Flatpak ...merging "Disable OpenCL by default for LO Flatpak": "This fixes 'LibreOffice cannot be launched with flatpak in normal mode on ASUS E402YA', where LO was found hanging (for as yet unclear exact reasons) on one machine when OpenCL was enabled. There have been other issues with OpenCL like 'LibreOffice crashes on startup' on Fedora, so for a Flatpak build targeting a wide range of distros, the conservative approach is probably to disable OpenCL by default and have users explicitly enable it instead." Change-Id: I887137d1ceb5d97f007f09cba636c59f197f1bff Reviewed-on: https://gerrit.libreoffice.org/70928 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- solenv/flatpak-manifest.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solenv/flatpak-manifest.in b/solenv/flatpak-manifest.in index 4fcf0f5f1383..ef5802713baf 100644 --- a/solenv/flatpak-manifest.in +++ b/solenv/flatpak-manifest.in @@ -574,7 +574,8 @@ "./autogen.sh --prefix=/run/build/libreoffice/inst --with-distro=LibreOfficeFlatpak", "make $(if test \"$FLATPAK_ARCH\" = i386; then printf build-nocheck; fi)", "make distro-pack-install", - "make cmd cmd='$(SRCDIR)/solenv/bin/assemble-flatpak.sh'" + "make cmd cmd='$(SRCDIR)/solenv/bin/assemble-flatpak.sh'", + "printf '\\nfalse' >/app/libreoffice/share/registry/flatpak.xcd" ] } ], -- cgit