From edcd462fb9050c396a3d999756344bf861fe603c Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 24 Dec 2020 03:14:51 +0400 Subject: [PATCH] Use ibus portal in snap It's supported since snapd 2.46 that was released in August --- snap/snapcraft.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index ce3f6348f..b0b21f057 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -20,6 +20,8 @@ apps: environment: # Tell glib to use portals on file associations handling. GTK_USE_PORTAL: 1 + # Use sandboxed ibus api + IBUS_USE_PORTAL: 1 plugs: - alsa - audio-playback @@ -174,16 +176,6 @@ parts: after: - mozjpeg - # Qt checks that ibus-daemon binary is present, otherwise doesn't work - ibus: - plugin: nil - stage-packages: - - ibus - stage: - - -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2 - after: - - mozjpeg - ffmpeg: plugin: nil build-packages: