schema_install() {
  SCHEMA="$1"
  GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
  chroot . gconftool-2 --makefile-install-rule \
    /etc/gconf/schemas/$SCHEMA \
    1>/dev/null
}

schema_install gsf-office-thumbnailer.schemas

( cd usr/lib ; rm -rf libgsf-gnome-1.so.114 )
( cd usr/lib ; ln -sf libgsf-gnome-1.so.114.0.15 libgsf-gnome-1.so.114 )
( cd usr/lib ; rm -rf libgsf-gnome-1.so )
( cd usr/lib ; ln -sf libgsf-gnome-1.so.114.0.15 libgsf-gnome-1.so )
