Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-11 Thread Michael Natterer
On Thu, 2012-10-11 at 05:34 -0400, Partha Bagchi wrote: > Don't get me wrong, I personally think it is a good idea to confirm to > an OS's native file standards and this will in some sense "legitimize" > Gimp. :). I didn't :) > With User configuration I meant, setting the the configuration option

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-11 Thread Partha Bagchi
On Thu, Oct 11, 2012 at 2:47 AM, Michael Natterer wrote: > On Wed, 2012-10-10 at 21:12 -0400, Partha Bagchi wrote: >> On Wed, Oct 10, 2012 at 6:12 PM, Michael Natterer wrote: >> > Hi all, >> > >> > Since we are about to change things here, let's do >> > it right and consistent across platforms th

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-11 Thread Michael Natterer
On Thu, 2012-10-11 at 18:19 +1100, Graeme Gill wrote: > Michael Natterer wrote: > > > which means for master: > > > > OSX: ~/Library/Application Support/GIMP/2.9 > > WIN: (whatever windows folder i have no clue about)\GIMP\2.9 > > XDG: ~/.config/GIMP/2.9 > > Having looked into this, I'm not sure

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-11 Thread Graeme Gill
Michael Natterer wrote: > which means for master: > > OSX: ~/Library/Application Support/GIMP/2.9 > WIN: (whatever windows folder i have no clue about)\GIMP\2.9 > XDG: ~/.config/GIMP/2.9 Having looked into this, I'm not sure that's correct. I think it should be: OSX: ~/Library/Preferences/GIMP

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-11 Thread Michael Natterer
On Thu, 2012-10-11 at 16:12 +0900, Jehan Pagès wrote: > > We can't do that, gimp_directory() returns the folder where > > stuff is stored, and i should stay that way. > > > > I must have badly explained, because that's not what I wanted to tell. > :-) gimp_directory() will still and always return

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-11 Thread Jehan Pagès
Hi, On Thu, Oct 11, 2012 at 3:50 PM, Michael Natterer wrote: > On Thu, 2012-10-11 at 13:21 +0900, Jehan Pagès wrote: >> That leads me to wonder: what do we want to do if the variable is set: >> 1) We save directly under this path. Hence we never know if a version >> bump (or downgrade) occurred (

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-11 Thread Jernej Simončič
On Thursday, October 11, 2012, 0:12:32, Michael Natterer wrote: > WIN: APPDATA/GIMP/GIMP_APP_VERSION Sounds great to me. -- < Jernej Simončič ><><><><>< http://eternallybored.org/ > If the probability of success is not almost one, then it is damned near zero. -- Fourth Law of Thermodyna

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-10 Thread Michael Natterer
On Thu, 2012-10-11 at 13:21 +0900, Jehan Pagès wrote: > Hi, > > On Thu, Oct 11, 2012 at 10:12 AM, Partha Bagchi wrote: > > On Wed, Oct 10, 2012 at 6:12 PM, Michael Natterer wrote: > >> Hi all, > >> > >> Since we are about to change things here, let's do > >> it right and consistent across platfo

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-10 Thread Michael Natterer
On Wed, 2012-10-10 at 21:12 -0400, Partha Bagchi wrote: > On Wed, Oct 10, 2012 at 6:12 PM, Michael Natterer wrote: > > Hi all, > > > > Since we are about to change things here, let's do > > it right and consistent across platforms this time. > > > > I suggest: > > > > OSX: NSApplicationSupportDire

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-10 Thread Jehan Pagès
Hi, On Thu, Oct 11, 2012 at 10:12 AM, Partha Bagchi wrote: > On Wed, Oct 10, 2012 at 6:12 PM, Michael Natterer wrote: >> Hi all, >> >> Since we are about to change things here, let's do >> it right and consistent across platforms this time. >> >> I suggest: >> >> OSX: NSApplicationSupportDirecto

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-10 Thread Jehan Pagès
Hi, On Thu, Oct 11, 2012 at 7:12 AM, Michael Natterer wrote: > Hi all, > > Since we are about to change things here, let's do > it right and consistent across platforms this time. > > I suggest: > > OSX: NSApplicationSupportDirectory/GIMP/GIMP_APP_VERSION > WIN: APPDATA/GIMP/GIMP_APP_VERSION > XD

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-10 Thread Partha Bagchi
On Wed, Oct 10, 2012 at 6:12 PM, Michael Natterer wrote: > Hi all, > > Since we are about to change things here, let's do > it right and consistent across platforms this time. > > I suggest: > > OSX: NSApplicationSupportDirectory/GIMP/GIMP_APP_VERSION > WIN: APPDATA/GIMP/GIMP_APP_VERSION > XDG: XD

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-10 Thread Michael Natterer
Hi all, Since we are about to change things here, let's do it right and consistent across platforms this time. I suggest: OSX: NSApplicationSupportDirectory/GIMP/GIMP_APP_VERSION WIN: APPDATA/GIMP/GIMP_APP_VERSION XDG: XDG_CONFIG_DIR/GIMP/GIMP_APP_VERSION which means for master: OSX: ~/Library

Re: [Gimp-developer] XDG support and better Windows configuration path

2012-10-10 Thread Michael Natterer
On Wed, 2012-10-10 at 19:44 +0900, Jehan Pagès wrote: > Hi, > > just to inform that I have submitted today on the Bugzilla a patch to > set GIMP's configuration inside the system's config directory, > delegating this to Glib's g_get_user_config_dir(). > I checked the exact code in Glib, so that I

[Gimp-developer] XDG support and better Windows configuration path

2012-10-10 Thread Jehan Pagès
Hi, just to inform that I have submitted today on the Bugzilla a patch to set GIMP's configuration inside the system's config directory, delegating this to Glib's g_get_user_config_dir(). I checked the exact code in Glib, so that I can affirm it will follow XDG rules on any UNIX-like platform; and