{"id":13641332,"url":"https://github.com/lepton-eda/lepton-eda","last_synced_at":"2025-04-20T07:33:11.385Z","repository":{"id":487438,"uuid":"113512","full_name":"lepton-eda/lepton-eda","owner":"lepton-eda","description":"GPL Electronic Design Automation","archived":false,"fork":false,"pushed_at":"2024-11-01T17:12:38.000Z","size":52517,"stargazers_count":204,"open_issues_count":18,"forks_count":37,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-01T18:20:15.639Z","etag":null,"topics":["c","cad","circuit","design-tools","electronics","geda","gpl","guile"],"latest_commit_sha":null,"homepage":"https://lepton-eda.github.io","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lepton-eda.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-01-23T22:13:15.000Z","updated_at":"2024-11-01T17:12:43.000Z","dependencies_parsed_at":"2023-10-04T20:17:53.996Z","dependency_job_id":"9c54a135-3a6f-468b-b90a-fdeaa00e80f1","html_url":"https://github.com/lepton-eda/lepton-eda","commit_stats":{"total_commits":14670,"total_committers":104,"mean_commits":"141.05769230769232","dds":0.5325153374233129,"last_synced_commit":"a94ce81527e5c4c0d1a3b1f3bf7378ff2b78ae31"},"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lepton-eda%2Flepton-eda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lepton-eda%2Flepton-eda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lepton-eda%2Flepton-eda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lepton-eda%2Flepton-eda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lepton-eda","download_url":"https://codeload.github.com/lepton-eda/lepton-eda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223822241,"owners_count":17208832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cad","circuit","design-tools","electronics","geda","gpl","guile"],"created_at":"2024-08-02T01:01:19.849Z","updated_at":"2025-04-20T07:33:11.370Z","avatar_url":"https://github.com/lepton-eda.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Lepton Electronic Design Automation\n===================================\n[![Join the chat at https://app.gitter.im/#/room/#Lepton-EDA_Lobby:gitter.im](https://badges.gitter.im/Join%20Chat.svg)](https://app.gitter.im/#/room/#Lepton-EDA_Lobby:gitter.im)\n\nIntroduction\n============\n\nLepton EDA is a suite of free software tools for designing\nelectronics. It provides schematic capture, netlisting into\nover 30 netlist formats, and many other features. It was forked\nfrom the [gEDA/gaf suite](http://wiki.geda-project.org/geda:gaf)\nin late 2016 by most of its active developers at that time.\n\nThe GPL Electronic Design Automation (gEDA) project has produced and\ncontinues working on a full GPL'd suite and toolkit of Electronic\nDesign Automation tools. These tools are used for electrical circuit\ndesign, schematic capture, simulation, prototyping, and\nproduction. Currently, the gEDA project offers a mature suite of free\nsoftware applications for electronics design, including schematic\ncapture, attribute management, bill of materials (BOM) generation,\nnetlisting, analog and digital\nsimulation, and printed circuit board (PCB) layout.\n\nThe gEDA project was started because of the lack of free EDA tools for\nPOSIX systems with the primary purpose of advancing the state of free\nhardware or open source hardware. The suite is mainly being developed\non the GNU/Linux platform with some development effort going into\nmaking sure the tools run on other platforms as well.\n\nCompatibility with geda-gaf\n===========================\n\nLepton EDA is backward compatible with its predecessor `geda-gaf`\nand supports the same file format for symbols and schematics.  We\nare planning to support it in future since there are lots of\nsymbols and schematics created using it.  We cannot promise you to\nsupport any change in `geda-gaf` in future, though.  It's up to\nyou, our users, to point out what feature you would like to have\nin Lepton.\n\nTools in the Lepton EDA suite\n=============================\n\nThe major components of the Lepton suite are:\n\n- `liblepton`\n  - A library of functions for manipulating Lepton schematics and symbols\n    and rendering primitives.\n\n- `libleptongui`\n  - A library of GUI functions.\n\n- `lepton-schematic`\n  - A schematic editor.\n\n- `lepton-attrib`\n  - A spreadsheet-like program for bulk editing of component attributes.\n\n- `lepton-netlist`\n  - A highly-flexible, hierarchy-aware utility which parses schematics\n    to generate a number of outputs, including netlists for a wide\n    variety of PCB layout tools.  It can also generate bills of\n    materials and DRC reports for your schematics.\n\n- `lepton-sch2pcb`\n  - A command-line utility for streamlining the workflow where\n    'PCB' \u003chttp://pcb.geda-project.org/\u003e and `lepton-schematic`\n    are used together.\n\n- `lepton-symcheck`\n  - A utility for checking for common errors in schematic symbol files.\n\n- `lepton-cli`\n  - A utility for interactive and batch mode working with Lepton\n    EDA Scheme API, exporting schematics into various formats, and\n    configuring all the programs of the suite.\n\nInstallation\n============\n\nDependencies\n------------\n\nIn order to compile Lepton EDA from the distributed source\narchives, you *must* have the following tools and libraries\ninstalled:\n\n- A C/C++ compiler and standard library (GCC/glibc are recommended).\n\n- The `pkg-config` tool for managing shared libraries.\n  \u003chttp://pkgconfig.freedesktop.org/\u003e\n\n- Guile (\"GNU's Ubiquitous Intelligent Language for Extensions\"),\n  version 2.2.0 or later.  \u003chttp://www.gnu.org/software/guile/\u003e\n\n- GTK+ (the Gimp Toolkit), version 2.24.0 or later.\n  \u003chttp://www.gtk.org/\u003e\n\n- GNU `gettext`, version 0.18 or newer.\n  \u003chttp://www.gnu.org/software/gettext/\u003e\n\n- The `lex` tool for generating lexical scanners.  The `flex`\n  implementation recommended.  \u003chttp://flex.sourceforge.net/\u003e\n\n- The `awk` tool for data processing.  GNU Awk (`gawk`) is\n  recommended.  \u003chttp://www.gnu.org/software/gawk/\u003e\n\nThe following tools and libraries are **highly recommended**:\n\n- GNU `troff` (`groff`). \u003chttp://www.gnu.org/software/groff/\u003e\n\n- The freedesktop.org MIME info database.\n  \u003chttp://freedesktop.org/Software/shared-mime-info\u003e\n\n- The freedesktop.org utilities for manipulating `.desktop` files.\n  \u003chttp://www.freedesktop.org/software/desktop-file-utils\u003e\n\nThe following tools and libraries are optional:\n\n- `libstroke`, a stroke and gesture recognition library.  If this is\n  available, `lepton-schematic` will support mouse gesture recognition.\n  \u003chttp://www.etla.net/libstroke/\u003e\n\n- The `doxygen` API documentation tool.  This is required for\n  building the Lepton developer API documentation, not for the\n  regular user documentation.  \u003chttp://www.doxygen.nl\u003e\n\n- 'Inkscape' or 'ImageMagick' for svg to png or pdf conversion\n  This is required for building the Lepton developer API documentation,\n  not for the regular user documentation.\n  \u003chttp://inkscape.org/\u003e\n  \u003chttp://www.imagemagick.org/script/index.php\u003e\n\n- 'Graphviz' for drawing directed graphs.\n  This is required for building the Lepton developer API documentation,\n  not for the regular user documentation.\n  \u003chttp://www.graphviz.org/\u003e\n\nTroubleshooting dependencies\n----------------------------\n\n\u003e \"I've installed the `libfoo` library, but `./configure` isn't\n\u003e picking it up!\"\n\nMany modern operating system distributions split a library into two\npackages:\n\n1. a `libfoo` package, which contains the files necessary to\n   *run* programs which use `libfoo`.\n\n2. a `libfoo-dev` or `libfoo-devel` package, which contains the files\n   necessary to *compile* programs which use `libfoo`.\n\nIf you're having problems, make sure that you have all of the\nnecessary `dev` or `devel` packages installed.\n\n\u003e \"I have installed two versions of guile, but `./configure`\n\u003e uses a wrong one!\"\n\nSpecify right `guile` binary on the `configure` stage, e.g.:\n\n    ./configure GUILE=/usr/bin/guile-2.2\n\nInstallation from a source archive\n----------------------------------\n\nFirst extract the archive to a sensible place:\n\n    tar -xzvf lepton-eda-\u003cversion\u003e.tar.gz \u0026\u0026 cd lepton-eda-\u003cversion\u003e\n\nRun the configuration script.  You'll probably want to specify a\ncustom directory to install Lepton to, for example:\n\n\n    ./configure --prefix=$HOME/lepton\n\nYou can then compile Lepton:\n\n    make\n\nAnd install it (if you used a `--prefix` outside your $HOME directory,\nyou may need to run this as root):\n\n    make install\n\nInstallation from the git repository\n------------------------------------\n\nLepton uses the `git` version control system.  If you wish to try out\nthe very latest version of Lepton, you will need to install some extra\ntools *in addition to* the ones listed above:\n\n- The `git` version control tool, version 1.6 or newer.\n  \u003chttp://git-scm.com/\u003e\n\n- GNU Automake, version 1.11.0 or newer.\n  \u003chttp://www.gnu.org/software/automake/\u003e\n\n- GNU Autoconf, version 2.60 or newer.\n  \u003chttp://www.gnu.org/software/autoconf/\u003e\n\n- GNU Libtool.  \u003chttp://www.gnu.org/software/libtool/\u003e\n\n- GNU Texinfo documentation system.\n  \u003chttp://www.gnu.org/software/texinfo/\u003e\n\n  Note that on some distributions the TeX support for Texinfo is\n  packaged separately.\n\nOnce you have these installed, you need to clone the Lepton git\nrepository:\n\n    git clone https://github.com/lepton-eda/lepton-eda.git\n\nTo generate the configure script, run:\n\n    ./autogen.sh\n\nYou can then proceed to configure and build Lepton as described above.\n\nNoticeable configure options\n----------------------------\n\n### --enable-guild\n\nThe time of Scheme code compilation when you launch a Lepton\nprogram first time can be significantly reduced if you compile the\ncode beforehand:\n\n    ./configure --enable-guild\n\nThis option enables in-advance Scheme code compilation, which may\nbe of help for end users though not always desirable for Lepton\ndevelopers.\n\n### --with-gtk3\n\nYou can build Lepton with GTK3 GUI support if you enable it on the\nconfigure stage:\n\n    ./configure --with-gtk3\n\nPlease note that GTK2 and GTK3 version of *lepton-attrib* require\ndifferent additional libraries.  `libgtkextra` is required for the\nGTK2 version, and `gtksheet` for GTK3.  The latter can be found\n[here](https://github.com/fpaquet/gtksheet).\n\n### --disable-attrib\n\nInstallation of *lepton-attrib* can be disabled on the configure\nstage:\n\n    ./configure --disable-attrib\n\n\n### --enable-contrib\n\nThis option enables build of several contributed\ntools that may come in handy for some tasks.  Please see Lepton\nreference manual for more information on what utilities are\navailable.\n\n\nBuilding Lepton developer API documentation\n===========================================\n\nSeveral of the Lepton libraries and applications have doxygen API\ndocumentation available.  To generate the API documentation from the\nsource code, install doxygen (see [Dependencies](#Dependencies) above.\nNext, add `--enable-doxygen` to your `configure` command line, i.e.:\n\n    ./configure --enable-doxygen\n\nTo compile the documentation (quite a slow process), run:\n\n    make doxygen\n\nThe documentation can then be found in:\n\n    */docs/html/index.html\n\nGetting help\n============\n\nThere are several ways to get help with installing and using Lepton\nand the rest of the gEDA tools:\n\n- Chat with Lepton developers and users at\n  [gitter.im](https://app.gitter.im/#/room/#Lepton-EDA_Lobby:gitter.im).\n  You can sign in there using your Twitter, GitHub or GitLab account\n  (no registration is required to read the messages posted there).\n  This is probably the fastest way to get in touch with us.\n\n- If you prefer using IRC, there is now a Lepton channel on OFTC:\n  irc.oftc.net#lepton-eda. Sometimes you can catch Lepton users or\n  developers there.\n\n- [Lepton documentation page](https://lepton-eda.github.io)\n  is the first place to search for Lepton specific information.\n\n- [Lepton EDA wiki](https://github.com/lepton-eda/lepton-eda/wiki)\n  is a resource containing additional information that did not get\n  into the main documentation.\n\n- The gEDA website \u003chttp://www.geda-project.org\u003e has more extensive\n  information on the gEDA tools, and links to some successful\n  projects which use gEDA.\n\n- The gEDA documentation wiki contains a large amount of helpful\n  information.  A static copy is included with this distribution; see\n  the `docs/wiki/index.html` file.  The wiki is accessible online at\n  \u003chttp://wiki.geda-project.org/\u003e.\n\n- If the resources above didn't help you resolve your problem, or you\n  are having a *design* problem that you want to get help with,\n  consider subscribing to and posting your question to the\n  `geda-user` mailing list\n  (\u003chttp://wiki.geda-project.org/geda:mailinglists\u003e).\n  You can also [browse](http://www.delorie.com/archives/browse.cgi?p=geda-user)\n  and [search](http://www.delorie.com/archives) the mailing list archives.\n\n- If you have discovered a bug, have a feature request, or have\n  written a patch to Lepton, please create an item on the lepton-eda\n  bug tracker page:\n  \u003chttps://github.com/lepton-eda/lepton-eda/issues\u003e\n\nLicense\n=======\n\nLepton EDA (this package) is freely distributable under the GNU Public\nLicense (GPL) version 2.0 or (at your option) any later version.  See\nthe `COPYING` file for the full text of the license.\n\nThe programs and associated files are:\n\n  Copyright (C) 1998-2017 by Ales Hvezda and the respective original\n  authors.\n\n  Copyright (C) 2017-2023 Lepton Developers.\n\nSee the `AUTHORS` file for a more extensive list of contributors to\nLepton EDA and gEDA.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flepton-eda%2Flepton-eda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flepton-eda%2Flepton-eda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flepton-eda%2Flepton-eda/lists"}