diff --git a/snap/hooks/disconnect-plug-host-hunspell b/snap/hooks/disconnect-plug-host-hunspell old mode 100644 new mode 100755 diff --git a/snap/hooks/install b/snap/hooks/install old mode 100644 new mode 100755 index 4a89373..ca6a1cd --- a/snap/hooks/install +++ b/snap/hooks/install @@ -1 +1,3 @@ -post-refresh \ No newline at end of file +#!/bin/sh +dir=$(dirname -- $(readlink -f $0)) +${dir}/post-refresh diff --git a/snap/hooks/post-refresh b/snap/hooks/post-refresh old mode 100644 new mode 100755 diff --git a/snapcraft.yaml b/snapcraft.yaml index f70e923..fc37af7 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -28,6 +28,7 @@ apps: SPA_PLUGIN_DIR: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/spa-0.2" SPEECHD_ADDRESS: "unix_socket:/run/user/$SNAP_UID/speech-dispatcher/speechd.sock" LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy + MOZ_APP_REMOTINGNAME: zen-browser_zen-browser slots: - mpris - dbus-daemon @@ -52,7 +53,7 @@ apps: - opengl - pcscd - removable-media - - screen-inhibits-control + # - screen-inhibits-control - system-packages-doc - u2f-devices - unity7 @@ -127,45 +128,45 @@ parts: prime: - usr/lib/zen - usr/lib/*/libproxy - - usr/lib/*/opensc-pkcs11.so - - usr/lib/*/pkcs11/opensc-pkcs11.so - - usr/lib/*/libasn1.so.* - - usr/lib/*/libcurl.so.* - - usr/lib/*/libgssapi.so.* - - usr/lib/*/libhcrypto.so.* - - usr/lib/*/libheimbase.so.* - - usr/lib/*/libheimntlm.so.* - - usr/lib/*/libhogweed.so.* - - usr/lib/*/libhx509.so.* - - usr/lib/*/libkrb5.so.* - - usr/lib/*/liblber-2.4.so.* - - usr/lib/*/libldap_r-2.4.so.* - - usr/lib/*/libnettle.so.* - - usr/lib/*/libnghttp2.so.* - usr/lib/*/libpci.so.* - - usr/lib/*/libpipewire*.so* - - usr/lib/*/libroken.so.* - - usr/lib/*/librtmp.so.* - - usr/lib/*/libsasl2.so.* - - usr/lib/*/libspeechd.so.* - - usr/lib/*/libssh.so.* - - usr/lib/*/libssl.so.* - - usr/lib/*/libvulkan* - - usr/lib/*/libVkLayer* - - usr/lib/*/libwind.so.* - - usr/lib/*/libXt.so.* - - usr/lib/*/pipewire-* - - usr/lib/*/spa-* + # - usr/lib/*/opensc-pkcs11.so + # - usr/lib/*/pkcs11/opensc-pkcs11.so + # - usr/lib/*/libasn1.so.* + # - usr/lib/*/libcurl.so.* + # - usr/lib/*/libgssapi.so.* + # - usr/lib/*/libhcrypto.so.* + # - usr/lib/*/libheimbase.so.* + # - usr/lib/*/libheimntlm.so.* + # - usr/lib/*/libhogweed.so.* + # - usr/lib/*/libhx509.so.* + # - usr/lib/*/libkrb5.so.* + # - usr/lib/*/liblber-2.4.so.* + # - usr/lib/*/libldap_r-2.4.so.* + # - usr/lib/*/libnettle.so.* + # - usr/lib/*/libnghttp2.so.* + # - usr/lib/*/libpipewire*.so* + # - usr/lib/*/libroken.so.* + # - usr/lib/*/librtmp.so.* + # - usr/lib/*/libsasl2.so.* + # - usr/lib/*/libspeechd.so.* + # - usr/lib/*/libssh.so.* + # - usr/lib/*/libssl.so.* + # - usr/lib/*/libvulkan* + # - usr/lib/*/libVkLayer* + # - usr/lib/*/libwind.so.* + # - usr/lib/*/libXt.so.* + # - usr/lib/*/pipewire-* + # - usr/lib/*/spa-* # alsa does not seem to be found # - usr/share/alsa - - usr/share/pipewire - - usr/share/vulkan + # - usr/share/pipewire + # - usr/share/vulkan stage-packages: - libproxy1v5 - glib-networking + - libpci3 - libasound2 - libcurl4 - - libpci3 - libpipewire-0.3-0 - libpipewire-0.3-modules - libspa-0.2-modules @@ -219,3 +220,5 @@ slots: hooks: post-refresh: plugs: [host-usr-share-hunspell] + install: + plugs: [host-usr-share-hunspell]