From 2a37c4734c1a9d48628bc7115cf4774df3122f51 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 18 Aug 2018 21:11:27 -0300 Subject: [PATCH] hooks/post-install/04-create-xbps-medata-scripts.sh: automatically handle gtk{,3}-immodules --- .../04-create-xbps-metadata-scripts.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh index 5e1e6e2793c..3096e09ca10 100644 --- a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh +++ b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh @@ -222,6 +222,20 @@ _EOF _add_trigger gio-modules fi # + # Handle gtk immodules in /usr/lib/gtk-2.0/2.10.0/immodules with + # gtk-immodules + # + if [ -d ${PKGDESTDIR}/usr/lib/gtk-2.0/2.10.0/immodules ]; then + _add_trigger gtk-immodules + fi + # + # Handle gtk3 immodules in /usr/lib/gtk-3.0/3.0.0/immodules with + # gtk3-immodules + # + if [ -d ${PKGDESTDIR}/usr/lib/gtk-3.0/3.0.0/immodules ]; then + _add_trigger gtk3-immodules + fi + # # Handle gsettings schemas in /usr/share/glib-2.0/schemas with # gsettings-schemas. #