|
|
end | end |
| |
task :gconf do | task :gconf do |
return if ENV['GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL'] |
if not ENV['GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL'] |
| |
unless system("which gconftool-2") |
unless system("which gconftool-2") |
raise "gconftool-2 cannot be found, is GConf2 correctly installed?" |
raise "gconftool-2 cannot be found, is GConf2 correctly installed?" |
end |
end |
|
|
ENV['GCONF_CONFIG_SOURCE'] = `gconftool-2 --get-default-source`.chomp |
ENV['GCONF_CONFIG_SOURCE'] = `gconftool-2 --get-default-source`.chomp |
Dir["schemas/*.schemas"].each do |schema| |
Dir["schemas/*.schemas"].each do |schema| |
system("gconftool-2 --makefile-install-rule '#{schema}'") |
system("gconftool-2 --makefile-install-rule '#{schema}'") |
end |
end |
|
end |
end | end |
| |
task :update_icon_cache do |
# We don't need to do this as portage does it for us later |
system("gtk-update-icon-cache -f -t /usr/share/icons/hicolor") # HACK |
# task :update_icon_cache do |
end |
# system("gtk-update-icon-cache -f -t /usr/share/icons/hicolor") # HACK |
|
# end |
| |
task :post_install => [:scrollkeeper, :gconf, :update_icon_cache] |
# Remove update_icon_cache as above |
|
task :post_install => [:scrollkeeper, :gconf] |
| |
| |
#vim: filetype=ruby syntax=Ruby | #vim: filetype=ruby syntax=Ruby |