Re: [Kicad-developers] footprint library table wizard: need testers

2014-12-23 Thread Барановский Константин
Checked the work of the footprint library wizard (include webbrowser) on 
Ubuntu 14.04 32bit  - no issues are happened:


wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1002,GCC 
4.8.2,wx containers,compatible with 2.8)

Platform: Linux 3.13.0-40-generic i686, 32 bit, Little endian, wxGTK
Boost version: 1.54.0
 USE_WX_GRAPHICS_CONTEXT=OFF
 USE_WX_OVERLAY=OFF
 KICAD_SCRIPTING=ON
 KICAD_SCRIPTING_MODULES=ON
 KICAD_SCRIPTING_WXPYTHON=ON
 USE_FP_LIB_TABLE=HARD_CODED_ON
 BUILD_GITHUB_PLUGIN=ON


___
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] footprint library table wizard: need testers

2014-12-22 Thread jp charras
Le 22/12/2014 19:56, Константин Барановский a écrit :
> Tested the wizard on Archlinux (64bit). Legacy, github and pretty libraries
> added successfully. Web browser also work without issues.
> Maybe should stretch the address line to the entire width of the window,
> what do you think?

Yes, good idea.
But the wxTextCtrl which contains this text is inside a toolbar, and
stretch the address line requires some code.

> 
> 2014-12-22 20:38 GMT+02:00 jp charras :
> 
>> Le 22/12/2014 18:45, Adam Wolf a écrit :
>>> This is great!  Good work jp!
>>
>> Thanks.
>>
>>
>> --
>> Jean-Pierre 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
>>
> 


-- 
Jean-Pierre 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] footprint library table wizard: need testers

2014-12-22 Thread LordBlick

In response to a message written on 22.12.2014, 19:38, from jp charras:

Le 22/12/2014 18:45, Adam Wolf a écrit :

This is great!  Good work jp!
It will be perfect, if kicad was build with -DBUILD_GITHUB_PLUGIN=OFF, then 
github plugin path was excluded from dialog… ;)



--
Best Regards,
LordBlick

___
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] footprint library table wizard: need testers

2014-12-22 Thread jp charras
Le 22/12/2014 18:45, Adam Wolf a écrit :
> This is great!  Good work jp!

Thanks.


-- 
Jean-Pierre 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] footprint library table wizard: need testers

2014-12-22 Thread Adam Wolf
This is great!  Good work jp!

On Mon, Dec 22, 2014 at 11:08 AM, Andy Peters  wrote:

>
> > On Dec 21, 2014, at 8:46 AM, jp charras  wrote:
> >
> > I committed the first version of a wizard to manage the footprint
> > library table dialog editor.
> > It help users to select the right plugin, an existing environment
> > variable or an absolute path, and add a list of new entries to the table.
> > Note: the wxWidgets webkit/webview library is needed.
> > On windows,there is no problem.
> > On Linux,  the webkitgtk-devel tool (sudo apt-get install
> > libwebkitgtk-dev) must be installed if it is missing (and wxWidgets
> > rebuilt after running configure.).
> > See:
> > http://docs.wxwidgets.org/3.0/classwx_web_view.html
> >
> > However, to avoid use of wxwebview, if it creates issues, you can
> > compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
> > But the github plugin wizard will be not fully available.
> >
> > Currently this option is ON.
> > OSX testers are welcome.
>
> BZR 5335 built fine on OS X 10.10.1 and the fp-table dialog seemed to work
> as advertised. I need to do more converting of old legacy libraries to
> pretty so this will be a good opportunity to further test this dialog.
>
> -a
>
>
>
> ___
> 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] footprint library table wizard: need testers

2014-12-22 Thread Andy Peters

> On Dec 21, 2014, at 8:46 AM, jp charras  wrote:
> 
> I committed the first version of a wizard to manage the footprint
> library table dialog editor.
> It help users to select the right plugin, an existing environment
> variable or an absolute path, and add a list of new entries to the table.
> Note: the wxWidgets webkit/webview library is needed.
> On windows,there is no problem.
> On Linux,  the webkitgtk-devel tool (sudo apt-get install
> libwebkitgtk-dev) must be installed if it is missing (and wxWidgets
> rebuilt after running configure.).
> See:
> http://docs.wxwidgets.org/3.0/classwx_web_view.html
> 
> However, to avoid use of wxwebview, if it creates issues, you can
> compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
> But the github plugin wizard will be not fully available.
> 
> Currently this option is ON.
> OSX testers are welcome.

BZR 5335 built fine on OS X 10.10.1 and the fp-table dialog seemed to work as 
advertised. I need to do more converting of old legacy libraries to pretty so 
this will be a good opportunity to further test this dialog.

-a



___
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] footprint library table wizard: need testers

2014-12-22 Thread jp charras
Le 22/12/2014 11:22, Bernhard Stegmaier a écrit :
> Hi Jean-Pierre,
> 
> tested on OS X with 5334, without -DKICAD_USE_WEBKIT=OFF,  and wxWidgets 
> 3.0.2 (built via the script).
> Builds without problems, seems to work (I didn’t test the wizard itself 
> further).
> 
> Independently from that:
> With 5333 you seemed to have removed the freeroute.jnlp.
> Was it on purpose?
> It currently breaks the “make install” at least on OS X because it can’t find 
> the file to copy any longer… the part

Fixed now.
freeroute.jnlp is useless now, because freeroute is no more accessible
via the Web.
Now just copy freeroute.jar in kicad bin folder to run freeroute from Kicad.


-- 
Jean-Pierre 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] footprint library table wizard: need testers

2014-12-22 Thread Nick Østergaard
That also breaks the install on linux.

Install the project...
-- Install configuration: "Release"
-- Installing: /foo/pkg/kicad-bzr/usr/share/doc/kicad/INSTALL.txt
CMake Error at cmake_install.cmake:40 (file):
  file INSTALL cannot find
  "/foo/src/kicad/resources/freeroute.jnlp".


Makefile:66: recipe for target 'install' failed
make: *** [install] Error 1

2014-12-22 11:22 GMT+01:00 Bernhard Stegmaier :
> Hi Jean-Pierre,
>
> tested on OS X with 5334, without -DKICAD_USE_WEBKIT=OFF,  and wxWidgets 
> 3.0.2 (built via the script).
> Builds without problems, seems to work (I didn’t test the wizard itself 
> further).
>
> Independently from that:
> With 5333 you seemed to have removed the freeroute.jnlp.
> Was it on purpose?
> It currently breaks the “make install” at least on OS X because it can’t find 
> the file to copy any longer… the part
> <<<
> install( FILES resources/freeroute.jnlp
> DESTINATION ${KICAD_BIN}
> COMPONENT resources )

> seems to be quite independent from OS X, though.
>
>
> Regards,
> Bernhard
>
>
>> On 21.12.2014, at 16:46, jp charras  wrote:
>>
>> I committed the first version of a wizard to manage the footprint
>> library table dialog editor.
>> It help users to select the right plugin, an existing environment
>> variable or an absolute path, and add a list of new entries to the table.
>> Note: the wxWidgets webkit/webview library is needed.
>> On windows,there is no problem.
>> On Linux,  the webkitgtk-devel tool (sudo apt-get install
>> libwebkitgtk-dev) must be installed if it is missing (and wxWidgets
>> rebuilt after running configure.).
>> See:
>> http://docs.wxwidgets.org/3.0/classwx_web_view.html
>>
>> However, to avoid use of wxwebview, if it creates issues, you can
>> compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
>> But the github plugin wizard will be not fully available.
>>
>> Currently this option is ON.
>> OSX testers are welcome.
>>
>>
>> --
>> Jean-Pierre 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

___
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] footprint library table wizard: need testers

2014-12-22 Thread Bernhard Stegmaier
Hi Jean-Pierre,

tested on OS X with 5334, without -DKICAD_USE_WEBKIT=OFF,  and wxWidgets 3.0.2 
(built via the script).
Builds without problems, seems to work (I didn’t test the wizard itself 
further).

Independently from that:
With 5333 you seemed to have removed the freeroute.jnlp.
Was it on purpose?
It currently breaks the “make install” at least on OS X because it can’t find 
the file to copy any longer… the part
<<<
install( FILES resources/freeroute.jnlp
DESTINATION ${KICAD_BIN}
COMPONENT resources )
>>>
seems to be quite independent from OS X, though.


Regards,
Bernhard


> On 21.12.2014, at 16:46, jp charras  wrote:
> 
> I committed the first version of a wizard to manage the footprint
> library table dialog editor.
> It help users to select the right plugin, an existing environment
> variable or an absolute path, and add a list of new entries to the table.
> Note: the wxWidgets webkit/webview library is needed.
> On windows,there is no problem.
> On Linux,  the webkitgtk-devel tool (sudo apt-get install
> libwebkitgtk-dev) must be installed if it is missing (and wxWidgets
> rebuilt after running configure.).
> See:
> http://docs.wxwidgets.org/3.0/classwx_web_view.html
> 
> However, to avoid use of wxwebview, if it creates issues, you can
> compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
> But the github plugin wizard will be not fully available.
> 
> Currently this option is ON.
> OSX testers are welcome.
> 
> 
> -- 
> Jean-Pierre 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] footprint library table wizard: need testers

2014-12-21 Thread jp charras
Le 21/12/2014 18:14, Miguel Angel Ajo Pelayo a écrit :
> Nice Jean-pierre,  I will make sure tonight that the CI system has the webkit 
> library installed or otherwise switch off the compilation flag. 
> 

Thanks.

I also have an issue with winbuilder, at linking stage.

Although the webview library is built and exists (both
libwxmsw30u_webview.dll.a and wxmsw300u_webview_gcc_cm.dll), link fails
for CvPcb and Pcbnew because 7 symbols are not found.

They are all defined in wxWidgets-xxx/src/common/webview.cpp

Brian, may I ask you to have a look at this issue, and at least see if
the webview sample compiles fine under wxWidgets-cmake.

Thanks.


> Sent from my Android phone using TouchDown (www.nitrodesk.com)
> 
> 
> -Original Message-
> From: jp charras [jp.char...@wanadoo.fr]
> Received: Sunday, 21 Dec 2014, 16:46
> To: kicad-developers@lists.launchpad.net
> Subject: Re: [Kicad-developers] footprint library table wizard: need testers
> 
> I committed the first version of a wizard to manage the footprint
> library table dialog editor.
> It help users to select the right plugin, an existing environment
> variable or an absolute path, and add a list of new entries to the table.
> Note: the wxWidgets webkit/webview library is needed.
> On windows,there is no problem.
> On Linux,  the webkitgtk-devel tool (sudo apt-get install
> libwebkitgtk-dev) must be installed if it is missing (and wxWidgets
> rebuilt after running configure.).
> See:
> http://docs.wxwidgets.org/3.0/classwx_web_view.html
> 
> However, to avoid use of wxwebview, if it creates issues, you can
> compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
> But the github plugin wizard will be not fully available.
> 
> Currently this option is ON.
> OSX testers are welcome.
> 
> 


-- 
Jean-Pierre 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] footprint library table wizard: need testers

2014-12-21 Thread Miguel Angel Ajo Pelayo
Nice Jean-pierre,  I will make sure tonight that the CI system has the webkit 
library installed or otherwise switch off the compilation flag. 

Sent from my Android phone using TouchDown (www.nitrodesk.com)


-Original Message-
From: jp charras [jp.char...@wanadoo.fr]
Received: Sunday, 21 Dec 2014, 16:46
To: kicad-developers@lists.launchpad.net
Subject: Re: [Kicad-developers] footprint library table wizard: need testers

I committed the first version of a wizard to manage the footprint
library table dialog editor.
It help users to select the right plugin, an existing environment
variable or an absolute path, and add a list of new entries to the table.
Note: the wxWidgets webkit/webview library is needed.
On windows,there is no problem.
On Linux,  the webkitgtk-devel tool (sudo apt-get install
libwebkitgtk-dev) must be installed if it is missing (and wxWidgets
rebuilt after running configure.).
See:
http://docs.wxwidgets.org/3.0/classwx_web_view.html

However, to avoid use of wxwebview, if it creates issues, you can
compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
But the github plugin wizard will be not fully available.

Currently this option is ON.
OSX testers are welcome.


-- 
Jean-Pierre 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] footprint library table wizard: need testers

2014-12-21 Thread jp charras
I committed the first version of a wizard to manage the footprint
library table dialog editor.
It help users to select the right plugin, an existing environment
variable or an absolute path, and add a list of new entries to the table.
Note: the wxWidgets webkit/webview library is needed.
On windows,there is no problem.
On Linux,  the webkitgtk-devel tool (sudo apt-get install
libwebkitgtk-dev) must be installed if it is missing (and wxWidgets
rebuilt after running configure.).
See:
http://docs.wxwidgets.org/3.0/classwx_web_view.html

However, to avoid use of wxwebview, if it creates issues, you can
compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
But the github plugin wizard will be not fully available.

Currently this option is ON.
OSX testers are welcome.


-- 
Jean-Pierre 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] footprint library table wizard: need testers

2014-12-11 Thread Nick Østergaard
Hello Jean-Pierre

I just tried it on linux.

2014-12-11 21:53 GMT+01:00 jp charras :
> Hello,
>
> I wrote a wizard to manage the footprint library table.
> It is intended to help users to easily add footprint libraries to the
> library table.
>
> Attached a patch (zip file) to test this wizard.
> It is not finalized, and the library table dialog and the wizard still
> needs some refinements, but it works.
>
> It is accessible via the "preferences:library tables" menu
> It allows:
> the selection of plugin (library type)
> the selection of type of default path (project/env var/absolute path)
> the selection of a list of libraries (and add them to the current
> library table)
>
> It should work with any plugin type, including github type.
>
> When using github option, the wxWidget webview kit is used.
> To select .pretty libraries and add them, you have to use the context
> menu and the "copy link" command (with the mouse cursor on a .pretty
> link) to add this lib to the fp lib table.
> Note the context menu is not handled by wXWidgets but by the OS, so
> "copy link" could have different label depending on the OS and the locale.

But I have a hard time figuring out how to add the pretty repos on
github with the browser window it opens. Mmm, I then copied a few
things. Then closed the window, then I see some links in the path
rows. But here the "Remove FP Libraries" do nothing. I guess this is a
bug.

Also I see that it adds them with small lettres, where the
fp-lib-tables on github uses the exact name of the pretty repo, that
is with big beginning letter.

> The wizard is not fully finished and the "Add Environment Variable"
> button can be used, but the newly created variable is not (yet) stored.
>
> I need:
> - a feedback about this wizard (usability, bugs ...).
> - a test on OSX and Linux (I tested it only on Kubuntu 10.04) to know
> issues.
>
> To build Kicad after patching, the wxWidgets webkit/webview library is
> needed.
> To know if it is available, try to build the wxWidgets webview sample.
>
> On windows, I am thinking there is no problem.
> On Linux, if the webkit/webview library, you have to install the
> libwebkitgtk-dev tool (sudo apt-get install libwebkitgtk-dev) and
> rebuild wxWidgets after running configure --with-opengl.
> On OSX I don't know the status, but webkit/webview library is buildable.
>
> Thanks.
>
> --
> Jean-Pierre 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