[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - solenv/flatpak-manifest.in

Stephan Bergmann sbergman at redhat.com
Mon Dec 4 17:28:00 UTC 2017


 solenv/flatpak-manifest.in |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 82e794f782de6c922d0323172715d4dff2151c28
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Dec 4 14:48:36 2017 +0100

    Honor GTK theming in LO flatpak
    
    ...according to alexlarson, for now (until "eventually we'll have a sane dconf
    in the sandbox") apps need to specify --filesystem=xdg-run/dconf,
    --filesystem=~/.config/dconf:ro, --talk-name=ca.desrt.dconf,
    --env=DCONF_USER_CONFIG_DIR=.config/dconf (where the first two are irrelevant
    for LO due to its --filesystem=host).
    
    This fixes <https://github.com/flathub/org.libreoffice.LibreOffice/issues/4>
    "Libreoffice flatpak is not respecting user theme".
    
    Change-Id: If5ed33e1b524bfa877b89f052c6067398b5600a3
    (cherry picked from commit 12ba14c6bee1c773e4500f79a90a07f871cf3feb)
    Reviewed-on: https://gerrit.libreoffice.org/45806
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/solenv/flatpak-manifest.in b/solenv/flatpak-manifest.in
index f316d143843f..a6e8340ee693 100644
--- a/solenv/flatpak-manifest.in
+++ b/solenv/flatpak-manifest.in
@@ -392,8 +392,10 @@
         "--socket=wayland",
         "--socket=pulseaudio",
         "--filesystem=host",
+        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
         "--env=LIBO_FLATPAK=1",
         "--own-name=org.libreoffice.LibreOfficeIpc0",
+        "--talk-name=ca.desrt.dconf",
         "--talk-name=org.gtk.vfs.*"
     ]
 }


More information about the Libreoffice-commits mailing list