--- setup.py 2005-09-22 14:48:49.000000000 -0400 +++ setup_patch.py 2005-09-23 16:50:50.629366456 -0400 @@ -167,6 +167,7 @@ setup(name="scribes", ("share/application-registry", ["data/scribes.application"]), ("share/scribes/", ["data/scribes_toolbar_ui.xml"]), + ("/etc/gconf/schemas", ["data/scribes.schemas"]), ("share/gnome/help/scribes/C", ["data/scribes.xml"]), ("share/gnome/help/scribes/C", ["data/legal.xml"]), ("share/omf/scribes", ["data/scribes-C.omf"]), @@ -176,50 +177,4 @@ setup(name="scribes", scripts=["scribes"],) -################################################################################ -# -# GConf Installation -# -################################################################################ - -# Get gconf's default source - -cmd = "gconftool-2 --get-default-source" -err, out = getstatusoutput(cmd) - -# Set up the gconf environment variable. - -putenv('GCONF_CONFIG_SOURCE', out) - -# Install gconf to the default source - -cmd = "gconftool-2 --makefile-install-rule data/scribes.schemas" -err, out = getstatusoutput(cmd) - -if out: - - print "installing GConf schema files" - -if err: - - print 'Error: installation of gconf schema files failed: %s' % out - -# Kill the GConf daemon - -cmd = "killall gconfd-2" -err, out = getstatusoutput(cmd) - -if err: - - print "Problem shutting down gconf." - -# Start the GConf daemon - -cmd = "gconftool-2 --spawn" -err, out = getstatusoutput(cmd) - -if err: - - print "Problem restarting down gconf." - print "scribes installation complete" \ No newline at end of file