Re: [Kicad-developers] Conflict on updating pristine tree - line ending issue?

2013-05-25 Thread Dick Hollenbeck
On May 25, 2013 11:45 AM, Lorenzo Marcantonio l.marcanto...@logossrl.com
wrote:

 A strange thing happened today... I did a bzr up in the pristine (i.e.
 vendor, 'official') branch and it signalled a conflict on
 dialog_3D_view_option.cpp

 This, of course have no sense since I don't make any modification to
 that checkout (otherwise I wouldn't have called it pristine branch:P).
 It's a checkout in fact, bzr info says:

 Checkout (format: 2a)
 Location:
checkout root: .
   checkout of branch: bzr+ssh://bazaar.launchpad.net/+branch/kicad/

 Even doing a bzr revert, status still shows some modified files (???)

 Can it be caused by the 'rules' file suggested a while ago? isn't that
 yet safe to use?

We have to coordinate the transition. Until then it will give you grief,
rules will give these false diffs.

I hope to have time in next 12 hours to send out a coordinating email and
explain more.  I am on phone now.



 Or maybe I just need to update bzr (I have 2.5b4 which is, well, more
 than an year old:P)

 --
 Lorenzo Marcantonio
 Logos Srl

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


Re: [Kicad-developers] The developer mailing list did not work in my case

2013-05-25 Thread Travis Ayres
Hi Shane,

I'm no expert, but it looks like the linker can't find the wxgtk library.
Did you compile it in an odd directory, perchance?

-Travis


On Sat, May 25, 2013 at 10:00 AM, Shane Volpe shanevo...@gmail.com wrote:

 I've been trying to get the samples together but I'm struggling with
 getting KiCAD to compile.  I switched from Ubuntu to ArchLinux and
 have had no luck getting KiCAD to compile under ArchLinux.  I keep
 getting the following error:
 usr/bin/ld: cannot find -lwx_gtk2d_gl-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_aui-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_adv-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_html-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_core-2.8
 /usr/bin/ld: cannot find -lwx_based_net-2.8
 /usr/bin/ld: cannot find -lwx_based-2.8
 /usr/bin/ld: cannot find -lwx_based_xml-2.8

 I tried compiling wxgtk manually but still get the above errors, I'm
 assuming there is some option(s) I'm missing when compiling wxgtk.
 Can anyone point me in the right direction on what I might be doing
 wrong.
 Regards,
 Shane

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

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


Re: [Kicad-developers] The developer mailing list did not work in my case

2013-05-25 Thread Dick Hollenbeck
On May 25, 2013 12:01 PM, Shane Volpe shanevo...@gmail.com wrote:

 I've been trying to get the samples together but I'm struggling with
 getting KiCAD to compile.  I switched from Ubuntu to ArchLinux and
 have had no luck getting KiCAD to compile under ArchLinux.  I keep
 getting the following error:
 usr/bin/ld: cannot find -lwx_gtk2d_gl-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_aui-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_adv-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_html-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_core-2.8
 /usr/bin/ld: cannot find -lwx_based_net-2.8
 /usr/bin/ld: cannot find -lwx_based-2.8
 /usr/bin/ld: cannot find -lwx_based_xml-2.8

Where is the above text coming from?
What you want to share with us is the linker command line and error output.

All of it.

$ make VERBOSE=1  21   linkfail.txt

Cmake has to be given a working wx-config program too.


 I tried compiling wxgtk manually but still get the above errors, I'm
 assuming there is some option(s) I'm missing when compiling wxgtk.
 Can anyone point me in the right direction on what I might be doing
 wrong.
 Regards,
 Shane

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


Re: [Kicad-developers] The developer mailing list did not work in my case

2013-05-25 Thread jean-pierre charras

On 05/25/2013 07:00 PM, Shane Volpe wrote:

I've been trying to get the samples together but I'm struggling with
getting KiCAD to compile.  I switched from Ubuntu to ArchLinux and
have had no luck getting KiCAD to compile under ArchLinux.  I keep
getting the following error:
usr/bin/ld: cannot find -lwx_gtk2d_gl-2.8
/usr/bin/ld: cannot find -lwx_gtk2d_aui-2.8
/usr/bin/ld: cannot find -lwx_gtk2d_adv-2.8
/usr/bin/ld: cannot find -lwx_gtk2d_html-2.8
/usr/bin/ld: cannot find -lwx_gtk2d_core-2.8
/usr/bin/ld: cannot find -lwx_based_net-2.8
/usr/bin/ld: cannot find -lwx_based-2.8
/usr/bin/ld: cannot find -lwx_based_xml-2.8

I tried compiling wxgtk manually but still get the above errors, I'm
assuming there is some option(s) I'm missing when compiling wxgtk.
Can anyone point me in the right direction on what I might be doing
wrong.
Regards,
Shane



try:
wx-config --libs
to see where wxGTK libs are expected to be.
(be sure you have run make install after built wxGTK).

jp charras



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


Re: [Kicad-developers] Conflict on updating pristine tree - line ending issue?

2013-05-25 Thread Lorenzo Marcantonio
On Sat, May 25, 2013 at 12:47:19PM -0500, Dick Hollenbeck wrote:
 We have to coordinate the transition. Until then it will give you grief,
 rules will give these false diffs.

No hurry then; if it's a known issue I can cope with it for the moment.

-- 
Lorenzo Marcantonio
Logos Srl

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


Re: [Kicad-developers] The developer mailing list did not work in my case

2013-05-25 Thread Shane Volpe
All,
Thanks for the help.  It turns out I have to different versions of
wx-config installed 2.8 and 2.9.  I had removed 2.8 or so I thought,
the wx-config was still installed for it and set as the default
wx-config.  Once I fixed the symlink for wx-config and pointed it to
wx-config-2.9 everything started working!

On Sat, May 25, 2013 at 2:01 PM, jean-pierre charras
jp.char...@wanadoo.fr wrote:
 On 05/25/2013 07:00 PM, Shane Volpe wrote:

 I've been trying to get the samples together but I'm struggling with
 getting KiCAD to compile.  I switched from Ubuntu to ArchLinux and
 have had no luck getting KiCAD to compile under ArchLinux.  I keep
 getting the following error:
 usr/bin/ld: cannot find -lwx_gtk2d_gl-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_aui-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_adv-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_html-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_core-2.8
 /usr/bin/ld: cannot find -lwx_based_net-2.8
 /usr/bin/ld: cannot find -lwx_based-2.8
 /usr/bin/ld: cannot find -lwx_based_xml-2.8

 I tried compiling wxgtk manually but still get the above errors, I'm
 assuming there is some option(s) I'm missing when compiling wxgtk.
 Can anyone point me in the right direction on what I might be doing
 wrong.
 Regards,
 Shane


 try:
 wx-config --libs
 to see where wxGTK libs are expected to be.
 (be sure you have run make install after built wxGTK).

 jp charras




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

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


Re: [Kicad-developers] The developer mailing list did not work in my case

2013-05-25 Thread Travis Ayres
To those new to wxwidgets who may be on the Windows platform, wx-config is
available on windows as a separate project at

https://sites.google.com/site/wxconfig/

Put it in your path - it really helps
 On May 25, 2013 11:01 AM, jean-pierre charras jp.char...@wanadoo.fr
wrote:

 On 05/25/2013 07:00 PM, Shane Volpe wrote:

 I've been trying to get the samples together but I'm struggling with
 getting KiCAD to compile.  I switched from Ubuntu to ArchLinux and
 have had no luck getting KiCAD to compile under ArchLinux.  I keep
 getting the following error:
 usr/bin/ld: cannot find -lwx_gtk2d_gl-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_aui-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_adv-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_html-2.8
 /usr/bin/ld: cannot find -lwx_gtk2d_core-2.8
 /usr/bin/ld: cannot find -lwx_based_net-2.8
 /usr/bin/ld: cannot find -lwx_based-2.8
 /usr/bin/ld: cannot find -lwx_based_xml-2.8

 I tried compiling wxgtk manually but still get the above errors, I'm
 assuming there is some option(s) I'm missing when compiling wxgtk.
 Can anyone point me in the right direction on what I might be doing
 wrong.
 Regards,
 Shane


 try:
 wx-config --libs
 to see where wxGTK libs are expected to be.
 (be sure you have run make install after built wxGTK).

 jp charras



 __**_
 Mailing list: 
 https://launchpad.net/~kicad-**developershttps://launchpad.net/~kicad-developers
 Post to : 
 kicad-developers@lists.**launchpad.netkicad-developers@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~kicad-**developershttps://launchpad.net/~kicad-developers
 More help   : 
 https://help.launchpad.net/**ListHelphttps://help.launchpad.net/ListHelp

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


Re: [Kicad-developers] Regression Testing

2013-05-25 Thread Dick Hollenbeck
On 05/18/2013 05:20 AM, Brian Sidebotham wrote:
 On 18 May 2013 05:46, Dick Hollenbeck d...@softplc.com 
 mailto:d...@softplc.com wrote:
 
 
 On May 17, 2013 5:00 PM, Brian Sidebotham brian.sidebot...@gmail.com
 mailto:brian.sidebot...@gmail.com wrote:
 
 
  Sorry Dick! Please find the diff attached. It took me ages to sort the 
 branding out.
 It turns out that NSIS is only happy with an 8-bit windows bitmap with no 
 colourspace
 information or run-length-encoding. Once I found that out, I could 
 generate some
 initial bitmaps for the nsis installer. I've attached a few images of 
 what the
 installer steps look like on my machine.
 
 Looks as good as it can.  Thanks for sorting that out.
 
 
 
  Let me know if you're happy and I'll commit the changes. It re-enables 
 the NSIS
 installer for the package target.
 
 
 Can we have a variable to test which reenables the zip packaging?  So 
 either can be
 built by cmake.
 
 I assume your higher level cmake scripts, say in winbuilder, will be 
 easier if python
 is installable as a zip.
 
 I will put both types of packaging at google.
 
 
 I've not excluded the ZIP packaging, so at the moment make package results in 
 a zip and
 installer executable which I guess is right if we're going to supply both 
 packages.
 
 Yes, a zip package is easier to deal with for something like winbuilder as it 
 can be
 installed locally and doesn't need to be installed machine-wide.
  
 
  I've marked all components as required to be installed
 
  Is pointing the the installer licence page to the LICENCE file correct? 
 Or do we
 want to do a separate licence file for Python-a-mingw-us?
 
 It is still python.  Python is plagued with an evolutionary license.   
 What about
 simply pointing via url to python's license at python site?  That way any 
 confusion is
 pinned there.
 
 On a-mingus itself, for extension building on windows, maybe a cmake 
 template, which
 has knowledge of header and lib locs?  Since no distutils for mingw?  
 Possibly a
 python wrapper to the cmake creation from template process?  Could code 
 the cmake
 script tempate in the python wrapper file.  Customize it, write out 
 cmakelists.txt,
 with proper dirs and libs and targets in it.  Runs cmake, then make, then 
 make install.
 
 That sounds like a great idea. It will be good to give support to people who 
 want to
 buiild extensions with it seen as that is it's main purpose. I'll look into 
 that next. I
 have been looking at SWIG recently, so I'm a bit more familiar with python 
 extension
 writing. SWIG and stdbool.h don't play nice together at all :(
 
 Anyway, I'll commit the changes now.


Brian,

I built the two NSIS installers and put them at code.google.com.

I tried the 32 bit one on Win2K, my only windows laptop.  (I had to sweet talk 
it into
booting.)  I chose to install a desktop icon, chose to add python to the path 
for single
user only, although I was user Admin.  Here are some things I noticed:


a) All the files get installed, but the progress bar did not actually go all 
the way to
the right, so I am suspicious that some kind of abort happened before 
completion.

b) The desktop icon was never visible.  (Right, what desktop icon?)

c) The path did not have C:\python\2.7.4\bin in it.

d) I ran python.exe anyways, and readline extension was definitely not in play. 
 I don't
see where PYTHONHOME is being set to the install dir, like the website says to 
do:
http://code.google.com/p/python-a-mingw-us/


After setting PYTHONPATH manually, readline extension still not look like it 
was active.
I expected to be able to press the up arrow key and see a previous expression 
entry line.


I did push the two NSIS installers to the website for other more experienced 
windows users
to test on more contemporary versions of Windows.


I can add you as an ADMIN at google website if you would like, so you can push 
your own
revisions.  Would need account info, say privately.


Dick


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


[Kicad-developers] BZR_HOME/rules: the time is NOW

2013-05-25 Thread Dick Hollenbeck
Gang,

Please put the attached file into your BZR_HOME directory and name it rules.

This file is also now in the root of the source tree, but has no effect there.  
It
contains instructions as comments that relate to linux and windows.  Mac users 
will have
to confirm on your own where BZR_HOME is.   Likely this is ~/.bazaar directory 
like on linux.

On any of the platforms, *you must copy rules file to proper directory* for 
bazaar to put
it into play.

All text files in the repo now have LF line endings.  To preserve this, we all 
have to
have a rules file like this one in play.  If BZR_HOME/rules is in play, then 
on your
next check out or branch, you will get native line endings on all text files in 
your
working tree, while the repo stays with LF line endings.


Thanks,

Dick
# This is the Bazaar rules file for KiCad Developers.
# http://doc.bazaar.canonical.com/beta/en/user-reference/eol-help.html

# To put it into use, you must _copy_ it to your BZR_HOME directory, where 
BZR_HOME
# varies by platform.  In that target directory, described in more detail below,
# simply make sure this file has the name rules, but without quotes.

# platform   BZR_RULES dir and rules filename
#-   
# linux  ~/.bazaar/rules
# WinXP  C:\Documents and Settings\username\Application 
Data\Bazaar\2.0\rules
# Win7   C:\Users\username\AppData\Roaming\bazaar\2.0\rules


# the actual rules:

[name *.png]
eol = exact

[name *.pdf]
eol = exact

[name *.sh]
eol = lf

[name *]
eol = native
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp