← Back to team overview

kicad-developers team mailing list archive

Re: Config file relocation (patch 5)

 


kicad-common : where is the path set ?

KSYS3DMOD : why displayed in the fp-lib-table editor ?

variables : edit them in that same page ?












Le 04/09/2014 07:55, yann jautard a écrit :
Also noticed some text that need to be change in pcbnew, as fp-lib-table is now in the new .config folder :

http://imagebin.ca/v/1Z8xK7hOgTP8








Le 04/09/2014 07:45, yann jautard a écrit :
I just tested your patch on Ubuntu, works fine.

But I noticed one file is still stored on home dir : the hotkey config file ~/.SchematicFrame

I think it should be relocated too.

Regarding this file, I think there is a formatting error in it : it is composed of one single line with plain text "\n" as item separators. I guess that these should be real carriage return instead of writing them down.

I can propose a patch to correct this if needed.



Le 03/09/2014 22:40, Moses McKnight a écrit :
Ok, the previous patch actually put the files in ~/Library/Preferences/.config/kicad on OSX, so I added a check for __WXMAC__ so it does not add the .config directory on OSX. I also did a little cleanup on the patch - mainly removed the check for OS/2 which I'm pretty sure is not needed for kicad!

nullset on IRC who did some testing did say he thinks the ~/Library/Preferences/kicad location is fine for the config files.

Moses


On 09/03/2014 12:17 PM, Moses McKnight wrote:
Hi Wayne,

One person on IRC is compiling with the patch to test on OSX. Currently the files on OSX should go in ~/Library/Preferences/kicad, but from what he said and
also from these links, it looks like that might should be changed to
~/Library/Application Support/kicad. I did figure out an easy way to make the
change if it is decided that is better.

http://stackoverflow.com/questions/15677388/default-location-for-configuration-files-macos

https://developer.apple.com/library/mac/documentation/General/Conceptual/MOSXAppProgrammingGuide/AppRuntime/AppRuntime.html


The install_****_fp-lib-table cmake stuff is in the kicad library repository,
looks like under the template directory.

Moses

On 09/03/2014 09:02 AM, Wayne Stambaugh wrote:
<snip>
Can someone please test this on OSX to make sure it doesn't cause any
issues before we commit it.  Also, kicad-install.sh calls `make
install_github_fp-lib-table` to install the global fp-lib-table.  I
cannot find the definition of install_github_fp-lib-table in any of the
kicad CMake files.  Where ever this is defined, it will need to be
changed to copy the global fp-lib-table to ~/.config/kicad.

Thanks,

Wayne


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp




_______________________________________________
Mailing list:https://launchpad.net/~kicad-developers
Post to     :kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe :https://launchpad.net/~kicad-developers
More help   :https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list:https://launchpad.net/~kicad-developers
Post to     :kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe :https://launchpad.net/~kicad-developers
More help   :https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Follow ups

References