From c3a3f7ddbc21c94659b47b724509a466d56d7681 Mon Sep 17 00:00:00 2001
From: Greg DiCristofaro <gregd@basistech.com>
Date: Tue, 1 Aug 2023 19:59:09 -0400
Subject: [PATCH] adjustments

---
 snap/snapcraft.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index d08295048f..f921387d14 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -91,7 +91,6 @@ apps:
     - home
     - hugepages-control
     - kernel-crypto-api
-    - mount-control
     - mount-observe
     - network
     - network-bind
@@ -238,4 +237,7 @@ parts:
       set -eux
       for snap in "core22" "gnome-42-2204"; do
         cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" \;
-      done
\ No newline at end of file
+      done
+
+      # taken from https://github.com/ubuntu/libreoffice/blob/7.3/snapcraft.yaml
+      rm -rf $SNAPCRAFT_PRIME/usr/lib/*/lib{gtk,gdk,cairo,pango,wayland}*
\ No newline at end of file
-- 
GitLab