Web lists-archives.com

Schemas -- not being compiled on X-application install




I have an up-to-date Cygwin install, installed using -no-admin on Win 10. Completely vanilla. 

When I install X-applications (using setup-XXX.exe) that have schema information, they seem to frequently throw an error and not work. It seems to be because the installation is not running glib-compile-schemas after the schema information is unpacked into /usr/share/glib-2.0/schemas

If I run this manually, it throws warnings but no errors (see below) and fixes the problem. So I am wondering if some changes to the install process might be needed?

Apologies if I have used the wrong terminology. I'm just a desktop user.

Here is a typical session after installing nautilus (similar occurred after installing eog):

----------------------------------------------------------------------------------------------------------------------------------------------------------


$ nautilus
[1] 6860

** (nautilus:6860): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

(nautilus:6860): GLib-GIO-ERROR **: Settings schema 'org.gnome.nautilus.preferences' is not installed

[1]+  Done                    nautilus

$ find /usr -iname "*naut*xml"
/usr/share/appdata/org.gnome.Nautilus.appdata.xml
/usr/share/glib-2.0/schemas/org.gnome.nautilus.gschema.xml
/usr/share/metainfo/org.gnome.Terminal.Nautilus.metainfo.xml
/usr/share/mime/application/x-nautilus-link.xml

$ glib-compile-schemas /usr/share/glib-2.0/schemas/
Warning: Schema â??org.gnome.crypto.cacheâ?? has path â??/desktop/gnome/crypto/cache/â??.  Paths starting with  â??/apps/â??, â??/desktop/â?? or â??/system/â?? are deprecated.
Warning: Schema â??org.gnome.crypto.pgpâ?? has path â??/desktop/gnome/crypto/pgp/â??.  Paths starting with â??  /apps/â??, â??/desktop/â?? or â??/system/â?? are deprecated.
Warning: Schema â??org.gnome.system.localeâ?? has path â??/system/locale/â??.  Paths starting with â??/apps/â? ?, â??/desktop/â?? or â??/system/â?? are deprecated.
Warning: Schema â??org.gnome.system.proxyâ?? has path â??/system/proxy/â??.  Paths starting with â??/apps/â??,  â??/desktop/â?? or â??/system/â?? are deprecated.
Warning: Schema â??org.gnome.system.proxy.httpâ?? has path â??/system/proxy/http/â??.  Paths starting with â?? /apps/â??, â??/desktop/â?? or â??/system/â?? are deprecated.
Warning: Schema â??org.gnome.system.proxy.httpsâ?? has path â??/system/proxy/https/â??.  Paths starting with â   ??/apps/â??, â??/desktop/â?? or â??/system/â?? are deprecated.
Warning: Schema â??org.gnome.system.proxy.ftpâ?? has path â??/system/proxy/ftp/â??.  Paths starting with â??/a  pps/â??, â??/desktop/â?? or â??/system/â?? are deprecated.
Warning: Schema â??org.gnome.system.proxy.socksâ?? has path â??/system/proxy/socks/â??.  Paths starting with â  ??/apps/â??, â??/desktop/â?? or â??/system/â?? are deprecated.

$ nautilus

** (nautilus:19404): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

<<Now nautilus runs>>





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple