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 2>/dev/null
}

schema_install desktop_default_applications.schemas
schema_install desktop_gnome_url_handlers.schemas
schema_install system_dns_sd.schemas
schema_install system_http_proxy.schemas
schema_install system_smb.schemas

( cd usr/lib64 ; rm -rf libgnomevfs-2.so.0 )
( cd usr/lib64 ; ln -sf libgnomevfs-2.so.0.2400.4 libgnomevfs-2.so.0 )
( cd usr/lib64 ; rm -rf libgnomevfs-2.so )
( cd usr/lib64 ; ln -sf libgnomevfs-2.so.0.2400.4 libgnomevfs-2.so )
