Skip to content

gareth8118/lepton-eda

 
 

Lepton Electronic Design Automation

Copyright (C) 1998-2017 gEDA Developers. Copyright (C) 2017 Lepton Developers.

Introduction

The GPL Electronic Design Automation (gEDA) project has produced and continues working on a full GPL'd suite and toolkit of Electronic Design Automation tools. These tools are used for electrical circuit design, schematic capture, simulation, prototyping, and production. Currently, the gEDA project offers a mature suite of free software applications for electronics design, including schematic capture, attribute management, bill of materials (BOM) generation, netlisting into over 20 netlist formats, analog and digital simulation, and printed circuit board (PCB) layout.

The gEDA project was started because of the lack of free EDA tools for POSIX systems with the primary purpose of advancing the state of free hardware or open source hardware. The suite is mainly being developed on the GNU/Linux platform with some development effort going into making sure the tools run on other platforms as well.

The Lepton EDA suite (this package) provides schematic capture, netlisting, bill of materials generation, and many other features. It was forked from the gEDA/gaf suite in late 2016.

Tools in the Lepton EDA suite

The major components of the Lepton suite are:

  • liblepton

    • A library of functions for manipulating Lepton schematics and symbols.
  • gschem

    • A schematic editor.
  • gattrib

    • A spreadsheet-like program for bulk editing of component attributes.
  • gnetlist

    • A highly-flexible, hierarchy-aware utility which parses schematics to generate a number of outputs, including netlists for a wide variety of PCB layout tools. It can also generate bills of materials and DRC reports for your schematics.
  • gsch2pcb

  • lepton-symcheck

    • A utility for checking for common errors in schematic symbol files.
  • lepton-cli

    • A utility for interactive and batch mode working with Lepton EDA Scheme API, exporting schematics into various formats, and configuring all the programs of the suite.

Installation

The information in this section is intended to supplement the information in the INSTALL file.

Dependencies

In order to compile gEDA from the distributed source archives, you must have the following tools and libraries installed:

The following tools and libraries are highly recommended:

The following tools and libraries are optional:

Troubleshooting dependencies

"I've installed the libfoo library, but ./configure isn't picking it up!"

Many modern operating system distributions split a library into two packages:

  1. a libfoo package, which contains the files necessary to run programs which use libfoo.

  2. a libfoo-dev or libfoo-devel package, which contains the files necessary to compile programs which use libfoo.

If you're having problems, make sure that you have all of the necessary dev or devel packages installed.

Installation from a source archive

First extract the archive to a sensible place:

tar -xzvf lepton-eda-<version>.tar.gz && cd lepton-eda-<version>

Run the configuration script. You'll probably want to specify a custom directory to install gEDA to, for example:

./configure --prefix=$HOME/lepton

You can then compile Lepton:

make

And install it (if you used a --prefix outside your $HOME directory, you may need to run this as root):

make install

For more information on installing Lepton, see the INSTALL document.

Installation from the git repository

Lepton uses the git version control system. If you wish to try out the very latest version of Lepton, you will need to install some extra tools in addition to the ones listed above:

Once you have these installed, you need to clone the gEDA git repository:

git clone https://github.com/lepton-eda/lepton-eda.git

To generate the configure script, run:

./autogen.sh

You can then proceed to configure and build Lepton as described above.

Building Lepton developer API documentation

Several of the Lepton libraries and applications have doxygen API documentation available. To generate the API documentation from the source code, install doxygen (see Dependencies above. Next, add --enable-doxygen to your configure command line, i.e.:

./configure --enable-doxygen

To compile the documentation (quite a slow process), run:

make doxygen

The documentation can then be found in:

*/docs/html/index.html
*/docs/latex/refman.pdf

Some modules don't automatically generate the PDF version of the documentation. If you want them you have to build them explicitly, e.g.:

cd gattrib/docs && make refman.pdf

Getting help

There are several ways to get help with installing and using Lepton and the rest of the gEDA tools:

  • The gEDA website http://www.geda-project.org has more extensive information on the gEDA tools, and links to some successful projects which use gEDA.

  • The gEDA documentation wiki contains a large amount of helpful information. A static copy is included with this distribution; see the docs/wiki/index.html file. The wiki is accessible online at http://wiki.geda-project.org/.

  • If the resources above didn't help you resolve your problem, or you are having a design problem that you want to get help with, consider subscribing to and posting your question to the geda-user mailing list. http://wiki.geda-project.org/geda:mailinglists

  • If you have discovered a bug, have a feature request, or have written a patch to Lepton, please create an item on the lepton-eda bug tracker page: https://github.com/lepton-eda/lepton-eda/issues

License

Lepton EDA (this package) is freely distributable under the GNU Public License (GPL) version 2.0 or (at your option) any later version. See the COPYING file for the full text of the license.

The programs and associated files are:

Copyright (C) 1998-2017 by Ales Hvezda and the respective original authors. Copyright (C) 2017 Lepton Developers.

See the AUTHORS file for a more extensive list of contributors to Lepton EDA and gEDA.

About

lepton-eda work in progress

Resources

License

GPL-2.0, LGPL-2.1 licenses found

Licenses found

GPL-2.0
COPYING
LGPL-2.1
COPYING.LGPL

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 67.8%
  • Scheme 13.2%
  • KiCad Layout 10.1%
  • Perl 1.8%
  • Makefile 1.6%
  • Shell 1.4%
  • Other 4.1%