[MacPorts] #14729: gnome installations do not register the schema files with gconf
MacPorts
trac at macosforge.org
Thu Mar 20 03:15:15 PDT 2008
#14729: gnome installations do not register the schema files with gconf
-------------------------------------+--------------------------------------
Reporter: reiffert at macports.org | Owner: reiffert at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Keywords: gnome gconf gconftool-2 |
-------------------------------------+--------------------------------------
Gnome ports install schema files to ${prefix}/etc/gconf/schema/ Those
files need to be registered along with gconftool-2. Placing them in the
directory is not enough.
I recently discovered the advantages and allready added the following
scope to port:gnucash port:gnome-vfs and port:yelp It appears that port
:gnome-control-center does it equally.
{{{
post-activate {
# We need to register some stuff to gconf. Just putting the
# schema files to the right place is not enough.
# You can watch the successful installation with gconf-editor.
system "cd ${prefix}/etc/gconf/schemas && \
GCONF_CONFIG_SOURCE=`${prefix}/bin/gconftool-2 --get-default-
source` ${p
refix}/bin/gconftool-2 --makefile-install-rule \
desktop_default_applications.schemas \
desktop_gnome_url_handlers.schemas \
system_dns_sd.schemas \
system_http_proxy.schemas \
system_smb.schemas"
}
}}}
Please remember to replace those schemas through the port's schema files
you are upgrading.
You can validate the successful schema registration by launching gconf-
editor.
Kind regards Thomas
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14729>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list