kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #16372
Re: OS X help search path patch
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Tue, 13 Jan 2015 12:57:03 -0500
-
In-reply-to:
<CAJXA3hQz2+7VReQeTgzpm1PWJL=U_obrD_FNQ-EssLTBOBEiZg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
Adam,
Is this patch ready to be committed? I've got a backlog of OSX patches
and I'm not sure what should be committed and what shouldn't. Would the
OSX devs please give me a "this is ready to commit" ping so nothing
falls through the cracks.
Thanks,
Wayne
On 1/2/2015 4:12 PM, Adam Wolf wrote:
> Hi folks,
>
> I have written a patch that modifies the OS X help search path so it
> looks inside of
>
> /Libraries/Application Support/kicad/help
> <whatever.app>/Contents/SharedSupport/help
>
> per our previous discussion.
>
> I have wrapped the existing code in a ! __APPLE__ define, and wrapped
> the OS X only code in a __APPLE__ define.
>
> I was thinking about removing the commented __linux__ and __WINDOWS__
> ifdefs, but someone on the list recently mentioned both paths with
> regards to Windows help files, so I am not sure if they are "canonical"
> or not. It will be a 2 second change to switch them from ! __APPLE__ to
> __linux__ and __WINDOWS__, so no problem, just let me know if that is
> preferable.
>
> I tried to follow all the coding conventions as well as make the code
> blend with the existing code.
>
> I have tested it, and this works for both the kicad.app and the
> symlinked apps as well, like pcbnew.app.
>
> Thanks everyone! Let me know if there's anything I need to change.
>
> Adam Wolf
> Cofounder and Engineer
> W&L
>
>
>
> _______________________________________________
> 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