Commit Graph

81 Commits

Author SHA1 Message Date
jean-pierre charras de8ae428fd Minor fixes (typo in messages) 2014-12-30 18:15:46 +01:00
Johannes Maibaum 834d54415f OSX build fixes.
* Make patches/wxwidgets-3.0.2_macosx_yosemite.patch usable.  There were
  complaints here before that the patch does not work because it is a
  "metapatch" that tries to patch another patch (which is not in the tree
  and therefore fails). With this change, it becomes a normal patch again,
  that can be applied to the wxWidgets source tree as described in
  Documentation/compiling/mac-osx.txt.
* Make scripts/library-repos-install.sh compatible with OSX: This involves
  checking for the correct option to enable extended regular expressions in
  sed during detect_pretty_repos, as the script uses "-r", which is only
  available in GNU sed. The sed shipped with Mac OSX is an older BSD descendant
  sed which needs "-E". This change has been tested to work on Mac OSX 10.10.1
  and on an up-to-date Arch Linux.  I also changed the error message during
  --install-prerequisites to inform users without apt-get or yum which programs
  need to be installed to use the script.
* Add the execute flag to scripts/osx_build_wx.sh: At the moment, after
  fetching the source with bzr, one has to chmod the file by hand. This
  change change ensures consistency between the script and the build docs
  for OSX, which assumes the script to be executable.
2014-12-08 12:40:38 -05:00
jean-pierre charras 0ac378fad7 More about BOM dialog. Still not perfect, but more easy to use. 2014-12-03 20:09:56 +01:00
jean-pierre charras f3765a32d8 Fix minor issues. Fix some outdated and broken BOM python scripts. Add info in BOM python scripts.
BOM dialog: remove a not very useful button, and merge its function with an other (not perfect, need more work)
Add message box to show info added in BOM python scripts (See scripts/bom-in-python/README-bom.txt about this info)
2014-12-03 17:22:06 +01:00
Bernhard Stegmaier b495ad0374 OSX build fixes.
* Make defintion of OSX build target a requirement.
* Update OSX build documenation to reflect build changes.
* Update OSX build script to reflect build changes.
2014-11-28 12:34:00 -05:00
TomCC 1a550b8ef1 Fix Python BOM script bug when output file cannot be opened. (fixes:lp:1391904) 2014-11-17 13:03:56 -05:00
Gilbert 9f6d1d0ea7 Update the kicad-install.sh script to work with Fedora 20. 2014-11-04 14:32:22 -05:00
Gilbert J.M. Forkel 25061ed626 Add check for correct wxGTK version report by wx-config. If incorrect cmake fails. Compare https://bugzilla.redhat.com/show_bug.cgi?id=1077718 2014-11-02 00:20:53 +01:00
Gilbert J.M. Forkel 6aa4de9bfd Do not exit if yum group install fails, because it also fails if all packages are installed already 2014-11-02 00:05:56 +01:00
Gilbert J.M. Forkel 7413cfd160 Updated wxWidget from 2 to 3 2014-11-01 23:58:34 +01:00
Gilbert J.M. Forkel 4942c8b982 Removed invalid packet: install 2014-11-01 23:57:33 +01:00
jean-pierre charras c237838d00 python scripting: refinement for UTF8 class (from Miguel Ángel Ajo Pelayo) add __str__ method, usefull to print a UTF8 string.
Kicad manager: fix issues in file watcher: changes (adding/removing files)  in project folder not seen by Kicad manager (perhaps due to changes in internal wxWidgets code between 2.9.5 and 3.0).
2014-10-21 18:34:51 +02:00
nosuz 959b63ba8f Fix kicad-install.sh to only install wxPython when building with scripting enabled. 2014-10-21 11:52:30 -04:00
Joseph Chen ad5ca60401 Minor improvements to kicad-install.sh.
* Exit script when package install, build configuration, or build fails.
* Install each dependency package one at a time.
2014-10-20 10:33:53 -04:00
unknown 6728f0a863 scripts/test_kicad_plugin.py cleanup 2014-10-18 17:11:25 +02:00
jean-pierre charras f23bb59cd1 Python scripting: make UTF8 class accessible by python scripts. Add python method GetChars() to UTF8 class to get its char buffer.
See scripts/test_kicad_plugin.py for example.
2014-10-18 10:18:14 +02:00
Henner Zeller 40468bffa8 Fix install location of fp-lib-table in scripts/library-repos-install.sh. 2014-10-17 14:44:38 -04:00
Berhnard Stegmaier b8d1789a22 OSX build fixes and improvements.
* Fix creation of single app bundle with respect to scripting support.
* Cleanup scripting search paths for OSX.
* Fix some small CMake bugs from previous OSX build change.
* Optimize bundle file structure to be consistent with Apple specs.
* Add helper script for compiling wxWidgets and wxPython
* Update OSX build instructions.
2014-10-08 14:41:36 -04:00
Wayne Stambaugh 1b6cfcab42 Update kicad-install.sh to install wxWidgets 3.0 on Debian based distro builds. 2014-09-28 20:18:10 -04:00
Dick Hollenbeck bad00e7b46 uncork the hold on use of latest code in kicad-install.sh 2014-08-19 13:07:38 -05:00
Dick Hollenbeck 0c493d8035 KIWAY support in 5054 is stable enough to use in view of all other new features. 2014-08-05 22:46:11 -05:00
Dick Hollenbeck 6da86c12de KIWAY::player_destroy_handler() skips on the wxWindowDestroyEvent, just in case 2014-07-17 09:10:15 -05:00
Dick Hollenbeck 3d311f831e *) Remove more wxString static constructors which were crashing in PAGE_INFO assignment
to a new BOARD in the footprint editor.  This is PAGE_INFO::A4 and company.
   
*) Remove static storage of the BOARD in the module editor.
2014-06-11 00:00:30 -05:00
unknown 764c18bde1 OSX install script fixes. 2014-05-29 20:35:49 +02:00
Dick Hollenbeck 9fe5ce67e6 Modular-Kicad milestone B), minor portion:
*)  Implement a framework for "Data Load On Demand".

*)  Implement FP_LIB_TABLE* PROJECT::PcbFootprintLibs(), which is the first
    prototype.

This allows the project specific footprint tables to be part of the Module Editor
when invoked from Eeschema.
2014-05-09 13:35:48 -05:00
marco. 0166c95efd OSX: fix incorrect path to launch pl_editor.
fix also a bug in python script round_value_robin.py.
2014-05-09 08:32:05 +02:00
Dick Hollenbeck 223e372628 peggable checkout version in scripts/kicad-install.sh 2014-05-08 17:29:22 -05:00
Dick Hollenbeck b933ef8565 Allow building of a STABLE or TESTING version using kicad-install.sh. 2014-05-06 00:23:57 -05:00
Dick Hollenbeck 953bf1d923 kicad-install.sh: only install global fp-lib-table if non-existent 2014-04-11 08:36:20 -05:00
Nick Østergaard a54df13036 bzr email happiness 2014-04-11 08:30:30 -05:00
Dick Hollenbeck 94bc435599 Enhance scripts/library-repos-install.sh to create library-repos-install.bat and add that. 2014-04-07 07:28:44 -05:00
Dick Hollenbeck 35b554d9d9 make kicad-install.sh executable 2014-04-06 14:21:10 -05:00
Dick Hollenbeck a196db3811 use proper schematic parts library 2014-04-06 14:12:37 -05:00
Dick Hollenbeck 8bfcb00aab kicad-install.sh uses https protocol. 2014-04-06 13:50:59 -05:00
jean-pierre charras 152c97a34f kicad-install.sh: fix bad url for legacy libraries. Add the same script hich does not need a bazaar account to download Kicad (using https instead of ssh to create branches) 2014-03-18 19:52:29 +01:00
Marco Serantoni 73898d5954 [MacOSX] Refines in building system, now bundles lib migration supports symbolic links 2014-02-12 00:13:14 +01:00
Marco Serantoni eb34364d89 [MacOSX] Automating building for OSX with KICAD_SCRIPTING, see Documentation/compiling/mac-osx.txt 2014-02-07 19:53:54 +01:00
Dick Hollenbeck 784e43f2e8 Add option --remove-orphaned-libraries to scripts/library-repos-install.sh 2014-01-28 08:23:01 -06:00
Marco Serantoni 786bb81c4d [MacOSX] KICAD_BUILD_DYNAMIC stabilized and almost working 2014-01-27 23:24:04 +01:00
Dick Hollenbeck bf30114db8 use changed URL to library repo. 2014-01-20 13:10:45 -06:00
Dick Hollenbeck 860d26e451 kicad-install.sh: abort on first failure. 2013-12-23 09:39:40 -06:00
Dick Hollenbeck 5c28285cdf kicad-install.sh and library-repos-install.sh utilize /etc/profile.d/kicad.sh for setting environment variables globally 2013-12-13 09:35:05 -06:00
Dick Hollenbeck 7ba078b620 remove USE_FP_LIB_TABLE code, make it the norm. Add lazy loading support to FOOTPRINT_INFO. 2013-12-12 10:01:03 -06:00
Dick Hollenbeck 7985a4b16b From kicad-install.sh, issue instructional aid on setting KIGITHUB if not already set. 2013-12-04 16:19:55 -06:00
Dick Hollenbeck 879a6225c2 Add a test script for plugin testing, and some asserts, no bugs fixed. 2013-12-03 12:37:21 -06:00
Dick Hollenbeck c6d7ee7e19 Fix important informational comment in library-repos-install.sh 2013-12-02 14:08:13 -06:00
Dick Hollenbeck 81bdafcf55 *) update scripts/kicad-install.sh to use Github plugin for system footprints.
*) Add scripts/library-repos-install.sh for downloading *.pretty libraries and possibly using them.
*) Remove template/fp-* files, they are now at https://github.com/KiCad/kicad-library/template/*
   so they can be maintained by the library team.  However note that it is possible to break
   kicad-install.sh with uncoordinated changes to that github repo.

It is best to delete your ~/kicad_sources/kicad-lib.bzr directory before running kicad-install.sh
at this or any newer version relative to an older library repo.
2013-12-02 12:21:06 -06:00
Dick Hollenbeck 4a297e7812 library repo name has changed at launchpad, and will soon be switched to github. 2013-12-02 00:59:06 -06:00
Jon Neal 18dd52385f FIX: Red Hat (and derivatives such as Fedora) support in kicad-install.sh 2013-11-27 08:13:06 -06:00
Dick Hollenbeck 683a655fa7 python in kicad-install.sh, if user enables it 2013-11-10 00:31:13 -06:00