On 17 Mar 2010, at 13:26, Vincent Richomme wrote: >>> >>>> Hourray! >>>> >>>> Finally I had an issue with my fontconfig package and once I had fixed >> it >>>> I could see Project center. >>>> So now I will try to write a shell script to simplify compilation >>>> of GNUstep on msys/mingw-NG. >>>> Next step: see if cairo backend can be used on windows. >>> >>> I don't think people have done that ... so it would be great if you >> could >>> get it working. >>> >>> Thanks very much for all the time/work you've put in getting GNUstep >>> ported to mingw64 >> >> Actually cairo works fine or should I say work as bad as winlib. >> Indeed with the two backends, my windows are all black, there is no >> widgets inside. > > When I enter the command you gave me to specify backend : > defaults write NSGlobalDomain GSBackend cairo > > I have the following message : > > $ defaults write NSGlobalDomain GSBackend cairo > 2010-03-17 14:25:00.642 defaults[3392] Defaults path 'C:/GNUstep/Defaults' > did not exist - created it > 2010-03-17 14:25:00.658 defaults[3392] Creating empty user defaults > database > > So maybe it would be interesting to know how defaults retrieve this value > and how to change it.
You can set/retrieve defaults using the 'defaults' command (try 'defaults --help') The user defaults API is documented at http://www.gnustep.org/resources/documentation/Developer/Base/Reference/index.html The actual storage mechanism for defaults is really supposed to be hidden ... but if you have multiple GNUstep systems installed on a single machine, you may want each system to have a separate configuration and the GNUstep configuration file is what's used to define where everything else (apart from that file) is found. Look at http://www.gnustep.org/resources/documentation/Developer/Base/Reference/index.html in the section header 'GNUstep Configuration File' and at the GNUSTEP_USER_DEFAULTS_DIR setting in particular. See also that GNUSTEP_CONFIG_FILE environment variable. _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
