pkgsrc/emulators/suse131_gtk2/INSTALL
wiz 799621207f Add shared-mime-info rpm to gtk2 emulation package. This matches
what suse121_gtk2 does and fixes the first part of PR 48666, as
Nicolas Joly found out.

Run update-mime-database in INSTALL, and add an appropriate cleanup
rule to DEINSTALL.

Bump PKGREVISION.
2015-04-09 10:40:12 +00:00

20 lines
816 B
Text

# $NetBSD: INSTALL,v 1.2 2015/04/09 10:40:12 wiz Exp $
#
# Initialize gtk/pango module configuration.
#
case ${STAGE} in
POST-INSTALL)
GNOME_BINDIR="${PKG_PREFIX}/@EMULSUBDIR@/usr/bin"
GNOME_LIBDIR="${PKG_PREFIX}/@EMULSUBDIR@/usr/lib@ABISUFFIX@"
GNOME_ETCDIR="${PKG_PREFIX}/@EMULSUBDIR@/etc"
SUSECONFIG="${PKG_PREFIX}/@EMULSUBDIR@/sbin/SuSEconfig"
${ECHO} "${PKGNAME}: initializing GTK/Pango module configuration"
${GNOME_BINDIR}/gtk-query-immodules-2.0@BINSUFFIX@ --update-cache
${GNOME_BINDIR}/gdk-pixbuf-query-loaders@BINSUFFIX@ --update-cache
${GNOME_BINDIR}/pango-querymodules@BINSUFFIX@ --update-cache
${GNOME_BINDIR}/gio-querymodules@BINSUFFIX@ ${GNOME_LIBDIR}/gio/modules
${GNOME_BINDIR}/update-mime-database ${GNOME_LIBDIR}/../share/mime
${MKDIR} -p ${PKG_PREFIX}/@EMULSUBDIR@/var/lock
;;
esac