by creating/deleting them from the (de)install scripts (and not registered in the PLIST). This allows pkg_tarup to work properly and also avoids some warnings during 'make replace'. Changes since 2.4.2: * GtkButton - Give extra space to children of !CAN_FOCUS buttons [Matthias Clasen] * GtkFileChooser - Make DND work when the dialog is modal [Federico Mena Quintero] * GtkToolbar - Don't show empty overflow menu [Soeren Sandmann] - Don't show initial separator in overflow menu [Soeren] - Handle dynamic changes to overflow menu [Soeren] * Documentation improvements [Bastien Nocera, Matthias] * Other bug fixes [Matthias, Soeren, Sven Neumann] * Updated translations (hu,ne)
22 lines
459 B
Cheetah
22 lines
459 B
Cheetah
# $NetBSD: immodules.tmpl,v 1.2 2004/06/20 20:12:20 jmmv Exp $
|
|
#
|
|
# Rebuild the GTK2 immodules database.
|
|
#
|
|
|
|
GTK_IMMODULES_DB="@GTK_IMMODULES_DB@"
|
|
GTK_QUERY_IMMODULES="@GTK_QUERY_IMMODULES@"
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL)
|
|
${GTK_QUERY_IMMODULES} > ${GTK_IMMODULES_DB}
|
|
;;
|
|
DEINSTALL)
|
|
[ "${PKGBASE}" = "gtk2+" ] && ${RM} -f ${GTK_IMMODULES_DB}
|
|
;;
|
|
POST-DEINSTALL)
|
|
[ "${PKGBASE}" != "gtk2+" ] && \
|
|
${GTK_QUERY_IMMODULES} > ${GTK_IMMODULES_DB}
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|