User Tools

Site Tools


geda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
geda [2015/05/08 12:59] lzuffereygeda [2019/08/29 12:04] (current) – [Create a new project] maferreira
Line 1: Line 1:
 ====== gEDA ====== ====== gEDA ======
 ===== Installation ===== ===== Installation =====
 +
 -- For Debian the installation is very easy -- For Debian the installation is very easy
-<code bash>aptitude install geda-gschem geda-symbols geda-utils geda-gnetlist pcb geda-xgsch2pcb</code>+<code bash>aptitude install geda-gschem geda-symbols geda-utils geda-gnetlist pcb geda-xgsch2pcb git</code>
  
   - After installation, copy your library folder into your "home directory".   - After installation, copy your library folder into your "home directory".
Line 8: Line 9:
   - Create ~/.gEDA/gschemrc   - Create ~/.gEDA/gschemrc
  
-<code> +===== Configuration ===== 
-(component-library "${HOME}/library/gschem-sym") + 
-(component-library-search "${HOME}/library/gschem-sym/") +At bolay.co, we use our internal library. We didn't need to install them system wide. 
-(load (build-path geda-rc-path "gschem-lightbg"))+We prefere to add the library for each project as a git sub-module, referring to the 
 +exact version of library that match this project. 
 +    
 +===== Create a new project ===== 
 + 
 +  * Create a new directory for the project 
 +  * Init a git repository 
 +  * Clone the gEda_Library repos to Libs (With git submodule) 
 +  * Copy gitignore from Libs/Config/gitignore to .gitignore 
 +  * Launch install script (./Libs/install.sh) 
 +<code bash> 
 +  mkdir ~/Projects 
 +  cd ~/Projects 
 +  mkdir mynewproject 
 +  cd mynewproject 
 +  git init 
 +  git submodule init 
 +  git submodule add git@git.bolay.co:gEDA_library.git Libs 
 +  cp Libs/Config/gitignore .gitignore 
 +  ./Libs/install.sh
 </code> </code>
  
--- copy gschemrc to gnetlistrc+When cloning a project from git.bolay.co, don't forget to do: 
 +<code bash> 
 +  git clone git@git.bolay.co:MyProject.git 
 +  git submodule init 
 +  git submodule update 
 +   
 +  git pull origin <branch>   
 +</code> 
 + 
 +Or  
 + 
 +<code bash> 
 +  git clone --rerursive git@git.bolay.co:MyProject.git 
 +  cd MyProject 
 +  git pull origin <branch> 
 +</code> 
 + 
 +When you want to modify a libray: 
 +<code bash> 
 +  ./Libs/install.sh 
 +  cd Libs/ 
 +  git checkout origin/develop # Don't forget 
 +   
 +  # Do something 
 +  git commit -am "Message like Add DS18B20.sym" 
 +  git push # Don't forget 
 +  cd .. 
 +  git commit -am "Update gEda Library" 
 +   
 +</code> 
 + 
  
-For more information visit : [[http://wiki.geda-project.org/geda:download]] 
 ===== Create Symbol ===== ===== Create Symbol =====
  
Line 181: Line 231:
  
 For more information, please visit : [[http://www.brorson.com/gEDA/land_patterns_20070818.pdf]] For more information, please visit : [[http://www.brorson.com/gEDA/land_patterns_20070818.pdf]]
 +or another link for the same doc [[https://github.com/evanfarrar/opensprints/raw/0b994c2b6b539b8a3beab4ea42a6447f10e396a3/hardware/interface_board/geda/docs/land_patterns_20070818.pdf]]
 ===== Schematic to PCB ===== ===== Schematic to PCB =====
  
geda.1431089958.txt.gz · Last modified: 2015/05/08 12:59 by lzufferey