[Libreoffice] [PUSHED] [PATCH] fdo#32263 - Config file location

Noel Power nopower at novell.com
Wed Jun 8 09:36:29 PDT 2011


On 08/06/11 14:19, Noel Power wrote:
> On 08/06/11 13:55, Takeshi Abe wrote:
>>
>> OK, so do you mean libs-core/desktop/source/migration?, which 
>> functionality
>> I have not yet recognized clearly.
>> It would be great if anyone familiar with the code suggests a starting
>> point to dig into.
> I *think* this ( see attached patch ) will fix it, not had a chance to 
> test it yet
Well that patch isn't quite enough :-( it seems the migration process 
doesn't cater for the config directory changing so when looking for 
candidates to migrate when creating a new user dir it looks relative to 
the new config directory ( e.g. ~/.config ) and of course finds nothing.

I guess we can easily hack around this by tweaking the config directory 
returned ( see attached ) and this seems ok for a  3.4 release where 
there can only be user configurations in $HOME. However subsequent 
releases >=  4.0  will probably have to start making things more 
complicated by searching the old ( for openoffice configurations ) and 
new & old directories for libreoffice (3) configurations, thoughts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-extra.diff
Type: text/x-patch
Size: 1388 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110608/bf8bcb94/attachment.bin>


More information about the LibreOffice mailing list