From 2b013c108f04178c87984cd8c0e3dbae32079cae Mon Sep 17 00:00:00 2001 From: Alan Pope Date: Thu, 2 May 2024 23:01:50 +0100 Subject: [PATCH] Fixes for unable to find gtk-query-immodules-3.0 The package has been updated for 2038 t64 update. This fixes that. Successfully build telegram 5.0.0 in arm64 after the fixes in this PR. --- snap/snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 46fa5e66ce..ecc16b482a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -193,7 +193,7 @@ parts: - dpkg-dev - gtk-update-icon-cache - libglib2.0-bin - - libgtk-3-0 + - libgtk-3-0t64 stage-packages: - libc-bin - libgdk-pixbuf-2.0-0 @@ -211,7 +211,7 @@ parts: update-icon-caches "$theme" fi done - GTK_PATH=$PWD/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gtk-3.0 /usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libgtk-3-0/gtk-query-immodules-3.0 > usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gtk-3.0/3.0.0/immodules/immodules.cache + GTK_PATH=$PWD/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gtk-3.0 /usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libgtk-3-0t64/gtk-query-immodules-3.0 > usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gtk-3.0/3.0.0/immodules/immodules.cache after: - telegram