File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,15 @@ cp "$SNAP/etc/fonts/fonts.conf" "$FONTCONFIG_FILE"
39
39
# fontconfig - so replace *all* with ours
40
40
sed -i " s|<cachedir.*/cachedir>|<cachedir>$FONTCONFIG_CACHE_DIR </cachedir>|" " $FONTCONFIG_FILE "
41
41
42
+ # immodule cache
43
+ GTK_IM_MODULE_DIR=" $GDK_CACHE_DIR /immodules"
44
+ [ ! -d " $GTK_IM_MODULE_DIR " ] && mkdir -p " $GTK_IM_MODULE_DIR "
45
+
46
+ export GTK_IM_MODULE_FILE=" $GTK_IM_MODULE_DIR /immodules.cache"
47
+ if [ -f " $SNAP /usr/lib/$ARCH /libgtk-3-0/gtk-query-immodules-3.0" ]; then
48
+ " $SNAP /usr/lib/$ARCH /libgtk-3-0/gtk-query-immodules-3.0" " $SNAP /usr/lib/$ARCH /gtk-3.0/3.0.0/immodules/" im-* .so > " $GTK_IM_MODULE_FILE "
49
+ fi
50
+
42
51
# native comp needs to find as etc and this comes from within the snap
43
52
# itself
44
53
export PATH=" $PATH :/snap/emacs/current/usr/bin"
Original file line number Diff line number Diff line change 96
96
- zlib1g-dev
97
97
stage-packages :
98
98
- gvfs
99
+ - ibus-gtk3
99
100
- libasound2
100
101
- libaspell15
101
102
- libasyncns0
@@ -138,6 +139,7 @@ parts:
138
139
- libharfbuzz-icu0
139
140
- libharfbuzz0b
140
141
- libhyphen0
142
+ - libibus-1.0-5
141
143
- libice6
142
144
- libicu66
143
145
- libisl22
You can’t perform that action at this time.
0 commit comments