[MacPorts] #14728: gnome installations do not register the schema files with gconf
MacPorts
trac at macosforge.org
Thu Mar 20 03:10:56 PDT 2008
#14728: gnome installations do not register the schema files with gconf
-----------------------------------+----------------------------------------
Reporter: reiffert at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Keywords: |
-----------------------------------+----------------------------------------
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/14728>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list