Tiny Core Linux

Off-Topic => Archive / Obsolete => SCM EXtensions => Topic started by: jls on July 23, 2012, 07:59:08 AM

Title: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
Post by: jls on July 23, 2012, 07:59:08 AM
I compiled the latest version of tracker which needs gtk3 for configuring its preferences, so I installed gtk3.scm.
The preferences gui opens without problems but when  I open the file chooser window I get this error:
Code: [Select]
GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed
so I did
Code: [Select]
sudo ln -s /apps/gtk3/share/glib-2.0/schemas/* /usr/local/share/glib-2.0/schemas/
and
Code: [Select]
sudo /usr/local/tce.installed/gsettings-desktop-schemas
and it works
Title: Re: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
Post by: Jason W on July 23, 2012, 07:10:59 PM
Have you exported XDG_DATA_DIRS in your wrapper? 

export XDG_DATA_DIRS=/apps/gtk3/share

Title: Re: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
Post by: jls on July 24, 2012, 02:51:32 PM
with
Code: [Select]
export XDG_DATA_DIRS=/apps/gtk3/shareI get
Code: [Select]
(tracker-preferences-bin:13288): GLib-GIO-ERROR **: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
with
Code: [Select]
export XDG_DATA_DIRS=/usr/local/share/the program starts but when I open the file chooser it crashes and I read:
Code: [Select]
(tracker-preferences-bin:13300): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed
but if I use
Code: [Select]
export XDG_DATA_DIRS=/apps/gtk3/share:/usr/local/share/everything works

PS my wrapper doesn't include the line:
Code: [Select]
export LD_LIBRARY_PATH="/apps/gtk3/lib"
Title: Re: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
Post by: Jason W on July 24, 2012, 04:45:11 PM
Ok, the gtk3.scm extension may be missing something.  I will wait for Amatcoder to see this as he did the last build of gtk3.scm, and if not in a week we can pursue a fix.
Title: Re: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
Post by: AmatCoder on October 06, 2012, 04:58:42 PM
Sorry for delay in replying...

Is tracker a tcz extension which has gtk3.scm as dependency?
Then you need a wrapper like .scm applications because tracker do not search schemas into /apps/gtk3/share/

As you point:
Quote
but if I use
Code: [Select]
export XDG_DATA_DIRS=/apps/gtk3/share:/usr/local/share/everything works

Or am I missing something?