https://github.com/darktable-org/darktable/blob/master/packaging/macosx/BUILD.txt#L26
As far as I remember XDG_DATA_DIRS is a fix for the same problem. As for GTK-3.20 - problems with it aren't OSX-specific. > On 17 Apr 2016, at 07:03, Kristian Niemi <[email protected]> wrote: > > In order for the var to be set so darktable can be launched from GUI > (spotlight etc.), the following may be added to .bash_profile or some such: > > export GSETTINGS_SCHEMA_DIR=/opt/local/share/glib-2.0/schemas > launchctl setenv GSETTINGS_SCHEMA_DIR $GSETTINGS_SCHEMA_DIR > > Line one being for the var to be set in the terminal. The directory above > being where macports stores glib schemas by default; adjust to suit your > setup. > Line two to set the env var for "GUI". > > Perhaps the GSETTINGS_SCHEMA_DIR information might be added to some dt-OSX > readme/documentation of sorts, as it's kind of vital, darktable crashing, at > least for me, without it? So future users trying out the dev version on OSX > wouldn't have to keep hitting their head against the wall. > > In its current status, perhaps build configuration failing on gtk >=3.20 > wouldn't be a bad idea either? Or at least a mention somewhere (in a OSX > section of a readme/documentation?). > > Wouldn't mind adding it myself, instead of just suggesting someone else to do > it, but unsure where the proper place for it would be. > > Kind regards, > Kristian > > >> On Sat, 16 Apr 2016 at 22:49 Kristian Niemi <[email protected]> wrote: >> OK, solved it. >> Need to set GSETTINGS_SCHEMA_DIR for the glib-2.0 schemas --- then DT will >> open file dialogues without crashing. >> >> Kind regards, >> Kristian >> >> >> >>> On Sat, 16 Apr 2016 at 22:02 Kristian Niemi <[email protected]> >>> wrote: >>> False positive news. Even though I downgraded to GTK 3.18.9 dt still >>> crashes on OSX when opening file dialogue. >>> >>> What else could I try? >>> >>> Really, any tips would be greatly appreciated. >>> >>> Kind regards, >>> Kristian >>> >>> >>>> On Fri, 15 Apr 2016 at 17:16 Kristian Niemi <[email protected]> >>>> wrote: >>>> So it seems my crash was also due to GTK3 3.20. Downgraded to 3.18.9 and >>>> now current git version works well. >>>> >>>> Kind regards, >>>> Kristian >>>> >>>> PS. Still spouts the same / ostensively similar GTK errors as previously, >>>> but now without crashing. >>>> >>>> >>>>> On Fri, 15 Apr 2016 at 09:18 Kristian Niemi <[email protected]> >>>>> wrote: >>>>> Hi, >>>>> >>>>> So finally managed to build latest dev version on OSX, but alas, it >>>>> crashes almost immediately. Starts up (looking at bit strange, very large >>>>> fonts at places), but immediately when opening up a dialogue (for >>>>> instance file picker or configuration) it crashes. >>>>> >>>>> darktable -d all output here: http://pastebin.com/NsV22sgC >>>>> OSX crash report here: http://pastebin.com/SCUay2gE >>>>> >>>>> GTK is found when compiling, but looking at the output, things like >>>>> themes (hicolor) aren't found at runtime though they are installed. >>>>> >>>>> Any thoughts? >>>>> >>>>> Kind regards, >>>>> Kristian > > ____________________________________________________________________________ > darktable user mailing list to unsubscribe send a mail to > [email protected] > = ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
