Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-27 Thread Adonay Felipe Nogueira
Oh... I see... That's OK then. You're welcome. :) ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-26 Thread Geert Janssens
On vrijdag 25 augustus 2017 16:22:27 CEST John Ralls wrote: > For the CMake/configure option my thought is to have something like > --set-default-user-data-dir which would take a single path string to be > appended to $HOME and if defined would remove the XDG-checking code, but > you're right that

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-25 Thread John Ralls
> On Aug 24, 2017, at 5:19 AM, Geert Janssens > wrote: > > On donderdag 24 augustus 2017 12:11:48 CEST John Ralls wrote: >>> On Aug 24, 2017, at 8:57 AM, Geert Janssens >> > >>> wrote:> >>> On woensdag 23 augustus 2017 23:21:

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-24 Thread Geert Janssens
On donderdag 24 augustus 2017 16:07:52 CEST Adonay Felipe Nogueira wrote: > I have followed the latest documentation that says that if one wants to > get the latest source files using Git, then one must clone against the > GitHub mirror, and so I did. > I wrote it was currently available in my *pr

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-24 Thread Adonay Felipe Nogueira
I have followed the latest documentation that says that if one wants to get the latest source files using Git, then one must clone against the GitHub mirror, and so I did. After cloning, I couldn't find the "user_data_dir" function inside, only "g_set_user_data_dir" (in "libgnucash/app-utils/gnc-u

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-24 Thread Adonay Felipe Nogueira
I'm not an experienced developer, but I should add that there is more variables related to the XDG Base Directory Specification than ${XDG_DATA_HOME}, see the latest at [[https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html]]. Also the Filesystem Hierarchy Standard does allow "$

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-24 Thread Geert Janssens
On donderdag 24 augustus 2017 12:11:48 CEST John Ralls wrote: > > On Aug 24, 2017, at 8:57 AM, Geert Janssens > > wrote:> > > On woensdag 23 augustus 2017 23:21:23 CEST John Ralls wrote: > >> A new default should apply only to new installations and should be > >> overridden by $GNC_DOT_DIR and $A

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-24 Thread John Ralls
> On Aug 24, 2017, at 8:57 AM, Geert Janssens > wrote: > > On woensdag 23 augustus 2017 23:21:23 CEST John Ralls wrote: >> A new default should apply only to new installations and should be >> overridden by $GNC_DOT_DIR and $AQBANKING_HOME; we should continue to >> include ~/.gnucash and ~/.aqb

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-24 Thread Geert Janssens
On woensdag 23 augustus 2017 23:30:48 CEST Mike Alexander wrote: > > On Aug 23, 2017, at 1:09 PM, Geert Janssens > > wrote: > > > > Linking has its drawbacks as well though. If I link the directory, the > > files and subdirectories will be essentially the same. However if the > > user misinterpre

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-24 Thread Geert Janssens
On woensdag 23 augustus 2017 23:21:23 CEST John Ralls wrote: > A new default should apply only to new installations and should be > overridden by $GNC_DOT_DIR and $AQBANKING_HOME; we should continue to > include ~/.gnucash and ~/.aqbanking in the default search and use the first > instance of the c

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-23 Thread Mike Alexander
> On Aug 23, 2017, at 1:09 PM, Geert Janssens > wrote: > > Linking has its drawbacks as well though. If I link the directory, the files > and subdirectories will be essentially the same. However if the user > misinterprets the message and removes file by file from $HOME/.gnucash > instead >

Re: Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-23 Thread John Ralls
> On Aug 23, 2017, at 6:09 PM, Geert Janssens > wrote: > > I have started the work to fix https://bugzilla.gnome.org/show_bug.cgi? > id=503722 (Do not store data in Vista's HOME folder, use AppData instead) > > Handling .gnucash itself was relatively straightforward and the result can be > te

Moving .gnucash and friends from $HOME to XDG_DATA_HOME (and impact on other applications like KMyMoney)

2017-08-23 Thread Geert Janssens
I have started the work to fix https://bugzilla.gnome.org/show_bug.cgi? id=503722 (Do not store data in Vista's HOME folder, use AppData instead) Handling .gnucash itself was relatively straightforward and the result can be tested on my private github repo's master branch. The only thing missing