You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB

  1. Contribute to KiCad (under Linux)
  2. --------------------
  3. 1) make sure you have all the dependencies of KiCad:
  4. sudo apt-get install debhelper dpatch libx11-dev
  5. sudo apt-get install libglu1-mesa-dev libgl1-mesa-dev mesa-common-dev
  6. sudo apt-get install libwxbase2.8-dev libwxgtk2.8-dev libboost-dev fakeroot
  7. sudo apt-get install cmake bzr
  8. sudo apt-get install cmake bzr bzrtools
  9. 2) initialize Bazaar:
  10. bzr whoami "John Doe <john.doe@gmail.com>"
  11. 3) get LATEST KiCad source tree and name it, for instance, "kicad_john":
  12. cd ~/
  13. bzr branch lp:kicad kicad_john
  14. 4) Read coding_style_policy.pdf, in <kicad_sources>/Documentation,
  15. and other docs.
  16. 5) Modify/add source code.
  17. cd kicad_john
  18. gedit .......
  19. 6) Compile:
  20. cd kicad_john
  21. mkdir build; cd build
  22. cmake ../ -DCMAKE_BUILD_TYPE=Debug
  23. to build a debug version
  24. or
  25. cmake ../ -DCMAKE_BUILD_TYPE=Release
  26. to build a release version
  27. make
  28. 7) Repeat step 5 and 6 until satisfied.
  29. 8) Create a patch:
  30. in kicad_john:
  31. if some files are added: bzr add [FILE...]
  32. bzr diff > my_changes.patch
  33. 9) Send the patch file "my_changes.patch" to the KiCad developers mailing list.
  34. in the subject of the e-mail include the keyword "[PATCH]".
  35. in the body of the e-mail clearly explain what you have done.
  36. for more info see INSTALL.txt.