← Back to team overview

kicad-developers team mailing list archive

Re: OSX trackpad build details

 

No luck. I missed putting in the additional wxWidgets and the cmake
config flag. Will do it again..

Thanks much

Bob G

On 02/19/2015 03:12 PM, Bob Gustafson wrote:
Garth: If I don't see the General Settings in Preferences, I don't see
how.

Lets see what happens at the end of my make.

Bob G

On 02/19/2015 12:16 PM, Garth Corral wrote:
Bob, you shouldn't need to merge anything.  Yes, it's a few revisions
behind the trunk but there's nothing in those commits should account
for what you describe.  I'd suggest just working through the steps in
the compiling document.  You may merge if you want but I don't think
it will solve your issues.

Garth

On Feb 19, 2015, at 9:47 AM, Bob Gustafson <bobgus@xxxxxxx
<mailto:bobgus@xxxxxxx>> wrote:

OK Garth/Bernard

I will do the 'merge' with the current head and give it another try.

Bob G

On 02/19/2015 11:06 AM, Garth Corral wrote:
Thanks, Bernhard.

Bob, at one point I updated Documentation/compiling/mac-osx.txt on
that branch.  It should have the additional things you need.
 There’s an additional patch for wxWidgets and another
configuration flag to pass to cmake.  After that, as Bernhard said,
there’s a configuration option in preferences.  Also, 5270 is the
branch version.  It was last merged with 5424.

Hope that helps,

Garth


On Feb 19, 2015, at 8:38 AM, Bernhard Stegmaier
<stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>> wrote:

Hi,

you have to enable touchpad panning in the Preferences menu of
each application… did you?

If you want to have it current… you can always merge Garth’s
branch into a freshly synced head.
I do this regularly to get the current version even if Garth did
not yet update his branch.
Normally it works without any conflicts.


Regards,
Bernhard

On 19.02.2015, at 17:15, Bob Gustafson <bobgus@xxxxxxx
<mailto:bobgus@xxxxxxx>> wrote:

From
https://lists.launchpad.net/kicad-developers/msg15527.html

Using Garth's branch:

lp:~gcorral/kicad/osx-trackpad-gesture

With a directory structure:

KiCad-TP

   osx-trackpad-gestures
   wx-src
   wx-bin
   Other files you want to keep

======

Load source files for wxPython into the wx-src directory

Built wxPython using the script: (see attached script - but it is listed
below)

Note that the osx_build_wx.sh script has the yosemite patch added (see
previous email under the 'OSX Nightlies Update' thread)

Bobs-MacBook-Air:osx-trackpad-gestures bobgus$ more osx_wx.sh

sh scripts/osx_build_wx.sh ../wx-src ../wx-bin ./ 10.10 -j4

---------

cd osx-trackpad-gestures

sh osx_wx.sh 2>&1 | tee ../wx_build01.out

======

Doing the configure stage (see attached kicad-configure.sh file)

cd osx-trackpad-guestures
sh ../kicad-configure.sh 2>&1 | tee ../ki-config01.out

Now do the make stage:

make 2>&1 | tee ../ki-make01.out

Now do the install stage

sudo make install 2>&1 | tee ../ki-install01.out

The sudo wasn't needed because the applications were placed in a local directory

/Users/bobgus/KiCad-TP/bin

When I go into that directory with Finder and double click on KiCad, I see the newly built application

The Help->Copy Version information is:

Application: kicad
Version: (2015-02-15 BZR 5270)-product Debug build
wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 4.2.1,STL containers,compatible with 2.8)
Platform: Mac OS X (Darwin 14.1.0 x86_64), 64 bit, Little endian, wxMac
Boost version: 1.57.0
          USE_WX_GRAPHICS_CONTEXT=OFF
          USE_WX_OVERLAY=ON
          KICAD_SCRIPTING=ON
          KICAD_SCRIPTING_MODULES=ON
          KICAD_SCRIPTING_WXPYTHON=ON
          USE_FP_LIB_TABLE=HARD_CODED_ON
          BUILD_GITHUB_PLUGIN=ON
          KICAD_USE_WEBKIT=ON

Note that the codebase is version 5270 - which is pretty old. I
don't see the View menu which is in the newer code base.
I only get the default - can't switch to openGL (which may be the
default for this..). I do see scrollbars.

Seems that zoom is coupled to the 'two finger motion' and not the
x-y panning as desired. No pinch action.

Clearly I did something different from you folks who are seeing
the trackpad action.

To help zero in on the differences, I put the log files up on
dropbox, see links below:

https://www.dropbox.com/s/iqk545x12l4g0he/wx_build01.out?dl=0
The above shows the error when the yosemite patch is not
installed, see below for fixed run

https://www.dropbox.com/s/c5m4huqb6s0a9bo/wx_build02.out?dl=0

https://www.dropbox.com/s/g7q0a30qsyfev5u/ki-config01.out?dl=0
https://www.dropbox.com/s/zv06uq97sxiy4by/ki-make01.out?dl=0
https://www.dropbox.com/s/zi2notoo8s8e5hs/ki-install01.out?dl=0


<osx_wx.sh><kicad-configure.sh>_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
<https://launchpad.net/%7Ekicad-developers>
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~kicad-developers
<https://launchpad.net/%7Ekicad-developers>
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
<https://launchpad.net/%7Ekicad-developers>
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~kicad-developers
<https://launchpad.net/%7Ekicad-developers>
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
<https://launchpad.net/%7Ekicad-developers>
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~kicad-developers
<https://launchpad.net/%7Ekicad-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