Bump gEDA version
[geda-gaf.git] / README
blob022205a039f34c079e3967dc6f6164b39e01f63e
1 ==============================================
2  'gschem and Friends' Electronic Design Suite
3 ==============================================
5 Copyright (C) 1998-2020 gEDA Developers
7 Introduction
8 ============
10 The GPL Electronic Design Automation (gEDA) project has produced and
11 continues working on a full GPL'd suite and toolkit of Electronic
12 Design Automation tools. These tools are used for electrical circuit
13 design, schematic capture, simulation, prototyping, and
14 production. Currently, the gEDA project offers a mature suite of free
15 software applications for electronics design, including schematic
16 capture, attribute management, bill of materials (BOM) generation,
17 netlisting into over 20 netlist formats, analog and digital
18 simulation, and printed circuit board (PCB) layout.
20 The gEDA project was started because of the lack of free EDA tools for
21 POSIX systems with the primary purpose of advancing the state of free
22 hardware or open source hardware. The suite is mainly being developed
23 on the GNU/Linux platform with some development effort going into
24 making sure the tools run on other platforms as well.
26 The gEDA/gaf suite (this package) provides schematic capture,
27 netlisting, bill of materials generation, and many other features.
29 Tools in the gEDA suite
30 =======================
32 The major components of the gEDA suite are:
34 `libgeda'
35   A library of functions for manipulating gEDA schematics and symbols.
37 `gschem'
38   A schematic editor.
40 `gattrib'
41   A spreadsheet-like program for bulk editing of component attributes.
43 `gnetlist'
44   A highly-flexible, hierarchy-aware utility which parses schematics
45   to generate a number of outputs, including netlists for a wide
46   variety of PCB layout tools.  It can also generate bills of
47   materials and DRC reports for your schematics.
49 `gsch2pcb'
50   A command-line utility for streamlining the workflow where `PCB'
51   <http://pcb.geda-project.org/> and `gschem' are used together.
53 `gsymcheck'
54   A utility for checking for common errors in schematic symbol files.
56 `gaf'
57   A utility for interactive and batch mode working with gEDA Scheme
58   API, exporting schematics into various formats, and
59   configuring all the programs of the suite.
61 `xorn'
62   A commmand-line utility working with the new Python API which
63   converts gEDA files between formats and extracts embedded symbols
64   and pixmaps from a schematic.
66 Installation
67 ============
69 The information in this section is intended to supplement the
70 information in the `INSTALL' file.
72 Dependencies
73 ------------
75 Note: `xxx >= y is used as a shorthand for `xxx, version y or later'.
77 In order to compile gEDA from the distributed source archives, you
78 *must* have the following tools installed:
80  - A C/C++ compiler and standard library (GCC >= 8.3.0 and glibc >=
81    2.28 are recommended, but clang >= 7.0.1 should work, as well).
83  - The `make' tool (GNU Make >= 4.2.1 is recommended).
84    <https://www.gnu.org/software/make/>
86  - The `pkg-config' tool for managing shared libraries >= 0.29.
87    <https://www.freedesktop.org/wiki/Software/pkg-config/>
89  - GNU `gettext' >= 0.19.8 <https://www.gnu.org/software/gettext/>
91  - The `lex' tool for generating lexical scanners.  The `flex'
92    implementation >= 2.6.4 is recommended.
93    <https://github.com/westes/flex/releases>
95  - The `awk' tool for data processing.  GNU Awk (`gawk') >= 4.2.1 or
96    mawk >= 1.3.3 are recommended.  <https://www.gnu.org/software/gawk/>
98 You *must* also have the following libraries installed, including
99 their development files:
101  - Guile 2.2 ("GNU's Ubiquitous Intelligent Language for Extensions")
102    >= 2.2.4 <https://www.gnu.org/software/guile/>
104  - GLib 2.0 >= 2.41.1 <https://www.gtk.org/>
106  - GTK+ 2.0 (the Gimp Toolkit) >= 2.18.0 <https://www.gtk.org/>
108  - GDK Pixbuf 2.0 >= 2.18.0 <https://www.gtk.org/>
110  - Pango >= 1.23.0 <https://pango.gnome.org/>
112  - Cairo >= 1.8.0 <https://cairographics.org/>
114  - CPython 2.7 >= 2.7.16 <https://www.python.org/downloads/>
116  - libexpat1 >= 2.2.6 <https://libexpat.github.io/>
118  - libpng >= 1.6.36 <http://libpng.org/pub/png/libpng.html>
120 The following tools and libraries are *highly recommended*:
122  - The FAM or Gamin daemon and corresponding `libfam' or `libgamin'
123    client library (Gamin >= 0.1.10 is recommended).  If this is
124    available, gschem will detect if files have been changed on disk by
125    another application.  <https://people.gnome.org/~veillard/gamin/>
127  - pygtk >= 2.24.0, the Python 2.7 bindings for GTK+.  Without this
128    package, netlisting errors are reported to the terminal where users
129    probably won't see them. <http://www.pygtk.org/>
131  - GNU `troff' (`groff') >= 1.22.4
132    <https://www.gnu.org/software/groff/>
134  - The freedesktop.org MIME info database >= 1.10
135    <https://freedesktop.org/wiki/Software/shared-mime-info/>
137  - The freedesktop.org utilities for manipulating .desktop files >= 0.23
138    <https://www.freedesktop.org/software/desktop-file-utils/>
140 The following tools and libraries are optional:
142  - The `doxygen' API documentation tool >= 1.8.13.  This is required for
143    building the gEDA developer API documentation, not for the regular
144    user documentation.  <http://www.stack.nl/~dimitri/doxygen/>
146  - `Inkscape' >= 0.92.4 or `ImageMagick' >= 6.9.10 for svg to png or
147    pdf conversion.  This is required for building the gEDA developer
148    API documentation, not for the regular user documentation.
149    <https://inkscape.org/>
150    <https://www.imagemagick.org/script/index.php>
152  - `Graphviz' >= 2.40.1 for drawing directed graphs.
153    This is required for building the gEDA developer API documentation,
154    not for the regular user documentation.
155    <https://www.graphviz.org/>
157 Troubleshooting dependencies
158 ----------------------------
160   "I've installed the `libfoo' library, but `./configure' isn't
161   picking it up!"
163 Many modern operating system distributions split a library into two
164 packages:
166 1. a `libfoo' package, which contains the files necessary to
167    *run* programs which use `libfoo'.
169 2. a `libfoo-dev' or `libfoo-devel' package, which contains the files
170    necessary to *compile* programs which use `libfoo'.
172 If you're having problems, make sure that you have all of the
173 necessary `dev' or `devel' packages installed.
175 Installation from a source archive
176 ----------------------------------
178 First extract the archive to a sensible place:
180   tar -xzvf gEDA-gaf-<version>.tar.gz && cd gEDA-gaf-<version>
182 Run the configuration script.  You'll probably want to specify silent
183 rules and a custom directory to install gEDA to, for example:
185   ./configure --prefix=$HOME/geda --enable-silent-rules
187 You can then compile gEDA:
189   make
191 And install it (if you used a `--prefix' outside your $HOME directory,
192 you may need to run this as root):
194   make install
196 For more information on installing gEDA, see the `INSTALL' document.
198 Installation from the git repository
199 ------------------------------------
201 gEDA uses the `git' version control system.  If you wish to try out
202 the very latest version of gEDA, you will need to install some extra
203 tools *in addition to* the ones listed above:
205   - The `git' version control tool. <https://git-scm.com/>
207   - GNU Automake >= 1.16.1 <https://www.gnu.org/software/automake/>
209   - GNU Autoconf >= 2.69 <https://www.gnu.org/software/autoconf/>
211   - GNU Libtool >= 2.4.6 <https://www.gnu.org/software/libtool/>
213   - GNU Texinfo documentation system >= 6.5.0
214     <https://www.gnu.org/software/texinfo/>
216     Note that on some distributions the TeX support for Texinfo is
217     packaged separately.
219 Once you have these installed, you need to clone the gEDA `git'
220 repository:
222   git clone git://git.geda-project.org/geda-gaf.git
224 To generate the configure script, run:
226   ./autogen.sh
228 You can then procede to configure and build gEDA as described above.
229 For more information on working with the gEDA `git' repository, see
230 <http://wiki.geda-project.org/geda:scm>.
232 Building gEDA developer API documentation
233 =========================================
235 Several of the gEDA libraries and applications have doxygen API
236 documentation available.  To generate the API documentation from the
237 source code, install doxygen (see `Dependencies' above).  Next, add
238 `--enable-doxygen' to your configure command line, i.e.:
240   ./configure --enable-doxygen
242 To compile the documentation (quite a slow process), run:
244   make doxygen
246 The documentation can then be found in:
248   */docs/html/index.html
250 The PDF version of the documentation isn't generated by default.
251 If you want it, you have to build it explicitly, e.g.:
253   cd $(srcdir)/libgeda/docs/latex && make
255 Getting help
256 ============
258 There are several ways to get help with installing and using gEDA:
260  - The gEDA website <http://www.geda-project.org> has more extensive
261    information on the gEDA tools, and links to some successful
262    projects which use gEDA.
264  - The gEDA documentation wiki contains a large amount of helpful
265    information.  A static copy is included with this distribution; see
266    the `docs/wiki/index.html' file.  The wiki is accessible online at
267    <http://wiki.geda-project.org/>.
269  - If the resources above didn't help you resolve your problem, or you
270    are having a *design* problem that you want to get help with,
271    consider subscribing to and posting your question to the
272    `geda-user' mailing list.
273    <http://wiki.geda-project.org/geda:mailinglists>
275  - Alternatively, you can add your question to the gEDA Answers page
276    on Launchpad. <https://answers.launchpad.net/geda>
278  - If you have discovered a bug, have a feature request, or have
279    written a patch to gEDA, please create an item on the gEDA Bugs
280    page on Launchpad. <https://bugs.launchpad.net/geda>
282 License
283 =======
285 gEDA/gaf (this package) is freely distributable under the GNU Public
286 License (GPL) version 2.0 or (at your option) any later version.  See
287 the `COPYING' file for the full text of the license.
289 The programs and associated files are:
291   Copyright (C) 1998-2013 by Ales Hvezda and the respective original
292   authors.
294 See the `AUTHORS' file for a more extensive list of contributors to
295 gEDA.
298    Local Variables:
299    mode: text
300    End: