Ticket #14729 (assigned defect)
gnome installations do not register the schema files with gconf
| Reported by: | reiffert@… | Owned by: | reiffert@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Enhancements |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | gnome gconf gconftool-2 | Cc: | billitch@…, gerald@…, landonf@…, nox@…, rjt-gramps@…, shadow@…, toralf@…, vincent-opdarw@… |
| Port: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.

